PageSourceSearch

https://www.mainz-bingen.de/default-wGlobal/wGlobal/layout/scripts…82f1825593c4573cbfcb2b23dc7.js?260901113132

js mainz-bingen.de collected 2026-10-02 17:18:25 UTC 550,153 bytes, 276 lines download raw bytes

1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
vendor: 22,881 bytes, lines 2-3
2/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
3!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}
vendor: 1,967 bytes, line 3
3return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||
vendor: 9,546 bytes, line 3
3ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||
vendor: 8,814 bytes, line 3
3(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);
vendor: 14,182 bytes, line 3
3n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;
vendor: 4,590 bytes, line 3
3return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1)
vendor: 13,972 bytes, line 3
3);!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);
vendor: 9,033 bytes, line 3
3if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return 
vendor: 2,550 bytes, lines 3-5
3M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
4
5
6wCssClassesToAddGlobal = {'#blockHeader #blockHeaderMain #searchBox .searchBoxContainer .searchBoxElement .searchTerm' : ['wglSearchSuggest'], 'body' : ['wglAddScrollTop'], '.clickable' : ['wglClickable'], '.elementBox_var540' : ['wglAnimateAfterTime', 'isClosed'], '.elementBox_var10000' : ['wglAnimateAfterTime', 'isClosed'], '.elementBoxIfVisible_var160' : ['wglAnimateIfVisible'], '.elementBoxIfVisible_var161' : ['wglAnimateIfVisible'], '.elementBoxIfVisible_var20' : ['wglAnimateIfVisible'], '.elementBoxIfVisible_var50' : ['wglAnimateIfVisible'], '.elementContainerStandard_var230' : ['wglSmartSlider'], '.elementContainerStandardColumns_var5050noSpace' : ['wAdjustsInnerItemIcons'], '.elementContainerStandardColumns_var3366noSpace' : ['wAdjustsInnerItemIcons'], '.elementContainerStandardColumns_var6633noSpace' : ['wAdjustsInnerItemIcons'], '.elementContainerStandardColumns_var333333noSpace' : ['wAdjustsInnerItemIcons'], '.elementContainerStandardColumns_var50keepInside50 > .col1 > div > div' : ['wglKeepInsideTopOnScroll'], '.elementContainerStandardColumns_var5050keepInside > .col2 > div > div' : ['wglKeepInsideTopOnScroll'], '.linkButton, .listEntryElementLink_var20 a, .listDefaultLink_var22 .listEntryLink a, .listDefaultLink_var21 .listEntryLink a, .listDefaultLink_var20 .listEntryLink a, .listDefault_var21900 .listEntry .listEntryInner .elementLink a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectEventMulti .elementObjectEventMultiIcal a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard a, .listBannerSliderLink_var10 .listEntryLink span, .listBannerSliderInfolayer_var50 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var40 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var21 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var20 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSlider_var460 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *, .elementSectionObjectNews .linkDetails, .elementLink_var10 > a, .elementObjectEventMulti .elementObjectEventMultiIcal > a, .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a, .no-weditor .elementBox_var_gm2 .elementLink > a, .no-weditor .elementBox_var_gm2 .elementObjectEventMulti .elementObjectEventMultiIcal > a, .no-weditor .elementBox_var_gm2 .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .no-weditor .elementBox_var_gm2 .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a' : ['button'], '.linkButtonWhite, .elementLink_var11 > a' : ['button'], '.linkButtonNeutral' : ['button'], '.linkButtonGhost, .listPictureAlbumTeaser_var0 .linkGallery, .listEntryElementLink_var30 a, .listDefaultLink_var30 .listEntryLink a, .listDefaultLink_var31 .listEntryLink a, .listLoaderMore > a, .listBannerSliderInfolayer_var22 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSlider_var463 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *, .listBannerSlider_var410 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *, .listBannerSlider_var20200 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *, .listBannerSlider_var400 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *, .listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a, .listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span, .listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a, .listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span, .elementLink_var116 > a, .elementLink_var115 > a, .elementLink_var50 > a, .elementCategoryFilterList .quickfilterButtons span, .elementLinkBack > a' : ['button'], '.linkButtonGhostWhite, .listBannerSliderInfolayer_var10 .listEntry .listEntryInfoLayerInner .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var463 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var460 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var410 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var20200 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var400 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a,.listBannerSliderInfolayer_var402.listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span,.listBannerSliderInfolayer_var402.listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a,.listBannerSliderInfolayer_var402.listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span, .elementLink_var51 > a' : ['button'], '.linkButtonImportant, .elementLink_var12 > a' : ['button'], '.elementOverlap_var61' : ['wglAdjustHeightMax'], '.elementOverlap_var62' : ['wglAdjustHeightMax'], '.elementOverlap_var75 .overlapLayer' : ['isDarkBackgroun
6d', 'iconsInvers'], '.elementSectionIfVisible_var20' : ['wglAnimateIfVisible'], '.elementSectionIfVisible_var50' : ['wglAnimateIfVisible'], '.elementSubmap_var0 li a' : ['next'], '.elementTabContainer_var0 .tabs' : ['wglCheckBreakChildren'], '.elementTabContainer_var10 .tabs' : ['wglCheckBreakChildren'], '.elementTabContainer_var70 .tabs' : ['wglCheckBreakChildren'], '.elementVideoExternal' : ['isLightBackground'], '.elementSectionObjectNews .linkDetails' : ['next'], '.listBannerSlider_var430 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listBannerSlider_var420 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listBannerSlider_var400 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listBannerSlider_var20200 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listBannerSlider_var410 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listBannerSlider_var462 .listEntries .listEntriesInner > div' : ['wglAdjustHeightMax'], '.listDefault_var10000' : ['wglAnimateIfVisible'], '.listDefault_var_gm2' : ['wglAnimateIfVisible'], '.listDefault_var10' : ['wglAnimateIfVisible'], '.listDefault_var23900' : ['wglAnimateIfVisible'], '.listPictureGallery_var2 .listEntries .listEntryDescription' : ['text-sub'], '.listPictureGallery_var40 .listEntries .listEntryDescription' : ['text-sub'], '.listPictureGalleryPictureLightbox_var0.listPictureGallery_var20 .listEntries .listEntriesInner' : ['wglOverflowXTouch'], '.listPictureGallery_var0 .listEntries .listEntryDescription' : ['text-sub'], '.listPictureGalleryPictureLightbox_var0.listPictureGallery_var10000 .listEntries .listEntriesInner' : ['wglOverflowXTouch'], 'div.searchQuicklinks .searchQuicklinksCaption' : ['button']};
7wCssDataToAddGlobal = {'#blockHeader #blockHeaderMain #navigationMain > nav > div > ul > li span.navpointToggler, #blockHeader #blockHeaderMain #navigationMain > nav > ul > li span.navpointToggler' : ['ontoggle=closeSiblings'], '#blockHeader #blockHeaderMain #navigationMain > nav > div > ul > li ul, #blockHeader #blockHeaderMain #navigationMain > nav > ul > li ul' : ['addbackparenttitle=0', 'addbacktitle=1', 'addtitle=0', 'addCloser=0', 'animation=toggle'], '#blockHeader #blockHeaderMain #navigationMain > nav > div > ul' : ['adaptlayer=1', 'embedmode=AJAX', 'addnavid=yes'], '#blockHeader #blockHeaderMain #navigationMain > nav > div > ul > li ul' : ['wislayer=1'], 'html' : ['widthnavigationmainmenumax=1023px', 'megadropdownopentype=mouseenter', 'megadropdownpreload=yes', 'navigationlayeropentype=mouseenter', 'offsetscrolledtop=96', 'offsetbottomchangescrollstatus=300'], '.elementBox_var540' : ['classtoaddaftertime=isOpen', 'classtoremoveaftertime=isClosed'], '.elementBox_var10000' : ['classtoaddaftertime=isOpen', 'classtoremoveaftertime=isClosed'], '.elementContainerStandardColumns_var50keepInside50 > .col1 > div > div' : ['container=parent'], '.elementContainerStandardColumns_var5050keepInside > .col2 > div > div' : ['container=parent'], '.no-weditor .elementImageMapSize_var121 .imageMap' : ['object-fit=height'], '.elementLink > a, .elementObjectEventMulti .elementObjectEventMultiIcal > a, .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a' : ['scrollingauto=yes', 'scrollsmoothtotargetduration=400'], '.elementTabContainer_var0 .tabs' : ['targetbreakchildrenclass=closest(.elementTabContainer)']};
8wCssEventsToAddGlobal = {'.elementLink > a, .elementObjectEventMulti .elementObjectEventMultiIcal > a, .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a' : ['onclick=wScrollSmoothToTarget'], '.azNaviList a' : ['onclick=wScrollSmoothToTarget']};
9wCssJQuery = {'.linkButton, .listEntryElementLink_var20 a, .listDefaultLink_var22 .listEntryLink a, .listDefaultLink_var21 .listEntryLink a, .listDefaultLink_var20 .listEntryLink a, .listDefault_var21900 .listEntry .listEntryInner .elementLink a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectEventMulti .elementObjectEventMultiIcal a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard a, .listDefault_var21900 .listEntry .listEntryInner .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard a, .listBannerSliderLink_var10 .listEntryLink span, .listBannerSliderInfolayer_var50 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var40 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var21 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSliderInfolayer_var20 .listEntry .listEntryInfoLayerInner .listEntryLink > *, .listBannerSlider_var460 .listEntries .listEntry .listEntryInfoLayer .listEntryLink >
9 *, .elementSectionObjectNews .linkDetails, .elementLink_var10 > a, .elementObjectEventMulti .elementObjectEventMultiIcal > a, .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a, .no-weditor .elementBox_var_gm2 .elementLink > a, .no-weditor .elementBox_var_gm2 .elementObjectEventMulti .elementObjectEventMultiIcal > a, .no-weditor .elementBox_var_gm2 .elementObjectContactPerson .elementObjectContactPersonData .elementObjectContactPersonVcard > a, .no-weditor .elementBox_var_gm2 .elementObjectAuthorityEmployee .elementObjectAuthorityEmployeeVcard > a' : {'jQuery' : 'jQuery(this).parent().addClass(\'isInverseBackground\')', 'event' : 'document.ready'}, '.linkButtonWhite, .elementLink_var11 > a' : {'jQuery' : 'jQuery(this).parent().addClass(\'isLightBackground\')', 'event' : 'document.ready'}, '.linkButtonGhostWhite, .listBannerSliderInfolayer_var10 .listEntry .listEntryInfoLayerInner .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var463 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var460 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var410 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var20200 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var400 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > *,.listBannerSliderInfolayer_var402.listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a,.listBannerSliderInfolayer_var402.listBannerSlider_var420 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span,.listBannerSliderInfolayer_var402.listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > a,.listBannerSliderInfolayer_var402.listBannerSlider_var430 .listEntries .listEntry .listEntryInfoLayer .listEntryLink > span, .elementLink_var51 > a' : {'jQuery' : 'jQuery(this).parent().addClass(\'isInverseBackground\')', 'event' : 'document.ready'}, '.linkButtonImportant, .elementLink_var12 > a' : {'jQuery' : 'jQuery(this).parent().addClass(\'isInverseBackground\')', 'event' : 'document.ready'}, '.elementBox_var540' : {'jQuery' : 'if(document.cookie.indexOf(\'hasShownInfo\' + jQuery(this).attr(\'data-infoid\') + \'=1\') != -1){jQuery(this).attr(\'data-hasshownonce\', \'1\')};jQuery(this).prepend(\'<div class="boxInnerToggler"></div>\');if(jQuery(this).attr(\'data-timehideauto\')){var timeToHideAuto = jQuery(this).attr(\'data-timehideauto\') * 1000;var lastjQueryObject=jQuery(this);window.setTimeout(function(){lastjQueryObject.find(\'.boxInnerToggler\').trigger(\'click\')}, timeToHideAuto)};', 'event' : 'document.ready'}, '.elementBox_var540 .boxInnerToggler' : {'jQuery' : 'if(jQuery(this).parent().data(\'showonlyonce\')==\'1\'){document.cookie=\'hasShownInfo\' + jQuery(this).parent().attr(\'data-infoid\') + \'=1\'};jQuery(this).click(function(){jQuery(this).parent().toggleClass("isOpen isClosed");})', 'event' : 'document.ready'}, '.elementBox_var10000' : {'jQuery' : 'if(document.cookie.indexOf(\'hasShownInfo\' + jQuery(this).attr(\'data-infoid\') + \'=1\') != -1){jQuery(this).attr(\'data-hasshownonce\', \'1\')};jQuery(this).prepend(\'<div class="boxInnerToggler"></div>\');if(jQuery(this).attr(\'data-timehideauto\')){var timeToHideAuto = jQuery(this).attr(\'data-timehideauto\') * 1000;var lastjQueryObject=jQuery(this);window.setTimeout(function(){lastjQueryObject.find(\'.boxInnerToggler\').trigger(\'click\')}, timeToHideAuto)};', 'event' : 'document.ready'}, '.elementBox_var10000 .boxInnerToggler' : {'jQuery' : 'if(jQuery(this).parent().data(\'showonlyonce\')==\'1\'){document.cookie=\'hasShownInfo\' + jQuery(this).parent().attr(\'data-infoid\') + \'=1\'};jQuery(this).click(function(){jQuery(this).parent().toggleClass("isOpen isClosed");})', 'event' : 'document.ready'}, '.elementContainerStandard_vargridTiles4' : {'jQuery' : 'jQuery(window).resize(function(){jQuery(\'.elementContainerStandard_vargridDemo1\').each(function(){jQuery(this).get(0).style.setProperty(\'--widthComputed\', jQuery(this).width() + \'px\')})})', 'event' : 'document.ready'}, '.elementContainerStandard_vargridTiles5' : {'jQuery' : 'jQuery(window).resize(function(){jQuery(\'.elementContainerStandard_vargridDemo1\').each(function(){jQuery(this).get(0).style.setProperty(\'--widthComputed\', jQuery(this).width() + \'px\')})})', 'event' : 'document.ready'}, '.elementPictureBorder_var60 picture' : {'jQuery' : 'jQuery(this).prepend(\'<div class="imageEdgesStronger"> </div>\')', 'event' : 'document.ready'}, '.listDefault_var20450' : {'jQuery' : 'jQuery(this).closest(\'.elementSection\').css({\'overflow\' : \'hidden\'});if(jQuery(this).attr(\'data-onvisiblelastentry\') == \'showNextElementLink\')jQuery(this).parent().next(\'.elementLink\').addClass(\'hideVisibleLast toggleVisibleLast\');jQuery(this).parent().addClass(\'wglSmartSlider\');jQuery(this).parent().attr(\'data-numberentries\', jQuery(this).attr(\'data-numberentries\'));jQuery(this).parent().attr(\'data-overflow\', jQuery(this).attr(\'data-overflow\'));jQuery(this).parent().attr(\'data-onvisiblelastentry\', jQuery(this).attr(\'data-onvisiblelastentry\'))', 'event' : 'document.ready'}, '.listDefault_var3601 .listEntry .listDefault_var730' : {'jQuery' : 'jQuery(this).prepend(\'<div class="gridSizer"></div>\');jQuery(this).masonry({itemSelector : \'li\', columnWidth : \'.gridSizer\', percentPosition : true})', 'event' : 'document.ready'}, '.headerElementWaiMenu_var0' : {'jQuery' : 'jQuery(\'#wAiMenu\').addClass(\'withIcons\')', 'event' : 'document.ready'}, '.headerElementWaiMenu_var60' : {'jQuery' : 'jQuery(\'#wAiMenu\').closest(\'.headerArea > div\').prepend(jQuery(\'#wAiMenu\'))', 'event' : 'document.ready'}};
10wMediaqueriesToAddGlobal = {'xl_min' : {}, 'xl_max' : {}, 'l_min' : {}, 'l_max' : {}, 'm_min' : {}, 'm_max' : {}, 's_min' : {}, 's_max' : {}, 'xs_min' : {}, 'xs_max' : {}, 'xl_min' : {}, 'xl_max' : {}, 'l_min' : {}, 'l_max' : {}, 'm_min' : {}, 'm_max' : {}, 's_min' : {}, 's_max' : {}, 'xs_min' : {}, 'xs_max' : {}};
11/*
12////////////////////////////////////////////////////////////////
13//
14// UI JavaScript Funktionen
15//
16// Weblication CMS
17// erstellt durch Scholl Communications AG, 77694 Kehl, www.scholl.de
18// erstellt mit Weblication Content Management System, www.weblication.de
19//
20////////////////////////////////////////////////////////////////
21
22////////////////////////////////////////////////////////////////
23//                                                            //
24//                   BITTE NICHT ANPASSEN!                    //
25//           JS-Anpassungen können in der design.js           //
26//                    durchgeführt werden.                    //
27//                                                            //
28////////////////////////////////////////////////////////////////
29*/
30
31wUiVersion='1.1.155';wAllowMinimize=true;if(typeof wUiTmp=='undefined'){wUiTmp={};if(typeof wUiTmp['wGlobalProjectPath']=='undefined'){var scriptTags=document.getElementsByTagName('script');try{for(i=0; i < scriptTags.length; i++){if(scriptTags[i].getAttribute('src')&&scriptTags[i].getAttribute('src').indexOf('/optimized/')!=-1){wUiTmp['wGlobalProjectPath']=scriptTags[i].getAttribute('src').replace(/^(\/[^\/]*)[^\?]*/, '$1').replace(/\?[\s\S]*$/, '');}}}catch(e){}}}wUiTmp['lastScrollTop']=0;wUiTmp['lang']=typeof wUiTmp['lang']=='undefined'||wUiTmp['lang']==''?jQuery('html').attr('lang'):wUiTmp['lang']==''?wUiTmp['lang']:'de';devicePixelRatio=window.devicePixelRatio||1;hdLimitDpr=2;wOffsetScrolledTopDefault=0;wCssClassesToAddGlobal=typeof(wCssClassesToAddGlobal)!='undefined'?wCssClassesToAddGlobal:{};wCssDataToAddGlobal=typeof(wCssDataToAddGlobal)!='undefined'?wCssDataToAddGlobal:{};wCssEventsToAddGlobal=typeof(wCssEventsToAddGlobal)!='undefined'?wCssEventsToAddGlobal:{};wCssJQuery=typeof(wCssJQuery)!='undefined'?wCssJQuery:{};wCssDOM=typeof(wCssDOM)!='undefined'?wCssDOM:{};wMediaqueriesToAddGlobal=typeof(wMediaqueriesToAddGlobal)!='undefined'?wMediaqueriesToAddGlobal:{};wLightboxOpener=null;if(document.documentElement){document.documentElement.className=document.documentElement.className + (!/MSIE (6|7|8)/.test(navigator.appVersion)?' pagestatus-uiloaded':'');}handleObserveVisible=function(entries, observer){var entry=null, i=0;for(i=0; i < entries.length; i++){entry=entries[i];var cE=jQuery(entry.target), timestamp=(new Date()).getTime();var ratio=0.1;if(cE.height()/window.innerHeight > 2) ratio=0.01;if(entry.intersectionRatio > ratio){if(cE.hasClass('wglAnimateIfVisible')){if(!cE.hasClass('isVisible')){cE.addClass('isVisibleOnce isVisible').removeClass('isInvisible');if(typeof(wOnAfterAnimateIfVisible)==='function'){wOnAfterAnimateIfVisible(cE);}}}if(cE.data('doifbecomevisible')&&!cE.data('isvisible')&&!cE.data('lastbecomevisible')||timestamp-cE.data('lastbecomevisible') > 1000){cE.data('lastbecomevisible', (new Date()).getTime());cE.data('isvisible', true);var event=document.createEvent('Event');var functionDoifbecomevisible=function(){eval(cE.data('doifbecomevisible'));};functionDoifbecomevisible.call(cE.get(0));}}else{if(cE.hasClass('wglAnimateIfVisible')){if(cE.hasClass('isVisible')){cE.addClass('isInvisible').removeClass('isVisible');if(typeof(wOnAfterAnimateIfInvisible)==='function'){wOnAfterAnimateIfInvisible(cE);}}}if(cE.data('doifbecomevisible')){cE.data('isvisible', false);}}}};handleObserveVisibleOnce=function(entries, observer){var entry=null, i=0;for(i=0; i < entries.length; i++){entry=entries[i];if(entry.intersectionRatio > 0){var cE=jQuery(entry.target);if(entry.target.nodeName=='IMG'){wShowLazyLoadImage(cE);}else if(entry.target.nodeName=='IFRAME'){wShowLazyLoadIframe(cE);}if(cE.data('doifbecomevisibleonce')&&!cE.data('isvisible')){cE.data('lastbecomevisible', (new Date()).getTime());cE.data('isvisible', true);var event=document.createEvent('Event');var functionDoifbecomevisible=function(){eval(cE.data('doifbecomevisibleonce'));};functionDoifbecomevisible.call(cE.get(0));cE.removeAttr('data-doifbecomevisibleonce');}if(cE.hasClass('wglAnimateIfVisibleOnce')){cE.addClass('wglAnimateIfVisibleOnceVisible').removeClass('wglAnimateIfVisibleOnce');}observeVisibleOnce.unobserve(entry.target);}}};var observeVisible=null;var observeVisibleOnce=null
32jQuery(document).ready(function(){wUiTmp['documentReady']=true;var htmlAdditionalClasses='';if(parent!=self){if(location.href.indexOf('viewmode=blank')!=-1){htmlAdditionalClasses +=' isInLightbox';if(typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active){var aEObject=Object.assign({}, wAccessEvents['wLightboxIframe'], {element:jQuery(window.document)
33});wAccessHandler.addEvent(aEObject);}else{if(parent.jQuery('#wLightboxIframe').data('openpointertype')===''){var elementToFocus=document.querySelector('h1, h2, h3, h4');if(!elementToFocus){elementToFocus=document.querySelector('div, p');}if(elementToFocus){elementToFocus.setAttribute('tabindex', '0');elementToFocus.focus();}}document.addEventListener('keydown', function(event) {if(event.key==='Escape'){event.preventDefault();
33if(parent.wLightboxOpener){parent.wLightboxOpener.focus();}parent.jQuery('.wLightboxCloser').trigger('click');}});}}}if(navigator.appVersion.match(/MSIE (\d+\..)/)){htmlAdditionalClasses +=' ie' + String(navigator.appVersion.match(/MSIE (\d+\..)/)[1]).replace(/\..*/, '');}else if(navigator.userAgent.match(/Trident\/7/)){htmlAdditionalClasses +=' ie11';}if(/mobile/i.test(navigator.userAgent)) htmlAdditionalClasses +=' mobile';if(/iPad/i.test(navigator.platform)||(navigator.platform=='MacIntel'&&navigator.maxTouchPoints==5)) htmlAdditionalClasses +=' ipad';if(/iPhone/i.test(navigator.platform)) htmlAdditionalClasses +=' iphone';if(/iPod/i.test(navigator.platform)) htmlAdditionalClasses +=' ipod';if(/(iPod|iPhone|iPad)/i.test(navigator.platform)||(navigator.platform=='MacIntel'&&navigator.maxTouchPoints==5)){htmlAdditionalClasses +=' ios';if(/Version\/(4|5|6|7|8|9|10|11|12|13)/.test(navigator.userAgent)&&!/iPhone\s+OS\s+(4|5|6|7|8|9|10|11|12|13)/.test(navigator.userAgent)){htmlAdditionalClasses +=' ioslt14';}if(/CriOs/i.test(navigator.userAgent)){htmlAdditionalClasses +=' crios';}else if(/Safari/i.test(navigator.userAgent)){wUiTmp['isSafari']=true;htmlAdditionalClasses +=' saios';}}if(/MacIntel/.test(navigator.platform)&&navigator.maxTouchPoints&&navigator.maxTouchPoints > 2){if(/CriOs/i.test(navigator.userAgent)){htmlAdditionalClasses +=' crios';}else if(/Safari/i.test(navigator.userAgent)){wUiTmp['isSafari']=true;htmlAdditionalClasses +=' saios';}}htmlAdditionalClasses +=' viewmode-' + (/viewmode=([^&]+)/.test(location.href)?RegExp.$1:'default');htmlAdditionalClasses +=location.href.indexOf('targetPreview=embed')!=-1?' wpreview':'';htmlAdditionalClasses +=location.href.indexOf('createImageRaster=1')!=-1?' createImageRaster':'';htmlAdditionalClasses +=(!navigator.userAgent.match(/Trident\/7/)&&(('ontouchstart' in window)||navigator.msMaxTouchPoints||window.DocumentTouch&&document instanceof DocumentTouch)?' touch':' no-touch');htmlAdditionalClasses +=(jQuery(window).scrollTop() <=wOffsetScrolledTopDefault&&jQuery(window).scrollTop() >=0)&&document.documentElement.className.indexOf(' scrolled-top')==-1?' scrolled-top':'';if(document.cookie.indexOf('websitezoom=l')!=-1){htmlAdditionalClasses +=' zoom-l';}if(document.cookie.indexOf('websitecontrast=1')!=-1){htmlAdditionalClasses +=' contrast-height';}if(document.documentElement){if(document.documentElement.getAttribute('lang')){htmlAdditionalClasses +=' lang-' + document.documentElement.getAttribute('lang');}var documentElementClassName=document.documentElement.className;if(jQuery(window).scrollTop() > wOffsetScrolledTopDefault){documentElementClassName=documentElementClassName.replace(' scrolled-top', '');}documentElementClassName=(documentElementClassName.replace('no-js', 'js') + htmlAdditionalClasses).replace(/^\s+/, '');if(typeof(wEditor)=='undefined'){documentElementClassName=documentElementClassName.replace(' weditor', ' no-weditor');}else{documentElementClassName=documentElementClassName.replace(' no-weditor', ' weditor');}documentElementClassName=documentElementClassName + (!/MSIE (6|7|8)/.test(navigator.appVersion)?' pagestatus-ready':'');if(/MSIE (6|7|8)/.test(navigator.appVersion)){documentElementClassName=documentElementClassName.replace(/pagestatus-\w+/g, '');}document.documentElement.className=documentElementClassName;}wPersonalizeAccessibility();for(var addClassSelector in wCssClassesToAddGlobal){jQuery(addClassSelector).each(function(index){var classesToAdd=wCssClassesToAddGlobal[addClassSelector];for(var i=0, arrayLength=classesToAdd.length; i < arrayLength; i++){var classData=classesToAdd[i].split('=');if(classData.length==2){var selector=jQuery.trim(classData[0]);if(selector=='.'){jQuery(this).addClass(jQuery.trim(classData[1]));}else if(selector=='parent'){jQuery(this).parent().addClass(jQuery.trim(classData[1]));}else{jQuery(this).find(selector).addClass(jQuery.trim(classData[1]));}}else{jQuery(this).addClass(jQuery.trim(classData[0]));}}});}for(var addDataSelector in wCssDataToAddGlobal){jQuery(addDataSelector).each(function(index){var dataToAdd=wCssDataToAddGlobal[addDataSelector];for(var i=0, arrayLength=dataToAdd.length; i < arrayLength; i++){var data=dataToAdd[i].split('=');jQuery(this).attr('data-' + jQuery.trim(data[0]), jQuery.trim(data[1]));}});}if(typeof wCssAttributesToAddGlobal!=='undefined'){for(var addAttributeSelector in 
33wCssAttributesToAddGlobal){jQuery(addAttributeSelector).each(function(index){var attributeToAdd=wCssAttributesToAddGlobal[addAttributeSelector];for(var i=0, arrayLength=attributeToAdd.length; i < arrayLength; i++){var data=attributeToAdd[i].split('=');jQuery(this).attr(jQuery.trim(data[0]), jQuery.trim(data[1]));}});}}jQuery('*[data-w-addclasses]').each(function(index){var classesToAdd=jQuery(this).data('w-addclasses').split(',');jQuery(this).removeAttr('data-w-addclasses');for(var i=0, arrayLength=classesToAdd.length; i < arrayLength; i++){var classData=classesToAdd[i].split('=');var selector=jQuery.trim(classData[0]);if(selector=='.'){jQuery(this).addClass(jQuery.trim(classData[1]));}else{jQuery(this).find(selector).addClass(jQuery.trim(classData[1]));}}});for(var addEventSelector in wCssEventsToAddGlobal){jQuery(addEventSelector).each(function(index){var eventsToAdd=wCssEventsToAddGlobal[addEventSelector];for(var i=0, arrayLength=eventsToAdd.length; i < arrayLength; i++){var eventData=eventsToAdd[i].split('=');if(eventData.length==2){var eventType=jQuery.trim(eventData[0]).replace(/^on/, '');var eventFunction=jQuery.trim(eventData[1]);jQuery(this).on(eventType, (new Function('event', eventFunction + '(this, event.originalEvent);')));}}});}for(var wCssJQueryEntry in wCssJQuery){jQuery(wCssJQueryEntry).each(function(index){if(!wCssJQuery[wCssJQueryEntry]['event']||wCssJQuery[wCssJQueryEntry]['event']=='document.ready'){eval(wCssJQuery[wCssJQueryEntry]['jQuery']);}});}for(var wCssDOMEntry in wCssDOM){jQuery(wCssDOMEntry).each(function(index){domActions={'prependto':'prependTo', 'appendto':'appendTo', 'insertbefore':'insertBefore', 'insertafter':'insertAfter'};if(/^(\w+)\(/.test(wCssDOM[wCssDOMEntry]['path'])){eval('jQuery(this).' + domActions[wCssDOM[wCssDOMEntry]['action'].toLowerCase()] + '(jQuery(this).' + wCssDOM[wCssDOMEntry]['path'].replace(/\*\/$/, '') + ');');}else{if(wCssDOM[wCssDOMEntry]['action']=='prependto'){jQuery(this).prependTo(wCssDOM[wCssDOMEntry]['path']);}else if(wCssDOM[wCssDOMEntry]['action']=='appendto'){jQuery(this).appendTo(wCssDOM[wCssDOMEntry]['path']);}else if(wCssDOM[wCssDOMEntry]['action']=='insertbefore'){jQuery(this).insertBefore(wCssDOM[wCssDOMEntry]['path']);}else if(wCssDOM[wCssDOMEntry]['action']=='insertafter'){jQuery(this).insertAfter(wCssDOM[wCssDOMEntry]['path']);}}});}if(typeof wHasInterpretedCssJs==='function'){wHasInterpretedCssJs();}if(typeof wEditor!='undefined'&&typeof wEditor.wHasInterpretedCssJs==='function'){wEditor.wHasInterpretedCssJs();}var mediaQueriesTmpToAdd='<div id="wMediaqueriesTmp">';for(var wMediaqueryToAddGlobal in wMediaqueriesToAddGlobal){mediaQueriesTmpToAdd +='<div id="wMediaqueryTmp_' + wMediaqueryToAddGlobal + '"></div>';}mediaQueriesTmpToAdd +='</div>';wCookieNoticeVar=typeof(wCookieNoticeVar)!='undefined'?wCookieNoticeVar:'';var useAccessEvent=(typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active===true)?true:false;var useAccessEvent=true;if(useAccessEvent) wAccessHandler.addEvent(wAccessEvents['cookieNotice']);if(typeof(wEditor)!='undefined'||typeof doNotShowCookieNotice!=='undefined'&&doNotShowCookieNotice||document.cookie.indexOf('hideCookieNotice' + wCookieNoticeVar + '=1')!=-1||/bot|search|slurp|spider|crawler|lighthouse|mediapartners|Google-AdWords-Express/i.test(navigator.userAgent)){if(typeof closeCookieNotice==='function'){closeCookieNotice();}else{jQuery('#cookieNotice').hide();}if(useAccessEvent) wAccessEvents['cookieNotice'].deactivate(wAccessEvents['cookieNotice']);}else{var cIfDnt=typeof confirmIfDnt!=='undefined'?confirmIfDnt:'';if(cIfDnt==='hideCookieInfo'&&typeof navigator.doNotTrack!=='undefined'&&navigator.doNotTrack==='1'){if(typeof closeCookieNotice==='function'){closeCookieNotice();}else{jQuery('#cookieNotice').hide();}if(useAccessEvent) wAccessEvents['cookieNotice'].deactivate(wAccessEvents['cookieNotice']);document.cookie='allowTracking=0;path=/;sameSite=lax';document.cookie='allowLoadExternRessources=0;path=/;sameSite=lax';document.cookie='hideCookieNotice=1;path=/;sameSite=lax';}else if(cIfDnt==='showOnlyDntInfo'&&typeof navigator.doNotTrack!=='undefined'&&navigator.doNotTrack==='1'){jQuery('#cookieNotice').hide();if(typeof showDntNotice==='function'){showDntNotice();}else{var timeDisplay=8000;setTimeout(function(){jQuery('#dntNotice').css({'display':'block'});}, 1800);setTimeout(function(){jQuery('#dntNotice').addClass('isVisible');setTimeout(function(){jQuery('#dntNotice').removeClass('isVisible');setTimeout(function(){jQuery('#dntNotice').css({'display':'none'});}, 1000);}, timeDisplay);}, 2000);document.cookie='allowTracking=0;path=/;sameSite=lax';document.cookie='allowLoadExternRessources=0;path=/;sameSite=lax';document.cookie='hideCookieNotice=1;path=/;sameSite=lax';}}else if(typeof showCookieNotice==='function'){if(useAccessEvent) wAccessEvents['cookieNotice'].activate(wAccessEvents['cookieNotice'], {'isWall':true});showCookieNotice();}else{if(jQuery('#cookieNotice').hasClass('blockPage')){if(useAccessEvent) wAccessEvents['cookieNotice'].activate(wAccessEvents['cookieNotice'], {'isWall':true});else{jQuery('body').on('keyup', function(e){if(e.keyCode==9&&!jQuery(e.target).is('#cookieNotice *')){jQuery('#cookieNotice').attr('tabindex', 0).focus();return false;}});}}}}if(typeof(wSelectionFontSizeAddToCookieNotice)!=='undefined'&&wSelectionFontSizeAddToCookieNotice|| typeof(wSelectionContrastAddToCookieNotice)!=='undefined'&&wSelectionContrastAddToCookieNotice){if(!jQuery('#waiSectionCookieNotice').length){jQuery('#cookieNoticeInner > div').prepend('<div id="waiSectionCookieNotice"></div>');}if(typeof(wSelectionFontSizeAddToCookieNotice)!=='undefined'&&wSelectionFontSizeAddToCookieNotice){jQuery('#waiSectionCookieNotice').append(jQuery('.wAiSectionFontSize').clone());}if(typeof(wSelectionContrastAddToCookieNotice)!=='undefined'&&wSelectionContrastAddToCookieNotice){jQuery('#waiSectionCookieNotice').append(jQuery('.wAiSectionContrast').clone());}}wOffsetScrolledTopSet=typeof(wOffsetScrolledTop)!='undefined'?wOffsetScrolledTop:(document.documentElement.getAttribute('data-offsetscrolledtop')&&document.documentElement.getAttribute('data-offsetscrolledtop')!=''?document.documentElement.getAttribute('data-offsetscrolledtop'):0);wOffsetBottomChangeScrollStatusSet=typeof(wOffsetBottomChangeScrollStatus)!='undefined'?wOffsetBottomChangeScrollStatus:(document.documentElement.getAttribute('data-offsetscrolledtop')&&document.documentElement.getAttribute('data-offsetbottomchangescrollstatus')!=''?document.documentElement.getAttribute('data-offsetbottomchangescrollstatus'):0);if(wOffsetScrolledTopSet!=wOffsetScrolledTopDefault){wOffsetScrolledTopDefault=wOffsetScrolledTopSet;if(jQuery(window).scrollTop() > wOffsetScrolledTopDefault){documentElementClassName=documentElementClassName.replace(' scrolled-top', '');}else if(document.documentElement.className.indexOf(' scrolled-top')==-1){document.documentElement.className +=' scrolled-top';}}if(typeof(wHandleObserveVisible)!='undefined'&&wHandleObserveVisible===true){var options={threshold:0.1};if(typeof wObserverOptions!='undefined'){options=wObserverOptions;}observeVisible=('IntersectionObserver' in window)?new IntersectionObserver(handleObserveVisible, options):null;observeVisibleOnce=('IntersectionObserver' in window)?new IntersectionObserver(handleObserveVisibleOnce, options):null;}jQuery('body').append(mediaQueriesTmpToAdd);jQuery('.wglTabcontainer').wTabcontainer();jQuery('.wglAccordion').wAccordion();jQuery('.wglBannerSlider').wBannerSlider();jQuery('.wglSmartSlider').wSmartSlider();jQuery('.wglPictureGallery').wPictureGallery();jQuery('.wglLightbox').wLightbox();jQuery('.wglMaximizer').wMaximizer();jQuery('.wglDatepicker').wDatepicker();jQuery('.wglSearchSuggest').wSearchSuggest();jQuery('textarea[data-autoheight="1"]').wAutoheight();jQuery('input[type="range"]').wInputRange();jQuery('[data-accessevent]').wAccessEventHandler();if(observeVisible){jQuery('img.wglLazyLoadInit').each(function(index){observeVisible.observe(jQuery(this).get(0));});jQuery('iframe.wglLazyLoadInit').each(function(index){observeVisible.observe(jQuery(this).get(0));});}if(observeVisibleOnce){jQuery('img.wglLazyLoadInit').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});jQuery('iframe.wglLazyLoadInit').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});}var labels=jQuery('#blockBody').length > 0?jQuery('#blockBody label, #blockFooter label'):jQuery('label');labels.each(function(index){var nameFor=jQuery(this).attr('for');if(nameFor&&nameFor!=''){var currentForm=jQuery(this).closest('form').get(0);if(currentForm){var elementFor=currentForm.elements[nameFor];if(elementFor&&elementFor.length){elementFor=elementFor[0];}if(!elementFor){elementFor=jQuery(this).closest('form').find('#' + nameFor).get(0);}if(elementFor&&typeof(elementFor.getAttribute('placeholder'))=='string'&&(elementFor.className.indexOf('wglIsInvalid')==-1||elementFor.value=='')){if(elementFor.getAttribute('data-showlabelifhasplaceholder')!=='1'&&typeof(elementFor.placeholder)!='undefined'){if(jQuery(this).is(':visible')&&!jQuery(this).hasClass('visuallyhidden')){jQuery(this).css({'display':'none'});}}}}}});wPrepareHTML();if(window.matchMedia){window.matchMedia('print').addListener(function(){wUiTmp['isMediaPrint']=true;jQuery(window).trigger('resize');});}else{window.onbeforeprint=function(event){wUiTmp['isMediaPrint']=true;jQuery(window).trigger('resize');};}if(/viewmode=print/.test(location.search)){wUiTmp['isViewmodePrint']=true;}window.setTimeout(function(event){wAdaptParallax(event);}, 320);wAdaptConditionalFormData();jQuery('.wglAddScrollProgress').each(function(index){var cE=jQuery(this);
33cE.append('<progress id="scrollProgress" max="1000" value="0"><div></div></progress');wUiTmp['elementScrollProgress']=jQuery('#scrollProgress');jQuery(window).on('resize scroll', function(){var documentHeight=jQuery(document).height();var scrollPercentage=Math.round(1000 * wUiTmp['lastScrollTop'] / (documentHeight-wUiTmp['lastWindowHeight']));wUiTmp['elementScrollProgress'].attr('value', scrollPercentage)
34});});jQuery('.wglAddScrollTop').each(function(index){var cE=jQuery(this);if(cE.get(0).nodeName.toLowerCase()=='body'){cE.append('<div id="scrollTopOuter"><div id="scrollTop" tabindex="0" role="button" title="' + (jQuery('body').data('titlescrolltop')?jQuery('body').data('titlescrolltop'):'') + '" aria-label="' + (jQuery('body').data('titlescrolltop')?jQuery('body').data('titlescrolltop'):'') + '"><div class="scrollTopInner"></div></div></div');}else{cE.after('<div id="scrollTopOuter"><div id="scrollTop" tabindex="0" role="button" title="' + (jQuery('body').data('titlescrolltop')?jQuery('body').data('titlescrolltop'):'') + '" aria-label="' + (jQuery('body').data('titlescrolltop')?jQuery('body').data('titlescrolltop'):'') + '"><div class="scrollTopInner"></div></div></div');}var stO=jQuery('#scrollTop');stO.on('click', function (event){event.preventDefault();jQuery('body, html').animate({scrollTop:0});});stO.on('keyup', function (event){if(event.keyCode==13){jQuery(this).trigger('click');}});jQuery(window).on('scroll', function(){var scrollTop=jQuery(this).scrollTop();wUiTmp['scrollMax']=typeof(wUiTmp['scrollMax'])!=='undefined'?Math.max(wUiTmp['scrollMax'], scrollTop):scrollTop;var fadeInAt=stO.attr('data-fadeInAt')!=undefined?parseInt(stO.attr('data-fadeInAt')):200;if(scrollTop > fadeInAt){stO.fadeIn();}else{stO.fadeOut();}});});jQuery('.wglShrinkToMinWidthWithoutBreak').each(function(index){var cE=jQuery(this);var textAlignBefore=cE.css('text-align');cE.css({'text-align':'left'});var lastElementInner=cE.children('*:last');var offsetRightLastElementInner=Math.ceil(lastElementInner.get(0).offsetLeft + lastElementInner.outerWidth() + parseInt(lastElementInner.css('margin-right')));cE.css({'text-align':textAlignBefore, 'width':String(offsetRightLastElementInner) + 'px'});});jQuery('.wglAdjustWidthEqual').each(function(index){var cE=jQuery(this);var nE=0;cE.children('*').each(function(index){if(jQuery(this).css('display')!='none'){nE++;}});var widthPerEntry=String(100 / nE) + '%';cE.children('*').each(function(index){if(jQuery(this).css('display')!='none'){jQuery(this).css({'width':widthPerEntry});}});});jQuery('.wglRemoveOnClick').each(function(index){jQuery(this).attr('onclick', '').off('click');});jQuery('.wglCaptcha').each(function(index){if(jQuery(this).find('iframe[data-h="1"]').length==1){jQuery(this).closest('.formElementCaptcha').hide();jQuery(this).closest('form').find('button[type="submit"]').on('click', function(event){var iFr=jQuery(this).closest('form').find('iframe[class="wglIFrameSc"]');jQuery(this).closest('form').find('input[id="captchaInput"]').val(iFr.get(0).contentWindow.gv(event.originalEvent, iFr.data('k')).substr(5, 4));});}});if(typeof(wEditor)=='undefined'){jQuery('.wglAnimateAfterTime').each(function(index){var cE=jQuery(this);var ti=typeof(cE.data('animateaftertime'))!='undefined'?cE.data('animateaftertime') * 1000:0;window.setTimeout(function(){cE.addClass('isAfterTime' + (typeof(cE.data('classtoaddaftertime'))!='undefined'?' ' + cE.data('classtoaddaftertime'):''));cE.removeClass(typeof(cE.data('classtoremoveaftertime'))!='undefined'?' ' + cE.data('classtoremoveaftertime'):'');}, ti);});}if(typeof(wEditor)=='undefined'){jQuery('.wglLightbox').each(function(index){var cE=jQuery(this);if(cE.get(0).nodeName=='IMG'){var wrapElement=cE.parent().attr('class')=='listEntryThumbnailOuter'?cE.parent():cE;var srcLightbox=cE.attr('src');if(cE.attr('data-src')&&cE.attr('data-src')!=''){srcLightbox=cE.attr('data-src');}else{if(/\-/.test(srcLightbox.replace(/[\s\S]+\//, ''))){srcLightbox=srcLightbox.replace(/\/weblication\/wThumbnails/, '').replace(/-[^-]+(\.\w+)$/, '$1');}else if(cE.attr('data-src2x')&&cE.attr('data-src2x')!=''){srcLightbox=cE.attr('data-src2x');}}var closestList=cE.closest('.elementList');var relId='';if(closestList.length==1){relId=closestList.attr('id');}wrapElement.wrap('<a rel="' + relId + '" onclick="event&&event.stopPropagation?event.stopPropagation():event.cancelBubble=true;" title="' + cE.get(0).alt + '" class="boxPictureOnly" href="' + srcLightbox + '"/>');}});}jQuery('form').not('[data-inlinevalidation="onblur"]').find('input[data-validators="email"]').each(function(){jQuery(this).on('blur', function(){jQuery(this).val(jQuery(this).val().trim());});});wAddInlineValidator=function(input){currentForm=input.closest('form');
34currentForm.attr('data-hasinputstovalidate', '1');if(location.search.indexOf('wFormStatus=failed')!=-1&&currentForm.attr('data-showinlinevalidationaferfailed')=='1'){wglValidateElementInline(input.get(0), {'clientside':currentForm.attr('action').indexOf('/weblication/grid5/tmpHTTP/wForm-')==-1});}else if(location.search.indexOf('wFormStatus=failed')!=-1&&input.find('#wFormErrorMessages').length > 0){wglValidateElementInline(input.get(0), {'onInit':true, 'clientside':currentForm.attr('action').indexOf('/weblication/grid5/tmpHTTP/wForm-')==-1});}else{var vlr=wGetValidationInfoInput(input);currentForm.attr('data-hasvalidated', '1');if(!vlr['isValid']){input.attr('data-isinvalid', '1');currentForm.attr('data-hasinputsinvalid', '1');}}var eventsToValidate='blur';if(input.attr('type')=='radio'|| input.attr('type')=='checkbox'){eventsToValidate='blur click';}else if(input.attr('type')=='file'||input.prop("tagName")=='SELECT'||input.hasClass('hasDatepicker')){eventsToValidate='blur change';}input.on(eventsToValidate, function(){if(input.attr('readOnly')==='readonly'){window.setTimeout(function(){wglValidateElementInline(input.get(0), {'clientside':currentForm.attr('action').indexOf('/weblication/grid5/tmpHTTP/wForm-')==-1});}, 320);}else{wglValidateElementInline(input.get(0), {'clientside':currentForm.attr('action').indexOf('/weblication/grid5/tmpHTTP/wForm-')==-1});}});input.on('keyup', function(event){if(event.originalEvent&&(event.originalEvent.keyCode==9||event.originalEvent.keyCode==16)){}else{wglValidateElementInline(jQuery(this).get(0), {'userinfo':false, 'clientside':currentForm.attr('action').indexOf('/weblication/grid5/tmpHTTP/wForm-')==-1});}});};wInitInlineValidation=function() {jQuery('form[data-inlinevalidation="onblur"]').each(function () {wUiTmp['formPos']=wUiTmp['formPos']?wUiTmp['formPos'] + 1:1;var currentForm=jQuery(this);currentForm.attr('data-formpos', wUiTmp['formPos']);currentForm.attr('data-hasinputstovalidate', '0');currentForm.find('input, textarea, select').each(function () {if (jQuery(this).attr('data-validators')&&jQuery(this).attr('data-validators')!=='') {wAddInlineValidator(jQuery(this));}else if (typeof wAddEmptyInputValidators!=='undefined'&&wAddEmptyInputValidators) {wAddInlineValidator(jQuery(this));}});});};wInitInlineValidation();jQuery('.wglTimeLeft:not([data-init="1"]').each(function(index){var cO=jQuery(this);var cE=cO.get(0);if(typeof(wEditor)!='undefined'){cO.attr('data-init', '1');return false;}cO.attr('data-init', '1');var htmlTemplate=cE.innerHTML;if(cE.hasAttribute('data-text-template')&&(htmlTemplate==''&&cE.getAttribute('data-text-template')!=''||cE.getAttribute('data-text-template')!='')){htmlTemplate=cE.getAttribute('data-text-template');if(cO.children().hasClass('wglCountUp')||cE.innerHTML==''){htmlTemplate=jQuery(cE.getAttribute('data-text-template')).addClass('wglCountUp').get(0).outerHTML;}}intervalToSetTime=10000;var intervalFunction=function(){var now=new Date();var nowYear=now.getUTCFullYear();var dateTimeStr=cE.getAttribute('data-time').trim();if(dateTimeStr){dateTimeStr=dateTimeStr.replace('Y', now.getUTCFullYear());dateTimeStr=dateTimeStr.replace('m', now.getMonth() + 1);}var lang=(document.documentElement.getAttribute('lang')?document.documentElement.getAttribute('lang'):'de').replace(/-\w+/, '');var numberDigitsSeconds=cE.getAttribute('data-number-digits-seconds')?cE.getAttribute('data-number-digits-seconds'):1;var textDay=cE.getAttribute('data-text-day-' + lang)?cE.getAttribute('data-text-day-' + lang):(cE.getAttribute('data-text-day')?cE.getAttribute('data-text-day'):'Tag');var textDay=cE.getAttribute('data-text-day-' + lang)?cE.getAttribute('data-text-day-' + lang):(cE.getAttribute('data-text-day')?cE.getAttribute('data-text-day'):'Tag');var textDays=cE.getAttribute('data-text-days-' + lang)?cE.getAttribute('data-text-days-' + lang):(cE.getAttribute('data-text-days')?cE.getAttribute('data-text-days'):'Tage');var textHour=cE.getAttribute('data-text-hour-' + lang)?cE.getAttribute('data-text-hour-' + lang):(cE.getAttribute('data-text-hour')?cE.getAttribute('data-text-hour'):'Stunde');var textHours=cE.getAttribute('data-text-hours-' + lang)?cE.getAttribute('data-text-hours-' + lang):(cE.getAttribute('data-text-hours')?cE.getAttribute('data-text-hours'):'Stunden');var textMinute=cE.getAttribute('data-text-minute-' + lang)?cE.getAttribute('data-text-minute-' + lang):(cE.getAttribute('data-text-minute')?cE.getAttribute('data-text-minute'):'Minute');
34var textMinutes=cE.getAttribute('data-text-minutes-' + lang)?cE.getAttribute('data-text-minutes-' + lang):(cE.getAttribute('data-text-minutes')?cE.getAttribute('data-text-minutes'):'Minuten');var textSecond=cE.getAttribute('data-text-second-' + lang)?cE.getAttribute('data-text-second-' + lang):(cE.getAttribute('data-text-second')?cE.getAttribute('data-text-second'):'Sekunde');var textSeconds=cE.getAttribute('data-text-seconds-' + lang)?cE.getAttribute('data-text-seconds-' + lang):(cE.getAttribute('data-text-seconds')?cE.getAttribute('data-text-seconds'):'Sekunden');if(/^(\d+)-(\d+)-(\d+)$/.test(dateTimeStr)){dateTimeStr +=' 00:00:00';}if(/(\d+)-(\d+)-(\d+) (\d+)\:(\d+)\:(\d+)/.test(dateTimeStr)){var dateTime=new Date(RegExp.$1, RegExp.$2-1, RegExp.$3, RegExp.$4, RegExp.$5, RegExp.$6);var diffSeconds=parseInt(dateTime.getTime() / 1000)-parseInt(now.getTime() / 1000);if(diffSeconds > 0){var remainingDays=Math.floor(diffSeconds / 86400);var remainingHours=Math.floor((diffSeconds % 86400) / 3600);var remainingMinutes=Math.floor((diffSeconds % 3600) / 60);var remainingSeconds=Math.floor((diffSeconds % 60));if(numberDigitsSeconds==2&&remainingSeconds < 10){remainingSeconds='0' + String(remainingSeconds);}var html=htmlTemplate;html=html.replace('%days', remainingDays==1?'1 ' + textDay:remainingDays + ' ' + textDays);html=html.replace('%hours', remainingHours==1?'1 ' + textHour:remainingHours + ' ' + textHours);html=html.replace('%minutes', remainingMinutes==1?'1 ' + textMinute:remainingMinutes + ' ' + textMinutes);html=html.replace('%seconds', remainingSeconds==1||remainingSeconds=='01'?remainingSeconds + ' ' + textSecond:remainingSeconds + ' ' + textSeconds);cE.innerHTML=html;}else{cO.parent().addClass('hasReachedTime');}}};intervalFunction();if(htmlTemplate.indexOf('%seconds')!=-1){window.setInterval(intervalFunction, 1000);}else if(htmlTemplate.indexOf('%minutes')!=-1){window.setInterval(intervalFunction, 1000 * 60);}else{window.setInterval(intervalFunction, 1000 * 3600);}});if(/Android/i.test(navigator.userAgent)&&(typeof(wAddAccessDocumentOnPdfsIfAndroid)=='undefined'||wAddAccessDocumentOnPdfsIfAndroid)){jQuery('a').each(function(){var cE=jQuery(this);var hrefCurrent=cE.attr('href');if(/\.pdf$/.test(hrefCurrent)&&!/accessDocument\.php/.test(hrefCurrent)&&!/^https?\:\/\//.test(hrefCurrent)){if(cE.attr('data-pathPrepend')){hrefCurrent=cE.attr('data-pathPrepend') + hrefCurrent;}cE.attr('href', wUiTmp['wGlobalProjectPath'] + '/wGlobal/scripts/accessDocument.php?forceDownload=' + (cE.hasClass('download')?'1':'0') + '&document=' + encodeURIComponent(hrefCurrent));}});}jQuery(window).trigger('resize');if((typeof(wDoNotFireOnLoadBeforeReady)=='undefined'||wDoNotFireOnLoadBeforeReady)&&wUiTmp['windowLoadAfterReady']){wWindowOnLoad();}showNoticeExternalLinks();jQuery('.elementBox[role="link"]').each(function(){if(jQuery(this).find('a, *[role="link"]').length > 0) jQuery(this).removeAttr('role');});window.addEventListener('beforeunload', function(){if(window.speechSynthesis&&window.speechSynthesis.speaking){window.speechSynthesis.cancel();}});if(typeof waiReportActive!=='undefined'&&waiReportActive){window.setTimeout(function(){if(!/bot/i.test(navigator.userAgent)){let se=document.createElement('script');se.src='/weblication/grid5/gui/scripts/waiChecker.js' + (typeof(wCe)!=='undefined'?'?av=' + wCe:'');se.onload=function(){wWaiChecker.feedbackDataReport(location.pathname);};document.head.appendChild(se);}}, 1000);}});jQuery(window).on('load', function(){if(typeof(wDoNotFireOnLoadBeforeReady)=='undefined'||wDoNotFireOnLoadBeforeReady){if(wUiTmp['documentReady']&&!wUiTmp['windowLoad']){wWindowOnLoad();}else{wUiTmp['windowLoadAfterReady']=true;}}else{wWindowOnLoad();}});jQuery(window).on('scroll', function(){const scrollTop=jQuery(window).scrollTop();wUiTmp['scrollMax']=typeof(wUiTmp['scrollMax'])!=='undefined'?Math.max(wUiTmp['scrollMax'], scrollTop):scrollTop;if(jQuery('#blockBody').length!==0&&jQuery('#blockHeader').length!==0){const blockBodyBottom=jQuery('#blockHeader').height() + jQuery('#blockBody').height();const vc=blockBodyBottom > 0?(Math.round(100 * (scrollTop + jQuery(window).height()) / (blockBodyBottom))/ 100):0;wUiTmp['viewContentMax']=typeof(wUiTmp['viewContentMax'])!=='undefined'?Math.max(wUiTmp['viewContentMax'], vc):vc;}});wWindowOnLoad=function(){wUiTmp['windowLoad']=true;for(var wCssJQueryEntry in wCssJQuery){jQuery(wCssJQueryEntry).each(function(index){
34if(wCssJQuery[wCssJQueryEntry]['event']&&wCssJQuery[wCssJQueryEntry]['event']=='window.load'){eval(wCssJQuery[wCssJQueryEntry]['jQuery']);}});}jQuery("img[data-srchover]").each(function(){var cE=jQuery(this);var hoverTriggerElement=cE;var hoverTriggerPath=cE.data('hovertrigger');if(hoverTriggerPath){eval('hoverTriggerElement=hoverTriggerElement.' + hoverTriggerPath);}hoverTriggerElement.on('mouseover', function (event){cE.data('srcbeforehover', cE.attr('src'));if(cE.data('ishd')=='1'){cE.attr('src', cE.data('srchover2x'));}else{cE.attr('src', cE.data('srchover'));}});hoverTriggerElement.on('mouseout', function (event){cE.attr('src', cE.data('srcbeforehover'));});});window.setTimeout(function(){if(location.hash!=''&&location.hash!='#'){wAdaptOnChangeHash({'event':'load'});}}, 120);if(document.documentElement){window.setTimeout(function(){document.documentElement.className=document.documentElement.className + ' pagestatus-loaded';}, 800);}jQuery('.wglImageMap').wImageMap();jQuery('.wglMagnifier').wMagnifier();jQuery('.wglImageCompare').wImageCompare();jQuery('.wglTicker').wTicker();jQuery('.wglOverflowXTouch').each(function(index){var cE=jQuery(this);var widthOuter=cE.width();var widthInner=cE.children('*').outerWidth();if(!cE.is(":visible")||widthInner <=widthOuter){return false;}else{var lastElementInner=cE.children('*').children('*:last');var offsetRightLastElementInner=lastElementInner.get(0).offsetLeft + lastElementInner.outerWidth() + parseInt(lastElementInner.css('margin-right'));cE.children('*').children('*').each(function(index){jQuery(this).css('width', jQuery(this).width());});lastElementInner.parent().css({'width':String(offsetRightLastElementInner) + 'px'});}jQuery(this).find('img').attr('unselectable', 'on');jQuery('body').on('touchstart mousedown', function(event){if(jQuery(event.target).closest(cE).length!=0){event.preventDefault();}});jQuery('body').on("touchmove mousemove", function(event){if(jQuery('body').data('wtouchelement')){var mouseXDiff=(event.originalEvent.touches?event.originalEvent.touches[0].pageX:event.pageX)-jQuery('body').data('wtouchmousex');var mouseYDiff=(event.originalEvent.touches?event.originalEvent.touches[0].pageY:event.pageY)-jQuery('body').data('wtouchmousey');jQuery('body').data('wtouchmousex', event.originalEvent.touches?event.originalEvent.touches[0].pageX:event.pageX);jQuery('body').data('wtouchmousey', event.originalEvent.touches?event.originalEvent.touches[0].pageY:event.pageY);jQuery('body').data('wtouchlastdiffx', mouseXDiff);jQuery('body').data('wtouchlastdiffy', mouseYDiff);var milliseconds=(new Date()).getTime();var timeDiff=milliseconds-jQuery('body').data('timestamplast');jQuery('body').data('timestampbefore', jQuery('body').data('timestamplast'));jQuery('body').data('timestamplast', milliseconds);var speedX=Math.round(100 * (mouseXDiff > 0?mouseXDiff:-mouseXDiff) / timeDiff) + 1;jQuery('body').data('wtouchspeedX', speedX);var touchDiffX=jQuery('body').data('wtouchmousex')-jQuery('body').data('wtouchstartmousex');jQuery('body').data('wtouchdiffx', touchDiffX);var widthOuter=parseInt(jQuery('body').data('wtouchelement').width());var left=parseInt(jQuery('body').data('wtouchelement').children('*').css('margin-left'));left=isNaN(left)?0:left;var right=parseInt(jQuery('body').data('wtouchelement').width())-parseInt(jQuery('body').data('wtouchelement').children('*').css('margin-left'))-jQuery('body').data('wtouchelement').children('*').width();right=isNaN(right)?0:right;if(left > 32){jQuery('body').data('wtouchelement').children('*').animate({'margin-left':0});jQuery('body').removeData('wtouchelement');return false;}else if(right > 32){jQuery('body').data('wtouchelement').children('*').animate({'margin-left':String(parseInt(jQuery('body').data('wtouchelement').width())-parseInt(jQuery('body').data('wtouchelement').children('*').width())) + 'px'});jQuery('body').removeData('wtouchelement');return false;}if(jQuery('body').data('wtouchelement').data('wtouchstartmarginleft') + touchDiffX < 0){jQuery('body').data('wtouchelement').children('*').css({'margin-left':String(jQuery('body').data('wtouchelement').data('wtouchstartmarginleft') + touchDiffX) + 'px'});}else{jQuery('body').data('wtouchelement').children('*').css({'margin-left':String(j
34Query('body').data('wtouchelement').data('wtouchstartmarginleft') + touchDiffX) + 'px'});}}});jQuery(this).on('touchstart mousedown', function(event){jQuery(this).children('*').stop();jQuery('body').data('wtouchelement', jQuery(this));jQuery(this).data('wtouchstartmarginleft', parseInt(jQuery(this).children('*').css('margin-left')));jQuery(this).data('wtouchstartmargintop', parseInt(jQuery(this).children('*').css('margin-top')));jQuery('body').data('wtouchstartmousex', event.originalEvent.touches?event.originalEvent.touches[0].pageX:event.pageX);jQuery('body').data('wtouchstartmousey', event.originalEvent.touches?event.originalEvent.touches[0].pageY:event.pageY);});jQuery('body').on("touchend mouseup", function(event){if(jQuery('body').data('wtouchelement')){var milliseconds=(new Date()).getTime();var timeDiff=milliseconds-jQuery('body').data('timestamplast');var touchDiffX=jQuery('body').data('wtouchdiffx');var lastDiffX=jQuery('body').data('wtouchlastdiffx');var lastDiffXn=lastDiffX >=0?lastDiffX:-lastDiffX;if(lastDiffXn > 1){var speedX=(Math.round((lastDiffXn > 0?lastDiffXn:-lastDiffXn) / timeDiff) + 1) * 5;if(speedX > 200){speedX=200;}var movingWidth=Math.round(touchDiffX * 2 * (1 + speedX / 100));if(jQuery('body').data('wtouchdiffx') < 0){var right=parseInt(jQuery('body').data('wtouchelement').width())-parseInt(jQuery('body').data('wtouchelement').children('*').css('margin-left'))-jQuery('body').data('wtouchelement').children('*').width();if(movingWidth < right){movingWidth=right;}var duration=(movingWidth > 0?movingWidth:-movingWidth) * 1.5 + Math.round(100 / speedX);jQuery('body').data('wtouchelement').children('*').animate({'margin-left':'+=' + String(movingWidth)}, {'duration':duration, 'easing':'wEaseOut'});}else{var left=parseInt(jQuery('body').data('wtouchelement').children('*').css('margin-left'));if(-movingWidth < left){movingWidth=-left;}var duration=(movingWidth > 0?movingWidth:-movingWidth) * 1.5 + Math.round(100 / speedX);jQuery('body').data('wtouchelement').children('*').animate({'margin-left':'+=' + String(movingWidth)}, {'duration':duration, 'easing':'wEaseOut'});}}jQuery('body').removeData('wtouchelement');}});});jQuery('.wglOverflowXTouchScroll').each(function(index){if(typeof(wEditor)!='undefined'){return false;}var el=jQuery(this);jQuery('body').on('touchstart mousedown', function(event){if(jQuery(event.target).closest(el).length!=0){event.preventDefault();}});jQuery('body').on("touchmove mousemove", function(event){if(jQuery('body').data('wtouchelement')){var scrollLeftStart=jQuery('body').data('wtouchstartscrollleft');var mouseXDiff=(event.originalEvent.touches?event.originalEvent.touches[0].pageX:event.pageX)-jQuery('body').data('wtouchstartmousex');jQuery('body').data('wtouchelement').scrollLeft(scrollLeftStart-mouseXDiff);}});jQuery(this).on('touchstart mousedown', function(event){jQuery('body').data('wtouchelement', jQuery(this));jQuery('body').data('wtouchstartmousex', event.originalEvent.touches?event.originalEvent.touches[0].pageX:event.pageX);jQuery('body').data('wtouchstartscrollleft', jQuery(this).scrollLeft());});jQuery('body').on("touchend mouseup", function(event){jQuery('body').removeData('wtouchelement');});});if(typeof(wHighlightBlockRoot)=='undefined'){wHighlightBlockRoot='blockContentInner';}if(wHighlightBlockRoot!='none'&&/highlight=([^&]+)/.test(decodeURIComponent(location.search.replace('+', ' ')))){highlightTexts=RegExp.$1;window.setTimeout(function(){var highlightTextsArray=highlightTexts.split(/\s+/);var elementRoot=jQuery('#' + wHighlightBlockRoot);for(var j=0; j < highlightTextsArray.length; j++){var highlightText=highlightTextsArray[j];var regExpWord=new RegExp('^(?:[\\w\\W]*\\W+|)(' + highlightText.replace('+', '\\+').replace(/(\w) /, '$1\\w* +') + '\\w*)([\\w\\W]*|)$', 'gim');elementRoot.find('div, p, h1, h2, h3, h4, h5, h6, li').each(function(){var nodeCurrent=jQuery(this).get(0);if(nodeCurrent.tagName!='DIV'&&!/<\w+/.test(nodeCurrent.innerHTML)){nodeCurrent.innerHTML=nodeCurrent.innerHTML.replace(/[\n\r\s\t]+/g, ' ');}for(var j=0; j < 6; j++){var childNodes=nodeCurrent.childNodes;var childNodesLength=childNodes.length;for(var i=childNodesLength-1; i >=0; i--){if(childNodes[i].nodeType==3&&childNodes[i].nodeValue.trim()!=''){if(regExpWord.test(childNodes[i].nodeValue)){var splitedNode=childNodes[i].splitText(c
34hildNodes[i].nodeValue.length-RegExp.$1.length-RegExp.$2.length);splitedNode.nodeValue=splitedNode.nodeValue.substr(RegExp.$1.length);var highlightNode=document.createElement('span');highlightNode.className='wglHighlightWord';highlightNode.setAttribute('data-hightlightword', highlightTexts);highlightNode.appendChild(document.createTextNode(RegExp.$1));splitedNode.parentNode.insertBefore(highlightNode, splitedNode);var accHeaderE=jQuery(this).closest('.accordionContent').prev('.accordionHeader');if(accHeaderE.data('ishighlighted')!=true){accHeaderE.data({noaccchange:true, noaccactivate:true, ishighlighted:true}).trigger('click');}}}}}});elementRoot.find('span, strong, td, a').each(function(){var nodeCurrent=jQuery(this).get(0);if(nodeCurrent.className!='wglHighlightWord'){if(!/<\w+/.test(nodeCurrent.innerHTML)){nodeCurrent.innerHTML=nodeCurrent.innerHTML.replace(/[\n\r\s\t]+/g, ' ');}for(var j=0; j < 6; j++){var childNodes=nodeCurrent.childNodes;var childNodesLength=childNodes.length;for(var i=childNodesLength-1; i >=0; i--){if(childNodes[i].nodeType==3&&childNodes[i].nodeValue.trim()!=''){if(regExpWord.test(childNodes[i].nodeValue)){var splitedNode=childNodes[i].splitText(c
34hildNodes[i].nodeValue.length-RegExp.$1.length-RegExp.$2.length);splitedNode.nodeValue=splitedNode.nodeValue.substr(RegExp.$1.length);var highlightNode=document.createElement('span');highlightNode.className='wglHighlightWord';highlightNode.setAttribute('data-hightlightword', highlightTexts);highlightNode.appendChild(document.createTextNode(RegExp.$1));splitedNode.parentNode.insertBefore(highlightNode, splitedNode);var accHeaderE=jQuery(this).closest('.accordionContent').prev('.accordionHeader');if(accHeaderE.data('ishighlighted')!=true){accHeaderE.data({noaccchange:true, noaccactivate:true, ishighlighted:true}).trigger('click');}}}}}}});}}, 160);}jQuery(window).trigger('resize');window.setTimeout(function(){if(!observeVisible){wAnimateIfVisible();}wProcessWglAdjustHeightMax();wLazyLoading();}, 500);if(location.hash=='#scrollposleftlist'|| location.hash=='#scrollsmoothposleftlist'){var scrollToY=wGetScrollPosLeftList();if(scrollToY > 0){if(location.hash=='#scrollsmoothposleftlist'){jQuery('body, html').animate({scrollTop:scrollToY});}else{jQuery('html, body').scrollTop(scrollToY);}}}if(typeof(wUiTmp['callbackAfterLoad'])!='undefined'&&wUiTmp['callbackAfterLoad'].length&&wUiTmp['callbackAfterLoad'].length > 0){for(var i=0; i < wUiTmp['callbackAfterLoad'].length; i++){wUiTmp['callbackAfterLoad'][i]();}}if(typeof(wUiTmp['viewContentMax'])==='undefined'&&jQuery('#blockBody').length!==0&&jQuery('#blockHeader').length!==0){let blockBodyBottom=jQuery('#blockHeader').height() + jQuery('#blockBody').height();wUiTmp['viewContentMax']=blockBodyBottom > 0?(Math.round(100 * (jQuery(window).height()) / (jQuery('#blockHeader').height() + jQuery('#blockBody').height()))/ 100):0;}};jQuery(window).on('resize', function(){wUiTmp['lastWindowHeight']=jQuery(window).height();wUiTmp['lastDocumentHeight']=jQuery(document).height();wUiTmp['lastWindowWidth']=jQuery(window).width();var hasChangedMediaQuery=false;jQuery('#wMediaqueriesTmp > div').each(function(index){if(window.getComputedStyle){try{var computedStyle=window.getComputedStyle(jQuery(this).get(0));var fontFamily=computedStyle.fontFamily.replace(/"/g, '');var lastMediaQuery=jQuery(this).data('lastmediaquery')||'';if(fontFamily!=lastMediaQuery){if(fontFamily.indexOf('mediaquery_')==0){eval('if(typeof(' + fontFamily + '_onactivate)==\'function\'){' + fontFamily + '_onactivate();}');}else if(lastMediaQuery.indexOf('mediaquery_')==0){eval('if(typeof(' + lastMediaQuery + '_ondeactivate)==\'function\'){' + lastMediaQuery + '_ondeactivate();}');}jQuery(this).data('lastmediaquery', fontFamily);hasChangedMediaQuery=true;}}catch(e){};}});if(hasChangedMediaQuery){jQuery("img[data-srcmin]").each(function(){var currentImg=jQuery(this);var widthOrig=parseInt(typeof(currentImg.attr('widthorig'))!='undefined'?currentImg.attr('data-widthorig'):currentImg.attr('width'));var srcMin=currentImg.data('srcmin')?currentImg.data('srcmin'):'';var widthCurrent=parseInt(currentImg.width());var attrWidthCur=parseInt(typeof(currentImg.attr('width'))!='undefined'?currentImg.attr('width'):0);var widthMin=parseInt(srcMin.replace(/.*@min/, '').replace(/\..*/, ''));var widthOuter=parseInt(currentImg.parent().width());var diffWidthFrame=0;if(currentImg.parent().parent().parent().parent().hasClass('picture')){diffWidthFrame=currentImg.parent().parent().parent().parent().outerWidth()-widthCurrent;}else if(currentImg.parent().parent().hasClass('picture')){diffWidthFrame=currentImg.parent().parent().outerWidth()-widthCurrent;}if(widthCurrent > widthOrig&&widthOuter > widthOrig + diffWidthFrame + 1&&widthMin > widthOrig){currentImg.attr('src', srcMin);if(typeof(currentImg.attr('width'))!='undefined'&&currentImg.attr('width')!=''){currentImg.attr('data-widthorig', currentImg.attr('width')).removeAttr('width').attr('height', 'auto');}}});}jQuery('.wglExpandToHeighestChild').each(function(index){var cE=jQuery(this);var maxHeight=0;cE.children('*').each(function(index){if(jQuery(this).attr('data-adjusttoheighestchild')!='no'&&jQuery(this).outerHeight(true) > maxHeight){maxHeight=jQuery(this).outerHeight(true);}});if(maxHeight > 0){cE.css('height', String(maxHeight) + 'px');}});jQuery('.wglCheckWidthParent').each(function(index){var cE=jQuery(this);var widthSelf=cE.attr('data-width-init')||cE.outerWidth();var widthParent=cE.parent().width();if(cE.parent().hasClass('isToSmall')&&cE.parent().is(":visible")){cE.parent().removeClass('isToSmall');widthParent=cE.parent().width();}if(!cE.attr('data-width-init')){cE.attr('data-width-init', widthSelf);}if(widthParent >=widthSelf){cE.parent().removeClass('isToSmall');}else{cE.parent().addClass('isToSmall');}});
34jQuery('.wglCheckOverflow').each(function(index){if(typeof(wEditor)!='undefined'){return false;}var cE=jQuery(this);var scrollMax=cE.get(0).scrollWidth-cE.get(0).clientWidth;cE.attr('data-isoverflowx', cE.get(0).clientWidth < cE.get(0).scrollWidth?'1':0);cE.attr('data-scrollleft', String(cE.get(0).scrollLeft));if(cE.get(0).scrollLeft==0){cE.attr('data-scrollpos', 'left');}else if(cE.get(0).scrollLeft + 0.5 >=scrollMax){cE.attr('data-scrollpos', 'right');}else{cE.attr('data-scrollpos', '');}jQuery(this).on('scroll', function(){var cE=jQuery(this);var scrollMax=cE.get(0).scrollWidth-cE.get(0).clientWidth;cE.attr('data-scrollleft', String(cE.get(0).scrollLeft));if(cE.get(0).scrollLeft==0){cE.attr('data-scrollpos', 'left');}else if(cE.get(0).scrollLeft + 0.5 >=scrollMax){cE.attr('data-scrollpos', 'right');}else{cE.attr('data-scrollpos', '');}});});let debouncedResize=wDebounce(function(){jQuery('.wglCheckBreakChildren').each(function(index){if(typeof(wEditor)!='undefined'){return false;}var cE=jQuery(this);var widthSelf=cE.attr('data-width-init')||cE.outerWidth();var widthParent=cE.parent().width();var offsetTop=0;var offsetTopFirst=0;var breakChildren=false;var targetBreakChildrenClass=cE.data('targetbreakchildrenclass');var targetbreakchildrencallback=cE.data('targetbreakchildrencallback');var targetToSetClass=cE.parent();if(targetBreakChildrenClass&&/closest\(([^\)]+)\)/.test(targetBreakChildrenClass)){targetToSetClass=cE.closest(RegExp.$1);if(targetToSetClass.length==0){targetToSetClass=cE.parent();}}var hasBreakChildrenBefore=targetToSetClass.hasClass('breakChildren');targetToSetClass.removeClass('breakChildren');if(hasBreakChildrenBefore&&cE.parent().is(":visible")){targetToSetClass.removeClass('breakChildren');cE.children('*').each(function(index){offsetTop=jQuery(this).offset().top;if(index==0){offsetTopFirst=offsetTop;}else if(offsetTop > offsetTopFirst + 5){breakChildren=true;return false;}});}else{cE.children('*').each(function(index){offsetTop=jQuery(this).offset().top;if(index==0){offsetTopFirst=offsetTop;}else if(offsetTop > offsetTopFirst + 5){breakChildren=true;return false;}});}if(!cE.attr('data-width-init')){cE.attr('data-width-init', widthSelf);}if(breakChildren){cE.attr('data-width-break', cE.outerWidth());targetToSetClass.addClass('breakChildren');}if(hasBreakChildrenBefore!=breakChildren&&targetbreakchildrencallback&&targetbreakchildrencallback!=''){var f=window[targetbreakchildrencallback];if(typeof f==='function'){f(cE);}}});wOptimizePictureSizes();wProcessPictureZoomer();wLazyLoading();},!wUiTmp['wHasInitResize']?0:250);debouncedResize();wProcessWglExpandToParent();wProcessWglAdjustHeightMax();wAdaptHeightBlockHeaderOuter();wUiTmp['wHasInitResize']=true;});jQuery(window).on('resize scroll', function(event){var hcw=false;if(typeof(wUiTmp['lastWindowHeight'])=='undefined'||event.type=='resize'){wUiTmp['lastWindowHeight']=jQuery(window).height();wUiTmp['lastDocumentHeight']=jQuery(document).height();}if(typeof(wUiTmp['lastWindowWidthResized'])=='undefined'||event.type=='resize'){var cw=jQuery(window).width();if(cw!=wUiTmp['lastWindowWidthResized']){hcw=true;}wUiTmp['lastWindowWidthResized']=cw;}if(hcw){jQuery('div[data-isdarkbackgroundminwidth]').each(function(index){var v=parseInt(jQuery(this).attr('data-isdarkbackgroundminwidth').replace('px', ''));if(cw >=v){jQuery(this).addClass('isDarkBackground');}else{jQuery(this).removeClass('isDarkBackground');}});}wUiTmp['lastScrollTop']=jQuery(window).scrollTop();wUiTmp['lastScrollTime']=new Date().getTime();wSetScrollStatus();if(wUiTmp['lastScrollStatus']==='top'){wAdaptHeightBlockHeaderOuter();}if(typeof(wEditor)=='undefined'){wReader();wCountUp();}wUiTmp['timeoutObserveAlt']=typeof(wUiTmp['timeoutObserveAlt'])=='undefined'||wUiTmp['timeoutObserveAlt']==0?8:wUiTmp['timeoutObserveAlt']-1;if(!observeVisible||wUiTmp['timeoutObserveAlt']==0){wLazyLoading();if(!observeVisible){wAnimateIfVisible();}}wKeepInsideTopOnScroll();wAdaptNavigationSection();wUiTmp['hasToAdaptParallax']=true;if(!wUiTmp['adaptParallax']){window.requestAnimationFrame(wAdaptParallax);wUiTmp['adaptParallax']=true;}wUiTmp['lastScrollTopBefore']=wUiTmp['lastScrollTop'];});wSetScrollStatus=function(){var canChange=wUiTmp['lastScrollTop'] >=0&&(wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']-wUiTmp['lastDocumentHeight']) < 0?true:false;if(typeof(wOffsetBottomChangeScrollStatusSet)!='undefined'){if((wUiTmp['lastWindowHeight'] + wUiTmp['lastScrollTop']) > (wUiTmp['lastDocumentHeight']-wOffsetBottomChangeScrollStatusSet)){canChange=false;}}if(typeof(wBlockChangeScrollstatus)!='undefined'&&wBlockChangeScrollstatus){canChange=false;}if(typeof(wUiTmp['lastScrollTop'])=='undefined'){wUiTmp['lastScrollTop']=wOffsetScrolledTopDefault-1;}var changeScrollstatusOnAutoscrolling=false;if(typeof(wChangeScrollstatusOnAutoscrolling)!='undefined'&&wChangeScrollstatusOnAutoscrolling){changeScrollstatusOnAutoscrolling=true;}if((!wUiTmp['scrollingAuto']||changeScrollstatusOnAutoscrolling)&&canChange){if(wUiTmp['lastScrollTop'] <=wOffsetScrolledTopDefault){if(wUiTmp['lastScrollStatus']!='top'){document.documentElement.className=document.documentElement.className.replace(' scrolled-top', '').replace(' scrolldirection-down', '').replace(' scrolldirection-up', '') + ' scrolled-top';}wUiTmp['lastScrollStatus']='top';}else if(wUiTmp['lastScrollTop'] < wUiTmp['lastScrollTopBefore']){if(wUiTmp['lastScrollStatus']!='scrollup'){document.documentElement.className=document.documentElement.className.replace(' scrolled-top', '').replace(' scrolldirection-down', '') + ' scrolldirection-up';}wUiTmp['lastScrollStatus']='scrollup';}else if(typeof wUiTmp['lastScrollStatus']=='undefined'&&wUiTmp['lastScrollTop'] > wOffsetScrolledTopDefault||wUiTmp['lastScrollTop'] > wUiTmp['lastScrollTopBefore']){if(wUiTmp['lastScrollStatus']!='scrolldown'){document.documentElement.className=document.documentElement.className.replace(' scrolled-top', '').replace(' scrolldirection-up', '') + ' scrolldirection-down';}wUiTmp['lastScrollStatus']='scrolldown';}}};wSetScrollPosLeftList=function(eventTarget){sessionStorage.setItem('scrollposleftlist:' + location.pathname, window.scrollY);sessionStorage.setItem('scrollposleftlist:' + location.pathname + location.search, window.scrollY);};wGetScrollPosLeftList=function(){scrollToY=0;if(sessionStorage.getItem('scrollposleftlist:' + location.pathname)!=''){scrollToY=sessionStorage.getItem('scrollposleftlist:' + location.pathname);}else if(sessionStorage.getItem('scrollposleftlist:' + location.pathname + location.search)!=''){scrollToY=sessionStorage.getItem('scrollposleftlist:' + location.pathname + location.search);}return scrollToY;};wAdaptHeightBlockHeaderOuter=function(){try{if(jQuery(':root').css('--adaptHeightBlockHeaderOuter')!=='no'){var blockHeaderHeight=jQuery('#blockHeader').length!==0?jQuery('#blockHeader').height():0;try{if(typeof jQuery(':root').css('--heightBlockHeader')==='undefined'){wUiTmp['heightBlockHeaderUndefinedBeforeSet']=true;}}catch(e){wUiTmp['heightBlockHeaderUndefinedBeforeSet']=true;}jQuery(':root').css('--heightBlockHeader', String(blockHeaderHeight) + 'px');jQuery(':root').css('--heightApp', String(jQuery(window).height()) + 'px');if(wUiTmp['heightBlockHeaderUndefinedBeforeSet']){wUiTmp['heightBlockHeaderWasSetTo']=jQuery(':root').css('--heightBlockHeader');}}}catch(e){}};wAdaptNavigationSection=function(){const $adpatNavigationSectionsObj=jQuery(".elementNavigationSections");
34if($adpatNavigationSectionsObj.length==0) return true;var idTopSection='', titleSection='', cE, nearestPositionTop=100000, elementPositionTop=0;var offsetTopFixed=jQuery('.wglContainerInsideTopOnScroll').length > 0?jQuery('.wglContainerInsideTopOnScroll').outerHeight():0;jQuery('.elementSection').each(function(index){cE=jQuery(this);elementPositionTop=parseInt(cE.offset().top)-wUiTmp['lastScrollTop']-offsetTopFixed;if(elementPositionTop < wUiTmp['lastWindowHeight']-128&&(elementPositionTop >=0&&elementPositionTop < nearestPositionTop||elementPositionTop < 0&&elementPositionTop *-1 < nearestPositionTop)){if(cE.height() > 8){nearestPositionTop=(elementPositionTop >=0?elementPositionTop:-elementPositionTop);titleSection=cE.attr('id')?cE.attr('id'):'';}}});if(titleSection!=''&&titleSection!=wUiTmp['lastSectionSelected']){if(typeof(wKeepNavigationSectionsIfNoTitle)!='undefined'&&wKeepNavigationSectionsIfNoTitle){if(jQuery(".elementNavigationSections li > a[href='#" + titleSection + "']").length!=0){jQuery(".elementNavigationSections li").removeClass('selected');jQuery(".elementNavigationSections li > a[href='#" + titleSection + "']").parent().addClass('selected');wUiTmp['lastSectionSelected']=titleSection;}}else{jQuery(".elementNavigationSections li").removeClass('selected');jQuery(".elementNavigationSections li > a[href='#" + titleSection + "']").parent().addClass('selected');wUiTmp['lastSectionSelected']=titleSection;}}};wPrefetchLink=function(link){var l=document.createElement("link");l.rel="prefetch";l.href=link;document.head.appendChild(l);};wReader=function(){jQuery('.wglReader:not([data-init="1"]').each(function(index){if(window.speechSynthesis){var cE=jQuery(this);var textToRead=cE.get(0).innerText;if(textToRead!=''){var rts='this.parentNode.nextSibling';var rta=cE.data('readertarget')?cE.data('readertarget'):'';if(rta=='prepend'){rts='this.parentNode.parentNode';}else if(rta.substr(0, 1)=='#'){rts='document.getElementById(\'' + rta.substr(1) + '\')';}cE.before('<div class="wReaderPanelEmbed"><div class="wButtonStartReading" onclick="wStartReadingText(' + rts + ', this.parentNode)"></div><div class="wButtonPauseReading" onclick="wPauseReadingText(' + rts + ', this.parentNode)"></div><div class="wButtonStopReading" onclick="wStopReadingText(' + rts + ', this.parentNode)"></div></div>');}cE.attr('data-init', '1');}});};wCountUp=function(){jQuery('.wglCountUp:not([data-init="1"])').each(function(index){var cE=jQuery(this);var nodeName=cE.get(0).nodeName;if(typeof(wEditor)!='undefined'){cE.attr('data-init', '1');return false;}var offsetTop=parseInt(cE.offset().top);if(offsetTop > wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']){return false;}cE.attr('data-init', '1');var currentDataOrig=cE.data();var currentData={};for(key in currentDataOrig){currentData[key.toLowerCase()]=currentDataOrig[key];}currentData['countupFrom']=currentData['countupfrom']||0;currentData['countupTo']=currentData['countupto']||cE.html();currentData['countupDecimals']=currentData['countupdecimals']||0;currentData['countupDuration']=currentData['countupduration']||2;currentData['countupInitdelay']=currentData['countupinitdelay']||1000;currentData['countupPrefix']=currentData['countupprefix']||'';currentData['countupSuffix']=currentData['countupsuffix']||'';if(/((\w*)\. )/.test(currentData['countupTo'])) currentData['countupTo']=currentData['countupTo'].replace(/((\w*)\. )/, RegExp.$2+'~#~ ');if(/^([^\d\,\.]*)([\d\,\.\']+)([^\d\,\.]*\.?)$/.test(currentData['countupTo'])){currentData['countupPrefix']=RegExp.$1.replace('~#~', '.');currentData['countupTo']=RegExp.$2;currentData['countupSuffix']=RegExp.$3.replace('~#~', '.');}currentData['countupSeperator']='';if(/^\d+([\.\'])\\d\d\d/.test(currentData['countupFrom'])||/^\d+([\.\'])\d\d\d/.test(currentData['countupTo'])){currentData['countupSeperator']=RegExp.$1;}if(currentData['countupSeperator']!=''){currentData['countupFrom']=String(currentData['countupFrom']).replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2').replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2').replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2');currentData['countupTo']=String(currentData['countupTo']).replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2').replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2').replace(/^(\d+)[\.\'](\d\d\d)/, '$1$2');}valueToSet=String(currentData['countupFrom']);currentData['countupTo']=currentData['countupTo'].replace(',', '.');if(currentData['countupTo']){if(/^\d+\.(\d+)$/.test(currentData['countupTo'])){currentData['countupDecimals']=RegExp.$1.length;}else if(/^([\d\,\.]+)$/.test(currentData['countupTo'])){}else{return true;}}else{return true;}if(currentData['countupDecimals'] > 0){valueToSet=parseFloat(valueToSet).toFixed(currentData['countupDecimals']).replace('.', ',');}else{valueToSet=String(Math.ceil(valueToSet));if(currentData['countupSeperator']!=''){valueToSet=valueToSet.replace(/(\d)(\d{3})$/, '$1.$2').replace(/(\d)(\d{3})\./, '$1.$2.').replace(/(\d)(\d{3})\./, '$1.$2.');}}if(nodeName=='text'){cE.get(0).textContent=currentData['countupPrefix'] + valueToSet + currentData['countupSuffix'];}else{cE.html(currentData['countupPrefix'] + valueToSet + currentData['countupSuffix']);}var timeoutInit=25;var timeout=timeoutInit;window.setTimeout(function(){var intervalCountup=window.setInterval(function(){if(timeout < 0.5){timeout-=0.02;}else if(timeout < 2){timeout-=0.05;}else if(timeout < 3){timeout-=0.14;}else if(timeout < 4){timeout-=0.4;}else{timeout--;}var valueToSet=(currentData['countupTo']-currentData['countupFrom']) / timeoutInit * (timeoutInit-timeout) + parseFloat(currentData['countupFrom']);if(timeout <=0.1){window.clearInterval(intervalCountup);valueToSet=currentData['countupTo'];}if(currentData['countupDecimals'] > 0){valueToSet=String(parseFloat(valueToSet).toFixed(currentData['countupDecimals']).replace('.', ','));if(currentData['countupSeperator']!=''){if(/(\d+)\,(\d+)/.test(valueToSet)){var valueToSetBefore=RegExp.$1;var valueToSetAfter=RegExp.$2;if(currentData['countupSeperator']=='\''){valueToSetBefore=valueToSetBefore.replace(/(\d)(\d{3})$/, '$1\'$2').replace(/(\d)(\d{3})\'/, '$1\'$2.').replace(/(\d)(\d{3})\'/, '$1\'$2.');}else{valueToSetBefore=valueToSetBefore.replace(/(\d)(\d{3})$/, '$1.$2').replace(/(\d)(\d{3})\./, '$1.$2.').replace(/(\d)(\d{3})\./, '$1.$2.');}valueToSet=valueToSetBefore + ',' + valueToSetAfter;}}}else{valueToSet=String(Math.ceil(valueToSet));if(currentData['countupSeperator']!=''){if(currentData['countupSeperator']=='\''){valueToSet=valueToSet.replace(/(\d)(\d{3})$/, '$1\'$2').replace(/(\d)(\d{3})\'/, '$1\'$2\'').replace(/(\d)(\d{3})\./, '$1\'$2.');}else{valueToSet=valueToSet.replace(/(\d)(\d{3})$/, '$1.$2').replace(/(\d)(\d{3})\./, '$1.$2.').replace(/(\d)(\d{3})\./, '$1.$2.');}}}if(nodeName=='text'){cE.get(0).textContent=currentData['countupPrefix'] + valueToSet + currentData['countupSuffix'];}else{cE.html(currentData['countupPrefix'] + valueToSet + currentData['countupSuffix']);}}, parseInt(currentData['countupDuration'] * 500 / timeoutInit));}, currentData['countupInitdelay']);});};wAnimateIfVisible=function(){jQuery("[data-doifbecomevisible]").each(function(index){var cE=jQuery(this);var isVisibleState=cE.data('isvisible');var offsetTop=parseInt(cE.offset().top);if(offsetTop < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']||location.href.indexOf('viewmode=print')!=-1){if(!isVisibleState){cE.data('isvisible', true);eval(cE.data('doifbecomevisible'));var functionDoifbecomevisible=function(){eval(cE.data('doifbecomevisible'));};functionDoifbecomevisible.call(cE.get(0));}}
34else if(isVisibleState){cE.data('isvisible', false);}});jQuery("[data-doifbecomevisibleonce]").each(function(index){var cE=jQuery(this);var isVisibleState=cE.data('isvisible');var offsetTop=parseInt(cE.offset().top);if(offsetTop < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']||location.href.indexOf('viewmode=print')!=-1){if(!isVisibleState){cE.data('isvisible', true);var functionDoifbecomevisible=function(){eval(cE.data('doifbecomevisibleonce'));};functionDoifbecomevisible.call(cE.get(0));cE.removeAttr('data-doifbecomevisibleonce');}}else if(isVisibleState){cE.data('isvisible', false);}});jQuery('.wglAnimateIfVisibleOnce').each(function(index){var cE=jQuery(this);if(parseInt(cE.offset().top) < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']||location.href.indexOf('viewmode=print')!=-1){cE.addClass('wglAnimateIfVisibleOnceVisible').removeClass('wglAnimateIfVisibleOnce');if(typeof(wOnAfterAnimateIfVisible)==='function'){wOnAfterAnimateIfVisible(cE);}}});jQuery('.wglAnimateIfVisible').each(function(index){var cE=jQuery(this);var offsetTop=parseInt(cE.offset().top);var offsetHeight=parseInt(cE.outerHeight());if((offsetTop < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']&&offsetTop + offsetHeight > wUiTmp['lastScrollTop'])||location.href.indexOf('viewmode=print')!=-1){if(!cE.hasClass('isVisible')){cE.addClass('isVisibleOnce isVisible').removeClass('isInvisible');if(typeof(wOnAfterAnimateIfVisible)==='function'){wOnAfterAnimateIfVisible(cE);}}}else{if(cE.hasClass('isVisible')){cE.addClass('isInvisible').removeClass('isVisible');if(typeof(wOnAfterAnimateIfInvisible)==='function'){wOnAfterAnimateIfInvisible(cE);}}}});};wShowContentOfElementInLightbox=function(elCurrent, el){var options={};options['type']='inline';options['content']=jQuery(el).html();wLightbox(jQuery(elCurrent), options);};jQuery('body').on("touchmove", function(event){wAdaptParallax(event);});jQuery(window).on("touchend", function(event){wAdaptParallax(event);});jQuery(window).on('mousewheel DOMMouseScroll', function (event){jQuery('body, html').stop(true, true);});wLazyLoading=function(){var winWidth=jQuery(window).width();wUiTmp['widthOfRwids']={};jQuery('img.wglLazyLoadInit').each(function(index){if(jQuery(this).data('solvesources')=='1'){return true;}var currentImg=jQuery(this);var offsetTop=parseInt(currentImg.offset().top);var srcMin=currentImg.data('srcmin')?currentImg.data('srcmin'):'';var widthCurrent=parseInt(currentImg.width());var attrWidthCur=parseInt(typeof(currentImg.attr('width'))!='undefined'?currentImg.attr('width'):0);var widthMin=parseInt(srcMin.replace(/.*@min/, '').replace(/\..*/, ''));var isVisibleComponent=true;var isVisiblePicture=false;if(currentImg.attr('data-maxwidthifinvisible')&&currentImg.attr('data-maxwidthifinvisible') > widthCurrent){widthCurrent=currentImg.attr('data-maxwidthifinvisible');}if(!currentImg.is(':visible')){isVisibleComponent=false;closestElement=currentImg.closest('.elementList');
34if(closestElement.length > 0&&closestElement.is(':visible')){if(closestElement.find("div[data-lazyloadifvisibleentry='1']").length > 0){}else if(closestElement.offset().top < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']){isVisibleComponent=true;}}}if(currentImg.attr('data-lazyloadwidthmaxactive')){if(winWidth >=currentImg.attr('data-lazyloadwidthmaxactive')){isVisibleComponent=true;isVisiblePicture=true;}}if(isVisibleComponent){if(currentImg.parent().prop('tagName')=='PICTURE'){if(widthCurrent > 0){wUiTmp['widthOfRwids'][currentImg.parent().attr('data-rwid')]=widthCurrent;}else if(wUiTmp['widthOfRwids'][currentImg.parent().attr('data-rwid')]){widthCurrent=wUiTmp['widthOfRwids'][currentImg.parent().attr('data-rwid')];}}}if(isVisibleComponent||wUiTmp['isMediaPrint']||wUiTmp['isViewmodePrint']){if(isVisiblePicture||(offsetTop < wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight'])||wUiTmp['isMediaPrint']||wUiTmp['isViewmodePrint']){wShowLazyLoadImage(currentImg);}}});};wShowLazyLoadImage=function(currentImg){var widthCurrent=parseInt(currentImg.width());var srcMin=currentImg.data('srcmin')?currentImg.data('srcmin'):'';var widthCurrent=parseInt(currentImg.width());var attrWidthCur=parseInt(typeof(currentImg.attr('width'))!='undefined'?currentImg.attr('width'):0);var widthMin=parseInt(srcMin.replace(/.*@min/, '').replace(/\..*/, ''));var widthMax=0;if(currentImg.parent().prop('tagName')=='PICTURE'){currentImg.data('solvesources', '1');if(currentImg.parent().children('source').length > 0){currentImg.parent().children('source').each(function(){if(/(\d+)/.test(jQuery(this).attr('sizes'))){if(parseInt(RegExp.$1) > widthMax){widthMax=parseInt(RegExp.$1);}}if(jQuery(this).attr('data-src')){var currentImgElement=jQuery(this).parent().find('img').get(0);currentImgElement.setAttribute('data-widthbefore', currentImgElement.style.width);if(currentImgElement.offsetWidth > 0){currentImgElement.style.width=String(currentImgElement.offsetWidth) + 'px';}else{currentImgElement.style.width='100%';}jQuery(this).attr('srcset', jQuery(this).data('src')).removeData('src');var xi=0;if(jQuery(this).parent().attr('data-lazywaitcompleted')!='1'){jQuery(this).parent().attr('data-lazywaitcompleted', 1);var intervalLazyWaitCompleted=window.setInterval(function(){if(currentImgElement.complete||xi > 200){currentImgElement.style.width=currentImgElement.getAttribute('data-widthbefore');currentImgElement.removeAttribute('data-widthbefore');jQuery(this).parent().removeAttr('data-lazywaitcompleted');currentImg.removeClass('wglLazyLoadInit');
34if(typeof(wDoNotAdjustHeightMaxAfterLazyLoad)=='undefined'||!wDoNotAdjustHeightMaxAfterLazyLoad){wProcessWglAdjustHeightMax();}if(typeof(wOnAfterLazyLoading)==='function'){wOnAfterLazyLoading(currentImg);}window.clearInterval(intervalLazyWaitCompleted);}xi++;}, 100);}else{currentImgElement.style.width=currentImgElement.getAttribute('data-widthbefore');currentImgElement.removeAttribute('data-widthbefore');}}if(jQuery(this).attr('media')){jQuery(this).attr('media', jQuery(this).attr('media').replace(/(\:\s*)999?9?\./, '$1'));}});}}var ie11=navigator.appVersion.match(/MSIE (\d+\..)/)||navigator.userAgent.match(/Trident\/7/);if(devicePixelRatio >=hdLimitDpr&&typeof(currentImg.attr('data-src2x'))!='undefined'&&currentImg.attr('data-src2x')!=''&&attrWidthCur < widthCurrent * 2&&currentImg.attr('data-ishd')!='1'){currentImg.attr('src', currentImg.data('src2x')).attr('data-ishd', '1');}else if(typeof(currentImg.attr('data-srcmin'))!='undefined'&&currentImg.attr('data-srcmin')!=''&&widthCurrent < widthMin&&widthMin < attrWidthCur&&currentImg.attr('data-ismin')!='1'&&currentImg.attr('data-ishd')!='1'&&currentImg.attr('data-isld')!='1'){currentImg.attr('src', currentImg.data('srcmin')).attr('data-ismin', '1');}else if(typeof(currentImg.attr('data-src'))!='undefined'&&currentImg.attr('data-src')!=''&&currentImg.attr('data-ishd')!='1'&&currentImg.attr('data-isld')!='1'){if(currentImg.data('src').indexOf('@px')!=-1){try{if(currentImg.get(0).getBoundingClientRect()['width']-widthCurrent==-0.5){currentImg.get(0).style.width='calc(100% + 0.5px)';currentImg.get(0).style.maxWidth='calc(100% + 0.5px)';}}catch(e){console.log(e)}currentImg.attr('src', currentImg.data('src').replace('@px', '@' + (devicePixelRatio >=hdLimitDpr?widthCurrent * 2:widthCurrent) + 'px'));}else if(currentImg.data('src').indexOf('@ll')!=-1){try{if(currentImg.get(0).getBoundingClientRect()['width']-widthCurrent==-0.5){currentImg.get(0).style.width='calc(100% + 0.5px)';currentImg.get(0).style.maxWidth='calc(100% + 0.5px)';}}catch(e){console.log(e)}if(ie11){widthMax=widthMax > 0?widthMax:(widthCurrent > 1?widthCurrent:1024);currentImg.attr('src', currentImg.data('src').replace('@ll', '@' + (devicePixelRatio >=hdLimitDpr?widthMax * 2:widthMax) + 'll'));}else{currentImg.attr('src', currentImg.data('src').replace('@ll', '@' + (devicePixelRatio >=hdLimitDpr?widthCurrent * 2:widthCurrent) + 'll'));}}else{currentImg.attr('src', currentImg.data('src'));}currentImg.attr('data-isld', '1');}if(jQuery(this).parent().attr('data-lazywaitcompleted')!='1'){currentImg.removeClass('wglLazyLoadInit');
34if(typeof(wDoNotAdjustHeightMaxAfterLazyLoad)=='undefined'||!wDoNotAdjustHeightMaxAfterLazyLoad){wProcessWglAdjustHeightMax();}if(typeof(wOnAfterLazyLoading)==='function'){wOnAfterLazyLoading(currentImg);}}};wShowLazyLoadIframe=function(el){el.get(0).contentWindow.location.href=el.attr('data-src');};wKeepInsideTopOnScroll=function(){jQuery('.wglKeepInsideTopOnScroll').each(function(index){var cE=jQuery(this);var elementMovedNodeName=cE.attr('data-nodename')?cE.attr('data-nodename'):cE.prop('nodeName');var elementMoved=null;var offsetTop=parseInt(cE.offset().top);var scrollTopDiff=wGetScrollTopDiff({'considerWglContainerInsideTopOnScroll':false});var diffTop=offsetTop-wUiTmp['lastScrollTop']-scrollTopDiff;var moveID='';var container=cE.data('container');window.clearInterval(wUiTmp['scrollStack']);if(container=='parent'){if(diffTop < 0){var hasInit=false;if(cE.attr('data-hasmoved')!='1'){cE.css({'transition':'none'});cE.css({'transform':'translateY(0)'});cE.attr('data-offsettopinit', offsetTop);cE.attr('data-scrolltopinit', wUiTmp['lastScrollTop']);cE.attr('data-movemax', cE.parent().height()-cE.outerHeight());cE.attr('data-hasmoved', '1');hasInit=true;}offsetTop=cE.attr('data-offsettopinit');diffTop=offsetTop-wUiTmp['lastScrollTop']-scrollTopDiff;diffTop=-diffTop > cE.attr('data-movemax')?-cE.attr('data-movemax'):diffTop;if(hasInit){cE.attr('data-movetopinit',-diffTop);}cE.css({'transform':'translateY(' + String(-diffTop) + 'px)'});if(hasInit){cE.css({'transition':''});}}else if(cE.attr('data-hasmoved')=='1'){if(wUiTmp['lastScrollTop'] < cE.attr('data-scrolltopinit')-cE.attr('data-movetopinit')){cE.attr('data-offsettopinit', '');cE.attr('data-hasmoved', '');cE.css({'transform':'translateY(0)'});}else {offsetTop=cE.data('offsettopinit');diffTop=offsetTop-wUiTmp['lastScrollTop']-scrollTopDiff;diffTop=-diffTop > cE.attr('data-movemax')?-cE.attr('data-movemax'):diffTop;cE.css({'transform':'translateY(' + String(-diffTop) + 'px)'});}}}else{if(diffTop < 0&&(elementMovedNodeName!='THEAD'||diffTop > (-cE.parent().outerHeight()))){if(cE.attr('data-hasmoved')!='1'){var thStyles={};var widthTable=0;var widthElementTable=0;if(cE.prop("nodeName")=='THEAD'){var elementSource=cE.parent();if(elementSource){var firstTh=elementSource.find('thead th').get(0);if(firstTh){var computedStysle=window.getComputedStyle(firstTh);thStyles['color']=computedStysle['color'];thStyles['background-color']=computedStysle['background-color'];thStyles['padding-top']=computedStysle['padding-top'];thStyles['padding-right']=computedStysle['padding-right'];thStyles['padding-bottom']=computedStysle['padding-bottom'];thStyles['padding-left']=computedStysle['padding-left'];thStyles['font-weight']=computedStysle['font-weight'];thStyles['text-align']=computedStysle['text-align'];}elementSource.parent().scroll(function(){cE.parent().scrollLeft(jQuery(this).scrollLeft());});widthTable=elementSource.outerWidth();widthElementTable=elementSource.parent().width();elementSource.css({'width':String(widthTable) + 'px'});elementSource.find('tbody > tr:first-child > td').each(function(index){jQuery(this).css({'width':String(jQuery(this).outerWidth()) + 'px'});});}}if(!jQuery('.wglContainerInsideTopOnScroll').length){jQuery('body').prepend('<div class="wglContainerInsideTopOnScroll"></div>');}cE.attr('data-hasmoved', '1');moveID=String(parseInt(Math.random() * 1000000));if(typeof(cE.attr('data-moveidsource'))=='undefined'){cE.attr('data-moveidsource', moveID);}else{moveID=cE.attr('data-moveidsource');}cE.before('<div id="moveidsource-' + moveID + '" class="wglKeepInsideTopOnScroll" data-nodename="' + cE.prop("nodeName") + '" data-hasmoved="1" data-moveidsource="' + moveID + '"></div>');cE.removeAttr('data-moveidsource').attr('data-moveidtarget', moveID).attr('data-moveidtarget', moveID).appendTo('.wglContainerInsideTopOnScroll').addClass('moved-init').removeClass('wglKeepInsideTopOnScroll').removeClass('restored-init').removeClass('restored-ready');window.setTimeout(function(){cE.removeClass('moved-init').addClass('moved-ready');}, 10);height=cE.height();jQuery('#' + 'moveidsource-' + moveID).css('height', String(height) + 'px');if(cE.prop("nodeName")=='THEAD'){var elementSource=jQuery('#' + 'moveidsource-' + moveID).parent();var offsetSource=elementSource.parent().offset();if(offsetSource){cE.css({'display':'block', 'width':String(widthTable) + 'px'});cE.parent().css({'overflow-x':'auto', 'left':String(offsetSource.left) + 'px', 'width':String(widthElementTable) + 'px'});elementSource.find('tbody > tr:first-child > td').each(function(index){cE.find('th:nth-child(' + (index + 1) + ')').css(thStyles);cE.find('th:nth-child(' + (index + 1) + ')').css({'width':String(j
34Query(this).outerWidth()) + 'px'});});elementSource.parent().trigger('scroll');}}}else{height=jQuery(".wglContainerInsideTopOnScroll *[data-moveidtarget='" + cE.attr('data-moveidsource') + "']").height();cE.css('height', String(height) + 'px');}jQuery('.wglContainerInsideTopOnScroll').css({'top':String(scrollTopDiff) + 'px'});}else if(jQuery('html').hasClass('object-fullpage')&&cE.attr('data-hasmoved')=='1'){}else if(cE.attr('data-hasmoved')=='1'){moveID=cE.attr('data-moveidsource');elementMoved=jQuery(".wglContainerInsideTopOnScroll *[data-moveidtarget='" + moveID + "']");if(elementMoved.prop("nodeName")=='THEAD'){elementMoved.css({'display':'', 'width':''});}cE.before(elementMoved.addClass('wglKeepInsideTopOnScroll').removeClass('moved-init').removeClass('moved-ready').addClass('restored-init').removeAttr('data-hasmoved'));window.setTimeout(function(){if(cE.html()==''){cE.remove();}elementMoved.removeClass('restored-init').addClass('restored-ready');}, 10);}}var currentTime=new Date().getTime();if(currentTime-(wUiTmp['lastScrollTime']) > 1000){window.clearInterval(wUiTmp['scrollStack']);}else{wUiTmp['scrollStack']=window.setTimeout(function(){wKeepInsideTopOnScroll();}, 10);}});if(typeof(wOnAfterKeepInsideTopOnScroll)=='function'){wOnAfterKeepInsideTopOnScroll();}};wSortTableRows=function(table, col, direction){var tb=table.find('tbody'), c=col-1||0, d=direction||'', rs=tb.children(), rl=rs.length;if(d==''&&event&&event.target){var th=event.target.nodeName=='SPAN'?event.target.parentNode.parentNode:(event.target.nodeName=='DIV'?event.target.parentNode:event.target);d=jQuery(th).attr('data-sort-status')=='asc'?'desc':'asc';jQuery(th).parent().find('th').attr('data-sort-status', 'init');jQuery(th).attr('data-sort-status', d);}var factors={'KB':1024, 'MB':1024 * 1024, 'GB':1024 * 1024 * 1024, 'TB':1024 * 1024 * 1024 * 1024};if(!table.attr('data-rowspreparedforsort')||table.attr('data-rowspreparedforsort').indexOf('|' + col + '|')==-1){for(var i=0; i < rl; i++){var cell=jQuery(rs[i]).children('td').get(c);var vn=cell.innerText
35if(/^\s*(\d+(?:[\.,\d]*))\s*(KB|MB|GB|TB)\s*$/i.test(vn)){vn=String(factors[RegExp.$2.toUpperCase()] * RegExp.$1.replace(',','.'));}vn=vn.replace('m²', '');vn=vn.replace(/^[^\d]+\s+(\d+)/, '$1');vn=vn.replace(/(\d+)\,(\d+)/, '$1.$2');jQuery(rs[i]).children('td').get(c).setAttribute('data-sv', String(vn).trim());}table.attr('data-rowspreparedforsort', (table.attr('data-rowspreparedforsort')?table.attr('data-rowspreparedforsort'):'|') + col + '|');}while(rl > 1){for(var i=0; i < rl-1; i++){var vc=jQuery(rs[i]).children('td').get(c).getAttribute('data-sv');var vn=jQuery(rs[i+1]).children('td').get(c).getAttribute('data-sv');vc=/^\d+([\,\.]*\d+)?$/.test(vc)?parseFloat(vc):vc;vn=/^\d+([\,\.]*\d+)?$/.test(vn)?parseFloat(vn):vn;if(d=='asc'&&vc > vn||d=='desc'&&vc < vn){jQuery(rs[i]).before(jQuery(rs[i+1]));rs=tb.children();}}rl-=1;}};wglValidateFormInline=function(form){jQuery(form).find('input, textarea, select').each(function(){if(jQuery(this).attr('data-validators')&&jQuery(this).attr('data-validators')!=''){wglValidateElementInline(jQuery(this), {});}});};wglValidateElementInline=function(currentInputElement, options){var currentInput=jQuery(currentInputElement);var currentForm=currentInput.closest('form');var async=typeof options['async']!='undefined'?options['async']:true;var formPos=currentForm.attr('data-formpos');var formAction=currentForm.attr('action');var elementName=currentInput.attr('name');elementName=elementName.replace('[]', '');var elementValue=currentInput.val();if(currentInput.attr('type')=='checkbox'){elementValue='';currentInput.parent().parent().find('input').each(function(){elementValue +=(jQuery(this).get(0).checked?jQuery(this).val():'');});}else if(currentInput.attr('type')=='radio'){elementValue='';currentInput.parent().parent().find('input').each(function(){elementValue +=(jQuery(this).get(0).checked?jQuery(this).val():'');});}else if(currentInput.prop("tagName")=='SELECT'&&currentInput.attr('multiple')=='multiple'){elementValue='';currentInput.children().each(function(){elementValue +=(jQuery(this).get(0).selected?jQuery(this).val():'');});}if(elementValue==null){elementValue='';}
35if(typeof(wTrimInputsBeforeValidateOnBlur)!='undefined'&&wTrimInputsBeforeValidateOnBlur&&event&&event.type=='blur'){if(currentInput.prop("nodeName")=='TEXTAREA'||currentInput.attr("type")=='text'){currentInput.val(currentInput.val().trim());elementValue=currentInput.val();}}wFnValidationResultSilent=function(result){return wFnValidationResult(result, true)
36};wFnValidationResult=function(result, silent){silent=silent===true;elementsWithValidationClass=currentInput;elementsWithValidationAttr=currentInput;var validationID=formPos + (elementsWithValidationClass.attr('id')?elementsWithValidationClass.attr('id'):'');if(currentInput.attr('type')=='checkbox'||currentInput.attr('type')=='radio'){validationID=formPos + (elementsWithValidationClass.attr('name').replace('[]', '')?elementsWithValidationClass.attr('name').replace('[]', ''):'');elementsWithValidationClass=elementsWithValidationClass.parent().parent().children();elementsWithValidationAttr=elementsWithValidationClass.parent().parent().find('input[type="' + currentInput.attr('type') + '"]');}if(currentInput.attr('type')=='hidden'&&currentInput.attr('class')!=null&&currentInput.attr('class').indexOf('elementInputUpload')===-1){validationID=formPos + (elementsWithValidationClass.attr('name').replace('[]', '')?elementsWithValidationClass.attr('name').replace('[]', ''):'');elementsWithValidationClass=elementsWithValidationClass.parent().parent()
37elementsWithValidationAttr=elementsWithValidationClass.parent().parent();}var elementToAddError=elementsWithValidationClass.parent();if(elementToAddError.get(0).nodeName==='FIELDSET'){elementToAddError=elementToAddError.find('legend');}else if(elementsWithValidationClass.parent().prev('dt').length!=0){elementToAddError=elementsWithValidationClass.parent().prev('dt');}else if(elementsWithValidationClass.parent().prev('div').length!=0){elementToAddError=elementsWithValidationClass.parent().prev('div');}var elementToAddOK=elementsWithValidationClass.parent();if(elementsWithValidationClass.closest('*[data-addvalidationstatusok="1"]', elementsWithValidationClass.closest('.formElement')).length!=0){elementToAddOK=elementsWithValidationClass.closest('*[data-addvalidationstatusok="1"]', elementsWithValidationClass.closest('.formElement'));}else if(elementsWithValidationClass.attr('name')&&elementsWithValidationClass.closest('form').find('label[for="' + elementsWithValidationClass.attr('name').replace('[]', '') + '"]').length!=0){elementToAddOK=elementsWithValidationClass.closest('form').find('label[for="' + elementsWithValidationClass.attr('name').replace('[]', '') + '"]');}else if(elementToAddOK.get(0).nodeName==='FIELDSET'){elementToAddOK=elementToAddOK.find('legend');}else if(elementsWithValidationClass.parent().prev('dt').length!=0&&elementsWithValidationClass.parent().prev('dt').find('label')){elementToAddOK=elementsWithValidationClass.parent().prev('dt').find('label');}else if(elementsWithValidationClass.parent().prev('div').length!=0&&elementsWithValidationClass.parent().prev('div').find('label')){elementToAddOK=elementsWithValidationClass.parent().prev('div').find('label');}if(!currentInput.attr('data-validators')&&currentInput.attr('data-force-validation')!='1'){}else
38if(result['isValid']==false){elementsWithValidationAttr.attr('data-isinvalid', '1');if(silent){elementsWithValidationClass.removeClass('wglIsValid');jQuery('#validationStatus_' + validationID).remove();jQuery('#errorMessage_' + validationID).remove();if(elementToAddError.find('.wglErrorMessageInline').length==0){elementToAddError.removeClass('wglContainsErrorMessageInline');elementToAddError.find('.wglErrorMessageInline').remove();if(currentInput.attr('aria-describedby')=='errorMessage_' + validationID){currentInput.removeAttr('aria-describedby');}}}else{elementsWithValidationClass.addClass('wglIsInvalid');elementsWithValidationClass.removeClass('wglIsValid');jQuery('#validationStatus_' + validationID).remove();if(result['errorMessage']!=''){if(jQuery('#errorMessage_' + validationID).length==0){elementToAddError.addClass('wglContainsErrorMessageInline').append('<div class="wglErrorMessageInline" id="errorMessage_' + validationID + '" role="alert"><div>' + result['errorMessage'].replace(/\|.*/, '') + '</div></div>');currentInput.attr('aria-describedby', 'errorMessage_' + validationID);if(elementToAddError.addClass('wglContainsErrorMessageInline').find('label').length==2){if(currentInput.attr('id')==elementToAddError.addClass('wglContainsErrorMessageInline').find('label').attr('for')){jQuery('#errorMessage_' + validationID).css({'right':String(Math.round(elementToAddError.addClass('wglContainsErrorMessageInline').width()-elementToAddError.addClass('wglContainsErrorMessageInline').find('label').width())) + 'px'});}}
38(function(validationID){window.setTimeout(function(){jQuery('#errorMessage_' + validationID).addClass("loaded");}, 32);})(validationID);}}}}else if(result['isValid']==true){elementsWithValidationAttr.removeAttr('data-isinvalid');if(silent){elementsWithValidationClass.removeClass('wglIsInvalid');jQuery('#errorMessage_' + validationID).remove();if(elementToAddError.find('.wglErrorMessageInline').length==0){elementToAddError.removeClass('wglContainsErrorMessageInline');elementToAddError.find('.wglErrorMessageInline').remove();if(currentInput.attr('aria-describedby')=='errorMessage_' + validationID){currentInput.removeAttr('aria-describedby');}}}else{elementsWithValidationClass.removeClass('wglIsInvalid');elementsWithValidationClass.addClass('wglIsValid');jQuery('#errorMessage_' + validationID).remove();if(elementToAddError.find('.wglErrorMessageInline').length==0){elementToAddError.removeClass('wglContainsErrorMessageInline');elementToAddError.find('.wglErrorMessageInline').remove();if(currentInput.attr('aria-describedby')=='errorMessage_' + validationID){currentInput.removeAttr('aria-describedby');}}if(jQuery('#validationStatus_' + validationID).length==0){elementToAddOK.addClass('wglContainsValidationStatusInline').append('<div class="wglValidationStatusOK" id="validationStatus_' + validationID + '"><div></div></div>');(function(validationID){window.setTimeout(function(){jQuery('#validationStatus_' + validationID).addClass("loaded");}, 32);})(validationID);}}}wglUpdateValidationCurrentForm(currentInput);};var silent=typeof(options['userinfo'])!=='undefined'&&!options['userinfo']?true:false;vlr=wGetValidationInfoInput(currentInput);wFnValidationResult(vlr, silent);};wglUpdateValidationCurrentForm=function(input){currentForm=jQuery(input).closest('form');currentForm.attr('data-hasvalidated', '1');currentForm.attr('data-hasinputsinvalid', '0');currentForm.find('*[data-isinvalid="1"]').each(function(){if(jQuery(this).closest('.wglHideConditionalFormdata').length==0){currentForm.attr('data-hasinputsinvalid', '1');}});};wGetValidationInfoInput=function(currentInput){var elementName=currentInput.attr('name');elementName=elementName.replace('[]', '');var elementValue=currentInput.val();if(currentInput.attr('type')=='checkbox'){elementValue='';currentInput.parent().parent().find('input').each(function(){elementValue +=(jQuery(this).get(0).checked?jQuery(this).val():'');});}else if(currentInput.attr('type')=='radio'){elementValue='';currentInput.parent().parent().find('input').each(function(){elementValue +=(jQuery(this).get(0).checked?jQuery(this).val():'');});}else if(currentInput.prop("tagName")=='SELECT'&&currentInput.attr('multiple')=='multiple'){elementValue='';currentInput.children().each(function(){elementValue +=(jQuery(this).get(0).selected?jQuery(this).val():'');});}if(elementValue==null){elementValue='';}var vtv=elementValue;var vln=jQuery(currentInput).attr('data-validators')?jQuery(currentInput).attr('data-validators'):'';vln=vln.replace(/\\'/g, 'wBkslhApos');if(/^(!)?preg(i)?(u)?Match(OrEmpty)?\('([^']+)'\)/.test(vln)){vln=RegExp.$1 + 'preg' + RegExp.$2 + RegExp.$3 + 'Match' + RegExp.$4 + '(\'' + RegExp.$5.replace(/\|/g, 'wPipe') + '\')';}var vls=vln.split('|');var vlr={'isValid':true};var vlv='', regExpVal=null;for(var j=0; j < vls.length; j ++){vlv=vls[j];if(vlv=='required'&&vtv==''){vlr={'isValid':false};}else if(vlv=='captcha'&&vtv==''){vlr={'isValid':false};}else if(vlv=='email'&&!/^([a-zA-Z0-9\.\-_]+@([a-zA-Z0-9öäuÖÄÜ][a-zA-Z0-9öäuÖÄÜ\.-]*|[a-zA-Z0-9öäuÖÄÜ])\.\w\w+)$/.test(vtv)||vlv=='emailOrEmpty'&&vtv!=''&&!/^([a-zA-Z0-9\.\-_]+@[a-zA-Z0-9öäuÖÄÜ][a-zA-Z0-9öäuÖÄÜ\.-]*[a-zA-Z0-9öäuÖÄÜ]\.\w\w+)$/.test(vtv)){vlr={'isValid':false};}else if(vlv=='file'&&vtv==''){vlr={'isValid':false};}else if(/isEqualInput\((\w+)\)/.test(vlv)){var ntc=RegExp.$1;if(vtv!=jQuery('#' + ntc).val()){vlr={'isValid':false};}}else if(/maxlength\((\d+)\)/.test(vlv)&&vtv.length > parseInt(RegExp.$1)){vlr={'isValid':false};}else if(/maxvalue\((\d+)\)/.test(vlv)&&vtv > parseInt(RegExp.$1)){vlr={'isValid':false};}else if(/^(!)?preg(i)?(u)?Match(OrEmpty)?\('([^']+)'\)/.test(vlv)){var regExpExt=RegExp.$2 + RegExp.$3;if(RegExp.$4=='OrEmpty'&&vtv==''){}else{var isNeg=RegExp.$1=='!';var regExpPattern=RegExp.$5.replace(/wBkslhApos/g, '\'').replace(/wPipe/g, '|');regExpVal=new RegExp(regExpPattern, regExpExt);if(isNeg&&regExpVal.test(vtv)||!isNeg&&!regExpVal.test(vtv)){vlr={'isValid':false};}}}else if(/password\w?/.test(vlv)){var password=vtv;var rules=currentInput.data('passwordpolicy');var rulesLocal=rules;var rulesOk=true;if(/^(\d+)\,?/.test(rules)){lengthMin=RegExp.$1;if(password.length < lengthMin){rulesOk=false;}}
38if(/^\d+\,([\w\W]+)/.test(rules)){rulesLocal=RegExp.$1;}if(/a/.test(rulesLocal)){if(!/[a-z]/.test(password)){rulesOk=false;}}if(/A/.test(rulesLocal)){if(!/[A-ZÄÖÜ]/.test(password)){rulesOk=false;}}if(/1/.test(rulesLocal)){if(!/[0-9]/.test(password)){rulesOk=false;}}if(/\\$/.test(rulesLocal)){if(!/\W/.test(password)){rulesOk=false;}}if(!rulesOk){vlr={'isValid':false};}}if(!vlr['isValid']){vlr['errorMessage']=jQuery(currentInput).attr('data-errormessages');j=vls.length;}}return vlr;};wPrepareHTML=function(root){if(!root){root=jQuery('body');}jQuery(root).find('.wglLightbox').wLightbox();wAjaxUrl(root);wFormElement(root);wLazyLoading();if(observeVisible){jQuery('[data-doifbecomevisible]').each(function(index){observeVisible.observe(jQuery(this).get(0));});jQuery('.wglAnimateIfVisible').each(function(index){observeVisible.observe(jQuery(this).get(0));});}if(observeVisibleOnce){jQuery('[data-doifbecomevisibleonce]').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});jQuery('.wglAnimateIfVisibleOnce').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});jQuery('img.wglLazyLoadInit').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});jQuery('iframe.wglLazyLoadInit').each(function(index){observeVisibleOnce.observe(jQuery(this).get(0));});}};wAjaxUrl=function(root){var i, j, k;if(!root){root=jQuery('body');}jQuery(root).find("a[data-ajaxurl]").each(function(){var cE=jQuery(this);var ajaxURL=cE.data('ajaxurl');var ajaxAddMode=cE.data('ajaxaddmode');var ajaxTarget=cE.data('ajaxtarget');var ajaxCallback=cE.data('ajaxcallback');cE.on('click', function (event){jQuery('html').addClass('adaptLoading');var elementTarget=cE.parent().parent();if(elementTarget.hasClass('elementList')){elementTarget.addClass('adaptLoading');elementTarget.find('.listDefault').addClass('adaptLoading');}if(typeof(wOnBeforeReloadElementByAjaxUrl)==='function'){wOnBeforeReloadElementByAjaxUrl(elementTarget);}jQuery.ajax({type:"GET", url:ajaxURL, async:true, success:function(result){jQuery('html').removeClass('adaptLoading');if(elementTarget.hasClass('elementList')){elementTarget.removeClass('adaptLoading');elementTarget.find('.listDefault').removeClass('adaptLoading');}if(ajaxTarget&&/^\.\.\/\.\.\/$/.test(ajaxTarget)){elementTarget=cE.parent().parent();}if(ajaxTarget&&/^\.\.\/$/.test(ajaxTarget)){elementTarget=cE.parent().find(RegExp.$1);}if(ajaxTarget&&/^\.\.\/(\w+)/.test(ajaxTarget)){elementTarget=cE.parent().find(RegExp.$1);}if(ajaxTarget&&/^\.\.\/\.\.\/(\w+)/.test(ajaxTarget)){elementTarget=cE.parent().parent().find(RegExp.$1);}if(typeof(window[ajaxCallback])==='function'){window[ajaxCallback](elementTarget, result);return;}elementTarget.fadeTo(0, 0);if(ajaxAddMode=='append'){elementTarget.html(elementTarget.html() + result);}else{elementTarget.html(result);}history.pushState({page:cE.attr('href')}, '', cE.attr('href'));wPrepareHTML(elementTarget.get(0));elementTarget.fadeTo(600, 1);if(cE.attr('data-preventscrolltotarget')!='1'){wScrollSmoothToElement(elementTarget.get(0), {'targetPos':'top'});}for(var addClassSelector in wCssClassesToAddGlobal){jQuery(addClassSelector).each(function(index){var classesToAdd=wCssClassesToAddGlobal[addClassSelector];for(var i=0, arrayLength=classesToAdd.length; i < arrayLength; i++){var classData=classesToAdd[i].split('=');if(classData.length==2){var selector=jQuery.trim(classData[0]);if(selector=='.'){jQuery(this).addClass(jQuery.trim(classData[1]));}else if(selector=='parent'){jQuery(this).parent().addClass(jQuery.trim(classData[1]));}else{jQuery(this).find(selector).addClass(jQuery.trim(classData[1]));}}else{jQuery(this).addClass(jQuery.trim(classData[0]));}}});}if(typeof(wOnAfterReloadElementByAjaxUrl)==='function'){wOnAfterReloadElementByAjaxUrl(elementTarget);}window.setTimeout(function(){jQuery(window).trigger('resize');}, 100);window.setTimeout(function(){jQuery(window).trigger('resize');}, 500);window.setTimeout(function(){jQuery(window).trigger('resize');}, 1000);}});return false;});});};wFormElement=function(root){if(!root){root=jQuery('body');}jQuery(root).find('.formElementInput input, .formElementInput select, .formElementInput textarea').each(function(){if((!jQuery(this).attr('name')||jQuery(this).attr('name').indexOf('wFormToken')==-1)){if(jQuery(this).prop('tagName')=='SELECT'&&!jQuery(this).attr('multiple')&&jQuery(this).val()==''||jQuery(this).prop('tagName')!='SELECT'&&jQuery(this).val()==''&&jQuery(this).text()==''){jQuery(this).closest('.formElementInput').addClass('empty');}else{jQuery(this).closest('.formElementInput').removeClass('empty');}if(jQuery(this).hasClass('wglInputTimeAfterDate')&&(jQuery(this).val()!=''||jQuery(this).closest('.formElementInput').find('input.wglDatepicker').val()!='')){jQuery(this).closest('.formElementInput').removeClass('empty');}}});jQuery(root).find('.formElementInput input, .formElementInput select, .formElementInput textarea').on('change', function(){if(jQuery(this).prop('tagName')=='SELECT'&&!jQuery(this).attr('multiple')&&jQuery(this).val()==''||jQuery(this).prop('tagName')!='SELECT'&&jQuery(this).val()==''&&jQuery(this).text()==''){jQuery(this).closest('.formElementInput').addClass('empty');}else{jQuery(this).closest('.formElementInput').removeClass('empty');}});jQuery(root).find('.formElementInput input, .formElementInput textarea').on('focus', function(){jQuery(this).closest('.formElementInput').addClass('focus');});jQuery(root).find('.formElementInput input, .formElementInput textarea').on('blur', function(){jQuery(this).closest('.formElementInput').removeClass('focus');});};jQuery.extend(jQuery.easing, {wEaseOut:function(x, t, b, c, d){return b-c * (t /=d) * (t-2);},wEaseOutExpo:function(x, t, b, c, d){return (t==d)?b + c:b + c * (-Math.pow(2,-10 * t / d) + 1);},wEaseIn:function(x, t, b, c, d){return b + c * (t /=d) * t;}});jQuery.fn.wAddAnalytics=function(viewmode){jQuery.each(jQuery(this), function(){jQuery(this).click(function(){ga('send', {'hitType':'pageview', 'page':j
38Query(this).attr('href'), 'title':jQuery(this).attr('title')})});});};jQuery.fn.wSetViewmode=function(viewmode){jQuery.each(jQuery(this), function(){var hrefNew=this.getAttribute('href')||'';var anchor='';if(/#[^#]+$/.test(hrefNew)){anchor=hrefNew.replace(/.*#/, '');hrefNew=hrefNew.replace(/#.*/, '');}hrefNew=hrefNew.indexOf('?')!=-1?hrefNew + '&viewmode=' + viewmode:hrefNew + '?viewmode=' + viewmode;if(anchor!=''){hrefNew +='#' + anchor;}if(this.className.indexOf('boxOnly')==-1&&this.innerHTML.indexOf('<img ')!=-1){this.style.background='none';this.style.paddingLeft='none';}this.setAttribute('href', hrefNew);});};wOpenPrintPreview=function(width, height, name){var name=name||'printpreview';var url=location.href.indexOf('?')==-1?location.href.replace(/#.*/, '') + '?viewmode=print':location.href.replace(/#.*/, '') + '&viewmode=print';options=',location=no,menubar=no,toolbar=no,resizable=yes,scrollbars=yes,status=no';wOpenPopupURL(url, width, height, name, options);};wOpenURL=function(url, target, element){target=typeof(target)!='undefined'&&target?target:(jQuery('html.isInLightbox').length==1?'_top':'');if(location.pathname.indexOf('/weblication/grid5/')!=0){if(typeof event!='undefined'&&jQuery(event.target).closest('ul.listDefault').length > 0){wSetScrollPosLeftList(event.target);}if(/Android/i.test(navigator.userAgent)){var cE=jQuery(element);var hrefCurrent=cE.attr('href')?cE.attr('href'):url;if(/\.pdf$/.test(url)&&!/accessDocument\.php/.test(url)&&!/^https?\:\/\//.test(url)){if(cE.attr('data-pathPrepend')){hrefCurrent=cE.attr('data-pathPrepend') + hrefCurrent;}url=wUiTmp['wGlobalProjectPath'] + '/wGlobal/scripts/accessDocument.php?forceDownload=' + (cE.hasClass('download')?'1':'0') + '&document=' + encodeURIComponent(hrefCurrent);}}if(target=='_blank'){var windowOpen=window.open(url);if(!/^\/\w+/.test(url)){windowOpen.opener=null;windowOpen.location=url;}}else if(target=='_top'){top.location.href=url;}else if(target.indexOf('embedListEntrySelf')!==-1){var options={};var i=8;while(element.nodeName!='LI'&&i--> 0){element=element.parentNode;}if(element.nodeName=='LI'){options['embedRoot']=element.getAttribute('data-embedroot')?element.getAttribute('data-embedroot'):(element.parentNode.getAttribute('data-embedroot')?element.parentNode.getAttribute('data-embedroot'):'');options['embedClass']=element.getAttribute('data-embedclass')?element.getAttribute('data-embedclass'):(element.parentNode.getAttribute('data-embedclass')?element.parentNode.getAttribute('data-embedclass'):'');options['embedClassAdditional']=element.getAttribute('data-embedclassadditional')?element.getAttribute('data-embedclassadditional'):(element.parentNode.getAttribute('data-embedclassadditional')?element.parentNode.getAttribute('data-embedclassadditional'):'');options['embedBefore']=element.getAttribute('data-embedbefore')?element.getAttribute('data-embedbefore'):(element.parentNode.getAttribute('data-embedbefore')?element.parentNode.getAttribute('data-embedbefore'):'');options['embedMultiple']=element.getAttribute('data-embedmultiple')?element.getAttribute('data-embedmultiple'):(element.parentNode.getAttribute('data-embedmultiple')?element.parentNode.getAttribute('data-embedmultiple'):'');
38if(element.parentNode.getAttribute('data-scrolltopoffsetifnotvisibleembed')=='listEntryHeight'){options['scrollTopOffset']=element.offsetHeight;}}wEmbedPage(url, 'listEntrySelf', element, options);}else if(target.indexOf('embedListNextRow')!==-1){var options={};var i=8;while(element.nodeName!='LI'&&i--> 0){element=element.parentNode;}if(element.nodeName=='LI'){options['embedRoot']=element.getAttribute('data-embedroot')?element.getAttribute('data-embedroot'):(element.parentNode.getAttribute('data-embedroot')?element.parentNode.getAttribute('data-embedroot'):'');options['embedClass']=element.getAttribute('data-embedclass')?element.getAttribute('data-embedclass'):(element.parentNode.getAttribute('data-embedclass')?element.parentNode.getAttribute('data-embedclass'):'');options['embedClassAdditional']=element.getAttribute('data-embedclassadditional')?element.getAttribute('data-embedclassadditional'):(element.parentNode.getAttribute('data-embedclassadditional')?element.parentNode.getAttribute('data-embedclassadditional'):'');options['embedScrollElement']=element.getAttribute('data-embedscrollelement')?element.getAttribute('data-embedscrollelement'):(element.parentNode.getAttribute('data-embedscrollelement')?element.parentNode.getAttribute('data-embedscrollelement'):'');if(element.parentNode.getAttribute('data-scrolltopoffsetifnotvisibleembed')=='listEntryHeight'){options['scrollTopOffset']=element.offsetHeight;}}wEmbedPage(url, 'listNextRow', element, options);}else if(target.indexOf('embedBody')!==-1){var options={};options['embedRoot']=element.getAttribute('data-embedroot')?element.getAttribute('data-embedroot'):(element.parentNode.getAttribute('data-embedroot')?element.parentNode.getAttribute('data-embedroot'):'');options['embedClass']=element.getAttribute('data-embedclass')?element.getAttribute('data-embedclass'):(element.parentNode.getAttribute('data-embedclass')?element.parentNode.getAttribute('data-embedclass'):'');options['embedClassAdditional']=element.getAttribute('data-embedclassadditional')?element.getAttribute('data-embedclassadditional'):(element.parentNode.getAttribute('data-embedclassadditional')?element.parentNode.getAttribute('data-embedclassadditional'):'');wEmbedPage(url, 'body', element, options);}else if(target.indexOf('box')!==-1){if(typeof(element)!='undefined'&&element.nodeType&&element.nodeType==1){wLightbox(jQuery(element), {"variant":target, "href":url});}else{wLightbox({"variant":target, "href":url});}}else if(url!==undefined){if(url.indexOf('#')==0){wScrollSmoothToElement(url);}else {location.href=url;}}}};wSetParameterAndReload=function(name, value){location.href=wSetParameter(location.href, name, value);};wSetParameter=function(url, name, value){var urlHash='';if(/(#[\w\W]*)$/.test(url)){urlHash=RegExp.$1;url=url.replace(/(#[\w\W]*)$/, '');}var paramReg=new RegExp('([\\?\\&])' + name + '=([^\\&]+)');if(paramReg.test(url)){if(value==''){url=url.replace(paramReg, RegExp.$1);url=url.replace(/([\?\&])[\?\&]+/g, '$1');url=url.replace(/[\?\&]$/g, '');}else{url=url.replace(paramReg, RegExp.$1 + name + '=' + value);}}else if(value==''){}else if(url.indexOf('?')!=-1){url +='&' + name + '=' + value;}else{url +='?' + name + '=' + value;}return url + urlHash;};wEmbedPage=function(url, target, element, options){options=options||{};options['type']=options['type']||'ajax';options['embedRoot']=options['embedRoot']||'';options['scrollTopOffset']=options['scrollTopOffset']||0;var id='wEmbededPage-' + String(parseInt(Math.random() * 100000));var elementToAppend=element;var rootSameEmbed=jQuery('body');if(target=='listEntrySelf'){if(url==wUiTmp['wEmbePageCurrentURL']){wUiTmp['wEmbePageCurrentURL']='';wEmbedPageClose();return false;}wUiTmp['wEmbePageCurrentURL']=url;rootSameEmbed=jQuery(element).closest('li').length==1?jQuery(element).closest('li'):rootSameEmbed;elementToAppend=jQuery(element).get(0);if(options['embedMulti']!='1'){rootSameEmbed.parent().find('.wEmbededPage-' + target).remove();}if(options['embedMulti']=='1'||rootSameEmbed.find('.wEmbededPage-' + target).length==0){var embedClass=options['embedClass']&&options['embedClass']!=''?' wEmbededPage-' + options['embedClass']:'';if(options['embedClassAdditional']&&options['embedClassAdditional']!=''){embedClass +=' ' + options['embedClassAdditional'];}var embedHTML='<div id="' + id + '" class="wEmbededPage wEmbededPage-' + target + ' wEmbededPage-' + options['type'] + embedClass + '" data-embedpagetarget="' + target + '" data-src="' + url + '"' + (options['embedMulti']=='1'?' data-multi="1"':'') + ' onclick="event.stopPropagation()"><div class="wEmbededPageInner"></div><div class="wEmbededPageCloser" onclick="wEmbedPageClose(event)"></div></div>';if(options['embedBefore']&&jQuery(element).find(options['embedBefore']).length!=0){jQuery(embedHTML).insertBefore(jQuery(element).find(options['embedBefore']));}else{jQuery(embedHTML).appendTo(elementToAppend);}}else{rootSameEmbed.find('.wEmbededPage-' + target).attr('id', id);}if(options['embedMulti']!='1'){jQuery(element).siblings().removeClass('listEntryHasEmbedded');}jQuery(element).addClass('listEntryHasEmbedded');}else if(target=='listNextRow'){if(url==wUiTmp['wEmbePageCurrentURL']){wUiTmp['wEmbePageCurrentURL']='';wEmbedPageClose();return false;}wUiTmp['wEmbePageCurrentURL']=url;rootSameEmbed=jQuery(element).closest('ul').length==1?jQuery(element).closest('ul'):rootSameEmbed;
38elementToAppend=jQuery(element).parent().children().last().get(0);var offsetTopCurrent=element.offsetTop;jQuery(element).nextAll().each(function(){if(jQuery(this).get(0).offsetTop > offsetTopCurrent){elementToAppend=jQuery(this).prev().get(0);return false;}});if(elementToAppend!=wUiTmp['wEmbePagecEToAppend']){rootSameEmbed.find('.wEmbededPage-' + target).remove();}if(rootSameEmbed.find('.wEmbededPage-' + target).length==0){var embedClass=options['embedClass']&&options['embedClass']!=''?' wEmbededPage-' + options['embedClass']:'';if(options['embedClassAdditional']&&options['embedClassAdditional']!=''){embedClass +=' ' + options['embedClassAdditional'];}jQuery('<li id="' + id + '" class="wEmbededPage wEmbededPage-' + target + ' wEmbededPage-' + options['type'] + embedClass + '" data-embedpagetarget="' + target + '" data-src="' + url + '"><div class="wEmbededPageInner" data-scrollelement="' + options['embedScrollElement'] + '"></div><div class="wEmbededPageCloser" onclick="event.stopPropagation();wEmbedPageClose(event);return false;"></div></li>').insertAfter(elementToAppend);}else{rootSameEmbed.find('.wEmbededPage-' + target).attr('id', id);}}else{if(url==wUiTmp['wEmbePageCurrentURL']){wUiTmp['wEmbePageCurrentURL']='';wEmbedPageClose();return false;}wUiTmp['wEmbePageCurrentURL']=url;elementToAppend=rootSameEmbed;var offsetTopCurrent=element.offsetTop;if(rootSameEmbed.find('.wEmbededPage-' + target).length==0){var embedClass=options['embedClass']&&options['embedClass']!=''?' wEmbededPage-' + options['embedClass']:'';if(options['embedClassAdditional']&&options['embedClassAdditional']!=''){embedClass +=' ' + options['embedClassAdditional'];}jQuery('<div id="' + id + '" class="wEmbededPage wEmbededPage-' + target + ' wEmbededPage-' + options['type'] + embedClass + '" data-embedpagetarget="' + target + '" data-src="' + url + '"><div class="wEmbededPageInner"></div><div class="wEmbededPageCloser" onclick="wEmbedPageClose(event)"></div></div>').appendTo(elementToAppend);}else{rootSameEmbed.find('.wEmbededPage-' + target).attr('id', id);}}rootSameEmbed.find('.wEmbededPage-' + target).addClass('loading');wUiTmp['wEmbePagecEToAppend']=elementToAppend;jQuery(element).siblings().removeClass('listEntrySelected');jQuery(element).addClass('listEntrySelected');jQuery('html').removeClass('embedpage-loaded');jQuery('html').addClass('embedpage-loading');jQuery('html').addClass('embedpage-open');jQuery('html').addClass('embedpage-' + target + '-open');jQuery.ajax({type:"GET", url:url, success:function(result){htmlToEmbed=result.replace(/^[\s\S]*<body[^>]*>/, '').replace(/<\/body[^>]*>[\s\S]*$/, '');if(typeof(wOnBeforeEmbedPage)==='function'){wOnBeforeEmbedPage(htmlToEmbed, url);}var htmlToEmbedElement=document.createElement('div');htmlToEmbedElement.innerHTML=htmlToEmbed;if(typeof(wKeepIDsInEmbededPage)=='undefined'||!wKeepIDsInEmbededPage){htmlToEmbed=htmlToEmbed.replace(/ id="([^"]*)"/g, ' id="embed_$1"');htmlToEmbed=htmlToEmbed.replace(/ id="embed_(tab|accordion|container|pictureGallery|bannerSlider|listEntries)/g, ' id="$1');}var scriptsCurrent=document.getElementsByTagName('script');var scriptsToEmbed=[];if(/<script[^>]*src="([^"]+jquery-ui\.js)/.test(result)&&!/<script[^>]*src="([^"]+jquery-ui\.js)/.test(document.documentElement.innerHTML)){scriptsToEmbed.push(RegExp.$1);}if(/<script[^>]*src="([^"]+\.date\.js)/.test(result)&&!/<script[^>]*src="([^"]+\.date\.js)/.test(document.documentElement.innerHTML)){scriptsToEmbed.push(RegExp.$1);}if(/<script[^>]*src="([^"]+\/pictureGallery\.js)/.test(result)&&!/<script[^>]*src="([^"]+\/pictureGallery\.js)/.test(document.documentElement.innerHTML)){scriptsToEmbed.push(RegExp.$1);}if(/<script[^>]*src="([^"]+\/bannerSlider\.js)/.test(result)&&!/<script[^>]*src="([^"]+\/bannerSlider\.js)/.test(document.documentElement.innerHTML)){scriptsToEmbed.push(RegExp.$1);}htmlToEmbed=htmlToEmbed.replace(/<script[^>]+src="[^>]+>([\s\n\r\t]*<\/script>)?/g, '');htmlToEmbed=htmlToEmbed.replace('<div id="cookieNotice"', '<div style="display:none"');htmlToEmbed=htmlToEmbed.replace('<div id="dntNotice"', '<div style="display:none"');for(var i=0; i < scriptsToEmbed.length; i++){var scriptElement=document.createElement('script');scriptElement.setAttribute('type', 'text/javascript');scriptElement.setAttribute('src', scriptsToEmbed[i]);scriptElement.setAttribute('data-hasloadtoembed', '1');if(typeof(callbackOnLoad)==='function'){scriptElement.wAddEvent('load', callbackOnLoad);}document.body.appendChild(scriptElement);}if(options['embedRoot']&&options['embedRoot']!=''){if(typeof(wKeepIDsInEmbededPage)=='undefined'||!wKeepIDsInEmbededPage){options['embedRoot']=options['embedRoot'].replace('#', '#embed_');}var tmpFragment=document.createElement('DIV');tmpFragment.innerHTML=htmlToEmbed;var resultNode=tmpFragment.querySelector(options['embedRoot']);if(resultNode){htmlToEmbed=resultNode.innerHTML;}}var tmp='';var jsStr='';var strArray=htmlToEmbed.split(/<script[^>]*>
38/);tmp +=strArray[0];for(var i=1; i < strArray.length; i++){strArray[i]=strArray[i].replace(/^([\s\S]*)<\/script[^>]*>/m, '');jsStr +=RegExp.$1.replace(/;?[\n\r\t\s]*$/, ';').replace(/;+$/, ';');tmp +=strArray[i];}htmlToEmbed=tmp;jQuery('#' + id).find('.wEmbededPageInner').html(htmlToEmbed);for(var addClassSelector in wCssClassesToAddGlobal){jQuery('#' + id).find(addClassSelector).each(function(index){var classesToAdd=wCssClassesToAddGlobal[addClassSelector];for(var i=0, arrayLength=classesToAdd.length; i < arrayLength; i++){var classData=classesToAdd[i].split('=');if(classData.length==2){var selector=jQuery.trim(classData[0]);if(selector=='.'){jQuery(this).addClass(jQuery.trim(classData[1]));}else if(selector=='parent'){jQuery(this).parent().addClass(jQuery.trim(classData[1]));}else{jQuery(this).find(selector).addClass(jQuery.trim(classData[1]));}}else{jQuery(this).addClass(jQuery.trim(classData[0]));}}});}jQuery('#' + id).find('.wEmbededPageInner .wglBannerSlider').wBannerSlider();jQuery('#' + id).find('.wEmbededPageInner .wglSmartSlider').wSmartSlider();jQuery('#' + id).find('.wEmbededPageInner .wglPictureGallery').wPictureGallery();if(typeof(wExecuteJsInEmbededPage)!='undefined'&&wExecuteJsInEmbededPage){try{eval(jsStr);}catch(e){}}jQuery('#' + id).on('scroll', function(){jQuery(window).trigger('scroll');});var [query, hash]=url.split('#');jQuery('#' + id).find('.wEmbededPageInner .wglTabcontainer').wTabcontainer({'curHashId':'#' + hash});jQuery('#' + id).find('.wEmbededPageInner .wglAccordion').wAccordion();jQuery('#' + id).find('.wEmbededPageInner .wglBannerSlider').wBannerSlider();jQuery('#' + id).find('.wEmbededPageInner .wglSmartSlider').wSmartSlider();jQuery('#' + id).find('.wEmbededPageInner .wglPictureGallery').wPictureGallery();jQuery('#' + id).find('.wEmbededPageInner .wglMagnifier').wMagnifier();jQuery('#' + id).find('.wEmbededPageInner .wglLightbox').wLightbox();jQuery('#' + id).find('.wEmbededPageInner .wglMaximizer').wMaximizer();jQuery('#' + id).find('.wEmbededPageInner .wglDatepicker').wDatepicker();jQuery('#' + id).find('.wEmbededPageInner .wglTicker').wTicker();jQuery('#' + id).find('.wEmbededPageInner .wglSearchSuggest').wSearchSuggest();jQuery('#' + id).find('.wEmbededPageInner textarea[data-autoheight="1"]').wAutoheight();jQuery('#' + id).find('.wEmbededPageInner').wOptimizePictureSizes();wAdaptConditionalFormData();wInitInlineValidation();window.setTimeout(function(){wLazyLoading();window.setTimeout(function(){wLazyLoading();}, 720);}, 160);wPrepareHTML();jQuery('html').removeClass('embedpage-loading');jQuery('html').addClass('embedpage-loaded');rootSameEmbed.find('.wEmbededPage-' + target).removeClass('loading');if(typeof(wOnAfterEmbedPage)==='function'){wOnAfterEmbedPage(rootSameEmbed.find('.wEmbededPage-' + target).get(0), url);}if(target=='listNextRow'){wScrollSmoothToElement(jQuery('#' + id).find('.wEmbededPageInner').get(0), {'targetPos':'top', 'scrollTopOffset':options['scrollTopOffset']});}if(typeof(wSimulateBreakpointsInEmbededPage)!='undefined'&&wSimulateBreakpointsInEmbededPage){window.setTimeout(function(){if(typeof(wSimulateBreakpointsIfNeccessary)!='undefined'){wSimulateBreakpointsIfNeccessary({root:jQuery('#' + id).find('.wEmbededPageInner').get(0), urlToSimulate:url});}}, 1000);}}});};wEmbedPageClose=function(event){if(typeof(event)!='undefined'){event.stopPropagation();}var rootSameEmbed=jQuery('body');if(typeof(event)!='undefined'&&jQuery(event.target).closest('li[data-embedpagetarget="listNextRow"]').length==1){rootSameEmbed=jQuery(event.target).closest('ul')
39}document.documentElement.className=document.documentElement.className.replace(/embedpage-\w+-open/, '');jQuery('html').removeClass('embedpage-open');jQuery('html').removeClass('embedpage-loaded');jQuery('script[data-hasloadtoembed="1"]').remove();if(typeof(event)!='undefined'&&jQuery(event.target).closest('.wEmbededPage').length==1&&jQuery(event.target).closest('.wEmbededPage').attr('data-multi')=='1'){var embedCurrent=jQuery(event.target).closest('.wEmbededPage');embedCurrent.closest('li.listEntryHasEmbedded').removeClass('listEntryHasEmbedded');embedCurrent.closest('li.listEntrySelected').removeClass('listEntrySelected');embedCurrent.siblings().removeClass('listEntrySelected');embedCurrent.siblings().removeClass('listEntryHasEmbedded');embedCurrent.remove();}else{rootSameEmbed.find('.wEmbededPage').closest('li.listEntryHasEmbedded').removeClass('listEntryHasEmbedded');rootSameEmbed.find('.wEmbededPage').closest('li.listEntrySelected').removeClass('listEntrySelected');rootSameEmbed.find('.wEmbededPage').siblings().removeClass('listEntrySelected');rootSameEmbed.find('.wEmbededPage').siblings().removeClass('listEntryHasEmbedded');rootSameEmbed.find('.wEmbededPage').remove();}wUiTmp['wEmbePageCurrentURL']='';if(typeof(wOnAfterCloseEmbedPage)==='function'){wOnAfterCloseEmbedPage();}};
39wOpenPopupURL=function(url, width, height, name, options){var name=name||'';if(width==''||width==' '||typeof(width)=='undefined'){width=786;}if(height==''||height==' '||typeof(height)=='undefined'){height=677;}url=url.replace(/&/g, '&');options=options||',location=no,menubar=no,toolbar=no,resizable=yes,scrollbars=yes,status=no';var width=parseInt(width);var height=parseInt(height);var posLeft=(screen.width / 2)-(width  / 2);var posTop=(screen.height / 2)-(height / 2);var windowOpen=window.open(url, name, 'top='+posTop+',left='+posLeft+',width='+width+',height='+height+',' + options);if(!/^\/\w+/.test(url)){windowOpen.opener=null;windowOpen.location=url;}};wDisableAnalytics=function(){document.cookie='disableGoogleAnalytics=1;path=/;sameSite=Lax;expires='+(new Date(new Date().getTime() + 365 * 1000 * 60 * 60 * 24).toGMTString());if(window['gaId']){window['ga-disable-' + window['gaId']]=true;}else if(typeof(gaOptout)!='undefined'){gaOptout();}};wDisableWaNextRequest=function(){document.cookie='wDisableWaNextRequest=1;path=/;sameSite=Lax';};wSendMailNospam=function(data){var rtc=true;if(typeof(wOnBeforeClickSendMailNospam)=='function'){rtc=wOnBeforeClickSendMailNospam(data.replace('|', '@').replace(/wApos/, "'"), event);}if(rtc){top.location.href='mailto:' + data.replace('|', '@').replace(/wApos/, "'", event);}};wAdaptConditionalFormData=function(){jQuery("*[data-conditionalformdata]").each(function(){var cE=jQuery(this);var conditionalformdata=cE.data('conditionalformdata');var conditionalFormDataArray=conditionalformdata.split('|AND|');for(var k=0; k < conditionalFormDataArray.length; k++){var type='showIf';var dyndisplayOperator='and';var callbackJS='';var conditionalformdata=conditionalFormDataArray[k];if(/callbackJS\:([^;]+)/.test(conditionalformdata)){callbackJS=RegExp.$1;}if(/type\:(showIf|hideIf)/.test(conditionalformdata)){type=RegExp.$1;}if(/operator\:(and|or)/.test(conditionalformdata)){dyndisplayOperator=RegExp.$1;}if(/conditions\:(.*)/.test(conditionalformdata)){conditionalformdata=RegExp.$1;}conditionalformdata=conditionalformdata.replace(/,([\w\-]+(==|\!=|\>=|\>|\<=|\<|)')/g, '_WCMA_$1');var conditionalFormDatas=conditionalformdata.split('_WCMA_');var isActive=dyndisplayOperator=='or'?false:true;var isActiveCurrent=false;for(var i=0; i < conditionalFormDatas.length; i++){conditionalFormDatas[i]=conditionalFormDatas[i].replace("\\'", 'WBSAP');/^([\w\-]+)(\=\=|\!\=|<\=|<|>|>\=|pregMatch|\!pregMatch|contains|\!contains|pregiMatch|\!pregiMatch|containsi|\!containsi|callback)\'([^\']*)\'/.test(conditionalFormDatas[i]);var elementToObserveName=RegExp.$1;var operator=RegExp.$2;var condition=RegExp.$3.replace('WBSAP', "'").replace('wMyProject::', '');if(condition.substr(0, 1)=='$'){var elementWidthConditionName=condition.substr(1);var elementWithConditionValue=null;var elementWithCondition=cE.closest('form').find("*[name='" + elementWidthConditionName + "']");if(elementWithCondition.length!=0){condition=elementWithCondition.val();if(elementWithCondition.attr('type')=='radio'){elementWithConditionValue=cE.closest('form').find("input[name='" + elementWidthConditionName + "']:checked, input[name='" + elementWidthConditionName + "[]:checked']");if(elementWithConditionValue.length!=0){condition=elementWithConditionValue.val();}else{condition='';}}else if(elementWithCondition.attr('type')=='checkbox'){condition=new Array();elementToObserve.each(function(){if(jQuery(this).is(':checked')){condition.push(jQuery(this).val());}});}}}var elementToObserve=cE.closest('form').find("*[name='" + elementToObserveName + "'], *[name='" + elementToObserveName + "[]']");
39var elementToObserveValue=elementToObserve;var value=elementToObserveValue.length > 0?elementToObserveValue.val():'';if(jQuery(elementToObserveValue).hasClass('elementInputDate')){value=value.replace(/^[a-zA-Z]+, /, '');if(/^\d\d\.\d\d\.\d\d\d\d$/.test(value)){value=value.substr(6, 4) + '-' + value.substr(3, 2) + '-' + value.substr(0, 2);}if(/^\d\d\.\d\d\.\d\d\d\d$/.test(condition)){condition=condition.substr(6, 4) + '-' + condition.substr(3, 2) + '-' + condition.substr(0, 2);}}if(elementToObserve.attr('type')=='file'){if(elementToObserve.attr('data-isUploaded')&&elementToObserve.attr('data-isUploaded')==='1'){value='wIsUploaded';}}else
40if(elementToObserve.attr('type')=='radio'){elementToObserveValue=cE.closest('form').find("input[name='" + elementToObserveName + "']:checked, input[name='" + elementToObserveName + "[]:checked']");if(elementToObserveValue.length!=0){value=elementToObserveValue.val();}else{value='';}}else if(elementToObserve.attr('type')=='checkbox'){value=new Array();elementToObserve.each(function(){if(jQuery(this).is(':checked')){value.push(jQuery(this).val());}});}if(!elementToObserve.data('hasaddedobserver')){elementToObserve.data('hasaddedobserver', true);elementToObserve.on('change keyup', function(){wAdaptConditionalFormData();});}isActiveCurrent=false;if(operator=='<'||operator=='<='||operator=='>='||operator=='>
40'){if(!jQuery(elementToObserveValue).hasClass('elementInputDate')){value=isNaN(parseFloat(value))?0:parseFloat(value);}}var regExpOperator=null;if(operator=='pregMatch'||operator=='!pregMatch'){regExpOperator=new RegExp(condition);}else if(operator=='pregiMatch'||operator=='!pregiMatch'){regExpOperator=new RegExp(condition, 'i');}if(Array.isArray(value)&&condition==''){if(operator=='!='&&value.length!=0||operator=='=='&&value.length==0){if(dyndisplayOperator=='or'){isActive=true;break;}}else{if(dyndisplayOperator=='and'){isActive=false;break;}}}else if(Array.isArray(value)&&condition.indexOf('|')==-1){if(operator=='!='&&value.indexOf(condition)==-1||operator=='=='&&value.indexOf(condition)!=-1){if(dyndisplayOperator=='or'){isActive=true;break;}}else{if(dyndisplayOperator=='and'){isActive=false;break;}}}else if(Array.isArray(value)){var conditions=condition.split('|');isActiveCurrent=false;for(var j=0; j < conditions.length; j++){if(operator=='!='&&value.indexOf(conditions[j])==-1||operator=='=='&&value.indexOf(conditions[j])!=-1){isActiveCurrent=true;break;}}if(isActiveCurrent){if(dyndisplayOperator=='or'){isActive=true;break;}}else{if(dyndisplayOperator=='and'){isActive=false;break;}}}else if(operator=='pregMatch'&&regExpOperator.test(value)||operator=='!pregMatch'&&!regExpOperator.test(value)||operator=='pregiMatch'&&regExpOperator.test(value)||operator=='!pregiMatch'&&!regExpOperator.test(value)){if(dyndisplayOperator=='or'){isActive=true;break;}}else if(operator=='contains'&&value.indexOf(condition)!=-1||operator=='!contains'&&value.indexOf(condition)==-1||operator=='containsi'&&value.toLowerCase().indexOf(condition.toLowerCase())!=-1||operator=='!containsi'&&value.toLowerCase().indexOf(condition.toLowerCase())==-1){if(dyndisplayOperator=='or'){isActive=true;break;}}else if(operator=='!='&&value!=condition||operator=='=='&&value==condition||operator=='<'&&value < condition||operator=='<='&&value <=condition||operator=='>='&&value >=condition||operator=='>'&&value > condition){if(dyndisplayOperator=='or'){isActive=true;break;}}else if(operator=='callback'&&typeof(globalThis[condition])==='function'&&globalThis[condition](value)){if(dyndisplayOperator=='or'){isActive=true;break;}}else{if(dyndisplayOperator=='and'){isActive=false;break;}}}if(!isActive){break;}}var hasChangedDisplay=false;if(type=='showIf'&&!isActive||type=='hideIf'&&isActive){cE.addClass('wglConditionalFormdata');if(!cE.hasClass('wglHideConditionalFormdata')){hasChangedDisplay=true;}cE.addClass('wglHideConditionalFormdata');cE.removeClass('wglShowConditionalFormdata');cE.find('input, textarea, select').each(function(index){if(jQuery(this).attr('tabindex')&&jQuery(this).attr('tabindex')!=-1){jQuery(this).attr('data-tabindex', jQuery(this).attr('tabindex'));}if(typeof(wMaskAutofillIfConditionalHidden)!=='undefined'&&wMaskAutofillIfConditionalHidden&&jQuery(this).attr('type')!='hidden'|| typeof(wMaskAutofillIfConditionalHiddenIfTypeHidden)!=='undefined'&&wMaskAutofillIfConditionalHiddenIfTypeHidden&&jQuery(this).attr('type')=='hidden'){if(jQuery(this).attr('name')){jQuery(this).attr('name', jQuery(this).attr('name').replace(/~@~/g, ''));jQuery(this).attr('name', jQuery(this).attr('name').split('').join('~@~'));}if(jQuery(this).attr('id')){jQuery(this).attr('id', jQuery(this).attr('id').replace(/~@~/g, ''));jQuery(this).attr('id', jQuery(this).attr('id').split('').join('~@~'));}if(jQuery(this).attr('placeholder')){jQuery(this).attr('placeholder', jQuery(this).attr('placeholder').replace(/~@~/g, ''));jQuery(this).attr('placeholder', jQuery(this).attr('placeholder').split('').join('~@~'));}}if(typeof(wResetConditionalFormdataOnHide)!='undefined'&&wResetConditionalFormdataOnHide){if(typeof(jQuery(this).attr('data-valueinit'))!=='undefined'){if(jQuery(this).attr('type')=='checkbox'||jQuery(this).attr('type')=='radio'){jQuery(this).prop('checked', jQuery(this).data('valueinit')==jQuery(this).attr('value')?true:false);}else if(jQuery(this).attr('type')=='hidden'){if(typeof(wResetConditionalFormdataOnHideIfTypeHidden)=='undefined'||wResetConditionalFormdataOnHideIfTypeHidden){if((!jQuery(this).attr('name')||jQuery(this).attr('name').indexOf('wFormToken')==-1)&&jQuery(this).attr('id').indexOf('wFormToken')==-1&&(!jQuery(this).attr('id')||jQuery(this).attr('id').indexOf('inputUploader-')==-1)){jQuery(this).val(jQuery(this).attr('data-valueinit'));}}}else{jQuery(this).val(jQuery(this).attr('data-valueinit'));}}else if(typeof(jQuery(this).attr('data-valueinittmp'))!=='undefined'){if(jQuery(this).attr('type')=='checkbox'||jQuery(this).attr('type')=='radio'){jQuery(this).prop('checked', false);}else if(jQuery(this).attr('type')=='hidden'){if(typeof(wResetConditionalFormdataOnHideIfTypeHidden)=='undefined'||wResetConditionalFormdataOnHideIfTypeHidden){if((!jQuery(this).attr('name')||jQuery(this).attr('name').indexOf('wFormToken')==-1)&&jQuery(this).attr('id').indexOf('wFormToken')==-1&&(!jQuery(this).attr('id')||jQuery(this).attr('id').indexOf('inputUploader-')==-1)){jQuery(this).val('');}}}else{jQuery(this).val('');}}else{if(jQuery(this).attr('type')=='checkbox'||jQuery(this).attr('type')=='radio'){jQuery(this).attr('data-valueinittmp', jQuery(this).prop('checked')?'checked':'unchecked');jQuery(this).prop('checked', false);}else if(jQuery(this).attr('type')=='hidden'){if(typeof(wResetConditionalFormdataOnHideIfTypeHidden)=='undefined'||wResetConditionalFormdataOnHideIfTypeHidden){if((!jQuery(this).attr('name')||jQuery(this).attr('name').indexOf('wFormToken')==-1)&&jQuery(this).attr('id').indexOf('wFormToken')==-1&&(!jQuery(this).attr('id')||jQuery(this).attr('id').indexOf('inputUploader-')==-1)){jQuery(this).attr('data-valueinittmp', jQuery(this).val());jQuery(this).val('');}}}else{jQuery(this).attr('data-valueinittmp', jQuery(this).val());jQuery(this).val('');}}}jQuery(this).attr('tabindex',-1);});}else{if(!cE.hasClass('wglShowConditionalFormdata')){hasChangedDisplay=true;}cE.addClass('wglConditionalFormdata');cE.removeClass('wglHideConditionalFormdata');cE.addClass('wglShowConditionalFormdata');
40cE.find('input, textarea, select').each(function(index){if(jQuery(this).attr('data-tabindex')){jQuery(this).attr('tabindex', jQuery(this).attr('data-tabindex'));}else{jQuery(this).removeAttr('tabindex');}if(typeof(wMaskAutofillIfConditionalHidden)!=='undefined'&&wMaskAutofillIfConditionalHidden&&jQuery(this).attr('type')!='hidden'|| typeof(wMaskAutofillIfConditionalHiddenIfTypeHidden)!=='undefined'&&wMaskAutofillIfConditionalHiddenIfTypeHidden&&jQuery(this).attr('type')=='hidden'){if(jQuery(this).attr('id')){jQuery(this).attr('id', jQuery(this).attr('id').replace(/~@~/g, ''));}if(jQuery(this).attr('name')){jQuery(this).attr('name', jQuery(this).attr('name').replace(/~@~/g, ''));}if(jQuery(this).attr('placeholder')){jQuery(this).attr('placeholder', jQuery(this).attr('placeholder').replace(/~@~/g, ''));}}if(typeof(jQuery(this).attr('data-valueinittmp'))!=='undefined'){if(jQuery(this).attr('type')=='checkbox'||jQuery(this).attr('type')=='radio'){if(jQuery(this).attr('data-valueinittmp')==='checked'){jQuery(this).prop('checked', true);}else if(jQuery(this).attr('data-valueinittmp')==='unchecked'){jQuery(this).prop('checked', false);}}else{jQuery(this).val(jQuery(this).attr('data-valueinittmp'));}jQuery(this).removeAttr('data-valueinittmp');}else if(jQuery(this).attr('type')=='hidden'&&(!jQuery(this).attr('name')||jQuery(this).attr('name').indexOf('wFormToken')==-1)&&(!jQuery(this).attr('id')||jQuery(this).attr('id').indexOf('inputUploader-')==-1)&&typeof(jQuery(this).attr('data-valueinit'))!='undefined'){jQuery(this).val(jQuery(this).attr('data-valueinit'));}});}if(hasChangedDisplay&&callbackJS!=''){eval('if(typeof('+callbackJS+')==\'function\'){'+callbackJS+'()}');}if(cE.closest('form').length!=0){var currentForm=cE.closest('form');if(currentForm.attr('data-hasinputstovalidate')=='1'){currentForm.attr('data-hasinputsinvalid', '0');currentForm.find('*[data-isinvalid="1"]').each(function(){if(jQuery(this).closest('.wglHideConditionalFormdata').length==0){currentForm.attr('data-hasinputsinvalid', '1');}});}}});};wAdaptParallax=function(event){wUiTmp['lastEventType']=event?event.type:'';wUiTmp['elements-wglParallaxBackground']=wUiTmp['elements-wglParallaxBackground']?wUiTmp['elements-wglParallaxBackground']:jQuery('.wglParallaxBackground');wUiTmp['elements-wglParallaxContent']=wUiTmp['elements-wglParallaxContent']?wUiTmp['elements-wglParallaxContent']:jQuery('.wglParallaxContent');if(typeof(wEditor)=='undefined'){wUiTmp['elements-wglParallaxBackground'].each(function(index){var cE=jQuery(this);var fixedIfNotSupported=cE.data('parallaxbackgrounddirection')=='fixedIfNotSupported';if(fixedIfNotSupported&&!/(iPod|iPhone|iPad)/i.test(navigator.platform)){return true;}if(wUiTmp['lastEventType']!='resize'&&cE.data('disableParallax')=='1'){wUiTmp['adaptParallax']=false;return false;}var minWidth=(cE.data('parallaxbackgroundminwidth')&&!isNaN(cE.data('parallaxbackgroundminwidth'))?parseInt(cE.data('parallaxbackgroundminwidth')):0);var winWidth=wUiTmp['lastWindowWidth'];if(winWidth < minWidth){return false;}var offsetTop=parseInt(cE.offset().top);var offsetTopInit=0;var offsetHeight=parseInt(cE.outerHeight());var offsetWidth=parseInt(cE.outerWidth());var posInsideTop=wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']-offsetTop;var posInsideBottom=offsetTop + offsetHeight-wUiTmp['lastScrollTop'];var posTopInside=wUiTmp['lastScrollTop']-offsetTop;var useEdgeOnInit=cE.data('useedgeoninit')=='1'?true:false;var moveMax=offsetHeight + wUiTmp['lastWindowHeight'];var backgroundHeight=offsetHeight;var backgroundWidth=offsetWidth;if(posInsideTop > 0&&posInsideBottom > 0){var posTopPercentage=posInsideTop / moveMax;var posTopPercentageBottom=posTopInside / (wUiTmp['lastWindowHeight']-offsetHeight);var backgroundPositionTop=0;var direction=(cE.data('parallaxbackgrounddirection')?cE.data('parallaxbackgrounddirection').toLowerCase():'bottom');var factor=(cE.data('parallaxbackgroundfactor')?cE.data('parallaxbackgroundfactor'):0.25);var offset=(cE.data('parallaxbackgroundoffset')?parseFloat(cE.data('parallaxbackgroundoffset')):0);var sizeStart=(cE.data('parallaxbackgroundsizestart')?parseFloat(cE.data('parallaxbackgroundsizestart')):1);var sizeEnd=(cE.data('parallaxbackgroundsizeend')?parseFloat(cE.data('parallaxbackgroundsizeend')):1);var parallaxSizeMode=(cE.data('parallaxbackgroundsizemode')?cE.data('parallaxbackgroundsizemode'):'');var parallaxElement=(cE.data('parallaxbackgroundelement')?document.getElementById(cE.data('parallaxbackgroundelement')):null);var transformSize='';var sizeFactor=1;if(fixedIfNotSupported&&(!cE.data('backgroundHeight')||wUiTmp['hasToAdaptParallax'])){var hasBackgroun
40dContainer=true;var elementBackgroundImageContainer=cE.find('.backgroundContainer > div, .backgroundContainer > picture');if(elementBackgroundImageContainer.length >=1){backgroundHeight=jQuery(window).height();if(elementBackgroundImageContainer.parent().is(":visible")){elementBackgroundImageContainer.first().css({'position':'absolute', 'height':'100vh'});cE.data('backgroundHeight', backgroundHeight);}}}else if((direction.indexOf('top')!=-1||direction.indexOf('bottom')!=-1)&&(!cE.data('backgroundHeight')||wUiTmp['hasToAdaptParallax'])){var hasBackgroundContainer=true;var elementBackgroundImageContainer=cE.find('.backgroundContainer > div, .backgroundContainer > picture');if(elementBackgroundImageContainer.length >=1){backgroundHeight=(1 + factor) * elementBackgroundImageContainer.parent().height();if(elementBackgroundImageContainer.parent().is(":visible")){if(parallaxSizeMode!='original'){elementBackgroundImageContainer.first().css({'height':String(backgroundHeight) + 'px'});}cE.data('backgroundHeight', backgroundHeight);}}}else if((direction.indexOf('left')!=-1||direction.indexOf('right')!=-1)&&(!cE.data('backgroundWidth')||wUiTmp['hasToAdaptParallax'])){var hasBackgroundContainer=true;var elementBackgroundImageContainer=cE.find('.backgroundContainer > div, .backgroundContainer > picture');if(elementBackgroundImageContainer.length >=1){backgroundWidth=(1 + factor) * elementBackgroundImageContainer.parent().width();if(elementBackgroundImageContainer.parent().is(":visible")){if(parallaxSizeMode!='original'){elementBackgroundImageContainer.first().css({'width':String(backgroundWidth) + 'px'});}cE.data('backgroundWidth', backgroundWidth);}}}backgroundHeight=cE.data('backgroundHeight')?cE.data('backgroundHeight'):backgroundHeight;backgroundWidth=cE.data('backgroundWidth')?cE.data('backgroundWidth'):backgroundWidth;var transform3D='';if(fixedIfNotSupported){backgroundPositionTop='' + String(Math.round(posTopInside));transform3D='translate3d(0, ' + String(backgroundPositionTop) + 'px, 0)';}else if(direction.indexOf('top')!=-1){posBase=(backgroundHeight-offsetHeight) * (0.5);posBaseOffset=(backgroundHeight-offsetHeight) * (0.5 + offset);posDiff=(backgroundHeight-offsetHeight) * posTopPercentage-posBase;posDiff=posDiff * (offset==0?1:(0.5-offset) * 2);pos=posBaseOffset + posDiff;backgroundPositionTop='-' + String(Math.round(pos));transform3D='translate3d(0, ' + String(backgroundPositionTop) + 'px, 0)' ;}else if(direction.indexOf('bottom')!=-1||direction==''){posBase=(backgroundHeight-offsetHeight) * (0.5-1);posBaseOffset=(backgroundHeight-offsetHeight) * (0.5-1 + offset);posDiff=(backgroundHeight-offsetHeight) * (posTopPercentage-1)-posBase;posDiff=posDiff * (offset==0?1:(0.5-offset) * 2);pos=posBaseOffset + posDiff;backgroundPositionTop='' + String(Math.round(pos));transform3D='translate3d(0, ' + String(backgroundPositionTop) + 'px, 0)';}else if(direction.indexOf('right')!=-1){posBase=(backgroundWidth-offsetWidth) * (0.5-1);posBaseOffset=(backgroundWidth-offsetWidth) * (0.5-1 + offset);posDiff=(backgroundWidth-offsetWidth) * (posTopPercentage-1)-posBase;posDiff=posDiff * (offset==0?1:(0.5-offset) * 2);pos=posBaseOffset + posDiff;backgroundPositionLeft='' + String(Math.round(pos));transform3D='translate3d(' + String(backgroundPositionLeft) + 'px, 0, 0)';}else if(direction.indexOf('left')!=-1){posBase=(backgroundWidth-offsetWidth) * (0.5);posBaseOffset=(backgroundWidth-offsetWidth) * (0.5 + offset);posDiff=(backgroundWidth-offsetWidth) * (posTopPercentage)-posBase;posDiff=posDiff * (offset==0?1:(0.5-offset) * 2);pos=-(posBaseOffset + posDiff);backgroundPositionLeft='' + String(Math.round(pos));transform3D='translate3d(' + String(backgroundPositionLeft) + 'px, 0, 0)';}transformSize='';if(sizeStart > 1){sizeFactor=posTopPercentage-1;contentSize=((1-sizeStart) * sizeFactor) + sizeStart;transformSize=' scale(' + String(contentSize) + ')';}else if(sizeEnd > 1){sizeFactor=posTopPercentage;contentSize=sizeStart + (sizeEnd-sizeStart) * posTopPercentage;transformSize=' scale(' + String(contentSize) + ')';}parallaxElement=cE.find('.backgroundContainer > div, .backgroundContainer > picture');if(parallaxElement.length >=1){if((direction.indexOf('left')!=-1||direction.indexOf('right')!=-1)&&parallaxElement.first().height()===0){parallaxElement.first().css({'height':'100%', 'transform':transform3D});}else{parallaxElement.first().css({'transform':transform3D});}}if(transformSize!=''){parallaxElement=cE.find('.backgroundContainer');if(parallaxElement.length >=1){parallaxElement.first().css({'transform':transformSize});}}}});wUiTmp['elements-wglParallaxContent'].each(function(index){var cE=jQuery(this);if(wUiTmp['lastEventType']!='resize'&&cE.data('disableParallax')=='1'){wUiTmp['adaptParallax']=false;return false;}var minWidth=(cE.data('parallaxcontentminwidth')&&!isNaN(cE.data('parallaxcontentminwidth'))?parseInt(cE.data('parallaxcontentminwidth')):0);var winWidth=wUiTmp['lastWindowWidth'];if(typeof(winWidth)=='undefined'||winWidth < minWidth){return false;}var offsetTop=parseInt(cE.parent().offset().top);var offsetTopInit=0;var offsetHeight=parseInt(cE.outerHeight());var offsetWidth=parseInt(cE.outerWidth());var posInsideTop=wUiTmp['lastScrollTop'] + wUiTmp['lastWindowHeight']-offsetTop;var posInsideBottom=offsetTop + offsetHeight-wUiTmp['lastScrollTop'];var posTopInside=wUiTmp['lastScrollTop']-offsetTop;var useEdgeOnInit=cE.data('useedgeoninit')=='1'?true:false;var moveMax=offsetHeight + wUiTmp['lastWindowHeight'];var backgroundHeight=offsetHeight;var elementHeight=offsetHeight;if(offsetHeight==0){return false;}if(posInsideTop > 0&&posInsideBottom > 0){var posTopPercentage=posInsideTop / moveMax;var posTopPercentageBottom=posTopInside / (wUiTmp['lastWindowHeight']-offsetHeight);var contentPositionTop=0;var direction=(cE.data('parallaxcontentdirection')?cE.data('parallaxcontentdirection').toLowerCase():'bottom');var directionElement=(cE.data('parallaxcontentdirectionelement')?cE.data('parallaxcontentdirectionelement').toLowerCase():'');var factor=(cE.data('parallaxcontentfactor')?cE.data('parallaxcontentfactor') * 2:0.5);var start=(cE.data('parallaxcontentstart')?cE.data('parallaxcontentstart'):0);var end=(cE.data('parallaxcontentend')?cE.data('parallaxcontentend'):1);var sizeStart=(cE.data('parallaxcontentsizestart')?parseFloat(cE.data('parallaxcontentsizestart')):1);var sizeEnd=(cE.data('parallaxcontentsizeend')?parseFloat(cE.data('parallaxcontentsizeend')):1);var opacityStart=(cE.data('parallaxcontentopacitystart')?parseFloat(cE.data('parallaxcontentopacitystart')):1);var opacityEnd=(cE.data('parallaxcontentopacityend')?parseFloat(cE.data('parallaxcontentopacityend')):1);var timingfunction=(cE.data('parallaxcontenttiminfunction')?cE.data('parallaxcontenttiminfunction'):'');var transformSize='';var sizeFactor=1;backgroundHeight=offsetHeight * 2;if(posTopPercentage >=start&&posTopPercentage <=end){var posTopPercentageRel=posTopPercentage-end;var posSizePercentageRel=posTopPercentage-end;if(directionElement=='from'){posTopPercentageRel=(1 + posTopPercentageRel * 1 + posTopPercentageRel) + (1-2 * start);posSizePercentageRel=(1 + posSizePercentageRel * 1 + posSizePercentageRel) + (1-2 * start);}else if(directionElement=='to'){posTopPercentageRel=(1 + posTopPercentageRel * 1 + posTopPercentageRel)-(1-2 * start);posSizePercentageRel=(1 + posSizePercentageRel * 1 + posSizePercentageRel)-(1-2 * start);}else{posTopPercentageRel=(1 + posTopPercentageRel * 1 + posTopPercentageRel);posSizePercentageRel=(1 + posSizePercentageRel * 1 + posSizePercentageRel);}posTopPercentageRelOrig=posTopPercentageRel
41expo=0;if(timingfunction!=''&&timingfunction!='linear'){if(timingfunction=='easeInExpo'){expo=1 + 0.5;}else if(timingfunction=='easeOutExpo'){expo=1 / (1 + 0.5);}else if(/expo\(([^\)]*)\)/.test(timingfunction)){expo=RegExp.$1;if(expo < 0){expo=1 / (1-expo);}}}if(expo > 0){if(posTopPercentageRel < 0){posTopPercentageRel=-Math.pow(-posTopPercentageRel, expo);}else{posTopPercentageRel=Math.pow(posTopPercentageRel, expo);}}pos=elementHeight * posTopPercentageRel * factor;transformSize='';parallaxOpacity='';sizeFactor=posSizePercentageRel;opacityFactor=posSizePercentageRel;if(sizeStart < 1||sizeStart > 1){contentSize=((1-sizeStart) * sizeFactor) + sizeStart;transformSize=' scale(' + String(Math.max(0, contentSize)) + ')';}else if(sizeEnd < 1||sizeEnd >
41 1){contentSize=((sizeEnd-1) * sizeFactor) + sizeStart;transformSize=' scale(' + String(Math.max(0, contentSize)) + ')';}if(opacityStart < 1||opacityStart > 1){parallaxOpacity=String(((1-opacityStart) * opacityFactor) + opacityStart);cE.css({'opacity':parallaxOpacity});}else if(opacityEnd < 1||opacityEnd > 1){parallaxOpacity=String(((opacityEnd-1) * opacityFactor) + opacityStart);cE.css({'opacity':parallaxOpacity});}if(direction.indexOf('top')!=-1){contentPositionTop=-Math.round(pos);cE.css({'transform':'translate(0, ' + String(contentPositionTop) + 'px)' + transformSize});}else if(direction.indexOf('bottom')!=-1||direction==''){contentPositionTop=Math.round(pos);cE.css({'transform':'translate(0, ' + String(contentPositionTop) + 'px)' + transformSize});}else if(direction.indexOf('right')!=-1){contentPositionTop=Math.round(pos);cE.css({'transform':'translate(' + String(contentPositionTop) + 'px, 0)' + transformSize});}else if(direction.indexOf('left')!=-1||direction==''){contentPositionTop=-Math.round(pos);cE.css({'transform':'translate(' + String(contentPositionTop) + 'px , 0)' + transformSize});}else if(direction.indexOf('none')!=-1&&transformSize!=''){cE.css({'transform':transformSize});}}else if(directionElement=='from'&&start > 0&&posTopPercentage < start&&(direction.indexOf('left')!=-1|| direction.indexOf('right')!=-1)){cE.css({'transform':'translate(' + String(0) + 'px, 0)'});}else if(directionElement=='from'&&start > 0&&posTopPercentage < start){cE.css({'transform':'translate(0, ' + String(0) + 'px)'});}else if(start > 0&&posTopPercentage < start){if(directionElement=='from'&&(direction.indexOf('left')!=-1|| direction.indexOf('right')!=-1)){cE.css({'transform':'translate(' + String(0) + 'px, 0)'});return;}else if(directionElement=='from'){cE.css({'transform':'translate(0, ' + String(0) + 'px)'});return;}else{posTopPercentageRel=-2 * (end-start);pos=elementHeight * posTopPercentageRel * factor;}if(direction.indexOf('top')!=-1){contentPositionTop=-Math.round(pos);cE.css({'transform':'translate(0, ' + String(contentPositionTop) + 'px)'});}else if(direction.indexOf('bottom')!=-1||direction==''){contentPositionTop=Math.round(pos);cE.css({'transform':'translate(0, ' + String(contentPositionTop) + 'px)'});}else if(direction.indexOf('right')!=-1){contentPositionTop=Math.round(pos);cE.css({'transform':'translate(' + String(contentPositionTop) + 'px, 0)'});}else if(direction.indexOf('left')!=-1||direction==''){contentPositionTop=-Math.round(pos);cE.css({'transform':'translate(' + String(contentPositionTop) + 'px , 0)'});}}else if(cE.length >=1){cE.css({'transform':'translate(0, ' + String(0) + 'px)'});}}});}wUiTmp['hasInitParallax']=true;wUiTmp['adaptParallax']=false;};wGetScrollTopDiff=function(options){var offsetTopFixed=0;if(typeof(getOffsetTopFixed)==='function'){offsetTopFixed=getOffsetTopFixed(options);if(isNaN(offsetTopFixed)){if(jQuery('#blockHeader').length > 0&&jQuery('#blockHeader').css('position')=='fixed'){offsetTopFixed=jQuery('#blockHeader').height() + jQuery('#blockHeader').offset().top-wUiTmp['lastScrollTop'];}else{offsetTopFixed=0;}}}else if(jQuery('#blockHeader').length > 0&&jQuery('#blockHeader').css('position')=='fixed'){var transformTop=0;if(/(\-?\w+(?:\.\w+)?)\)/.test(jQuery('#blockHeader').css('transform'))){transformTop=parseInt(RegExp.$1);}offsetTopFixed=jQuery('#blockHeader').height() + jQuery('#blockHeader').offset().top-transformTop-wUiTmp['lastScrollTop'];}return offsetTopFixed;};wScrollSmoothToTarget=function(element, event){var id, offsetTopFixed=0, targetName, elementTarget, scrollTop;var href=element.getAttribute('href');if(!href||href=='#'||href=='#wEmpty'){return false;}else if(element.href&&element.href.replace&&element.href.replace(/#[\S\s]*$/, '')!=location.href.replace(/#[\S\s]*$/, '')){return true;}else if(/(#.*)/.test(href)){targetName=RegExp.$1;targetSelector=targetName.replace(/\./, '\\.');elementTarget=jQuery(targetSelector);if(elementTarget.length==0){targetSelector="a[name='" + targetName.replace('#', '') + "']";elementTarget=jQuery(targetSelector);}if(elementTarget.length==0){return;}if(jQuery('.fullpage-wrapper').length!=0){var currentSection=jQuery(elementTarget).closest('.fp-section');if(currentSection.length!=0){event.stopPropagation();event.preventDefault();
41var anchorLink='fpa-' + String(currentSection.prevAll('.fp-section').length);currentSection.attr('data-anchor', anchorLink);jQuery.fn.fullpage.moveTo(anchorLink);jQuery(window).trigger('resize');return false;}}var currentTimestamp=new Date().getTime();if(elementTarget.length > 0&&!element.getAttribute('data-lct')||element.getAttribute('data-lct') < currentTimestamp-320){if(typeof(wOnBeforeScrollSmoothToTarget)==='function'){var rtc=wOnBeforeScrollSmoothToTarget(elementTarget);if(rtc===false){return false;}}element.setAttribute('data-lct', currentTimestamp);event.preventDefault();jQuery(element).parent().parent().find('li').removeClass('selected');jQuery(element).parent().addClass('selected');try{jQuery('body, html').stop(true, true);scrollDuration=parseInt(element.getAttribute('data-scrollsmoothtotargetduration')?element.getAttribute('data-scrollsmoothtotargetduration'):400);window.setTimeout(function(){var scrollTopDiff=wGetScrollTopDiff();var hasContainerInsideTopOnScroll=jQuery('.wglContainerInsideTopOnScroll *').length;var timeoutToAdaptAfterScrollSmoothToTarget=typeof wTimeoutToAdaptAfterScrollSmoothToTarget!='undefined'?wTimeoutToAdaptAfterScrollSmoothToTarget:16;wUiTmp['scrollingAuto']=element.getAttribute('data-scrollingauto')=='no'?false:true;jQuery('body, html').animate({scrollTop:elementTarget.offset().top-scrollTopDiff}, {duration:scrollDuration}).promise().done(function(){if(hasContainerInsideTopOnScroll!=jQuery('.wglContainerInsideTopOnScroll *').length){var scrollTopDiff=wGetScrollTopDiff();jQuery('body, html').animate({scrollTop:elementTarget.offset().top-scrollTopDiff}, {duration:scrollDuration}).promise().done(function(){window.setTimeout(function(){wUiTmp['scrollingAuto']=false;if(!(element.getAttribute('data-preventpushstate')=='1')){history.pushState(null, null, targetName);jQuery(window).trigger('hashchange');}if(typeof(wOnAfterScrollSmoothToTarget)==='function'){wOnAfterScrollSmoothToTarget(elementTarget);}jQuery(window).trigger('resize');}, timeoutToAdaptAfterScrollSmoothToTarget);});}else{window.setTimeout(function(){wUiTmp['scrollingAuto']=false;if(!(element.getAttribute('data-preventpushstate')=='1')){history.pushState(null, null, targetName);jQuery(window).trigger('hashchange');}if(typeof(wOnAfterScrollSmoothToTarget)==='function'){wOnAfterScrollSmoothToTarget(elementTarget);}jQuery(window).trigger('resize');}, timeoutToAdaptAfterScrollSmoothToTarget);}});}, 10);return false;}catch(e){}}}};wScrollSmoothToElement=function(elementTarget, options){var id, offsetTopFixed, scrollTop;options=options||{};elementTarget=jQuery(elementTarget);if(elementTarget.attr('data-scrollelement')=='no'){return false;}if( typeof( wScrollSmoothToElementForceScroll )!='undefined'&&wScrollSmoothToElementForceScroll===false ){return true;}if(jQuery('.fullpage-wrapper').length!=0){var currentSection=jQuery(elementTarget).closest('.fp-section');if(currentSection.length!=0){var anchorLink='fpa-' + String(currentSection.prevAll('.fp-section').length);currentSection.attr('data-anchor', anchorLink);jQuery.fn.fullpage.moveTo(anchorLink);if(typeof(wOnAfterScrollSmoothToElement)==='function'){wOnAfterScrollSmoothToElement(elementTarget);}jQuery(window).trigger('resize');return false;}}var currentTimestamp=new Date().getTime();if(elementTarget.length > 0&&!elementTarget.attr('data-lct')||elementTarget.attr('data-lct') < currentTimestamp-320){elementTarget.attr('data-lct', currentTimestamp);try{jQuery('body, html').stop(true, true);scrollDuration=parseInt(elementTarget.attr('data-scrollsmoothtotargetduration')?elementTarget.attr('data-scrollsmoothtotargetduration'):400);var scrollTopDiff=typeof(options['scrollTopDiff'])!='undefined'?options['scrollTopDiff']:wGetScrollTopDiff();if(typeof(options['scrollTopOffset'])!='undefined'){scrollTopDiff +=options['scrollTopOffset'];}else if(jQuery('html').is('[data-offsetscrollsmoothtoelement]')&&jQuery('html').attr('data-offsetscrollsmoothtoelement')!=''){if(scrollTopDiff===0) scrollTopDiff=parseInt(jQuery('html').attr('data-offsetscrollsmoothtoelement'));else scrollTopDiff-=parseInt(jQuery('html').attr('data-offsetscrollsmoothtoelement'));}var visibleMin=document.body.scrollTop + scrollTopDiff;var visibleMax=document.body.scrollTop + wUiTmp['lastWindowHeight'];var posTopElement=elementTarget.offset().top;if((typeof(wScrollSmoothToElementForceScroll)=='undefined'||!wScrollSmoothToElementForceScroll)&&(typeof(options['forceScroll'])=='undefined'||!options['forceScroll'])&&posTopElement > visibleMin&&posTopElement < visibleMax){return true;}wUiTmp['scrollingAuto']=typeof(options['scrollingAuto'])!='undefined'?options['scrollingAuto']:true;jQuery('body, html').animate({scrollTop:elementTarget.offset().top-scrollTopDiff}, {duration:scrollDuration, 'easing':typeof(wScrollSmoothToElementEasing)!='undefined'&&wScrollSmoothToElementEasing!=''?wScrollSmoothToElementEasing:'swing', complete:function(){window.setTimeout(function(){if(options['setFocusAfterScrolling']!=null&&!wUiTmp['scrollingAuto']&&typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active){wAccessHandler.setFocusToCurElement(elementTarget);};wUiTmp['scrollingAuto']=false;jQuery(window).trigger('resize');}, 16);}});return false;}catch(e){console.log(e)}}};
41wAddIsOnDarkBackground=function(element){if(jQuery(element).hasClass('isLightBackground')){jQuery(element).data('wasLightBackground', '1');jQuery(element).removeClass('isLightBackground');}jQuery(element).addClass('isDarkBackground');};wRemoveIsOnDarkBackground=function(element){if(jQuery(element).data('wasLightBackground')=='1'){jQuery(element).addClass('isLightBackground')
42}jQuery(element).removeClass('isDarkBackground');};wAddIsOnLightBackground=function(element){if(jQuery(element).hasClass('isDarkBackground')){jQuery(element).data('wasDarkBackground', '1');jQuery(element).removeClass('isDarkBackground');}jQuery(element).addClass('isLightBackground');};wRemoveIsOnLightBackground=function(element){if(jQuery(element).data('wasDarkBackground')=='1'){jQuery(element).addClass('isDarkBackground')
43}jQuery(element).removeClass('isLightBackground');};wHasWebpSupport=function(callback){if(typeof(callback)==='function'){var hw=false;if(/(Firefox|Chrome)\/(\d+)/.test(navigator.userAgent)){var bt=RegExp.$1;var bv=RegExp.$2;if(bt=='Firefox'&&bv >=65){hw=true;}else if(bt=='Chrome'&&bv >=25){hw=true;}}if(hw){wUiTmp['hasWebpSupport']='y';callback();return false;}}if(wUiTmp['hasWebpSupport']){return wUiTmp['hasWebpSupport']=='y';}var im=new Image();im.onload=function(){wUiTmp['hasWebpSupport']=(im.width==1?'y':'n');};im.onerror=function(){wUiTmp['hasWebpSupport']='n';};im.src='data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=';if(typeof(callback)==='function'){window.setTimeout(function(){callback();}, 32);}return false;};wProcessPictureZoomer=function(){jQuery('.pictureZoomer').each(function(index){if(typeof(wMinEnlargementToShowPictureZoomer)=='undefined'||wMinEnlargementToShowPictureZoomer <=1){jQuery(this).show();}else if(jQuery(this).hasClass('pictureZoomerNotEqual')){jQuery(this).show();}else{if(jQuery(this).parent().width() > 0&&jQuery(window).width() / jQuery(this).parent().width() >=wMinEnlargementToShowPictureZoomer){jQuery(this).next('.picture').removeAttr('data-isinactivelightbox');jQuery(this).show();}else{jQuery(this).hide();jQuery(this).next('.picture').attr('data-isinactivelightbox', '1');}}});jQuery('span.pictureZoomer ~ picture').on('keyup', function(e){var cE=jQuery(this);var zE=cE.prev('span.pictureZoomer');zE.attr('tabindex', 0);cE.on('blur', function(e){zE.focus();cE.attr('tabindex',-1);})
44zE.on('blur', function(e){cE.attr('tabindex', 0);});zE.on('keyup', function(e){if(e.keyCode==13){cE.trigger('click');}e.stopImmediatePropagation();});e.stopImmediatePropagation();});};jQuery.fn.wOptimizePictureSizes=function(){jQuery.each(jQuery(this), function(){wOptimizePictureSizes(jQuery(this));});};wOptimizePictureSizes=function(cO){if(!wUiTmp['hasWebpSupport']){wHasWebpSupport(function(c0){wOptimizePictureSizes(c0)});return false;}if(typeof cO==='undefined'){cO=jQuery('body');}var cORespData=cO.find("div[data-responsivebackground]");cORespData.each(function(){var cE=jQuery(this);if(cE.data('backgroundimagewebp')&&wHasWebpSupport()){cE.data('backgroundimage', cE.data('backgroundimagewebp'));}if(cE.data('backgroundimagewebpmin')&&wHasWebpSupport()){cE.data('backgroundimagemin', cE.data('backgroundimagewebpmin'));}var cEWidth=cE.width();var responsiveBackgroundMinWidth=cE.data('responsivebackgroundminwidth')?cE.data('responsivebackgroundminwidth'):768;var minwidthVisible=cE.data('minwidthvisible')?cE.data('minwidthvisible'):0;if(cEWidth > minwidthVisible&&cE.data('backgroundimage')&&cEWidth >=responsiveBackgroundMinWidth){cE.css({'background-image':'url("' + cE.data('backgroundimage') + '")'});}else if(cEWidth > minwidthVisible&&cE.data('backgroundimagemin')){cE.css({'background-image':'url("' + cE.data('backgroundimagemin') + '")'});}else if(cEWidth > minwidthVisible&&cE.data('backgroundimage')){cE.css({'background-image':'url("' + cE.data('backgroundimage') + '")'});}});var cOImgData=cO.find("img[data-src2x]:not(.wglLazyLoadInit), img.wglLazyLoad:not(.wglLazyLoadInit)");cOImgData.each(function(){var currentImg=jQuery(this);var offsetTop=parseInt(currentImg.offset().top);var srcMin=currentImg.data('srcmin')?currentImg.data('srcmin'):'';var widthCurrent=parseInt(currentImg.width());var attrWidthCur=parseInt(typeof(currentImg.attr('width'))!='undefined'?currentImg.attr('width'):0);var widthMin=parseInt(srcMin.replace(/.*@min/, '').replace(/\..*/, ''));if(currentImg.attr('data-maxwidthifinvisible')&&currentImg.attr('data-maxwidthifinvisible') > widthCurrent){widthCurrent=currentImg.attr('data-maxwidthifinvisible');}if(devicePixelRatio >=hdLimitDpr&&typeof(currentImg.attr('data-src2x'))!='undefined'&&currentImg.attr('data-src2x')!=''&&attrWidthCur < widthCurrent * 2&&currentImg.attr('data-ishd')!='1'){currentImg.attr('src', currentImg.data('src2x')).attr('data-ishd', '1');}else if(typeof(currentImg.attr('data-src2x'))!='undefined'&&currentImg.attr('data-src2x')!=''&&attrWidthCur < widthCurrent&&currentImg.attr('data-ishd')!='1'){currentImg.attr('src', currentImg.data('src2x')).attr('data-ishd', '1');}else if(typeof(currentImg.attr('data-srcmin'))!='undefined'&&currentImg.attr('data-srcmin')!=''&&widthCurrent < widthMin&&widthMin < attrWidthCur&&currentImg.attr('data-ishd')!='1'&&currentImg.attr('data-isld')!='1'){if(typeof(currentImg.attr('src'))!='undefined'&&currentImg.attr('src').indexOf('data:image')==0&&
44currentImg.attr('data-ismin')!='1'){currentImg.attr('src', currentImg.data('srcmin')).attr('data-ismin', '1');}}else if(typeof(currentImg.attr('data-src'))!='undefined'&&currentImg.attr('data-src')!=''&&currentImg.attr('data-ishd')!='1'&&currentImg.attr('data-isld')!='1'){currentImg.attr('src', currentImg.data('src')).attr('data-isld', '1');}});};wProcessWglExpandToParent=function(){jQuery('.wglExpandToParent').each(function(index){var cE=jQuery(this);cE.css('height', '');});jQuery('.wglExpandToParent').each(function(index){var cE=jQuery(this);var height=cE.parent().height();cE.css('height', String(height) + 'px');});};wProcessWglAdjustHeightMax=function(){jQuery('.wglAdjustHeightMax').each(function(index){var cE=jQuery(this);var offsetLeft=0;var offsetLeftLast=0;var maxHeight=0;var adjust=true;var positionCol=0;var childsToAdapt=new Array();var numberChilds=0;var subElement=null;var elementHeight=0;cE.children('*').each(function(index){var className=jQuery(this).attr('class')||'';if(className.toLowerCase().indexOf('clear')==-1&&className.toLowerCase().indexOf('editor')==-1&&className.toLowerCase().indexOf('listentryquickfilterinvisible')==-1){numberChilds++;}});cE.children('*').each(function(index){subElement=jQuery(this);var className=jQuery(this).attr('class')||'';if(className.toLowerCase().indexOf('clear')==-1&&className.toLowerCase().indexOf('editor')==-1&&className.toLowerCase().indexOf('listentryquickfilterinvisible')==-1){if(jQuery(this).data('wHasSetHeightToAjustHeightMax')=='1'){jQuery(this).css({'height':''});}offsetLeft=jQuery(this).get(0).offsetLeft-(jQuery(this).parent().css('position')=='relative'?0:jQuery(this).get(0).parentNode.offsetLeft);if(index > 0&&(offsetLeft==0||offsetLeft <=offsetLeftLast)&&jQuery(this).css('position')!='absolute'){if(positionCol==1){childsToAdapt=new Array();maxHeight=0;}positionCol=0;if(offsetLeft <=offsetLeftLast){offsetLeft=0;}}positionCol++;elementHeight=subElement.css('box-sizing')=='border-box'?subElement.outerHeight():subElement.height();if(index + 1==numberChilds&&positionCol > 1){maxHeight=elementHeight > maxHeight?elementHeight:maxHeight;childsToAdapt.push(jQuery(this));}if(childsToAdapt.length > 1&&(index > 0&&positionCol==1||index + 1==numberChilds)){for(i=0; i < childsToAdapt.length; i++){childToAdapt=childsToAdapt[i];var className=childToAdapt.attr('class')||'';if(className.toLowerCase().indexOf('clear')==-1&&className.toLowerCase().indexOf('editor')==-1&&className.toLowerCase().indexOf('listentryquickfilterinvisible')==-1){childToAdapt.css({'height':maxHeight});childToAdapt.data('wHasSetHeightToAjustHeightMax', '1');}}childsToAdapt=new Array();if(index + 1==numberChilds){childToAdapt=subElement;var className=childToAdapt.attr('class')||'';if(className.toLowerCase().indexOf('clear')==-1&&className.toLowerCase().indexOf('editor')==-1&&className.toLowerCase().indexOf('listentryquickfilterinvisible')==-1){childToAdapt.css({'height':(positionCol==1?elementHeight:maxHeight)});childToAdapt.data('wHasSetHeightToAjustHeightMax', '1');}}maxHeight=0;}offsetLeftLast=offsetLeft;maxHeight=elementHeight > maxHeight?elementHeight:maxHeight;childsToAdapt.push(jQuery(this));}});});jQuery('.wglAdjustHeightElement').each(function(index){try{if(jQuery(this).data('initAdjustHeightElement')==1) return true;var cE=jQuery(this);var children=cE.children('*');var childsToAdapt=new Array();var maxHeight=0;var adaptHeight=0;if(children.length > 1){jQuery(window).on('resize', function(){jQuery('.wglAdjustHeightElement').data('initAdjustHeightElement', 0);});cE.children('*').each(function(index){if(typeof jQuery(this).data('initAdjustHeightElement')!='undefined') jQuery(this).css({'height':''});var height=jQuery(this).outerHeight(true);if(maxHeight < height) maxHeight=height;childsToAdapt.push(jQuery(this));});adaptHeight=maxHeight;if(typeof onBeforeAdjustHeightElement==='function'){adaptHeight=onBeforeAdjustHeightElement(childsToAdapt);}if(adaptHeight > 0){for(var i=0; i < childsToAdapt.length; i++){childsToAdapt[i].css({'height':String(adaptHeight) + 'px'});}}}jQuery(this).data('initAdjustHeightElement', 1);}catch(e){}});};wUpdateInputDate=function(input){var elementInput=jQuery('#' + input.id.replace(/(_wDay|_wMonth|_wYear)$/, '').replace('wTmp_', ''));var dateFormat=elementInput.attr('data-dateformat');if(/dd\.\mm\.yyy/.test(dateFormat)){elementInput.val(jQuery('#wTmp_' + elementInput.attr('id') + '_wDay').val() + '.' + jQuery('#wTmp_' + elementInput.attr('id') + '_wMonth').val() + '.' + jQuery('#wTmp_' + elementInput.attr('id') + '_wYear').val());}else if(/mm\/dd\/yyyy/.test(dateFormat)){elementInput.val(jQuery('#wTmp_' + elementInput.attr('id') + '_wMonth').val() + '/' + jQuery('#wTmp_' + elementInput.attr('id') + '_wDay').val() + '/' + jQuery('#wTmp_' + elementInput.attr('id') + '_wYear').val());}else{elementInput.val(jQuery('#wTmp_' + elementInput.attr('id') + '_wYear').val() + '-' + jQuery('#wTmp_' + elementInput.attr('id') + '_wMonth').val() + '-' + jQuery('#wTmp_' + elementInput.attr('id') + '_wDay').val());}};jQuery.fn.wDatepicker=function(){if(jQuery(this).length==0){return false;}if(typeof jQuery.datepicker=='undefined'||typeof jQuery.datepicker!='undefined'&&typeof jQuery.datepicker.setDefaults=='undefined'||(typeof(datepickerRegional)=='undefined'&&wUiTmp['waitLoadDatepicker'] < 3)){wUiTmp['waitLoadDatepicker']=wUiTmp['waitLoadDatepicker']||0;if(wUiTmp['waitLoadDatepicker'] < 60){window.setTimeout(function(){jQuery('.wglDatepicker').wDatepicker();}, 100);wUiTmp['waitLoadDatepicker'] ++;}return false;}if(typeof(datepickerRegional)!='undefined'&&typeof(datepickerRegional['de'])!='undefined'){jQuery.datepicker.setDefaults(datepickerRegional['de']);}jQuery.each(jQuery(this), function(){jQuery(this).datepicker('destroy');var projectLang=document.documentElement.getAttribute('lang')?document.documentElement.getAttribute('lang'):'de';if(typeof(datepickerRegional)!='undefined'&&typeof(datepickerRegional[projectLang])!=='undefined'){jQuery.datepicker.regional[projectLang]=datepickerRegional[projectLang];}jQuery.datepicker.setDefaults(jQuery.datepicker.regional[projectLang]);var inputElement=jQuery(this);if(jQuery(this).get(0).nodeName=='DIV'){inputElement=jQuery('#' + jQuery(this).data('input'));}var attrDateMin=inputElement.data('datemin');var attrDateMax=inputElement.data('datemax');var changeYear=inputElement.data('changeyear')=='0'?false:true;var changeMonth=inputElement.data('changemonth')=='1'?true:false;var attrLimitSelectedDays=inputElement.data('limitselecteddays');var attrExcludeSelectedDays=inputElement.data('excludselecteddays');var minDate=null;var maxDate=null;if(!attrDateMin){}
44else if(attrDateMin.indexOf('today')!=-1){if(/today\s*\+\s*(\d+)years?/.test(attrDateMin)){minDate=new Date(new Date().setFullYear(new Date().getFullYear() + parseInt(RegExp.$1)));}else if(/today\s*\-\s*(\d+)years?/.test(attrDateMin)){minDate=new Date(new Date().setFullYear(new Date().getFullYear()-parseInt(RegExp.$1)));}else if(/today\s*\+\s*(\d+)/.test(attrDateMin)){minDate=new Date((new Date()).getTime() + parseInt(RegExp.$1) * 86400 * 1000);}else if(/today\s*\-\s*(\d+)/.test(attrDateMin)){minDate=new Date((new Date()).getTime()-parseInt(RegExp.$1) * 86400 * 1000);}else{minDate=new Date();}}else if(/lastDayOfMonthIfGt\-(\d+)/.test(attrDateMin)){lastDayOfMonth=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0, 0, 0, 0);today=new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 0, 0, 0);if(((lastDayOfMonth.getTime()-today.getTime()) / 86400000) > parseInt(RegExp.$1)){minDate=lastDayOfMonth;}else{minDate=new Date(new Date().getFullYear(), new Date().getMonth() + 2, 0, 0, 0, 0);}}else if(/firstDayOfMonth/.test(attrDateMin)){minDate=new Date(new Date().getFullYear(), new Date().getMonth(), 1, 0, 0, 0);}else if(/lastDayOfMonth/.test(attrDateMin)){minDate=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0, 0, 0, 0);}else if(/firstDayOfNextMonthIfGt\-(\d+)/.test(attrDateMin)){firstDayOfNextMonth=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 1, 0, 0, 0);today=new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 0, 0, 0);if(((firstDayOfNextMonth.getTime()-today.getTime()) / 86400000) > parseInt(RegExp.$1)){minDate=firstDayOfNextMonth;}else{minDate=new Date(new Date().getFullYear(), new Date().getMonth() + 2, 1, 0, 0, 0);}}else if(/firstDayOfNextMonth/.test(attrDateMin)){minDate=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 1, 0, 0, 0);}else if(/^callback:(.+)/.test(attrDateMin)){eval('if(typeof('+RegExp.$1+')===\'function\')minDate='+RegExp.$1+'()');}else if(/(>|<|>=|<=)\s*\$?(\w+)/.test(attrDateMin)){var operator=RegExp.$1;var elementName=RegExp.$2;jQuery(this).mousedown(function(){var elementRelation=jQuery('#' + elementName);if(elementRelation.length==1){var elementRelationVal=elementRelation.val();var tmpDateObject=new Date();var hasDate=false;if(/(\d\d)\.(\d\d)\.(\d\d\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$1);tmpDateObject.setMonth(RegExp.$2-1);tmpDateObject.setFullYear(RegExp.$3);hasDate=true;}else if(/(\d\d\d\d)-(\d\d)-(\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$3);tmpDateObject.setMonth(RegExp.$2-1);tmpDateObject.setFullYear(RegExp.$1);hasDate=true;}else if(/(\d\d)\/(\d\d)\/(\d\d\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$2);tmpDateObject.setMonth(RegExp.$1-1);tmpDateObject.setFullYear(RegExp.$3);hasDate=true;}if(hasDate){if(operator=='>'){tmpDateObject=new Date(tmpDateObject.getTime() + 86400000);}else if(operator=='<'){tmpDateObject=new Date(tmpDateObject.getTime()-86400000);}jQuery(this).datepicker("option", (operator=='<'?"maxDate":"minDate"), tmpDateObject);}}});}else{minDate=new Date(attrDateMin);}if(!attrDateMax){}
44else if(attrDateMax.indexOf('today')!=-1){if(/today\s*\+\s*(\d+)years?/.test(attrDateMax)){maxDate=new Date(new Date().setFullYear(new Date().getFullYear() + parseInt(RegExp.$1)));}else if(/today\s*\-\s*(\d+)years?/.test(attrDateMax)){maxDate=new Date(new Date().setFullYear(new Date().getFullYear()-parseInt(RegExp.$1)));}else if(/today\s*\+\s*(\d+)/.test(attrDateMax)){maxDate=new Date((new Date()).getTime() + parseInt(RegExp.$1) * 86400 * 1000);}else if(/today\s*\-\s*(\d+)/.test(attrDateMax)){maxDate=new Date((new Date()).getTime()-parseInt(RegExp.$1) * 86400 * 1000);}else{maxDate=new Date();}}else if(/lastDayOfMonthIfGt\-(\d+)/.test(attrDateMax)){lastDayOfMonth=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0, 0, 0, 0);today=new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 0, 0, 0);if(((lastDayOfMonth.getTime()-today.getTime()) / 86400000) > parseInt(RegExp.$1)){maxDate=lastDayOfMonth;}else{maxDate=new Date(new Date().getFullYear(), new Date().getMonth() + 2, 0, 0, 0, 0);}}else if(/lastDayOfMonth/.test(attrDateMax)){maxDate=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0, 0, 0, 0);}else if(/lastDayOfNextMonth/.test(attrDateMax)){maxDate=new Date(new Date().getFullYear(), new Date().getMonth() + 2, 0, 0, 0, 0);}else if(/firstDayOfMonth/.test(attrDateMax)){maxDate=new Date(new Date().getFullYear(), new Date().getMonth(), 1, 0, 0, 0);}else if(/firstDayOfNextMonthIfGt\-(\d+)/.test(attrDateMax)){firstDayOfNextMonth=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 1, 0, 0, 0);today=new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 0, 0, 0);if(((firstDayOfNextMonth.getTime()-today.getTime()) / 86400000) > parseInt(RegExp.$1)){maxDate=firstDayOfNextMonth;}else{maxDate=new Date(new Date().getFullYear(), new Date().getMonth() + 2, 1, 0, 0, 0);}}else if(/firstDayOfNextMonth/.test(attrDateMax)){maxDate=new Date(new Date().getFullYear(), new Date().getMonth() + 1, 1, 0, 0, 0);}else if(/^callback:(.+)/.test(attrDateMax)){eval('if(typeof('+RegExp.$1+')===\'function\')maxDate='+RegExp.$1+'()');}else if(/(>|<|>=|<=)\s*\$(\w+)/.test(attrDateMax)){var operator=RegExp.$1;var elementName=RegExp.$2;jQuery(this).mousedown(function(){var elementRelation=jQuery('#' + elementName);if(elementRelation.length==1){var elementRelationVal=elementRelation.val();var tmpDateObject=new Date();var hasDate=false;if(/(\d\d)\.(\d\d)\.(\d\d\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$1);tmpDateObject.setMonth(RegExp.$2-1);tmpDateObject.setFullYear(RegExp.$3);hasDate=true;}else if(/(\d\d\d\d)-(\d\d)-(\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$3);tmpDateObject.setMonth(RegExp.$2-1);tmpDateObject.setFullYear(RegExp.$1);hasDate=true;}else if(/(\d\d)\/(\d\d)\/(\d\d\d\d)/.test(elementRelationVal)){tmpDateObject.setDate(RegExp.$2);tmpDateObject.setMonth(RegExp.$1-1);tmpDateObject.setFullYear(RegExp.$3);hasDate=true;}if(hasDate){if(operator=='>'){tmpDateObject=new Date(tmpDateObject.getTime() + 86400000);}else if(operator=='<'){tmpDateObject=new Date(tmpDateObject.getTime()-86400000);}jQuery(this).datepicker("option", (operator=='<'?"maxDate":"minDate"), tmpDateObject);}}});}else{maxDate=new Date(attrDateMax);}var callbackLimitSelectedDays=function(day){return [true, '']};if(attrLimitSelectedDays=='workingDays'){callbackLimitSelectedDays=function(day){return [!(day.getDay()==6||day.getDay()==0), ''];};}else if(attrLimitSelectedDays=='moToSa'){callbackLimitSelectedDays=function(day){return [!(day.getDay()==0), ''];};}var excludedDays=attrExcludeSelectedDays;if(attrExcludeSelectedDays&&attrExcludeSelectedDays!=''){callbackLimitSelectedDays=function(day){var allowDay=true;var dateStr=day.getFullYear() + '-' + (day.getMonth() < 9?'0' + String(day.getMonth() + 1):String(day.getMonth() + 1)) + '-' + (day.getDate() < 10?'0' + String(day.getDate()):String(day.getDate()));var daysToExclude=excludedDays.split(',');var yearCurrent=(new Date()).getFullYear();var monthCurrent=((new Date()).getMonth() < 9?'0' + String((new Date()).getMonth() + 1):String((new Date()).getMonth() + 1));for(var i=0; i < daysToExclude.length; i++){dayToExclude=daysToExclude[i];var diffYearTmp=0;dayToExclude=dayToExclude?dayToExclude.replace(/MM(?:\(([\+\-])(\d+)\))?/g, function(tmp, diff, month){if(Number.isInteger(Number(month))){if(diff=='-'){var mr=(new Date()).getMonth() + 1-parseInt(month);return (mr < 10)?'0' + String(mr):String(mr);}else{var mr=(new Date()).getMonth() + 1 + parseInt(month);if(mr > 12){mr=mr-12;diffYearTmp=-1;}return (mr < 10)?'0' + String(mr):String(mr);}}else{var mr=(new Date()).getMonth() + 1;return mr;}}):'';dayToExclude=dayToExclude?dayToExclude.replace(/YYYY/g, yearCurrent-diffYearTmp):'';daysToExclude[i]=dayToExclude;if(/weekday\((\d+)\s*\|\s*"([^"]+)"\)/.test(daysToExclude[i].trim())){weekDayExcluded=RegExp.$1;daysAllowed=RegExp.$2;dayToCheck=day.getDay();if(dayToCheck==0){dayToCheck=7;}if(weekDayExcluded==dayToCheck){daysAllowed=daysAllowed.split('|');isAllowed=false;for(var j=0; j < daysAllowed.length; j++){dayAllowed=daysAllowed[j].trim();if(dayAllowed==dateStr){isAllowed=true;break;}}if(!isAllowed){return [false, ''];}}}else if(/weekday\((\d+)\)/.test(daysToExclude[i].trim())){weekDayExcluded=RegExp.$1;dayToCheck=day.getDay();if(dayToCheck==0){dayToCheck=7;}if(weekDayExcluded==dayToCheck){return [false, ''];}}else if(/monthday\((\d+)\s*\-\s*(\d+)\)/.test(daysToExclude[i].trim())){weekDayExcludedFrom=RegExp.$1;weekDayExcludedTo=RegExp.$2;dayToCheck=day.getDate();if(dayToCheck >=weekDayExcludedFrom&&dayToCheck <=weekDayExcludedTo){return [false, ''];}}else if(/monthday\((\d+)\)/.test(daysToExclude[i].trim())){weekDayExcluded=RegExp.$1;dayToCheck=day.getDate();if(weekDayExcluded==dayToCheck){return [false, ''];}}else if(/(\d\d\d\d\-\d\d\-\d\d)-(\d\d\d\d\-\d\d\-\d\d)/.test(daysToExclude[i].trim())){var dayFrom=RegExp.$1;var dayTo=RegExp.$2;if(dateStr >=dayFrom&&dateStr <=dayTo){return [false, ''];}}else if(dateStr==daysToExclude[i].trim()){return [false, ''];}}if(attrLimitSelectedDays=='workingDays'){return [!(day.getDay()==6||day.getDay()==0), ''];}else if(attrLimitSelectedDays=='moToSa'){return [!(day.getDay()==0), ''];}else{return [true, ''];}};}jQuery(this).on('change', function(datepicker){var inputElement=jQuery(this);var value=inputElement.val();var isInline=false;if(jQuery(this).get(0).nodeName=='DIV'){isInline=true;inputElement=jQuery('#' + jQuery(this).data('input'));var dateFormat=inputElement.data('dateformat');var date=new Date(parseInt(datepicker.timeStamp));value=jQuery(this).val().replace(/(\d+)\/(\d+)\/(\d+)/, '$2.$1.$3');}if(inputElement.data('dateformat')=='D, dd.mm.yy'){if(/^\s*(\d+)\.(\d+)\.(\d\d\d\d)\s*$/.test(value)){value=value.replace(/^\s*(\d)\.(\d+)\.(\d\d\d\d)\s*$/, '0' + value).replace(/^\s*(\d+)\.(\d)\.(\d\d\d\d)\s*$/, RegExp.$1 + '.0' + RegExp.$2 + '.' + RegExp.$3);try{var dDay=(new Date(RegExp.$3 + '-' + RegExp.$2 + '-' + RegExp.$1 + ' 12:00:00')).getDay();var dShort=jQuery.datepicker.regional['de']['dayNamesShort'][dDay];value=dShort + ', ' + value;}catch(e){}}}else if(inputElement.data('dateformat')=='dd.mm.yy'){if(/^(\d\.)(\d\.\d\d\d\d)\s*$/.test(value)){value='0' + RegExp.$1 + '0' +  RegExp.$2;}else if(/^(\d)\.(\d+)\.(\d\d\d\d)\s*$/.test(value)){value='0' + value;}else if(/^(\d+\.)(\d\.\d\d\d\d)\s*$/.test(value)){value=RegExp.$1 + '0' + RegExp.$2;}}inputElement.val(value);if(typeof(wOnAfterChangeDate)==='function'){wOnAfterChangeDate(inputElement);}});prepareAccessibility=function(cI, inst){var curDp=jQuery('#ui-datepicker-div .ui-state-active');var curDate=inputElement.datepicker("getDate");if(!(curDate instanceof Date)) curDate=new Date();jQuery(document).off('keyup.datepicker').on('keyup.datepicker', function(e){if(e.key==='Escape'){cI.input.datepicker('hide');return false;}var curDP=jQuery("#ui-datepicker-div");var tmpDate=curDate;var day=curDate.getDate();var dir='next';if(e.key==='ArrowUp'){curDate.setDate(curDate.getDate()-7);dir='prev';}else if(e.key==='ArrowDown'){curDate.setDate(curDate.getDate()+7);}else if(e.key==='ArrowLeft'){curDate.setDate(curDate.getDate()-1);dir='prev';}else if(e.key==='ArrowRight'){curDate.setDate(curDate.getDate()+1);}else if(e.key=='Tab'){curDate.setDate(curDate.getDate()+1);var curA=curDP.find('a[data-date="' + (day+1) + '"]');var lastElement=curA.closest('td').next('.ui-datepicker-other-month');var lastRow=curA.closest('tr').is(':last-child');var lastCol=curA.closest('td').is(':last-child');if(lastRow&&lastCol&&lastElement.length==0){curA.closest('tr').append('<td class="ui-datepicker-other-month" >XX</td>');lastElement=curA.closest('td').next('.ui-datepicker-other-month');}if(lastElement.length > 0){lastElement.attr('tabindex' , '0');lastElement.on('focus.othermonth', function(){curDP.find('a[data-date="1"]').focus();lastElement.attr('tabindex', '-1').off('focus.othermonth');});}}var newDay=curDate.getDate();if(dir=='prev'&&newDay > day) curDP.find(".ui-datepicker-prev").trigger("click");if(dir=='next'&&newDay < day) curDP.find(".ui-datepicker-next").trigger("click");curDP.find('a[data-date="' + day + '"]').css({'outline':'none'});curDP.find('a[data-date="' + newDay + '"]').css({'outline':'1px solid black'}).focus();e.stopPropagation();e.stopImmediatePropagation();});};stopAccessibility=function(input, inst){jQuery(document).off('keyup.datepicker');var next=input.input.closest('.formElement').next();if(next.length > 0) next.attr('tabindex' , '-1').focus().removeAttr('tabindex' , '-1');input.input.off('focus').off('click').off('keydown')
45.on('click', function(e){input.input.datepicker("show");})
46.on('keydown', function(e){if(e.key=='Tab'&&!e.shiftKey){input.input.datepicker("show");}});};jQuery(this).datepicker({beforeShow:function(input, inst) {setTimeout(function() {prepareAccessibility(inst);}, 0)},beforeShowDay:callbackLimitSelectedDays,changeYear:changeYear,changeMonth:changeMonth,minDate:minDate,maxDate:maxDate,dateFormat:inputElement.data('dateformat'),onClose:function(input, inst) {setTimeout(function() {stopAccessibility(inst);}, 0)},onSelect:function(){var inputElement=jQuery(this);var value=inputElement.val();var isInline=false;var attrPlaceholder=inputElement.attr('placeholder');var addPlacholderToLabelAfterSelect=inputElement.data('placeholdertolabelafterselect');if(jQuery(this).get(0).nodeName=='DIV'){isInline=true;inputElement=jQuery('#' + jQuery(this).data('input'));inputElement.val(value);}inputElement.data('haschanged', 1);if(addPlacholderToLabelAfterSelect=='1'&&attrPlaceholder&&attrPlaceholder!=''){if(inputElement.parent().prev('div').find('label').length==0){inputElement.parent().prev('div').append(jQuery('<label for="' + inputElement.attr('id') + '">' + attrPlaceholder +'</label>'));}}var onchange=(inputElement.data('onchange')?inputElement.data('onchange'):'').trim();if(/adaptInputToThisDate\('([^']+)',\s*(\d+)\)/.test(onchange)){inputToAdaptId=RegExp.$1;valueToAdapt=RegExp.$2;if(jQuery('#' + inputToAdaptId).length!=0){inputToAdapt=jQuery('#' + inputToAdaptId);if(inputToAdapt.data('haschanged')!='1'){if(/(\w+),\s*(\d\d)\.(\d\d)\.(\d\d\d\d)/.test(value)){var dateObj=new Date(RegExp.$4, parseInt(RegExp.$3)-1, RegExp.$2);if(valueToAdapt > 0){dateObj.setDate(dateObj.getDate() + parseInt(valueToAdapt));}var dateStr=(dateObj.getDate() < 10?'0' + String(dateObj.getDate()):String(dateObj.getDate())) + '.' + (d
46ateObj.getMonth() < 9?'0' + String(dateObj.getMonth() + 1):String(dateObj.getMonth() + 1)) + '.' + dateObj.getFullYear();var daysOfWeek=['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];var weekDay=daysOfWeek[dateObj.getDay()];if(jQuery.datepicker.regional['de']){weekDay=jQuery.datepicker.regional['de']['dayNamesMin'][dateObj.getDay()];}inputToAdapt.val(weekDay + ', ' + dateStr);jQuery(inputToAdapt).trigger('change');}else if(/(\d\d)\.(\d\d)\.(\d\d\d\d)/.test(value)){var dateObj=new Date(RegExp.$3, parseInt(RegExp.$2)-1, RegExp.$1);if(valueToAdapt > 0){dateObj.setDate(dateObj.getDate() + parseInt(valueToAdapt));}var dateStr=(dateObj.getDate() < 10?'0' + String(dateObj.getDate()):String(dateObj.getDate())) + '.' + (dateObj.getMonth() < 9?'0' + String(dateObj.getMonth() + 1):String(dateObj.getMonth() + 1)) + '.' + dateObj.getFullYear();inputToAdapt.val(dateStr);jQuery(inputToAdapt).trigger('change');}else if(/(\d\d\d\d)-(\d\d)-(\d\d)/.test(value)){var dateObj=new Date(RegExp.$1, parseInt(RegExp.$2)-1, RegExp.$3);if(valueToAdapt > 0){dateObj.setDate(dateObj.getDate() + parseInt(valueToAdapt));}var dateStr=dateObj.getFullYear() + '-' + (dateObj.getMonth() + 1 < 10?'0' + String(dateObj.getMonth() + 1):String(dateObj.getMonth() + 1))  + '-' + (dateObj.getDate() < 10?'0' + String(dateObj.getDate()):String(dateObj.getDate()));inputToAdapt.val(dateStr);jQuery(inputToAdapt).trigger('change');}if(jQuery('div[data-input=\'' + inputToAdapt.attr('id') + '\']').length==1){var dateInit=inputToAdapt.val();jQuery('div[data-input=\'' + inputToAdapt.attr('id') + '\']').datepicker('setDate', dateInit);}}}}var onchangescript=(inputElement.data('onchangescript')?inputElement.data('onchangescript'):'').trim();if(onchangescript!=''){eval(onchangescript);onchange='';}jQuery(inputElement).trigger('change');}});if(minDate){if(maxDate){jQuery(this).datepicker("option", "yearRange", String(minDate.getYear() + 1900) + ':' + String(maxDate.getYear() + 1900));}else{jQuery(this).datepicker("option", "yearRange", String(minDate.getYear() + 1900) + ':+10');}}else if(maxDate){jQuery(this).datepicker("option", "yearRange", '1970:' + String(maxDate.getYear() + 1900));}});};hasNotYetLoadedAllCss=function(){var divTmp=document.getElementById('deferred-styles-dyn');if(!divTmp||divTmp&&window.getComputedStyle(divTmp).display=='none'){return false;}return true;};jQuery.fn.wPictureGallery=function(options){var options=options||{};options['timeout']=options['timeout']?options['timeout']:8;var hasGalleriesToInitLater=false;jQuery.each(jQuery(this), function(){var pictureGalleryCurrent=jQuery(this);if(pictureGalleryCurrent.is(":visible")&&!pictureGalleryCurrent.data('wasinit')&&typeof(initGallery)==='function'&&!hasNotYetLoadedAllCss()){var pictureGalleryCurrentId=pictureGalleryCurrent.attr('id').replace(/pictureGallery_/, '');eval('selectEntry_' + pictureGalleryCurrentId + '=function (position){selectListEntryGallery(pictureGalleryCurrentId, position);}');pictureGalleryCurrent.attr('data-wasinit', 1);initGallery(pictureGalleryCurrentId);}else{hasGalleriesToInitLater=true;}});if(hasGalleriesToInitLater&&options['timeout'] > 1){window.setTimeout(function(){jQuery('.wglPictureGallery').wPictureGallery({'timeout':options['timeout']-1});}, 320);}};jQuery.fn.wBannerSlider=function(options){var options=options||{};options['timeout']=options['timeout']?options['timeout']:8;var hasBannerSlidersToInitLater=false;jQuery.each(jQuery(this), function(){var bannerSliderCurrent=jQuery(this);var doAnimationIfVisibleOnce=true;if(bannerSliderCurrent.hasClass('wglAnimateIfVisibleOnce')&&!bannerSliderCurrent.hasClass('isVisible')){doAnimationIfVisibleOnce=false;bannerSliderCurrent.attr('data-doifbecomevisibleonce', 'jQuery(this).wBannerSlider();');}if(doAnimationIfVisibleOnce&&bannerSliderCurrent.is(":visible")&&bannerSliderCurrent.attr('data-wasinit')!='1'&&typeof(initBannerSlider)==='function'&&!hasNotYetLoadedAllCss()){var bannerSliderCurrentId=bannerSliderCurrent.attr('id').replace(/bannerSlider_/, '');var options={};options['initOn']=options['initon']||jQuery(this).data('initon');options['initOpen']=options['initopen']||jQuery(this).data('initopen');options['initDelay']=options['initDelay']||jQuery(this).data('initdelay');if(options['initDelay']==''){options['initDelay']=0;}else{options['initDelay'] *=1000;}eval('selectEntry_' + bannerSliderCurrentId + '=function (position){selectListEntryBannerSlider(bannerSliderCurrentId, position);}');var bannerSliderInit=function(){window.setTimeout(function(){try{initBannerSlider(bannerSliderCurrentId);bannerSliderCurrent.attr('data-wasinit', 1);if(typeof(options['initOpen'])!='undefined'&&options['initOpen']!=''){window.bannerSliderObjects[bannerSliderCurrentId]={};selectListEntryBannerSlider(bannerSliderCurrentId, parseInt(options['initOpen']), {'animation':'none'});}}catch(e){}}, options['initDelay']);};if(options['initOn']=='load'){if(wUiTmp['windowLoad']){bannerSliderInit();}else{if(typeof(wUiTmp['callbackAfterLoad'])=='undefined'){wUiTmp['callbackAfterLoad']=[];}wUiTmp['callbackAfterLoad'].push(bannerSliderInit);}}else{bannerSliderInit();}}else{hasBannerSlidersToInitLater=true;}});if(hasBannerSlidersToInitLater&&options['timeout'] > 1){window.setTimeout(function(){jQuery('.wglBannerSlider').wBannerSlider({'timeout':options['timeout']-1});}, 320);}};class wClassTicker{constructor(object, options){this.object=object;this.options=options;this.containerId=String(parseInt(Math.random() * 1000));this.initWidth=10000;this.basicDuration=15000;this.basicDurationWidth=jQuery(window).width();if(this.options['basicDurationWidth']) this.basicDurationWidth=this.options['basicDurationWidth'];this.initTimeout=100;this.tickerData=new Array();this.cOWidth=0;this.changedInitWidth=false;this.cO=null;this.multi=4;this.interval=null;this.visible=false;this.leftRepeat=0;this.init();}init(){const self=this;jQuery.each(this.object.children(), function(){var tWidth=jQuery(this).children().first().outerWidth();if(self.options['refElementWidth']!=''){var o=jQuery(this).find(self.options['refElementWidth']);if(o.length > 0) tWidth=o.outerWidth();else tWidth=0;}self.cOWidth +=tWidth;var clNode=jQuery(jQuery(this).children().first()).clone(true);if(jQuery(this).hasClass('clickable')&&jQuery(this).attr('onclick')!=''){clNode.attr('onclick', jQuery(this).attr('onclick')).addClass('clickable');}self.tickerData.push(clNode);});if(Boolean(self.options['infinityClonedNr'])){self.multi=self.options['infinityClonedNr'];}else if(self.cOWidth*self.multi > self.initWidth){self.multi=2;self.cOWidth *=self.multi;self.options['speed']=parseInt(self.options['speed'])*6;self.changedInitWidth=true;}else{self.cOWidth=0;if(self.tickerData.length==1)       self.multi=12;else if(self.tickerData.length==2)  self.multi=6;else if(self.tickerData.length==3)  self.multi=4;}jQuery('<div class="listTicker ' + self.object.attr('class') + '" id="' + self.containerId + '"><div style="'+(self.cOWidth > 0?'width:'+self.cOWidth+'px':'')+'" class="listTickerInner" id="' + self.containerId + '_inner"></div></div>').replaceAll(self.object);self.cO=jQuery('#' + self.containerId + '_inner');if(this.options['version']=='2.0'){setTimeout(()=> {self.cO.css({'width':'auto'});self.cOWidth=self.cO.outerWidth(true);self.cO.css({'width':self.cOWidth + 'px'});}, self.initTimeout);}if(self.options['repeatMode']=='continue'){for(var j=0; j < self.multi; j++){for(var i=0; i!=self.tickerData.length; i++){self.cO.append(self.options['delimiter']);self.cO.append(jQuery(self.tickerData[i]).clone(true));}}self.cO.css('margin-left', '0');}else{for(var i=0; i!=self.tickerData.length; i++){if(i!=0){self.cO.append(self.options['delimiter']);}self.cO.append(jQuery(self.tickerData[i]).clone(true));}}self.cO.data('hasFinishedLoop', '1');}isVisible(){this.visible=this.cO.is(':visible');return this.visible;}start(){const self=this;window.setTimeout(function(){var widthContainerInner=document.getElementById('' + self.containerId + '_inner').offsetWidth;var duration=400 * widthContainerInner / (self.multi * self.options['speed']);if(self.options['version']=='2.0'&&self.options['repeatMode']=='continue'&&self.options['direction']=='ltr'){widthContainerInner=self.cOWidth;var marginLeft=widthContainerInner/self.multi;var duration=self.basicDuration*(marginLeft/self.basicDurationWidth);self.cO.css('margin-left', '-' + marginLeft + 'px');self.interval=setInterval(function(){if(jQuery('html').hasClass('waAvoidAnimations')){self.cO.stop(true, false);paused=true;}else if(paused){self.cO.animate({'marginLeft':'0' }, {'duration':duration , 'easing':'linear', 'queue':false, 'complete':function(){self.cO.data('hasFinishedLoop', '1');}});paused=false;}else if(self.cO.data('hasFinishedLoop')=='1'){self.cO.css('margin-left', '-' + marginLeft + 'px');self.cO.data('hasFinishedLoop', '0').css('margin-left', '-' + String(marginLeft)).animate({'marginLeft':'0' }, {'duration':duration , 'easing':'linear', 'queue':false, 'complete':function(){self.cO.data('hasFinishedLoop', '1');}});}}, 10);}else if(self.options['version']=='2.0'&&self.options['repeatMode']=='continue'){widthContainerInner=self.cOWidth;var marginLeft=widthContainerInner/self.multi;var duration=self.basicDuration*(marginLeft/self.basicDurationWidth);var paused=false;self.interval=setInterval(function(){if(jQuery('html').hasClass('waAvoidAnimations')){self.cO.stop(true, false);paused=true;}else if(paused){self.cO.animate({'marginLeft':'-' + String(marginLeft)}, {'duration':duration , 'easing':'linear', 'queue':false, 'complete':function(){self.cO.data('hasFinishedLoop', '1');}});paused=false;}else if(self.cO.data('hasFinishedLoop')=='1'){self.cO.data('hasFinishedLoop', '0').css('margin-left', '0').animate({'marginLeft':'-' + String(marginLeft)}, {'duration':duration , 'easing':'linear', 'queue':false, 'complete':function(){self.cO.data('hasFinishedLoop', '1');}});}}, 10);}else if(self.options['repeatMode']=='continue'&&self.options['animationEngine']=='css'&&self.options['direction']=='ltr'){self.leftRepeat=jQuery('#' + self.containerId + '_inner > div').outerWidth() * self.tickerData.length * self.multi / 2;self.cO.css({'transform':'translateX(-' + self.leftRepeat + 'px)'});window.setTimeout(function(){self.cO.data('hasFinishedLoop', '0').css({'transition':'all ' + (duration / (self.multi) * 0.001) + 's linear', 'transform':'translateX(0)'});self.interval=setInterval(function(){self.cO.css({'transition':'none', 'transform':'translateX(-' + self.leftRepeat + 'px)'});window.setTimeout(function(){self.cO.css({'transition':'all ' + (duration / (self.multi) * 0.001) + 's linear', 'transform':'translateX(0)'});}, 32);}, duration / self.multi);}, 32);}else if(self.options['repeatMode']=='continue'&&self.options['animationEngine']=='css'){var lastEntry=self.cO.children().eq(self.tickerData.length-1);var entry=lastEntry;self.leftRepeat=jQuery('#' + self.containerId + '_inner > div').outerWidth() * self.tickerData.length * self.multi / 2;self.leftRepeat=self.leftRepeat+((parseInt(entry.css('margin-left'))+parseInt(entry.css('margin-right')))*(self.tickerData.length*self.multi/2)-2);if(self.changedInitWidth){var leftRepeat=lastEntry.offset()['left'] + lastEntry.outerWidth()-(parseInt(lastEntry.css('margin-left'))+parseInt(lastEntry.css('margin-right')))*self.tickerData.length;leftRepeat=(self.cOWidth/self.multi)+((parseInt(entry.css('margin-left'))+parseInt(entry.css('margin-right')))*self.tickerData.length);}self.cO.data('hasFinishedLoop', '0').css({'transition':'all ' + (duration / (self.multi) * 0.001) + 's linear', 'transform':'translateX(-' + self.leftRepeat + 'px)'});self.interval=setInterval(function(){self.cO.css({'transition':'none', 'transform':'translateX(0)'});window.setTimeout(function(){self.cO.css({'transition':'all ' + (duration / (self.multi) * 0.001) + 's linear', 'transform':'translateX(-' + self.leftRepeat + 'px)'});}, 16);}, duration / self.multi);}else if(self.options['repeatMode']=='continue'){self.interval=setInterval(function(){if(self.cO.data('hasFinishedLoop')=='1'){self.cO.data('hasFinishedLoop', '0').css('margin-left', '0').animate({'marginLeft':'-' + String(widthContainerInner) / self.multi}, {'duration':duration / (2 * self.multi), 'easing':'linear', 'queue':false, 'complete':function(){self.cO.data('hasFinishedLoop', '1');}});}}, 10);}else if(self.options['repeatMode']=='loop'){self.interval=setInterval(function(){if(self.cO.data('hasFinishedLoop')=='1'){self.cO.data('hasFinishedLoop', '0').css('margin-left', String(jQuery('#' + self.containerId).width()) + 'px').animate({'marginLeft':'-' + String(widthContainerInner)}, duration, 'linear', function(){self.cO.data('hasFinishedLoop', '1');});}}, 100);}else{self.cO.animate({'marginLeft':'-' + String(widthContainerInner)}, duration, 'linear');}}, self.initTimeout + parseInt(self.options['delayStart']) * 1000);}reset(){const self=this;self.cO.css({'transition':'none', 'transform':'translateX(0)'});if(typeof self.interval==='number'){clearInterval(self.interval);self.interval=null;}}}jQuery.fn.wTicker=function(){if(typeof(window.tickerObjects)=='undefined') window.tickerObjects={};if(jQuery('html').hasClass('waAvoidAnimations')) return;jQuery.each(jQuery(this), function(){var options={};options['delayStart']=jQuery(this).data('delaystart')?parseInt(j
46Query(this).data('delaystart')):0;options['speed']=jQuery(this).data('speed')?parseFloat(jQuery(this).data('speed')):5;options['direction']=jQuery(this).data('direction')&&jQuery(this).data('direction')=='ltr'?'ltr':'rtl';options['delimiter']=jQuery(this).data('delimiter')?jQuery(this).data('delimiter'):'';options['repeatMode']=jQuery(this).data('repeatmode')?jQuery(this).data('repeatmode'):'continue';options['animationEngine']=jQuery(this).data('animationengine')?jQuery(this).data('animationengine'):'';options['infinityClonedNr']=parseInt(jQuery(this).data('infinityclonednr'));options['refElementWidth']=jQuery(this).data('refelementwidth')?jQuery(this).data('refelementwidth'):'';options['version']=jQuery(this).data('version')?jQuery(this).data('version'):'';options['basicDurationWidth']=jQuery(this).data('basicdurationwidth')?jQuery(this).data('basicdurationwidth'):'';var tO=null;if(window.tickerObjects[jQuery(this).attr('id')]===undefined){tO=new wClassTicker(jQuery(this), options);window.tickerObjects[tO.containerId]=tO;}else{tO=window.tickerObjects[jQuery(this).attr('id')];}if(tO.isVisible()) tO.start();else tO.reset();});};jQuery.fn.wImageMap=function(){if(jQuery('.imageMap[data-object-fit="height"]')){jQuery(window).on('resize', function(){jQuery('.imageMap[data-object-fit="height"]').each(function(options){var computedStyle=window.getComputedStyle(jQuery(this).get(0));var widthImage=parseInt(computedStyle.width);var heightImage=parseInt(computedStyle.height);var computedStyleParent=window.getComputedStyle(jQuery(this).parent().get(0));var widthParent=parseInt(computedStyleParent.width);if(widthImage > widthParent + 1){jQuery(this).css({'margin-left':String((widthParent-widthImage) / 2) + 'px'});}else{jQuery(this).css({'margin-left':'auto'});}});});}jQuery.each(jQuery(this), function(options){if(jQuery(this).data('hasInit')!='1'){var iMi=jQuery(this).find('.imageMap');var iMl=jQuery(this).find('.imageMapLabels');jQuery(this).find('.imageMap').on('click', function(event){if(jQuery(event.target).closest('.mapEntry').length==0){iMl.find('.mapLabel').removeClass('clickedEntry').removeClass('clicked');iMi.find('.mapEntry').removeClass('clickedLabel').removeClass('clicked');}});jQuery(this).find('.mapEntry').on('mouseenter', function(event){if(jQuery(this).attr('data-event')=='clickOnly') return true;jQuery(this).addClass('mouseover').siblings('.mapEntry').removeClass('clicked').removeClass('clickedEntry');var iMim=jQuery(this).find('.mapEntryIcon > img')
47if(iMim.length==1){iMim.data('srcorig', iMim.attr('src'));iMim.attr('src', iMim.data('imgmo'));}iMl.find('.mapLabel').addClass('no-mouseoverEntry').removeClass('clicked').removeClass('clickedEntry');iMl.find('.mapLabel[data-id="' + jQuery(this).data('id') + '"]').removeClass('no-mouseoverEntry').addClass('mouseoverEntry');});jQuery(this).find('.mapEntry').on('mouseleave', function(event){if(jQuery(this).attr('data-event')=='clickOnly') return true;jQuery(this).removeClass('mouseover');var iMim=jQuery(this).find('.mapEntryIcon > img')
48if(iMim.length==1&&iMim.data('srcorig')){iMim.attr('src', iMim.data('srcorig'));}iMl.find('.mapLabel').removeClass('no-mouseoverEntry');iMl.find('.mapLabel[data-id="' + jQuery(this).data('id') + '"]').removeClass('mouseoverEntry');});jQuery(this).find('.mapLabel').on('mouseenter', function(event){if(jQuery(this).attr('data-event')=='clickOnly') return true;jQuery(this).addClass('mouseover').siblings('.mapLabel').removeClass('clickedLabel');iMi.find('.mapEntry').addClass('no-mouseoverLabel').removeClass('clicked').removeClass('clickedLabel');iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').removeClass('no-mouseoverLabel').addClass('mouseoverLabel');var iMim=iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').find('.mapEntryIcon > img')
49if(iMim.length==1){iMim.data('srcorig', iMim.attr('src'));iMim.attr('src', iMim.data('imgmo'));}});jQuery(this).find('.mapLabel').on('mouseleave', function(event){if(jQuery(this).attr('data-event')=='clickOnly') return true;jQuery(this).removeClass('mouseover');iMi.find('.mapEntry').removeClass('no-mouseoverLabel');iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').removeClass('mouseoverLabel');var iMim=iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').find('.mapEntryIcon > img')
50if(iMim.length==1&&iMim.data('srcorig')){iMim.attr('src', iMim.data('srcorig'));}});jQuery(this).find('.mapEntry').on('click', function(event){jQuery(this).siblings('.mapEntry').removeClass('clicked').removeClass('clickedLabel');jQuery(this).toggleClass('clicked');iMl.find('.mapLabel[data-id="' + jQuery(this).data('id') + '"]').toggleClass('clickedEntry').siblings('.mapLabel').removeClass('clickedEntry').removeClass('clicked');if(iMl.attr('data-scrolltoelement')=='yes'){if(iMl.css('display')=='block') wScrollSmoothToElement(iMl.find('.mapLabel[data-id="' + jQuery(this).data('id') + '"]'));}});jQuery(this).find('.mapLabel').on('click', function(event){jQuery(this).siblings('.mapLabel').removeClass('clicked').removeClass('clickedEntry');jQuery(this).toggleClass('clicked');iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').toggleClass('clickedLabel').siblings('.mapEntry').removeClass('clickedLabel').removeClass('clicked');if(iMi.find('.imageMapEntries').attr('data-scrolltoelement')=='yes'){try{wScrollSmoothToElement(iMi);iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"]').trigger('mouseenter');var offsetLeft=iMi.find('.mapEntry[data-id="' + jQuery(this).data('id') + '"] .mapEntryMarker').position().left;if(offsetLeft > iMi.width()) iMi.scrollLeft(offsetLeft + iMi.width()/2);if(offsetLeft < iMi.scrollLeft()) iMi.scrollLeft(offsetLeft-iMi.width()/2);}catch(e){}}});}jQuery(this).data('hasInit', '1');jQuery(this).find('.mapEntry').each(function(options){var connectorMarker=jQuery(this).find('.mapEntryConnectorMarker');var connectorInfobox=jQuery(this).find('.mapEntryConnectorInfo');var infobox=jQuery(this).find('.mapEntryInfo');if(connectorMarker.length&&connectorInfobox.length){var computedStyleConnectorMarker=window.getComputedStyle(connectorMarker.get(0));var computedStyleConnectorInfobox=window.getComputedStyle(connectorInfobox.get(0));var lm=parseFloat(connectorMarker[0].style.left);var tm=parseFloat(connectorMarker[0].style.top);var li=parseFloat(connectorInfobox[0].style.left);var ti=parseFloat(connectorInfobox[0].style.top);var wi=infobox.outerWidth();var hi=infobox.outerWidth();var mlm=computedStyleConnectorMarker['margin-left'];var mtm=computedStyleConnectorMarker['margin-top'];var mli=computedStyleConnectorInfobox['margin-left'];var mti=computedStyleConnectorInfobox['margin-top'];var line1=jQuery(this).find('.mapEntryLine-1');var line2=jQuery(this).find('.mapEntryLine-2');var line3=jQuery(this).find('.mapEntryLine-3');var lineWidth=1;if(ti <=tm&&li >=lm&&parseFloat(mtm) < 0){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(ti + (tm-ti) / 2) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':String((tm-ti) / 2) + '%'});line2.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(ti + (tm-ti) / 2) + '% + ' + mtm + ')', 'width':'calc(' + String(li-lm) + '% ' + '-' + ' ' + mlm + ' + ' + lineWidth + 'px)', 'height':String(lineWidth) + 'px'});line3.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':String(ti) + '%', 'width':String(lineWidth) + 'px', 'height':'calc(' + String((tm-ti) / 2) + '% + ' + mtm + ')'});}else if(ti <=tm&&li <=lm&&parseFloat(mtm) < 0){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(ti + (tm-ti) / 2) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':String((tm-ti) / 2) + '%'});line2.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':'calc(' + String(ti + (tm-ti) / 2) + '% + ' + mtm + ')', 'width':'calc(' + String(lm-li) + '% ' + '-' + ' ' + mli + ' + ' + lineWidth + 'px)', 'height':String(lineWidth) + 'px'});line3.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':String(ti) + '%', 'width':String(lineWidth) + 'px', 'height':'calc(' + String((tm-ti) / 2) + '% + ' + mtm + ')'});}else if(ti > tm&&li > lm&&parseFloat(mtm) > 0){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':String((ti-tm) / 2) + '%'});line2.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(ti + (tm-ti) / 2) + '% + ' + mtm + ')', 'width':'calc(' + String(li-lm) + '% ' + '-' + ' ' + mlm + ' + ' + lineWidth + 'px)', 'height':String(lineWidth) + 'px'});line3.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':'calc(' + String(tm + (ti-tm) / 2) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String((ti-tm) / 2) + '% ' + '-' + ' ' + mtm + ')'});}else if(ti > tm&&li < lm&&parseFloat(mtm) > 0){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':String((ti-tm) / 2) + '%'});line2.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':'calc(' + String(tm + (ti-tm) / 2) + '% + ' + mtm + ')', 'width':'calc(' + String(lm-li) + '% ' + '-' + ' ' + mlm + ' + ' + lineWidth + 'px)', 'height':String(lineWidth) + 'px'});line3.css({'left':'calc(' + String(li) + '% + ' + mli + ')', 'top':'calc(' + String(tm + (ti-tm) / 2) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String((ti-tm) / 2) + '% ' + '-' + ' ' + mtm + ')'});}else if(li >=lm&&ti >=tm){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':'calc(' + String((li-lm) / 2) + '% ' + '-' + ' ' + mlm + ')', 'height':String(lineWidth) + 'px'});line2.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String(ti-tm) + '% ' + '-' + ' ' + mtm + ' + ' + lineWidth + 'px)'});line3.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':String((li-lm) / 2) + '%', 'height':String(lineWidth) + 'px'});}else if(li >=lm&&ti <=tm){line1.css({'left':'calc(' + String(lm) + '% + ' + mlm + ')', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':'calc(' + String((li-lm) / 2) + '% ' + '-' + ' ' + mlm + ')', 'height':String(lineWidth) + 'px'});line2.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String(tm-ti) + '% ' + '-' + ' ' + mti + ' + ' + lineWidth + 'px)'});line3.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':String((li-lm) / 2) + '%', 'height':String(lineWidth) + 'px'});}else if(li < lm&&ti > tm){line1.css({'left':'calc(' + String(li + (lm-li) / 2) + '% + ' + 0 + 'px)', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':'calc(' + String((lm-li) / 2) + '% + ' + mlm + ')', 'height':String(lineWidth) + 'px'});line2.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String(ti-tm) + '% ' + '-' + ' ' + mtm + ' + ' + lineWidth + 'px)'});line3.css({'left':'calc(' + String(li) + '% + ' + 0 + 'px)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':'calc(' + String((lm-li) / 2) + '% + 0px)', 'height':String(lineWidth) + 'px'});}else if(li < lm&&ti < tm){line1.css({'left':'calc(' + String(li + (lm-li) / 2) + '% + ' + 0 + 'px)', 'top':'calc(' + String(tm) + '% + ' + mtm + ')', 'width':'calc(' + String((lm-li) / 2) + '% + ' + mlm + ')', 'height':String(lineWidth) + 'px'});line2.css({'left':'calc(' + String(lm + (li-lm) / 2) + '%)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':String(lineWidth) + 'px', 'height':'calc(' + String(tm-ti) + '% ' + '-' + ' ' + mti + ' + ' + lineWidth + 'px)'});line3.css({'left':'calc(' + String(li) + '% + ' + 0 + 'px)', 'top':'calc(' + String(ti) + '% + ' + mti + ')', 'width':'calc(' + String((lm-li) / 2) + '% + 0px)', 'height':String(lineWidth) + 'px'});}}});});};jQuery.fn.wImageCompare=function(){jQuery.each(jQuery(this), function(options){if(jQuery(this).data('hasInit')!='1'){jQuery(this).data('hasInit', '1');var fg=jQuery(this);fg.append('<div class="wglImageCompareSlider"><div><span></span><span></span></div></div>');var sl=fg.find('.wglImageCompareSlider');var pf=jQuery(this).find('picture:first-child');var pl=jQuery(this).find('picture:nth-child(2)');var po=[];var ps=-1;var ia=false;var getSizes=function () {po=[fg.offset().left, fg.offset().top, pl.width(), pl.height()];if (ps===-1) {ps=(po[2] / 2);if (ps===0) {var visibleParent=fg.parents(':visible');if(visibleParent.length > 0) {ps=visibleParent.width() / 2;}}}};var adaptSlider=function(){pl.css('clip', 'rect(0, ' + ps + 'px, ' + po[3] + 'px, 0)');sl.css({'left':ps + 'px', 'height':po[3] + 'px'});};fg.on('mousedown touchstart', function(event){event.preventDefault();event.stopPropagation();ia=true;});fg.on('mousemove touchmove', function(event){event.stopPropagation();if(ia){var pageX=event.pageX?event.pageX:event.touches[0].pageX;ps=pageX-po[0];ps=ps < 0?0:(ps > po[2]?po[2]:ps);adaptSlider();}});fg.on('mouseup touchend', function(event){ia=false;});jQuery(window).on('resize', function(){getSizes();adaptSlider();});window.setTimeout(function(){getSizes();adaptSlider();}, 200);window.setTimeout(function(){getSizes();adaptSlider();}, 400);window.setTimeout(function(){getSizes();adaptSlider();}, 800);getSizes();adaptSlider();jQuery(this).addClass('hasInit');}});};jQuery.fn.wSearchSuggest=function(){jQuery.each(jQuery(this), function(index){var cE=jQuery(this);cE.attr('autocomplete', 'off');cE.on('keydown', function(event){if(event.keyCode==27){jQuery('#searchSuggestOuter').remove();}else if(event.keyCode==40||event.keyCode==38){event.preventDefault();if(event.target.value==''){return false;}var positionSuggestSelected=0;if(event.target.getAttribute('data-positionsuggestedselected')){positionSuggestSelected=positionSuggestSelected + parseInt(event.target.getAttribute('data-positionsuggestedselected'));}positionSuggestSelected=event.keyCode==40?positionSuggestSelected + 1:positionSuggestSelected-1;
50if(positionSuggestSelected > jQuery('#searchSuggestOuter .searchSuggestEntry').length){positionSuggestSelected=jQuery('#searchSuggestOuter .searchSuggestEntry').length;}else if(positionSuggestSelected < 1){positionSuggestSelected=1;}if(jQuery('#searchSuggestOuter .searchSuggestEntry:nth-child(' + positionSuggestSelected + ')').data('word')){event.target.value=jQuery('#searchSuggestOuter .searchSuggestEntry:nth-child(' + positionSuggestSelected + ')').data('word');event.target.setAttribute('data-positionsuggestedselected', positionSuggestSelected);}jQuery('#searchSuggestOuter .searchSuggestEntry').removeClass('selected');jQuery('#searchSuggestOuter .searchSuggestEntry:nth-child(' + positionSuggestSelected + ')').addClass('selected');}});const debounceSuggest=typeof(wDebounceSuggest)!='undefined'?wDebounceSuggest:300;const debouncedHandler=wDebounce(wKeydownSuggest, debounceSuggest);cE.on('keyup', function(event){event.preventDefault();if(event.keyCode==40||event.keyCode==38){event.preventDefault();return;}wUiTmp['wKeydownSuggestThis']=jQuery(this);debouncedHandler();});cE.on('blur', function(event){event.preventDefault();jQuery('#searchSuggestOuter').remove();});cE.parent().on('mousedown', function(e){if(jQuery(e.target).closest('.searchSuggestEntry').length){jQuery(e.target).closest('#searchSuggestOuter').prev('input').val(jQuery(e.target).closest('.searchSuggestEntry').data('word'));jQuery(this).closest('form').submit();jQuery('#searchSuggestOuter').remove();}});});};wKeydownSuggest=function(){var cE=wUiTmp['wKeydownSuggestThis'];var searchTerm=cE.val();if(typeof(wUiTmp['searchTermNumberResults'])=='undefined'){wUiTmp['searchTermNumberResults']={};}if(searchTerm!=''&&searchTerm!=wUiTmp['lastSearchTerm']){if(wUiTmp['lastSearchTerm']&&searchTerm.indexOf(wUiTmp['lastSearchTerm'])==0&&wUiTmp['lastSearchTermNumberResults']==0){return;}if(wUiTmp['searchTermNumberResults'][searchTerm]&&wUiTmp['searchTermNumberResults'][searchTerm]==0){return;}var project=location.pathname.replace(/[^\/]*$/, '').replace(/^(\/[^\/]*)[^\?]*/, '$1');if(cE.data('project-search')){projectSearch=cE.data('project-search');if(project=='/'){project=projectSearch.replace(/\s*\!important/, '');}else if(projectSearch.indexOf('!important')!=-1){project=projectSearch.replace(/\s*\!important/, '');}}var querystringToAdd='';if(cE.data('querystringtoadd')){querystringToAdd=cE.data('querystringtoadd');}var querystringSuggestPath='';if(cE.data('suggest-path')){querystringSuggestPath='&suggestPath=' + cE.data('suggest-path');}var projectGlobal=wUiTmp['wGlobalProjectPath'];var search='default';if(cE.data('id-search')){search=cE.data('id-search');}var url=projectGlobal + '/wGlobal/scripts/php/wSearchSuggest.php?searchTerm=' + encodeURIComponent(searchTerm) + '&project=' + project + '&search=' + search + querystringSuggestPath + querystringToAdd;if(cE.data('usecache')=='1'){url=project + '/weblication/wSearchSuggest/searchTerm=' + encodeURIComponent(searchTerm).replace(/~/g, '_WT-IL_').replace(/%/g, '~').toLowerCase() + '.html';}jQuery.ajax({type:"GET", url:url, dataType:'json', success:function(resultData){var numberResults=0;var innerHTMLSuggest='<div id="searchSuggestOuter"><div id="searchSuggestInner">';for(word in resultData){innerHTMLSuggest +='<div class="searchSuggestEntry" data-word="' + word + '">' + word + '</div>';numberResults++;}wUiTmp['lastSearchTermNumberResults']=numberResults;wUiTmp['searchTermNumberResults'][searchTerm]=numberResults;innerHTMLSuggest +='</div></div>';jQuery('#searchSuggestOuter').remove();if(numberResults > 0){cE.after(innerHTMLSuggest);}}});}else if(searchTerm!=wUiTmp['lastSearchTerm']){jQuery('#searchSuggestOuter').remove();}wUiTmp['lastSearchTerm']=searchTerm;};jQuery.fn.wTabcontainer=function(data={}){var maxHeightContent=0;jQuery.each(jQuery(this), function(){var tabcontainerCurrent=jQuery(this);if(typeof(wOnBeforeInitTabcontainer)==='function'){var rtcEvent=wOnBeforeInitTabcontainer(tabcontainerCurrent);if(rtcEvent===false){return false;}}var tabcontainerID=tabcontainerCurrent.get(0).id.replace(/tabContainer_/, '');var tabcontainerTabs=tabcontainerCurrent.find('> .tabsSmall, > .tabsSelectbox, > .tabs, > div > .tabs, > div > div > .tabs, > div > div > div > .tabs, > .containers, > div > .containers, > div > div > .containers');var curHash=data['curHashId']||location.hash;var options={};options['initOpen']=options['initOpen']||jQuery(this).attr('data-initopen');options['rememberSelected']=options['rememberSelected']||jQuery(this).data('rememberselected');options['expandAll']=options['expandAll']||jQuery(this).attr('data-expandall');var activeContent=options['initOpen']||0;if(/^\d+$/.test(activeContent)){activeContent=parseInt(activeContent)-1;}if(options['rememberSelected']=='1'||typeof(wEditor)!='undefined'){var checkCookieRegExp=new RegExp('registerTab_' + tabcontainerID + '=(\\d+)');if(checkCookieRegExp.test(document.cookie)){activeContent=RegExp.$1-1;}}var jQueryHashIdOrig=curHash.replace(/\:/g, '\\:').replace(/\./g, '\\.').replace(/\//g, '\\/').replace(/\&/g, '').replace(/=/g, '').replace(/\[/g, '').replace(/\]/g, '').replace(/\?/g, '');var jQueryHashId=jQueryHashIdOrig.replace('open_', 'anchor_');if(jQueryHashId!=''&&jQueryHashId!='#'&&/^#?tab_/.test(jQueryHashId)&&jQuery(this).find(jQueryHashId).length > 0){if(/_(\d+)$/.test(jQuery(jQueryHashId).attr('id'))){activeContent=RegExp.$1-1;}else{var containerIndex=jQuery(jQueryHashId).parents('.container, .containerInvisible').index();if(containerIndex >=0){activeContent=containerIndex;}}}if(jQueryHashId!=''&&jQueryHashId!='#'&&jQuery(this).find(jQueryHashIdOrig).length > 0){if(jQuery(this).find(jQueryHashIdOrig).closest('.container').length > 0){var closestId=jQuery(this).find(jQueryHashIdOrig).closest('.container').attr('id');
50if(/_(\d+)$/.test(closestId)){activeContent=!isNaN(parseInt(RegExp.$1))&&parseInt(RegExp.$1) >=1?parseInt(RegExp.$1)-1:0;}}}if(options['initOpen']!=='false'){if(options['expandAll']=='1'){tabcontainerCurrent.attr('data-initOpen', 'openAll');tabcontainerCurrent.find('.containerTab').addClass('containerTabSelected').next('.container').addClass('containerSelected containerSelectedAfterInit').removeClass('containerInvisible');}else if(typeof(wEditor)=='undefined'){tabcontainerCurrent.find('> .tabsOuter > .tabs > .tabSelected,> .tabs > .tabSelected').removeClass('tabSelected');tabcontainerCurrent.find('> .tabsOuter > .tabs > .tab,> .tabs > .tab').eq(activeContent).addClass('tabSelected');tabcontainerCurrent.find('> .containers > .containerTab,> div > .containers > .containerTab,> div > div > .containers > .activeContent').removeClass('containerTabSelected');tabcontainerCurrent.find('> .containers > .containerTab,> div > .containers > .containerTab,> div > div > .containers > .activeContent').eq(activeContent).addClass('containerTabSelected');tabcontainerCurrent.find('> .containers > .container,> div > .containers > .container,> div > div > .containers > .container').addClass('containerInvisible');tabcontainerCurrent.find('> .containers > .container,> div > .containers > .container,> div > div > .containers > .container').eq(activeContent).removeClass('containerInvisible').addClass('containerSelected').addClass('containerSelectedAfterInit');}else{tabcontainerCurrent.find('> div > div > .tabsOuter > .tabs > .tabSelected,> div > div > .tabs > .tabSelected').removeClass('tabSelected');tabcontainerCurrent.find('> div > div > .tabsOuter > .tabs > .tab,> div > div > .tabs > .tab').eq(activeContent).addClass('tabSelected');tabcontainerCurrent.find('> div > div > .containers > .containerTab,> div > div > div > .containers > .containerTab,> div > div > div > div > .containers > .activeContent').removeClass('containerTabSelected');tabcontainerCurrent.find('> div > div > .containers > .containerTab,> div > div > div > .containers > .containerTab,> div > div > div > div > .containers > .activeContent').eq(activeContent).addClass('containerTabSelected');tabcontainerCurrent.find('> div > div > .containers > .container,> div > div > div > .containers > .container,> div > div > div > div > .containers > .container').addClass('containerInvisible');tabcontainerCurrent.find('> div > div > .containers > .container,> div > div > div > .containers > .container,> div > div > div > div > .containers > .container').eq(activeContent).removeClass('containerInvisible').addClass('containerSelected').addClass('containerSelectedAfterInit');}if(tabcontainerCurrent.attr('data-initopen')!=0) tabcontainerCurrent.attr('data-numberclicks', parseInt(tabcontainerCurrent.attr('data-numberclicks'))+1);}var eventsOpen='click';if(tabcontainerTabs.data('selecttabonmouseover')=='1'){eventsOpen='click mouseover';}if(typeof(wEditor)=='undefined'){aE=jQuery.extend(true, {element:tabcontainerCurrent}, wAccessEvents['containerTab']);wAccessHandler.addEvent(aE, {'idPrefix':'containerTab'});}tabcontainerTabs.children('.tab, .containerTab').on(eventsOpen, function(event){event.preventDefault();var eventType=event.type;var headerSelected=jQuery(this);var tabcontainerSelected=headerSelected.get(0).id.replace(/.*_/, '');var displayAccordeon=tabcontainerCurrent.hasClass('breakChildren');var numberClicks=tabcontainerCurrent.attr('data-numberclicks');var initState=tabcontainerCurrent.attr('data-initOpen');var openMultiple=tabcontainerCurrent.attr('data-openmultiple');var tabSelected=jQuery(this).hasClass('tabSelected');tabcontainerCurrent.attr('data-numberclicks', tabcontainerCurrent.attr('data-numberclicks')?parseInt(tabcontainerCurrent.attr('data-numberclicks')) + 1:1);if(eventType=='mouseover'&&headerSelected.get(0).className.indexOf('containerTab')!=-1){return false;}if(eventType!='mouseover'&&headerSelected.attr('id')&&headerSelected.parent().data('pushstateonselect')=='1'){history.pushState({page:'#' + headerSelected.attr('id')}, '', '#' + headerSelected.attr('id'));}var containers=jQuery(this).parent().parent().get(0).className.indexOf('tabsOuter')==0?jQuery(this).parent().parent().parent().find('> .containers,> div > .containers,> div > div > .containers'):jQuery(this).parent().parent().find('> .containers,> div > .containers,> div > div > .containers');if(typeof(wOnBeforeClickTabcontainer)==='function'){var rtcEvent=wOnBeforeClickTabcontainer(headerSelected);if(rtcEvent===false){return false;}}containers.children('.containerTab').each(function(){var currentContainerTab=this;(function(currentContainerTab){if(currentContainerTab.id=='containerTab_' + tabcontainerID + '_' + tabcontainerSelected){if(initState=='openAll'){currentContainerTab.className='containerTab containerTabSelected';}else if(tabSelected!=1&&displayAccordeon&&numberClicks!=0&&currentContainerTab.className.indexOf('containerTabSelected')!=-1&&currentContainerTab.className.indexOf('containerTabUnselectedAccordeon')==-1){currentContainerTab.className='containerTab containerTabUnselectedAccordeon';}else{currentContainerTab.className='containerTab containerTabSelected';}}else{currentContainerTab.className='containerTab';}})(currentContainerTab);});containers.children('.container, .containerSelected, .containerInvisible').each(function(){var currentContainer=this;(function(currentContainer){if(currentContainer.id=='container_' + tabcontainerID + '_' + tabcontainerSelected){if(initState=='openAll'){currentContainer.className='container containerSelected';window.setTimeout(function(){jQuery(currentContainer).addClass('containerSelectedAfterInit')}, 32);}else if(tabSelected!=1&&displayAccordeon&&numberClicks!=0&&currentContainer.className.indexOf('containerSelected')!=-1&&currentContainer.className.indexOf('containerInvisibleAccordeon')==-1){currentContainer.className='container containerInvisibleAccordeon';}else{currentContainer.className='container containerSelected';window.setTimeout(function(){jQuery(currentContainer).addClass('containerSelectedAfterInit')}, 32);}}else{if(openMultiple!='1'||!displayAccordeon){currentContainer.className='container containerInvisible';window.setTimeout(function(){jQuery(currentContainer).addClass('containerInvisibleAfterInit')}, 32);}}})(currentContainer);});var tabsOuter=jQuery(this).parent().parent();if(tabsOuter.hasClass('containersOuter')){tabsOuter=tabsOuter.parent().find('.tabsOuter');}tabsOuter.find('> .tabsSmall, > .tabsSelectbox, > .tabs, > div > .tabs, > div > div > .tabs, > div > div > div > .tabs').children('.tab').each(function(){if(this.id=='tab_' + tabcontainerID + '_' + tabcontainerSelected){jQuery(this).addClass('tabSelected').attr({'tabindex':-1, 'aria-selected':'true'});}else{jQuery(this).removeClass('tabSelected').attr({'tabindex':0, 'aria-selected':'false'});}});if(typeof(wEditor)!='undefined'||options['rememberSelected']=='1'){document.cookie='registerTab_' + tabcontainerID + '=' + tabcontainerSelected + ';path=/;sameSite=Lax';}if(typeof(wOnAfterClickTabcontainer)==='function'){var rtcEvent=wOnAfterClickTabcontainer(headerSelected);if(rtcEvent===false){return false;}}if(eventType!='mouseover'){jQuery(window).trigger('resize');}jQuery('.wglBannerSlider').wBannerSlider();jQuery('.wglSmartSlider').wSmartSlider();jQuery('.wglPictureGallery').wPictureGallery();});if(typeof(wEditor)=='undefined'){jQuery(this).find('.container, .containerSelected, .containerInvisible').each(function(index){
50if(jQuery(this).html()==''){tabcontainerCurrent.find('> .tabs > div:nth-child(' + (index + 1) + ')').remove();}});}});};wOpenAllTabcontainer=function(id){jQuery('.wglTabcontainer').attr('data-expandall', '1').attr('data-initopen', '0').wTabcontainer();};wOnBreakChildrenTabContainer=function(el){var tabContainer=el.closest('.elementTabContainer');if(!tabContainer.hasClass('breakChildren')){tabContainer.find('.tab:first-child').trigger('click');}};jQuery.fn.wAccordion=function(){var maxHeightContent=0;jQuery.each(jQuery(this), function(){var options={};options['initOpen']=options['initOpen']||jQuery(this).data('initopen');options['multiple']=options['multiple']||jQuery(this).data('multiple');options['expandAll']=options['expandAll']||jQuery(this).data('expandall');options['collapsible']=options['collapsible']||jQuery(this).data('collapsible');options['group']=options['group']||jQuery(this).data('group');options['rememberSelected']=options['rememberSelected']||jQuery(this).data('rememberselected');options['addCloserContent']=options['addCloserContent']||jQuery(this).data('addclosercontent')||'';options['slideMode']=options['slideMode']||jQuery(this).data('slidemode')||jQuery(this).data('slidemode')||'';options['slideUpDuration']=options['slideUpDuration']||jQuery(this).data('slideup-duration')||jQuery(this).data('slide-duration')||400;options['slideDownDuration']=options['slideDownDuration']||jQuery(this).data('slidedown-duration')||jQuery(this).data('slide-duration')||400;options['slideUpEasing']=options['slideUpEasing']||jQuery(this).data('slideup-easing')||jQuery(this).data('slide-easing')||'swing';options['slideDownEasing']=options['slideDownEasing']||jQuery(this).data('slidedown-easing')||jQuery(this).data('slide-easing')||'swing';var slideDownOptions={duration:options['slideUpDuration'],   easing:options['slideUpEasing']};var slideUpOptions={duration:options['slideDownDuration'], easing:options['slideDownEasing']};var accordionID=jQuery(this).get(0).id.replace(/accordion_/, '');var activeContent=options['initOpen'];if(/^\d+$/.test(activeContent)){activeContent=parseInt(activeContent)-1;}if(options['rememberSelected']=='1'){var checkCookieRegExp=new RegExp('accordionTab_' + accordionID + '=Accordion-(\\d+)');if(checkCookieRegExp.test(document.cookie)){activeContent=RegExp.$1-1;}else{var checkCookieRegExp=new RegExp('accordionTab_' + accordionID + '=(\\d+)');if(checkCookieRegExp.test(document.cookie)){activeContent=RegExp.$1-1;}}}var jQueryHashId=decodeURIComponent(location.hash.replace(/\./g, '\\.').replace(/\//g, '\\/').replace('open_', 'anchor_').replace(/\&/g, '').replace(/=/g, '')).replace(/\[/g, '').replace(/\]/g, '').replace(/\?/g, '');options['active']=options['active']||activeContent;ignoreFocusout=false;lastFocusOut=0;jQuery(this).children('.accordionContent').each(function(index){if(options['addCloserContent']=='1'){jQuery(this).prepend('<div class="accordionCloserContent" tabindex="0"></div>');jQuery(this).find('.accordionCloserContent').on('click', function(event){jQuery(this).parent().prev('.accordionHeader').trigger('click');wUiTmp['ignoreFocusout']=true;setTimeout(function(){wUiTmp['ignoreFocusout']=false;}, 500);});jQuery(this).find('.accordionCloserContent').keypress(function(event){if(event.keyCode==13||event.keyCode==32 ){jQuery(this).trigger('click');jQuery(this).parent().prev('.accordionHeader').focus();event.preventDefault();wUiTmp['ignoreFocusout']=true;setTimeout(function(){wUiTmp['ignoreFocusout']=false;}, 500);}});jQuery(this).on('focusin', function(event){wUiTmp['ignoreFocusout']=true;setTimeout(function(){wUiTmp['ignoreFocusout']=false;}, 100);});jQuery(this).on('focusout', function(event){setTimeout(()=> {if(wUiTmp['lastActionSource']!=='mouse'&&wUiTmp['lastKey']!=='Tab'&&wUiTmp['lastKey']!=='Escape'){return false;}if(wUiTmp['ignoreFocusout']){return false;}var container=jQuery(this).get(0);const active=document.activeElement;if(!container.contains(active)){jQuery(this).find('.accordionCloserContent').trigger('click');wUiTmp['ignoreClick']=true;setTimeout(function(){wUiTmp['ignoreClick']=false;}, 300);}}, 20);});}var heightContent=jQuery(this).height();if(heightContent > maxHeightContent){maxHeightContent=heightContent;}});var lastOpenedEntry=null;jQuery(this).find('> .listEntry > .listEntryInner > .accordionHeader, > .accordionHeader, > h1, > h2, > h3, >
50 h4').each(function(index){if(typeof(wEditor)=='undefined'){jQuery(this).keypress(function(event){if(event.keyCode==13||event.keyCode==32 ){jQuery(this).trigger("click");event.preventDefault();}});}var openCurrent=false;if(jQueryHashId!=''&&jQueryHashId!='#'&&('#' + jQuery(this).attr('id')==jQueryHashId||jQuery(this).next('.accordionContent').find(jQueryHashId).length > 0)){if(/_Accordion-/.test(jQuery(jQueryHashId).attr('id'))){options['active']=index;if(!options['multiple']&&lastOpenedEntry){lastOpenedEntry.addClass('accordionHeaderHidden').removeClass('accordionHeaderVisible');lastOpenedEntry.next('.accordionContent').addClass('accordionContentHidden').removeClass('accordionContentVisible').hide();lastOpenedEntry=null;}openCurrent=true;}else if(jQuery(jQueryHashId).parents('.accordionContent').length > 0){options['active']=index;}}else{jQueryHashIdAlt=jQueryHashId.replace(/_Accordion-\d+/, '_Accordion');if(jQueryHashIdAlt!=''&&jQueryHashIdAlt!='#'&&('#' + jQuery(this).attr('id')==jQueryHashIdAlt||jQuery(this).next('.accordionContent').find(jQueryHashIdAlt).length > 0)){if(/_Accordion-/.test(jQuery(jQueryHashIdAlt).attr('id'))){options['active']=index;if(!options['multiple']&&lastOpenedEntry){lastOpenedEntry.addClass('accordionHeaderHidden').removeClass('accordionHeaderVisible');lastOpenedEntry.next('.accordionContent').addClass('accordionContentHidden').removeClass('accordionContentVisible').hide();lastOpenedEntry=null;}openCurrent=true;}else if(jQuery(jQueryHashIdAlt).parents('.accordionContent').length > 0){options['active']=index;}}}if(options['collapsible']){jQuery(this).addClass('accordionHeaderCollapsible').removeClass('accordionHeaderNoneCollapsible');}else{jQuery(this).addClass('accordionHeaderNoneCollapsible').removeClass('accordionHeaderCollapsible');}if(options['expandAll']||typeof(options['active'])=='number'&&options['active']==index){lastOpenedEntry=jQuery(this);jQuery(this).attr('aria-expanded')?jQuery(this).attr('aria-expanded', 'true'):jQuery(this).find('.accordionHeaderCaption').attr('aria-expanded', 'true');jQuery(this).addClass('accordionHeaderVisible').removeClass('accordionHeaderHidden');jQuery(this).next('.accordionContent').attr('aria-hidden', 'false').addClass('accordionContentVisible').removeClass('accordionContentHidden').show();}else{jQuery(this).attr('aria-expanded')?jQuery(this).attr('aria-expanded', 'false'):jQuery(this).find('.accordionHeaderCaption').attr('aria-expanded', 'false');jQuery(this).addClass('accordionHeaderHidden').removeClass('accordionHeaderVisible');jQuery(this).next('.accordionContent').attr('aria-hidden', 'true').addClass('accordionContentHidden').removeClass('accordionContentVisible').hide();}if(options['heightStyle']=='auto'){jQuery(this).next('.accordionContent').css({'height':maxHeightContent});}jQuery(this).on('click', function(event, forceOpen){event.preventDefault();wUiTmp['ignoreFocusout']=true;setTimeout(function() {wUiTmp['ignoreFocusout']=false;}, 500);if(wUiTmp['ignoreClick']&&wUiTmp['lastAccordionOpen']===accordionID + '_' + index){return false;}var isList=jQuery(this).parent().parent().parent().prop('nodeName')=='UL'?true:false;var headerSelected=jQuery(this);forceOpen=typeof(forceOpen)!='undefined'?forceOpen:false;var contentSelected=jQuery(this).next('.accordionContent');var accordionContents=isList?jQuery(this).parent().parent().parent().find('> .listEntry > .listEntryInner > .accordionContent'):jQuery(this).parent().children('.accordionContent');var hasEntryVisible=false, hasEntryInvisible=false;if(typeof(wOnBeforeClickAccordeon)==='function'){var rtcEvent=wOnBeforeClickAccordeon(headerSelected);if(rtcEvent===false){return false;}}accordionContents.each(function(index){if(jQuery(this).get(0)==contentSelected.get(0)){if(jQuery(this).hasClass('accordionContentVisible')){hasEntryInvisible=true;}else{hasEntryVisible=true;}if(jQuery(this).hasClass('accordionContentVisible')&&!forceOpen){if(options['collapsible']){jQuery(this).parent().trigger('accordionbeforeactivate', {'newHeader':contentSelected});jQuery(this).prev('.accordionHeader').attr('aria-expanded')?jQuery(this).prev('.accordionHeader').attr('aria-expanded', 'false'):jQuery(this).prev('.accordionHeader').find('.accordionHeaderCaption').attr('aria-expanded', 'false');jQuery(this).prev('.accordionHeader').addClass('accordionHeaderHidden').removeClass('accordionHeaderVisible');jQuery(this).removeClass('accordionContentVisible');if(options['slideMode']==='transition'){jQuery(this).hide();jQuery(this).addClass('accordionContentHidden').attr('aria-hidden', 'true').removeAttr('tabindex');jQuery(this).parent().trigger('accordionchange', {'newHeader':headerSelected});}else{jQuery(this).slideUp({duration:slideUpOptions['duration'], easing:slideUpOptions['easing'], complete:function(){jQuery(this).addClass('accordionContentHidden').attr('aria-hidden', 'true').removeAttr('tabindex');jQuery(this).parent().trigger('accordionchange', {'newHeader':headerSelected});}});}}}else{jQuery(this).prev('.accordionHeader').attr('aria-expanded')?jQuery(this).prev('.accordionHeader').attr('aria-expanded', 'true'):jQuery(this).prev('.accordionHeader').find('.accordionHeaderCaption').attr('aria-expanded', 'true');jQuery(this).prev('.accordionHeader').addClass('accordionHeaderVisible').removeClass('accordionHeaderHidden');if(options['collapsible']){jQuery(this).prev('.accordionHeader').addClass('accordionHeaderCollapsible').removeClass('accordionHeaderNoneCollapsible');}else{jQuery(this).prev('.accordionHeader').addClass('accordionHeaderNoneCollapsible').removeClass('accordionHeaderCollapsible');}jQuery(this).removeClass('accordionContentHidden');if(options['slideMode']==='transition'){jQuery(this).show();wUiTmp['lastAccordionOpen']=accordionID + '_' + index;jQuery(this).addClass('accordionContentVisible').attr('aria-hidden', 'false').attr('tabindex', '0').focus().css({'outline':'none'});jQuery(this).find('.accordionCloserContent').focus();jQuery(this).parent().trigger('accordionchange', {'newHeader':headerSelected});jQuery(this).parent().trigger('accordionactivate', {'newHeader':headerSelected});}else{jQuery(this).slideDown({duration:slideDownOptions['duration'], easing:slideDownOptions['easing'], complete:function(){jQuery(this).addClass('accordionContentVisible').attr('aria-hidden', 'false').attr('tabindex', '0').focus().css({'outline':'none'});jQuery(this).parent().trigger('accordionchange', {'newHeader':headerSelected});jQuery(this).parent().trigger('accordionactivate', {'newHeader':headerSelected});}});}}}else {if(options['multiple']==true){}else{jQuery(this).prev('.accordionHeader').addClass('accordionHeaderHidden').removeClass('accordionHeaderVisible').attr('aria-expanded', 'false');jQuery(this).removeClass('accordionContentVisible');if(options['slideMode']==='transition'){jQuery(this).hide();}else{jQuery(this).slideUp({duration:slideUpOptions['duration'], easing:slideUpOptions['easing'], complete:function(){jQuery(this).addClass('accordionContentHidden').attr('aria-hidden', 'true').removeAttr('tabindex');}});}}
50if(jQuery(this).hasClass('accordionContentVisible')){hasEntryVisible=true;}else{hasEntryInvisible=true;}}});if(hasEntryInvisible){jQuery('#accordionOpener' + accordionID).show();jQuery('#accordionCloser' + accordionID).hide();}else{jQuery('#accordionOpener' + accordionID).hide();jQuery('#accordionCloser' + accordionID).show();}if(options['multiple']&&accordionContents.parent().find('.accordionContentVisible').length > 0){jQuery('#accordionOpener' + accordionID).hide();jQuery('#accordionCloser' + accordionID).show();}if(typeof(wOnAfterClickAccordeon)==='function'){wOnAfterClickAccordeon(headerSelected);}try{var resizeEvent=window.document.createEvent('UIEvents');resizeEvent.initUIEvent('resize', true, false, window, 0);window.dispatchEvent(resizeEvent);}catch(e){}jQuery('.wglBannerSlider').wBannerSlider();jQuery('.wglSmartSlider').wSmartSlider();jQuery('.wglPictureGallery').wPictureGallery();if(options['group']&&options['group']!=''){jQuery('.wglAccordion[data-group="' + options['group'] + '"]').each(function(index){var accordionInGroupID=jQuery(this).get(0).id.replace(/accordion_/, '');if(accordionInGroupID!=accordionID){wCloseAllAccordions(accordionInGroupID);}});}});});jQuery(this).on('accordionactivate', function(event, ui){var headerE=jQuery(ui.newHeader[0]);if(headerE.data('noaccactivate')===true){jQuery(this).data('noaccactivate', false);return false;}if(ui.newHeader[0]&&jQuery(ui.newHeader[0]).parent().data('fitinscreen')!='no'){try{var currentHeader=ui.newHeader;var offsetTopCurrentHeader=(currentHeader.offset())['top'];var windowScrollTop=wUiTmp['lastScrollTop'];var scrollTopMax=offsetTopCurrentHeader-wGetScrollTopDiff();if(jQuery(ui.newHeader[0]).parent().data('scrolltoponactivate')=='always'){var scrollTopDiff=wGetScrollTopDiff();jQuery('body, html').animate({scrollTop:offsetTopCurrentHeader-scrollTopDiff});}else if(offsetTopCurrentHeader < windowScrollTop){var scrollTopDiff=wGetScrollTopDiff();jQuery('body, html').animate({scrollTop:offsetTopCurrentHeader-scrollTopDiff});}else{var offsetBottomCurrentContent=(jQuery(currentHeader).next('.accordionContent').offset())['top'] + jQuery(currentHeader).next('.accordionContent').outerHeight();var windowBottom=windowScrollTop + wUiTmp['lastWindowHeight'];if(offsetBottomCurrentContent > windowBottom){var scrollTopToFullvisibility=offsetBottomCurrentContent-windowBottom;var scrollTopAdapt=windowScrollTop + scrollTopToFullvisibility;scrollTopAdapt=scrollTopAdapt > scrollTopMax?scrollTopMax:scrollTopAdapt;jQuery('body, html').animate({scrollTop:scrollTopAdapt});}}}catch(e){}}});jQuery(this).on('accordionchange', function(event, ui){var eventTarget=event.target||event.srcElement;var id=eventTarget.id.replace(/accordion_/, '');var headerE=jQuery(ui.newHeader[0]);if(headerE.data('noaccchange')===true){jQuery(this).data('noaccchange', false);return false;}if(ui.newHeader[0]&&jQuery(ui.newHeader[0]).parent().data('pushstateonselect')=='1'){if(ui.newHeader[0].className.indexOf('accordionHeaderHidden')==-1){history.pushState({page:'#' + ui.newHeader[0].id}, '', '#' + ui.newHeader[0].id);wUiTmp['lastPushStateAccordion']='#' + ui.newHeader[0].id;}else if('#' + ui.newHeader[0].id==wUiTmp['lastPushStateAccordion']){var newState=location.href.replace(/#.*/, '');history.pushState({page:newState}, '', newState);}}if(options['rememberSelected']=='1'){if(ui.newHeader[0]){if(ui.newHeader[0].className.indexOf('accordionHeaderHidden')!=-1){document.cookie='accordionTab_' + id + '=;path=/;sameSite=Lax';}else{document.cookie='accordionTab_' + id + '=' + (ui.newHeader[0].getAttribute('data-index')?ui.newHeader[0].getAttribute('data-index'):ui.newHeader[0].id.replace(/.*_/, '')) + ';path=/;sameSite=Lax';}}}jQuery(window).trigger('resize');jQuery('.wglBannerSlider').wBannerSlider();jQuery('.wglSmartSlider').wSmartSlider();jQuery('.wglPictureGallery').wPictureGallery();jQuery('.wglAccordion .wglTicker').wTicker();});});};wOpenAllAccordions=function(id){jQuery('#accordion_' + id + ' .accordionHeaderHidden').trigger('click');jQuery('#accordionOpener' + id).hide();jQuery('#accordionCloser' + id).show();jQuery(window).trigger('resize');jQuery('.wglBannerSlider').wBannerSlider();jQuery('.wglSmartSlider').wSmartSlider();jQuery('.wglPictureGallery').wPictureGallery();if(location.hash==wUiTmp['lastPushStateAccordion']){var newState=location.href.replace(/#.*/, '');history.pushState({page:newState}, '', newState);}};wCloseAllAccordions=function(id){jQuery('#accordion_' + id + ' .accordionHeaderVisible').trigger('click');if(location.hash==wUiTmp['lastPushStateAccordion']){var newState=location.href.replace(/#.*/, '');history.pushState({page:newState}, '', newState);}};jQuery(window).on('hashchange', function(){window.setTimeout(function(){wAdaptOnChangeHash({});}, 10);});wAdaptOnChangeHash=function(options){var jQueryHashId=decodeURIComponent(location.hash.replace(/\./g, '\\.').replace(/\//g, '\\/').replace('open_', 'anchor_').replace(/\&/g, '').replace(/=/g, '')).replace(/\[/g, '').replace(/\]/g, '').replace(/\?/g, '');if(typeof wOnBeforeAdaptOnChangeHash==='function') jQueryHashId=wOnBeforeAdaptOnChangeHash(jQueryHashId);if(typeof wAddSelectedOnNavpointIfHashChanged!='undefined'&&wAddSelectedOnNavpointIfHashChanged){jQuery("#blockPage a[href='" + location.hash + "'], #blockPage a[href='" + location.pathname + location.hash + "']").each(function(i, v){jQuery(v).parent().parent().find('.selected').removeClass('selected');jQuery(v).parent().addClass('selected');});}var accordionOfHash=null;if(/^#anchor_lightbox_([^_]+)_(\d+)/.test(jQueryHashId)){if(jQuery('.wglLightbox[data-rel="' + RegExp.$1 + '"]').eq(parseInt(RegExp.$2) > 0?parseInt(RegExp.$2)-1:0).length!==0){wLightbox(jQuery('.wglLightbox[data-rel="' + RegExp.$1 + '"]').eq(parseInt(RegExp.$2) > 0?parseInt(RegExp.$2)-1:0), {});}}if(/^#\w/.test(jQueryHashId)&&jQueryHashId!='#'){if(jQuery(jQueryHashId).length > 0){accordionOfHash=jQuery(jQueryHashId);}else if(jQuery(jQueryHashId.replace(/_Accordion-.*/, '')).length > 0){accordionOfHash=jQuery(jQueryHashId.replace(/_Accordion-.*/, ''));}}if(accordionOfHash&&accordionOfHash.length > 0){try{if(/#anchor/.test(jQueryHashId)&&accordionOfHash.parent().attr('id').indexOf('tab_')==0){document.location.hash=accordionOfHash.parent().attr('id');jQueryHashId='#' + accordionOfHash.parent().attr('id');}}catch(e){}if(/#tab_/.test(jQueryHashId)){if(/tab_/.test(accordionOfHash.attr('id'))){accordionOfHash.trigger('click', [true]);}else{var containerIndex=accordionOfHash.parents('.containerInvisible').index();if(containerIndex >=0){accordionOfHash.parents('.containerInvisible').parent().parent().find('> .tabs > .tab:nth-child(' + (containerIndex + 1) + ')').trigger('click', [true]);}}}else if(accordionOfHash.hasClass('accordionHeader')){accordionOfHash.trigger('click', [true]);var containerIndex=accordionOfHash.parents('.containerInvisible').index();if(containerIndex >=0){accordionOfHash.parents('.containerInvisible').parent().parent().find('> .tabs > .tab:nth-child(' + (containerIndex + 1) + ')').trigger('click', [true]);}}else{var containerIndex=accordionOfHash.parents('.containerInvisible').index();if(containerIndex >=0){accordionOfHash.parents('.containerInvisible').parent().parent().find('> .tabs > .tab:nth-child(' + (containerIndex + 1) + ')').trigger('click', [true]);}accordionOfHash.parents('.accordionContent').prev('.accordionHeader').trigger('click', [true]);}}window.setTimeout(function(){if(/^#\w/.test(jQueryHashId)&&jQueryHashId!=''&&jQueryHashId!='#'&&(/#(wFormErrorMessages|anchor_|tab_|_Accordion-)/.test(jQueryHashId)||jQuery(jQueryHashId).hasClass('elementSection'))){var anchor=jQuery(jQueryHashId.replace(/\./, '\\.'));if(anchor.length==0) anchor=jQuery('*[data-id=' +jQueryHashId.replace(/#/, '') +']');if(anchor.length > 0){wScrollSmoothToElement(anchor,!/#(wFormErrorMessages|_Accordion-)/.test(jQueryHashId)?{'setFocusAfterScrolling':true}:null);if(jQueryHashId==='#wFormErrorMessages'){jQuery('#wFormErrorMessages').prepend('<div id="focusAncor" tabindex="0" style="width:1px"></div>');jQuery('#focusAncor').focus();}}}}, 120);if(typeof wOnAfterAdaptOnChangeHash==='function') jQueryHashId=wOnAfterAdaptOnChangeHash(jQueryHashId);};wsmn=function(ml){var mln='';for(var i=0; i < ml.length/3; i++){mln=ml.substr(i * 3 + 1, 1) + mln;}var pms='';if(/(\?.*)/.test(mln)){pms=RegExp.$1;pms=pms.replace(/wApos/g, "'");mln=mln.replace(/(\?.*)/, '');}mln=mln.replace(/a/g, '@').replace(/e/g, '.').replace(/\*/g, 'a').replace(/;/g, 'e').replace(/:/g, 'o').replace(/,/g, 'u').replace(/\!/g, 'i') + pms;var rtc=true;
50if(typeof(wOnBeforeClickSendMailNospam)=='function'){rtc=wOnBeforeClickSendMailNospam(mln, event);}if(rtc){top.location.href='mailto:' + mln;}};jQuery.fn.wMagnifier=function(options){if(typeof(wEditor)!='undefined'){return false;}var wMagnifierElement=null;var wMagnifierImageElement=null;jQuery.each(jQuery(this), function(){jQuery(this).on('mouseover', function(event){var srcMagnifier=jQuery(this).attr('data-src2x')?jQuery(this).attr('data-src2x'):jQuery(this).get(0).currentSrc;var isPicture=false;if(jQuery(this).prop('tagName')=='PICTURE'){isPicture=true;srcMagnifier=jQuery(this).find('source').attr('srcset').replace(/^[\w\W]*,\s*/, '').replace(/ [\w\W]*/, '');if(/\.webp$/.test(srcMagnifier)&&/Safari/i.test(navigator.userAgent)){srcMagnifier=jQuery(this).find('source').next().attr('srcset').replace(/^[\w\W]*,\s*/, '').replace(/ [\w\W]*/, '');}}else if(jQuery(this).parent().prop('tagName')=='PICTURE'){srcMagnifier=srcMagnifier.replace(/(\d+)(w(?:2x)?\.(?:jpe?g|webp|png|gif)+)/, function(matches, width, post){return String(width * 2) + post});}jQuery('.wMagnifier').remove();jQuery('.wMagnifierMovingArea').remove();var objectCurrent=jQuery(this);objectCurrent.parent().css({'position':'relative', 'display':jQuery(this).css('display')=='inline-block'?'inline-block':'block'});objectCurrent.parent().append('<div id="wMagnifierMovingArea" class="wMagnifierMovingArea" style="z-index:1000;cursor:none;position:absolute;top:0;left:0;width:100%;height:100%"></div>');objectCurrent.parent().append('<div id="wMagnifier" class="wMagnifier"></div>');wMagnifierElement=jQuery('#wMagnifier');wMagnifierMovingAreaElement=jQuery('#wMagnifierMovingArea');wMagnifierImageElement=objectCurrent;var offset=objectCurrent.offset();objectCurrent.data('offsetLeft', parseInt(offset.left));objectCurrent.data('offsetTop', parseInt(offset.top));objectCurrent.data('zoomerWidth', wMagnifierElement.width());objectCurrent.data('zoomerHeight', wMagnifierElement.height());objectCurrent.data('imageWidth',  isPicture?objectCurrent.find('img').width():objectCurrent.width());objectCurrent.data('borderLeftWidth', parseInt(wMagnifierElement.css('border-left-width')));objectCurrent.data('borderTopWidth', parseInt(wMagnifierElement.css('border-top-width')));var ratio=2
51var posX=parseInt(typeof(event.pageX!=='undefined')?event.pageX:(event.clientX + document.documentElement.scrollLeft))-wMagnifierImageElement.data('offsetLeft');var posY=parseInt(typeof(event.pageY!=='undefined')?event.pageY:(event.clientY + document.documentElement.scrollTop))-wMagnifierImageElement.data('offsetTop');wMagnifierElement.css({'left':posX-wMagnifierImageElement.data('borderLeftWidth')-wMagnifierImageElement.data('zoomerWidth') / 2, 'top':posY-wMagnifierImageElement.data('borderTopWidth')-wMagnifierImageElement.data('zoomerHeight') / 2, 'background-position':String(-posX * ratio + wMagnifierImageElement.data('zoomerWidth') / 2) + 'px ' +  String(-posY * ratio + wMagnifierImageElement.data('zoomerHeight') / 2) + 'px'});wMagnifierElement.css({'background-image':'url(' + srcMagnifier + ')', 'background-repeat':'no-repeat'});wMagnifierElement.css({'background-size':String((isPicture?objectCurrent.find('img').width():objectCurrent.width()) * 2) + 'px'});wMagnifierMovingAreaElement.on('mousemove', function(event){var posX=parseInt(typeof(event.pageX!=='undefined')?event.pageX:(event.clientX + document.documentElement.scrollLeft))-wMagnifierImageElement.data('offsetLeft');var posY=parseInt(typeof(event.pageY!=='undefined')?event.pageY:(event.clientY + document.documentElement.scrollTop))-wMagnifierImageElement.data('offsetTop');wMagnifierElement.css({'left':posX-wMagnifierImageElement.data('borderLeftWidth')-wMagnifierImageElement.data('zoomerWidth') / 2, 'top':posY-wMagnifierImageElement.data('borderTopWidth')-wMagnifierImageElement.data('zoomerHeight') / 2, 'background-position':String(-posX * ratio + wMagnifierImageElement.data('zoomerWidth') / 2) + 'px ' +  String(-posY * ratio + wMagnifierImageElement.data('zoomerHeight') / 2) + 'px'});});wMagnifierMovingAreaElement.on('mouseout click', function(event){jQuery('.wMagnifier').remove();jQuery('.wMagnifierMovingArea').remove();});});});};jQuery.fn.wMaximizer=function(options){jQuery.each(jQuery(this), function(){jQuery(this).click(function(){var objectCurrent=jQuery(this);return wMaximizer(objectCurrent, options);});});};
51wMaximizer=function(objectCurrent, options){var objectToMaximize=objectCurrent.parent();var widthMaximized=objectToMaximize.parent().width();if(objectToMaximize.hasClass('wglMaximized')){objectToMaximize.animate({'max-width':String(objectToMaximize.data('widthDefault')) + 'px'}, 600, function(){objectToMaximize.removeClass('wglMaximized');});}else{objectToMaximize.data('widthDefault', objectToMaximize.width());objectToMaximize.animate({'max-width':String(widthMaximized) + 'px'}, 600, function(){objectToMaximize.addClass('wglMaximized');});}};wToggleFavoriteURL=function(button, options){options=options||{};var url="/weblication/grid5/scripts/wPrivate.php?url="+button.getAttribute("data-url")+"&action=";if(button.getAttribute("data-hasfavoriteurl")=="1"){url +="removeFavoriteURL";}else{url +="addFavoriteURL";}jQuery.ajax({type:"GET", async:true, dataType:"json", url:url,success:function(result){if(result=="1"){button.setAttribute("data-hasfavoriteurl", button.getAttribute("data-hasfavoriteurl")=="1"?"0":"1");if(options["onAfterToggle"]){eval(options["onAfterToggle"]);}}}});};jQuery.fn.wAutoheight=function(){jQuery.each(jQuery(this), function(index){var ta=jQuery(this);var height=ta.height();var scrollHeight=ta.prop('scrollHeight');var diffHeight=Math.ceil(parseFloat(ta.css('paddingTop')) + parseFloat(ta.css('paddingBottom')));if(ta.prop('scrollHeight') > Math.ceil(ta.height()) + diffHeight){ta.height(ta.prop('scrollHeight'));}ta.on('keyup change', function(){var ta=jQuery(this);var height=ta.height();var scrollHeight=ta.prop('scrollHeight');var diffHeight=Math.ceil(parseFloat(ta.css('paddingTop')) + parseFloat(ta.css('paddingBottom')));if(ta.prop('scrollHeight') > Math.ceil(ta.height()) + diffHeight){ta.height(ta.prop('scrollHeight'));}});});};jQuery.fn.wInputRange=function(){jQuery.each(jQuery(this), function(index){var i=jQuery(this);i.on('input', function(){if(jQuery('#' + jQuery(this).attr('id') + '_rangeValue').length!=0){jQuery('#' + jQuery(this).attr('id') + '_rangeValue').find('.wglRangeValueValue').html(jQuery(this).val());}});});};jQuery.fn.wSmartSlider=function(options){jQuery.each(jQuery(this), function(){wSmartSlider(jQuery(this), options);});};class wClassSmartSlider{constructor(object, options){this.sl=object;this.options={slideronlymobile:'0',breakpoint:'765px',};if(options!=null){this.options=options;for (var key in options) {if (this.options.hasOwnProperty(key)) {this.sl.attr('data-' + key, options[key]);}}}this.slt={'sy':null, 'sxc':null, 'syc':null, 'dx':null, 'dy':null, 'dxp':null, 'dyp':null};this.curBKP=this.slw=this.slI=this.slIlinit=this.slI1=this.slIw=this.slIr=this.slE=this.noP=this.noE=this.noCol=this.noColSlWidth=this.lastPOffset=this.curP=this.curE=null;this.pNavi=this.scrollBar=null;this.onafterslidermove=null;this.options.flip=this.options.animationRaster!=null?this.options.animationRaster:'bannerWidth';this.flip=this.options.flip;this.init();this.onload=false;}init(){const self=this;if(this.options.slideronlymobile==='1'){if(!window.matchMedia("(max-width:" + this.options.breakpoint + ")").matches){self.deactivate();jQuery(window).on('resize', this.resize.bind(this));self.sl.data('resize', 'binded');return false;}}self.activate();var tmpCol=self.noCol;this.setVar(true);self.sl.attr({ 'data-init':'1'});if(this.sl.attr('data-smartpagenavi')=='scrollbar'){self.setScrollbar();self.setPageNav();}else if(this.sl.attr('data-smartpagenavi')=='scrollbarOnly') self.setScrollbar();else self.setPageNav();self.sl.find('.sliderMoverBack').on('click', this.smartSliderMove.bind(this, '-', {'flip':self.options.flip}));self.sl.find('.sliderMoverForward').on('click', this.smartSliderMove.bind(this, '+', {'flip':self.options.flip}));self.slI.get(0).addEventListener('touchstart', this.touch.bind(this), { passive:true });self.slI.get(0).addEventListener('touchmove', this.touch.bind(this), { passive:true });self.slI.on('mousedown', this.touch.bind(this)).on('touched', this.touch.bind(this)).on('mousemove', this.touch.bind(this)).on('mouseup', this.touch.bind(this));if(self.sl.data('resize')!='binded'){;jQuery(window).on('resize', this.resize.bind(this));self.sl.data('resize', 'binded');}}deactivate(){const self=this;if(self.sl.attr('data-deactivated')=='0') {self.sl.attr('data-deactivated', '1');var lE=self.sl.children('ul');if(lE.length > 0){lE.get(0).style.removeProperty('--cols');lE.css({'margin-left':0});}}}activate(){const self=this;if(self.sl.attr('data-deactivated')==null||self.sl.attr('data-deactivated')=='1') {self.sl.attr('data-deactivated', '0');var lE=self.sl.children('ul');if(lE.length > 0){lE.get(0).style.setProperty('--cols', self.sl.attr('data-numberentries'));}}}setPageNav(){const self=this;var pNav='';if(self.noP > 0){pNav='<div class="pageNavi">';for(var i=0; i < self.noP; i++) pNav +='<div class="page' + (i===0?' selected':'') + '"></div>';pNav   +='</div>';}if(self.sl.find('.sliderMover').length===0){self.sl.append('<div class="sliderMover"><div data-accessevent="smartSlider.pageNavi(back)" class="sliderMoverBack"><span/><span/></div>' + pNav + '<div data-accessevent="smartSlider.pageNavi(forward)" class="sliderMoverForward"><span/><span/></div></div>');}else if(self.pNavi!=null&&self.pNavi.html()!==pNav){self.pNavi.replaceWith(pNav);}self.pNavi=self.sl.find('.pageNavi');self.sl.find('.page').on('click', function() {var index=self.sl.find('.page').index(this);self.smartSliderMove(index+1, {'flip':'bannerWidth'});});}setScrollbar(){const self=this;if(self.scrollBar==null){self.sl.append('<div class="slider-container"><input type="range" id="slider" min="0"  max="'+(self.slIw-self.lastPOffset)+'" value="
510"></div>');self.scrollBar=self.sl.find('.slider-container input');self.scrollBar.on('input', function(){self.slI.css({'marginLeft':'-' + jQuery(this).val() + 'px'});});self.sl.on('keyup mouseup touchend', function(e){if(e.target===self.scrollBar.get(0)&&jQuery(e.target).attr('type')==='range'){var p=Math.ceil(self.scrollBar.val()/self.slw);var range=Math.ceil((self.scrollBar.val()%self.slw)*100/self.slw);if(range > 50) p++;if(self.scrollBar.val()==parseInt(self.scrollBar.attr('max'))) p=self.noP;if(self.sl.attr('data-moving')!='1') self.smartSliderMove((p), {'moveslider':false, 'flip':'colWidth'});else {self.onafterslidermove=function(pos) {self.smartSliderMove(pos, {'moveslider':false, 'flip':'colWidth'});};}}});}else {self.scrollBar.attr('max', self.slIw-self.lastPOffset);var val=(self.curP==1)?0:Math.ceil(self.curP*100/self.noP)/100*parseInt(self.scrollBar.attr('max'));self.scrollBar.val(val);}}setVar(init){const self=this;self.slE=self.sl.find('> div:first-child() > div, > ul:first-child() > li');self.slw=self.sl.width();if(self.flip=='colWidth'){self.slw=self.slE.first().outerWidth();}self.slI=self.sl.find('> div:first-child(), > ul:first-child()');self.slIl=parseInt(self.slI.css('margin-left'));if(self.slIlinit==null) self.slIlinit=self.slIl;self.slIw=self.slI.outerWidth();self.slIr=parseInt(self.slIw) + self.slIl;self.noE=self.sl.find('> div:not(.sliderMover) > div, > ul > li').length;if(init){self.curP=1;self.curE=1;self.sl.attr({'data-currententry':self.curE , 'data-currentpage':self.curP , 'data-isfirstentry':'1','data-islastentry':self.noE==1?'1':'0', 'data-numberentries':self.noE, 'data-marginleftinit':self.slIlinit,'data-isvisiblefirstentry':'1', 'data-isvisiblelastentry':(self.slIl-self.slw + self.slIw < 8?'1':'0'),'data-numberPages':self.noP});}self.noCol=Math.ceil((self.slw/self.sl.find('.col, .listEntry').eq(self.curE-1).outerWidth()).toFixed(2));self.XOffset=self.noCol==1||self.flip=='colWidth'?Math.ceil((self.sl.width()/self.sl.find('.col, .listEntry').eq(self.curE-1).outerWidth()).toFixed(2)):1;self.lastPOffset=self.XOffset*self.slw;var tmpP=self.noP;self.noP=Math.ceil(self.noE/self.noCol);if(tmpP!=self.noP&&self.flip=='bannerWidth'){var vh=100*(self.curE%self.noCol)/self.noCol;self.curP=Math.ceil(self.curE/self.noCol);if(self.curP==self.noP) self.curE=self.noE;else self.curE=(self.curP-1)*self.noCol+1;}}smartSliderMove(pos, options={}){const self=this;if(options.flip!=null) self.flip=options.flip;var mL='-';if(self.sl.attr('data-moving')!='1'){self.sl.attr('data-moving', '1');this.setVar();var ad=600;var mwm=self.slw;var mw=0;if(pos=='+'&&self.slIr > self.slw){mL='-=';mw=(self.slIr-self.slw) < mwm?(self.slIr-self.slw):mwm;self.curP++;self.curE +=self.noCol;}else if(pos=='-'&&self.slIl < 0){mL='+=';mw=self.slIl <-mwm?-mwm:self.slIl;self.curP--;self.curE-=self.noCol;if(mw < 0 ) mw=mw*(-1);}else if(pos!=='+'&&pos!=='-'){mw=(pos-1)*mwm;self.curP=pos;self.curE=self.curP*self.noCol;}if(self.curP==self.noP){mw=self.slIw-self.lastPOffset;mL='-';}if(self.curP==1){mw=0;mL='-';}self.sl.attr('data-isvisiblelastentry', (self.noCol!=1&&self.curP==self.noP)?'1':'0');self.sl.attr('data-isvisiblefirstentry', (self.curP==1||self.slIl-mw) >-8?'1':'0');if(self.sl.attr('data-onvisiblelastentry')){if(self.sl.attr('data-onvisiblelastentry')=='showNextElementLink'){if(self.sl.attr('data-isvisiblelastentry')==='1') self.sl.next('.elementLink').removeClass('hideVisibleLast').addClass('showVisibleLast');else self.sl.next('.elementLink').removeClass('showVisibleLast').addClass('hideVisibleLast');}}self.slI.animate({'marginLeft':mL + String(mw) + 'px'}, {duration:ad, complete:function(){self.sl.attr({'data-moving':'0', 'data-isfirstentry':(self.curP=='1'?'1':'0'), 'data-islastentry':(self.curP===(self.noE/self.noCol)?'1':'0')});if(self.onafterslidermove!==null&&typeof self.onafterslidermove=='function'){self.onafterslidermove(self.options['moveto']);self.onafterslidermove=null;}}});self.sl.attr({'data-currententry':self.curE, 'data-currentpage':self.curP});}if(self.noP > 0&&self.pNavi!==null&&self.pNavi.length > 0){self.pNavi.children('.selected').removeClass('selected').end()
52.children().eq(self.curP-1).addClass('selected');}if(options['moveslider']!==false&&self.scrollBar!==null&&self.scrollBar.length > 0){var vhcP=Math.ceil((self.curP)*100/self.noP)/100;var vhprevP=Math.ceil((self.curP-1)*100/self.noP)/100;var vh=vhcP-vhprevP/2;var val=self.curP==1?0:(self.curP==self.noP?parseInt(self.scrollBar.attr('max')):Math.ceil((self.curP-vh)*100/self.noP)/100*parseInt(self.scrollBar.attr('max')));self.scrollBar.val(val);}}touch(event) {const self=this;const original=event.originalEvent||event;const type=original.type;if (type==='touchstart'||type==='mousedown') {const pageX=type==='touchstart'?original.touches[0].pageX:original.pageX;const pageY=type==='touchstart'?original.touches[0].pageY:original.pageY;self.slt['sx']=pageX;self.slt['sy']=pageY-jQuery(window).scrollTop();self.slt['isClick']=false;}else if (type==='touchmove'||type==='mousemove') {if (self.slt['sx']!=null&&self.slt['sy']!=null) {const pageX=type==='touchmove'?original.touches[0].pageX:original.pageX;const pageY=type==='touchmove'?original.touches[0].pageY:original.pageY;self.slt['sxc']=pageX;self.slt['syc']=pageY-jQuery(window).scrollTop();self.slt['dx']=self.slt['sxc']-self.slt['sx'];self.slt['dy']=self.slt['syc']-self.slt['sy'];
52self.slt['dxp']=Math.abs(self.slt['dx']);self.slt['dyp']=Math.abs(self.slt['dy']);if (self.sl.attr('data-moving')!=='1'&&self.slt['dxp'] > 10&&self.slt['dxp'] / self.slt['dyp'] > 1.4) {if (self.slt['dx'] > 0) {self.slt['sx']=self.slt['sy']=null;self.smartSliderMove('-', {flip:this.option.flip});} else {self.slt['sx']=self.slt['sy']=null;self.smartSliderMove('+', {flip:this.options.flip});}self.slt['isClick']=false;}}}else if (type==='touchend'||type==='mouseup') {if (!self.slt['isClick']) self.sl.attr('data-istouched', true);else self.sl.attr('data-istouched', false);self.slt['sx']=self.slt['sy']=null;self.setVar();}event.stopPropagation();event.stopImmediatePropagation();}resize(event){const self=this;var doResize=true;if(self.slI==null) doResize=false;if(self.options.slideronlymobile==='1'&&!window.matchMedia("(max-width:" + self.options.breakpoint + ")").matches){if(self.sl.attr('data-init')===undefined){self.init();doResize=false;}else{self.deactivate();doResize=false;}}else if(self.options.slideronlymobile==='1'&&window.matchMedia("(max-width:" + self.options.breakpoint + ")").matches){if(self.sl.attr('data-init')===undefined){self.init();doResize=false;}self.activate();}if(!doResize) return false;var bkpRaster=[415, 576, 768, 992, 1200];var curBKP=bkpRaster.reduce((acc, bp)=> jQuery(window).width() >=bp?bp:acc, 0);if(!self.onload&&self.slI.outerWidth()!=self.slIw){self.setVar(true);self.onload=true;if(this.sl.attr('data-smartpagenavi')=='scrollbar'){self.setScrollbar();self.setPageNav();}else if(this.sl.attr('data-smartpagenavi')=='scrollbarOnly') self.setScrollbar();else self.setPageNav();}else if(self.curBKP!=null&&self.curBKP!=curBKP){if(typeof event.originalEvent!='undefined'&&event.originalEvent.isTrusted){self.sl.find('> div, > ul').css({'margin-left':0});self.setVar(true);if(this.sl.attr('data-smartpagenavi')=='scrollbar'){self.setScrollbar();self.setPageNav();}else if(this.sl.attr('data-smartpagenavi')=='scrollbarOnly') self.setScrollbar();else self.setPageNav();}}self.curBKP=curBKP;}}wSmartSlider=function(sl, options){if(typeof(window.smartSliderObjects)=='undefined') window.smartSliderObjects={};if(!sl.attr('data-slid')){sl.attr('data-slid', Math.random().toString(36).substr(2,9));}var slId=sl.attr('data-slid');var slO=null;if(window.smartSliderObjects[slId]===undefined){slO=new wClassSmartSlider(sl, options);window.smartSliderObjects[slId]=slO;}else slO=window.smartSliderObjects[slId];};jQuery.fn.wLightbox=function(optionsLightbox){jQuery.each(jQuery(this), function(){if(jQuery(this).prop("tagName")=='A'&&jQuery(this).closest('li[data-target*="box"]').length > 0){jQuery(this).on('click', function(){jQuery(this).closest('li[data-target*="box"]').trigger('click');return false;});}else{if(jQuery(this).attr('target')!='embedBody'&&jQuery(this).attr('data-hasinitlightbox')!='1'){jQuery(this).attr('data-hasinitlightbox', '1');jQuery(this).on('click', function(){return wLightbox(jQuery(this), typeof(optionsLightbox)!='undefined'?optionsLightbox:{});});jQuery(this).on('submit', function(){return wLightbox(jQuery(this), typeof(optionsLightbox)!='undefined'?optionsLightbox:{});});}}if(typeof(wEditor)=='undefined'&&jQuery(this).prop("tagName")=='PICTURE'){jQuery(this).attr('tabindex', 0);jQuery(this).keypress(function(event){if(event.keyCode==13||event.keyCode==32 ){jQuery(this).trigger("click");event.preventDefault();}});}});};wLightbox=function(objectCurrent, options){if(typeof(wEditor)!='undefined'){return false;}var elementCurrent, src, alt='', queryString='', srcOrig, rel, optionsInit=options;var openPointerType='';if(typeof(event)!=='undefined'){if(typeof(event.pointerType)!=='undefined'){openPointerType=event.pointerType;}wLightboxOpener=event.target;}options=options||{};options['objectCurrent']=objectCurrent;if(typeof(objectCurrent.jquery)=='undefined'){options=typeof(optionsInit)!='undefined'?options:objectCurrent;}else if(objectCurrent.attr('data-isinactivelightbox')=='1'){return false;}lwd={};lwd['box']={class:'default', postfix:'viewmode=blank&linkback=no'};lwd['boxPicture']={class:'image', scrollIfToHeight:false, imitSizeIfPicture:true, addCopyrightElement:true, addPlayer:false, playerDuration:5000, allowFullscreen:false};lwd['boxGallery']={class:'imageFull', scrollIfToHeight:false, limitSizeIfPicture:true, addCopyrightElement:true, addPlayer:true, playerDuration:5000, showPlayerProgress:true, showEntryPosition:true, animation:'slidefrombeside'  , allowFullscreen:true, allowTouchSlide:true, animationOverflow:'visible'};lwd['boxPdfViewer']={class:'pdfViewer', scrollIfToHeight:false, limitSizeIfPicture:true, addCopyrightElement:false, showEntryPosition:true, showEntriesSelectable:true, showEntriesSelectableThumbnail:true, animation:'overlapfrombeside'  , allowFullscreen:false, allowTouchSlide:true, animationOverflow:'visible', allowFullscreen:false, allowZoom:true, animationOverflow:'hidden', closeOnClickBackgroun
52d:false};lwd['boxVideo']={class:'video'};lwd['boxYoutube']={class:'youtube'};lwd['boxContent']={class:'content', postfix:'viewmode=blank&linkback=no'};lwd['boxForm']={class:'form', postfix:'viewmode=blank&linkback=no'};lwd['boxCard']={class:'card', postfix:'viewmode=blank&linkback=no'};lwd['boxCart']={class:'cart', postfix:'viewmode=blank&linkback=no'};if(typeof(wLightboxVariants)!='undefined'){if(!options['variant']){if(objectCurrent.attr('data-variant')){options['variant']=objectCurrent.attr('data-variant');}else if(objectCurrent.prop('tagName')=='A'&&objectCurrent.attr('target')&&objectCurrent.attr('target').indexOf('box')!=-1){options['variant']=objectCurrent.attr('target');}else if(objectCurrent.prop('tagName')=='FORM'&&objectCurrent.attr('data-target')&&objectCurrent.attr('data-target').indexOf('box')!=-1){options['variant']=objectCurrent.attr('data-target');}else if(objectCurrent.prop('tagName')=='PICTURE'||objectCurrent.attr('class')&&objectCurrent.attr('class').indexOf('picture')!=-1){if(objectCurrent.closest('.listPictureGallery').length!=0&&wLightboxVariants['boxGallery']){options['variant']='boxGallery';}else{options['variant']='boxPicture';}}else {options['variant']='box';}if(/(box\w+)/.test(objectCurrent.get(0).className)){options['variant']=RegExp.$1;}}if(typeof(objectCurrent.jquery)!='undefined'&&objectCurrent.attr('data-copyright-lightbox')&&objectCurrent.attr('data-onlypicturecopyright-lightbox')!='1'){options['copyrightText']=objectCurrent.attr('data-copyright-lightbox');}if(typeof wLightboxVariants[options['variant']]==='undefined'){if(typeof lwd[options['variant']]!=='undefined'){wLightboxVariants[options['variant']]=lwd[options['variant']];}}if(wLightboxVariants[options['variant']]){if(wLightboxVariants[options['variant']]['class']&&!options['class']){options['class']=wLightboxVariants[options['variant']]['class'];}if(wLightboxVariants[options['variant']]['width']&&!options['width']){options['width']=wLightboxVariants[options['variant']]['width'];}if(wLightboxVariants[options['variant']]['height']&&!options['height']){options['height']=wLightboxVariants[options['variant']]['height'];}if(wLightboxVariants[options['variant']]['postfix']&&!options['postfix']){options['postfix']=wLightboxVariants[options['variant']]['postfix'];}if(wLightboxVariants[options['variant']]['scrollIfToHeight']&&!options['scrollIfToHeight']){options['scrollIfToHeight']=wLightboxVariants[options['variant']]['scrollIfToHeight'];}if(wLightboxVariants[options['variant']]['limitSizeIfPicture']&&!options['limitSizeIfPicture']){options['limitSizeIfPicture']=wLightboxVariants[options['variant']]['limitSizeIfPicture'];}if(typeof wLightboxVariants[options['variant']]['closeOnClickBackground']!=='undefined'){options['closeOnClickBackground']=wLightboxVariants[options['variant']]['closeOnClickBackground'];}if(typeof wLightboxVariants[options['variant']]['type']!=='undefined'){options['type']=wLightboxVariants[options['variant']]['type'];}if(typeof wLightboxVariants[options['variant']]['pushState']!=='undefined'){options['pushState']=wLightboxVariants[options['variant']]['pushState'];}}}if(typeof(objectCurrent.jquery)=='undefined'){src=options['href']?options['href']:objectCurrent;rel='';objectCurrent=jQuery('<a href="' + src + '" target=""></a>');}else if(typeof(options['href'])!='undefined'&&/\//.test(options['href'])){src=options['href'];if(objectCurrent.get(0) instanceof Window) objectCurrent=jQuery('<a href="' + src + '" target=""></a>');rel=objectCurrent.attr('data-rel')?objectCurrent.attr('data-rel'):'';elementCurrent=objectCurrent.get(0);objectCurrent=jQuery('<a href="' + src + '" target=""></a>');}else{elementCurrent=objectCurrent.get(0);if(objectCurrent.prop('tagName')=='FORM'){src=objectCurrent.attr('action');objectCurrent.find('input').each(function(){var add=true;if((jQuery(this).attr('type')=='radio'||jQuery(this).attr('type')=='checkbox')&&!jQuery(this).prop('checked')) add=false;if(add) queryString +=(queryString==''?'?':'&') + jQuery(this).attr('name') + '=' + encodeURIComponent(jQuery(this).val());});src +=queryString;}else{src=objectCurrent.attr('data-href')?objectCurrent.attr('data-href'):objectCurrent.attr('href');alt=objectCurrent.find('img').attr('alt')?objectCurrent.find('img').attr('alt'):'';if(!src){currentImage=objectCurrent.find('img');rel=objectCurrent.attr('rel');
52if(currentImage){if(currentImage.parent().prop('tagName')=='PICTURE'&&objectCurrent.parent().attr('data-src')){src=objectCurrent.parent().attr('data-src');if(objectCurrent.parent().attr('data-rel')){rel=objectCurrent.parent().attr('data-rel');}}else if(currentImage.parent().prop('tagName')=='PICTURE'){src=objectCurrent.attr('data-src');}else{src=objectCurrent.find('img').attr('src');}}}if(!src){src=options['href'];}if(options['limitSizeIfPicture']&&objectCurrent.find('source').length!=0&&objectCurrent.attr('data-lightboxequal')=='1'){var srcs=[], srcToCheck='', widthSrcToCheck=0, srcToUse='', widthSrcToUse=10000, windowWidth=parseInt(jQuery(window).width());objectCurrent.find('source').each(function(){try{srcs=jQuery(this).attr('srcset').split(',');for(var i=0; i < srcs.length; i++){srcToCheck=srcs[i].replace(/\s+\w+/, '').trim();if(/@(\d+)w/.test(srcToCheck)){widthSrcToCheck=RegExp.$1;if(widthSrcToCheck >=windowWidth * devicePixelRatio&&widthSrcToCheck < widthSrcToUse){src=srcToCheck;widthSrcToUse=widthSrcToCheck;}}}}catch(e){}});}}if(!rel){rel=objectCurrent.attr('data-rel');}}srcOrig=src;if(options['postfix']){if(/(.*)(#.*)$/.test(src)){src=RegExp.$1;var anchor=RegExp.$2;src +=/\?/.test(src)?'&' + options['postfix'] + anchor:'?' + options['postfix'] + anchor;}else{src +=/\?/.test(src)?'&' + options['postfix']:'?' + options['postfix'];}}if(/^https?\:\/\/([^\/]+)/.test(src)&&!/\.(png|jpe?g|gif|webp)$/i.test(src)){var removeBlank=true;if(RegExp.$1==location.host){removeBlank=false;}if(typeof(wHostsAllowViewmodeBlank)!=='undefined'&&wHostsAllowViewmodeBlank!=''){var regExpAllowViewmmodeBlank=new RegExp(wHostsAllowViewmodeBlank.replace(/\./g, '\\.'));if(regExpAllowViewmmodeBlank.test(src)){removeBlank=false;}}if(removeBlank){src=src.replace('viewmode=blank', '').replace('linkback=no', '');src=src.replace(/[\?\&]+$/, '');}}var externalRessourceToConfirm='';if(/youtu\.be\/([^\&\?]+)/.test(src)||/youtube(?:-nocookie)?\.com\/watch\?v=([^\&\?]+)/.test(src)||/youtube(?:-nocookie)?\.com\/embed\/([^\&\?]+)/.test(src)||/youtube(?:-nocookie)?\.com\/shorts\/([^\&\?]+)/.test(src)){options['class']='youtube';var vu='https://www.youtube-nocookie.com/embed/' + RegExp.$1;var vqs='';if(/(start=\d+)/.test(src)){vqs +=(vqs==''?'?':'&') + RegExp.$1;}else if(/(t=\d+)/.test(src)){vqs +=(vqs==''?'?':'&') + 'star' + RegExp.$1;}if(/(end=\d+)/.test(src)){vqs +=(vqs==''?'?':'&') + RegExp.$1;}vqs +=(vqs==''?'?':'&') + 'autoplay=1&rel=0';src=vu + vqs;externalRessourceToConfirm='youtube';}else if(/vimeo.com\/(?:video\/)?([\w]+)/.test(src)){options['class']='youtube';var vu='https://player.vimeo.com/video/' + RegExp.$1;var vqs='';if(/[\?&](h=\w+)/.test(src)){vqs +=(vqs==''?'?':'&') + RegExp.$1;}if(/(start=\d+)/.test(src)){vqs +=(vqs==''?'?':'&') + RegExp.$1;}if(/(end=\d+)/.test(src)){vqs +=(vqs==''?'?':'&') + RegExp.$1;}vqs +=(vqs==''?'?':'&') + 'autoplay=1';src=vu + vqs;externalRessourceToConfirm='vimeo';}if(typeof(wConfirmExternVideosInLightbox)!='undefined'&&wConfirmExternVideosInLightbox===false){externalRessourceToConfirm='';}var lightboxClassName='wLightbox-' + (options['class']?options['class']:'default');var contentWidth=0;var contentHeight=0;var elementsRel=jQuery("*[data-rel='" + rel + "']:not([data-isinactivelightbox='1'])");var numberRel=elementsRel.length;var positionRel=1;for(i=0; i < numberRel; i++){if(elementCurrent&&elementsRel[i]==elementCurrent){positionRel=i + 1;break;}}var classPrev='wLightboxMoverBack' + (numberRel > 1&&positionRel > 1?' wLightboxMoverBackAvailable':'');var classNext='wLightboxMoverForward' + (numberRel > 1&&positionRel < numberRel?' wLightboxMoverForwardAvailable':'');if(options['pushState']&&positionRel > 0){let pushStateHash='#anchor_lightbox_' + rel + '_' + positionRel;history.pushState({page:pushStateHash}, '', pushStateHash);}var boxWasOpened=true;var lightboxType='iframe';var titleInnerHTML='';if(options['type']=='inline'||objectCurrent&&objectCurrent.attr('data-lightboxtype')=='inline'){lightboxType='inline';}else if(options['type']=='ajax'||objectCurrent&&objectCurrent.attr('data-lightboxtype')=='ajax'){lightboxType='inline';options['type']='ajax';}else if(/\.(jpe?g|gif|webp|png|svg)$/i.test(src.replace(/\?.*/, ''))||options['type']=='image'||objectCurrent&&objectCurrent.attr('data-lightboxtype')=='image'){lightboxType='image';}else if(/\.(mpeg|mp4|m4v)(\?[^\/]*)*$/i.test(src)||options['type']=='video'||objectCurrent&&objectCurrent.attr('data-lightboxtype')=='video'){lightboxType='video';}if(typeof(wOnBeforeOpenLightbox)==='function'){if(wOnBeforeOpenLightbox(src, options)==false){return false;}}var lE=jQuery('.wLightbox');if(jQuery('#wLightbox').length==0){if(lightboxType=='inline'){options['content']=options['content']||'';options['allowTouchStart']=typeof(options['allowTouchStart'])!='undefined'?options['allowTouchStart']:false;jQuery('<div id="wLightbox" data-type="' + lightboxType + '" class="wLightbox wLightbox-' + options['type'] + ' ' + lightboxClassName + '" data-src="' + src + '">
52<div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner" ' + (!options['allowTouchStart']?' ontouchstart="event.preventDefault();"':'') + (!options['allowMouseDown']?' onmousedown="event.preventDefault();"':'') + '><div class="wLightboxCloser" role="button" aria-label="'+wGetText('close')+'"></div>' + options['content'] + '<div class="wLightboxTitle"></div></div></div></div>').appendTo('body');}else if(lightboxType=='image'){if(typeof(wAddRandomIdToImagesInLightbox)!='undefined'&&wAddRandomIdToImagesInLightbox){src=src + (src.indexOf('?')==-1?'?':'') + String(parseInt(Math.random() * 1000000));}jQuery('<div id="wLightbox" data-type="' + lightboxType + '" ' + (wLightboxVariants[options['variant']]['showPlayerProgress']?' data-showplayerprogress="1"':'')+ (wLightboxVariants[options['variant']]['showEntryPosition']&&numberRel > 1?' data-showentryposition="1"':'') + ' class="wLightbox wLightbox-image ' + lightboxClassName + '" data-src="' + src + '"' + (wLightboxVariants[options['variant']]['allowFullscreen']?' data-allowfullscreen="1"':'') + '><div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner">' + (wLightboxVariants[options['variant']]['showEntryPosition']&&numberRel > 1?'<div class="wLightboxEntries"><div class="wLightboxEntryPosition">' + positionRel + ' / ' + numberRel + '</div><div class="wLightboxEntriesSelectable"></div><div class="wLightboxEntriesSelectableOpener"></div></div>':'') + (wLightboxVariants[options['variant']]['allowDownload']&&objectCurrent.attr('data-downloadpath')&&objectCurrent.attr('data-downloadpath')!=''?'<div class="wLightboxDownload"><span></span><span></span></div>':'') + (wLightboxVariants[options['variant']]['allowZoom']&&numberRel > 1?'<div class="wLightboxZoom"><span></span><span></span></div>':'') + (wLightboxVariants[options['variant']]['addPlayer']&&numberRel > 1?'<div class="wLightboxPlayer"><span></span><span></span></div>':'') + (wLightboxVariants[options['variant']]['allowFullscreen']?'<div class="wLightboxFullscreen"><span></span><span></span></div>':'') + '<div class="wLightboxCloser" role="button" aria-label="'+wGetText('close')+'"><span></span><span></span></div><div aria-label="'+wGetText('button_back')+'" class="' + classPrev + '"><span></span><span></span></div><div aria-label="'+wGetText('button_next')+'" role="button" class="' + classNext + '"><span></span><span></span></div><div class="wLightboxImageOuter"><img class="wLightboxImage" src="' + src + '" alt="' + alt + '"/>' + (wLightboxVariants[options['variant']]['addCopyrightElement']&&options['copyrightText']?'<div class="wLightboxCopyright">' + options['copyrightText'] + '</div>':'') + '</div><div class="wLightboxFooter"><div class="wLightboxTitle">' + titleInnerHTML + '</div><div class="wLightboxDescription">' + titleInnerHTML + '</div></div>' + (wLightboxVariants[options['variant']]['showPlayerProgress']?' <div class="wLightboxPlayerProgress"></div>':'') + '</div></div></div>').appendTo('body');if(elementsRel.length > 1&&elementsRel[1].getAttribute('data-src')){var imgPreload=new Image();imgPreload.src=elementsRel[1].getAttribute('data-src');}if(elementsRel.length > 1&&wLightboxVariants[options['variant']]['showEntriesSelectable']&&numberRel > 1 ){jQuery('.wLightboxEntries').on('click', function(){jQuery('.wLightboxEntriesSelectable').toggleClass('open');});var thumbnailsRel=[];if(wLightboxVariants[options['variant']]['showEntriesSelectableThumbnail']&&jQuery(elementsRel[0]).closest('.listInner').length===1){thumbnailsRel=jQuery(elementsRel[0]).closest('.listInner').find('.listEntriesPreview img');}for(var j=0; j < elementsRel.length; j++){var thumbnailElement='';if(thumbnailsRel[j]){thumbnailElement='<img class="wLightboxEntrySelectableThumbnail" src="' + thumbnailsRel[j].getAttribute('src') + '" alt="" />';}jQuery('.wLightboxEntriesSelectable').append('<div class="wLightboxEntriesSelectablePage' + (j===positionRel-1?' selected':'') + '" data-pageid="' + (j + 1) + '">' + thumbnailElement + '<span class="wLightboxEntrySelectablePageId">' + (j + 1) + '</span></div>');}jQuery('.wLightboxEntriesSelectablePage').on('click', function(){jQuery('.wLightboxEntriesSelectablePage.selected').removeClass('selected');jQuery('.wLightboxEntriesSelectablePage').eq(jQuery(this).data('pageid')-1).addClass('selected');
52jQuery(elementsRel[jQuery(this).data('pageid')-1]).trigger('click');});}}else if(lightboxType=='video'){var mimeTypeVideo='video/mp4';jQuery('<div id="wLightbox" data-type="' + lightboxType + '" class="wLightbox wLightbox-video ' + lightboxClassName + '" data-src="' + src + '"><div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner" ontouchstart="event.preventDefault();" onmousedown="event.preventDefault();"><div class="wLightboxCloser"></div><div class="' + classPrev + '"><span></span><span></span></div><div class="' + classNext + '"><span></span><span></span></div><video controls="controls" autoplay="autoplay" style="max-width:100%;width:auto;height:auto;"><source src="' + src + '" type="' + mimeTypeVideo + '" /></video><div class="wLightboxFooter"><div class="wLightboxTitle">' + titleInnerHTML + '</div></div></div></div></div>').appendTo('body');}else{var srcIframe=src;if(document.cookie.indexOf('allowLoadExternRessources=1')==-1&&(externalRessourceToConfirm=='youtube'||externalRessourceToConfirm=='vimeo')){srcIframe='about:blank';if(externalRessourceToConfirm=='vimeo'){var urlConfirmExternalRessource=wProjectPath + '/wGlobal/content/privacy/vimeo-start-notice-iframe.php?viewmode=blank';}else{var urlConfirmExternalRessource=wProjectPath + '/wGlobal/content/privacy/youtube-start-notice-iframe.php?viewmode=blank';}jQuery.ajax({type:"GET", url:urlConfirmExternalRessource,success:function(result){jQuery('#wLightboxIframe').on("load", function(){var videoStart=(jQuery('#wLightboxIframe').contents().find("#startVideo").length > 0?jQuery('#wLightboxIframe').contents().find("#startVideo"):jQuery('#wLightboxIframe').contents().find("html"));videoStart.on('click', function(){parent.jQuery('#wLightboxIframe').attr('src', parent.jQuery('#wLightboxIframe').data('srcx'));return false;});});jQuery('#wLightboxIframe').attr('src', urlConfirmExternalRessource);},error:function (xhr, ajaxOptions, thrownError){if(xhr.status==404){jQuery('#wLightboxIframe').attr('src', jQuery('#wLightboxIframe').data('srcx'))
53}}});}var lightboxHTML='<div id="wLightbox" data-type="' + lightboxType + '" class="wLightbox wLightbox-iframe ' + lightboxClassName + '" data-src="' + src + '"><div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner"><div class="wLightboxCloser"></div><div class="' + classPrev + '"><span></span><span></span></div><div class="' + classNext + '"><span></span><span></span></div><iframe id="wLightboxIframe" class="wLightboxIframe" data-openpointertype="' + openPointerType + '" allow="autoplay" allowfullscreen="true" data-srcx="' + src + '" src="' + srcIframe + '"></iframe><div class="wLightboxTitle"></div></div></div></div>';jQuery(lightboxHTML).appendTo('body');}lE=jQuery('#wLightbox');jQuery('.wLightboxCloser, .wLightboxBackground').on('click touchend', function(event){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});jQuery('.wLightboxFullscreen').on('click', function(){event.stopPropagation();if(jQuery('#wLightbox').attr('data-fullscreenstatus')!='full'){jQuery('#wLightbox').attr('data-fullscreenstatus', 'full');if(typeof jQuery('.wLightbox').get(0).requestFullScreen==='function'){jQuery('.wLightbox').get(0).mozRequestFullScreen();}else if(typeof jQuery('.wLightbox').get(0).mozRequestFullScreen==='function'){jQuery('.wLightbox').get(0).mozRequestFullScreen();}else if(typeof jQuery('.wLightbox').get(0).webkitRequestFullScreen==='function'){jQuery('.wLightbox').get(0).webkitRequestFullScreen();}}else{jQuery('#wLightbox').attr('data-fullscreenstatus', '');document.exitFullscreen();}});jQuery('.wLightboxZoom').on('click', function(){event.stopPropagation();if(jQuery('#wLightbox').attr('data-zoom')!='1'){jQuery('#wLightbox').attr('data-zoom', '1');}else{jQuery('#wLightbox').attr('data-zoom', '');}});jQuery('.wLightboxDownload').on('click', function(){event.stopPropagation();window.open(objectCurrent.attr('data-downloadpath'));});jQuery('.wLightboxPlayer').on('click', function(){event.stopPropagation();if(jQuery('#wLightbox').attr('data-playerstatus')!='play'){var playerDuration=typeof wLightboxVariants[options['variant']]['playerDuration']!='undefined'?wLightboxVariants[options['variant']]['playerDuration']:5000;jQuery('.wLightboxPlayerProgress').get(0).style.setProperty('--wLightboxPlayerDuration', String(playerDuration / 1000) + 's');jQuery('#wLightbox').attr('data-playerstatus', 'play');if(jQuery('#wLightbox').attr('data-showplayerprogress')=='1'){jQuery('#wLightbox').attr('data-playerprogress', 'play');}if(elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1]){var imgPreload=new Image();imgPreload.src=elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1].getAttribute('data-src');}intervallLightboxPlayer=window.setInterval(function(){if(jQuery('.wLightboxMoverForwardAvailable').length!=0){if(elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1]){var imgPreload=new Image();imgPreload.src=elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1].getAttribute('data-src');}jQuery('.wLightboxMoverForwardAvailable').trigger('click');if(jQuery('#wLightbox').attr('data-showplayerprogress')=='1'){jQuery('#wLightbox').attr('data-playerprogress', '');window.setTimeout(function(){jQuery('#wLightbox').attr('data-playerprogress', 'play');}, 32);}}else{jQuery('#wLightbox').attr('data-playerstatus', 'pause');jQuery('#wLightbox').attr('data-playerprogress', '');jQuery('.wLightboxPlayer').hide();window.clearInterval(intervallLightboxPlayer);}}, playerDuration);}else{jQuery('#wLightbox').attr('data-playerstatus', 'pause');jQuery('#wLightbox').attr('data-playerprogress', '');window.clearInterval(intervallLightboxPlayer);}});if(!wUiTmp['hasAEF']){wUiTmp['hasAEF']=true;document.addEventListener('fullscreenchange', function(){if(!document.fullscreenElement){jQuery('.wLightboxFullscreen').show();}});}boxWasOpened=false;jQuery('.wLightbox').addClass('wLightboxStatusLoading');}else if(lightboxType!=lE.data('type')){if(lightboxType=='inline'){options['content']=options['content']||'';lE.data('type', lightboxType)
54.data('src', src)
55.attr('class', 'wLightbox wLightbox-' + options['type'] + ' ' + lightboxClassName)
56.html('<div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner"' + (!options['allowTouchStart']?' ontouchstart="event.preventDefault();"':'') + (!options['allowMouseDown']?' onmousedown="event.preventDefault();"':'') + '><div class="wLightboxCloser"></div>' + options['content'] + '<div class="wLightboxTitle"></div></div></div></div>');}else if(lightboxType=='image'){lE.data('type', lightboxType)
57.data('src', src)
58.attr('class', 'wLightbox wLightbox-image ' + lightboxClassName)
59.html('<div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner"><div class="wLightboxCloser"><span></span><span></span></div><div class="' + classPrev + '"><span></span><span></span></div><div class="' + classNext + '"><span></span><span></span></div><div class="wLightboxImageOuter"><img class="wLightboxImage" src="' + src + '" alt="' + alt + '"/>' + (wLightboxVariants[options['variant']]['addCopyrightElement']&&options['copyrightText']?'<div class="wLightboxCopyright">' + options['copyrightText'] + '</div>':'') + '</div><div class="wLightboxFooter"><div class="wLightboxTitle">' + titleInnerHTML + '</div><div class="wLightboxDescription">' + titleInnerHTML + '</div></div></div></div></div>');}else if(lightboxType=='video'){var mimeTypeVideo='video/mp4';lE.data('type', lightboxType)
60.data('src', src)
61.attr('class', 'wLightbox wLightbox-video ' + lightboxClassName)
62.html('<div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner" ontouchstart="event.preventDefault();" onmousedown="event.preventDefault();"><div class="wLightboxCloser"></div><div class="' + classPrev + '"><span></span><span></span></div><div class="' + classNext + '"><span></span><span></span></div><video controls="controls" autoplay="autoplay" style="max-width:100%;width:auto;height:auto;"><source src="' + src + '" type="' + mimeTypeVideo + '" /></video><div class="wLightboxFooter"><div class="wLightboxTitle">' + titleInnerHTML + '</div></div></div></div></div>');}else{lE.data('type', lightboxType)
63.data('src', src)
64.attr('class', 'wLightbox wLightbox-iframe ' + lightboxClassName)
65.html('<div class="wLightboxBackground"></div><div class="wLightboxOuter"><div class="wLightboxInner"><div class="wLightboxCloser"></div><div class="' + classPrev + '"><span></span><span></span></div><div class="' + classNext + '"><span></span><span></span></div><iframe id="wLightboxIframe" class="wLightboxIframe" data-openpointertype="' + openPointerType + '" allowfullscreen="true" src="' + src + '"></iframe><div class="wLightboxTitle"></div></div></div></div>');}boxWasOpened=false;jQuery('.wLightboxCloser, .wLightboxBackground').on('click touchend', function(){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});lE.removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusChanging').addClass('wLightboxStatusChanging');}else{lE.removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusChanging').addClass('wLightboxStatusChanging');}if(jQuery('.wLightboxEntryPosition').length!=0){jQuery('.wLightboxEntryPosition').html(positionRel + ' / ' + elementsRel.length);}if(lightboxType=='inline'){if(options['type']=='ajax'){if(!options['width']){options['width']='content';}if(!options['height']){options['height']='content';}}var heightTitle=0;if(elementCurrent&&elementCurrent.getAttribute('title')&&elementCurrent.getAttribute('title')!=''){jQuery('.wLightboxTitle').show().html(elementCurrent.getAttribute('title'));}else{jQuery('.wLightboxTitle').hide();}heightTitle=jQuery('.wLightboxTitle').outerHeight();var maxWidthBox=(window.innerWidth?window.innerWidth:(document.documentElement?document.documentElement.offsetWidth:document.body.clientWidth))-(parseInt(jQuery('.wLightboxOuter').css('padding-left')) + parseInt(jQuery('.wLightboxInner').css('border-left-width'))) * 2;var maxHeightBox=(window.innerHeight?window.innerHeight:(document.documentElement?document.documentElement.offsetHeight:document.body.clientHeight))-(parseInt(j
65Query('.wLightboxOuter').css('padding-top')) + parseInt(jQuery('.wLightboxInner').css('border-top-width'))) * 2-heightTitle;if(/^(\d+)px$/.test(options['width'])){maxWidthBox=parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['width'])){maxWidthBox=parseInt(jQuery(window).width()) * RegExp.$1 / 100;}if(/^(\d+)px$/.test(options['height'])){maxHeightBox=parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['height'])){maxHeightBox=parseInt(jQuery(window).height()) * RegExp.$1 / 100;}contentWidth=options&&options['width']&&/^\d+(.\d+)?$/.test(options['width'])?options['width']:maxWidthBox;contentHeight=options&&options['height']&&/^\d+(.\d+)?$/.test(options['height'])?options['height']:contentHeight=maxHeightBox;var pageRatio=maxWidthBox / maxHeightBox;var contentRatio=contentWidth / contentHeight;var lightboxWidth=contentWidth;var lightboxHeight=contentHeight + heightTitle;if(contentWidth > maxWidthBox||contentHeight > maxHeightBox){if(contentRatio > pageRatio){lightboxWidth=maxWidthBox;lightboxHeight=Math.round(maxWidthBox / contentRatio) + heightTitle;}else{lightboxWidth=Math.round(maxHeightBox * contentRatio);lightboxHeight=maxHeightBox + heightTitle;}}widthAttrib=String(lightboxWidth) + 'px';heightAttrib=String(lightboxHeight) + 'px';if(options['height']=='content'){jQuery('.wLightboxOuter').css({'max-height':'100%'});}else{jQuery('.wLightboxOuter').css({'height':heightAttrib});}if(options['width']=='content'){jQuery('.wLightboxInner').css({'max-width':'100%'});}else{jQuery('.wLightboxInner').css({'width':widthAttrib});}jQuery('.wLightboxPrev').data('entry', positionRel-2);jQuery('.wLightboxNext').data('entry', positionRel);if(boxWasOpened){jQuery('.wLightboxMoverBack').attr('class', classPrev);jQuery('.wLightboxMoverForward').attr('class', classNext);jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading');}else{jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading');jQuery('.wLightboxInner').on('click touchend', function(event){event.stopPropagation();});jQuery('.wLightboxCloser, .wLightboxOuter').on('click touchend', function(event){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});jQuery('.wLightboxMoverBack, .wLightboxMoverForward').on('click', function(event){jQuery('.wLightbox').removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusLoading');jQuery(elementsRel[jQuery(this).data('entry')]).trigger('click');event.stopPropagation();});}if(options['type']=='ajax'){jQuery.ajax({type:"GET", url:src, success:function(result){jQuery('.wLightboxCloser').after('<div class="wLightboxContent">' + result + '</div>');if(options['height']=='content'){jQuery('.wLightboxContent').css({'max-height':String(lightboxHeight) + 'px'});}}});}}else if(lightboxType=='image'){var image=new Image();image.onload=function(){window.setTimeout(function(){if(false&&/\.(svg)$/i.test(srcOrig)){}else{var imageRatio=image.width / image.height;var lightboxWidth=image.width;var lightboxHeight=image.height;var lEInner=jQuery('.wLightboxInner');var lEOuter=jQuery('.wLightboxOuter');var lETitle=jQuery('.wLightboxTitle');var widthInnerBefore=0;var heightInnerBefore=0;var widthInnerCurrent=0;var heightInnerCurrent=0;var widthImageBefore=0;var heightImageBefore=0;var diffWidthInner=0;var diffHeightInner=0;widthInnerBefore=lEInner.width();heightInnerBefore=lEInner.height();widthInnerCurrent=lEInner.width();heightInnerCurrent=lEInner.height();widthImageBefore=jQuery('.wLightboxImage').width();heightImageBefore=jQuery('.wLightboxImage').height();lEInner.css({'width':'auto', 'height':'auto', 'max-height':'none', 'opacity':'1'});var widthArea=lEOuter.width();var heightArea=lEOuter.height();if(/^(\d+)px$/.test(options['width'])){widthArea=widthArea < parseInt(RegExp.$1)?widthArea:parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['width'])){widthArea=widthArea < parseInt(jQuery(window).width()) * RegExp.$1 / 100?widthArea:parseInt(jQuery(window).width()) * RegExp.$1 / 100;}var computedStyle=window.getComputedStyle(lEInner.get(0));widthArea=parseInt(computedStyle['max-width']) < widthArea?parseInt(computedStyle['max-width']):widthArea;heightArea=parseInt(computedStyle['max-height']) < heightArea?parseInt(computedStyle['max-height']):heightArea;widthArea-=(lEInner.outerWidth()-lEInner.width());heightArea-=(lEInner.outerHeight()-lEInner.height());jQuery('.wLightboxFooter').css({'max-width':String(lEInner.width()) + 'px'});var areaRatio=widthArea / heightArea;if(elementCurrent&&elementCurrent.getAttribute('data-title')&&elementCurrent.getAttribute('data-title')!=''){lETitle.show().html(elementCurrent.getAttribute('data-title'));}else if(elementCurrent&&elementCurrent.getAttribute('title')&&elementCurrent.getAttribute('title')!=''){lETitle.show().html(elementCurrent.getAttribute('title'));}else{lETitle.hide();}if(elementCurrent&&elementCurrent.getAttribute('data-description')!=''){jQuery('.wLightboxDescription').show();
65var diffWidthDescription=parseInt(jQuery('.wLightboxInner').width()-jQuery('.wLightboxDescription').width());jQuery('.wLightboxDescription').css({'width':widthArea-diffWidthDescription, 'visibility':'hidden'}).show().html(elementCurrent.getAttribute('data-description'));}else{jQuery('.wLightboxDescription').hide();}if(wLightboxVariants[options['variant']]&&wLightboxVariants[options['variant']]['addCopyrightElement']&&options['copyrightText']){if(jQuery('.wLightboxCopyright').length==0){jQuery('.wLightboxImageOuter').append('<div class="wLightboxCopyright"/>');}jQuery('.wLightboxCopyright').show();jQuery('.wLightboxCopyright').html(options['copyrightText']);}else{jQuery('.wLightboxCopyright').hide();}if(objectCurrent&&objectCurrent.attr('data-lightboxdownloadable')=='1'){jQuery('.wLightboxDownload').remove();var srcDownload=src;if(objectCurrent.attr('data-srcdownload')){srcDownload=objectCurrent.attr('data-srcdownload');}jQuery('.wLightboxFooter').addClass('wLightboxFooterHasDownload').append('<div class="wLightboxDownload" data-src="' + srcDownload + '" title="Download"></div>');jQuery('.wLightboxDownload').on('click', function (event){window.open(jQuery(this).data('src'));});}else{jQuery('.wLightboxFooter').removeClass('wLightboxFooterHasDownload');}jQuery('.wLightboxDescription').css({'width':'', 'height':'', 'max-height':'', 'visibility':''});if(lEInner.height() >=jQuery(window).height()){jQuery('.wLightboxDescription').css({'max-height':'200px', 'overflow-y':'auto'});}heightFooter=jQuery('.wLightboxFooter').outerHeight();diffHeight=lEInner.outerHeight()-lEInner.height();if(image.width > widthArea||image.height > heightArea){if(imageRatio > areaRatio){lightboxWidth=widthArea;lightboxHeight=Math.round(widthArea / imageRatio) + heightFooter;}else{lightboxWidth=Math.round((heightArea-heightFooter) * imageRatio);lightboxHeight=heightArea;}lEInner.css({'width':String(lightboxWidth) + 'px', 'height':String(lightboxHeight) + 'px', 'max-height':String(lightboxHeight + diffHeight) + 'px'});}else{lightboxWidth=image.width;lightboxHeight=image.height + heightFooter;lEInner.css({'width':String(lightboxWidth) + 'px', 'height':String(lightboxHeight) + 'px', 'max-height':String(lightboxHeight + diffHeight) + 'px'});}heightFooter=jQuery('.wLightboxFooter').outerHeight();var widthArea=lEOuter.width();var heightArea=lEOuter.height();widthInnerCurrent=lEInner.width();heightInnerCurrent=lEInner.height();if(/^(\d+)px$/.test(options['width'])){widthArea=widthArea < parseInt(RegExp.$1)?widthArea:parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['width'])){widthArea=widthArea < parseInt(jQuery(window).width()) * RegExp.$1 / 100?widthArea:parseInt(jQuery(window).width()) * RegExp.$1 / 100;}try{var computedStyle=window.getComputedStyle(lEInner.get(0));widthArea=parseInt(computedStyle['max-width']) < widthArea?parseInt(computedStyle['max-width']):widthArea;heightArea=parseInt(computedStyle['max-height']) < heightArea?parseInt(computedStyle['max-height']):heightArea;widthArea-=(lEInner.outerWidth()-lEInner.width());heightArea-=(lEInner.outerHeight()-lEInner.height());var areaRatio=widthArea / heightArea;if(image.width > widthArea||image.height > heightArea){if(imageRatio > areaRatio){lightboxWidth=widthArea;lightboxHeight=Math.round(widthArea / imageRatio) + heightFooter;}else{lightboxWidth=Math.round((heightArea-heightFooter) * imageRatio);lightboxHeight=heightArea;}lEInner.css({'width':String(lightboxWidth) + 'px', 'height':String(lightboxHeight) + 'px', 'max-height':String(lightboxHeight + diffHeight) + 'px'});}else{lightboxHeight=image.height + heightFooter;}}catch(e){}jQuery('.wLightboxMoverBack').data('entry', positionRel-2);jQuery('.wLightboxMoverForward').data('entry', positionRel);lEInner.on('transitionend', function(event){if(lEInner.data('transisionended')!='1'){lEInner.data('transisionended', '1');heightFooter=jQuery('.wLightboxFooter').outerHeight();var widthArea=jQuery('.wLightboxOuter').width();var heightArea=jQuery('.wLightboxOuter').height();if(/^(\d+)px$/.test(options['width'])){widthArea=widthArea < parseInt(RegExp.$1)?widthArea:parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['width'])){widthArea=widthArea < parseInt(j
65Query(window).width()) * RegExp.$1 / 100?widthArea:parseInt(jQuery(window).width()) * RegExp.$1 / 100;}var computedStyle=window.getComputedStyle(lEInner.get(0));widthArea=parseInt(computedStyle['max-width']) < widthArea?parseInt(computedStyle['max-width']):widthArea;heightArea=parseInt(computedStyle['max-height']) < heightArea?parseInt(computedStyle['max-height']):heightArea;widthArea-=(lEInner.outerWidth()-lEInner.width());heightArea-=(lEInner.outerHeight()-lEInner.height());var areaRatio=widthArea / heightArea;if(image.width > widthArea||image.height > heightArea){if(imageRatio > areaRatio){lightboxWidth=widthArea;lightboxHeight=Math.round(widthArea / imageRatio) + heightFooter;}else{lightboxWidth=Math.round((heightArea-heightFooter) * imageRatio);lightboxHeight=heightArea;}lEInner.css({'width':String(lightboxWidth) + 'px', 'height':String(lightboxHeight) + 'px', 'max-height':String(lightboxHeight + diffHeight) + 'px'});}else{lightboxHeight=image.height + heightFooter;}}});}if(boxWasOpened){jQuery('.wLightboxMoverBack').attr('class', classPrev);jQuery('.wLightboxMoverForward').attr('class', classNext);var animationOverflow=typeof wLightboxVariants[options['variant']]['animationOverflow']!=='undefined'?wLightboxVariants[options['variant']]['animationOverflow']:'hidden';var animationDistFactorDefault=120;var animationDurationDefault=600;var animationEasingDefault='linear';var animationDistFactorIn=typeof wLightboxVariants[options['variant']]['animationDistFactor']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationDistFactorIn']!=='undefined'?wLightboxVariants[options['variant']]['animationDistFactorIn']:wLightboxVariants[options['variant']]['animationDistFactor']):animationDistFactorDefault;var animationDistFactorOut=typeof wLightboxVariants[options['variant']]['animationDistFactor']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationDistFactorOut']!=='undefined'?wLightboxVariants[options['variant']]['animationDistFactorOut']:wLightboxVariants[options['variant']]['animationDistFactor']):animationDistFactorDefault;var animationDurationIn=typeof wLightboxVariants[options['variant']]['animationDuration']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationDurationIn']!=='undefined'?wLightboxVariants[options['variant']]['animationDurationIn']:wLightboxVariants[options['variant']]['animationDuration']):animationDurationDefault;var animationDurationOut=typeof wLightboxVariants[options['variant']]['animationDuration']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationDurationOut']!=='undefined'?wLightboxVariants[options['variant']]['animationDurationOut']:wLightboxVariants[options['variant']]['animationDuration']):animationDurationDefault;var animationEasingIn=typeof wLightboxVariants[options['variant']]['animationEasing']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationEasingIn']!=='undefined'?wLightboxVariants[options['variant']]['animationEasingIn']:wLightboxVariants[options['variant']]['animationEasing']):animationEasingDefault;var animationEasingOut=typeof wLightboxVariants[options['variant']]['animationEasing']!=='undefined'?(typeof wLightboxVariants[options['variant']]['animationEasingOut']!=='undefined'?wLightboxVariants[options['variant']]['animationEasingOut']:wLightboxVariants[options['variant']]['animationEasing']):animationEasingDefault;var lastDirection=jQuery('.wLightbox').attr('data-lastdirection');var animation=wLightboxVariants[options['variant']]['animation']?wLightboxVariants[options['variant']]['animation'].toLowerCase():'';if(animation=='slidefrombeside'){animation=lastDirection=='back'?'slidefromleft':'slidefromright';}else if(animation=='overlapfrombeside'){animation=lastDirection=='back'?'overlapfromleft':'overlapfromright';}else if(animation=='slideout'){animation=lastDirection=='back'?'slideoutright':'slideoutleft';}diffWidthInner=Math.round((widthInnerBefore-lEInner.width()) * 1000) / 1000;diffHeightInner=Math.round((heightInnerBefore-lEInner.height()) * 1000) / 1000;if(animation=='fadein'){if(jQuery('.wLightboxInner').data('entryactive')=='1'){return;}jQuery('.wLightboxInner').data('entryactive', '1');if(animationOverflow=='visible'){animationDistFactorDefault=150;animationDurationDefault=600;animationEasingDefault='wEaseOut';jQuery('.wLightboxInner').css({'overflow':'visible'});}var lightboxImageNew=jQuery('.wLightboxImage').attr('id', 'wLightboxImageCurrent').clone();var widthBefore=widthImageBefore > 0?widthImageBefore:jQuery('#wLightboxImageCurrent').width();var heightBefore=heightImageBefore > 0?heightImageBefore:jQuery('#wLightboxImageCurrent').height();
65var diffMarginLeft=String(-diffWidthInner / 2) + 'px';var diffMarginTop=String(-diffHeightInner / 2) + 'px';if(widthInnerBefore > widthInnerCurrent + 1){animationDistFactorOut=animationDistFactorOut * widthInnerBefore / widthInnerCurrent;}lightboxImageNew.attr('id', 'wLightboxImageNew').attr('src', src).attr('alt', alt).css({'z-index':'1', 'position':'relative', 'opacity':'0'}).insertBefore("#wLightboxImageCurrent");var heightNew=lightboxImageNew.height();var leftCurrent=diffMarginLeft;var topCurrent=diffMarginTop;jQuery('#wLightboxImageCurrent').css({'z-index':'0', position:'absolute', width:widthBefore, height:heightBefore, top:topCurrent, 'margin-left':leftCurrent, 'max-height':'none', 'max-width':'none'});jQuery('#wLightboxImageCurrent').animate({'opacity':'0.5'}, {duration:animationDurationIn, easing:animationEasingIn, complete:function(){jQuery('.wLightboxInner').data('entryactive', '');jQuery('#wLightboxImageNew').attr('id', '');jQuery('#wLightboxImageCurrent').remove();}});lightboxImageNew.animate({'opacity':'1'}, {duration:animationDurationOut, easing:animationEasingOut, complete:function(){}});}else if(animation=='slideoutleft'|| animation=='slideoutright'){if(jQuery('.wLightboxInner').data('entryactive')=='1'){return;}jQuery('.wLightboxInner').data('entryactive', '1');if(animationOverflow=='visible'){animationDistFactorDefault=150;animationDurationDefault=600;animationEasingDefault='wEaseOut';jQuery('.wLightboxInner').css({'overflow':'visible'});}var lightboxImageNew=jQuery('.wLightboxImage').attr('id', 'wLightboxImageCurrent').clone();var widthBefore=widthImageBefore > 0?widthImageBefore:jQuery('#wLightboxImageCurrent').width();var heightBefore=heightImageBefore > 0?heightImageBefore:jQuery('#wLightboxImageCurrent').height();var diffMarginLeft=String(-diffWidthInner / 2) + 'px';var diffMarginTop=String(-diffHeightInner / 2) + 'px';if(widthInnerBefore > widthInnerCurrent + 1){animationDistFactorOut=animationDistFactorOut * widthInnerBefore / widthInnerCurrent;}var marginLeftInit=String(animationDistFactorIn) + '%';var marginLeftCurrentOut='-' + String(animationDistFactorOut) + '%';if(animation=='slideoutleft'){marginLeftInit='calc(' + String(animationDistFactorIn) + '% + ' + String(diffWidthInner / 2) + 'px)';}else{marginLeftInit='calc(-' + String(animationDistFactorIn) + '% ' + '-' + ' ' + String(diffWidthInner / 2) + 'px)';}lightboxImageNew.attr('id', 'wLightboxImageNew').attr('src', src).attr('alt', alt).insertBefore("#wLightboxImageCurrent");var heightNew=lightboxImageNew.height();var leftCurrent=diffMarginLeft;var topCurrent=diffMarginTop;jQuery('#wLightboxImageCurrent').css({position:'absolute', width:widthBefore, height:heightBefore, top:topCurrent, 'margin-left':leftCurrent, 'max-height':'none', 'max-width':'none'});jQuery('#wLightboxImageCurrent').animate({'left':(animation=='slideoutleft'?marginLeftCurrentOut:String(animationDistFactorOut) + '%')}, {duration:animationDurationIn, easing:animationEasingIn, complete:function(){jQuery('.wLightboxInner').data('entryactive', '');jQuery('#wLightboxImageNew').attr('id', '');jQuery('#wLightboxImageCurrent').remove();}});}else if(animation=='overlapfromleft'|| animation=='overlapfromright'){if(jQuery('.wLightboxInner').data('entryactive')=='1'){return;}jQuery('.wLightboxInner').data('entryactive', '1');if(animationOverflow=='visible'){animationDistFactorDefault=150;animationDurationDefault=600;animationEasingDefault='wEaseOut';jQuery('.wLightboxInner').css({'overflow':'visible'});}var lightboxImageNew=jQuery('.wLightboxImage').attr('id', 'wLightboxImageCurrent').clone();var widthBefore=widthImageBefore > 0?widthImageBefore:jQuery('#wLightboxImageCurrent').width();var heightBefore=heightImageBefore > 0?heightImageBefore:jQuery('#wLightboxImageCurrent').height();var diffMarginLeft=String(-diffWidthInner / 2) + 'px';var diffMarginTop=String(-diffHeightInner / 2) + 'px';if(widthInnerBefore > widthInnerCurrent + 1){animationDistFactorOut=animationDistFactorOut * widthInnerBefore / widthInnerCurrent;}var marginLeftInit=String(animationDistFactorIn) + '%';if(animation=='overlapfromright'){marginLeftInit='calc(' + String(animationDistFactorIn) + '% + ' + String(diffWidthInner / 2) + 'px)';}else{marginLeftInit='calc(-' + String(animationDistFactorIn) + '% ' + '-' + ' ' + String(diffWidthInner / 2) + 'px)';}lightboxImageNew.attr('id', 'wLightboxImageNew').attr('src', src).attr('alt', alt).css({'z-index':'1', 'position':'relative', 'margin-left':marginLeftInit}).insertBefore("#wLightboxImageCurrent");var heightNew=lightboxImageNew.height();var leftCurrent=diffMarginLeft;var topCurrent=diffMarginTop;jQuery('#wLightboxImageCurrent').css({'z-index':'0', position:'absolute', width:widthBefore, height:heightBefore, top:topCurrent, 'margin-left':leftCurrent, 'max-height':'none', 'max-width':'none'});jQuery('#wLightboxImageCurrent').animate({'opacity':'0.5'}, {duration:animationDurationIn, easing:animationEasingIn, complete:function(){jQuery('.wLightboxInner').data('entryactive', '');jQuery('#wLightboxImageNew').attr('id', '');jQuery('#wLightboxImageCurrent').remove();}});lightboxImageNew.animate({'margin-left':'0'}, {duration:animationDurationOut, easing:animationEasingOut, complete:function(){}});}else if(animation=='slidefromright'|| animation=='slidefromleft'){if(jQuery('.wLightboxInner').data('entryactive')=='1'){return;}jQuery('.wLightboxInner').data('entryactive', '1');if(animationOverflow=='visible'){animationDistFactorDefault=150;animationDurationDefault=600;animationEasingDefault='wEaseOut';jQuery('.wLightboxInner').css({'overflow':'visible'});}var lightboxImageNew=jQuery('.wLightboxImage').attr('id', 'wLightboxImageCurrent').clone();var widthBefore=widthImageBefore > 0?widthImageBefore:jQuery('#wLightboxImageCurrent').width();var heightBefore=heightImageBefore > 0?heightImageBefore:jQuery('#wLightboxImageCurrent').height();
65var diffMarginLeft=String(-diffWidthInner / 2) + 'px';var diffMarginTop=String(-diffHeightInner / 2) + 'px';if(widthInnerBefore > widthInnerCurrent + 1){animationDistFactorOut=animationDistFactorOut * widthInnerBefore / widthInnerCurrent;}var marginLeftInit=String(animationDistFactorIn) + '%';var marginLeftCurrentOut='-' + String(animationDistFactorOut) + '%';if(animation=='slidefromright'){marginLeftInit='calc(' + String(animationDistFactorIn) + '% + ' + String(diffWidthInner / 2) + 'px)';}else{marginLeftInit='calc(-' + String(animationDistFactorIn) + '% ' + '-' + ' ' + String(diffWidthInner / 2) + 'px)';}lightboxImageNew.attr('id', 'wLightboxImageNew').attr('src', src).attr('alt', alt).css({'margin-left':marginLeftInit}).insertBefore("#wLightboxImageCurrent");var heightNew=lightboxImageNew.height();var leftCurrent=diffMarginLeft;var topCurrent=diffMarginTop;jQuery('#wLightboxImageCurrent').css({position:'absolute', width:widthBefore, height:heightBefore, top:topCurrent, 'margin-left':leftCurrent, 'max-height':'none', 'max-width':'none'});jQuery('#wLightboxImageCurrent').animate({'left':(animation=='slidefromright'?marginLeftCurrentOut:String(animationDistFactorOut) + '%')}, {duration:animationDurationIn, easing:animationEasingIn, complete:function(){jQuery('.wLightboxInner').data('entryactive', '');jQuery('#wLightboxImageNew').attr('id', '');jQuery('#wLightboxImageCurrent').remove();}});lightboxImageNew.animate({'margin-left':'0'}, {duration:animationDurationOut, easing:animationEasingOut, complete:function(){}});}else{jQuery('.wLightboxImage').attr('src', src);}}else{var animation=wLightboxVariants[options['variant']]['animation']?wLightboxVariants[options['variant']]['animation'].toLowerCase():'';var allowTouchSlide=false;if(animation=='slidefrombeside'|| animation=='slideout'){if(wLightboxVariants[options['variant']]['allowTouchSlide']!==false){allowTouchSlide=true;}}else if(wLightboxVariants[options['variant']]['allowTouchSlide']===true){allowTouchSlide=true;}if(allowTouchSlide){var sl=jQuery('.wLightboxOuter');var slI=jQuery('.wLightboxInner');slI.on('touchstart', function(event){wUiTmp['sltsx']=typeof(event.originalEvent.touches)!='undefined'?event.originalEvent.touches[0].pageX:event.pageX;wUiTmp['sltsy']=(typeof(event.originalEvent.touches)!='undefined'?event.originalEvent.touches[0].pageY:event.pageY)-jQuery(window).scrollTop();});slI.on('touchmove', function(event){if(!isNaN(wUiTmp['sltsx'])&&!isNaN(wUiTmp['sltsy'])&&wUiTmp['sltsx']&&wUiTmp['sltsy']){wUiTmp['sltsxc']=typeof(event.originalEvent.touches)!='undefined'?event.originalEvent.touches[0].pageX:event.pageX;wUiTmp['sltsyc']=(typeof(event.originalEvent.touches)!='undefined'?event.originalEvent.touches[0].pageY:event.pageY)-jQuery(window).scrollTop();wUiTmp['sltdx']=wUiTmp['sltsxc']-wUiTmp['sltsx'];wUiTmp['sltdy']=wUiTmp['sltsyc']-wUiTmp['sltsy'];wUiTmp['sltdxp']=Math.sqrt(Math.pow(parseInt(wUiTmp['sltdx']), 2));wUiTmp['sltdyp']=Math.sqrt(Math.pow(parseInt(wUiTmp['sltdy']), 2));if(sl.attr('data-moving')!='1'&&wUiTmp['sltdxp'] > 10&&wUiTmp['sltdxp'] / wUiTmp['sltdyp'] > 1.4){if(wUiTmp['sltdx'] > 0){wUiTmp['sltsx']=null;wUiTmp['sltsy']=null;jQuery('.wLightboxMoverBackAvailable').trigger('click');}else if(wUiTmp['sltdx'] < 0){wUiTmp['sltsx']=null;wUiTmp['sltsy']=null;jQuery('.wLightboxMoverForwardAvailable').trigger('click');}}}});slI.on('touchend', function(event){wUiTmp['sltsx']=null;wUiTmp['sltsy']=null;});}jQuery('.wLightboxOuter, .wLightboxBackground').on('click touchend', function(event){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});jQuery('.wLightboxInner').on('click touchend', function(event){event.stopPropagation();});jQuery('.wLightboxMoverBack, .wLightboxMoverForward').on('click', function(event){var lastDirection=event.target.closest('.wLightboxMoverBack')?'back':'next';jQuery('.wLightbox').attr('data-lastdirection', lastDirection);jQuery('.wLightbox').removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusLoading');if(event.originalEvent&&event.originalEvent.isTrusted){if(jQuery('.wLightboxPlayer').length!=0&&jQuery('#wLightbox').attr('data-playerstatus')=='play'){jQuery('.wLightboxPlayer').trigger('click');}if(elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1]){var imgPreload=new Image();imgPreload.src=elementsRel[jQuery('.wLightboxMoverForward').data('entry') + 1].getAttribute('data-src');}}jQuery(elementsRel[jQuery(this).data('entry')]).trigger('click');event.stopPropagation();});}jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading').removeClass('wLightboxStatusChanging');
65if(typeof(wOnAfterInitLightbox)==='function'){wOnAfterInitLightbox(objectCurrent, elementsRel);}}, 32);};image.src=src;}else if(lightboxType=='video'){var videoWidth=0, videoHeight=0, videoRatio=0;if(elementCurrent&&elementCurrent.getAttribute('title')&&elementCurrent.getAttribute('title')!=''){jQuery('.wLightboxTitle').show().html(elementCurrent.getAttribute('title'));}else{jQuery('.wLightboxTitle').hide();}if(objectCurrent&&objectCurrent.attr('data-lightboxdownloadable')=='1'){jQuery('.wLightboxDownload').remove();jQuery('.wLightboxFooter').addClass('wLightboxFooterHasDownload').append('<div class="wLightboxDownload" data-src="' + src + '" title="Download"></div>');jQuery('.wLightboxDownload').on('click', function (event){window.open(jQuery(this).data('src'));});}else{jQuery('.wLightboxFooter').removeClass('wLightboxFooterHasDownload');}var heightFooter=jQuery('.wLightboxFooter').outerHeight();var maxWidthBox=(window.innerWidth?window.innerWidth:(document.documentElement?document.documentElement.offsetWidth:document.body.clientWidth))-(parseInt(jQuery('.wLightboxOuter').css('padding-left')) + parseInt(jQuery('.wLightboxInner').css('border-left-width'))) * 2;var maxHeightBox=(window.innerHeight?window.innerHeight:(document.documentElement?document.documentElement.offsetHeight:document.body.clientHeight))-(parseInt(jQuery('.wLightboxOuter').css('padding-top')) + parseInt(jQuery('.wLightboxInner').css('border-top-width'))) * 2-heightFooter;if(/^(\d+)px$/.test(options['width'])){maxWidthBox=parseInt(RegExp.$1);}else if(/^(\d+)%$/.test(options['width'])){maxWidthBox=parseInt(jQuery(window).width()) * RegExp.$1 / 100;}var pageRatio=maxWidthBox / maxHeightBox;if(boxWasOpened){jQuery('.wLightbox source').attr('src', src);jQuery('.wLightbox video').get(0).load();}jQuery('.wLightbox video').on('loadedmetadata', function(event){videoWidth=jQuery(this).get(0).videoWidth;videoHeight=jQuery(this).get(0).videoHeight;videoRatio=videoWidth / videoHeight;lightboxWidth=videoWidth;lightboxHeight=videoHeight;if(videoWidth > maxWidthBox||videoHeight > maxHeightBox){if(videoRatio > pageRatio){lightboxWidth=maxWidthBox;lightboxHeight=Math.round(maxWidthBox / videoRatio) + heightFooter;}else if(videoHeight > maxHeightBox){lightboxHeight=maxHeightBox-32;lightboxWidth=Math.round(lightboxHeight * videoRatio);}else{lightboxWidth=Math.round(maxHeightBox * videoRatio);lightboxHeight=maxHeightBox + heightFooter;}}else{lightboxHeight=lightboxHeight + heightFooter;}widthAttrib=String(lightboxWidth)  + 'px';heightAttrib=String(lightboxHeight) + 'px';jQuery('.wLightboxInner').css({'height':heightAttrib});jQuery('.wLightboxInner').css({'width':widthAttrib});jQuery('.wLightboxMoverBack').data('entry', positionRel-2);jQuery('.wLightboxMoverForward').data('entry', positionRel);if(boxWasOpened){jQuery('.wLightboxMoverBack').attr('class', classPrev);jQuery('.wLightboxMoverForward').attr('class', classNext);jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading');}else{jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading');jQuery('.wLightboxOuter, .wLightboxBackground').on('click touchend', function(event){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});jQuery('.wLightboxInner').on('click touchend', function(event){event.stopPropagation();});jQuery('.wLightboxMoverBack, .wLightboxMoverForward').on('click', function(event){jQuery('.wLightbox').removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusLoading');jQuery(elementsRel[jQuery(this).data('entry')]).trigger('click');event.stopPropagation();});}});if(typeof(wOnAfterInitLightbox)==='function'){wOnAfterInitLightbox();}}else{var heightTitle=0;if(elementCurrent&&elementCurrent.getAttribute('title')!=''){jQuery('.wLightboxTitle').show().html(elementCurrent.getAttribute('title'));}else{jQuery('.wLightboxTitle').hide();}heightTitle=jQuery('.wLightboxTitle').outerHeight();var setSize=false;var maxWidthBox=(window.innerWidth?window.innerWidth:(document.documentElement?document.documentElement.offsetWidth:document.body.clientWidth))-(p
65arseInt(jQuery('.wLightboxOuter').css('padding-left')) + parseInt(jQuery('.wLightboxInner').css('border-left-width'))) * 2;var maxHeightBox=(window.innerHeight?window.innerHeight:(document.documentElement?document.documentElement.offsetHeight:document.body.clientHeight))-(parseInt(jQuery('.wLightboxOuter').css('padding-top')) + parseInt(jQuery('.wLightboxInner').css('border-top-width'))) * 2-heightTitle;if(/^(\d+)px$/.test(options['width'])){maxWidthBox=parseInt(RegExp.$1);setSize=true;}else if(/^(\d+)%$/.test(options['width'])){maxWidthBox=parseInt(jQuery(window).width()) * RegExp.$1 / 100;setSize=true;}if(/^(\d+)px$/.test(options['height'])){maxHeightBox=parseInt(RegExp.$1);setSize=true;}else if(/^(\d+)%$/.test(options['height'])){maxHeightBox=parseInt(jQuery(window).height()) * RegExp.$1 / 100;setSize=true;}if(options['width']&&/^\d+(.\d+)?$/.test(options['width'])){contentWidth=options['width'];setSize=true;}else{contentWidth=maxWidthBox;}if(options['height']&&/^\d+(.\d+)?$/.test(options['height'])){contentHeight=options['height'];setSize=true;}else{contentHeight=maxHeightBox;}if(setSize){var pageRatio=maxWidthBox / maxHeightBox;var contentRatio=contentWidth / contentHeight;var lightboxWidth=contentWidth;var lightboxHeight=contentHeight + heightTitle;if(contentWidth > maxWidthBox||contentHeight > maxHeightBox){if(contentRatio > pageRatio){lightboxWidth=maxWidthBox;lightboxHeight=Math.round(maxWidthBox / contentRatio) + heightTitle;}else{lightboxWidth=Math.round(maxHeightBox * contentRatio);lightboxHeight=maxHeightBox + heightTitle;}}widthAttrib=String(lightboxWidth) + 'px';heightAttrib=String(lightboxHeight) + 'px';jQuery('.wLightboxInner').css({'height':heightAttrib});jQuery('.wLightboxInner').css({'width':widthAttrib});}jQuery('.wLightboxMoverBack').data('entry', positionRel-2);jQuery('.wLightboxMoverForward').data('entry', positionRel);if(boxWasOpened){jQuery('.wLightboxMoverBack').attr('class', classPrev);jQuery('.wLightboxMoverForward').attr('class', classNext);jQuery('.wLightboxIframe').attr('src', src);}else{jQuery('.wLightboxOuter, .wLightboxBackground').on('click touchend', function(event){if(jQuery(event.target).hasClass('wLightboxBackground')&&options['closeOnClickBackground']===false){return false;}wLightboxClose(event);});jQuery('.wLightboxInner').on('click touchend', function(event){event.stopPropagation();});jQuery('.wLightboxMoverBack, .wLightboxMoverForward').on('click', function(event){jQuery('.wLightbox').removeClass('wLightboxStatusLoaded').addClass('wLightboxStatusLoading');jQuery(elementsRel[jQuery(this).data('entry')]).trigger('click');event.stopPropagation();});}jQuery('.wLightbox').addClass('wLightboxStatusLoaded').removeClass('wLightboxStatusLoading').removeClass('wLightboxStatusChanging');if(typeof(wOnAfterInitLightbox)==='function'){wOnAfterInitLightbox();}}if(typeof(wOnAfterInitLightbox)==='function'){wOnAfterInitLightbox();}jQuery('html').addClass('wglBox');jQuery('body').addClass('wglBox');if(typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active&&(lightboxType=='iframe'||lightboxType=='image'||lightboxType=='video')){aEKey=(lightboxType=='iframe')?'wLightboxIframe':(lightboxType=='video'?'wLightboxVideo':'wLightbox');var aEObject=Object.assign({}, wAccessEvents[aEKey], {element:jQuery('html.wglBox'),elementsRel:elementsRel,openedByElement:objectCurrent,});wAccessHandler.addEvent(aEObject);}else{jQuery('.wLightboxCloser, .wLightboxMoverBack, .wLightboxMoverForward').attr('tabindex', 0);lE.attr('tabindex', 0).focus();jQuery('html.wglBox').on('keydown', function(e){var lE=jQuery('.wLightbox');var cE=jQuery(e.target);var last=lE.find('[role=button]:visible:last');var move='';var moveObject={ next:jQuery('.wLightboxMoverForward'), back:jQuery('.wLightboxMoverBack')};if(e.keyCode==9&&(!jQuery(lE).is('#wLightbox')||!jQuery(cE).is('#wLightbox *')||last.length > 0&&cE.get(0)===last.get(0))){lE.attr('tabindex', 0).focus();}else if(e.keyCode==39||e.keyCode==13&&cE.is('.wLightboxMoverForward')){move='next';}else if(e.keyCode==37||e.keyCode==13&&cE.is('.wLightboxMoverBack')){move='back';}else if(e.keyCode==27||e.keyCode==13&&cE.is('.wLightboxCloser')){wLightboxClose(event);}if(move!=''){jQuery(elementsRel[parseInt(moveObject[move].data('entry'))]).trigger('click');lE.attr('data-lastdirection', move);moveObject[move].focus();}e.stopPropagation();e.stopImmediatePropagation();});}return false;};wLightboxClose=function(event){if(typeof event!=='undefined'){event.preventDefault();event.stopPropagation();}if(typeof(wOnBeforeCloseLightbox)==='function'){if(wOnBeforeCloseLightbox(event)==false) {return;}}var lE=jQuery('.wLightbox');if(lE.length===0){return false;}
65var triggeredO=jQuery('html picture[data-src^="' + lE.attr('data-src').split('?')[0] + '"]');if(triggeredO.length==1) triggeredO.get(0).focus();lE.remove();jQuery('html').removeClass('wglBox');jQuery('body').removeClass('wglBox');jQuery(document).off('keydown');if(typeof intervallLightboxPlayer!='undefined'){window.clearInterval(intervallLightboxPlayer);}if(typeof(wOnAfterCloseLightbox)==='function'){wOnAfterCloseLightbox(event);}};wStartReadingText=function(element, readerPanelEmbed, options){var tmp='';var options=options||{};var elementsAll=document.querySelectorAll('*[data-hasconsideredreader="1"]');for(var i=0; i < elementsAll.length; i++){elementsAll[i].removeAttribute('data-hasconsideredreader');}if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wReaderPanelEmbed')!=-1){readerPanelEmbed.className='wReaderPanelEmbed isReading';}else if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wAiReader')!=-1){readerPanelEmbed.className='wAiReader isReading';jQuery('.wAiReader .wAiReaderPauseReading').focus();}jQuery('html').addClass('isReading');var elementToReadRoot=element;var textOfElementToRead='';var elementsToReadAll=elementToReadRoot.querySelectorAll('*');for(var i=elementsToReadAll.length-1; i >=0; i--){tmp=elementsToReadAll[i];if(!(tmp.offsetWidth||tmp.offsetHeight||tmp.getClientRects().length)){tmp.setAttribute('data-ignoreinreader', '1');}if(tmp.elementName=='SUP'){tmp.setAttribute('data-unwrapinreader', '1');}if(tmp.className&&typeof tmp.className==='string'&&tmp.className.indexOf('wglButton')!==-1){tmp.setAttribute('data-ignoreinreader', '1');}}var elementsToReadAll=elementToReadRoot.querySelectorAll('*');var elementsToRead=[];for(var i=0; i < elementsToReadAll.length; i++){tmp=elementsToReadAll[i];var hasTextNodes=0;for(var j=0; j < tmp.childNodes.length; j++){if(tmp.childNodes[j].nodeType==3){hasTextNodes=1;break;}}if(/(wglButton)/.test(tmp.className)){}else if(/(elementSection|elementBox|elementContainer|sectionInner|elementList|listDefault|listEntryInner)/.test(tmp.className)){}else if(tmp.firstChild&&/(element)/.test(tmp.firstChild.className)){}else if(tmp.firstChild&&tmp.firstChild==tmp.lastChild&&tmp.firstChild.nodeType===1){}else if(tmp.nodeName=='FIGURE'&&!tmp.closest('*[data-hasconsideredreader="1"]')&&tmp.getAttribute('data-ignoreinreader')!='1'){if(jQuery(tmp).find('figcaption').length!==0){elementsToRead.push(jQuery(tmp).find('figcaption').get(0));}else{elementsToRead.push(tmp);}}else if(tmp.nodeName=='IMG'&&!tmp.closest('*[data-hasconsideredreader="1"]')&&tmp.getAttribute('data-ignoreinreader')!='1'){elementsToRead.push(tmp);}else if(hasTextNodes&&!tmp.closest('*[data-hasconsideredreader="1"]')&&tmp.getAttribute('data-ignoreinreader')!='1'){elementsToRead.push(tmp);tmp.setAttribute('data-hasconsideredreader', '1');}}for(var i=0; i < elementsToRead.length; i++){if(!jQuery(elementsToRead[i]).attr('data-read-pos')){jQuery(elementsToRead[i]).on('click', function(){wReadTextElementPos(jQuery(this).attr('data-read-pos'));});}jQuery(elementsToRead[i]).addClass('wglElementCanBeRead').attr('data-read-pos', String(i));}wUiTmp['readerPanelEmbed']=readerPanelEmbed;wUiTmp['elementsToReadStack']=elementsToRead;wUiTmp['elementsToReadStackOptions']=options;wReadTextElementNext();};wReadTextElementPos=function(position){readerPanelEmbed=wUiTmp['readerPanelEmbed'];if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wReaderPanelEmbed')!=-1){readerPanelEmbed.className='wReaderPanelEmbed isReading';}else if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wAiReader')!=-1){readerPanelEmbed.className='wAiReader isReading';jQuery('.wAiReader .wAiReaderPauseReading').focus();}jQuery('.wglElementIsBeingRead').removeClass('wglElementIsBeingRead');if(wUiTmp['elementsToReadStack']){var options=wUiTmp['elementsToReadStackOptions'];wUiTmp['elementsToReadStackPosition']=parseInt(position);if(wUiTmp['elementsToReadStackPosition'] < wUiTmp['elementsToReadStack'].length){jQuery('.wglTextIsBeingRead').removeClass('wglTextIsBeingRead');if(window.speechSynthesis&&window.speechSynthesis.speaking){window.speechSynthesis.cancel();}wUiTmp['forceElementReader']=true;window.setTimeout(function(){wUiTmp['forceElementReader']=false;wReadTextOfElement(wUiTmp['elementsToReadStack'][wUiTmp['elementsToReadStackPosition']], options);}, 800);}}};wReadTextElementNext=function(){jQuery('.wglElementIsBeingRead').removeClass('wglElementIsBeingRead');if(wUiTmp['elementsToReadStack']){var options=wUiTmp['elementsToReadStackOptions'];if(window.speechSynthesis&&window.speechSynthesis.paused){}else{wUiTmp['elementsToReadStackPosition']=wUiTmp['elementsToReadStackPosition'] >=0?wUiTmp['elementsToReadStackPosition'] + 1:0;}if(wUiTmp['elementsToReadStackPosition'] < wUiTmp['elementsToReadStack'].length){wReadTextOfElement(wUiTmp['elementsToReadStack'][wUiTmp['elementsToReadStackPosition']], options);}else{wUiTmp['elementsToReadStack']=null;wUiTmp['elementsToReadStackPosition']=-1;jQuery('.wglElementCanBeRead').removeClass('wglElementCanBeRead');readerPanelEmbed=wUiTmp['readerPanelEmbed'];if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wReaderPanelEmbed')!=-1){readerPanelEmbed.className='wReaderPanelEmbed';}else if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wAiReader')!=-1){readerPanelEmbed.className='wAiReader';jQuery('.wAiReader .wAiReaderStartReading').focus();}}}};wReadTextOfElement=function(element, options){var textOfElementToRead='';var elementToRead=element.cloneNode(true);var lastElementToReadType='';wUiTmp['lastElementToReadType']=wUiTmp['lastElementToReadType']??'';wUiTmp['lastElementToReadText']=wUiTmp['lastElementToReadText']??'';if(elementToRead.getAttribute('data-ignoreinreader')=='1'){}else if(elementToRead.nodeName=='IMG'){var documentLang=document.documentElement.lang.toLowerCase();documentLang=/^\w+$/.test(documentLang)?documentLang + '-' + documentLang:documentLang;textOfElementToRead=(documentLang.substr(0, 2)=='de'?'Bild:':'') + elementToRead.getAttribute('alt');lastElementToReadType='img';}else{textOfElementToRead=elementToRead.innerHTML;lastElementToReadType='element';var strArray=textOfElementToRead.split(/<script[^>]*>
65/);if(strArray.length > 1){var tmp='';for(var i=0; i < strArray.length; i++){strArray[i]=strArray[i].replace(/[\s\S]*<\/script[^>]*>/, '');tmp +=strArray[i];}textOfElementToRead=tmp;}textOfElementToRead=textOfElementToRead.replace(/<sup>(®|©|™)<\/sup>/gi, "");textOfElementToRead=textOfElementToRead.replace(/<img[^>]*alt="([^"]+)"[^>]*>/gi, "<p>\n$1\n</p>");textOfElementToRead=textOfElementToRead.replace(/<\/?sup>/gi, "");textOfElementToRead=textOfElementToRead.replace(/\n/gi, " ");textOfElementToRead=textOfElementToRead.replace(/&amp;/gi, "&");textOfElementToRead=textOfElementToRead.replace(/&(nbsp|lt|gt|quot|apos);/gi, " ");textOfElementToRead=textOfElementToRead.replace(/ +/gi, " ");textOfElementToRead=textOfElementToRead.replace(/<\/p>/gi, "\n\n");textOfElementToRead=textOfElementToRead.replace(/(<div[^>]*class="element)/gi, "\n$1");textOfElementToRead=textOfElementToRead.replace(/<\/div>/gi, "\n");textOfElementToRead=textOfElementToRead.replace(/<[^>]*>/g, " ");textOfElementToRead=textOfElementToRead.replace(/ +/gi, " ");textOfElementToRead=textOfElementToRead.replace(/\n\s+\n/gi, "\n\n");textOfElementToRead=textOfElementToRead.replace(/\n +/gi, "\n");textOfElementToRead=textOfElementToRead.trim();}if(wUiTmp['lastElementToReadType']==='img'){if(wUiTmp['lastElementToReadText'].replace(/^\w+\:/, '').trim()===textOfElementToRead.trim()){textOfElementToRead='';}}wUiTmp['lastElementToReadType']=lastElementToReadType;wUiTmp['lastElementToReadText']=textOfElementToRead;if(textOfElementToRead!=''){jQuery(element).addClass('wglElementIsBeingRead');var scrollTopOffset=80;var winHeight=window.innerHeight;var elementHeight=jQuery(element).height();if(winHeight > 640){if(winHeight > elementHeight + 160){scrollTopOffset=parseInt((winHeight-elementHeight) / 2);}}wScrollSmoothToElement(element, {'scrollTopOffset':scrollTopOffset});wReadText(textOfElementToRead, options);}else{if(wUiTmp['elementsToReadStack'].length > wUiTmp['elementsToReadStackPosition']-1){if(!wUiTmp['forceElementReader']){wReadTextElementNext();}}}};wReadText=function(textToRead, options){if(window.speechSynthesis){if(!window.speechSynthesis.speaking){var textToSpeak=new SpeechSynthesisUtterance(textToRead);if(options['rate']){textToSpeak.rate=options['rate'];}var documentLang=document.documentElement.lang;if(documentLang!=''){documentLang=/^\w+$/.test(documentLang)?documentLang + '-' + documentLang:documentLang.toLowerCase();documentLang=documentLang.replace('en-en', 'en-us');textToSpeak.lang=documentLang;var synth=window.speechSynthesis;var voices=synth.getVoices();for(var i=0; i < voices.length; i++){if(documentLang==voices[i].lang.toLowerCase()&&!/(synthesis|eloquence)/.test(voices[i].voiceURI)){textToSpeak.voice=voices[i];textToSpeak.lang=voices[i].lang;break;}}}textToSpeak.onend=function(event){window.setTimeout(function(){if(!wUiTmp['forceElementReader']){wReadTextElementNext();}}, 300);};window.speechSynthesis.speak(textToSpeak);}else if(window.speechSynthesis.paused){window.speechSynthesis.resume();}}else{alert('Die Vorlesefunktion wird von Ihrem Browser leider nicht unterstützt!');}};wPauseReadingText=function(element, readerPanelEmbed){if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wReaderPanelEmbed')!=-1){readerPanelEmbed.className='wReaderPanelEmbed pauseReading';}else if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wAiReader')!=-1){readerPanelEmbed.className='wAiReader pauseReading';jQuery('.wAiReader .wAiReaderStartReading').focus();}jQuery('html').addClass('pauseReading');if(window.speechSynthesis){window.speechSynthesis.pause();}};wStopReadingText=function(element, readerPanelEmbed){if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wReaderPanelEmbed')!=-1){readerPanelEmbed.className='wReaderPanelEmbed';}else if(readerPanelEmbed&&readerPanelEmbed.className.indexOf('wAiReader')!=-1){readerPanelEmbed.className='wAiReader';jQuery('.wAiReader .wAiReaderStartReading').focus();}jQuery('.wglTextIsBeingRead').removeClass('wglTextIsBeingRead');jQuery('.wglElementCanBeRead').removeClass('wglElementCanBeRead');jQuery('html').removeClass('isReading').removeClass('pauseReading');if(window.speechSynthesis&&window.speechSynthesis.speaking){window.speechSynthesis.cancel();}wUiTmp['elementsToReadStack']=null;wUiTmp['elementsToReadStackPosition']=-1;};var rwids={};jQuery(window).on('load', function(){if(location.search.indexOf('wContentToDisplay=draft')!=-1){return;}if(typeof wDoNotFeedbackImageSizes!=='undefined'&&wDoNotFeedbackImageSizes){}else if(typeof(wBrowseEditMode)=='undefined'){var elementSizesStr='';var simulationWidth=0;var winWidth=wUiTmp['lastWindowWidth']??jQuery(window).width();var winWidthSim='';var imageElement=null;const groups={};jQuery('[data-htgr="1"][data-rwid]').each(function () {const rwid=this.dataset.rwid;(groups[rwid]=groups[rwid]||[]).push(this);});function getArea(el) {const rect=el.getBoundingClientRect();let w=rect.width;let h=rect.height;
65if (!w||!h) {w=el.naturalWidth||parseInt(el.getAttribute('width'), 10)||0;h=el.naturalHeight||parseInt(el.getAttribute('height'), 10)||0;}return w * h;}jQuery.each(groups, function (_, els) {if (els.length < 2) return;let largest=els[0];let maxArea=getArea(largest);for (let i=1; i < els.length; i++) {const area=getArea(els[i]);if (area > maxArea) {maxArea=area;largest=els[i];}}els.forEach(el=> {if (el!==largest) el.setAttribute('data-htgr', '0');});});jQuery('*[data-htgr="1"]').each(function(){var i, sources=[], url='', pathCSS='', cssTags=null, mediaSizeType=''; widthMedia=0, minHeight='', element=jQuery(this).get(0), rwid='', elementWidth=0, elementHeight=0, pictureRatio=0, outerElement=null, outerWidth=0, breakpointRanges={}, breakpoint;try{rwid=element.getAttribute('data-rwid');if(!rwids[rwid]){rwids[rwid]=true;sources=element.getElementsByTagName('source');wSimulationElementWidthOffest=typeof wSimulationElementWidthOffest!='undefined'?wSimulationElementWidthOffest:0;for(i=0; i < sources.length; i++){if(/(min|max)-width\:\s*(\d+)px/.test(sources[i].getAttribute('media'))){mediaSizeType=RegExp.$1;widthMedia=RegExp.$2;breakpointRanges[mediaSizeType + ' ' + widthMedia]={};if(mediaSizeType=='max'){breakpointRanges[mediaSizeType + ' ' + widthMedia]['type']='max';breakpointRanges[mediaSizeType + ' ' + widthMedia]['min']=0;breakpointRanges[mediaSizeType + ' ' + widthMedia]['max']=parseInt(widthMedia);}else{breakpointRanges[mediaSizeType + ' ' + widthMedia]['type']='min';breakpointRanges[mediaSizeType + ' ' + widthMedia]['min']=parseInt(widthMedia);}}}for(i=0; i < sources.length; i++){if(/(min|max)-width\:\s*(\d+)px/.test(sources[i].getAttribute('media'))){mediaSizeType=RegExp.$1;widthMedia=RegExp.$2;smallestMin=16000;if(mediaSizeType=='min'){for(key in breakpointRanges){if(breakpointRanges[key]['min'] > widthMedia&&breakpointRanges[key]['min'] < smallestMin){smallestMin=breakpointRanges[key]['min'];}}breakpointRanges['min ' + widthMedia]['max']=parseInt(smallestMin)-1;}}}for(i=0; i < sources.length; i++){if(sources[i].getAttribute('data-sp')&&/(min|max)-width\:\s*(\d+)px/.test(sources[i].getAttribute('media'))){mediaSizeType=RegExp.$1;widthMedia=RegExp.$2;var breakpoint=breakpointRanges[mediaSizeType + ' ' + widthMedia];if(breakpoint&&winWidth >=breakpoint['min']&&winWidth <=breakpoint['max']){simulationWidth=sources[i].getAttribute('data-sp');var hasMaxwidth=false;document.documentElement.style.maxWidth='none';document.documentElement.style.width=String(simulationWidth) + 'px';document.body.style.maxWidth='none';document.body.style.width=String(simulationWidth) + 'px';if(element.nodeName=='PICTURE'){imageElement=(element.getElementsByTagName('img'))[0];if(element.parentNode.nodeName=='FIGURE'&&document.defaultView.getComputedStyle(element.parentNode, null).getPropertyValue('display')=='inline-block'){boundingClientRect=imageElement.getBoundingClientRect();elementWidth=Math.ceil(boundingClientRect.width) + wSimulationElementWidthOffest;elementHeight=Math.ceil(boundingClientRect.height);elementRatio=elementWidth / elementHeight;outerElement=element.parentNode.parentNode;if(element.parentNode.parentNode.nodeName=='A'&&document.defaultView.getComputedStyle(element.parentNode.parentNode, null).getPropertyValue('display')=='inline'){outerElement=element.parentNode.parentNode.parentNode;}if(typeof(window.getComputedStyle(element.parentNode)['max-width'])!=='undefined'&&window.getComputedStyle(element.parentNode)['max-width']!=='100%'){hasMaxwidth=true;}}else{boundingClientRect=imageElement.getBoundingClientRect();elementWidth=Math.ceil(boundingClientRect.width) + wSimulationElementWidthOffest;elementHeight=Math.ceil(boundingClientRect.height);elementRatio=elementWidth / elementHeight;outerElement=element.parentNode;if(typeof(window.getComputedStyle(element)['max-width'])!=='undefined'&&window.getComputedStyle(element)['max-width']!=='100%'){hasMaxwidth=true;}}if(imageElement.currentSrc){if(document.defaultView.getComputedStyle(imageElement, null).getPropertyValue('object-fit')=='cover'){minHeight=elementHeight;}}}else{imageElement=element;boundingClientRect=element.getBoundingClientRect();elementWidth=Math.ceil(boundingClientRect.width) + wSimulationElementWidthOffest;elementHeight=Math.ceil(boundingClientRect.height);outerElement=element.parentNode.parentNode;}if(elementWidth < 8&&outerElement.offsetWidth < 16){var hasHideIfViewport, anc=outerElement.parentNode, to=32;while(anc&&anc.parentNode&&to > 0){if(anc.className.indexOf('hideIfViewport')!=-1){to=0;hasHideIfViewport=true;outerElement=anc.parentNode;}anc=anc.parentNode;to--;}if(!hasHideIfViewport){document.documentElement.style.maxWidth='';document.documentElement.style.width='';document.body.style.maxWidth='';document.body.style.width='';
65continue;}}if(hasMaxwidth){}else if(outerElement.offsetWidth > elementWidth){pictureRatio=elementWidth / elementHeight;elementWidth=Math.ceil(outerElement.offsetWidth) + wSimulationElementWidthOffest;elementHeight=elementWidth / pictureRatio;}if(typeof wMaxWidthImages!='undefined'&&!isNaN(wMaxWidthImages)&&wMaxWidthImages > 0&&elementWidth > wMaxWidthImages){elementWidth=wMaxWidthImages;}if(elementWidth > 0&&elementHeight > 0){winWidthSim=document.body.offsetWidth;elementSizesStr +=(elementSizesStr==''?'':';') + rwid + ':w' + elementWidth + ',h' + elementHeight + (minHeight!=''&&!isNaN(minHeight)?',mh' + minHeight:'');document.documentElement.style.maxWidth='';document.documentElement.style.width='';document.body.style.maxWidth='';document.body.style.width='';return;}document.documentElement.style.maxWidth='';document.documentElement.style.width='';document.body.style.maxWidth='';document.body.style.width='';}}}}}catch(e){document.documentElement.style.maxWidth='';document.documentElement.style.width='';document.body.style.maxWidth='';document.body.style.width='';}});if(elementSizesStr!=''&&imageElement){cssTags=jQuery("link[href*='/optimized/']");if(cssTags.length > 0){pathCSS=cssTags.get(0).getAttribute('href').replace(/\/optimized\/.*/, '') + '/design.css';var variantCSS=jQuery('picture[data-htgr="1"]').attr('data-csn');if(variantCSS&&/^\w+$/.test(variantCSS)){pathCSS=pathCSS.replace(/\.css$/, '_var' + variantCSS + '.css');}var imgTmp=new Image();imgTmp.src=imageElement.src;imgTmp.onload=function(){if(imgTmp.width > 0){url='/weblication/grid5/scripts/wImage.php?path=' + pathCSS + '&referrer=' + encodeURIComponent(location.href.replace(/[\?\&]createImageRaster=1/, '')) + '&action=feedbackImageSizes&sw=' + simulationWidth + '&vw=' + winWidth + '(' + winWidthSim + ')' + '&sizes=' + elementSizesStr;jQuery.ajax({type:"GET", url:url, dataType:'json', success:function(resultData){}});}};}}}});wAddFieldsetMultiple=function (fs){var fs=jQuery(fs);var p=fs.parent();var a=fs.closest('form').attr('action');var cfs=fs.clone();if(typeof(wOnBeforeAddFieldsetMultiple)=='function'){var cfsTmp=wOnBeforeAddFieldsetMultiple(fs, cfs);if(cfsTmp!==undefined&&cfsTmp!==null) {cfs=cfsTmp;}}var ep=cfs.attr('data-entrypos')?parseInt(cfs.attr('data-entrypos')) + 1:1;var nem=cfs.attr('data-numberentriesmax')?parseInt(cfs.attr('data-numberentriesmax')):64;var ai=cfs.attr('data-updateindex')=='1';var ka=cfs.attr('data-keepdataonadd')=='1';var n=[];fs.find('input, select, textarea').each(function(i){if(jQuery(this).attr('name')!='wFormToken'){n.push(jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1'));}});n=[...new Set(n)];if(!ka){jQuery(cfs).find('input, select, textarea').each(function(i){if(jQuery(this).attr('name')=='wFormToken'){jQuery(this).remove();}else{var posNew=ai?(Math.floor(Math.random() * (2000-1000 + 1)) + 1000):ep
66if(jQuery(this).attr('id')&&jQuery(this).attr('id')!=''){jQuery(this).attr('id', (jQuery(this).attr('id').replace(/\-\d+(\[\])?$/, '$1') + '-' + posNew).replace(/(\[\])(\-\d)/, '$2$1'));}jQuery(this).attr('name', (jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1') + '-' + posNew).replace(/(\[\])(\-\d)/, '$2$1'));if(jQuery(this).attr('type')=='checkbox'){jQuery(this).prop("checked", false);}else if(jQuery(this).attr('type')=='radio'){jQuery(this).prop("checked", false);}else if(jQuery(this).prop('nodeName')=='SELECT'){jQuery(this).val('');jQuery(this).attr('value', '');}else if(jQuery(this).prop('nodeName')=='INPUT'){jQuery(this).val('');jQuery(this).attr('value', '');}else{jQuery(this).val('');jQuery(this).attr('value', '');jQuery(this).html('');}}});}cfs.find('.wglErrorMessageInline').remove();cfs.find('.wglValidationStatusOK').remove();cfs.find('.wglContainsErrorMessageInline').removeClass('wglContainsErrorMessageInline');cfs.find('.wglContainsErrorMessageInline').removeClass('wglContainsErrorMessageInline');cfs.find('.wglIsInvalid').removeClass('wglIsInvalid');cfs.find('.hasDatepicker').removeClass('hasDatepicker');fs.after(cfs);wFormElement(cfs);jQuery(cfs).find('input, textarea, select').each(function(){if(jQuery(this).attr('data-validators')&&jQuery(this).attr('data-validators')!=''&&jQuery(this).attr('name')!='captchaInput'){wAddInlineValidator(jQuery(this));}});cfs.find('.wglUploaderForm').each(function(){var srcIframe=jQuery(this).attr('src');
66if(/&element=([^&]+)/.test(srcIframe)){var nameNew=(RegExp.$1.replace(/\-\d+(\[\])?$/, '$1') + '-' + ep).replace(/(\[\])(\-\d)/, '$2$1');srcIframe=srcIframe.replace(/&element=([^&]+)/, '&element=' + nameNew);}jQuery(this).attr('src', srcIframe);});var url=a + '?action=ce&ep=' + ep + '&ai=' + (ai?'1':'0') + '&en=' + n.join('|');jQuery.ajax({type:"GET", async:true, dataType:"json", url:url, success:function(r){if(typeof(wOnAfterAddFieldsetMultiple)==='function'){wOnAfterAddFieldsetMultiple(cfs, ep);}}});var ne=p.find('.containerFormElementsMultiple').length;cfs.attr('data-allowadd', ne < nem?'1':'0');var csids={}, hasCsids=false;p.find('.containerFormElementsMultiple').each(function(i){csids[jQuery(this).data('containermultiplesid')]=true;hasCsids=true;});if(!hasCsids){csids['wNoCsid']=true;}for(csid in csids){var entries=p.find(csid=='wNoCsid'?'.containerFormElementsMultiple':'.containerFormElementsMultiple[data-containermultiplesid="' + csid + '"]');for(var j=entries.length-1; j >=0; j--){var entry=jQuery(entries[j]);var ene=p.find(csid=='wNoCsid'?'.containerFormElementsMultiple':'.containerFormElementsMultiple[data-containermultiplesid="' + csid + '"]').length;var enem=entry.attr('data-numberentriesmax')?parseInt(entry.attr('data-numberentriesmax')):64;if(j >=1){var additionalentryId=j + 1;entry.attr('data-entrypos', additionalentryId);entry.attr('data-islast', additionalentryId==ne?'1':'0');entry.attr('data-allowadd', (ene < enem)?'1':'0');entry.attr('data-allowdelete', (ai||additionalentryId==ene)?'1':'0');if(ai){entry.find('label').each(function(i){if(jQuery(this).attr('for')&&jQuery(this).attr('for')!=''){jQuery(this).attr('for', (jQuery(this).attr('for').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));}});entry.find('input, textarea, select').each(function(){if(jQuery(this).attr('id')&&jQuery(this).attr('id')!=''){jQuery(this).attr('id', (jQuery(this).attr('id').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));}jQuery(this).attr('name', (jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));});}entry.find('buttonFormElementsMultipleDelete').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});entry.find('buttonFormElementsMultipleAdd').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});entry.find('label').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});}else{entry.attr('data-entrypos', '1');entry.attr('data-islast', ene < 2?'1':'0');entry.attr('data-allowadd', (ene < enem)?'1':'0');entry.attr('data-allowdelete', '0');entry.find('buttonFormElementsMultipleDelete').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});entry.find('buttonFormElementsMultipleAdd').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});entry.find('label').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});}entry.find('.wglDatepicker').wDatepicker();}}};wRemoveFieldsetMultiple=function (fs){var fs=jQuery(fs);var p=fs.parent();var a=fs.closest('form').attr('action');var cfs=fs;var ep=cfs.attr('data-entrypos')?parseInt(cfs.attr('data-entrypos')):1;var nem=cfs.attr('data-numberentriesmax')?parseInt(cfs.attr('data-numberentriesmax')):64;var ai=cfs.attr('data-updateindex')=='1';var n=[];var ne=p.find('.containerFormElementsMultiple').length;if(typeof(wOnBeforeRemoveFieldsetMultiple)=='function'){wOnBeforeRemoveFieldsetMultiple(fs);}if(ne==1){fs.find('input, textarea, select').each(function(){if(jQuery(this).attr('name')!=='wFormToken'){if(jQuery(this).attr('type')==='checkbox'|| jQuery(this).attr('type')==='radio'){jQuery(this).prop('checked', false);}else{jQuery(this).val('');}}});return;}else{fs.find('input, select, textarea').each(function(i){if(jQuery(this).attr('name')==='wFormToken'){jQuery(this).closest('form').prepend(jQuery(this));}n.push(jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1'));});fs.remove();var url=a + '?action=re&ep=' + ep + '&ai=' + (ai?'1':'0') + '&en=' + n.join('|') ;jQuery.ajax({type:"GET", async:true, dataType:"json", url:url, success:function(r){jQuery(fs).remove();if(typeof(wOnAfterRemoveFieldsetMultiple)==='function'){wOnAfterRemoveFieldsetMultiple(p, ep);}}});}ne=p.find('.containerFormElementsMultiple').length;cfs.attr('data-allowadd', ne < nem?'1':'0');var csids={}, hasCsids=false;p.find('.containerFormElementsMultiple').each(function(i){csids[jQuery(this).data('containermultiplesid')]=true;hasCsids=true;});if(!hasCsids){csids['wNoCsid']=true;}for(csid in csids){var i=0;p.find(csid=='wNoCsid'?'.containerFormElementsMultiple':'.containerFormElementsMultiple[data-containermultiplesid="' + csid + '"]').each(function(i){var ene=p.find(csid=='wNoCsid'?'.containerFormElementsMultiple':'.containerFormElementsMultiple[data-containermultiplesid="' + csid + '"]').length;
66var enem=jQuery(this).attr('data-numberentriesmax')?parseInt(jQuery(this).attr('data-numberentriesmax')):64;if(i >=1){var additionalentryId=i + 1;jQuery(this).attr('data-entrypos', additionalentryId);jQuery(this).attr('data-islast', additionalentryId==ene?'1':'0');jQuery(this).attr('data-allowadd', (ai||additionalentryId==ene)?'1':'0');jQuery(this).attr('data-allowdelete', (ai||additionalentryId==ene)?'1':'0');if(ai){jQuery(this).find('label').each(function(i){if(jQuery(this).attr('for')&&jQuery(this).attr('for')!=''){jQuery(this).attr('for', (jQuery(this).attr('for').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));}});jQuery(this).find('input, textarea, select').each(function(){if(jQuery(this).attr('id')&&jQuery(this).attr('id')!=''){jQuery(this).attr('id', (jQuery(this).attr('id').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));}jQuery(this).attr('name', (jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1') + '-' + additionalentryId).replace(/(\[\])(\-\d)/, '$2$1'));});}jQuery(this).find('buttonFormElementsMultipleDelete').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});jQuery(this).find('buttonFormElementsMultipleAdd').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});jQuery(this).find('label').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(additionalentryId) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});}else{jQuery(this).attr('data-entrypos', '1');jQuery(this).attr('data-islast', ene < 2?'1':'0');jQuery(this).attr('data-allowadd', ai||ene < 2?'1':'0');jQuery(this).attr('data-allowdelete', '0');if(ai){jQuery(this).find('input, textarea, select').each(function(){if(jQuery(this).attr('id')&&jQuery(this).attr('id')!=''){jQuery(this).attr('id', (jQuery(this).attr('id').replace(/\-\d+(\[\])?$/, '$1')));}jQuery(this).attr('name', (jQuery(this).attr('name').replace(/\-\d+(\[\])?$/, '$1')));});}jQuery(this).find('buttonFormElementsMultipleDelete').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});jQuery(this).find('buttonFormElementsMultipleAdd').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});jQuery(this).find('label').each(function(){jQuery(this).html(jQuery(this).html().replace(/<!--wPlaceholderFieldsetMultiple:position-->\d*<\!--\/wPlaceholderFieldsetMultiple:position-->/g, '<!--wPlaceholderFieldsetMultiple:position-->' + String(1) + '<!--/wPlaceholderFieldsetMultiple:position-->'));});}});}};showNoticeExternalLinks=function (){if(typeof(wEditor)==='undefined'){if(typeof wShowNoticeExternalLinks!=='undefined'&&wShowNoticeExternalLinks===true&&(wcsrft)){var pathNotice=wProjectPath + '/wGlobal/content/privacy/externallink-notice.php';var excludedUrls=[];if(typeof wExcludeExternalUrlFromNotice!=='undefined'&&wExcludeExternalUrlFromNotice!==''){excludedUrls=wExcludeExternalUrlFromNotice.split('|');}var links=jQuery('a');links.each(function (){var curLink=jQuery(this);var curLinkHref=curLink.attr('href');if(curLinkHref&&curLinkHref.length > 0){var isExternal=curLinkHref.match(/^(http[s]?:\/\/)/g);var isExcluded=curLink.attr('data-excludeExternalUrl')==='1';for(var e=0; e < excludedUrls.length; e++ ){var excludedUrl=excludedUrls[e];var re=new RegExp(excludedUrl, 'g');if(curLinkHref.match(re)){isExcluded=true;}}if(isExternal&&isExcluded===false){curLink.on('click', function (e){e.preventDefault();var targetUrl=pathNotice + '?l=' + encodeURIComponent(curLinkHref) + '&wcsrf=' + wcsrft;var clickObj=jQuery('<a href="'+targetUrl+'" target="box"></a>');clickObj.wLightbox();clickObj.trigger('click');})
67}}});}}};var dFactor1=0.0;var sDefaults='|admin|weblication|cms|user|root|system|test|tester|testa|testo|testi|testu|asdf|abcdefg|abcdef|abcde|abcd|abc|123|1234|12345|login|demo|qwer|qwert|qwerz|qwery|qwertz|qwerty|';var sTypeAlphaL='abcdefghijklmnopqrstuvwxyz';var sTypeAlphaU='ABCDEFGHIJKLMNOPQRSTUVWXYZ';var sTypeNumeric='0123456789';wGetPwdQuality=function(sPwd, userName){if(sPwd=='[$WPASSWORD]'){sPwd=''
68}if(sPwd){var sDefaultsTmp=sDefaults;if(userName.length > 3){sDefaultsTmp +=userName.toLowerCase() + '|';}sPwd=sPwd.replace(/20(10|11|12|13|14|15|16|17|18|19|20)$/, '');
68sDefaultsTmp=sDefaultsTmp.replace(/^\|/, '').replace(/\|$/, '');defaultRegExpStrict=new RegExp('^('+ sDefaultsTmp + ')$');defaultRegExp=new RegExp('('+ sDefaultsTmp + ')');sPwd=sPwd.replace(defaultRegExp, '');var lTypeAlphaL=0;var lTypeAlphaU=0;var lTypeNumeric=0;var lTypeSpecial=0;var sChars='';for(var nCount=0; nCount < sPwd.length; nCount++){var sChar=sPwd.substring(nCount, nCount + 1);if((sChar==' ')){}else{if(sChars.indexOf(sChar) < 0){sChars +=sChar;}if(sTypeAlphaL.indexOf(sChar) >=0){lTypeAlphaL  +=1;}else if(sTypeAlphaU.indexOf(sChar) >=0){lTypeAlphaU  +=1;}else if(sTypeNumeric.indexOf(sChar) >=0){lTypeNumeric +=1;}else{lTypeSpecial +=1;}}}var a=lTypeAlphaL  * 6;var b=lTypeAlphaU  * 8;var c=lTypeNumeric * 9;var d=lTypeSpecial * 12;var tmp=parseInt((((a + b + c + d) * Math.pow(10, 1)) + 0.5)) / Math.pow(10, 1);if(lTypeAlphaL==0){tmp-=5;}if(lTypeAlphaU==0){tmp-=5;}if(lTypeNumeric==0){tmp-=5;}if(lTypeSpecial==0){tmp-=5;}if(defaultRegExp.test(sPwd.toLowerCase())){tmp=parseInt(tmp / 2)-32;if(tmp < 0){tmp=-1;}}if(lTypeAlphaL==0){tmp-=5;}if(lTypeAlphaU==0){tmp-=5;}if(lTypeNumeric==0){tmp-=5;}if(lTypeSpecial==0){tmp-=5;}if(tmp < 0){tmp=0;}return tmp;}else{return '0';}};jQuery.fn.wAddSelectAndClickableWithReturn=function(options){jQuery.each(jQuery(this), function(){if(jQuery(this).attr('aria-hidden')!=='true'){jQuery(this).attr('tabindex', '0');}jQuery(this).on('keydown', function(event){if(event.key==="Enter"){jQuery(this).click()}});});};jQuery.fn.wRemoveSelectAndClickableWithReturn=function(options){jQuery.each(jQuery(this), function(){jQuery(this).removeAttr('tabindex');jQuery(this).off('keydown', function(){});});};wToggleWaiMenu=function(){if(typeof(wEditor)=='undefined'){if(!jQuery('#wAiMenu').hasClass('open')){wOpenWaiMenu();}else{wCloseWaiMenu();}}};wOpenWaiMenu=function(){if(typeof(wEditor)=='undefined'){if(typeof(wHasTextsEasyLanguage)!=='undefined'&&wHasTextsEasyLanguage){jQuery('#wAiSectionEasyLanguage').show();}else{jQuery('#wAiSectionEasyLanguage').hide();}jQuery('#wAiMenu').addClass('open');jQuery('#wAiMenu *[onclick]').wAddSelectAndClickableWithReturn();window.setTimeout(function(){jQuery('.wAiMenuCloser').focus();}, 100);wEventEscWaiMenu=function(e){if(e.key==='Escape'){event.preventDefault();jQuery(document).off('keydown', wEventEscWaiMenu);wCloseWaiMenu();}};wEventKeydownWaiMenu=function(e){if(wAccessHandler.isLastFocusableElement({element:jQuery('#wAiMenu')}, jQuery(e.target))){jQuery(document).off('keydown', wEventEscWaiMenu);wCloseWaiMenu();}};jQuery(document).on('keydown', wEventEscWaiMenu);jQuery('#wAiMenu').on('keydown', wEventKeydownWaiMenu);jQuery('.wAiIcon').focus();}};wCloseWaiMenu=function(setFocus=true){if(typeof(wEditor)=='undefined'){jQuery('#wAiMenu').removeClass('open');jQuery('#wAiMenu *[onclick]').wRemoveSelectAndClickableWithReturn();jQuery('#wAiMenu *[onclick]').on('keydown', function(){});if(setFocus) jQuery('.wAiIcon').focus();}};wPersonalizeAccessibility=function(name, value, options){if(typeof(name)!=='undefined'&&typeof wOnBeforeChangeAccessibility==='function'){wOnBeforeChangeAccessibility(name, value, options);}var options=options||'';if(name=='fontSize'){if(value=='toggle'){value=/waFontSize=(l|xl)/.test(document.cookie)?'':'l';}document.cookie='waFontSize=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';}else if(name=='contrast'){if(value=='toggle'){value=/waContrast=l/.test(document.cookie)?'':'l';}
68if(options.indexOf('onSelectContrastResetDarkMode:1')!=-1){if(/waDarkMode=1,type:js/.test(document.cookie)){document.cookie='waDarkMode=0,type:js;path=/;sameSite=Lax';}else{document.cookie='waDarkMode=0;path=/;sameSite=Lax';}}document.cookie='waContrast=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';}else if(name=='darkMode'){if(value=='toggle'){value=/waDarkMode=1/.test(document.cookie)?'0':'1';}if(options.indexOf('onSelectDarkModeResetContrast:1')!=-1){if(/waContrast=1,type:js/.test(document.cookie)){document.cookie='waContrast=0,type:js;path=/;sameSite=Lax';}else{document.cookie='waContrast=0;path=/;sameSite=Lax';}}document.cookie='waDarkMode=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';}else if(name=='hideImages'){if(value=='toggle'){value=/waHideImages=1/.test(document.cookie)?'0':'1';}document.cookie='waHideImages=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';}else if(name=='avoidAnimations'){if(value=='toggle'){value=/waAvoidAnimations=1/.test(document.cookie)?'0':'1';}document.cookie='waAvoidAnimations=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';}else if(name=='easyLanguageMode'){if(value=='toggle'){value=/waEasyLanguageMode=1/.test(document.cookie)?'0':'1';}document.cookie='waEasyLanguageMode=' + value + (options!=''?',' + options:'') + ';path=/;sameSite=Lax';wSetParameterAndReload('easyLanguageMode', value=='1'?'1':'0');return;}if(/easyLanguageMode=1/.test(location.search)&&!/waEasyLanguageMode=1/.test(document.cookie)){document.cookie='waEasyLanguageMode=1;path=/;sameSite=Lax';}wConsiderPesonalizeAccessibility();if(typeof(name)!=='undefined'&&typeof wOnAfterChangeAccessibility==='function'){wOnAfterChangeAccessibility(name, value, options);}};wConsiderPesonalizeAccessibility=function(){if(typeof(wEditor)!='undefined'){return;}var waFontSize='';var waContrast='';var waDarkMode='';var waHideImages='';var waAvoidAnimations='';var waEasyLanguageMode='';var styleSheet=null;for(var i=0; i < document.styleSheets.length; i++) {styleSheet=document.styleSheets[i];try{if(styleSheet.cssRules!==undefined&&styleSheet.href!==undefined&&styleSheet.href!==null) break;}catch(e){}}if(/waFontSize=(\w*)/.test(document.cookie)){waFontSize=RegExp.$1;if(waFontSize!=''){jQuery('html').addClass('waFontSize-' + waFontSize);}var computedStyle=window.getComputedStyle(document.documentElement);var fontSize=computedStyle.fontSize;if(typeof wUiTmp['waFontSizeOrig']==='undefined'){wUiTmp['waFontSizeOrig']=fontSize;}if(waFontSize=='l'){document.documentElement.style.fontSize='21px';jQuery('html').removeClass('waFontSize-xl');}else if(waFontSize=='xl'){document.documentElement.style.fontSize='23px';jQuery('html').removeClass('waFontSize-l');}else if(typeof wUiTmp['waFontSizeOrig']!=='undefined'){jQuery('html').removeClass('waFontSize-l').removeClass('waFontSize-xl');document.documentElement.style.fontSize=wUiTmp['waFontSizeOrig'];}}else if(typeof wUiTmp['waFontSizeOrig']!=='undefined'){jQuery('html').removeClass('waFontSize-l').removeClass('waFontSize-xl');document.documentElement.style.fontSize=wUiTmp['waFontSizeOrig'];}jQuery('span[data-wafontsize]').each(function(){if(jQuery(this).data('wafontsize')==waFontSize){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(/waContrast=l/.test(document.cookie)||/waContrast=l/.test(location.href)){jQuery('html').addClass('waContrast-l');waContrast='l';if(!wUiTmp['hasAddWaContrastRules']){if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("prefers-contrast")!=-1){rules[i].media.mediaText="(min-width:17px)";}}}}wUiTmp['hasAddWaContrastRules']=true;if(/waContrast=l,type:js/.test(document.cookie)){jQuery(typeof(wSelectorsAddContrast)!=='undefined'&&wSelectorsAddContrast!==''?wSelectorsAddContrast:'#blockMain, #blockHeader, #blockBody, #blockFooter').css({'filter':'contrast(1.2)'});}}else if(/waContrast=/.test(document.cookie)){jQuery('html').removeClass('waContrast-l');if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("17px")!=-1){rules[i].media.mediaText="(prefers-contrast:more)";}}if(/waContrast=0?,type:js/.test(document.cookie)){jQuery(typeof(wSelectorsAddContrast)!=='undefined'&&wSelectorsAddContrast!==''?wSelectorsAddContrast:'#blockMain, #blockHeader, #blockBody, #blockFooter').css({'filter':''});}}wUiTmp['hasAddWaContrastRules']=false;document.cookie='waContrast=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;sameSite=lax';}jQuery('span[data-wacontrast]').each(function(){if(jQuery(this).data('wacontrast')==waContrast){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(/waDarkMode=1/.test(document.cookie)){waDarkMode='1';jQuery('html').addClass('waDarkMode-1').addClass('waDarkmode-1');if(!wUiTmp['hasAddWaDarkmodeRules']){if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("prefers-color-scheme")!=-1){rules[i].media.mediaText="(min-width:18.1px)";}}}}wUiTmp['hasAddWaDarkmodeRules']=true;if(/waDarkMode=1,type:js/.test(document.cookie)){document.body.style.filter='invert(1)';jQuery('img').css({'filter':'invert(1)'});}
68else if(/waDarkMode=1,type:js1/.test(document.cookie)){var styleSheet=document.styleSheets[0].href?document.styleSheets[0]:document.styleSheets[1];var rulesTmp=[];if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===window.CSSRule.MEDIA_RULE){var mediaRules=rules[i].cssRules||rules[i].rules;for(var j=0; j < mediaRules.length; j++){if(mediaRules[j].style){rulesTmp.push(mediaRules[j]);}}}else if(rules[i].style){rulesTmp.push(rules[i]);}}}rules=rulesTmp;for(var i=0; i < rules.length; i++){if(typeof(rules[i].style)!=='undefined'){if(rules[i].style.color){rules[i].style.color='#ffffff';}if(rules[i].style.background){rules[i].style.backgroundColor='#000000';}if(rules[i].style.backgroundColor){rules[i].style.backgroundColor='#000000';}if(rules[i].style.opacity){rules[i].style.opacity='1';}if(rules[i].style.boxShadow){rules[i].style.boxShadow='none';}if(rules[i].style.borderColor){rules[i].style.borderColor='#ffffff';}}}}}else if(/waDarkMode=/.test(document.cookie)){jQuery('html').removeClass('waDarkMode-1').removeClass('waDarkmode-1');if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("18.1px")!=-1){rules[i].media.mediaText="(prefers-color-scheme:dark)";}}}if(/waDarkMode=0?,type:js/.test(document.cookie)){document.body.style.filter='';jQuery('img').css({'filter':''});document.cookie='waDarkMode=;path=/;sameSite=Lax';}wUiTmp['hasAddWaDarkmodeRules']=false;document.cookie='waDarkMode=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;sameSite=lax';}jQuery('span[data-wadarkmode]').each(function(){if(jQuery(this).data('wadarkmode')==waDarkMode){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(/waHideImages=1/.test(document.cookie)){jQuery('html').addClass('waHideImages');waHideImages='1';if(!wUiTmp['hasAddWaHideImages']){jQuery('#blockBody img').each(function(){jQuery(this).attr('data-wahashide', '1');jQuery(this).css({'opacity':'0'});var eA=jQuery('<div class="wglWaHiddenImageAlt"></div>').text(jQuery(this).attr('alt'));var eB=jQuery(this).parent().is('picture')?jQuery(this).parent():jQuery(this);eA.css({'max-width':String(eB.parent().innerWidth()) + 'px'})
69eB.before(eA);});jQuery('#blockBody .elementVideo, #blockBody .listEntry[data-hasvideo="1"] .listEntryInner').each(function(){var tmpHasHideE=jQuery(this).find('.listEntryVideo');var hashHideE=jQuery(this);if(jQuery(this).hasClass('listEntryInner')&&tmpHasHideE.length > 0){hashHideE=tmpHasHideE;}hashHideE.attr('data-wahashide', '1').attr('data-waopacitybefore', hashHideE.css('opacity')).css({'opacity':'0'});});if(typeof(wAiHideImagesBackground)==='undefined'||wAiHideImagesBackground){window.setTimeout(function(){jQuery('#blockBody *').each(function(){var currentBackground=jQuery(this).css('background-image');if(currentBackground!=='none'){jQuery(this).attr('data-wobg', currentBackground);jQuery(this).css('background-image', 'none');}});}, 50);window.setTimeout(function(){jQuery('#blockBody *').each(function(){var currentBackground=jQuery(this).css('background-image');if(currentBackground!=='none'){jQuery(this).attr('data-wobg', currentBackground);jQuery(this).css('background-image', 'none');}});}, 200);}}wUiTmp['hasAddWaHideImages']=true;}else if(/waHideImages=/.test(document.cookie)){jQuery('html').removeClass('waHideImages');jQuery('#blockBody img[data-wahashide="1"], #blockBody .elementVideo, #blockBody .listEntry[data-hasvideo="1"] .listEntryInner').each(function(){var tmpHasHideE=jQuery(this).find('.listEntryVideo');var hashHideE=jQuery(this);if(jQuery(this).hasClass('listEntryInner')&&tmpHasHideE.length > 0){hashHideE=tmpHasHideE;}hashHideE.removeAttr('data-wahashide').css({'opacity':(hashHideE.attr('data-waopacitybefore')?hashHideE.attr('data-waopacitybefore'):'1')});jQuery('.wglWaHiddenImageAlt').remove();});if(typeof(wAiHideImagesBackground)==='undefined'||wAiHideImagesBackground){jQuery('#blockBody *[data-wobg]').each(function(){var originalBackground=jQuery(this).attr('data-wobg');jQuery(this).removeAttr('data-wobg');
69jQuery(this).css('background-image', originalBackground);});}wUiTmp['hasAddWaHideImages']=false;document.cookie='waHideImages=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;sameSite=lax';}jQuery('span[data-wahideimages]').each(function(){if(jQuery(this).data('wahideimages')==waHideImages){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(/waAvoidAnimations=1/.test(document.cookie)){waAvoidAnimations='1';if(!wUiTmp['hasAddWaAvoidAnimations']){jQuery('html').addClass('waAvoidAnimations');if(typeof bannerSliderPauseAnimationAll=='function'){bannerSliderPauseAnimationAll();}if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("prefers-reduced-motion")!=-1){rules[i].media.mediaText="(min-width:18.1px)";}}}}wUiTmp['hasAddWaAvoidAnimations']=true;}else if(/waAvoidAnimations=/.test(document.cookie)){jQuery('html').removeClass('waAvoidAnimations');if(typeof bannerSliderResumeAnimationAll=='function'){bannerSliderResumeAnimationAll();}if(styleSheet){var rules=styleSheet.cssRules;for(var i=0; i < rules.length; i++){if(rules[i].type===CSSRule.MEDIA_RULE&&rules[i].conditionText.indexOf("18.1px")!=-1){rules[i].media.mediaText="(prefers-reduced-motion:reduce)";}}}wUiTmp['hasAddWaAvoidAnimations']=false;document.cookie='waAvoidAnimations=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;sameSite=lax';}jQuery('span[data-waavoidanimations]').each(function(){if(jQuery(this).data('waavoidanimations')==waAvoidAnimations){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(/waEasyLanguageMode=1/.test(document.cookie)){waEasyLanguageMode='1';if(/waEasyLanguageMode=1,addClassHtml:1/.test(document.cookie)){document.documentElement.className=document.documentElement.className.replace(' wEasyLanguageMode', '') + ' wEasyLanguageMode';}window.setTimeout(function(){wArrangeAdditionalPictureWai();}, 320);window.setTimeout(function(){wGetMissingEasyLanguages();}, 128);}jQuery('span[data-waeasylanguagemode]').each(function(){if(jQuery(this).data('waeasylanguagemode')==waEasyLanguageMode){jQuery(this).addClass('wAiRangeSelected');}else{jQuery(this).removeClass('wAiRangeSelected');}});if(waFontSize!=''|| waContrast!=''|| waDarkMode!=''|| waEasyLanguageMode!=''||waHideImages!=''||waAvoidAnimations!=''){jQuery('.wAiIcon').addClass('hasMadeSelection');}else{jQuery('.wAiIcon').removeClass('hasMadeSelection');}};wGetMissingEasyLanguages=function(){if(typeof wUiTmp['hasGetEl']==='undefined'){var rootEasyLanguages='#blockContent';wUiTmp['elcpids']=[];jQuery((rootEasyLanguages!=''?rootEasyLanguages + ' ':'') + '*[data-elcpid]').each(function(){wUiTmp['elcpids'].push(jQuery(this).data('elcpid'));});wUiTmp['hasGetEl']=true;}if(wUiTmp['elcpids'].length!=0){var elcpid=wUiTmp['elcpids'].shift();var ajaxURL='/weblication/grid5/scripts/wContent.php?action=getTextEasyLanguage&id=' + elcpid + (jQuery('*[data-elcpid="' + elcpid + '"]').hasClass('elementHeadline')||jQuery('*[data-elcpid="' + elcpid + '"]').attr('data-isheadline')==='1'?'&type=headline':'');var buttonQe=jQuery('*[data-elcpid="' + elcpid + '"]').find('.wglButtonEditEmbedElement');buttonQe.addClass('elprogress');buttonQe=buttonQe.clone();jQuery.ajax({type:"GET", url:ajaxURL, dataType:'json', async:true, success:function(result){buttonQe=jQuery('*[data-elcpid="' + elcpid + '"]').find('.wglButtonEditEmbedElement');if(result['status']=='ok'){if(jQuery('*[data-elcpid="' + elcpid + '"]').hasClass('elementHeadline')){jQuery('*[data-elcpid="' + elcpid + '"]').find('h1, h2, h3, h4, h5, h6, .he').html(result['text']).attr('data-wait', '1');}else{jQuery('*[data-elcpid="' + elcpid + '"]').html(result['text']).attr('data-wait', '1');}jQuery('*[data-elcpid="' + elcpid + '"]').append('<div class="wglInfoAiGeneratedText" aria-hidden="true"></div>');}if(buttonQe.length!=0){jQuery('*[data-elcpid="' + elcpid + '"]').prepend(buttonQe);buttonQe.removeClass('elprogress').addClass('wglButtonEditEmbedElementHasWaiTextAvailableOnTheFly');buttonQe.find('.wglButtonEditEmbedElementExtended').attr('title', 'Der Text wird von der KI generiert in Leichter Sprache zur Verfügung gestellt. Klicken Sie hier, um den Modus Leichte Sprache zu verlassen.');buttonQe.parent().attr('data-wais', '1');}if(wUiTmp['elcpids'].length!=0){window.setTimeout(function(){wGetMissingEasyLanguages();}, 20);}}});}};wArrangeAdditionalPictureWai=function(){jQuery('#blockContent .elementText').each(function(index){var bai=0, pe=null, he=0, hp=false, otlb=0, pb='', et=jQuery(this);if(et.find('.additionalPictureWai').length > 0){pb=et.css('position');et.css({'position':'relative'});pe=et.find('.additionalPictureWai').parent().parent();et.find('.additionalPictureWai[data-pos]:not([data-pos=""])').each(function(index){hp=true;var pi=jQuery(this).data('pos');var pit=jQuery(this).offset()['top'];if(/^\d+$/.test(pi)){var pp=pe.find('p:nth-of-type(' + pi + ')');if(pp.length===1){ppt=pp.offset()['top'];if(ppt > pit){jQuery(this).css({'margin-top':String(ppt-pit) + 'px'});}else{otlb=jQuery(this).offset()['top'];pp.css({'padding-top':String(otlb-ppt) + 'px'});}}}});et.find('.additionalPictureWai').each(function(index){var bi=jQuery(this).position().top + jQuery(this).height();bai=bi;he=pe.height();});if(bai > he){pe.css({'padding-bottom':String(parseInt(bai-he)) + 'px'});}et.css({'position':pb});}});};wGetText=function(id){id=typeof(id)!=='undefined'?id:'';if(typeof wTexts=='undefined') wTexts={};return (wTexts[id]!=null&&wUiTmp['lang']!=null&&wTexts[wUiTmp['lang']][id]!=null)?wTexts[wUiTmp['lang']][id]:((wTexts[id]!=null&&wUiTmp['lang']!=null&&wTexts[id][wUiTmp['lang']])?wTexts[id][wUiTmp['lang']]:(wTexts[id]!=null?wTexts[id]:id));};wSubmitFormAjax=function(){var currentForm=event.target;var formData=new FormData(currentForm);formData.append('wSubmitFormAjax', '1');jQuery.ajax({url:currentForm.getAttribute('action'),type:currentForm.getAttribute('method'),data:formData,dataType:'json',processData:false,contentType:false,success:function(response){if(typeof(wOnAfterSubmitFormAjaxSuccess)==='function'){wOnAfterSubmitFormAjaxSuccess(response);}else{if(response['redirect']){location.href=location.href!==response['redirect']?response['redirect']:wSetParameter(response['redirect'], 'wfr', new Date().getTime());}}},error:function(xhr, status, error){if(typeof(wOnAfterSubmitFormAjaxError)==='function'){var errorData={'xhrStatus':status, 'xhrError':status};wOnAfterSubmitFormAjaxError(errorData);}else{alert('Es ist ein Fehler aufgetreten. Ggf. ist die Netzwerkverbinung gerade unterbrochen. Prüfen Sie die Netzwerkverbindung und versuchen Sie es anschließend noch einmal.');}}});return false;};wLoadScript=function(src, callbackOnLoad, cO, options){let scriptObj=document.createElement('script');scriptObj.src=src;if(options['defer']!=undefined) scriptObj.setAttribute('defer', 'defer');scriptObj.onload=function(){if(typeof window[callbackOnLoad]=='function') window[callbackOnLoad](cO, options);};document.head.appendChild(scriptObj);};jQuery(document).on('mousedown', function(e){wUiTmp['lastActionSource']='mouse';});jQuery(document).on('keydown', function(e){if(e.key==='Escape'){if(jQuery('#cookieNotice').is(':visible')){event.preventDefault();if(typeof closeCookieNotice==='function'){closeCookieNotice();}else{jQuery('#cookieNotice').hide();}}else if(jQuery('.accordionCloserContent').is(':visible')){event.preventDefault();jQuery('.accordionCloserContent:visible').parent().prev('.accordionHeader').focus();}}wUiTmp['lastActionSource']='keyboard';wUiTmp['lastKey']=e.key;});class wClassAccessHandler {constructor(options){this.objects=[];this.objGroups=[];this.idCount=0;this.activeListenerObjects=[];this.listenerObjects=[];};addEvent(cO, options=[]){var self=this;var add=true;var idPrefix=options['idPrefix']!=null?options['idPrefix']:'accessEvent';if(cO.id==null) cO.id=idPrefix + '_' + self.idCount;if(cO.id in self.objects&&self.objects[cO.id]!=null) add=false;if(cO.element==null){console.log('The Event has no Element:' + cO.id);add=false;}else if(cO.accessibilityRules!=null){if(cO.element.attr('aria-label')==null) cO.element.attr('aria-label', cO.element.attr('data-aria-label'));cO.element.removeAttr('data-aria-label');var accessRules=options['accessibilityRules']!=null?options['accessibilityRules']:{active:false};if(accessRules.active&&(accessRules.type!=null||accessRules.links!=null)){self.accessiblityRulesLinks(cO, accessRules);}}if(add){var eventStatus=true;if(cO.onready!=null)  eventStatus=cO.onready(cO);if(cO.onresize!=null)  jQuery(window).on('resize', function(e){cO.onresize(cO);});if(eventStatus){var events=["onkeyup", "onkeydown", "onleave", "onclick", "onmouseout", "onmouseover", "onfocusout", "onfocusin"];
69events.forEach(event=> {if(cO[event]!=null&&typeof self[event]==="function"){self[event](cO);}});}cO.init=true;self.objects[cO.id]=cO;if(self.objGroups[idPrefix]==null) self.objGroups[idPrefix]=[];self.objGroups[idPrefix].push(cO);}self.idCount++;}accessiblityRulesLinks(cO, accessRules){cO.element.find('a').each(function(){var cE=jQuery(this);var linkRules=accessRules.links!=null?accessRules.links:(accessRules.type==='strict'?'redundantTitle|filetypes|unterlinedText':'redundantTitle' );if(linkRules.indexOf('redundantTitle')!==-1&&cE.attr('title')==cE.text()) cE.removeAttr('title');if(linkRules.indexOf('filetypes')!==-1&&cE.attr('href')!=undefined){var baseHref=cE.attr('href').indexOf('wLinkDetailsSource')!==-1?cE.attr('href').split('wLinkDetailsSource=')[1]:cE.attr('href');baseHref=baseHref!==-1?baseHref.split('?')[0]:baseHref;if(baseHref.indexOf('.')===-1) baseHref='';var excludeStr=['#wEmpty', 'http://', 'https://', '#'];if(excludeStr.some(extStr=> baseHref.indexOf(extStr)!==-1)) baseHref='';var exclude=['.svg', '.html', '.php', '/'];if(exclude.some(ext=> baseHref.endsWith(ext))) baseHref='';if(baseHref!=''){var tmpExt=baseHref.split('.');if(tmpExt.length > 1){var ext=tmpExt.pop().toLowerCase();var txtE=cE;if(cE.find('*[data-aeListEntryText="1"]').length > 0) txtE=cE.find('*[data-aeListEntryText="1"]');else if(cE.children('span.linkEntryText').length > 0) txtE=cE.children('span.linkEntryText');if(txtE.text().toLowerCase().indexOf(ext)===-1) txtE.text(txtE.text().trim() + ' (' + ext.toUpperCase() + ')');}};}if(linkRules.indexOf('underlinedText')!==-1){if(cE[0].attributes.length > 0&&cE.attr('href')!='#wEmpty'&&cE.css('text-decoration').includes('underline')&&cE.first('span').length==1) cE.text(cE.first('span').text());}});}getEvent(id){return this.objects[id]!=null?this.objects[id]:{};}getEventGroup(id){return this.objGroups[id]!=null?this.objGroups[id]:[];}onkeydown(cO){var self=this;var evtO=cO.onkeydown;cO.element.attr('tabindex', cO.onkeydown.tabindex!=null?cO.onkeydown.tabindex:'0');cO.element.on('keydown.' + cO.id, function(e){self.reset(cO);const keyEvent='key' + (e.key==' '?'Space':e.key) + (e.shiftKey?'Shift':'');if(keyEvent&&typeof evtO[keyEvent]==='object'&&evtO[keyEvent].trigger=='onclick') {cO.element.data('leave', evtO[keyEvent].leave);if(evtO[keyEvent].element!==undefined) evtO[keyEvent].element.trigger('click');else cO.element.trigger('click');if(typeof evtO[keyEvent].onafterclick==='function') evtO[keyEvent].onafterclick(cO, e);evtO[keyEvent].clicked=evtO[keyEvent].clicked===undefined?true:!evtO[keyEvent].clicked;}if (keyEvent&&typeof evtO[keyEvent]==='function') {evtO[keyEvent](cO, e);}if(typeof evtO.onafterkeydown=='function') evtO.onafterkeydown(cO, e);});}onkeyup(cO){var self=this;var evtO=cO.onkeyup;cO.element.attr('tabindex', cO.onkeydown.tabindex!=null?cO.onkeydown.tabindex:'0');cO.element.on('keyup.' + cO.id, function(e){self.reset(cO);const keyEvent='key' + (e.key==' '?'Space':e.key) + (e.shiftKey?'Shift':'');if(keyEvent&&typeof evtO[keyEvent]==='object'&&evtO[keyEvent].trigger=='onclick') {cO.element.data('leave', evtO[keyEvent].leave);if(evtO[keyEvent].element!==undefined) evtO[keyEvent].element.trigger('click');else cO.element.trigger('click');if(typeof evtO[keyEvent].onafterclick==='function') evtO[keyEvent].onafterclick(cO, e);evtO[keyEvent].clicked=evtO[keyEvent].clicked===undefined?true:!evtO[keyEvent].clicked;}if (keyEvent&&typeof evtO[keyEvent]==='function') {evtO[keyEvent](cO, e);}if(typeof evtO.onafterkeyup=='function') evtO.onafterkeyup(cO, e);});}onleave(cO){var self=this;var events='';const eventNames=['keydown', 'mouseout', 'blur'];for (const eventName of eventNames) {if(!cO.onleave.events||cO.onleave.events[eventName]===undefined||cO.onleave.events[eventName])  events +=' '+eventName + '.' + cO.id;}cO.element.on(events, function(e){var leave=false;var off=cO.onleave.off!==undefined?cO.onleave.off:false;if(cO.onleave.element==null) cO.onleave.element=cO.element;if((e.key=='Tab'||e.key=='Escape'||e.key===undefined)&&(!cO.hasLeft||cO.hasleft!==true)) leave=true;if(leave){cO.hasleft=true;cO.onleave.element.data('leave', cO.hasleft);if(typeof cO.onleave=='function') cO.onleave(cO, e);else if(typeof cO.onleave==='object'&&typeof cO.onleave.function=='function') cO.onleave.function(cO, e);else if(typeof cO.onleave==='object'&&cO.onleave.trigger=='onclick') {cO.onleave.element.trigger('click');}if(off) cO.element.off(events);if(cO.onleave.stop===true){e.stopPropagation();e.stopImmediatePropagation();e.preventDefault();cO.onleave.element.data('stop', true);}}});}onclick(cO){var self=this;var events='';const eventNames=cO.onclick!=null&&cO.onclick.events!=null?cO.onclick.events:['click'];var passivListener='';for (const eventName of eventNames) {if(eventName==='touchstart'){passivListener +=eventName;}else events +=' '+eventName + '.' + cO.id;}if(passivListener!==''){cO.element.get(0).addEventListener('touchstart', function(e){cO.leave=cO.element.data('leave');cO.stop=cO.element.data('stop');if(typeof cO.onclick=='function') cO.onclick(cO, e);else if(typeof cO.onclick==='object'&&typeof cO.onclick.function=='function') cO.onclick.function(cO, e);self.reset(cO);}, { passive:true });}if(events!=''){cO.element.on(events, function(e){cO.leave=cO.element.data('leave');cO.stop=cO.element.data('stop');if(typeof cO.onclick=='function') cO.onclick(cO, e);else if(typeof cO.onclick==='object'&&typeof cO.onclick.function=='function') cO.onclick.function(cO, e);self.reset(cO);});}};onmouseout(cO){var self=this;cO.element.on('mouseout.' + cO.id, function(e){if(typeof cO.onmouseout=='function'){cO.onmouseout(cO, e);}});};onmouseover(cO){var self=this;cO.element.on('mouseover.' + cO.id, function(e){if(typeof cO.onmouseover=='function'){cO.onmouseover(cO, e);}});};onfocusout(cO){var self=this;cO.element.on('focusout.' + cO.id, function(e){if(typeof cO.onfocusout=='function'){setTimeout(()=> {const active=document.activeElement;if (!jQuery(this).get(0).contains(active)) {cO.onfocusout(cO, e);}}
69, 0);}});};onfocusin(cO){var self=this;cO.element.on('focusin.' + cO.id, function(e){if(typeof cO.onfocusin=='function'){setTimeout(()=> {const active=document.activeElement;if(jQuery(this).get(0).contains(active)) {cO.onfocusin(cO, e);}}, 0);}});};deactivateTabindex(element){var focusable='input, textarea, select, button, a[href], [tabindex], [aria-role="button"]';jQuery(element).find(focusable).attr('tabindex',-1);}activateTabindex(element){var focusable='input, textarea, select, button, a[href], [tabindex], [aria-role="button"]';jQuery(element).find(focusable).attr('tabindex', 0);}setFocusToCurElement(elementTarget, options={}){var self=this;var curFocusedE=jQuery(document.activeElement);var setFocus=false
70if(curFocusedE!==elementTarget&&jQuery('#blockPageInner').find(elementTarget).length > 0) setFocus=true;if(setFocus){var focusElement=null
71if(self.isFocusableElement(elementTarget)) focusElement=elementTarget;else focusElement=self.getNextFocusableElement({element:elementTarget});focusElement.data('tabindex', focusElement.attr('tabindex'));if(focusElement.length==1) focusElement.attr('tabindex', 0).focus();focusElement.data('tabindex')==undefined?focusElement.removeAttr('tabindex'):focusElement.attr('tabindex', focusElement.data('tabindex'));}}isFocusableElement(element){var curE=jQuery(element);if(curE.length===0||curE==null) return false;var result=true;if(curE.is(':hidden')||curE.css('visiblity')==='hidden') result=false;var nodeName=curE[0].nodeName.toLowerCase();var tabIndex=curE.attr('tabindex');const focusableTags=['input', 'select', 'textarea', 'button', 'object', 'a'];if(focusableTags.indexOf(nodeName)!==-1){if(curE.disabled) result=false;if(nodeName==="a"&&!curE.get(0).hasAttribute('href')) result=false;}if(tabIndex!=null&&tabIndex==='-1') result=false;return result;}reset(cO){cO.element.data({'leave':false, 'stop':false});cO.leave=false;cO.stop=false;}isLastFocusableElement(cO, element){var self=this;var focusable='input, textarea, select, button, a[href], [tabindex="0"], [aria-role="button"], video[controls=controls]';var fE=cO.element.find(focusable).filter(':visible');var lastFE=fE.last();if(lastFE.is(element)) return true;return false;}isFirstFocusableElement(cO, element){var self=this;var focusable='input, textarea, select, button, a[href], [tabindex="0"], [aria-role="button"], video[controls=controls]';var fE=cO.element.find(focusable).filter(':visible');var firstFE=fE.first();if(firstFE.is(element)) return true;return false;}getNextFocusableElement(cO, ancestors='', noSelf=false){var self=this;var focusable='input, textarea, select, button, a[href], [tabindex="0"], [aria-role="button"]';var result=cO.element;var nextElements=cO.element.find(focusable);if(!noSelf&&nextElements.length > 0){result=nextElements.first();}else{ancestors=Array.isArray(ancestors.split("|"))?ancestors.split('|'):[ancestors];for (let i=0; i < ancestors.length; i++) {var nextElement=cO.element.closest(ancestors[i]).next();if(nextElement.length > 0&&!wAccessHandler.isFocusableElement(nextElement)){var nextElements=nextElement.find(focusable);if(nextElements.length!==0){result=nextElements.first();break;}}else if(nextElement.length > 0){result=nextElement;break;}}}return result;}activateLayerListener(cO, e){var layerE=cO.element;var id=cO.id;var self=this;var eventObject=jQuery(document);var focusAfterOpen=null;if(self.activeListenerObjects!=null&&self.activeListenerObjects.indexOf(id)===-1) self.activeListenerObjects.push(id);if(self.listenerObjects[id]==null) self.listenerObjects[id]=cO;if(self.activeListenerObjects.indexOf(id)!==-1){window.setTimeout(function(){eventObject.off('keydown.layerListener click.keydown.layerListener').on('keydown.layerListener click.keydown.layerListener', {id:id}, function(e){var layerO=wAccessHandler.listenerObjects[e.data.id];var close=false;var target=jQuery(e.target);var isDesc=layerO.element.find(target).length > 0;var isToggler=target.is(layerO.toggler);var isWall=layerO.isWall!=null?layerO.isWall:false;var closeOnClickList=Array.isArray(layerO.closeOnClick)?layerO.closeOnClick:[layerO.closeOnClick];var closeOnClick=false;closeOnClickList.forEach(function(closeOnClickE){if(closeOnClickE!=null&&closeOnClickE.is(target)) closeOnClick=true;});if(!isWall&&e.type=='click'&&!closeOnClick&&!isToggler) close=false;else if(!isWall&&e.type==='click'&&(!isDesc||isToggler|closeOnClick)) close=true;else if(!isWall&&e.key==='Enter'&&isToggler) close=true;else if(!isWall&&e.key==='Escape'){ close=true; }else if(e.key==='Tab'){var focus=false;if(!isDesc) focus=true;else if(wAccessHandler.isLastFocusableElement(layerO, target)) focus=true;if(focus){e.preventDefault();if(cO.focusAfterOpen!=null) cO.focusAfterOpen.focus();else layerE.attr('tabindex', '0').focus();e.stopPropagation();e.stopImmediatePropagation();}}if(close){if(typeof cO.closeLayer==='function') cO.closeLayer(cO, e);else if(cO.toggler!=null){self.deactivateLayerListener(cO, e);cO.toggler.trigger('click');}}e.stopPropagation();e.stopImmediatePropagation();});}, 10);}}deactivateLayerListener(cO, e){var self=this;var eventObject=jQuery(document);self.activeListenerObjects=self.activeListenerObjects.filter(item=> item!==cO.id);eventObject.off('keydown.layerListener click.keydown.layerListener');if(self.activeListenerObjects.length > 0){self.activateLayerListener(self.listenerObjects[self.activeListenerObjects[self.activeListenerObjects.length-1]], e);}}};var wAccessHandler=new wClassAccessHandler();var wAccessEvents=[];if(wTexts==null)  var wTexts=[];if(wTexts['de']==null)  wTexts['de']=[];if(wTexts['en']==null)  wTexts['en']=[];wAccessEvents['searchbox']={id:'searchbox',element:jQuery('.searchBoxLabel'),onclick:function(cO, e){if(cO.leave||cO.stop) cO.element.closest('.searchBoxContainer').removeClass('open');else cO.element.closest('.searchBoxContainer').addClass('open');},onkeydown:{keyEscape:{trigger:'onclick', leave:true},keyEnter:{trigger:'onclick'}}};wAccessEvents['searchinput']={id:'searchinput',element:jQuery('.searchBoxContainer').find('input.searchTerm'),onleave:{trigger:'onclick', stop:true, element:jQuery('.searchBoxLabel'), events:{mouseout:false}}};wAccessEvents['global.select']={id:'global.selector',element:null,containerOptions:[],isOpened:false,onclick:function(cO, e){var target=jQuery(e.target);if(!cO.isOpened&&cO.containerOptions.find(target).length===0) cO.open(cO, e);else cO.close(cO, e);if(cO.isOpened){cO.element.on('mouseout', function(e){cO.close(cO, e);});}},onkeydown:{keyEnter:{ trigger:'onclick' },keyTab:function(cO, e){var target=jQuery(e.target);var close=false;if(cO.containerOptions.find(target).length > 0){if(wAccessHandler.isLastFocusableElement({element:cO.containerOptions}, target)) close=true;}if(close){cO.close(cO, e);}},keyEscape:function(cO, e){cO.close(cO, e);}}};wAccessEvents['languageSelector']=Object.assign(wAccessEvents['global.select'], {id:'languageSelector',onready:function (cO, e){var langSel=cO.element.find('#languageSelected');if(langSel.length > 0){langSel.attr('tabindex', 0).find('span.opener').removeAttr('tabindex');}var langSelectable=cO.element.find('#languageSelectable');cO.containerOptions=langSelectable;cO.onkeydown.tabindex=-1;return true;},open:function(cO, e){cO.isOpened=true;cO.element.addClass('open');},close:function (cO, e){cO.isOpened=false;cO.element.removeClass('open');}});wAccessEvents['cookieNotice']={element:jQuery('#cookieNotice'),toggler:jQuery('#cookieNotice').find('#cookieNoticeCloser'),closeOnClick:[jQuery('#cookieNotice').find('div#cookieNoticeInner')],focusAfterOpen:jQuery('#cookieNotice').find('div#cookieNoticeInner'),isActive:undefined,activate:function(cO, options=[], e) {cO.isActive=true;cO.isWall=options['isWall']!=null?options['isWall']:false;var focusElement=jQuery('#cookieNoticeCloser');if(!wAccessHandler.isFocusableElement(focusElement)) focusElement=wAccessHandler.getNextFocusableElement({element:focusElement.next()}, cO.focusOpen);cO.focusAfterOpen=focusElement;wAccessHandler.activateLayerListener(cO, e);},deactivate:function(cO,e){cO.isActive=false;wAccessHandler.deactivateLayerListener(cO, e);}};wAccessEvents['container.box.infoLayerWithToggler']={toggler:null,cookieSet:false,onready:function(cO, e){var id=cO.element.attr('data-infoid')!=null?cO.element.attr('data-infoid'):cO.id;var curE=cO.element;curE.prepend('<div class="boxInnerToggler" tabindex="0"></div>');cO.cookieId='hasShownInfo' + id;cO.showOnlyOnce=curE.attr('data-showonlyonce')!=null?curE.attr('data-showonlyonce'):'';cO.timeToHideAuto=curE.attr('data-timehideauto')!=null?curE.attr('data-timehideauto') * 1000:0;cO.classToAddAfterTime=curE.attr('data-classtoaddaftertime')!=null?curE.attr('data-classtoaddaftertime'):'isOpen';cO.classToRemoveAfterTime=curE.attr('data-classtoremoveaftertime')!=null?curE.attr('data-classtoremoveaftertime'):'isClosed';cO.animateAfterTime=curE.attr('data-animateaftertime')!=null?curE.attr('data-animateaftertime') * 1000:0;if(typeof(wEditor)=='undefined'&&document.cookie.indexOf(cO.cookieId + '=1')!=-1){curE.attr('data-hasshownonce', '1');}if(cO.animateAfterTime!==0&&(cO.showOnlyOnce!=='1'||document.cookie.indexOf(cO.cookieId + '=1')==-1)){window.setTimeout(function(){cO.openLayer(cO);}, cO.animateAfterTime);}else cO.openLayer(cO);if(cO.timeToHideAuto!==0){window.setTimeout(function(){cO.closeLayer(cO);}, cO.timeToHideAuto);}return true;},openLayer:function(cO, e) {self=this;cO.element.addClass(cO.classToAddAfterTime).removeClass(cO.classToRemoveAfterTime);cO.toggler=cO.element.find('.boxInnerToggler');cO.setCookie(cO, e);wAccessHandler.activateLayerListener(cO, e);},closeLayer:function (cO, e){cO.element.removeClass(cO.classToAddAfterTime).addClass(cO.classToRemoveAfterTime);cO.setCookie(cO, e);wAccessHandler.deactivateLayerListener(cO, e);},setCookie:function(cO, e){var self=this;var executeCookieSet=function() {if(typeof(wEditor)==='undefined'&&!self.cookieSet&&!wAccessEvents['cookieNotice'].isActive) {document.cookie=cO.cookieId + '=1;path=/;sameSite=lax';self.cookieSet=true;}};if(jQuery('#cookieNotice').length > 0) {var waitForCookieNotice=function() {if(typeof wAccessEvents['cookieNotice'].isActive==='undefined') {setTimeout(waitForCookieNotice, 100);return;}executeCookieSet();};waitForCookieNotice();}else {executeCookieSet();}}
71};wAccessEvents['global.listEntry']={accessibilityRules:'standard',onready:function(cO){if(typeof cO.onBeforeReady=='function') cO.onBeforeReady(cO);if(cO.element.find('[href="'+cO.element.attr('data-url')+'"]').length > 0){cO.element.removeAttr('aria-label').on('click', function(e){cO.onclick(cO, e);});return false;}else if(cO.element.find('a').length==0) cO.element.attr('role', 'link');return true;},onclick:function(cO, e){wOpenURL(cO.element.attr('data-url'), cO.element.attr('data-target'), typeof cO.getOpenUrlElement==='function'?cO.getOpenUrlElement(cO):cO.element.get(0));return false;},onkeydown:{keyEnter:{ trigger:'onclick' }}};wAccessEvents['default.listEntry']=Object.assign({onBeforeReady:function(cO){if(cO.element.find('[data-accessevent="default.listEntry"]').length==0) cO.element.removeAttr('onclick');},getOpenUrlElement:function(cO){return cO.element.hasClass('listEntryInner')?cO.element.parent().get(0):cO.element.get(0);}}, wAccessEvents['global.listEntry']);wAccessEvents['bannerSlider.listEntry']=Object.assign({onBeforeReady:function(cO){if(cO.element.find('[data-accessevent="bannerSlider.listEntry"]').length==0) cO.element.removeAttr('onclick').removeAttr('onkeyup').removeAttr('tabindex');},}, wAccessEvents['global.listEntry']);wAccessEvents['container.box.standard']={accessibilityRules:'standard',onready:function(cO){var result=true;if(cO.element.find('[data-accessevent="container.box.standard"]').length==0) cO.element.removeAttr('onclick').removeAttr('onkeyup').removeAttr('tabindex');if(cO.element.find('[href="'+cO.element.attr('data-url')+'"]').length > 0){cO.element.removeAttr('aria-label').on('click', function(e){cO.onclick(cO, e);});result=false;}else if(cO.element.find('a').length==0) cO.element.attr('role', 'link');return result;},onclick:function(cO, e){wOpenURL(cO.element.attr('data-url'), cO.element.attr('data-target'), cO.element.get(0));return false;},onkeydown:{keyEnter:{ trigger:'onclick' }}};wAccessEvents['linkList.listEntry']={accessibilityRules:'standard'};wAccessEvents['link.standard']={accessibilityRules:'standard'};wTexts['de']['smartSliderAria_forward']='Vorwärts blättern';wTexts['de']['smartSliderAria_back']='Zurück blättern';wAccessEvents['smartSlider.pageNavi']={onresize:function(cO){cO.element.attr('aria-label', wGetText('smartSliderAria_' + (cO.param!=null?cO.param[0]:'')));var eCS=cO.element.closest('.elementContainerStandard');if(eCS.attr('data-numberpages')!='1') cO.element.attr('tabindex', 0);else cO.element.removeAttr('tabindex');},onkeydown:{keyEnter:{trigger:'onclick',tabindex:'-1',onafterclick:function(cO, e){var eCS=cO.element.closest('.elementContainerStandard');if(eCS.length > 0){const cI=setInterval(function() {if(cO.param==null) clearInterval(cI);if (eCS.attr('data-moving')!=1){if(cO.param[0]=='forward'&&eCS.attr('data-islastentry')==1) eCS.find('[data-accessevent="smartSlider.pageNavi(back)"]').focus();if(cO.param[0]=='back'&&eCS.attr('data-isfirstentry')==1) eCS.find('[data-accessevent="smartSlider.pageNavi(forward)"]').focus();clearInterval(cI);}}, 200);setTimeout(function() {clearInterval(cI);}, 800);}}}}};wAccessEvents['wLightbox']={element:jQuery('html.wglBox'),openedByElement:null,elementsRel:null,parent:null,onready:function(cO, e){cO.lightbox=jQuery('.wLightbox');cO.lightbox.attr('tabindex', 0).focus().removeAttr('tabindex');cO.moveObject={ next:jQuery('.wLightboxMoverForward'), back:jQuery('.wLightboxMoverBack')};cO.element.find('.wLightboxPlayer, .wLightboxFullscreen, .wLightboxCloser, .wLightboxMoverBack, .wLightboxMoverForward').attr('tabindex', 0);cO.closer=cO.element.find('.wLightboxCloser');return true;},onkeydown:{keyTab:function(cO, e){if(wAccessHandler.isLastFocusableElement({element:cO.lightbox}, jQuery(e.target))){cO.closer.focus();event.stopPropagation();event.stopImmediatePropagation();event.preventDefault();}},keyArrowLeft:function(cO, e){ if(cO.moveObject.back.length > 0)  cO.move(cO, 'back')},keyArrowRight:function(cO, e){ if(cO.moveObject.next.length > 0) cO.move(cO, 'next')},keyEnter:function(cO,e){var target=jQuery(e.target);if(target.is('.wLightboxMoverForward')) cO.move(cO, 'next');else if(target.is('.wLightboxMoverBack')) cO.move(cO, 'back');else if(target.is('.wLightboxPlayer')) target.trigger('click').focus();else if(target.is('.wLightboxFullscreen')) target.trigger('click').focus();else if(target.is('.wLightboxCloser')) cO.closeLightbox(cO, e);},keyEscape:function(cO, e){if(cO.parent!=null){cO.parent.get(0).postMessage({ action:'closeLightbox' }, '*');}else cO.closeLightbox(cO, e);}},move:function(cO, move){var curE=jQuery(cO.elementsRel[parseInt(cO.moveObject[move].data('entry'))]);if(curE.length > 0){curE.trigger('click');cO.lightbox.attr('data-lastdirection', move);cO.moveObject[move].focus();}},closeLightbox:function(cO, e){wLightboxClose(e);if(cO.openedByElement!=null&&cO.openedByElement.length > 0) cO.openedByElement.focus();}};wAccessEvents['wLightboxImage']=jQuery.extend(true, {}, wAccessEvents['wLightbox']);wAccessEvents['wLightboxVideo']=jQuery.extend(true, {}, wAccessEvents['wLightbox']);wAccessEvents['wLightboxVideo'].onkeydown.keyTab=function(cO, e){var target=jQuery(e.target);if(cO.lightbox.find('video[controls=controls]').length > 0){if(e.target.nodeName==='VIDEO'&&wAccessHandler.isLastFocusableElement({element:cO.lightbox}, jQuery(e.target))){cO.lightbox.find('video').next().prepend('<div style="visiblity:hidden;opacity:0;height:0;width:0;" tabindex="0"></div>');}cO.lightbox.find('video').off('focusout').on('focusout', {event:e, cO:cO}, function(e){e.preventDefault();cO.closer.focus();});}};wAccessEvents['wLightboxIframe']=jQuery.extend(true, {}, wAccessEvents['wLightbox']);wAccessEvents['wLightboxIframe'].onready=function(cO, e){if(parent!=self){cO.parent=jQuery(window.parent);}else{cO.lightbox=jQuery('.wLightbox');cO.lightbox.attr('tabindex', 0).focus().removeAttr('tabindex');cO.moveObject={ next:jQuery('.wLightboxMoverForward'), back:jQuery('.wLightboxMoverBack')};cO.element.find('.wLightboxCloser, .wLightboxMoverBack, .wLightboxMoverForward').attr('tabindex', 0);cO.closer=cO.element.find('.wLightboxCloser');jQuery(window).on('message.lightbox', {cO:cO}, function(e){var data=e.originalEvent.data;var cO=e.data.cO;if(data.action=='focusCloser') cO.closer.attr('tabindex', '0').focus();else if(data.action=='closeLightbox') cO.closeLightbox(cO, e);});cO.closer.focus();}return true;};wAccessEvents['wLightboxIframe'].onkeydown.keyTab=function(cO, e){if(cO.parent!=null&&wAccessHandler.isLastFocusableElement(cO, jQuery(e.target))){cO.parent.get(0).postMessage({ action:'focusCloser' }, '*');event.stopPropagation();event.stopImmediatePropagation();event.preventDefault();}};wAccessEvents['wLightboxIframe'].closeLightbox=function(cO, e){wLightboxClose(e);if(cO.openedByElement!=null&&cO.openedByElement.length > 0) cO.openedByElement.focus();jQuery(window).off('message.lightbox');};wAccessEvents['containerTab']={onready:function(cO){cO.element.find('.tabs').children('.tab').each(function(){aE=jQuery.extend(true, {element:jQuery(this)}, wAccessEvents['containerTab.tab']);wAccessHandler.addEvent(aE, {'idPrefix':'containerTab.tab'});});cO.element.find('.containers').children('.container').each(function(){aE=jQuery.extend(true, {element:jQuery(this)}, wAccessEvents['containerTab.container']);wAccessHandler.addEvent(aE, {'idPrefix':'containerTab.container'});});return true;},onfocusin:function(cO, e){if(cO.element.data('focusedout')=='1'){if(cO.element.data('focusedoutlast')=='1') cO.element.find('.tab').last().focus();wAccessHandler.activateTabindex(cO.element.find('.containerSelected'));cO.element.data('focusedout', '0').data('focusedoutlast', '0');}},onfocusout:function(cO, e){cO.element.data('focusedout', '1');var lastTab=cO.element.find('.tab').last();if(jQuery(e.target).attr('id')==lastTab.attr('id')) cO.element.data('focusedoutlast', '1');wAccessHandler.deactivateTabindex(cO.element.find('.containerSelected'));}};wAccessEvents['containerTab.tab']={container:null,tabContainer:null,onready:function(cO){var id=cO.element.attr('id').replace('tab_', 'container_');if(cO.element.hasClass('.tabSelected')) cO.element.attr('tabindex', '-1');cO.tabContainer=cO.element.closest('.elementTabContainer');cO.container=cO.tabContainer.find('#' + id);cO.element.data('aeid', cO.id);return true;},onkeydown:{keyEnter:function(cO, e) { cO.element.trigger('click'); },keyTab:function(cO, e){var nextE=null;var nextFE=null;if(cO.element.hasClass('tabSelected')){nextE=cO.container;}else if(cO.element.next('.tabSelected').length > 0){nextE=wAccessHandler.getEvent(cO.element.next('.tabSelected').data('aeid'));nextE=nextE.container;}else if(cO.element.next('.tab').length===0&&!cO.element.hasClass('.tabSelected')){nextE=cO.tabContainer.next();}if(nextE!==null){var nextFE=wAccessHandler.getNextFocusableElement({element:nextE});if(wAccessHandler.isFocusableElement(nextFE)){nextFE.focus();e.preventDefault();e.stopPropagation();}}},}};wAccessEvents['containerTab.container']={tab:null,onready:function(cO){var id=cO.element.attr('id').replace('container_', 'tab_');cO.tab=cO.element.closest('.elementTabContainer').find('#' + id);cO.element.data('aeid', cO.id);return true;},onfocusout:function(cO, e){if(cO.tab.data('preventFocusOut')!=="1"&&cO.tab.next('.tab').length > 0) cO.tab.next('.tab').focus();cO.tab.data('preventFocusOut', "0");},onkeydown:{tabindex:'-1',keyTabShift:function(cO, e){e.preventDefault();e.stopImmediatePropagation();var isFirstFE=wAccessHandler.isFirstFocusableElement(cO, jQuery(e.target));if(isFirstFE&&cO.tab.prev('.tab').length > 0) cO.tab.data('preventFocusOut', '1').prev('.tab').focus();},}};wAccessEvents['video.intern']={videoControls:null,isOn:false,shiftKey:false,onready:function(cO, e){cO.videoControls=cO.element.find('.videoControls');return true;},on:function(cO, e){cO.init=true;cO.element.find('*[data-tabindex]').each(function(){jQuery(this).attr('tabindex', jQuery(this).attr('data-tabindex'));});jQuery(document).off('keydown click').on('keydown click', {cO:cO}, function(e){var cO=e.data.cO;var target=e.target;var reset=false;if(e.type=='keydown'&&e.key=='Tab'){if(e.shiftKey&&wAccessHandler.isFirstFocusableElement(cO, target)) reset=true;else if(!e.shiftKey&&wAccessHandler.isLastFocusableElement(cO, target)) reset=true;}else if(cO.element.find(target).length==0) reset=true;if(reset) cO.off(cO, e);});},off:function (cO, e){cO.isOn=false;cO.shiftKey=e.key!=null&&e.shiftKey?true:false;cO.element.data('initTabindex', false).find('*[data-tabindex]').attr('tabindex', '0');jQuery(document).off('keydown click');},onfocusin:function(cO, e){if(cO.videoControls.length > 0&&!cO.isOn) cO.on(cO, e);},onfocusout:function(cO, e){if(cO.videoControls.length > 0){var next=null;if(cO.shiftKey) next=wAccessHandler.getPrevFocusableElement(cO);else next=wAccessHandler.getNextFocusableElement(cO, '.elementBox|.elementSection', true, true);next.get(0).focus();}}};jQuery.fn.wAccessEventHandler=function(){if(typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active===true){jQuery(this).each(function(){var eventId=jQuery(this).attr('data-accessevent');var param=[];if(eventId.indexOf('(')!==-1){var tmp=eventId.match(/\(([^)]*)\)/)?.[1]??'';param=tmp.split('|');eventId=eventId.split('(')[0];}if(wAccessEvents[eventId]!=null){var aeO=Object.assign({}, wAccessEvents[eventId]);aeO.element=jQuery(this);if(param.length > 0){aeO.param=param;}var options={'idPrefix':eventId,'accessibilityRules':wAccessibility['accessEventHandler']&&wAccessibility['accessEventHandler'].accessibilityRules?wAccessibility['accessEventHandler'].accessibilityRules:'standard'
72};wAccessHandler.addEvent(aeO, options);}});}};function wDebounce(func, wait){let timeout;return function (...args){const context=this;clearTimeout(timeout);timeout=setTimeout(()=>
72 {func.apply(context, args);}, wait);};}function wSetObserverOptions(element){if(jQuery(element).height()/window.innerHeight > 2){wObserverOptions={threshold:[0, 0.01, 0.05, 0.5]};}}
73/*
74////////////////////////////////////////////////////////////////
75//
76// Allgemeine JavaScript Funktionen
77//
78// Weblication CMS BASE
79// erstellt durch Scholl Communications AG, 77694 Kehl, www.scholl.de
80// erstellt mit Weblication Content Management Server, www.weblication.de
81//
82////////////////////////////////////////////////////////////////
83*/
84
85wAllowMinimize=true;wLightboxVariants={};wLightboxVariants['box']={'class':'default', 'postfix':'viewmode=blank&linkback=no'};wLightboxVariants['boxPicture']={'class':'image', 'scrollIfToHeight':false, 'limitSizeIfPicture':true, 'addCopyrightElement':true, 'allowFullscreen':false};wLightboxVariants['boxVideo']={'class':'video'};wLightboxVariants['boxYoutube']={'class':'youtube'};wLightboxVariants['boxContent']={'class':'content', 'postfix':'viewmode=blank&linkback=no'};wLightboxVariants['boxForm']={'class':'form', 'postfix':'viewmode=blank&linkback=no'};wLightboxVariants['boxCard']={'class':'card', 'postfix':'viewmode=blank&linkback=no'};wLightboxVariants['boxCart']={'class':'cart', 'postfix':'viewmode=blank&linkback=no'};wDoNotFireOnLoadBeforeReady=true;wChangeScrollstatusOnAutoscrolling=false;wScrollSmoothToElementForceScroll=true;wScrollSmoothToElementEasing='wEaseIn';wResetConditionalFormdataOnHide=true;wKeepNavigationSectionsIfNoTitle=true;wSimulateBreakpointsInEmbededPage=true;wExecuteJsInEmbededPage=true;wKeepIDsInEmbededPage=true;wHighlightBlockRoot='blockContentInner';wCookieNoticeVar='';wMinEnlargementToShowPictureZoomer=1.2;wTrimInputsBeforeValidateOnBlur=true;wAddRandomIdToImagesInLightbox=true;wAddSelectedOnClickNavpoint=false;wAddSelectedOnNavpointIfHashChanged=false;wToggleOnClickNavpointInMenu=false;wToggleOnClickNavpointMainInMenu=false;wAddAccessDocumentOnPdfsIfAndroid=true;wTryToKeepDirectionOfNavlayers=true;wConfirmExternVideosInLightbox=true;wDoNotAdjustHeightMaxAfterLazyLoad=false;wHandleObserveVisible=true;if(typeof wEditor!='undefined'){wBlockChangeScrollstatus=true;}jQuery(document).ready(function(){$('.elementLinklist li svg, .elementLinklist li svg *').attr('tabindex', '-1');$('.searchResultNumberResults').attr('role', 'status');$(".videoControls *").on( "focus", function() {$(this).closest('.videoControls').css('opacity', '1');});$(".videoControls *").on( "focusout", function() {$(this).closest('.videoControls').css('opacity', '0');});$('body').click(function() {$('#navigationMain li').removeClass('hover');});$('*:not("#navigationMain *")').focus(function() {$('#navigationMain li').removeClass('hover');});$('#navigationMain ul[data-navlevel="1"] > li > a').focus(function() {$('#navigationMain ul[data-navlevel="1"] > li').removeClass('hover');$(this).parent('li').addClass('hover');});$('#navigationMain ul[data-navlevel="2"] > li.childs > a').focus(function() {$('ul[data-navlevel="2"] > li').removeClass('hover');$(this).parent('li').addClass('hover');});if(typeof(wInitBrowseEdit)=='function'){wInitBrowseEdit();}if(typeof(wEditor)=='undefined'){addLinkTargets();}$('.listMoverForward').attr('name', 'Schaltet zum nächsten Bannerslide').attr('role', 'button');$('.listMoverBack').attr('name', 'Schaltet zum nächstvorherigenen Bannerslide').attr('role', 'button');$('.elementAccordion .accordionHeader').attr('name', 'Inhalt öffnen / schließen');$('a[name]').each(function() {var $t=$(this);$t.attr({'aria-label':$t.attr('name'),}).removeAttr('name');});$('a:not([name=""])[title]').each(function() {var $t=$(this);$t.attr({'aria-label':$t.attr('title'),});});if(typeof wEditor==='undefined'){addLinkTargets();if(typeof wUiTmp['wHasWa']!=='undefined'&&wUiTmp['wHasWa']){addInteractionTracking();}}});addLinkTargets=function(root){root=root|| document.body;if(!jQuery('html').hasClass('isInLightbox')){jQuery(root).find("a.box, a.boxOnly, a.boxPicture, a.boxPictureOnly, a.boxVideo, a.boxVideoOnly, a[target='wLightbox'], a[target='box'], a[target='boxContent'], a[target='boxForm'], a[target='boxCard'], a[target='boxPicture'], a[target='boxVideo'], form[data-target='boxCart']").wLightbox();}else{jQuery(root).find("a.box, a.boxOnly, a.boxPicture, a.boxPictureOnly, a.boxVideo, a.boxVideoOnly, a[target='wLightbox'], a[target='box'], a[target='boxContent'], a[target='boxForm'], a[target='boxCard'], a[target='boxPicture'], a[target='boxVideo']").each(function(){var thisHref=jQuery(this).attr('href');if(/youtu\.be\/([^\&\?]+)/.test(thisHref)||/youtube\.com\/watch\?v=([^\&\?]+)/.test(thisHref)||/vimeo.com\/(?:video\/)?([\w]+)/.test(thisHref)){jQuery(this).wLightbox();}else {jQuery(this).attr('target', '_self').wSetViewmode('blank');}});}jQuery(root).find("a[target='embedBody'], a[target='embedListNextRow']").on('click', function(event){var aTag=jQuery(event.target).closest('a');if(aTag){wOpenURL(aTag.attr('href') + (aTag.attr('href').indexOf('?')!=-1?'&':'?') + 'viewmode=blank&linkback=no', aTag.attr('target'), aTag.get(0));return false;}});if(root==document.body&&typeof(ga)!='undefined'){jQuery("a.pdf, a.download").wAddAnalytics();jQuery("div[data-url*='.pdf']").wAddAnalytics();}addInteractionTracking=function(root){jQuery('a[href*="http"]').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).attr('href')}, category:'extern'});jQuery('a.mail, a.wpst').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).html()}, category:'mail'});jQuery('a.phone').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).html()}, category:'phone'});jQuery('video').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).attr('src')}, category:'video'});jQuery('.tab').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).children('div').first().html()}, category:'tab'});jQuery('.accordionHeader').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).first().text()}, category:'accordion'});jQuery('.listBannerSlider .listEntriesPreview .listEntry, .listBannerSlider .listEntryPrevNext > div').wAnalyzeEvents({event:'click', label:function(){return jQuery(this).closest('.listBannerSlider').find('.listEntrySelected .listEntryTitle').text()}, category:'banner'});};};getOffsetTopFixed=function(options){options=options||{};var offsetTopFixed=0;if(jQuery('#blockHeader').length > 0&&jQuery('#blockHeader').css('position')=='fixed'){offsetTopFixed=jQuery('#blockHeader').height() + jQuery('#blockHeader').offset().top-jQuery(window).scrollTop();if(jQuery('#blockHeader').height() >=300){return 0;}}if(options['considerWglContainerInsideTopOnScroll']!==false){jQuery('.wglContainerInsideTopOnScroll').each(function(){offsetTopFixed +=jQuery(this).height();});}return offsetTopFixed;};openCookieNotice=function(){jQuery('#cookieNotice').addClass('hasOpenedByClick');jQuery('#cookieNotice').attr('style', 'display:block!important');jQuery('html').addClass('cookieNoticeOpen');};closeCookieNotice=function(){jQuery('#cookieNotice').attr('style', 'display:none');jQuery('html').removeClass('cookieNoticeOpen');};showCookieNotice=function(){jQuery('#cookieNotice').show();jQuery('html').addClass('cookieNoticeOpen');};jQuery(window).on('load', function(){});wOnAfterAcceptExternalRessources=function(){jQuery.ajax({type:"GET",url:'/default-wGlobal/wGlobal/scripts/php/privacyConsentStatus.php?s=acceptExternalRessources',async:true,success:function(result){document.location.reload(true);}});};wOnAfterDeclineExternalRessources=function(){jQuery.ajax({type:"GET",url:'/default-wGlobal/wGlobal/scripts/php/privacyConsentStatus.php?s=declineExternalRessources',async:true,success:function(result){}});};wOnAfterEmbedPage=function(elementTarget){addLinkTargets(elementTarget);};
86/*
87////////////////////////////////////////////////////////////////
88//
89// JavaScript Funktionen für die Navigation
90//
91// Weblication CMS BASE
92// erstellt durch Scholl Communications AG, 77694 Kehl, www.scholl.de
93// erstellt mit Weblication Content Management Server, www.weblication.de
94//
95///////////////////////////////////////////////////////////////f/
96*/
97
98wAllowMinimize=true;var megadropdownTimerOpen;var megadropdownTimerClose;var maxSizeNavigationmenu=0;var delayOpen=0;var delayClose=0;jQuery(document).ready(function(){if(typeof(wEditor)=='object'){return false;}maxSizeNavigationmenu=jQuery('html').data('widthnavigationmainmenumax')?jQuery('html').data('widthnavigationmainmenumax').replace(/px/, ''):992;jQuery('a[data-previewlink]').each(function(){jQuery(this).parent().addClass('hasMegaDropdown');var id=jQuery(this).attr('id').replace(/navpoint_/, '');var megaDropdownEmbedMode=jQuery(this).closest('ul[data-embedmode]').attr('data-embedmode');var megaDropdownAddNavId=jQuery(this).closest('ul[data-addnavid]').attr('data-addnavid');var openMegaDropdownType=jQuery(this).closest('ul[data-type]').attr('data-type')?
98jQuery(this).closest('ul[data-type]').attr('data-type'):(jQuery('html').data('megadropdownopentype')?jQuery('html').data('megadropdownopentype'):'mouseenter');var megaDropdownPreload=jQuery(this).closest('ul[data-preload]').attr('data-preload')?jQuery(this).closest('ul[data-preload]').attr('data-preload'):(jQuery('html').data('megadropdownpreload')?jQuery('html').data('megadropdownpreload'):'yes');if(openMegaDropdownType=='click'){var windowWidth=jQuery(window).width();if(windowWidth >=maxSizeNavigationmenu){jQuery(this).on('click touchstart', function(event){console.log(event);if(event.target.className.indexOf('navpointEmbedToggler')!=-1){if(jQuery(event.target).attr('aria-pressed')=='true'){jQuery(event.target).attr('aria-pressed', 'false');closeMegaDropdown();return;}else{jQuery(event.target).attr('aria-pressed', 'true');}}event.preventDefault();if(!jQuery('html').hasClass('megadropdown-open')){openMegaDropdown(id, jQuery(this).attr('data-previewlink'), {'mode':megaDropdownEmbedMode, 'addNavId':megaDropdownAddNavId});}else{closeMegaDropdown();if(id!=wUiTmp['openMegaDropdownid']){openMegaDropdown(id, jQuery(this).attr('data-previewlink'), {'mode':megaDropdownEmbedMode, 'addNavId':megaDropdownAddNavId});}}return false;});jQuery(this).get(0).addEventListener("MSHoldVisual", function(e){e.preventDefault()}, false);jQuery(this).get(0).addEventListener("contextmenu", function(e){if(e.which!=3) e.preventDefault()}, false);}}else{jQuery(this).add(jQuery(this).parent().find('.navpointEmbedToggler')).on('mouseenter click', function(event){if(event.target.className.indexOf('navpointEmbedToggler')!=-1){if(jQuery(event.target).attr('aria-pressed')=='true'){jQuery(event.target).attr('aria-pressed', 'false');closeMegaDropdown();return;}else{jQuery(event.target).attr('aria-pressed', 'true');}}openMegaDropdown(id, jQuery(this).attr('data-previewlink'), {'mode':megaDropdownEmbedMode, 'addNavId':megaDropdownAddNavId});});}if(megaDropdownPreload!='no'){if(jQuery(window).width() >=maxSizeNavigationmenu){loadMegaDropdown(id, jQuery(this).attr('data-previewlink'), {'mode':megaDropdownEmbedMode, 'addNavId':megaDropdownAddNavId, 'initToPreload':true});}}});jQuery('#navigationMain ul, #navigationMain > nav > div > ul > li > div ul').each(function(){if(jQuery(this).attr('data-addtitle')=='1'&&jQuery(this).data('hasAddTitle')!='1'){var elementTitle=jQuery('<li class="navlayerTitle"><span>' + (jQuery(this).parent().find(' > a').html()?jQuery(this).parent().find(' > a').html():'') + '</span></li>');jQuery(this).prepend(elementTitle);jQuery(this).data('hasAddTitle', '1');}if(jQuery(this).attr('data-addbacktitle')=='1'&&jQuery(this).data('hasAddBacktitle')!='1'){var elementBackTitle=jQuery('<li class="navlayerBackTitle"></span><span class="navlayerBackTitleText">' + (jQuery(this).parent().find(' > a').text()?jQuery(this).parent().find(' > a').text():'') + '</span><span class="navlayerBackTitleCloser"></li>');jQuery(this).prepend(elementBackTitle);elementBackTitle.on('click', function(){jQuery(this).parent().parent().find('> span.navpointToggler').trigger('click')});jQuery(this).data('hasAddBacktitle', '1');}if(jQuery(this).attr('data-addbackparenttitle')=='1'&&jQuery(this).data('hasAddBackparenttitle')!='1'){var elementBackParentTitle=jQuery('<li class="navlayerBackParentTitle"><span>' + (jQuery(this).parent().parent().parent().find(' > a').html()?jQuery(this).parent().parent().parent().find(' > a').html():'') + '</span></li>');jQuery(this).prepend(elementBackParentTitle);elementBackParentTitle.on('click', function(){jQuery(this).parent().parent().find('> span.navpointToggler').trigger('click')});jQuery(this).data('hasAddBackparenttitle', '1');}if(jQuery(this).attr('data-addcloser')=='1'&&jQuery(this).data('hasAddCloser')!='1'){var elementCloser=jQuery('<li class="navlayerCloser"></li>');jQuery(this).prepend(elementCloser);elementCloser.on('click', function(){jQuery(this).parent().parent().find('> span.navpointToggler').trigger('click')});jQuery(this).data('hasAddCloser', '1');}});jQuery('#navigationMain li > a').each(function(){jQuery(this).get(0).addEventListener("MSHoldVisual", function(e){e.preventDefault()}, false);jQuery(this).get(0).addEventListener("contextmenu", function(e){if(e.which!=3) e.preventDefault()}, false);
98if(jQuery(this).siblings('ul, div').length > 0){jQuery(this).attr('aria-haspopup', 'true');}});jQuery('.navpointToggler').each(function(){if(jQuery(this).siblings('a').length > 0){jQuery(this).siblings('a').on('click', function(){var attHref=jQuery(this).attr('href');if(attHref==''||attHref=='#'){jQuery(this).attr('data-donotclose', 1);event.stopPropagation();jQuery(this).next().trigger('click');return false;}});}});wToggleOnClickNavpointInMenu=jQuery('#navigationMain > nav > div > ul').data('toggleonclicknavpointinmenu')=='1'?true:wToggleOnClickNavpointInMenu;wToggleOnClickNavpointMainInMenu=jQuery('#navigationMain > nav > div > ul').data('toggleonclicknavpointmaininmenu')=='1'?true:wToggleOnClickNavpointMainInMenu;if(typeof(wToggleOnClickNavpointInMenu)!='undefined'&&wToggleOnClickNavpointInMenu){jQuery('.navpointToggler').each(function(){if(jQuery(this).siblings('a').length > 0){jQuery(this).siblings('a').on('click', function(){var attHref=jQuery(this).attr('href');if(!jQuery(this).next().hasClass('open')||attHref==''||attHref=='#'){jQuery(this).attr('data-donotclose', 1);event.stopPropagation();jQuery(this).next().trigger('click');return false;}});}});}else if(typeof(wToggleOnClickNavpointMainInMenu)!='undefined'&&wToggleOnClickNavpointMainInMenu){jQuery('ul[data-navlevel="1"] > li > .navpointToggler').each(function(){if(jQuery(this).siblings('a').length > 0){jQuery(this).siblings('a').on('click', function(){var attHref=jQuery(this).attr('href');if(!jQuery(this).next().hasClass('open')||attHref==''||attHref=='#'){jQuery(this).attr('data-donotclose', 1);event.stopPropagation();jQuery(this).next().trigger('click');return false;}});}});}jQuery('#navigationMainToggler').on('click', function(){navigationToggler_onclick(this);});jQuery('.navpointToggler').on('click', function(){navpointToggler_onclick(this);});jQuery('#navigationMain li > a').on('click', function(event){navpoint_onclick(this, jQuery(this).parent().parent().data('navlevel'), event);});jQuery('#navigationMain li > a').each(function(){var el=this;el.addEventListener('touchstart', function(){navpoint_onclick(el, jQuery(el).parent().parent().data('navlevel'), event);el}, {passive:true});});jQuery('#navigationMain li').on('mouseenter', function(event){navpoint_onmouseenter(this, jQuery(this).parent().data('navlevel'), event);});jQuery('#navigationMain li').on('mouseleave', function(event){navpoint_onmouseleave(this, jQuery(this).parent().data('navlevel'), event);});jQuery('body').on('click touchstart', function(event){if(window['wglTouchStartedNavlayers']){var timeTouchstartBody=new Date().getTime();var timeDiffTouch=timeTouchstartBody-window['wglTouchStartedNavlayers'];if(timeDiffTouch > 100){jQuery('a[data-has-already-touched="1"]').attr('data-has-already-touched', '');}}});jQuery(window).on('resize', adaptSizeNavigation);adaptSizeNavigation();jQuery('body').append('<div id="navlayer-background"/>');});loadMegaDropdown=function(id, url, options){options=options||{};var windowWidth=jQuery(window).width();var mode=options['mode'];var addNavId=options['addNavId'];var initToPreload=options['initToPreload'];var navPoint=jQuery('#navpoint_' + id);var navigationTogglerOnClick=jQuery('html').data('navigationtoggleronclick')?jQuery('html').data('navigationtoggleronclick'):'';if(navigationTogglerOnClick=='toggleFirstMegaDropdownIfFullWidth'&&windowWidth >=maxSizeNavigationmenu){navPoint=jQuery('#navigationMainToggler');}if(navPoint.data('hasLoaded')=='1'){}else if(navPoint.data('loading')=='1'){}else if(mode!='iframe'){var navLevelEmbed=jQuery('<div class="navLevelEmbed" id="navEmbed_' + id + '"><div></div></div>');var wMegadropdownInsertPos='';try{wMegadropdownInsertPos=jQuery('#navigationMain').css('--wMegadropdownInsertPos');}catch(e){}if(/append-(\w+)/.test(wMegadropdownInsertPos)){var elementToAppend=jQuery('#' + RegExp.$1);elementToAppend.append(navLevelEmbed);elementToAppend.addClass('hasMegaDropdown');}else if(/insertBefore-(\w+)/.test(wMegadropdownInsertPos)){var elementToAppend=jQuery('#' + RegExp.$1);elementToAppend.before(navLevelEmbed);elementToAppend.addClass('hasMegaDropdown');}else{var elementToAppend=navPoint.parent();elementToAppend.append(navLevelEmbed);elementToAppend.addClass('hasMegaDropdown');}url +=(url.indexOf('?')==-1?'?':'&') + 'viewmode=embed';if(addNavId!='no'){if(typeof(wNavidStandard)!='undefined'&&wNavidStandard!=''){url +='&navid=' 
98+ wNavidStandard;}}url=url.replace('[URL]', location.pathname + location.search);navPoint.data('loading', '1');jQuery.ajax({type:"GET",url:url,async:true,success:function(result){result=result.replace(/\n/g, '_wNL-');result=result.replace(/(\s+id=")([^"]+)(")/gi, function(matches, p1, p2, p3){if(!document.getElementById(p2)){return ' data-replacedid="' + p2 + '"' + p1 + p2 + p3;}return ' data-replacedid="' + p2 + '"';});result=result.replace(/^.*<!--\s*CONTENT:START\s*-->/im, '');result=result.replace(/<!--\s*CONTENT:STOP\s*-->.*$/im, '');result=result.replace(/_wNL-/g, "\n");navLevelEmbed.find('> div').html(result);navLevelEmbed.find('> div').on('mouseenter', function(event){openMegaDropdown(id);});navLevelEmbed.find('> div').on('mouseleave', function(event){closeMegaDropdown(id);});navPoint.data('hasLoaded', '1');navPoint.data('loading', '');if(wUiTmp['megaDropdownShowAfterLoading']|| options['openAfterLoad']){openMegaDropdown(id);wUiTmp['megaDropdownShowAfterLoading']=false;}}});}else{var elementToAppend=navPoint.parent();elementToAppend.append('<div class="navLevelEmbed" id="navEmbed_' + id + '"></div>');elementToAppend.addClass('hasMegaDropdown');url=url.indexOf('?')==-1?url + '?parentIframeId=navEmbedIframe_'+id:url + '&parentIframeId=navEmbedIframe_'+id;url=url.indexOf('dropdown')==-1?url + '&viewmode=blank':url;url=url.replace('[URL]', location.pathname + location.search);navPoint.data('hasLoaded', '1');var iframeEmbed=document.createElement('iframe');iframeEmbed.id='navEmbedIframe_' + id;iframeEmbed.className='navLevel1Embed';iframeEmbed.frameBorder='0';iframeEmbed.scrolling='no';iframeEmbed.src=url;elementToAppend.find('.navLevelEmbed').append(iframeEmbed);navPoint.data('hasLoaded', '1');}};openMegaDropdown=function(id, url, options){wUiTmp['openMegaDropdownTime']=typeof wUiTmp['openMegaDropdownTime']!=='undefined'?wUiTmp['openMegaDropdownTime']:{};wUiTmp['openMegaDropdownTime'][id]=Date.now();if(jQuery('html').hasClass('navmenu-open')){return false;}options=options||{};var windowWidth=jQuery(window).width();if(windowWidth < maxSizeNavigationmenu){return false;}var mode=options['mode'];var addNavId=options['addNavId'];var initToPreload=options['initToPreload'];var navPoint=jQuery('#navpoint_' + id);var navigationTogglerOnClick=jQuery('html').data('navigationtoggleronclick')?jQuery('html').data('navigationtoggleronclick'):'';if(navigationTogglerOnClick=='toggleFirstMegaDropdownIfFullWidth'&&windowWidth >=maxSizeNavigationmenu){navPoint=jQuery('#navigationMainToggler');}if(navPoint.data('loading')=='1'){wUiTmp['megaDropdownShowAfterLoading']=true;return;}else if(navPoint.data('hasLoaded')!='1'){options['openAfterLoad']=true;loadMegaDropdown(id, url, options);return;}if(wUiTmp['openMegaDropdownid']!=null&&id!=wUiTmp['openMegaDropdownid']){closeMegaDropdown(wUiTmp['openMegaDropdownid'], true);}wUiTmp['openMegaDropdownid']=id;jQuery('.navLevelEmbed').hide({'duration':0, 'queue':false});var navPoint=jQuery('#navpoint_' + id);jQuery('#navEmbed_' + id).fadeIn({'duration':0, 'queue':false});if(jQuery('#navlayer-background').length==0){jQuery('body').append('<div id="navlayer-background"/>');}jQuery('html').addClass('megadropdown-open');if(navPoint.data('haspreparedmagadropdown')!='1'){var openMegaDropdownType=jQuery('html').data('openMegaDropdowntype')?jQuery('html').data('openMegaDropdowntype'):'mouseenter';var navigationTogglerOnClick=jQuery('html').data('navigationtoggleronclick')?jQuery('html').data('navigationtoggleronclick'):'';if(openMegaDropdownType=='click'||navigationTogglerOnClick=='toggleFirstMegaDropdownIfFullWidth'){if(jQuery('body').data('hasAddCloseEventMegadropdown')!='1'){jQuery('body').on('click', function(event){var isTrusted=event.originalEvent&&event.originalEvent.isTrusted||event.isTrusted;if(isTrusted&&jQuery(event.target).closest('.navLevelEmbed').length==0&&jQuery('body').data('canCloseMegadropdown')=='1'){closeMegaDropdown();}});jQuery('body').data('hasAddCloseEventMegadropdown', '1');}}else{if(jQuery('body').data('hasAddCloseEventMegadropdown' + id)!='1'){jQuery('#navEmbed_' + id).parent().on('mouseleave', function(event){if(jQuery('body').data('canCloseMegadropdown')=='1'){closeMegaDropdown();}});jQuery('body').data('hasAddCloseEventMegadropdown' + id, '1');}}jQuery('body').data('canCloseMegadropdown', '1');jQuery('#navEmbed_' + id).find('.wglBannerSlider').wBannerSlider();jQuery('#navEmbed_' + id).find('.wglPictureGallery').wPictureGallery();jQuery('#navEmbed_' + id).find('.wglTabcontainer').wTabcontainer();jQuery('#navEmbed_' + id).find('.wglAccordion').wAccordion();navPoint.data('haspreparedmagadropdown', '1');}else{window.setTimeout(function(){jQuery('body').data('canCloseMegadropdown', '1');}, 100);}jQuery(window).trigger('resize');};closeMegaDropdown=function(id, force){id=id||wUiTmp['openMegaDropdownid'];
98if(typeof id==='undefined'|| typeof wUiTmp['openMegaDropdownTime']==='undefined'){return;}if(force){jQuery('#navEmbed_' + id).hide({'duration':0, 'queue':false});jQuery('html').removeClass('megadropdown-open');}var delayClose=16;window.setTimeout(function(){if(Date.now()-wUiTmp['openMegaDropdownTime'][id] < 10 + 16){wUiTmp['openMegaDropdownTime'][id]=0;return;}jQuery('#navEmbed_' + id).hide({'duration':0, 'queue':false});megadropdownTimerClose=null;jQuery('html').removeClass('megadropdown-open');jQuery('body').data('canCloseMegadropdown', '0');wUiTmp['openMegaDropdownid']=null;}, delayClose);};megaDropdownToggleFirst=function(){return;};closeNavigationMenu=function(){jQuery('html').removeClass('navmenu-open');jQuery('#navigationMain').removeClass('open');jQuery(wUiTmp['elementNavigationToggler']).removeClass('open');};navigationToggler_onclick=function(element){var windowWidth=jQuery(window).width();var navigationTogglerOnClick=jQuery('html').data('navigationtoggleronclick')?jQuery('html').data('navigationtoggleronclick'):'';if(navigationTogglerOnClick=='toggleFirstMegaDropdownIfFullWidth'&&windowWidth >=maxSizeNavigationmenu){toggleFirstMegaDropdown();return;}wUiTmp['elementNavigationToggler']=element;jQuery(element).toggleClass('open');if(jQuery('#navlayer-background').length==0){jQuery('body').append('<div id="navlayer-background"/>');}if(jQuery('#navigationMenuPre').length!=0&&jQuery('#navigationMain > nav > div > #navigationMenuPre').length==0){jQuery('#navigationMain > nav > div').prepend(jQuery('#navigationMenuPre'));if(jQuery('#navigationMain > nav > div').attr('data-preventclickchildren')==='1'){jQuery('#navigationMenuPre').on('click', function(){event.stopPropagation()});}}if(jQuery('#navigationMenuPost').length!=0&&jQuery('#navigationMain > nav > div > #navigationMenuPost').length==0){jQuery('#navigationMain > nav > div').append(jQuery('#navigationMenuPost'));if(jQuery('#navigationMain > nav > div').attr('data-preventclickchildren')==='1'){jQuery('#navigationMenuPost').on('click', function(){event.stopPropagation()});}}if(!jQuery('html').hasClass('navmenu-open')){jQuery('html').addClass('navmenu-open');jQuery('#navigationMain').addClass('open');jQuery(element).attr('aria-expanded', 'true');}else{jQuery('html').removeClass('navmenu-open');jQuery('#navigationMain').removeClass('open');jQuery(element).attr('aria-expanded', 'false');jQuery('nav li.displaySub').removeClass('displaySub');}if(!wUiTmp['hasAddEventToRestoreNavigationToggler']){jQuery(window).on('resize', function(event){if(event.isTrigger&&jQuery('html').hasClass('navmenu-open')){var windowWidth=jQuery(window).width();try{if(windowWidth >=maxSizeNavigationmenu&&wDocument.element('#navigationMainToggler')&&window.getComputedStyle(wDocument.element('#navigationMainToggler')).getPropertyValue('display')=='none'){closeNavigationMenu();}}catch(e){}}});wUiTmp['hasAddEventToRestoreNavigationToggler']=true;}};navpointToggler_onclick=function(element){jQuery(element).toggleClass('open');var windowWidth=jQuery(window).width();var onToggle=jQuery(element).data('ontoggle')?jQuery(element).data('ontoggle'):'';var animation=jQuery(element).next('ul').attr('data-animation')?jQuery(element).next('ul').attr('data-animation'):'height';if(onToggle.indexOf('|')!=-1){var onToggles=onToggle.split('|');onToggle=onToggles[0];if(/(\w+)\(min(\d+)px\)/.test(onToggles[1])&&windowWidth >=parseInt(RegExp.$2)){onToggle=RegExp.$1;}}if(animation.indexOf('|')!=-1){var animations=animation.split('|');animation=animations[0];if(/(\w+)\(min(\d+)px\)/.test(animations[1])&&windowWidth >=parseInt(RegExp.$2)){animation=RegExp.$1;}}if(onToggle=='toggleClassNavpoint'){jQuery(element).parent().toggleClass('displaySub');}else if(onToggle=='toggleClassNavpointCloseSiblings'){jQuery(element).parent().siblings().children('.navpointToggler').removeClass('open');jQuery(element).parent().find('ul .navpointToggler').removeClass('open');jQuery(element).parent().siblings().removeClass('displaySub').addClass('hideSub');jQuery(element).parent().find('li').removeClass('displaySub').addClass('hideSub');jQuery(element).parent().toggleClass('displaySub');}else if(onToggle=='showOnlyCurrent'){jQuery(element).parent().siblings().children('.navpointToggler').removeClass('open');jQuery(element).parent().siblings().removeClass('displaySub').addClass('hideSub');window.setTimeout(function(){jQuery(element).parent().removeClass('hideSub');jQuery(element).parent().addClass('displaySub');}, 120);}else if(onToggle=='closeSiblings'){jQuery(element).parent().siblings().children('.navpointToggler').removeClass('open');jQuery(element).parent().siblings().removeClass('displaySub').addClass('hideSub');if(animation=='toggle'){jQuery(element).parent().siblings().children('ul').animate({animation:'hide'});}else if(animation=='toggleClass'){jQuery(element).parent().siblings().children('ul').animate({animation:'hide'});}else{jQuery(element).parent().siblings().children('ul').animate({height:'hide'});}window.setTimeout(function(){if(animation=='toggle'){jQuery(element).next('ul').toggle();}else if(animation=='toggleClass'){jQuery(element).next('ul').toggle();window.setTimeout(function(){jQuery(element).parent().toggleClass('displaySub');}, 32);}else{jQuery(element).next('ul').animate({height:'toggle'});}}, 120);}else if(onToggle=='none'){}else{jQuery(element).next('ul').animate({height:'toggle'});}};navpoint_onclick=function(element, level, event){var navPoint=jQuery(element).parent();adjustNavlayer(navPoint);var windowWidth=jQuery(window).width();var preventedClick=false;var doNotClose=jQuery(element).attr('data-donotclose')=='1';jQuery(element).attr('data-donotclose', 0);var ignoreHash=(typeof wNavigationIgnoreHash=='undefined'||!wNavigationIgnoreHash)?true:false;var isHash=!ignoreHash&&jQuery(element).attr('href')=='#';var hasHash=jQuery(element).attr('href').indexOf('#')!=-1;var ignoreNavLevel=(typeof wNavigationIgnoreNavLevel=='undefined'||!wNavigationIgnoreNavLevel)?false:true;if(typeof wAddSelectedOnClickNavpoint!='undefined'&&wAddSelectedOnClickNavpoint){navPoint.parent().find('.selected').removeClass('selected');navPoint.addClass('selected');}if(windowWidth >=maxSizeNavigationmenu||!ignoreHash){if(jQuery(element).parent('.open, .openSelected, .openDescendantSelected').find('> ul, > div').length > 0){if(jQuery(element).siblings('div.submenu').length > 0){jQuery(element).siblings('div.submenu').addClass('tmp');jQuery(element).parent().parent().find('> li > div.submenu.open:not(.tmp)').removeClass('open');jQuery(element).siblings('div.submenu').toggleClass('open').removeClass('tmp');}if(event.type=='touchstart'){window['wglTouchStartedNavlayers']=new Date().getTime();if(jQuery(element).attr('data-has-already-touched')!='1'){jQuery(element).attr('data-has-just-touched', '1');window.setTimeout(function(){jQuery(element).attr('data-has-just-touched', '0');}, 300);jQuery(element).parent().parent().find('> li > a').attr('data-has-already-touched', '');jQuery(element).attr('data-has-already-touched', '1');preventedClick=true;}}else{var navigationLayerOpenType=jQuery('html').data('navigationlayeropentype')?jQuery('html').data('navigationlayeropentype'):'mouseenter';if(navigationLayerOpenType=='click'&&(jQuery(element).parent().parent().data('navlevel')=='1'||ignoreNavLevel)&&(ignoreHash||isHash)){event.preventDefault();jQuery(element).parent().siblings().removeClass('clicked');jQuery(element).parent().toggleClass('clicked');if(jQuery(element).siblings('span.navpointToggler').length=='1'&&jQuery(element).siblings('span.navpointToggler').css('display')!='none'){navpointToggler_onclick(jQuery(element).siblings('spa.navpointToggler'));}if(jQuery('body').data('hasAddCloserNavigationOnClick')!='1'){jQuery('body').on('click', function(event){if(event.originalEvent&&event.target.parentNode.className.indexOf('clicked')==-1){jQuery('nav li.clicked').removeClass('clicked');}});}jQuery('body').data('hasAddCloserNavigationOnClick', '1');}else if(jQuery(element).attr('data-has-already-touched')=='1'){if(jQuery(element).attr('data-has-just-touched')=='1'){event.preventDefault();return false;}}return false;}}}if(!preventedClick&&jQuery('html').hasClass('navmenu-open')){if(event.type!='touchstart'){window.setTimeout(function(){if(!doNotClose){closeNavigationMenu();}}, 320);}}};navpoint_onmouseenter=function(element, level){var navPoint=jQuery(element);adjustNavlayer(navPoint);if(!jQuery('html').hasClass('navmenu-open')){var layersSub=navPoint.find('> ul');
98if(layersSub.length!=0&&level==1){jQuery('html').addClass('navlayer-open');}}};navpoint_onmouseleave=function(element, level, event){var navPoint=jQuery(element);var layersSub=navPoint.find('> ul');var id=(navPoint.find('a').attr('id')|| '').replace('navpoint_', '');if(level==1){jQuery('html').removeClass('navlayer-open');}closeMegaDropdown(id);if(typeof wNavpointOnMouseLeave=='function'){wNavpointOnMouseLeave(element, level);}};adaptSizeNavigation=function(){var windowWidth=jQuery(window).width();if(windowWidth >=maxSizeNavigationmenu){jQuery('nav').find('li > ul[data-wrapifnavigationfull="1"]').wrap('<div class="submenu"></div>');}else{jQuery('nav').find('div > ul[data-wrapifnavigationfull="1"]').unwrap();}};adjustNavlayer=function(navPoint){var windowWidth=jQuery(window).width();if(windowWidth >=maxSizeNavigationmenu){var offsetRightParent=null;navPoint.find('ul[data-addisrightcol="1"] > li').each(function(){offsetRightParent=offsetRightParent!=null?offsetRightParent:jQuery(this).parent().offset().left + jQuery(this).parent().width();if(offsetRightParent-(jQuery(this).offset().left + jQuery(this).width()) < 32){jQuery(this).attr('data-isrightcol', '1');}else{jQuery(this).removeAttr('data-isrightcol');}});if(navPoint.closest('ul[data-adaptlayer="1"]').length!=0){if(navPoint.find('> ul').length > 0){var limitNavigationArea=jQuery(window).width();if(navPoint.closest('.wglNavigationLayerLimitArea').length > 0){limitNavigationArea=navPoint.closest('.wglNavigationLayerLimitArea').offset().left + navPoint.closest('.wglNavigationLayerLimitArea').width();}var diffWidthLayer=limitNavigationArea-navPoint.find('ul').offset().left-navPoint.find('ul').outerWidth();var diffWidthLayerSub=navPoint.find('ul').outerWidth();if(navPoint.parent().data('navlevel')=='1'){widthMain=Math.round(navPoint[0].getBoundingClientRect().width * 2) / 2;widthSub=navPoint.find('ul').width();if(widthSub <=widthMain){navPoint.find('> ul').css({'width':String(widthMain) + 'px'});}if(diffWidthLayer < 0){navPoint.find('> ul').css({'margin-left':diffWidthLayer});navPoint.find('> ul').addClass('subleftside');}else if(diffWidthLayer < diffWidthLayerSub){navPoint.find('> ul').addClass('subleftside');}else{navPoint.find('> ul').addClass('subrightside');}}else{var hasSubLeftSide=navPoint.closest('ul').hasClass('subleftside') ;if(typeof(wTryToKeepDirectionOfNavlayers)!='undefined'&&wTryToKeepDirectionOfNavlayers&&hasSubLeftSide){var navPointCheckWidth=navPoint.find('> ul > li');if(navPointCheckWidth.length==0||navPointCheckWidth.width()==0){navPointCheckWidth=navPoint;}var leftAfterOpen=parseInt(navPoint.offset().left-navPointCheckWidth.width() * 2);if(leftAfterOpen > 32){navPoint.find('> ul').css({'margin-left':diffWidthLayer});navPoint.find('> ul').addClass('subleftside');}else{navPoint.find('> ul').addClass('subrightside');}}else{var leftAfterOpen=hasSubLeftSide?parseInt(navPoint.offset().left + navPoint.width() * 1-4):parseInt(navPoint.offset().left + navPoint.width() * 3-4);if(leftAfterOpen > parseInt(jQuery(window).width())){navPoint.find('> ul').css({'margin-left':diffWidthLayer});navPoint.find('> ul').addClass('subleftside');}else{navPoint.find('> ul').addClass('subrightside');}}var diffTop=navPoint.offset().top-jQuery(window).scrollTop();var diffBottom=jQuery(window).height() + jQuery(window).scrollTop()-navPoint.offset().top-navPoint.find('ul').height();if(diffBottom < 20){var diffMargin=(-diffBottom > diffTop?-diffTop + 20:diffBottom-20);navPoint.find('> ul').css({'margin-top':String(diffMargin) + 'px'});}}}}}};
99/*
100////////////////////////////////////////////////////////////////
101//
102// JavaScript Funktionen für Listen
103//
104// Weblication CMS BASE
105// erstellt durch Scholl Communications AG, 77694 Kehl, www.scholl.de
106// erstellt mit Weblication Content Management Server, www.weblication.de
107//
108////////////////////////////////////////////////////////////////
109*/
110
111wAllowMinimize=true;wLoadingStack={};appendEntriesToList=function(listId, options){if(wUiTmp['doNotAppendList']==true){return false;}if(typeof(wEditor)!='undefined'){return;}if(typeof(options)=='undefined'||!options['querystring']){options['querystring']=(location.search.substr(1)!=''?'&':'') + location.search.substr(1);}var url='/weblication/grid5/scripts/wList.php?action=createListAjaxOfData&listId=' + listId + '&project=' + options['project'] + '&data=' + options['ajaxId'] + options['querystring'];url=wSetParameter(url, 'pageId', options['pageId']);if(typeof(wLoadingStack[url])!='undefined'){return;}wLoadingStack[url]=null;var prefixId='#list_';if(typeof(wKeepIDsInEmbededPage)=='undefined'||!wKeepIDsInEmbededPage){if(listElement.length==0){prefixId=prefixId.replace('#', '#embed_');}}var listElement=jQuery(prefixId + listId);var hasQuickfilter=false;if(listElement.length){if(jQuery('html').hasClass('appendLoading')){}jQuery('html').addClass('appendLoading');listElement.addClass('appendLoading')
112.find('> ul').addClass('appendLoading');hasQuickfilter=listElement.find('> ul').data('quickfilter')=='1';lastAdaptedQuickfilterBy=listElement.find('> ul').data('lastadaptedquickfilterby');}jQuery.ajax({type:"GET", url:url, dataType:'html', success:function(resultHTML){if(listElement.length){jQuery('html').removeClass('appendLoading');listElement.removeClass('appendLoading').addClass('appendLoaded')
113.find('> ul').removeClass('appendLoading').addClass('appendLoaded');}var parsedHTML=jQuery(resultHTML);var listEntriesContainerO=listElement.find('> ul');
113if(listEntriesContainerO.length==0){listEntriesContainerO=listElement.find(".listEntries .listEntriesInner > div");}var elementTargetFocus=null;var listEntriesO=parsedHTML.find('> ul > li');if (listEntriesO.length===0) listEntriesO=parsedHTML.find('> li');if (listEntriesO.length===0) listEntriesO=parsedHTML.find('li');if (listEntriesO.length===0) listEntriesO=parsedHTML.find('.listEntries .listEntry');listEntriesO.each(function(index){var entryToAppend=jQuery(this);if(index===0) elementTargetFocus=entryToAppend;listEntriesContainerO.append(entryToAppend);entryToAppend.addClass('append appendInit appendInitDelay');window.setTimeout(function(){entryToAppend.removeClass('appendInit');}, 10);window.setTimeout(function(){entryToAppend.removeClass('appendInitDelay');}, 10 + 100 * index);});var newListLoaderMore=parsedHTML.filter(".listLoaderMore");if(listElement.find(".listLoaderMore").length > 0&&!listElement.attr('data-listLoaderMoreInit')){listElement.attr('data-listLoaderMoreInit', listElement.find(".listLoaderMore").get(0).outerHTML);}if(newListLoaderMore.length > 0){listElement.find(".listLoaderMore").replaceWith(newListLoaderMore);}else{listElement.find(".listLoaderMore").remove();}if(typeof(lastAdaptedQuickfilterBy)!='undefined'&&typeof(lastAdaptedQuickfilterBy.nodeName)!='undefined'){if(lastAdaptedQuickfilterBy.nodeName=='SPAN'){jQuery(lastAdaptedQuickfilterBy).removeClass("selected").trigger('click');}}wPrepareHTML(listElement);var delays=[100, 500, 1000];delays.forEach(function(delay) {window.setTimeout(function() {jQuery(window).trigger('resize');}, delay);});var pageIdExtension=typeof(options['pageIdExtension'])!=='undefined'?options['pageIdExtension']:listId;var regExpCurrentLoadId=new RegExp('&?moreId' + pageIdExtension + '=\\d+');var newLocationSearch=location.search.replace(regExpCurrentLoadId, '');newLocationSearch +=(newLocationSearch.indexOf('?')==-1?'?':'&') + 'moreId' + pageIdExtension + '=' + options['pageId'];newLocationSearch=newLocationSearch.replace('?&', '?');history.pushState({page:location.pathname + newLocationSearch + location.hash}, '', location.pathname + newLocationSearch + location.hash);jQuery(prefixId + listId).find('.wglAccordion').wAccordion();if(typeof(wAccessibility)!=='undefined'&&wAccessibility['accessEventHandler']!=null&&wAccessibility['accessEventHandler'].active){wAccessHandler.setFocusToCurElement(elementTargetFocus);}if(typeof(wOnAfterAppendEntriesToList)=='function'){wOnAfterAppendEntriesToList(listId, options);}}});};removeAppendEntriesFromList=function(listId){if(jQuery('#list_' + listId).length){var listElement=jQuery('#list_' + listId);jQuery('#list_' + listId + ' li.append').each(function(index){var entryToRemove=jQuery(this);entryToRemove.addClass('remove').addClass('removeInit');window.setTimeout(function(){entryToRemove.removeClass('removeInit');}, 10);window.setTimeout(function(){entryToRemove.remove();}, 10 + 100 * index);});window.setTimeout(function(){jQuery(window).trigger('resize');}, 100);listElement.append(listElement.attr('data-listLoaderMoreInit'));jQuery('#list_' + listId).find('.listLoaderMoreReset').remove();var regExpCurrentLoadId=new RegExp('&?moreId' + listId + '=\\d+');var newLocationSearch=location.search.replace(regExpCurrentLoadId, '');newLocationSearch=newLocationSearch.replace('?&', '?').replace(/\?$/, '');history.pushState({page:location.pathname + newLocationSearch + location.hash}, '', location.pathname + newLocationSearch + location.hash);}};filterCategory=function(category, categoryName){var regExpReplace=new RegExp(categoryName + '(\\[\\])?=\\w+');location.href=location.pathname + (location.search.replace(regExpReplace, '') + (location.search.indexOf('?')==-1?'?':'&') + categoryName + '[]=' + category).replace(/\&+/, '&').replace(/\?\&/, '?') + location.hash;};reloadListAjax=function(listId){listId=listId.replace('list_', '');var ajaxIdP=jQuery('*[data-listid=' + listId + ']').data('ajaxid');if(ajaxIdP&&ajaxIdP!=''){loadListAjax(listId, {ajaxId:ajaxIdP, project:wProjectPath});}};loadListAjax=function(listId, options){if(typeof(wEditor)!='undefined'){return;}if(typeof(options)=='undefined'||!options['querystring']){options['querystring']='&' + location.search.substr(1);}if(typeof options['pageId']=='undefined'){options['pageId']='1';}var url='/weblication/grid5/scripts/wList.php?action=createListAjaxOfData&listId=' + listId + '&project=' + options['project'] + '&data=' + options['ajaxId'] + (typeof options['pageId']!='undefined'?'&pageId=' + options['pageId']:'') + options['querystring'];var prefixId='#list_';if(typeof(wKeepIDsInEmbededPage)=='undefined'||!wKeepIDsInEmbededPage){if(jQuery(prefixId + listId).length==0){prefixId=prefixId.replace('#', '#embed_');}}var hasQuickfilter=false;if(jQuery(prefixId + listId).length){jQuery('html').addClass('adaptLoading');jQuery(prefixId + listId).addClass('adaptLoading');jQuery(prefixId + listId).find('> ul').addClass('adaptLoading');hasQuickfilter=jQuery(prefixId + listId).find('> ul').data('quickfilter')=='1';lastAdaptedQuickfilterBy=jQuery(prefixId + listId).find('> ul').data('lastadaptedquickfilterby');}jQuery.ajax({type:"GET", url:url, dataType:'html', success:function(resultHTML){if(jQuery(prefixId + listId).length){jQuery('html').removeClass('adaptLoading');jQuery(prefixId + listId).removeClass('adaptLoading').addClass('adaptLoaded');jQuery(prefixId + listId).find('> ul').removeClass('adaptLoading').addClass('adaptLoaded');}var parsedHTML=jQuery(resultHTML);parsedHTML=parsedHTML.filter(function() {return!(this.nodeType===Node.TEXT_NODE&&this.nodeValue==="\n")&&this.nodeType!==Node.COMMENT_NODE;});var listOuter=jQuery('#list_' + listId);var listElement=jQuery(prefixId + listId);if(parsedHTML.attr('data-listresulttype')=='jsonly'){if(typeof(lastAdaptedQuickfilterBy)!='undefined'&&typeof(lastAdaptedQuickfilterBy.nodeName)!='undefined'){if(lastAdaptedQuickfilterBy.nodeName=='SPAN'){jQuery(lastAdaptedQuickfilterBy).removeClass("selected")
114jQuery(lastAdaptedQuickfilterBy).trigger('click');}}if(typeof(wOnAfterLoadListAjax)=='function'){wOnAfterLoadListAjax(listId, options);}listElement.html(resultHTML);}else{var listEntriesContainerO=listElement.find('> ul');
114if(listEntriesContainerO.length==0){listEntriesContainerO=listElement.find(".listEntries .listEntriesInner > div");}var listEntriesO=parsedHTML.find("li");if(listEntriesO.length==0){listEntriesO=parsedHTML.find(".listEntries .listEntry");}listElement.find('*[data-removeonreloadlistbyajax="1"]').remove();if(listEntriesO.length==0){listEntriesO=parsedHTML;listEntriesContainerO.html('');listEntriesContainerO=listElement;}else{listEntriesContainerO.html('');}listEntriesContainerO.attr('data-numbervisible', parsedHTML.attr('data-numbervisible')?parsedHTML.attr('data-numbervisible'):0);listEntriesO.each(function(index){jQuery(this).attr('data-removeonreloadlistbyajax', '1');listEntriesContainerO.append(jQuery(this));wLoadingStack={};});if(listOuter.find(".pageNaviList").length > 0){var pageNaviListHTML='';parsedHTML.each(function(){if(jQuery(this).hasClass('pageNaviList')){pageNaviListHTML=jQuery(this).html();}});listOuter.find(".pageNaviList").each(function(){jQuery(this).get(0).innerHTML=pageNaviListHTML;});}var newListLoaderMore=parsedHTML.filter(".listLoaderMore");if(listElement.find(".listLoaderMore").length > 0&&!listElement.attr('data-listLoaderMoreInit')){listElement.attr('data-listLoaderMoreInit', listElement.find(".listLoaderMore").get(0).outerHTML);}if(newListLoaderMore.length > 0){if(listElement.find(".listLoaderMore").length > 0){listElement.find(".listLoaderMore").replaceWith(newListLoaderMore);}else{listElement.append(newListLoaderMore);}}else{listElement.find(".listLoaderMore").remove();}if(typeof(lastAdaptedQuickfilterBy)!='undefined'&&typeof(lastAdaptedQuickfilterBy.nodeName)!='undefined'){if(lastAdaptedQuickfilterBy.nodeName=='SPAN'){jQuery(lastAdaptedQuickfilterBy).removeClass("selected")
115jQuery(lastAdaptedQuickfilterBy).trigger('click');}}if(typeof(wOnAfterLoadListAjax)=='function'){options['parsedHTML']=parsedHTML;wOnAfterLoadListAjax(listId, options);}jQuery(prefixId + listId).find('.wglAccordion').wAccordion();}wPrepareHTML(jQuery(prefixId + listId));window.setTimeout(function(){jQuery(window).trigger('resize');}, 100);window.setTimeout(function(){jQuery(window).trigger('resize');}, 500);window.setTimeout(function(){jQuery(window).trigger('resize');}, 1000);}});};
116
117wWaVersion     = '1.0.11';
118wAllowMinimize = false;
119
120if(location.pathname.indexOf('/weblication/documents') === -1 && typeof(wUiTmp['wGlobalProjectPath']) != 'undefined' && typeof wEditor === 'undefined' && typeof navigator.sendBeacon === 'function'){  
121  
122  wUiTmp['wHasWa'] = true;
123  wUiTmp['wHasSb'] = false;
124  wUiTmp['wTl']    = performance.now();    
125  
126  if(document.cookie.indexOf('wDisableWaNextRequest=1') != -1){
127    document.cookie = 'wDisableWaNextRequest=;path=/;sameSite=Lax';  
128    wUiTmp['wHasSb'] = true;
129  }
130  
131  if(location.search.indexOf('wContentToDisplay=draft') !== -1){
132    wUiTmp['wHasSb'] = true;
133  }
134  
135  if(location.search.indexOf('createImageRaster=1') !== -1){
136  }  
137  else if(typeof wUserType === 'undefined' || wUserType == 'public'){
138    if(typeof(PerformanceObserver) === 'function'){
139      try{
140        function pOberserCallback(list, observer){
141          var oEntries = list.getEntries();
142          for(var i = 0; i < oEntries.length; i++){
143            wUiTmp['wLCP'] = oEntries[i].startTime;
144          }    
145        }
146        var pObserver = new PerformanceObserver(pOberserCallback);
147        pObserver.observe({type:'largest-contentful-paint', buffered: true});  
148      }
149      catch(e){}
150    }
151
152    var sb = function(et){
153      var url = wUiTmp['wGlobalProjectPath'] + '/wGlobal/scripts/php/wa.php';
154      var fd = new FormData();
155      fd.append('sr', String(window.screen.availWidth) + 'x' + String(window.screen.availHeight)); 
156      fd.append('cs',  /waDarkMode=1/.test(document.cookie) || window.matchMedia && window.matchMedia('(prefers-color-scheme:dark)').matches ? 'd' : 'l');
157      fd.append('cm',  /waContrast=l/.test(document.cookie) || window.matchMedia && window.matchMedia('(prefers-contrast:more)').matches ? 'm' : '');
158      fd.append('el',  /waEasyLanguageMode=1/.test(document.cookie) ? '1' : '');      
159      fd.append('ln', navigator.language);  
160      fd.append('dnt', typeof navigator.doNotTrack !== 'undefined' ? navigator.doNotTrack : '');  
161      fd.append('et', et);
162
163      if(typeof performance.getEntriesByType("navigation")[0] !== 'undefined'){
164        var na = performance.getEntriesByType("navigation")[0];
165        fd.append('ps', String(parseInt(na.responseEnd - na.connectStart)));
166        fd.append('pl', String(parseInt(na.loadEventEnd - na.connectStart)));
167      }
168      else if(typeof performance.timing === 'object'){
169        var pt = performance.timing;
170        fd.append('ps', String(parseInt(pt.responseEnd - pt.connectStart)));
171        fd.append('pl', String(parseInt(pt.loadEventEnd - pt.connectStart)));
172      }
173      if(typeof(wUiTmp['wLCP']) != 'undefined'){
174        fd.append('lcp', String(parseInt(wUiTmp['wLCP'])));
175      }
176      if(typeof(navigator.connection) != 'undefined' && typeof(navigator.connection.effectiveType) == 'string'){
177        fd.append('nc', navigator.connection.effectiveType);
178      }
179      if(/ project-([\w\-]+) /.test(document.documentElement.className)){
180        fd.append('rc', RegExp.$1);
181      }
182      if(document.referrer && document.referrer != ''){
183        fd.append('r', document.referrer);
184      }
185      navigator.sendBeacon(url, fd);
186    };
187
188    var sbi = function(u, e, c){
189      var url = wUiTmp['wGlobalProjectPath'] + '/wGlobal/scripts/php/wa.php';
190      var fd = new FormData();
191      fd.append('u', u);
192      if(typeof e !== 'undefined' && e != ''){
193        fd.append('e', e);    
194      }
195      if(typeof c !== 'undefined' && c != ''){
196        fd.append('c', c);    
197      }    
198      navigator.sendBeacon(url, fd);
199    };
200
201    window.addEventListener('load', function(){  
202      window.setTimeout(function(){
203        if(!wUiTmp['wHasSb']){sb('ld')}
204        wUiTmp['wHasSb'] = true;           
205        var u = location.pathname, w = document.querySelectorAll('*[data-wa-event]');
206        for(var i = 0; i < w.length; i++){
207          w[i].addEventListener(w[i].getAttribute('data-wa-event') ? w[i].getAttribute('data-wa-event') : 'click', function(event){
208            if(event.isTrusted){            
209              var el = event.currentTarget, n = el.getAttribute('data-wa-label'), c = el.getAttribute('data-wa-category');            
210              if(c == 'requestLayer'){
211                if(n == 'Megadropdown'){
212                  u = el.getAttribute('data-previewlink');
213                }
214                else{
215                  u = el.getAttribute('href');
216                }              
217              }
218              if(el.getAttribute('data-wa-expired') !== '1'){
219                if(!n){
220                  n = el.getAttribute('data-title') ? el.getAttribute('data-title') : el.getAttribute('title');
221                }
222                if(!n){
223                  n = el.innerText.replace(/\n.*/s, '').substr(0, 128);      
224                }
225                if(n != ''){
226                  sbi(u, n, c);
227                }
228              }
229              if(el.getAttribute('data-wa-multiple') !== '1'){
230                el.setAttribute('data-wa-expired', '1');
231              }
232            }  
233          });
234        } 
235      }, 320);
236    });
237    
238    if(typeof wLogPageHide !== 'undefined' && wLogPageHide){
239      window.addEventListener('pagehide', function(){  
240        let url = wUiTmp['wGlobalProjectPath'] + '/wGlobal/scripts/php/wa.php';
241        let fd = new FormData();
242        fd.append('e', 'pagehide'); 
243        fd.append('ht', Math.round((performance.now() - wUiTmp['wTl']) / 100) / 10);
244        let vs = '';
245        jQuery('video').each(function(){
246          if(jQuery(this).attr('data-duration') && jQuery(this).attr('data-maxplayed') && parseFloat(jQuery(this).attr('data-maxplayed')) > 0.1){
247            vs += (vs !== '' ? ';' : '') + 'src=' + jQuery(this).attr('src').replace(/^https?\:\/\/[^\/]+/, '') + ',d=' + jQuery(this).attr('data-duration') + ',m=' + jQuery(this).attr('data-maxplayed');
248          }
249        });
250        if(vs !== ''){
251          fd.append('vs', vs); 
252        }
253        if(jQuery('#blockBody').length !== 0 && jQuery('#blockHeader').length !== 0){
254          let blockBodyBottom = jQuery('#blockHeader').height() + jQuery('#blockBody').height();
255          let sb = 'vm=' + (typeof(wUiTmp['viewContentMax']) !== 'undefined' ? wUiTmp['viewContentMax'] : '0') + ',sm=' + (typeof(wUiTmp['scrollMax']) !== 'undefined' ? wUiTmp['scrollMax'] : '0') + ',mh=' + Math.round(jQuery('#blockHeader').height() + jQuery('#blockBody').height());
256          fd.append('sb', sb);
257        }
258        navigator.sendBeacon(url, fd);
259      });
260    }    
261
262    document.addEventListener('visibilitychange', function(){
263      if(!wUiTmp['wHasSb']){sb('vc')}
264      wUiTmp['wHasSb'] = true;
265    });
266  }  
267}
268
269jQuery.fn.wAnalyzeEvents = function(parameters){  
270  jQuery.each(jQuery(this), function(){  
271    var label = typeof parameters['label'] === 'function' ? parameters['label'].call(jQuery(this).get(0)) : parameters['label']; 
272    jQuery(this).attr('data-wa-event', parameters['event']);    
273    jQuery(this).attr('data-wa-label', label);   
274    jQuery(this).attr('data-wa-category', parameters['category']);   
275  });
276};

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.