vendor: 6,525 bytes, lines 1-2
1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2!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(e,t){"use strict";var n=[],r=Object.getPrototypeOf,i=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f=c.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},v=e.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||v).createElement("script");if(o.text=e,t)for(r in y)(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?u[l.call(e)]||"object":typeof e}var b="3.7.1",w=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!h(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:b,constructor:T,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.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:a,sort:n.sort,splice:n.splice},T.extend=T.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||h(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&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||T.isPlainObject(n)?n:{},i=!1,a[t]=T.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(b+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]"!==l.call(e)||(t=r(e))&&("function"!=typeof(n=c.call(t,"constructor")&&t.constructor)||f.call(n)!==p))},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&&!1!==t.call(e[r],r,e[r]);r++);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)for(;t=e[r++];)n+=T.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))?T.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!w.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,a=0,s=[];if(C(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return o(s)},guid:1,support:d}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=n[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var E=n.pop,k=n.sort,j=n.splice,A="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g");T.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 N=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function q(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(N,q)};var L=v,H=a;!function(){var t,r,o,a,u,l,f,p,h,g,v=H,y=T.expando,m=0,x=0,b=ee(),w=ee(),C=ee(),N=ee(),q=function(e,t){return e===t&&(u=!0),0},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+A+"*("+P+")(?:"+A+"*([*^$|!~]?=)"+A+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+A+"*\\]",R=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",I=new RegExp(A+"+","g"),W=new RegExp("^"+A+"*,"+A+"*"),F=new RegExp("^"+A+"*([>+~]|"+A+")"+A+"*"),$=new RegExp(A+"|>"),B=new RegExp(R),_=new RegExp("^"+P+"$"),z={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+A+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+A+"*((?:-\\d)?\\d*)"+A+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\([^\\r\\n\\f])","g"),Q=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))},J=function(){ue()},K=pe((function(e){return!0===e.disabled&&S(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{v.apply(n=i.call(L.childNodes),L.childNodes),n[L.childNodes.length].nodeType}
vendor: 8,798 bytes, line 2
2catch(t){v={apply:function(e,t){H.apply(e,i.call(t))},call:function(e){H.apply(e,i.call(arguments,1))}}}function Z(e,t,n,r){var i,o,a,s,u,c,f,g=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&(ue(t),t=t||l,p)){if(11!==m&&(u=V.exec(e)))if(i=u[1]){if(9===m){if(!(a=t.getElementById(i)))return n;if(a.id===i)return v.call(n,a),n}else if(g&&(a=g.getElementById(i))&&Z.contains(t,a)&&a.id===i)return v.call(n,a),n}else{if(u[2])return v.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&t.getElementsByClassName)return v.apply(n,t.getElementsByClassName(i)),n}if(!(N[e+" "]||h&&h.test(e))){if(f=e,g=t,1===m&&($.test(e)||F.test(e))){for((g=G.test(e)&&se(t.parentNode)||t)==t&&d.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=y)),o=(c=ce(e)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+fe(c[o]);f=c.join(",")}try{return v.apply(n,g.querySelectorAll(f)),n}catch(t){N(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return me(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return S(t,"input")&&t.type===e}}function ie(e){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var t,n=e?e.ownerDocument||e:L;return n!=l&&9===n.nodeType&&n.documentElement&&(f=(l=n).documentElement,p=!T.isXMLDoc(l),g=f.matches||f.webkitMatchesSelector||f.msMatchesSelector,f.msMatchesSelector&&L!=l&&(t=l.defaultView)&&t.top!==t&&t.addEventListener("unload",J),d.getById=ne((function(e){return f.appendChild(e).id=T.expando,!l.getElementsByName||!l.getElementsByName(T.expando).length})),d.disconnectedMatch=ne((function(e){return g.call(e,"*")})),d.scope=ne((function(){return l.querySelectorAll(":scope")})),d.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),d.getById?(r.filter.ID=function(e){var t=e.replace(Y,Q);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Y,Q);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},r.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;f.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+A+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+y+"-]").length||h.push("~="),e.querySelectorAll("a#"+y+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+A+"*name"+A+"*="+A+"*(?:''|\"\")")})),d.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),q=function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==L&&Z.contains(L,e)?-1:t===l||t.ownerDocument==L&&Z.contains(L,t)?1:a?s.call(a,e)-s.call(a,t):0:4&n?-1:1)}),l}for(t in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ue(e),p&&!N[t+" "]&&(!h||!h.test(t)))try{var n=g.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<Z(t,l,null,[e]).length},Z.contains=function(e,t){return(e.ownerDocument||e)!=l&&ue(e),T.contains(e,t)},Z.attr=function(e,t){(e.ownerDocument||e)!=l&&ue(e);var n=r.attrHandle[t.toLowerCase()],i=n&&c.call(r.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==i?i:e.getAttribute(t)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],r=0,o=0;if(u=!d.sortStable,a=!d.sortStable&&i.call(e,0),k.call(e,q),u){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)j.call(e,n[r],1)}return a=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(i.apply(this)))},(r=T.expr={cacheLength:50,createPseudo:te,match:z,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(Y,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,Q),"~="===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]||Z.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]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ce(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(Y,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return S(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+A+")"+e+"("+A+"|$)"))&&b(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=Z.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&-1<i.indexOf(n):"$="===t?n&&i.slice(-n.length)===n:"~="===t?-1<(" "+i.replace(I," ")+" ").indexOf(n):"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),x=!u&&!s,b=!1;if(g){if(o){for(;h;){for(f=t;f=f[h];)if(s?S(f,v):1===f.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&x){for(b=(p=(l=(c=g[y]||(g[y]={}))[e]||[])[0]===m&&l[1])&&l[2],f=p&&g.childNodes[p];f=++p&&f&&f[h]||(b=p=0)||d.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[m,p,b];break}}else if(x&&(b=p=(l=(c=t[y]||(t[y]={}))[e]||[])[0]===m&&l[1]),!1===b)for(;(f=++p&&f&&f[h]||(b=p=0)||d.pop())&&((s?!S(f,v):1!==f.nodeType)||!++b||(x&&((c=f[y]||(f[y]={}))[e]=[m,b]),f!==t)););return(b-=i)===r||b%r==0&&0<=b/r}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return i[y]?i(t):1<i.length?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=s.call(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(D,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return 0<Z(e,t).length}})),contains:te((function(e){return e=e.replace(Y,Q),function(t){return-1<(t.textContent||T.text(t)).indexOf(e)}})),lang:te((function(e){return _.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(Y,Q).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}
vendor: 7,400 bytes, line 2
2)),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return S(e,"input")&&!!e.checked||S(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!r.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){return S(e,"input")&&"button"===e.type||S(e,"button")},text:function(e){var t;return S(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=re(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ie(t);function le(){}function ce(e,t){var n,i,o,a,s,u,l,c=w[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=W.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=F.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(D," ")}),s=s.slice(n.length)),r.filter)!(i=z[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?Z.error(e):w(e,u).slice(0)}function fe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f=[m,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=t[y]||(t[y]={}),i&&S(t,i))t=t[r]||t;else{if((l=c[o])&&l[0]===m&&l[1]===s)return f[2]=l[2];if((c[o]=f)[2]=e(t,n,u))return!0}return!1}}function de(e){return 1<e.length?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(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 ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,u,l){var c,f,p,d,h=[],g=[],y=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)Z(e,t[r],n);return n}(t||"*",u.nodeType?[u]:u,[]),x=!e||!o&&t?m:he(m,h,e,u,l);if(n?n(x,d=i||(o?e:y||r)?[]:a,u,l):d=x,r)for(c=he(d,g),r(c,[],u,l),f=c.length;f--;)(p=c[f])&&(d[g[f]]=!(x[g[f]]=p));if(o){if(i||e){if(i){for(c=[],f=d.length;f--;)(p=d[f])&&c.push(x[f]=p);i(null,d=[],c,l)}for(f=d.length;f--;)(p=d[f])&&-1<(c=i?s.call(o,p):h[f])&&(o[c]=!(a[c]=p))}}else d=he(d===a?d.splice(y,d.length):d),i?i(null,a,d,l):v.apply(a,d)}))}function ve(e){for(var t,n,i,a=e.length,u=r.relative[e[0].type],l=u||r.relative[" "],c=u?1:0,f=pe((function(e){return e===t}),l,!0),p=pe((function(e){return-1<s.call(t,e)}),l,!0),d=[function(e,n,r){var i=!u&&(r||n!=o)||((t=n).nodeType?f(e,n,r):p(e,n,r));return t=null,i}];c<a;c++)if(n=r.relative[e[c].type])d=[pe(de(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[y]){for(i=++c;i<a&&!r.relative[e[i].type];i++);return ge(1<c&&de(d),1<c&&fe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),n,c<i&&ve(e.slice(c,i)),i<a&&ve(e=e.slice(i)),i<a&&fe(e))}d.push(n)}return de(d)}function ye(e,t){var n,i,a,s,u,c,f=[],d=[],h=C[e+" "];if(!h){for(t||(t=ce(e)),n=t.length;n--;)(h=ve(t[n]))[y]?f.push(h):d.push(h);(h=C(e,(i=d,s=0<(a=f).length,u=0<i.length,c=function(e,t,n,c,f){var d,h,g,y=0,x="0",b=e&&[],w=[],C=o,S=e||u&&r.find.TAG("*",f),k=m+=null==C?1:Math.random()||.1,j=S.length;for(f&&(o=t==l||t||f);x!==j&&null!=(d=S[x]);x++){if(u&&d){for(h=0,t||d.ownerDocument==l||(ue(d),n=!p);g=i[h++];)if(g(d,t||l,n)){v.call(c,d);break}f&&(m=k)}s&&((d=!g&&d)&&y--,e&&b.push(d))}if(y+=x,s&&x!==y){for(h=0;g=a[h++];)g(b,w,t,n);if(e){if(0<y)for(;x--;)b[x]||w[x]||(w[x]=E.call(c));w=he(w)}v.apply(c,w),f&&!e&&0<w.length&&1<y+a.length&&T.uniqueSort(c)}return f&&(m=k,o=C),b},s?te(c):c))).selector=e}return h}function me(e,t,n,i){var o,a,s,u,l,c="function"==typeof e&&e,f=!i&&ce(e=c.selector||e);if(n=n||[],1===f.length){if(2<(a=f[0]=f[0].slice(0)).length&&"ID"===(s=a[0]).type&&9===t.nodeType&&p&&r.relative[a[1].type]){if(!(t=(r.find.ID(s.matches[0].replace(Y,Q),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=z.needsContext.test(e)?0:a.length;o--&&(s=a[o],!r.relative[u=s.type]);)if((l=r.find[u])&&(i=l(s.matches[0].replace(Y,Q),G.test(a[0].type)&&se(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&fe(a)))return v.apply(n,i),n;break}}return(c||ye(e,f))(i,t,!p,n,!t||G.test(e)&&se(t.parentNode)||t),n}le.prototype=r.filters=r.pseudos,r.setFilters=new le,d.sortStable=y.split("").sort(q).join("")===y,ue(),d.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),T.find=Z,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,Z.compile=ye,Z.select=me,Z.setDocument=ue,Z.tokenize=ce,Z.escape=T.escapeSelector,Z.getText=T.text,Z.isXML=T.isXMLDoc,Z.selectors=T.expr,Z.support=T.support,Z.uniqueSort=T.uniqueSort}();var O=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},P=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},M=T.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return h(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return-1<s.call(t,e)!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return 1<r?T.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&M.test(e)?T(e):e||[],!1).length}});var W,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||W,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:F.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 T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),R.test(r[1])&&T.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}
vendor: 4,188 bytes, line 2
2return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,W=T(v);var $=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function _(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&T(e);if(!M.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&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(T(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return _(e,"nextSibling")},prev:function(e){return _(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return P((e.parentNode||{}).firstChild,e)},children:function(e){return P(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),1<this.length&&(B[e]||T.uniqueSort(i),$.test(e)&&i.reverse()),this.pushStack(i)}}));var z=/[^\x20\t\r\n\f]+/g;function X(e){return e}function U(e){throw e}function V(e,t,n,r){var i;try{e&&h(i=e.promise)?i.call(e).done(t).fail(n):e&&h(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},T.each(t.match(z)||[],(function(e,t){n[t]=!0})),n):T.extend({},e);var r,i,o,a,s=[],u=[],l=-1,c=function(){for(a=a||e.once,o=r=!0;u.length;l=-1)for(i=u.shift();++l<s.length;)!1===s[l].apply(i[0],i[1])&&e.stopOnFalse&&(l=s.length,i=!1);e.memory||(i=!1),r=!1,a&&(s=i?[]:"")},f={add:function(){return s&&(i&&!r&&(l=s.length-1,u.push(i)),function t(n){T.each(n,(function(n,r){h(r)?e.unique&&f.has(r)||s.push(r):r&&r.length&&"string"!==x(r)&&t(r)}))}(arguments),i&&!r&&c()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;-1<(n=T.inArray(t,s,n));)s.splice(n,1),n<=l&&l--})),this},has:function(e){return e?-1<T.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=i="",this},disabled:function(){return!s},lock:function(){return a=u=[],i||r||(s=i=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),r||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},T.extend({Deferred:function(t){var n=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(t){T.each(n,(function(n,r){var i=h(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;
vendor: 7,314 bytes, line 2
2if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(l)?i?l.call(e,a(o,n,X,i),a(o,n,U,i)):(o++,l.call(e,a(o,n,X,i),a(o,n,U,i),a(o,n,X,n.notifyWith))):(r!==X&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(e,c.error),o<=t+1&&(r!==U&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(T.Deferred.getErrorHook?c.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(c.error=T.Deferred.getStackHook()),e.setTimeout(c))}}return T.Deferred((function(e){n[0][3].add(a(0,e,h(i)?i:X,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:X)),n[2][3].add(a(0,e,h(r)?r:U))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(n,(function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add((function(){r=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),a=T.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=1<arguments.length?i.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(V(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(o[n]&&o[n].then)))return a.then();for(;n--;)V(o[n],s(n),a.reject);return a.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&G.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},T.readyException=function(t){e.setTimeout((function(){throw t}))};var Y=T.Deferred();function Q(){v.removeEventListener("DOMContentLoaded",Q),e.removeEventListener("load",Q),T.ready()}T.fn.ready=function(e){return Y.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||Y.resolveWith(v,[T])}}),T.ready.then=Y.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(T.ready):(v.addEventListener("DOMContentLoaded",Q),e.addEventListener("load",Q));var J=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)J(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,h(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(T(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},K=/^-ms-/,Z=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(K,"ms-").replace(Z,ee)}var ne=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function re(){this.expando=T.expando+re.uid++}re.uid=1,re.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ne(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[te(t)]=n;else for(r in t)i[te(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(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(te):(t=te(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.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&&!T.isEmptyObject(t)}};var ie=new re,oe=new re,ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,se=/[A-Z]/g;function ue(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(se,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:ae.test(i)?JSON.parse(i):i)}catch(e){}oe.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return oe.hasData(e)||ie.hasData(e)},data:function(e,t,n){return oe.access(e,t,n)},removeData:function(e,t){oe.remove(e,t)},_data:function(e,t,n){return ie.access(e,t,n)},_removeData:function(e,t){ie.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=oe.get(o),1===o.nodeType&&!ie.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=te(r.slice(5)),ue(o,r,i[r]));ie.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){oe.set(this,e)})):J(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=oe.get(o,e))?n:void 0!==(n=ue(o,e))?n:void 0;this.each((function(){oe.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){oe.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ie.get(e,t),n&&(!r||Array.isArray(n)?r=ie.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){T.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ie.get(e,n)||ie.access(e,n,{empty:T.Callbacks("once memory").add((function(){ie.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=ie.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ce=new RegExp("^(?:([+-])=|)("+le+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],pe=v.documentElement,de=function(e){return T.contains(e.ownerDocument,e)},he={composed:!0};pe.getRootNode&&(de=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(he)===e.ownerDocument});var ge=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&de(e)&&"none"===T.css(e,"display")};function ve(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},u=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+u)&&ce.exec(T.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)T.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,T.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 ye={};function me(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]=ie.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ge(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ye[s])||
vendor: 6,129 bytes, line 2
2(o=a.body.appendChild(a.createElement(s)),u=T.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ye[s]=u)))):"none"!==n&&(l[c]="none",ie.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}T.fn.extend({show:function(){return me(this,!0)},hide:function(){return me(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ge(this)?T(this).show():T(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=v.createDocumentFragment().appendChild(v.createElement("div")),(be=v.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),d.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",d.option=!!xe.lastChild;var Se={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 Ee(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?T.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)ie.set(e[n],"globalEval",!t||ie.get(t[n],"globalEval"))}Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,d.option||(Se.optgroup=Se.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))T.merge(p,o.nodeType?[o]:o);else if(je.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=Se[s]||Se._default,a.innerHTML=u[1]+T.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&-1<T.inArray(o,r))i&&i.push(o);else if(l=de(o),a=Ee(f.appendChild(o),"script"),l&&ke(a),n)for(c=0;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 T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,r,n)}))}function He(e,t,n){n?(ie.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,r=ie.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=i.call(arguments),ie.set(this,t,r),this[t](),n=ie.get(this,t),ie.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(ie.set(this,t,T.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===ie.get(e,t)&&T.event.add(e,t,Ne)}T.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=ie.get(e);if(ne(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(pe,i),n.guid||(n.guid=T.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(z)||[""]).length;l--;)d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=T.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=T.event.special[d]||{},c=T.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=ie.hasData(e)&&ie.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(z)||[""]).length;l--;)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=T.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;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)||T.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)T.event.remove(e,d+t[l],n,r,!0);T.isEmptyObject(u)&&ie.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=T.event.fix(e),l=(ie.get(this,"events")||Object.create(null))[u.type]||[],c=T.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)){for(a=T.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(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=((T.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<T(i,this).index(l):T.f
vendor: 3,585 bytes, line 2
2ind(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(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&S(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&S(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&S(t,"input")&&ie.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.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&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.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()}},T.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},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(v.documentMode){var n=ie.get(this,"handle"),r=T.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var r;if(He(this,e,!0),!v.documentMode)return!1;(r=ie.get(this,t))||this.addEventListener(t,n),ie.set(this,t,(r||0)+1)},trigger:function(){return He(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=ie.get(this,t)-1)?ie.set(this,t,e):(this.removeEventListener(t,n),ie.remove(this,t))},_default:function(t){return ie.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=ie.get(i,t);o||(v.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),ie.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=ie.get(i,t)-1;o?ie.set(i,t,o):(v.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),ie.remove(i,t))}}}
vendor: 5,962 bytes, line 2
2)),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.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,T(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(){T.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 S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&T(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(ie.hasData(e)&&(s=ie.get(e).events))for(i in ie.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)T.event.add(t,i,s[i][n]);oe.hasData(e)&&(o=oe.access(e),a=T.extend({},o),oe.set(t,a))}}function $e(e,t,n,r){t=o(t);var i,a,s,u,l,c,f=0,p=e.length,g=p-1,v=t[0],y=h(v);if(y||1<p&&"string"==typeof v&&!d.checkClone&&Pe.test(v))return e.each((function(i){var o=e.eq(i);y&&(t[0]=v.call(this,i,o.html())),$e(o,t,n,r)}));if(p&&(a=(i=Ae(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(u=(s=T.map(Ee(i,"script"),Ie)).length;f<p;f++)l=i,f!==g&&(l=T.clone(l,!0,!0),u&&T.merge(s,Ee(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,T.map(s,We),f=0;f<u;f++)l=s[f],Ce.test(l.type||"")&&!ie.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):m(l.textContent.replace(Me,""),l,c))}return e}function Be(e,t,n){for(var r,i=t?T.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(Ee(r)),r.parentNode&&(n&&de(r)&&ke(Ee(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=de(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=Ee(c),r=0,i=(o=Ee(e)).length;r<i;r++)s=o[r],"input"===(l=(u=a[r]).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||Ee(e),a=a||Ee(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Ee(c,"script")).length&&ke(a,!f&&Ee(e,"script")),c},cleanData:function(e){for(var t,n,r,i=T.event.special,o=0;void 0!==(n=e[o]);o++)if(ne(n)){if(t=n[ie.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[ie.expando]=void 0}n[oe.expando]&&(n[oe.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return J(this,(function(e){return void 0===e?T.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&&(T.cleanData(Ee(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return J(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)&&!Se[(Te.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(Ee(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return $e(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Ee(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],i=T(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),T(i[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}}));var _e=new RegExp("^("+le+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},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(fe.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(D,"$1")||void 0),""!==a||de(e)||(a=T.style(e,t)),!d.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 t(){if(c){l.style.cssText="position:absolute;
2left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",pe.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),pe.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(d,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=v.createElement("table"),n=v.createElement("tr"),r=v.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",pe.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,pe.removeChild(t)),s}}))}();var Qe=["Webkit","Moz","ms"],Je=v.createElement("div").style,Ke={};function Ze(e){return T.cssProps[e]||Ke[e]||(e in Je?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;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=ce.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+=T.css(e,n+fe[a],!0,i)),r?("content"===n&&(u-=T.css(e,"padding"+fe[a],!0,i)),"margin"!==n&&(u-=T.css(e,"border"+fe[a]+"Width",!0,i))):(u+=T.css(e,"padding"+fe[a],!0,i),"padding"!==n?u+=T.css(e,"border"+fe[a]+"Width",!0,i):s+=T.css(e,"border"+fe[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=(!d.boxSizingReliable()||n)&&"border-box"===T.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(!d.boxSizingReliable()&&i||!d.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.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)}T.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=te(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=T.cssHooks[t]||T.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=ce.exec(n))&&i[1]&&(n=ve(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),d.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=te(t);return ze.test(t)||(t=Ze(s)),(a=T.cssHooks[t]||T.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}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!et.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,r):Ue(e,tt,(function(){return ot(e,t,r)}))},set:function(e,n,r){var i,o=Xe(e),a=!d.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,o),u=r?it(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-it(e,t,"border",!1,o)-.5)),u&&(i=ce.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),rt(0,n,u)}}})),T.cssHooks.marginLeft=Ye(d.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+fe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=rt)})),T.fn.extend({css:function(e,t){return J(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]]=T.css(e,t[a],!1,r);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,1<arguments.length)}}),((T.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.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=T.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=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:T.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)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=at.prototype.init,T.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(dt):e.setTimeout(dt,T.fx.interval),T.fx.tick())}function ht(){return e.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=fe[r])]=i["padding"+n]=e;
vendor: 4,907 bytes, line 2
2return 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(e,t,n){var r,i,o=0,a=yt.prefilters.length,s=T.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=st||ht(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:st||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=te(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=T.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);o<a;o++)if(r=yt.prefilters[o].call(l,e,c,l.opts))return h(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,vt,l),h(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,ce.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(z);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&&ge(e),v=ie.get(e,"fxshow");for(r in n.queue||(null==(a=T._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--,T.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]||T.style(e,r)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=ie.get(e,"display")),"none"===(c=T.css(e,"display"))&&(l?c=l:(me([e],!0),l=e.style.display||l,c=T.css(e,"display"),me([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.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=ie.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&me([e],!0),p.done((function(){for(r in g||me([e]),ie.remove(e,"fxshow"),d)T.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)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),o=T.speed(t,n,r),a=function(){var t=yt(this,T.extend({},e),o);(i||ie.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,a=ie.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&pt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ie.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
vendor: 8,037 bytes, line 2
2);for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,i)}})),T.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),st=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ut||(ut=!0,dt())},T.fx.stop=function(){ut=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,n){return t=T.fx&&T.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}}))},lt=v.createElement("input"),ct=v.createElement("select").appendChild(v.createElement("option")),lt.type="checkbox",d.checkOn=""!==lt.value,d.optSelected=ct.selected,(lt=v.createElement("input")).value="t",lt.type="radio",d.radioValue="t"===lt.value;var mt,xt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return J(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void T.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=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&S(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(z);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=xt[t]||T.find.attr;xt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=xt[a],xt[a]=i,i=null!=n(e,t,r)?a:null,xt[a]=o),i}}));var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(z)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}T.fn.extend({prop:function(e,t){return J(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.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=T.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"}}),d.optSelected||(T.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)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,i,o,a;return h(e)?this.each((function(t){T(this).addClass(e.call(this,t,Ct(this)))})):(t=St(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return h(e)?this.each((function(t){T(this).removeClass(e.call(this,t,Ct(this)))})):arguments.length?(t=St(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];-1<n.indexOf(" "+i+" ");)n=n.replace(" "+i+" "," ");a=Tt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return h(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each((function(){if(s)for(o=T(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Ct(this))&&ie.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":ie.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var Et=/\r/g;T.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=h(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Et,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.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||!S(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=T.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<T.inArray(T.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},d.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var kt=e.location,jt={guid:Date.now()},At=/\?/;T.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||T.error("Invalid XML: "+(r?T.map(r.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(t,n,r,i){var o,a,s,u,l,f,p,d,y=[r||v],m=c.call(t,"type")?t.type:t,x=c.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!Dt.test(m+T.event.triggered)&&(-1<m.indexOf(".")&&(m=(x=m.split(".")).shift(),x.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[T.expando]?t:new T.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:T.makeArray(n,[t]),p=T.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!g(r)){for(u=p.delegateType||m,Dt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)y.push(a),s=a;s===(r.ownerDocument||v)&&y.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=y[o++])&&!t.isPropagationStopped();)d=a,t.type=1<o?u:p.bindType||m,(f=(ie.get(a,"events")||Object.create(null))[t.type]&&ie.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&ne(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=m,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(y.pop(),n)||!ne(r)||l&&h(r[m])&&!g
vendor: 4,807 bytes, line 2
2(r)&&((s=r[l])&&(r[l]=null),T.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,Nt),r[m](),t.isPropagationStopped()&&d.removeEventListener(m,Nt),T.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.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(e,t,n,r){var i;if(Array.isArray(t))T.each(t,(function(t,i){n||qt.test(e)?r(e,i):Pt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)Pt(e+"["+i+"]",t[i],n,r)}T.param=function(e,t){var n,r=[],i=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)Pt(n,e[n],t,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.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=v.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(z)||[];if(h(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var i={},o=e===_t;function a(s){var u;return i[s]=!0,T.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Gt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Xt.href=kt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.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":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,T.ajaxSettings),t):Gt(T.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,s,u,l,c,f,p,d=T.ajaxSetup({},n),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?T(h):T.event,y=T.Deferred(),m=T.Callbacks("once memory"),x=d.statusCode||{},b={},w={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Wt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),E(0,t),this}};if(y.promise(S),d.url=((t||d.url||kt.href)+"").replace($t,kt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(z)||[""],null==d.crossDomain){u=v.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Xt.protocol+"//"+Xt.host!=u.protocol+"//"+u.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Vt(Bt,d,n,S),l)return S;for(f in(c=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ft.test(d.type),i=d.url.replace(Rt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(
vendor: 6,072 bytes, line 2
2d.data=d.data.replace(Mt,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(At.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(It,"$1"),p=(At.test(i)?"&":"?")+"_="+jt.guid+++p),d.url=i+p),d.ifModified&&(T.lastModified[i]&&S.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&S.setRequestHeader("If-None-Match",T.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&S.setRequestHeader("Content-Type",d.contentType),S.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+zt+"; q=0.01":""):d.accepts["*"]),d.headers)S.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,S,d)||l))return S.abort();if(C="abort",m.add(d.complete),S.done(d.success),S.fail(d.error),r=Vt(_t,d,n,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,d]),l)return S;d.async&&0<d.timeout&&(s=e.setTimeout((function(){S.abort("timeout")}),d.timeout));try{l=!1,r.send(b,E)}catch(t){if(l)throw t;E(-1,t)}}else E(-1,"No Transport");function E(t,n,a,u){var f,p,v,b,w,C=n;l||(l=!0,s&&e.clearTimeout(s),r=void 0,o=u||"",S.readyState=0<t?4:0,f=200<=t&&t<300||304===t,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===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]}(d,S,a)),!f&&-1<T.inArray("script",d.dataTypes)&&T.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),b=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];for(o=c.shift();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}}(d,b,S,f),f?(d.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(T.etag[i]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,f=!(v=b.error))):(v=C,!t&&C||(C="error",t<0&&(t=0))),S.status=t,S.statusText=(n||C)+"",f?y.resolveWith(h,[p,C,S]):y.rejectWith(h,[S,C,v]),S.statusCode(x),x=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[S,d,f?p:v]),m.fireWith(h,[S,C]),c&&(g.trigger("ajaxComplete",[S,d]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return h(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=T.ajaxSettings.xhr();d.cors=!!Qt&&"withCredentials"in Qt,d.ajax=Qt=!!Qt,T.ajaxTransport((function(t){var n,r;if(d.cors||Qt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Yt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(i){if(n)throw i}},abort:function(){n&&n()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.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 T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=T("<script>").attr(e.scriptAttrs||{}
vendor: 5,377 bytes, line 2
2).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||T.expando+"_"+jt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Zt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Zt,"$1"+i):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){void 0===o?T(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Kt.push(i)),a&&h(o)&&o(a[0]),a=o=void 0})),"script"})),d.createHTMLDocument=((Jt=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),o=!n&&[],(i=R.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.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)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=T.css(e,"position"),c=T(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=T.css(e,"top"),u=T.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),h(t)&&(t=t.call(e,n,T.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)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.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"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||pe}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return J(this,(function(e,r,i){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ye(d.pixelPosition,(function(e,n){if(n)return n=Ge(e,t),_e.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return J(this,(function(t,n,i){var o;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?T.css(t,n,s):T.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.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)}}),T.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,t){T.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}));var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;
2if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=i.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(i.call(arguments)))}).guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=S,T.isFunction=h,T.isWindow=g,T.camelCase=te,T.type=x,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return T}));var tn=e.jQuery,nn=e.$;return T.noConflict=function(t){return e.$===T&&(e.$=nn),t&&e.jQuery===T&&(e.jQuery=tn),T},void 0===t&&(e.jQuery=e.$=T),T})); 3!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,(function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function n(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function o(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var r=t(e),i=r.overflow,a=r.overflowX,s=r.overflowY;return/(auto|scroll|overlay)/.test(i+s+a)?e:o(n(e))}function r(e){return e&&e.referenceNode?e.referenceNode:e}function i(e){return 11===e?W:10===e?j:W||j}function a(e){if(!e)return document.documentElement;for(var n=i(10)?document.body:null,o=e.offsetParent||null;o===n&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(o.nodeName)&&"static"===t(o,"position")?a(o):o:e?e.ownerDocument.documentElement:document.documentElement}function s(e){return null!==e.parentNode?s(e.parentNode):e}function f(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var p,l,u=i.commonAncestorContainer;if(e!==u&&t!==u||o.contains(r))return"BODY"===(l=(p=u).nodeName)||"HTML"!==l&&a(p.firstElementChild)!==p?a(u):u;var d=s(e);return d.host?f(d.host,t):f(e,s(t).host)}function p(e){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function l(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function u(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],i(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function d(e){var t=e.body,n=e.documentElement,o=i(10)&&getComputedStyle(n);return{height:u("Height",t,n,o),width:u("Width",t,n,o)}}function c(e){return Y({},e,{right:e.left+e.width,bottom:e.top+e.height})}function h(e){var n={};try{if(i(10)){n=e.getBoundingClientRect();var o=p(e,"top"),r=p(e,"left");n.top+=o,n.left+=r,n.bottom+=o,n.right+=r}else n=e.getBoundingClientRect()}catch(e){}var a={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},s="HTML"===e.nodeName?d(e.ownerDocument):{},f=s.width||e.clientWidth||a.width,u=s.height||e.clientHeight||a.height,h=e.offsetWidth-f,m=e.offsetHeight-u;if(h||m){var g=t(e);h-=l(g,"x"),m-=l(g,"y"),a.width-=h,a.height-=m}return c(a)}function m(e,n){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2],a=i(10),s="HTML"===n.nodeName,f=h(e),l=h(n),u=o(e),d=t(n),m=parseFloat(d.borderTopWidth),g=parseFloat(d.borderLeftWidth);r&&s&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var v=c({top:f.top-l.top-m,left:f.left-l.left-g,width:f.width,height:f.height});if(v.marginTop=0,v.marginLeft=0,!a&&s){var b=parseFloat(d.marginTop),w=parseFloat(d.marginLeft);v.top-=m-b,v.bottom-=m-b,v.left-=g-w,v.right-=g-w,v.marginTop=b,v.marginLeft=w}return(a&&!r?n.contains(u):n===u&&"BODY"!==u.nodeName)&&(v=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],o=p(t,"top"),r=p(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(v,n)),v}function g(e){if(!e||!e.parentElement||i())return document.documentElement;for(var n=e.parentElement;n&&"none"===t(n,"transform");)n=n.parentElement;return n||document.documentElement}function v(e,i,a,s){var l=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},h=l?g(e):f(e,r(i));if("viewport"===s)u=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=m(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:p(n),s=t?0:p(n,"left");
vendor: 5,570 bytes, line 3
3return c({top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i})}(h,l);else{var v=void 0;"scrollParent"===s?"BODY"===(v=o(n(i))).nodeName&&(v=e.ownerDocument.documentElement):v="window"===s?e.ownerDocument.documentElement:s;var b=m(v,h,l);if("HTML"!==v.nodeName||function e(o){var r=o.nodeName;if("BODY"===r||"HTML"===r)return!1;if("fixed"===t(o,"position"))return!0;var i=n(o);return!!i&&e(i)}(h))u=b;else{var w=d(e.ownerDocument),y=w.height,x=w.width;u.top+=b.top-b.marginTop,u.bottom=y+b.top,u.left+=b.left-b.marginLeft,u.right=x+b.left}}var E="number"==typeof(a=a||0);return u.left+=E?a:a.left||0,u.top+=E?a:a.top||0,u.right-=E?a:a.right||0,u.bottom-=E?a:a.bottom||0,u}function b(e,t,n,o,r){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=v(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},f=Object.keys(s).map((function(e){return Y({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),p=f.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),l=0<p.length?p[0].key:f[0].key,u=e.split("-")[1];return l+(u?"-"+u:"")}function w(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return m(n,o?g(t):f(t,r(n)),o)}function y(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function x(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function E(e,t,n){n=n.split("-")[0];var o=y(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",f=i?"height":"width",p=i?"width":"height";return r[a]=t[a]+t[f]/2-o[f]/2,r[s]=n===s?t[s]-o[p]:t[x(s)],r}function O(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(t,n,o){return(void 0===o?t:t.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=O(e,(function(e){return e[t]===n}));return e.indexOf(o)}(t,"name",o))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=t.function||t.fn;t.enabled&&e(o)&&(n.offsets.popper=c(n.offsets.popper),n.offsets.reference=c(n.offsets.reference),n=o(n,t))})),n}function T(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function D(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function M(e){var t=e.ownerDocument;return t?t.defaultView:window}function N(e,t,n,r){n.updateBound=r,M(e).addEventListener("resize",n.updateBound,{passive:!0});var i=o(e);return function e(t,n,r,i){var a="BODY"===t.nodeName,s=a?t.ownerDocument.defaultView:t;s.addEventListener(n,r,{passive:!0}),a||e(o(s.parentNode),n,r,i),i.push(s)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function F(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,M(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function k(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function H(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&k(t[n])&&(o="px"),e.style[n]=t[n]+o}))}function C(e,t,n){var o=O(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}function B(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(e),o=z.slice(n+1).concat(z.slice(0,n));return t?o.reverse():o}var A="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,P=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(A&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),S=A&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),P))}},W=A&&!(!window.MSInputMethodContext||!document.documentMode),j=A&&/MSIE 10/.test(navigator.userAgent),I=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},R=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),U=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},V=A&&/Firefox/i.test(navigator.userAgent),q=["auto-start","auto","auto-end","top-start","to
3p","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=q.slice(3),G="flip",_="clockwise",X="counterclockwise",J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),f=s?"left":"top",p=s?"width":"height",l={start:U({},f,i[f]),end:U({},f,i[f]+i[p]-a[p])};e.offsets.popper=Y({},a,l[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,o=t.offset,r=e.placement,i=e.offsets,a=i.popper,s=i.reference,f=r.split("-")[0];return n=k(+o)?[+o,0]:function(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(O(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var f=/\s*,\s*|\s+/,p=-1!==s?[a.slice(0,s).concat([a[s].split(f)[0]]),[a[s].split(f)[1]].concat(a.slice(s+1))]:[a];return(p=p.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return c(s)[t]/100*i}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){k(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}(o,a,s,f),"left"===f?(a.top+=n[0],a.left-=n[1]):"right"===f?(a.top+=n[0],a.left+=n[1]):"top"===f?(a.left+=n[0],a.top-=n[1]):"bottom"===f&&(a.left+=n[0],a.top+=n[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||a(e.instance.popper);e.instance.reference===n&&(n=a(n));var o=D("transform"),r=e.instance.popper.style,i=r.top,s=r.left,f=r[o];r.top="",r.left="",r[o]="";var p=v(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=s,r[o]=f,t.boundaries=p;var l=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<p[e]&&!t.escapeWithReference&&(n=Math.max(u[e],p[e])),U({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>p[e]&&!t.escapeWithReference&&(o=Math.min(u[n],p[e]-("right"===e?u.width:u.height))),U({},n,o)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Y({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",f=a?"left":"top",p=a?"width":"height";return n[s]<i(o[f])&&(e.offsets.popper[f]=i(o[f])-n[p]),n[f]>i(o[s])&&(e.offsets.popper[f]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,n){var o;if(!C(e.instance.modifiers,"arrow","keepTogether"))return e;var r=n.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,s=a.popper,f=a.reference,p=-1!==["left","right"].indexOf(i),l=p?"height":"width",u=p?"Top":"Left",d=u.toLowerCase(),h=p?"left":"top",m=p?"bottom":"right",g=y(r)[l];f[m]-g<s[d]&&(e.offsets.popper[d]-=s[d]-(f[m]-g)),f[d]+g>s[m]&&(e.offsets.popper[d]+=f[d]+g-s[m]),e.offsets.popper=c(e.offsets.popper);var v=f[d]+f[l]/2-g/2,b=t(e.instance.popper),w=parseFloat(b["margin"+u]),x=parseFloat(b["border"+u+"Width"]),E=v-e.offsets.popper[d]-w-x;return E=Math.max(Math.min(s[l]-g,E),0),e.arrowElement=r,e.offsets.arrow=(U(o={},d,Math.round(E)),U(o,h,""),o),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(T(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=x(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case G:a=[o,r];break;case _:a=B(o);break;case X:a=B(o,!0);break;default:a=t.behavior}return a.forEach((function(s,f){if(o!==s||a.length===f+1)return e;o=e.placement.split("-")[0],r=x(o);var p,l=e.offsets.popper,u=e.offsets.reference,d=Math.floor,c="left"===o&&d(l.right)>d(u.left)||"right"===o&&d(l.left)<d(u.right)||"top"===o&&d(l.bottom)>d(u.top)||"bottom"===o&&d(l.top)<d(u.bottom),h=d(l.left)<d(n.left),m=d(l.right)>d(n.right),g=d(l.top)<d(n.top),v=d(l.bottom)>d(n.bottom),b="left"===o&&h||"right"===o&&m||"top"===o&&g||"bottom"===o&&v,w=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(w&&"start"===i&&h||w&&"end"===i&&m||!w&&"start"===i&&g||!w&&"end"===i&&v),O=!!t.flipVariationsByContent&&(w&&"start"===i&&m||w&&"end"===i&&h||!w&&"start"===i&&v||!w&&"end"===i&&g),T=y||O;(c||b||T)&&(e.flipped=!0,(c||b)&&(o=a[f+1]),T&&(i="end"===(p=i)?"start":"start"===p?"end":p),e.placement=o+(i?"-"+i:""),e.offsets.popper=Y({},e.offsets.popper,E(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=x(t),e.offsets.popper=c(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!C(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=O(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=O(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,f,p,l,u,d,c,m,g,v,b,w,y,x,E,L,T=void 0!==i?i:t.gpuAcceleration,M=a(e.instance.popper),N=h(M),F={position:r.position},k=(s=e,f=window.devicePixelRatio<2||!V,l=(p=s.offsets).popper,u=p.reference,d=Math.round,c=Math.floor,m=function(e){return e},g=d(u.width),v=d(l.width),b=-1!==["left","right"].indexOf(s.placement),w=-1!==s.placement.indexOf("-"),x=f?d:m,{left:(y=f?b||w||g%2==v%2?d:c:m)(g%2==1&&v%2==1&&!w&&f?l.left-1:l.left),top:x(l.top),bottom:x(l.bottom),right:y(l.right)}),H="bottom"===n?"top":"bottom",C="right"===o?"left":"right",B=D("transform");if(L="bottom"===H?"HTML"===M.nodeName?-M.clientHeight+k.bottom:-N.height+k.bottom:k.top,E="right"===C?"HTML"===M.nodeName?-M.clientWidth+k.right:-N.width+k.right:k.left,T&&B)F[B]="translate3d("+E+"px, "+L+"px, 0)",F[H]=0,F[
vendor: 23,361 bytes, lines 3-4
3C]=0,F.willChange="transform";else{var A="bottom"===H?-1:1,P="right"===C?-1:1;F[H]=L*A,F[C]=E*P,F.willChange=H+", "+C}var S={"x-placement":e.placement};return e.attributes=Y({},S,e.attributes),e.styles=Y({},F,e.styles),e.arrowStyles=Y({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return H(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&H(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=w(r,t,e,n.positionFixed),a=b(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),H(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},K=function(){function t(n,o){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};I(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=S(this.update.bind(this)),this.options=Y({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(Y({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=Y({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Y({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(t){t.enabled&&e(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return R(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=w(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=b(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=E(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,T(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[D("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=N(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return F.call(this)}}]),t}();return K.Utils=("undefined"!=typeof window?window:global).PopperUtils,K.placements=q,K.Defaults=J,K})); 4!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(e),a=i(n);function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var d="transitionend",f={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=o.default(t).css("transition-duration"),n=o.default(t).css("transition-delay"),i=parseFloat(e),a=parseFloat(n);return i||a?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){o.default(t).trigger(d)},supportsTransitionEnd:function(){return Boolean(d)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],a=e[i],s=a&&f.isElement(a)?"element":null===(l=a)||void 0===l?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?f.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=o.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};f.jQueryDetection(),o.default.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return o.default(this).one(f.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||f.triggerTransitionEnd(e)}),t),this},o.default.event.special[f.TRANSITION_END]={bindType:d,delegateType:d,handle:function(t){if(o.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c="bs.alert",h=o.default.fn.alert,g=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){o.default.removeData(this._element,c),this._element=null},e._getRootElement=function(t){var e=f.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=o.default(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=o.default.Event("close.bs.alert");return o.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(o.default(t).removeClass("show"),o.default(t).hasClass("fade")){var n=f.getTransitionDurationFromElement(t);o.default(t).one(f.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){o.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(c);i||(i=new t(this),n.data(c,i)),"close"===e&&i[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();o.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',g._handleDismiss(new g)),o.default.fn.alert=g._jQueryInterface,o.default.fn.alert.Constructor=g,o.default.fn.alert.noConflict=function(){return o.default.fn.alert=h,g._jQueryInterface};var m="bs.button",_=o.default.fn.button,p="active",v='[data-toggle^="button"]',y='input:not([type="hidden"])',b=".btn",E=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=o.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=this._element.querySelector(y);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(p))t=!1;else{var a=n.querySelector(".active");a&&o.default(a).removeClass(p)}t&&("checkbox"!==i.type&&"radio"!==i.type||(i.checked=!this._element.classList.contains(p)),this.shouldAvoidTriggerChange||o.default(i).trigger("change")),i.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(p)),t&&o.default(this._element).toggleClass(p))},e.dispose=function(){o.default.removeData(this._element,m),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var i=o.default(this),a=i.data(m);a||(a=new t(this),i.data(m,a)),a.shouldAvoidTriggerChange=n,"toggle"===e&&a[e]()}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();o.default(document).on("click.bs.button.data-api",v,(function(t){var e=t.target,n=e;if(o.default(e).hasClass("btn")||(e=o.default(e).closest(b)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var i=e.querySelector(y);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||E._jQueryInterface.call(o.default(e),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",v,(function(t){var e=o.default(t.target).closest(b)[0];o.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),o.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector(y);o.checked||o.hasAttribute("checked")?i.classList.add(p):i.classList.remove(p)}for(var a=0,s=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;a<s;a++){var l=t[a];"true"===l.getAttribute("aria-pressed")?l.classList.add(p):l.classList.remove(p)}})),o.default.fn.button=E._jQueryInterface,o.default.fn.button.Constructor=E,o.default.fn.button.noConflict=function(){return o.default.fn.button=_,E._jQueryInterface};var T="carousel",w="bs.carousel",C=o.default.fn[T],S="active",N="next",D="prev",A="slid.bs.carousel",I=".active.carousel-item",k={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},O={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},j={TOUCH:"touch",PEN:"pen"},P=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(N)},e.nextWhenVisible=function(){var t=o.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(D)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(f.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(I);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o.default(this._element).one(A,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?N:D;this._slide(i,this._items[t])}},e.dispose=function(){o.default(this._element).off(".bs.carousel"),o.default.removeData(this._element,w),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},k,t),f.typeCheckConfig(T,t,O),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&o.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&o.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(o.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(o.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("touchmove.bs.carousel",(function(e){return function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),o.default(this._element).on("touchend.bs.carousel",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===N,i=t===D,o=this._getItemIndex(e),a=this._items.length-1;if((i&&0===o||n&&o===a)&&!this._config.wrap)return e;var s=(o+(t===D?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(I)),a=o.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n});return o.default(this._element).trigger(a),a},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));o.default(e).removeClass(S);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&o.default(n).addClass(S)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(I);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var n,i,a,s=this,l=this._element.querySelector(I),r=this._getItemIndex(l),u=e||l&&this._getItemByDirection(t,l),d=this._getItemIndex(u),c=Boolean(this._interval);if(t===N?(n="carousel-item-left",i="carousel-item-next",a="left"):(n="carousel-item-right",i="carousel-item-prev",a="right"),u&&o.default(u).hasClass(S))this._isSliding=!1;else if(!this._triggerSlideEvent(u,a).isDefaultPrevented()&&l&&u){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(u),this._activeElement=u;var h=o.default.Event(A,{relatedTarget:u,direction:a,from:r,to:d});if(o.default(this._element).hasClass("slide")){o.default(u).addClass(i),f.reflow(u),o.default(l).addClass(n),o.default(u).addClass(n);var g=f.getTransitionDurationFromElement(l);o.default(l).one(f.TRANSITION_END,(function(){o.default(u).removeClass(n+" "+i).addClass(S),o.default(l).removeClass("active "+i+" "+n),s._isSliding=!1,setTimeout((function(){return o.default(s._element).trigger(h)}),0)})).emulateTransitionEnd(g)}else o.default(l).removeClass(S),o.default(u).addClass(S),this._isSliding=!1,o.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(w),i=r({},k,o.default(this).data());"object"==typeof e&&(i=r({},i,e));var a="string"==typeof e?e:i.slide;if(n||(n=new t(this,i),o.default(this).data(w,n)),"number"==typeof e)n.to(e);else if("string"==typeof a){if(void 0===n[a])throw new TypeError('No method named "'+a+'"');n[a]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=f.getSelectorFromElement(this);if(n){var i=o.default(n)[0];if(i&&o.default(i).hasClass("carousel")){var a=r({},o.default(i).data(),o.default(this).data()),s=this.getAttribute("data-slide-to");s&&(a.interval=!1),t._jQueryInterface.call(o.default(i),a),s&&o.default(i).data(w).to(s),e.preventDefault()}}},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return k}}]),t}();o.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",P._dataApiClickHandler),o.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var i=o.default(t[e]);P._jQueryInterface.call(i,i.data())}})),o.default.fn[T]=P._jQueryInterface,o.default.fn[T].Constructor=P,o.default.fn[T].noConflict=function(){return o.default.fn[T]=C,P._jQueryInterface};var L="collapse",R="bs.collapse",x=o.default.fn[L],q="show",F="collapse",Q="collapsing",B="collapsed",H="width",U='[data-toggle="collapse"]',M={toggle:!0,parent:""},W={toggle:"boolean",parent:"(string|element)"},V=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(U)),i=0,o=n.length;i<o;i++){var a=n[i],s=f.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&l.length>0&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){o.default(this._element).hasClass(q)?this.hide():this.show()},e.show=function(){var e,n,i=this;if(!(this._isTransitioning||o.default(this._element).hasClass(q)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(F)}))).length&&(e=null),e&&(n=o.default(e).not(this._selector).data(R))&&n._isTransitioning))){var a=o.default.Event("show.bs.collapse");if(o.default(this._element).trigger(a),!a.isDefaultPrevented()){e&&(t._jQueryInterface.call(o.default(e).not(this._selector),"hide"),n||o.default(e).data(R,null));var s=this._getDimension();o.default(this._element).removeClass(F).addClass(Q),this._element.style[s]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(B).attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(s[0].toUpperCase()+s.slice(1)),r=f.getTransitionDurationFromElement(this._element);o.default(this._element).one(f.TRANSITION_END,(function(){o.default(i._element).removeClass(Q).addClass("collapse show"),i._element.style[s]="",i.setTransitioning(!1),o.default(i._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(r),this._element.style[s]=this._element[l]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&o.default(this._element).hasClass(q)){var e=o.default.Event("hide.bs.collapse");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",f.reflow(this._element),o.default(this._element).addClass(Q).removeClass("collapse show");var i=this._triggerArray.length;if(i>0)for(var a=0;a<i;a++){var s=this._triggerArray[a],l=f.getSelectorFromElement(s);null!==l&&(o.default([].slice.call(document.querySelectorAll(l))).hasClass(q)||o.default(s).addClass(B).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var r=f.getTransitionDurationFromElement(this._element);o.default(this._element).one(f.TRANSITION_END,(function(){t.setTransitioning(!1),o.default(t._element).removeClass(Q).addClass(F).trigger("hidden.bs.collapse")})).emulateTransitionEnd(r)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){o.default.removeData(this._element,R),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=r({},M,t)).toggle=Boolean(t.toggle),f.typeCheckConfig(L,t,W),t},e._getDimension=function(){return o.default(this._element).hasClass(H)?H:"height"},e._getParent=function(){var e,n=this;f.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',a=[].slice.call(e.querySelectorAll(i));return o.default(a).each((function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])})),e},e._addAriaAndCollapsedClass=function(t,e){var n=o.default(t).hasClass(q);e.length&&o.default(e).toggleClass(B,!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=f.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(R),a=r({},M,n.data(),"object"==typeof e&&e?e:{});if(!i&&a.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(a.toggle=!1),i||(i=new t(this,a),n.data(R,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method n
4amed "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return M}}]),t}();o.default(document).on("click.bs.collapse.data-api",U,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=o.default(this),n=f.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));o.default(i).each((function(){var t=o.default(this),n=t.data(R)?"toggle":e.data();V._jQueryInterface.call(t,n)}))})),o.default.fn[L]=V._jQueryInterface,o.default.fn[L].Constructor=V,o.default.fn[L].noConflict=function(){return o.default.fn[L]=x,V._jQueryInterface};var z="dropdown",K="bs.dropdown",X=o.default.fn[z],Y=new RegExp("38|40|27"),$="disabled",J="show",G="dropdown-menu-right",Z="hide.bs.dropdown",tt="hidden.bs.dropdown",et="click.bs.dropdown.data-api",nt="keydown.bs.dropdown.data-api",it='[data-toggle="dropdown"]',ot=".dropdown-menu",at={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},st={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},lt=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($)){var e=o.default(this._menu).hasClass(J);t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||o.default(this._element).hasClass($)||o.default(this._menu).hasClass(J))){var n={relatedTarget:this._element},i=o.default.Event("show.bs.dropdown",n),s=t._getParentFromElement(this._element);if(o.default(s).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===a.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var l=this._element;"parent"===this._config.reference?l=s:f.isElement(this._config.reference)&&(l=this._config.reference,void 0!==this._config.reference.jquery&&(l=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(s).addClass("position-static"),this._popper=new a.default(l,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(s).closest(".navbar-nav").length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(J),o.default(s).toggleClass(J).trigger(o.default.Event("shown.bs.dropdown",n))}}},e.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($)&&o.default(this._menu).hasClass(J)){var e={relatedTarget:this._element},n=o.default.Event(Z,e),i=t._getParentFromElement(this._element);o.default(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(J),o.default(i).toggleClass(J).trigger(o.default.Event(tt,e)))}},e.dispose=function(){o.default.removeData(this._element,K),o.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;o.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=r({},this.constructor.Default,o.default(this._element).data(),t),f.typeCheckConfig(z,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(ot))}return this._menu},e._getPlacement=function(){var t=o.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=o.default(this._menu).hasClass(G)?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":o.default(this._menu).hasClass(G)&&(e="bottom-end"),e},e._detectNavbar=function(){return o.default(this._element).closest(".
4navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),r({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(K);if(n||(n=new t(this,"object"==typeof e?e:null),o.default(this).data(K,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll(it)),i=0,a=n.length;i<a;i++){var s=t._getParentFromElement(n[i]),l=o.default(n[i]).data(K),r={relatedTarget:n[i]};if(e&&"click"===e.type&&(r.clickEvent=e),l){var u=l._menu;if(o.default(s).hasClass(J)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&o.default.contains(s,e.target))){var d=o.default.Event(Z,r);o.default(s).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),n[i].setAttribute("aria-expanded","false"),l._popper&&l._popper.destroy(),o.default(u).removeClass(J),o.default(s).removeClass(J).trigger(o.default.Event(tt,r)))}}}},t._getParentFromElement=function(t){var e,n=f.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||o.default(e.target).closest(ot).length):!Y.test(e.which))&&!this.disabled&&!o.default(this).hasClass($)){var n=t._getParentFromElement(this),i=o.default(n).hasClass(J);if(i||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!i||27===e.which||32===e.which)return 27===e.which&&o.default(n.querySelector(it)).trigger("focus"),void o.default(this).trigger("click");var a=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(t){return o.default(t).is(":visible")}));if(0!==a.length){var s=a.indexOf(e.target);38===e.which&&s>0&&s--,40===e.which&&s<a.length-1&&s++,s<0&&(s=0),a[s].focus()}}}},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return at}},{key:"DefaultType",get:function(){return st}}]),t}();o.default(document).on(nt,it,lt._dataApiKeydownHandler).on(nt,ot,lt._dataApiKeydownHandler).on(et+" keyup.bs.dropdown.data-api",lt._clearMenus).on(et,it,(function(t){t.preventDefault(),t.stopPropagation(),lt._jQueryInterface.call(o.default(this),"toggle")})).on(et,".dropdown form",(function(t){t.stopPropagation()})),o.default.fn[z]=lt._jQueryInterface,o.default.fn[z].Constructor=lt,o.default.fn[z].noConflict=function(){return o.default.fn[z]=X,lt._jQueryInterface};var rt="bs.modal",ut=o.default.fn.modal,dt="modal-open",ft="fade",ct="show",ht="modal-static",gt="hidden.bs.modal",mt="show.bs.modal",_t="focusin.bs.modal",pt="resize.bs.modal",vt="click.dismiss.bs.modal",yt="keydown.dismiss.bs.modal",bt="mousedown.dismiss.bs.modal",Et=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Tt={backdrop:!0,keyboard:!0,focus:!0,show:!0},wt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ct=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){var n=o.default.Event(mt,{relatedTarget:t});o.default(this._element).trigger(n),n.isDefaultPrevented()||(this._isShown=!0,o.default(this._element).hasClass(ft)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(vt,'[data-dismiss="modal"]',(function(t){return e.hide(t)})),o.default(this._dialog).on(bt,(function(){o.default(e._element).one("mouseup.dismiss.bs.modal",(function(t){o.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=o.default.Event("hide.bs.modal");if(o.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=o.default(this._element).hasClass(ft);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(_t),o.default(this._element).removeClass(ct),o.default(this._element).off(vt),o.default(this._dialog).off(bt),i){var a=f.getTransitionDurationFromElement(this._element);o.default(this._element).one(f.TRANSITION_END,(function(t){return e._hideModal(t)})).emulateTransitionEnd(a)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return o.default(t).off(".b
4s.modal")})),o.default(document).off(_t),o.default.removeData(this._element,rt),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=r({},Tt,t),f.typeCheckConfig("modal",t,wt),t},e._triggerBackdropTransition=function(){var t=this,e=o.default.Event("hidePrevented.bs.modal");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(ht);var i=f.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(f.TRANSITION_END),o.default(this._element).one(f.TRANSITION_END,(function(){t._element.classList.remove(ht),n||o.default(t._element).one(f.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,i)})).emulateTransitionEnd(i),this._element.focus()}},e._showElement=function(t){var e=this,n=o.default(this._element).hasClass(ft),i=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&f.reflow(this._element),o.default(this._element).addClass(ct),this._config.focus&&this._enforceFocus();var a=o.default.Event("shown.bs.modal",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o.default(e._element).trigger(a)};if(n){var l=f.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(f.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},e._enforceFocus=function(){var t=this;o.default(document).off(_t).on(_t,(function(e){document!==e.target&&t._element!==e.target&&0===o.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?o.default(this._element).on(yt,(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(yt)},e._setResizeEvent=function(){var t=this;this._isShown?o.default(window).on(pt,(function(e){return t.handleUpdate(e)})):o.default(window).off(pt)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(dt),t._resetAdjustments(),t._resetScrollbar(),o.default(t._element).trigger(gt)}))},e._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=o.default(this._element).hasClass(ft)?ft:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(vt,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&f.reflow(this._backdrop),o.default(this._backdrop).addClass(ct),!t)return;if(!n)return void t();var i=f.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(f.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(ct);var a=function(){e._removeBackdrop(),t&&t()};if(o.default(this._element).hasClass(ft)){var s=f.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(f.TRANSITION_END,a).emulateTransitionEnd(s)}else a()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(Et)),n=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(e,n){var i=n.style.paddingRight,a=o.default(n).css("padding-right");o.default(n).data("padding-right",i).css("padding-right",parseFloat(a)+t._scrollbarWidth+"px")})),o.default(n).each((function(e,n){var i=n.style.marginRight,a=o.default(n).css("margin-right");o.default(n).data("margin-right",i).css("margin-right",parseFloat(a)-t._scrollbarWidth+"px")}));var i=document.body.style.paddingRight,a=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",i).css("padding-right",parseFloat(a)+this._scrollbarWidth+"px")}o.default(document.body).addClass(dt)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(Et));o.default(t).each((function(t,e){var n=o.default(e).data("padding-right");o.default(e).removeData("padding-right"),e.style.paddingRight=n||""}));var e=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(t,e){var n=o.default(e).data("margin-right");void 0!==n&&o.default(e).css("margin-right",n).removeData("margin-right")}));var n=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each((function(){var i=o.default(this).data(rt),a=r({},Tt,o.default(this).data(),"object"==typeof e&&e?e:{});if(i||(i=new t(this,a),o.default(this).data(rt,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method n
vendor: 7,010 bytes, line 4
4amed "'+e+'"');i[e](n)}else a.show&&i.show(n)}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Tt}}]),t}();o.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e,n=this,i=f.getSelectorFromElement(this);i&&(e=document.querySelector(i));var a=o.default(e).data(rt)?"toggle":r({},o.default(e).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=o.default(e).one(mt,(function(t){t.isDefaultPrevented()||s.one(gt,(function(){o.default(n).is(":visible")&&n.focus()}))}));Ct._jQueryInterface.call(o.default(e),a,this)})),o.default.fn.modal=Ct._jQueryInterface,o.default.fn.modal.Constructor=Ct,o.default.fn.modal.noConflict=function(){return o.default.fn.modal=ut,Ct._jQueryInterface};var St=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Nt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Dt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function At(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),a=[].slice.call(i.body.querySelectorAll("*")),s=function(t,n){var i=a[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var l=[].slice.call(i.attributes),r=[].concat(e["*"]||[],e[s]||[]);l.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===St.indexOf(n)||Boolean(Nt.test(t.nodeValue)||Dt.test(t.nodeValue));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,a=i.length;o<a;o++)if(i[o].test(n))return!0;return!1})(t,r)||i.removeAttribute(t.nodeName)}))},l=0,r=a.length;l<r;l++)s(l);return i.body.innerHTML}var It="tooltip",kt="bs.tooltip",Ot=o.default.fn.tooltip,jt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Pt=["sanitize","whiteList","sanitizeFn"],Lt="fade",Rt="show",xt="show",qt="hover",Ft={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Qt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Bt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Ht={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ut=function(){function t(t,e){if(void 0===a.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=o.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o.default(this.getTipElement()).hasClass(Rt))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(e);var n=f.findShadowRoot(this.element),i=o.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var s=this.getTipElement(),l=f.getUID(this.constructor.NAME);s.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&o.default(s).addClass(Lt);var r="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(r);this.addAttachmentClass(u);var d=this._getContainer();o.default(s).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(s).appendTo(d),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,s,this._getPopperConfig(u)),o.default(s).addClass(Rt),o.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(o.default(this.tip).hasClass(Lt)){var h=f.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(f.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=o.default.Event(this.constructor.Event.HIDE),a=function(){e._hoverState!==xt&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),o.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(o.default(this.element).trigger(i),!i.isDefaultPrevented()){if
vendor: 5,788 bytes, line 4
4(o.default(n).removeClass(Rt),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass(Lt)){var s=f.getTransitionDurationFromElement(n);o.default(n).one(f.TRANSITION_END,a).emulateTransitionEnd(s)}else a();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(o.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),o.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=At(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?o.default(e).parent().is(t)||t.empty().append(e):t.text(o.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:f.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},e._getAttachment=function(t){return Ft[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)o.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n=e===qt?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===qt?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":qt]=!0),o.default(e.getTipElement()).hasClass(Rt)||e._hoverState===xt?e._hoverState=xt:(clearTimeout(e._timeout),e._hoverState=xt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===xt&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":qt]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){"out"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=o.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Pt.indexOf(t)&&delete e[t]})),"number"==typeof(t=r({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),f.typeCheckConfig(It,t,this.constructor.DefaultType),t.sanitize&&(t.template=At(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(jt);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(o.default(t).removeClass(Lt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(kt),a="object"==typeof e&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,a),n.data(kt,i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method n
4amed "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Qt}},{key:"NAME",get:function(){return It}},{key:"DATA_KEY",get:function(){return kt}},{key:"Event",get:function(){return Ht}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Bt}}]),t}();o.default.fn.tooltip=Ut._jQueryInterface,o.default.fn.tooltip.Constructor=Ut,o.default.fn.tooltip.noConflict=function(){return o.default.fn.tooltip=Ot,Ut._jQueryInterface};var Mt="bs.popover",Wt=o.default.fn.popover,Vt=new RegExp("(^|\\s)bs-popover\\S+","g"),zt=r({},Ut.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Kt=r({},Ut.DefaultType,{content:"(string|element|function)"}),Xt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Yt=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n);var a=i.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},a.setContent=function(){var t=o.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(Vt);null!==e&&e.length>0&&t.removeClass(e.join(""))},i._jQueryInterface=function(t){return this.each((function(){var e=o.default(this).data(Mt),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),o.default(this).data(Mt,e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},l(i,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return zt}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return Mt}},{key:"Event",get:function(){return Xt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Kt}}]),i}(Ut);o.default.fn.popover=Yt._jQueryInterface,o.default.fn.popover.Constructor=Yt,o.default.fn.popover.noConflict=function(){return o.default.fn.popover=Wt,Yt._jQueryInterface};var $t="scrollspy",Jt="bs.scrollspy",Gt=o.default.fn[$t],Zt="active",te="position",ee=".nav, .list-group",ne={offset:10,method:"auto",target:""},ie={offset:"number",method:"string",target:"(string|element)"},oe=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":te,n="auto"===this._config.method?e:this._config.method,i=n===te?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,a=f.getSelectorFromElement(t);if(a&&(e=document.querySelector(a)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[o.default(e)[n]().top+i,a]}return null}
vendor: 5,618 bytes, line 4
4)).filter(Boolean).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){o.default.removeData(this._element,Jt),o.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=r({},ne,"object"==typeof t&&t?t:{})).target&&f.isElement(t.target)){var e=o.default(t.target).attr("id");e||(e=f.getUID($t),o.default(t.target).attr("id",e)),t.target="#"+e}return f.typeCheckConfig($t,t,ie),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=o.default([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass(Zt),n.addClass(Zt)):(n.addClass(Zt),n.parents(ee).prev(".nav-link, .list-group-item").addClass(Zt),n.parents(ee).prev(".nav-item").children(".nav-link").addClass(Zt)),o.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains(Zt)})).forEach((function(t){return t.classList.remove(Zt)}))},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(Jt);if(n||(n=new t(this,"object"==typeof e&&e),o.default(this).data(Jt,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ne}}]),t}();o.default(window).on("load.bs.scrollspy.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=o.default(t[e]);oe._jQueryInterface.call(n,n.data())}})),o.default.fn[$t]=oe._jQueryInterface,o.default.fn[$t].Constructor=oe,o.default.fn[$t].noConflict=function(){return o.default.fn[$t]=Gt,oe._jQueryInterface};var ae="bs.tab",se=o.default.fn.tab,le="active",re=".active",ue="> li > .active",de=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(le)||o.default(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var e,n,i=o.default(this._element).closest(".nav, .list-group")[0],a=f.getSelectorFromElement(this._element);if(i){var s="UL"===i.nodeName||"OL"===i.nodeName?ue:re;n=(n=o.default.makeArray(o.default(i).find(s)))[n.length-1]}var l=o.default.Event("hide.bs.tab",{relatedTarget:this._element}),r=o.default.Event("show.bs.tab",{relatedTarget:n});if(n&&o.default(n).trigger(l),o.default(this._element).trigger(r),!r.isDefaultPrevented()&&!l.isDefaultPrevented()){a&&(e=document.querySelector(a)),this._activate(this._element,i);var u=function(){var e=o.default.Event("hidden.bs.tab",{relatedTarget:t._element}),i=o.default.Event("shown.bs.tab",{relatedTarget:n});o.default(n).trigger(e),o.default(t._element).trigger(i)};e?this._activate(e,e.parentNode,u):u()}}},e.dispose=function(){o.default.removeData(this._element,ae),this._element=null},e._activate=function(t,e,n){var i=this,a=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?o.default(e).children(re):o.default(e).find(ue))[0],s=n&&a&&o.default(a).hasClass("fade"),l=function(){return i._transitionComplete(t,a,n)};if(a&&s){var r=f.getTransitionDurationFromElement(a);o.default(a).removeClass("show").one(f.TRANSITION_END,l).emulateTransitionEnd(r)}else l()},e._transitionComplete=function(t,e,n){if(e){o.default(e).removeClass(le);var i=o.default(e.parentNode).find("> .dropdown-menu .active")[0];i&&o.default(i).removeClass(le),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}o.default(t).addClass(le),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),f.reflow(t),t.classList.contains("fade")&&t.classList.add("show");var a=t.parentNode;if(a&&"LI"===a.nodeName&&(a=a.parentNode),a&&o.default(a).hasClass("dropdown-menu")){var s=o.default(t).closest(".dropdown")[0];if(s){var l=[].slice.call(s.querySelectorAll(".dropdown-toggle"));o.default(l).addClass(le)}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(ae);if(i||(i=new t(this),n.data(ae,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method n
4amed "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();o.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),de._jQueryInterface.call(o.default(this),"show")})),o.default.fn.tab=de._jQueryInterface,o.default.fn.tab.Constructor=de,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=se,de._jQueryInterface};var fe="bs.toast",ce=o.default.fn.toast,he="show",ge="showing",me="click.dismiss.bs.toast",_e={animation:!0,autohide:!0,delay:500},pe={animation:"boolean",autohide:"boolean",delay:"number"},ve=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=o.default.Event("show.bs.toast");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove(ge),t._element.classList.add(he),o.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),f.reflow(this._element),this._element.classList.add(ge),this._config.animation){var i=f.getTransitionDurationFromElement(this._element);o.default(this._element).one(f.TRANSITION_END,n).emulateTransitionEnd(i)}else n()}},e.hide=function(){if(this._element.classList.contains(he)){var t=o.default.Event("hide.bs.toast");o.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(he)&&this._element.classList.remove(he),o.default(this._element).off(me),o.default.removeData(this._element,fe),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},_e,o.default(this._element).data(),"object"==typeof t&&t?t:{}),f.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;o.default(this._element).on(me,'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),o.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(he),this._config.animation){var n=f.getTransitionDurationFromElement(this._element);o.default(this._element).one(f.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(fe);if(i||(i=new t(this,"object"==typeof e&&e),n.data(fe,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](this)}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"DefaultType",get:function(){return pe}},{key:"Default",get:function(){return _e}}]),t}();o.default.fn.toast=ve._jQueryInterface,o.default.fn.toast.Constructor=ve,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=ce,ve._jQueryInterface},t.Alert=g,t.Button=E,t.Carousel=P,t.Collapse=V,t.Dropdown=lt,t.Modal=Ct,t.Popover=Yt,t.Scrollspy=oe,t.Tab=de,t.Toast=ve,t.Tooltip=Ut,t.Util=f,Object.defineProperty(t,"__esModule",{value:!0})})); 5/*! 6* metismenu https://github.com/onokumus/metismenu#readme 7* A jQuery menu plugin 8* @version 3.0.6 9* @author Osman Nuri Okumus <[email protected]> (https://github.com/onokumus) 10* @license: MIT 11*/ 12!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):(e=e||self).metisMenu=n(e.jQuery)}(this,(function(e){"use strict";function n(){return(n=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}var t=function(e){var n="transitionend",t={TRANSITION_END:"mmTransitionEnd",triggerTransitionEnd:function(t){e(t).trigger(n)},supportsTransitionEnd:function(){return Boolean(n)}};function i(n){var i=this,r=!1;return e(this).one(t.TRANSITION_END,(function(){r=!0})),setTimeout((function(){r||t.triggerTransitionEnd(i)}),n),this}return e.fn.mmEmulateTransitionEnd=i,e.event.special[t.TRANSITION_END]={bindType:n,delegateType:n,handle:function(n){if(e(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}},t}(e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e),i="metisMenu",r=e.fn[i],s={toggle:!0,preventDefault:!0,triggerElement:"a",parentTrigger:"li",subMenu:"ul"},a={SHOW:"show.metisMenu",SHOWN:"shown.metisMenu",HIDE:"hide.metisMenu",HIDDEN:"hidden.metisMenu",CLICK_DATA_API:"click.metisMenu.data-api"},o="metismenu",g="mm-active",l="mm-show",h="mm-collapse",u="mm-collapsing",f=function(){function i(e,t){this.element=e,this.config=n({},s,{},t),this.transitioning=null,this.init()}var r=i.prototype;return r.init=function(){var n=this,t=this.config,i=e(this.element),r=i.find(t.parentTrigger).children(t.triggerElement);i.addClass(o),i.find(t.parentTrigger+"."+g).children(t.triggerElement).attr("aria-expanded","true"),i.find(t.parentTrigger+"."+g).parents(t.parentTrigger).addClass(g),i.find(t.parentTrigger+"."+g).parents(t.parentTrigger).children(t.triggerElement).attr("aria-expanded","true"),i.find(t.parentTrigger+"."+g).has(t.subMenu).
12children(t.subMenu).addClass(h+" "+l),i.find(t.parentTrigger).not("."+g).has(t.subMenu).children(t.subMenu).addClass(h),r.length&&r.on(a.CLICK_DATA_API,(function(i){var r=e(this);if("true"!==r.attr("aria-disabled")){t.preventDefault&&"#"===r.attr("href")&&i.preventDefault();var s=r.parent(t.parentTrigger),a=s.siblings(t.parentTrigger),o=a.children(t.triggerElement);s.hasClass(g)?(r.attr("aria-expanded","false"),n.removeActive(s)):(r.attr("aria-expanded","true"),n.setActive(s),t.toggle&&(n.removeActive(a),o.attr("aria-expanded","false"))),t.onTransitionStart&&t.onTransitionStart(i)}}))},r.setActive=function(n){e(n).addClass(g);var t=e(n).children(this.config.subMenu);t.length>0&&!t.hasClass(l)&&this.show(t)},r.removeActive=function(n){e(n).removeClass(g);var t=e(n).children(this.config.subMenu+"."+l);t.length>0&&this.hide(t)},r.show=function(n){var i=this;if(!this.transitioning&&!e(n).hasClass(u)){var r=e(n),s=e.Event(a.SHOW);if(r.trigger(s),!s.isDefaultPrevented()){if(r.parent(this.config.parentTrigger).addClass(g),this.config.toggle){var o=r.parent(this.config.parentTrigger).siblings().children(this.config.subMenu+"."+l);this.hide(o)}r.removeClass(h).addClass(u).height(0),this.setTransitioning(!0);r.height(n[0].scrollHeight).one(t.TRANSITION_END,(function(){i.config&&i.element&&(r.removeClass(u).addClass(h+" "+l).height(""),i.setTransitioning(!1),r.trigger(a.SHOWN))})).mmEmulateTransitionEnd(350)}}},r.hide=function(n){var i=this;if(!this.transitioning&&e(n).hasClass(l)){var r=e(n),s=e.Event(a.HIDE);if(r.trigger(s),!s.isDefaultPrevented()){r.parent(this.config.parentTrigger).removeClass(g),r.height(r.height())[0].offsetHeight,r.addClass(u).removeClass(h).removeClass(l),this.setTransitioning(!0);var o=function(){i.config&&i.element&&(i.transitioning&&i.config.onTransitionEnd&&i.config.onTransitionEnd(),i.setTransitioning(!1),r.trigger(a.HIDDEN),r.removeClass(u).addClass(h))};0===r.height()||"none"===r.css("display")?o():r.height(0).one(t.TRANSITION_END,o).mmEmulateTransitionEnd(350)}}},r.setTransitioning=function(e){this.transitioning=e},r.dispose=function(){e.removeData(this.element,"metisMenu"),e(this.element).find(this.config.parentTrigger).children(this.config.triggerElement).off(a.CLICK_DATA_API),this.transitioning=null,this.config=null,this.element=null},i.jQueryInterface=function(t){return this.each((function(){var r=e(this),a=r.data("metisMenu"),o=n({},s,{},r.data(),{},"object"==typeof t&&t?t:{});if(a||(a=new i(this,o),r.data("metisMenu",a)),"string"==typeof t){if(void 0===a[t])throw new Error('No method named "'+t+'"');a[t]()}}))},i}();return e.fn[i]=f.jQueryInterface,e.fn[i].Constructor=f,e.fn[i].noConflict=function(){return e.fn[i]=r,f.jQueryInterface},f})); 13!function(t){"use strict";var e,i,o,a,s,n=function(){function t(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}();e=jQuery,i="ekkoLightbox",o=e.fn[i],a={title:"",footer:"",maxWidth:9999,maxHeight:9999,showArrows:!0,wrapping:!0,type:null,alwaysShowClose:!1,loadingMessage:'<div class="ekko-lightbox-loader"><div><div></div><div></div></div></div>',leftArrow:"<span>❮</span>",rightArrow:"<span>❯</span>",strings:{close:"Close",fail:"Failed to load image:",type:"Could not detect remote target type. Force the type using data-type"},doc:document,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onNavigate:function(){},onContentLoaded:function(){}},s=function(){function t(i,o){var s=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._config=e.extend({},a,o),this._$modalArrows=null,this._galleryIndex=0,this._galleryName=null,this._padding=null,this._border=null,this._titleIsShown=!1,this._footerIsShown=!1,this._wantedWidth=0,this._wantedHeight=0,this._touchstartX=0,this._touchendX=0,this._modalId="ekkoLightbox-"+Math.floor(1e3*Math.random()+1),this._$element=i instanceof jQuery?i:e(i),this._isBootstrap3=3==e.fn.modal.Constructor.VERSION[0];var n='<h4 class="modal-title">'+(this._config.title||" ")+"</h4>",l='<button type="button" class="close" data-dismiss="modal" aria-label="'+this._config.strings.close+'"><span aria-hidden="true">×</span></button>',r='<div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header'+(this._config.title||this._config.alwaysShowClose?"":" hide")+'">'+(this._isBootstrap3?l+n:n+l)+'</div><div class="modal-body"><div class="ekko-lightbox-container"><div class="ekko-lightbox-item fade in show"></div><div class="ekko-lightbox-item fade"></div></div></div><div class="modal-footer'+(this._config.footer?"":" hide")+'">'+(this._config.footer||" ")+"</div></div></div>";e(this._config.doc.body).append('<div id="'+this._modalId+'" class="ekko-lightbox modal fade" tabindex="-1" tabindex="-1" role="dialog" aria-hidden="true">'+r+"</div>"),this._$modal=e("#"+this._modalId,this._config.doc),this._$modalDialog=this._$modal.find(".modal
13-dialog").first(),this._$modalContent=this._$modal.find(".modal-content").first(),this._$modalBody=this._$modal.find(".modal-body").first(),this._$modalHeader=this._$modal.find(".modal-header").first(),this._$modalFooter=this._$modal.find(".modal-footer").first(),this._$lightboxContainer=this._$modalBody.find(".ekko-lightbox-container").first(),this._$lightboxBodyOne=this._$lightboxContainer.find("> div:first-child").first(),this._$lightboxBodyTwo=this._$lightboxContainer.find("> div:last-child").first(),this._border=this._calculateBorders(),this._padding=this._calculatePadding(),this._galleryName=this._$element.data("gallery"),this._galleryName&&(this._$galleryItems=e(document.body).find('*[data-gallery="'+this._galleryName+'"]'),this._galleryIndex=this._$galleryItems.index(this._$element),e(document).on("keydown.ekkoLightbox",this._navigationalBinder.bind(this)),this._config.showArrows&&1<this._$galleryItems.length&&(this._$lightboxContainer.append('<div class="ekko-lightbox-nav-overlay"><a href="#">'+this._config.leftArrow+'</a><a href="#">'+this._config.rightArrow+"</a></div>"),this._$modalArrows=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay").first(),this._$lightboxContainer.on("click","a:first-child",(function(t){return t.preventDefault(),s.navigateLeft()})),this._$lightboxContainer.on("click","a:last-child",(function(t){return t.preventDefault(),s.navigateRight()})),this.updateNavigation())),this._$modal.on("show.bs.modal",this._config.onShow.bind(this)).on("shown.bs.modal",(function(){return s._toggleLoading(!0),s._handle(),s._config.onShown.call(s)})).on("hide.bs.modal",this._config.onHide.bind(this)).on("hidden.bs.modal",(function(){return s._galleryName&&(e(document).off("keydown.ekkoLightbox"),e(window).off("resize.ekkoLightbox")),s._$modal.remove(),s._config.onHidden.call(s)})).modal(this._config),e(window).on("resize.ekkoLightbox",(function(){s._resize(s._wantedWidth,s._wantedHeight)})),this._$lightboxContainer.on("touchstart",(function(){s._touchstartX=event.changedTouches[0].screenX})).on("touchend",(function(){s._touchendX=event.changedTouches[0].screenX,s._swipeGesure()}))}return n(t,null,[{key:"Default",get:function(){return a}}]),n(t,[{key:"element",value:function(){return this._$element}},{key:"modal",value:function(){return this._$modal}},{key:"navigateTo",value:function(t){if(t<0||t>this._$galleryItems.length-1)return this;this._galleryIndex=t,this.updateNavigation(),this._$element=e(this._$galleryItems.get(this._galleryIndex)),this._handle()}},{key:"navigateLeft",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(0===this._galleryIndex){if(!this._config.wrapping)return;this._galleryIndex=this._$galleryItems.length-1}else this._galleryIndex--;return this._config.onNavigate.call(this,"left",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"navigateRight",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(this._galleryIndex===this._$galleryItems.length-1){if(!this._config.wrapping)return;this._galleryIndex=0}else this._galleryIndex++;return this._config.onNavigate.call(this,"right",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"updateNavigation",value:function(){if(!this._config.wrapping){var t=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay");0===this._galleryIndex?t.find("a:first-child").addClass("disabled"):t.find("a:first-child").removeClass("disabled"),this._galleryIndex===this._$galleryItems.length-1?t.find("a:last-child").addClass("disabled"):t.find("a:last-child").removeClass("disabled")}}},{key:"close",value:function(){return this._$modal.modal("hide")}},{key:"_navigationalBinder",value:function(t){return 39===(t=t||window.event).keyCode?this.navigateRight():37===t.keyCode?this.navigateLeft():void 0}},{key:"_detectRemoteType",value:function(t,e){return!(e=e||!1)&&this._isImage(t)&&(e="image"),!e&&this._getYoutubeId(t)&&(e="youtube"),!e&&this._getVimeoId(t)&&(e="vimeo"),!e&&this._getInstagramId(t)&&(e="instagram"),(!e||["image","youtube","vimeo","instagram","video","url"].indexOf(e)<0)&&(e="url"),e}},{key:"_isImage",value:function(t){return t&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)}},{key:"_containerToUse",value:function(){var t=this,e=this._$lightboxBodyTwo,i=this._$lightboxBodyOne;return this._$lightboxBodyTwo.hasClass("in")&&(e=this._$lightboxBodyOne,i=this._$lightboxBodyTwo),i.removeClass("in show"),setTimeout((function(){t._$lightboxBodyTwo.hasClass("in")||t._$lightboxBodyTwo.empty(),t._$lightboxBodyOne.hasClass("in")||t._$lightboxBodyOne.empty()}),500),e.addClass("in show"),e}},{key:"_handle",value:function(){var t=this._containerToUse();this._updateTitleAndFooter();var e=this._$element.attr("data-remote")||this._$element.attr("href"),i=this._detectRemoteType(e,this._$element.attr("data-type")||!1);
13if(["image","youtube","vimeo","instagram","video","url"].indexOf(i)<0)return this._error(this._config.strings.type);switch(i){case"image":this._preloadImage(e,t),this._preloadImageByIndex(this._galleryIndex,3);break;case"youtube":this._showYoutubeVideo(e,t);break;case"vimeo":this._showVimeoVideo(this._getVimeoId(e),t);break;case"instagram":this._showInstagramVideo(this._getInstagramId(e),t);break;case"video":this._showHtml5Video(e,t);break;default:this._loadRemoteContent(e,t)}return this}},{key:"_getYoutubeId",value:function(t){if(!t)return!1;var e=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!(!e||11!==e[2].length)&&e[2]}},{key:"_getVimeoId",value:function(t){return!!(t&&0<t.indexOf("vimeo"))&&t}},{key:"_getInstagramId",value:function(t){return!!(t&&0<t.indexOf("instagram"))&&t}},{key:"_toggleLoading",value:function(t){return(t=t||!1)?(this._$modalDialog.css("display","none"),this._$modal.removeClass("in show"),e(".modal-backdrop").append(this._config.loadingMessage)):(this._$modalDialog.css("display","block"),this._$modal.addClass("in show"),e(".modal-backdrop").find(".ekko-lightbox-loader").remove()),this}},{key:"_calculateBorders",value:function(){return{top:this._totalCssByAttribute("border-top-width"),right:this._totalCssByAttribute("border-right-width"),bottom:this._totalCssByAttribute("border-bottom-width"),left:this._totalCssByAttribute("border-left-width")}}},{key:"_calculatePadding",value:function(){return{top:this._totalCssByAttribute("padding-top"),right:this._totalCssByAttribute("padding-right"),bottom:this._totalCssByAttribute("padding-bottom"),left:this._totalCssByAttribute("padding-left")}}},{key:"_totalCssByAttribute",value:function(t){return parseInt(this._$modalDialog.css(t),10)+parseInt(this._$modalContent.css(t),10)+parseInt(this._$modalBody.css(t),10)}},{key:"_updateTitleAndFooter",value:function(){var t=this._$element.data("title")||"",e=this._$element.data("footer")||"";return this._titleIsShown=!1,t||this._config.alwaysShowClose?(this._titleIsShown=!0,this._$modalHeader.css("display","").find(".modal-title").html(t||" ")):this._$modalHeader.css("display","none"),this._footerIsShown=!1,e?(this._footerIsShown=!0,this._$modalFooter.css("display","").html(e)):this._$modalFooter.css("display","none"),this}},{key:"_showYoutubeVideo",value:function(t,e){var i=this._getYoutubeId(t),o=0<t.indexOf("&")?t.substr(t.indexOf("&")):"",a=this._$element.data("width")||560,s=this._$element.data("height")||a/(560/315);return this._showVideoIframe("//www.youtube.com/embed/"+i+"?badge=0&autoplay=1&html5=1"+o,a,s,e)}},{key:"_showVimeoVideo",value:function(t,e){var i=this._$element.data("width")||500,o=this._$element.data("height")||i/(560/315);return this._showVideoIframe(t+"?autoplay=1",i,o,e)}},{key:"_showInstagramVideo",value:function(t,e){var i=this._$element.data("width")||612,o=i+80;return t="/"!==t.substr(-1)?t+"/":t,e.html('<iframe width="'+i+'" height="'+o+'" src="'+t+'embed/" frameborder="0" allowfullscreen></iframe>'),this._resize(i,o),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showVideoIframe",value:function(t,e,i,o){return i=i||e,o.html('<div class="embed-responsive embed-responsive-16by9"><iframe width="'+e+'" height="'+i+'" src="'+t+'" frameborder="0" allowfullscreen class="embed-responsive-item"></iframe></div>'),this._resize(e,i),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showHtml5Video",value:function(t,e){var i=this._$element.data("width")||560,o=this._$element.data("height")||i/(560/315);return e.html('<div class="embed-responsive embed-responsive-16by9"><video width="'+i+'" height="'+o+'" src="'+t+'" preload="auto" autoplay controls class="embed-responsive-item"></video></div>'),this._resize(i,o),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_loadRemoteContent",value:function(t,i){var o=this,a=this._$element.data("width")||560,s=this._$element.data("height")||560,n=this._$element.data("disableExternalCheck")||!1;return this._toggleLoading(!1),n||this._isExternal(t)?(i.html('<iframe src="'+t+'" frameborder="0" allowfullscreen></iframe>'),this._config.onContentLoaded.call(this)):i.load(t,e.proxy((function(){return o._$element.trigger("loaded.bs.modal")}))),this._$modalArrows&&this._$modalArrows.css("display","none"),this._resize(a,s),this}},{key:"_isExternal",value:function(t){var e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);return"string"==typeof e[1]&&0<e[1].length&&e[1].toLowerCase()!==location.protocol||"string"==typeof e[2]&&0<e[2].length&&e[2].replace(new RegExp(":("+{"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host}},{key:"_error",value:function(t){return console.error(t),this._containerToUse().html(t),this._resize(300,300),this}},{key:"_preloadImageByIndex",value:function(t,i){if(this._$galleryItems){var o=e(this._$galleryItems.get(t),!1);if(void 0!==o){var a=o.attr("data-remote")||o.attr("href");return("image"===o.attr("data-type")||this._isImage(a))&&this._preloadImage(a,!1),0<i?this._preloadImageByIndex(t+1,i-1):void 0}}}},{key:"_preloadImage",value:function(t,i){var o=this;i=i||!1;var a,s=new Image;return i&&(a=setTimeout((function(){i.append(o._config.loadingMessage)}),200),s.onload=function(){a&&clearTimeout(a),a=null;var t=e("<img />");return t.attr("src",s.src),t.addClass("img-fluid"),t.css("width","100%"),i.html(t),o._$modalArrows&&o._$modalArrows.css("display",""),o._resize(s.width,s.height),o._toggleLoading(!1),o._config.onContentLoaded.call(o)},s.onerror=function(){return o._toggleLoading(!1),o._error(o._config.strings.fail+" "+t)}),s.src=t,s}},{key:"_swipeGesure",value:function(){return this._touchendX<this._touchstartX?this.navigateRight():this._touchendX>this._touchstartX?this.navigateLeft():void 0}},{key:"_resize",value:function(t,i){i=i||t;var o=(this._wantedWidth=t)/(this._wantedHeight=i),a=this._padding.left+this._padding.right+this._border.left+this._border.right,s=575<this._config.doc.body.clientWidth?20:0,n=575<this._config.doc.body.clientWidth?0:20,l=Math.min(t+a,this._config.doc.body.clientWidth-s,this._config.maxWidth);l<t+a?(i=(l-a-n)/o,t=l):t+=a;var r=0,d=0;
13this._footerIsShown&&(d=this._$modalFooter.outerHeight(!0)||55),this._titleIsShown&&(r=this._$modalHeader.outerHeight(!0)||67);var h=this._padding.top+this._padding.bottom+this._border.bottom+this._border.top,g=parseFloat(this._$modalDialog.css("margin-top"))+parseFloat(this._$modalDialog.css("margin-bottom")),_=Math.min(i,e(window).height()-h-g-r-d,this._config.maxHeight-h-r-d);_<i&&(t=Math.ceil(_*o)+a),this._$lightboxContainer.css("height",_),this._$modalDialog.css("flex",1).css("maxWidth",t);var c=this._$modal.data("bs.modal");if(c)try{c._handleUpdate()}catch(t){c.handleUpdate()}return this}}],[{key:"_jQueryInterface",value:function(i){var o=this;return i=i||{},this.each((function(){var a=e(o),s=e.extend({},t.Default,a.data(),"object"==typeof i&&i);new t(o,s)}))}}]),t}(),e.fn[i]=s._jQueryInterface,e.fn[i].Constructor=s,e.fn[i].noConflict=function(){return e.fn[i]=o,s._jQueryInterface}}(jQuery); 14!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e=-1,o=-1,n=function(t){return parseFloat(t)||0},a=function(e){var o=t(e),a=null,i=[];return o.each((function(){var e=t(this),o=e.offset().top-n(e.css("margin-top")),r=0<i.length?i[i.length-1]:null;null===r?i.push(e):Math.floor(Math.abs(a-o))<=1?i[i.length-1]=r.add(e):i.push(e),a=o})),i},i=function(e){var o={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=i(e);if(o.remove){var n=this;return this.css(o.property,""),t.each(r._groups,(function(t,e){e.elements=e.elements.not(n)})),this}return this.length<=1&&!o.target||(r._groups.push({elements:this,options:o}),r._apply(this,o)),this};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=a,r._parse=n,r._parseOptions=i,r._apply=function(e,o){var s=i(o),l=t(e),h=[l],c=t(window).scrollTop(),p=t("html").outerHeight(!0),u=l.parents().filter(":hidden");return u.each((function(){var e=t(this);e.data("style-cache",e.attr("style"))})),u.css("display","block"),s.byRow&&!s.target&&(l.each((function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})})),h=a(l),l.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||"")}))),t.each(h,(function(e,o){var a=t(o),i=0;if(s.target)i=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each((function(){var e=t(this),o=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var a={display:n};a[s.property]="",e.css(a),e.outerHeight(!1)>i&&(i=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")}))}a.each((function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),o+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(s.property,i-o+"px"))}))})),u.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||null)})),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each((function(){var o=t(this),n=o.attr("data-mh")||o.attr("data-match-height");e[n]=n in e?e[n].add(o):o})),t.each(e,(function(){this.matchHeight(!0)}))};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,(function(){r._apply(this.elements,this.options)})),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(n,a){if(a&&"resize"===a.type){var i=t(window).width();if(i===e)return;e=i}n?-1===o&&(o=setTimeout((function(){s(a),o=-1}),r._throttle)):s(a)},t(r._applyDataApi);var l=t.fn.on?"on":"bind";t(window)[l]("load",(function(t){r._update(!1,t)})),t(window)[l]("resize orientationchange",(function(t){r._update(!0,t)}))})); 15!function(e){e.fn.spidochetube=function(t){var i=e.extend({key:"",id:"GoogleDevelopers",max_results:10,autoplay:0,theme:"dark",paging:0,scroll_duration:0,first_load:!0},t);if(""!==i.key)return this.each((function(){var t,s,l,r=e(this),n=i.id,d="",u=i.first_load;l=i.max_results<=50?i.max_results:50,!0===u&&(function(t,o){t.on("click","li a",(function(t){t.preventDefault();var s=a(e(this).attr("data-youtubeID"),i.autoplay,i.theme);e("#spidochetube_list li").removeClass("spidochetube_current"),e(this).parent().addClass("spidochetube_current"),e("html, body").animate({scrollTop:e("#spidochetube_player").offset().top},o,(function(){e("#spidochetube_player iframe").attr("src",s)}
15))}))}(r,i.scroll_duration),r.html('<div class="spidochetube_inner"><div id="spidochetube_player"></div><ul id="spidochetube_list"></ul></div>'),"loadmore"===i.paging&&e("#spidochetube_list").after('<a id="spidochetube_loadmore" class="btn btn-primary" href="#"><i class="fa fa-plus-circle fa-2" aria-hidden="true"></i><span class="sr-only">Weitere Videos anzeigen/Mostra altri video</span></a>')),void 0!==(s=e("#spidochetube_loadmore").attr("data-next"))&&(d=s),t="https://www.googleapis.com/youtube/v3/playlistItems?playlistId="+n+"&orderby=reversedPosition&pageToken="+d+"&maxResults="+l+"&key="+i.key+"&part=snippet,status,contentDetails",e.getJSON(t,(function(t){t.pageInfo.totalResults,d=t.nextPageToken,e.each(t.items,(function(i,a){var o=a.snippet,s=o.title,l="",r="";"public"===a.status.privacyStatus&&void 0!==o.thumbnails&&(l=o.resourceId.videoId,r=o.thumbnails.medium.url,html="<li>",html+='<a title="'+s+'" href="https://www.youtube-nocookie.com/embed/'+l+'" data-youtubeID="'+l+'">',html+='<img src="'+r+'" alt="'+s+'" />',html+="<span>"+s+"</span>",html+="</a>",html+="</li>",e("#spidochetube_list").append(html),void 0!==t.nextPageToken?e("#spidochetube_loadmore").attr("data-next",d):e("#spidochetube_loadmore").css("visibility","hidden"))}))})).then((function(){if(!0===u){var t='<iframe id="player" src="'+a(e("#spidochetube_list li:first-child a").attr("data-youtubeID"),i.autoplay,i.theme)+'" width="640" height="360" frameborder="0" allowfullscreen></iframe>';e("#spidochetube_list li:first-child").addClass("spidochetube_current"),e("#spidochetube_player").append(t)}e("#spidochetube_loadmore").off("click").on("click",(function(){return r.spidochetube({key:i.key,id:i.id,max_results:i.max_results,paging:i.paging,first_load:!1}),!1})),o(),e(window).resize(o),e.isFunction(i.complete)&&i.complete.apply(r)}))}
15));function a(e,t,i){return"https://www.youtube-nocookie.com/embed/"+e+"?version=3&loop=1&autoplay="+t+"&rel=0&showsearch=0&showinfo=0&theme="+i}function o(){var t=e("#player").width()/1.7777777777777777;e("#player").height(t)}console.log("api key not defined")}}(jQuery); 16function callWithNewParam(a){var t,n=a.split("=")[0],e=location.href.split("#")[1]||"",r=!1;if(e.length>0){for(var o=e.split("&"),l=0;l<o.length;l++){if(o[l].split("=")[0]==n){t=l,r=!0;break}}r?o[t]=a:o.push(a),window.location.hash=o.join("&")}else window.location.hash=a}function encodeParamCustom(a){return(a=encodeURIComponent(a)).replace(/\./g,"%2E").replace(/'/g,"%27")}function callAddingANDParam(a){var t,n=a.split("="),e=n[0],r=n[1],o=location.href.split("#")[1]||"",l=!1;if(/start=\d+/.test(o)&&(o=o.replace(/start=\d+/,"start=0")),o.length>0){for(var i=o.split("&"),s=0;s<i.length;s++){if(i[s].split("=")[0]==e){t=s,l=!0;break}}l?i[t]=i[t]+"."+r:i.push(a),window.location.hash=i.join("&")}else window.location.hash=a}function filterDynNav(a){$(".main_content").fadeOut("fast"),callAddingANDParam("requiredfields="+a),$(".main_content").fadeIn("fast")}function cleanFilterDynNav(a){var t=location.href.split("#")[1]||"";if(t.length>0){for(var n=t.split("&"),e=0;e<n.length;e++){var r=n[e].split("="),o=r[0],l=r[1];if("requiredfields"==o){arrVals=l.split(".");for(var i=0;i<arrVals.length;i++)if(arrVals[i]==a){arrVals=arrayRemovePosition(arrVals,i);break}arrVals.length>0?n[e]=o+"="+arrVals.join("."):n=arrayRemovePosition(n,e);break}}window.location.hash=n.join("&"),$(".main_content").fadeOut("fast"),callWithNewParam("start=0"),$(".main_content").fadeIn("fast")}}function arrayRemovePosition(a,t){for(var n=[],e=0;e<a.length;e++)e!=t&&n.push(a[e]);return n}function show_more(a,t,n){for(var e=$("#"+n+" > ul li.lv_search_tap.d-none"),r=0;r<10&&r<e.length;r++){var o=e[r];$(o).removeClass("lv_search_tap d-none").addClass("lv_search_tap dynNav_show_temp")}$("#"+t).show(),e.length>10?$("#"+a).show():$("#"+a).hide()}function show_less(a,t,n){$("#"+n+" > ul li.lv_search_tap.dynNav_show_temp").removeClass("lv_search_tap dynNav_show_temp").addClass("lv_search_tap d-none"),$("#"+t).hide(),$("#"+a).show()}function changepage(a,t){return $(".main_content").fadeOut("fast"),callWithNewParam(t?t+"start="+a:"start="+a),$(".main_content").fadeIn("fast"),!1} 17!function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h,r-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],n.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},n.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},n.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&t>s&&(s=Number(t))})),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t]}),this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;
vendor: 13,946 bytes, line 17
173!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var n=-1,o=this.width(),r=this.coordinates();return this.settings.freeDrag||t.each(r,t.proxy((function(t,a){return"left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-o-30&&e<a-o+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",r[t+1]!==s?r[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n}),this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?n=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(n=e=this.maximum())),n},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){if(e=this._items.length)for(i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?t=(t%(h+=1)+h)%h:t=Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(l)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,s){return t.inArray(i,this._states.tags[e.name])===s}),this)))},n.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},n.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.owlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}
17(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);for(i.lazyLoadEager>0&&(s+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,s++));n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy((function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this)).attr("src",r):o.is("source")?o.one("load.owl.lazy",t.proxy((function(){this._core.trigger("loaded",{element:o,url:r},"lazy")}),this)).attr("srcset",r):((n=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this),n.src=r)}),this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var s=this;t(e).on("load",(function(){s._core.settings.autoHeight&&s.update()})),t(e).resize((function(){s._core.settings.autoHeight&&(null!=s._intervalId&&clearTimeout(s._intervalId),s._intervalId=setTimeout((function(){s.update()}),250))}))};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,s=this._core.settings.lazyLoad,n=this._core.$stage.children().toArray().slice(e,i),o=[],r=0;t.each(n,(function(e,i){o.push(t(i).height())})),(r=Math.max.apply(null,o))<=1&&s&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");
vendor: 13,319 bytes, line 17
17if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=e.find("img"),a="src",h="",l=this._core.settings,c=function(i){'<div class="owl-video-play-icon"></div>',s=l.lazyLoad?t("<div/>",{class:"owl-video-tn "+h,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(s),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(a="data-src",h="owl-lazy"),r.length)return c(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),i.attr("width",o),"youtube"===n.type?i.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?i.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&i.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(s){this._call=e.setTimeout(t.proxy(this._next,this,s),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,s){var n;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-n,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,s),i-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy((function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s,n;for(t in n=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&n.navContainer?this._controls[e].html(""):this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=n}
17(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,(function(t,e){return t===s?e:null})).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)}),this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),(function(t,e){if(r[e]!==s)return n=!i||e,!1})),n}function o(t){return n(t,!0)}var r=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),h={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},l=function(){return!!n("transform")},c=function(){return!!n("perspective")},p=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=h.transition.end[t.support.transition]),p()&&(t.support.animation=new String(o("animation")),t.support.animation.end=h.animation.end[t.support.animation]),l()&&(t.support.transform=new String(o("transform")),t.support.transform3d=c())}(window.Zepto||window.jQuery,window,document); 18!function(t){var e={};function s(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,s),o.l=!0,o.exports}s.m=t,s.c=e,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)s.d(i,o,function(e){return t[e]}.bind(null,o));return i},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=0)}([function(t,e,s){"use strict";s.r(e),s.d(e,"AutoComplete",(function(){return h}));i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(t,e)},e=function(t,e){function s(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(s.prototype=e.prototype,new s)};var i,o,n,r=(p.prototype.getDefaults=function(){return{}},p.prototype.getResults=function(t,e,s){return this.results},p.prototype.search=function(t,e){e(this.getResults())},e(f,o=p),f.prototype.getDefaults=function(){return{url:"",method:"get",queryKey:"q",extraData:{},timeout:void 0,requestThrottling:500}},f.prototype.search=function(t,e){var s=this;null!=this.jqXHR&&this.jqXHR.abort();var i={};i[this._settings.queryKey]=t,$.extend(i,this._settings.extraData),this.requestTID&&window.clearTimeout(this.requestTID),this.requestTID=window.setTimeout((function(){s.jqXHR=$.ajax(s._settings.url,{method:s._settings.method,data:i,timeout:s._settings.timeout}),s.jqXHR.done((function(t){e(t)})),s.jqXHR.fail((function(t){var e;null===(e=s._settings)||void 0===e||e.fail(t)})),s.jqXHR.always((function(){s.jqXHR=null}))}),this._settings.requestThrottling)},f),l=(c.prototype.init=function(){var t=this,e=$.extend({},this._$el.position(),{height:this._$el[0].offsetHeight});this._dd=$("<ul />"),this._dd.addClass("bootstrap-autocomplete dropdown-menu"),this._dd.insertAfter(this._$el),this._dd.css({top:e.top+this._$el.outerHeight(),left
18:e.left,width:this._$el.outerWidth()}),this._dd.on("click","li",(function(e){e=$(e.currentTarget).data("item"),t.itemSelectedLaunchEvent(e)})),this._dd.on("keyup",(function(e){if(t.shown)return 27===e.which&&(t.hide(),t._$el.focus()),!1})),this._dd.on("mouseenter",(function(e){t.ddMouseover=!0})),this._dd.on("mouseleave",(function(e){t.ddMouseover=!1})),this._dd.on("mouseenter","li",(function(e){t.haveResults&&($(e.currentTarget).closest("ul").find("li.active").removeClass("active"),$(e.currentTarget).addClass("active"),t.mouseover=!0)})),this._dd.on("mouseleave","li",(function(e){t.mouseover=!1})),this.initialized=!0},c.prototype.checkInitialized=function(){this.initialized||this.init()},Object.defineProperty(c.prototype,"isMouseOver",{get:function(){return this.mouseover},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isDdMouseOver",{get:function(){return this.ddMouseover},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"haveResults",{get:function(){return 0<this.items.length},enumerable:!1,configurable:!0}),c.prototype.focusNextItem=function(t){var e,s;this.haveResults&&(e=this._dd.find("li.active"),0===(s=t?e.prev():e.next()).length&&(s=t?this._dd.find("li").last():this._dd.find("li").first()),e.removeClass("active"),s.addClass("active"))},c.prototype.focusPreviousItem=function(){this.focusNextItem(!0)},c.prototype.selectFocusItem=function(){this._dd.find("li.active").trigger("click")},Object.defineProperty(c.prototype,"isItemFocused",{get:function(){return!!(this.isShown()&&0<this._dd.find("li.active").length)},enumerable:!1,configurable:!0}),c.prototype.show=function(){this.shown||(this._dd.dropdown().show(),this.shown=!0)},c.prototype.isShown=function(){return this.shown},c.prototype.hide=function(){this.shown&&(this._dd.dropdown().hide(),this.shown=!1)},c.prototype.updateItems=function(t,e){this.items=t,this.searchText=e,this.refreshItemList()},c.prototype.showMatchedText=function(t,e){var s=t.toLowerCase().indexOf(e.toLowerCase());return-1<s?(e=s+e.length,t.slice(0,s)+"<b>"+t.slice(s,e)+"</b>"+t.slice(e)):t},c.prototype.refreshItemList=function(){var t=this;this.checkInitialized(),this._dd.empty();var e,s=[];0<this.items.length?this.items.forEach((function(e){var i;"string"==typeof(o=t.formatItem(e))&&(o={text:o}),n=t.showMatchedText(o.text,t.searchText),i=void 0!==o.html?o.html:n;var o,n=o.disabled;(o=$("<li >")).append($("<a>").attr("href","#!").html(i)).data("item",e),n&&o.addClass("disabled"),s.push(o)})):((e=$("<li >")).append($("<a>").attr("href","#!").html(this.noResultsText)).addClass("disabled"),s.push(e)),this._dd.append(s)},c.prototype.itemSelectedLaunchEvent=function(t){this._$el.trigger("autocomplete.select",t)},c),a=(u.prototype.getElPos=function(){return $.extend({},this._$el.position(),{height:this._$el[0].offsetHeight})},u.prototype.init=function(){var t=this,e=this.getElPos();this._dd=$("<div />"),this._dd.addClass("bootstrap-autocomplete dropdown-menu"),this._dd.insertAfter(this._$el),this._dd.css({top:e.top+this._$el.outerHeight(),left:e.left,width:this._$el.outerWidth()}),this._dd.on("click",".dropdown-item",(function(e){var s=$(e.currentTarget).data("item");t.itemSelectedLaunchEvent(s),e.preventDefault()})),this._dd.on("keyup",(function(e){if(t.shown)return 27===e.which&&(t.hide(),t._$el.focus()),!1})),this._dd.on("mouseenter",(function(e){t.ddMouseover=!0})),this._dd.on("mouseleave",(function(e){t.ddMouseover=!1})),this._dd.on("mouseenter",".dropdown-item",(function(e){t.haveResults&&($(e.currentTarget).closest("div").find(".dropdown-item.active").removeClass("active"),$(e.currentTarget).addClass("active"),t.mouseover=!0)})),this._dd.on("mouseleave",".dropdown-item",(function(e){t.mouseover=!1})),this.initialized=!0},u.prototype.checkInitialized=function(){this.initialized||this.init()},Object.defineProperty(u.prototype,"isMouseOver",{get:function(){return this.mouseover},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isDdMouseOver",{get:function(){return this.ddMouseover},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"haveResults",{get:function(){return 0<this.items.length}
vendor: 7,678 bytes, line 18
18,enumerable:!1,configurable:!0}),u.prototype.focusNextItem=function(t){var e,s;this.haveResults&&(e=this._dd.find(".dropdown-item.active"),0===(s=t?e.prev():e.next()).length&&(s=t?this._dd.find(".dropdown-item").last():this._dd.find(".dropdown-item").first()),e.removeClass("active"),s.addClass("active"))},u.prototype.focusPreviousItem=function(){this.focusNextItem(!0)},u.prototype.selectFocusItem=function(){this._dd.find(".dropdown-item.active").trigger("click")},Object.defineProperty(u.prototype,"isItemFocused",{get:function(){return!!(this._dd&&this.isShown()&&0<this._dd.find(".dropdown-item.active").length)},enumerable:!1,configurable:!0}),u.prototype.show=function(){this.shown||(this.getElPos(),this._dd.addClass("show"),this.shown=!0,this._$el.trigger("autocomplete.dd.shown"))},u.prototype.isShown=function(){return this.shown},u.prototype.hide=function(){this.shown&&(this._dd.removeClass("show"),this.shown=!1,this._$el.trigger("autocomplete.dd.hidden"))},u.prototype.updateItems=function(t,e){this.items=t,this.searchText=e,this.refreshItemList()},u.prototype.showMatchedText=function(t,e){var s=t.toLowerCase().indexOf(e.toLowerCase());return-1<s?(e=s+e.length,t.slice(0,s)+"<b>"+t.slice(s,e)+"</b>"+t.slice(e)):t},u.prototype.refreshItemList=function(){var t=this;this.checkInitialized(),this._dd.empty();var e,s=[];0<this.items.length?(this.items.forEach((function(e){var i;"string"==typeof(o=t.formatItem(e))&&(o={text:o}),n=t.showMatchedText(o.text,t.searchText),i=void 0!==o.html?o.html:n;var o,n=o.disabled;(o=$("<a >")).addClass("dropdown-item").css({overflow:"hidden","text-overflow":"ellipsis"}).html(i).data("item",e),n&&o.addClass("disabled"),s.push(o)})),this._dd.append(s),this.show()):""===this.noResultsText?this.hide():((e=$("<a >")).addClass("dropdown-item disabled").html(this.noResultsText),s.push(e),this._dd.append(s),this.show())},u.prototype.itemSelectedLaunchEvent=function(t){this._$el.trigger("autocomplete.select",t)},u),h=(d.prototype.manageInlineDataAttributes=function(){var t=this.getSettings();this._$el.data("url")&&(t.resolverSettings.url=this._$el.data("url")),this._$el.data("default-value")&&(this._defaultValue=this._$el.data("default-value")),this._$el.data("default-text")&&(this._defaultText=this._$el.data("default-text")),void 0!==this._$el.data("noresults-text")&&(t.noResultsText=this._$el.data("noresults-text"))},d.prototype.getSettings=function(){return this._settings},d.prototype.getBootstrapVersion=function(){return"auto"===this._settings.bootstrapVersion?$.fn.button.Constructor.VERSION.split(".").map(parseInt):"4"===this._settings.bootstrapVersion?[4]:"3"===this._settings.bootstrapVersion?[3]:(console.error("INVALID value for 'bootstrapVersion' settings property: "+this._settings.bootstrapVersion+" defaulting to 4"),[4])},d.prototype.convertSelectToText=function(){var t=$("<input>");t.attr("type","hidden"),t.attr("name",this._$el.attr("name")),this._defaultValue&&t.val(this._defaultValue),(this._selectHiddenField=t).insertAfter(this._$el);var e=$("<input>");e.attr("type","search"),e.attr("name",this._$el.attr("name")+"_text"),e.attr("id",this._$el.attr("id")),e.attr("disabled",this._$el.attr("disabled")),e.attr("placeholder",this._$el.attr("placeholder")),e.attr("autocomplete","off"),e.addClass(this._$el.attr("class")),this._defaultText&&e.val(this._defaultText),(t=this._$el.attr("required"))&&e.attr("required",t),e.data(d.NAME,this),this._$el.replaceWith(e),this._$el=e,this._el=e.get(0)},d.prototype.init=function(){this.bindDefaultEventListeners(),"ajax"===this._settings.resolver&&(this.resolver=new r(this._settings.resolverSettings)),4===this.getBootstrapVersion()[0]?this._dd=new a(this._$el,this._settings.formatResult,this._settings.autoSelect,this._settings.noResultsText):this._dd=new l(this._$el,this._settings.formatResult,this._settings.autoSelect,this._settings.noResultsText)},d.prototype.bindDefaultEventListeners=function(){var t=this;this._$el.on("keydown",(function(e){switch(e.which){case 9:t._dd.isItemFocused?t._dd.selectFocusItem():t._selectedItem||""!==t._$el.val()&&t._$el.trigger("autocomplete.freevalue",t._$el.val()),t._dd.hide();break;case 13:t._dd.isItemFocused?t._dd.selectFocusItem():t._selectedItem||""!==t._$el.val()&&t._$el.trigger("autocomplete.freevalue",t._$el.val()),t._dd.hide(),t._settings.preventEnter&&e.preventDefault();break;case 40:t._dd.focusNextItem();break;case 38:t._dd.focusPreviousItem()}})),this._$el.on("keyup",(function(e){switch(e.which){case 16:case 17:case 18:case 39:case 37:case 36:case 35:break;case 13:case 27:t._dd.hide();break;case 40:case 38:break;default:t._selectedItem=null;var s=t._$el.val();t.handlerTyped(s)}})),this._$el.on("blur",(function(e){!t._dd.isMouseOver&&t._dd.isDdMouseOver&&t._dd.isShown()?(setTimeout((function(){t._$el.focus()})),t._$el.focus()):t._dd.isMouseOver||(t._isSelectElement?t._dd.isItemFocused?t._dd.selectFocusItem():(null!==t._selectedItem&&""!==t._$el.val()||(""!==t._$el.val()&&null!==t._defaultValue?(t._$el.val(t._defaultText),t._selectHiddenField.val(t._defaultValue)):(t._$el.val(""),t._selectHiddenField.val("")),t._selectedItem=null),t._$el.trigger("autocomplete.select",t._selectedItem)):null===t._selectedItem&&t._$el.trigger("autocomplete.freevalue",t._$el.val()),t._dd.hide())})),this._$el.on("autocomplete.select",(function(e,s){t._selectedItem=s,t.itemSelectedDefaultHandler(s)})),this._$el.on("paste",(function(e){setTimeout((function(){t._$el.trigger("keyup",e)}),0)}))},d.prototype.handlerTyped=function(t){null!==this._settings.events.typed&&!(t=this._settings.events.typed(t,this._$el))||(t.length>=this._settings.minLength?(this._searchText=t,this.handlerPreSearch()):this._dd.hide())},d.prototype.handlerPreSearch=function(){if(null!==this._settings.events.searchPre){var t=this._settings.events.searchPre(this._searchText,this._$el);if(!t)return;this._searchText=t}this.handlerDoSearch()},d.prototype.handlerDoSearch=function(){var t=this;null!==this._settings.events.search?this._settings.events.search(this._searchText,(function(e){t.postSearchCallback(e)}),this._$el):this.resolver&&this.resolver.search(this._searchText,(function(e){t.postSearchCallback(e)}))},d.prototype.postSearchCallback=function(t){this._settings.events.searchPost&&"boolean"==typeof(t=this._settings.events.searchPost(t,this._$el))&&!t||this.handlerStartShow(t)},d.prototype.handlerStartShow=function(t){this._dd.updateItems(t,this._searchText)},d.prototype.itemSelectedDefaultHandler=function(t){var e;null!=t?("string"==typeof(e=this._settings.formatResult(t))&&(e={text:e}),this._$el.val(e.text),this._isSelectElement&&this._selectHiddenField.val(e.value)):(this._$el.val(""),this._isSelectElement&&this._selectHiddenField.val("")),this._selectedItem=t,this._dd.hide()},d.prototype.defaultFormatResult=function(t){return"string"==typeof t?{text:t}:t.text?t:{text:t.toString()}},d.prototype.manageAPI=function(t,e){"set"===t?this.itemSelectedDefaultHandler(e):"clear"===t?this.itemSelectedDefaultHandler(null):"show"===t?this._$el.trigger("keyup"):"updateResolver"===t&&(this.resolver=new r(e))},d.NAME="autoComplete",d);function d(t,e){this._selectedItem=null,this._defaultValue=null,this._defaultText=null,this._isSelectElement=!1,this._settings={resolver:"ajax",resolverSettings:{},minLength:3,valueKey:"value",formatResult:this.defaultFormatResult,autoSelect:!0,noResultsText:"No results",bootstrapVersion:"auto",preventEnter:!1,events:{typed:null,searchPre:null,search:null,searchPost:null,select:null,focus:null}},this._el=t,this._$el=$(this._el),this._$el.is("select")&&(this._isSelectElement=!0),this.manageInlineDataAttributes(),"object"==typeof e&&(this._settings=$.extend(!0,{}
18,this.getSettings(),e)),this._isSelectElement&&this.convertSelectToText(),this.init()}function u(t,e,s,i){this.initialized=!1,this.shown=!1,this.items=[],this.ddMouseover=!1,this._$el=t,this.formatItem=e,this.autoSelect=s,this.noResultsText=i}function c(t,e,s,i){this.initialized=!1,this.shown=!1,this.items=[],this.ddMouseover=!1,this._$el=t,this.formatItem=e,this.autoSelect=s,this.noResultsText=i}function f(t){return o.call(this,t)||this}function p(t){this._settings=$.extend(!0,{},this.getDefaults(),t)}n=jQuery,window,document,n.fn[h.NAME]=function(t,e){return this.each((function(){var s;(s=n(this).data(h.NAME))||(s=new h(this,t),n(this).data(h.NAME,s)),s.manageAPI(t,e)}))}}]); 19!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ejs=e()}}((function(){return function e(t,n,r){function i(s,c){if(!n[s]){if(!t[s]){var a="function"==typeof require&&require;if(!c&&a)return a(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){var n=t[s][1][e];return i(n||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){"use strict"; 20/** 21 * @file Embedded JavaScript templating engine. {@link http://ejs.co} 22 * @author Matthew Eernisse <[email protected]> 23 * @author Tiancheng "Timothy" Gu <[email protected]> 24 * @project EJS 25 * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0} 26 */var r=e("fs"),i=e("path"),o=e("./utils"),s=!1,c=e("../package.json").version,a="<",l=">",u="%",p="locals",h=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],f=h.concat("cache"),m=/^\uFEFF/;function d(e,t){var i,o,s=t.views,c=/^[A-Za-z]+:\\|^\//.exec(e);if(c&&c.length)i=n.resolveInclude(e.replace(/^\/*/,""),t.root||"/",!0);else if(t.filename&&(o=n.resolveInclude(e,t.filename),r.existsSync(o)&&(i=o)),i||Array.isArray(s)&&s.some((function(t){return o=n.resolveInclude(e,t,!0),r.existsSync(o)}))&&(i=o),!i)throw new Error('Could not find the include file "'+t.escapeFunction(e)+'"');return i}function g(e,t){var r,i=e.filename,o=arguments.length>1;
26if(e.cache){if(!i)throw new Error("cache option requires a filename");if(r=n.cache.get(i))return r;o||(t=w(i).toString().replace(m,""))}else if(!o){if(!i)throw new Error("Internal EJS error: no file name or template provided");t=w(i).toString().replace(m,"")}return r=n.compile(t,e),e.cache&&n.cache.set(i,r),r}function v(e,t,r){var i;if(!r){if("function"==typeof n.promiseImpl)return new n.promiseImpl((function(n,r){try{n(i=g(e)(t))}catch(e){r(e)}}));throw new Error("Please provide a callback function")}try{i=g(e)(t)}catch(e){return r(e)}r(null,i)}function w(e){return n.fileLoader(e)}function _(e,t,n,r,i){var o=t.split("\n"),s=Math.max(r-3,0),c=Math.min(o.length,r+3),a=i(n),l=o.slice(s,c).map((function(e,t){var n=t+s+1;return(n==r?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=a,e.message=(a||"ejs")+":"+r+"\n"+l+"\n\n"+e.message,e}function y(e){return e.replace(/;(\s*$)/,"$1")}function b(e,t){t=t||{};var r={};this.templateText=e,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",this.dependencies=[],r.client=t.client||!1,r.escapeFunction=t.escape||t.escapeFunction||o.escapeXML,r.compileDebug=!1!==t.compileDebug,r.debug=!!t.debug,r.filename=t.filename,r.openDelimiter=t.openDelimiter||n.openDelimiter||a,r.closeDelimiter=t.closeDelimiter||n.closeDelimiter||l,r.delimiter=t.delimiter||n.delimiter||u,r.strict=t.strict||!1,r.context=t.context,r.cache=t.cache||!1,r.rmWhitespace=t.rmWhitespace,r.root=t.root,r.outputFunctionName=t.outputFunctionName,r.localsName=t.localsName||n.localsName||p,r.views=t.views,r.async=t.async,r.strict?r._with=!1:r._with=void 0===t._with||t._with,this.opts=r,this.regex=this.createRegex()}n.cache=o.cache,n.fileLoader=r.readFileSync,n.localsName=p,n.promiseImpl=new Function("return this;")().Promise,n.resolveInclude=function(e,t,n){var r=i.dirname,o=i.extname,s=(0,i.resolve)(n?t:r(t),e);return o(e)||(s+=".ejs"),s},n.compile=function(e,t){return t&&t.scope&&(s||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),s=!0),t.context||(t.context=t.scope),delete t.scope),new b(e,t).compile()},n.render=function(e,t,n){var r=t||{},i=n||{};return 2==arguments.length&&o.shallowCopyFromList(i,r,h),g(i,e)(r)},n.renderFile=function(){var e,t,n,r=Array.prototype.slice.call(arguments),i=r.shift(),s={filename:i};return"function"==typeof arguments[arguments.length-1]&&(e=r.pop()),r.length?(t=r.shift(),r.length?o.shallowCopy(s,r.pop()):(t.settings&&(t.settings.views&&(s.views=t.settings.views),t.settings["view cache"]&&(s.cache=!0),(n=t.settings["view options"])&&o.shallowCopy(s,n)),o.shallowCopyFromList(s,t,f)),s.filename=i):t={},v(s,t,e)},n.Template=b,n.clearCache=function(){n.cache.reset()},b.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},b.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=o.escapeRegExpChars(this.opts.delimiter),n=o.escapeRegExpChars(this.opts.openDelimiter),r=o.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(/</g,n).replace(/>/g,r),new RegExp(e)},compile:function(){var e,t,n,r=this.opts,i="",s="",c=r.escapeFunction;this.source||(this.generateSource(),i+=" var __output = [], __append = __output.push.bind(__output);\n",r.outputFunctionName&&(i+=" var "+r.outputFunctionName+" = __append;\n"),!1!==r._with&&(i+=" with ("+r.localsName+" || {}) {\n",s+=" }\n"),s+=' return __output.join("");\n',this.source=i+this.source+s),e=r.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+(r.filename?JSON.stringify(r.filename):"undefined")+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,r.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,r.compileDebug&&(e="rethrow = rethrow || "+_.toString()+";\n"+e)),r.strict&&(e='"use strict";\n'+e),r.debug&&console.log(e);try{if(r.async)try{n=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else n=Function;t=new n(r.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(r.filename&&(e.message+=" in "+r.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",e.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass async: true as an option.")),e}if(r.client)return t.dependencies=this.dependencies,t;var a=function(e){return t.apply(r.context,[e||{},c,function(t,n){var i=o.shallowCopy({},e);return n&&(i=o.shallowCopy(i,n)),function(e,t){var n=o.shallowCopy({},t);return n.filename=d(e,n),g(n)}(t,r)(i)},_])};return a.dependencies=this.dependencies,a},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),r=this.opts.delimiter,i=this.opts.openDelimiter,s=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(c,a){var l,u,p,h,f,g;if(0===c.indexOf(i+r)&&0!==c.indexOf(i+r+r)&&(u=t[a+2])!=r+s&&u!="-"+r+s&&u!="_"+r+s)throw new Error('Could not find matching close tag for "'+c+'".');if((p=c.match(/^\s*include\s+(\S+)/))&&(l=t[a-1])&&(l==i+r||l==i+r+"-"||l==i+r+"_"))return h=o.shallowCopy({},e.opts),f=function(e,t){var n,r,i=o.shallowCopy({},t);r=w(n=d(e,i)).toString().replace(m,""),i.filename=n;var s=new b(r,i);return s.generateSource(),{source:s.source,filename:n,template:r}}
26(p[1],h),g=e.opts.compileDebug?" ; (function(){\n var __line = 1\n , __lines = "+JSON.stringify(f.template)+"\n , __filename = "+JSON.stringify(f.filename)+";\n try {\n"+f.source+" } catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n }\n ; }).call(this)\n":" ; (function(){\n"+f.source+" ; }).call(this)\n",e.source+=g,void e.dependencies.push(n.resolveInclude(p[1],h.filename));e.scanLine(c)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,r=n.exec(t),i=[];r;)0!==(e=r.index)&&(i.push(t.substring(0,e)),t=t.slice(e)),i.push(r[0]),t=t.slice(r[0].length),r=n.exec(t);return t&&i.push(t),i},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case r+n:case r+n+"_":this.mode=b.modes.EVAL;break;case r+n+"=":this.mode=b.modes.ESCAPED;break;case r+n+"-":this.mode=b.modes.RAW;break;case r+n+"#":this.mode=b.modes.COMMENT;break;case r+n+n:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(r+n+n,r+n)+'")\n';break;case n+n+i:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+i,n+i)+'")\n';break;case n+i:case"-"+n+i:case"_"+n+i:this.mode==b.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case b.modes.EVAL:case b.modes.ESCAPED:case b.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case b.modes.EVAL:this.source+=" ; "+e+"\n";break;case b.modes.ESCAPED:this.source+=" ; __append(escapeFn("+y(e)+"))\n";break;case b.modes.RAW:this.source+=" ; __append("+y(e)+")\n";break;case b.modes.COMMENT:break;case b.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},n.escapeXML=o.escapeXML,n.__express=n.renderFile,e.extensions&&(e.extensions[".ejs"]=function(e,t){console.log("Deprecated: this API will go away in EJS v2.8");var r=t||e.filename,i={filename:r,client:!0},o=w(r).toString(),s=n.compile(o,i);e._compile("module.exports = "+s.toString()+";",r)}),n.VERSION=c,n.name="ejs","undefined"!=typeof window&&(window.ejs=n)},{"../package.json":6,"./utils":2,fs:3,path:4}],2:[function(e,t,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;n.escapeRegExpChars=function(e){return e?String(e).replace(r,"\\$&"):""};var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o=/[&<>'"]/g;function s(e){return i[e]||e}n.escapeXML=function(e){return null==e?"":String(e).replace(o,s)},n.escapeXML.toString=function(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'},n.shallowCopy=function(e,t){for(var n in t=t||{})e[n]=t[n];return e},n.shallowCopyFromList=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];void 0!==t[i]&&(e[i]=t[i])}return e},n.cache={_data:{},set:function(e,t){this._data[e]=t},get:function(e){return this._data[e]},remove:function(e){delete this._data[e]},reset:function(){this._data={}}}},{}],3:[function(e,t,n){},{}],4:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}n.resolve=function(){for(var n="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var s=i>=0?arguments[i]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(n=s+"/"+n,r="/"===s.charAt(0))}return(r?"/":"")+(n=t(o(n.split("/"),(function(e){return!!e})),!r).join("/"))||"."},n.normalize=function(e){var r=n.isAbsolute(e),i="/"===s(e,-1);return(e=t(o(e.split("/"),(function(e){return!!e})),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(o(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),s=Math.min(i.length,o.length),c=s,a=0;a<s;a++)if(i[a]!==o[a]){c=a;break}var l=[];for(a=c;a<i.length;a++)l.push("..");return(l=l.concat(o.slice(c))).join("/")}
26,n.sep="/",n.delimiter=":",n.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return i(e)[3]};var s="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:5}],5:[function(e,t,n){var r,i,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{i="function"==typeof clearTimeout?clearTimeout:c}catch(e){i=c}}();var l,u=[],p=!1,h=-1;function f(){p&&l&&(p=!1,l.length?u=l.concat(u):h=-1,u.length&&m())}function m(){if(!p){var e=a(f);p=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-1,t=u.length}l=null,p=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===c||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||p||a(m)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],6:[function(e,t,n){t.exports={name:"ejs",description:"Embedded JavaScript templates",keywords:["template","engine","ejs"],version:"2.7.0",author:"Matthew Eernisse <[email protected]> (http://fleegix.org)",contributors:["Timothy Gu <[email protected]> (https://timothygu.github.io)"],license:"Apache-2.0",main:"./lib/ejs.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{},devDependencies:{browserify:"^13.1.1",eslint:"^4.14.0","git-directory-deploy":"^1.5.1",istanbul:"~0.4.3",jake:"^8.0.16",jsdoc:"^3.4.0","lru-cache":"^4.0.1",mocha:"^5.0.5","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"jake test",lint:'eslint "**/*.js" Jakefile',coverage:"istanbul cover node_modules/mocha/bin/_mocha",doc:"jake doc",devdoc:"jake doc[dev]"}}},{}]},{},[1])(1)})); 27!function(e){var r=function(r,t){var n={cache:!0,filename:t},x=r||{};return e.extend(x,n)};ejs.rr=function(t,n,x){var a=ejs.cache.get(t);if(a)return a(n);var c=ejs.cache.get("getFnFor"+t);c||(c=e.get(t),ejs.cache.set("getFnFor"+t,c));var s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=16*Math.random()|0;return("x"==e?r:3&r|8).toString(16)}));return c.then((function(a){var c=r(x,t);e("#"+s).replaceWith(ejs.render(a,n,c)),ejs.cache.remove&&ejs.cache.get("getFnFor"+t)&&ejs.cache.remove("getFnFor"+t)})),'<span class="ejs-templateplaceholder" style="display: none;" id="'+s+'"></span>'},ejs.preloadTemplate=function(t,n){var x=e.Deferred();return ejs.cache.get(t)?x.resolve(t):e.get(t).then((function(e){var a=r(n,t),c=ejs.compile(e,a);ejs.cache.set(t,c),x.resolve(t)})),x}}(jQuery); 28!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.page=e()}(this,(function(){"use strict";var t=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},e=l,n=s,i=function(t){return h(s(t))},o=h,r=d,a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function s(t){for(var e,n=[],i=0,o=0,r="";null!=(e=a.exec(t));){var s=e[0],h=e[1],c=e.index;if(r+=t.slice(o,c),o=c+s.length,h)r+=h[1];else{r&&(n.push(r),r="");var u=e[2],f=e[3],d=e[4],l=e[5],g=e[6],v=e[7],m="+"===g||"*"===g,w="?"===g||"*"===g,y=u||"/",_=d||l||(v?".*":"[^"+y+"]+?");n.push({name:f||i++,prefix:u||"",delimiter:y,optional:w,repeat:m,pattern:p(_)})}}return o<t.length&&(r+=t.substr(o)),r&&n.push(r),n}function h(e){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^"+e[i].pattern+"$"));return function(i){for(var o="",r=i||{},a=0;a<e.length;a++){var s=e[a];if("string"!=typeof s){var h,c=r[s.name];if(null==c){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to be defined')}if(t(c)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received "'+c+'"');if(0===c.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var p=0;p<c.length;p++){if(h=encodeURIComponent(c[p]),!n[a].test(h))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received "'+h+'"');o+=(0===p?s.prefix:s.delimiter)+h}}else{if(h=encodeURIComponent(c),!n[a].test(h))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+h+'"');o+=s.prefix+h}}else o+=s}return o}}function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function p(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function u(t,e){return t.keys=e,t}function f(t){return t.sensitive?"":"i"}function d(t,e){for(var n=(e=e||{}).strict,i=!1!==e.end,o="",r=t[t.length-1],a="string"==typeof r&&/\/$/.test(r),s=0;s<t.length;s++){var h=t[s];if("string"==typeof h)o+=c(h);else{var p=c(h.prefix),u=h.pattern;h.repeat&&(u+="(?:"+p+u+")*"),o+=u=h.optional?p?"(?:"+p+"("+u+"))?":"("+u+")?":p+"("+u+")"}}return n||(o=(a?o.slice(0,-2):o)+"(?:\\/(?=$))?"),o+=i?"$":n&&a?"":"(?=\\/|$)",new RegExp("^"+o,f(e))}function l(e,n,i){return t(n=n||[])?i||(i={}):(i=n,n=[]),e instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return u(t,e)}(e,n):t(e)?function(t,e,n){for(var i=[],o=0;o<t.length;o++)i.push(l(t[o],e,n).source);return u(new RegExp("(?:"+i.join("|")+")",f(n)),e)}(e,n,i):function(t,e,n){for(var i=s(t),o=d(i,n),r=0;r<i.length;r++)"string"!=typeof i[r]&&e.push(i[r]);return u(o,e)}(e,n,i)}e.parse=n,e.compile=i,e.tokensToFunction=o,e.tokensToRegExp=r;var g,v="undefined"!=typeof document,m="undefined"!=typeof window,w="undefined"!=typeof history,y="undefined"!=typeof process,_=v&&document.ontouchstart?"touchstart":"click",b=m&&!(!window.history.location&&!window.location);function x(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function E(t,e){if("function"==typeof t)return E.call(this,"*",t);if("function"==typeof e)for(var n=new U(t,null,this),i=1;i<arguments.length;++i)this.callbacks.push(n.middleware(arguments[i]));else"string"==typeof t?this["string"==typeof e?"redirect":"show"](t,e):this.start(t)}function R(t){if(!t.handled){var e=this._window;(this._hashbang?b&&this._getBase()+e.location.hash.replace("#!",""):b&&e.location.pathname+e.location.search)!==t.canonicalPath&&(this.stop(),t.handled=!1,b&&(e.location.href=t.canonicalPath))}}function k(t,e,n){var i=this.page=n||E,o=i._window,r=i._hashbang,a=i._getBase();"/"===t[0]&&0!==t.indexOf(a)&&(t=a+(r?"#!":"")+t);var s=t.indexOf("?");this.canonicalPath=t;var h=new RegExp("^"+a.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"));if(this.path=t.replace(h,"")||"/",r&&(this.path=this.path.replace("#!","")||"/"),this.title=v&&o.document.title,this.state=e||{},this.state.path=t,this.querystring=~s?i._decodeURLEncodedURIComponent(t.slice(s+1)):"",this.pathname=i._decodeURLEncodedURIComponent(~s?t.slice(0,s):t),this.params={},this.hash="",!r){if(!~this.path.indexOf("#"))return;var c=this.path.split("#");this.path=this.pathname=c[0],this.hash=i._decodeURLEncodedURIComponent(c[1])||"",this.querystring=this.querystring.split("#")[0]}}function U(t,n,i){this.page=i||L;var o=n||{};o.strict=o.strict||i._strict,this.path="*"===t?"(.*)":t,this.method="GET",this.regexp=e(this.path,this.keys=[],o)}x.prototype.configure=function(t){var e=t||{};this._window=e.window||m&&window,this._decodeURLComponents=!1!==e.decodeURLComponents,this._popstate=!1!==e.popstate&&m,this._click=!1!==e.click&&v,this._hashbang=!!e.hashbang;var n=this._window;this._popstate?n.addEventListener("popstate",this._onpopstate,!1):m&&n.removeEventListener("popstate",this._onpopstate,!1),this._click?n.document.addEventListener(_,this.clickHandler,!1):v&&n.document.removeEventListener(_,this.clickHandler,!1),this._hashbang&&m&&!w?n.addEventListener("hashchange",this._onpopstate,!1):m&&n.removeEventListener("hashchange",this._onpopstate,!1)}
28,x.prototype.base=function(t){if(0===arguments.length)return this._base;this._base=t},x.prototype._getBase=function(){var t=this._base;if(t)return t;var e=m&&this._window&&this._window.location;return m&&this._hashbang&&e&&"file:"===e.protocol&&(t=e.pathname),t},x.prototype.strict=function(t){if(0===arguments.length)return this._strict;this._strict=t},x.prototype.start=function(t){var e=t||{};if(this.configure(e),!1!==e.dispatch){var n;if(this._running=!0,b){var i=this._window.location;n=this._hashbang&&~i.hash.indexOf("#!")?i.hash.substr(2)+i.search:this._hashbang?i.search+i.hash:i.pathname+i.search+i.hash}this.replace(n,null,!0,e.dispatch)}},x.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var t=this._window;this._click&&t.document.removeEventListener(_,this.clickHandler,!1),m&&t.removeEventListener("popstate",this._onpopstate,!1),m&&t.removeEventListener("hashchange",this._onpopstate,!1)}},x.prototype.show=function(t,e,n,i){var o=new k(t,e,this),r=this.prevContext;return this.prevContext=o,this.current=o.path,!1!==n&&this.dispatch(o,r),!1!==o.handled&&!1!==i&&o.pushState(),o},x.prototype.back=function(t,e){var n=this;if(this.len>0){var i=this._window;w&&i.history.back(),this.len--}else t?setTimeout((function(){n.show(t,e)})):setTimeout((function(){n.show(n._getBase(),e)}))},x.prototype.redirect=function(t,e){var n=this;"string"==typeof t&&"string"==typeof e&&E.call(this,t,(function(t){setTimeout((function(){n.replace(e)}),0)})),"string"==typeof t&&void 0===e&&setTimeout((function(){n.replace(t)}),0)},x.prototype.replace=function(t,e,n,i){var o=new k(t,e,this),r=this.prevContext;return this.prevContext=o,this.current=o.path,o.init=n,o.save(),!1!==i&&this.dispatch(o,r),o},x.prototype.dispatch=function(t,e){var n=0,i=0,o=this;function r(){var e=o.callbacks[n++];if(t.path===o.current)return e?void e(t,r):R.call(o,t);t.handled=!1}e?function t(){var n=o.exits[i++];if(!n)return r();n(e,t)}():r()},x.prototype.exit=function(t,e){if("function"==typeof t)return this.exit("*",t);for(var n=new U(t,null,this),i=1;i<arguments.length;++i)this.exits.push(n.middleware(arguments[i]))},x.prototype.clickHandler=function(t){if(1===this._which(t)&&!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented)){var e=t.target,n=t.path||(t.composedPath?t.composedPath():null);if(n)for(var i=0;i<n.length;i++)if(n[i].nodeName&&"A"===n[i].nodeName.toUpperCase()&&n[i].href){e=n[i];break}for(;e&&"A"!==e.nodeName.toUpperCase();)e=e.parentNode;if(e&&"A"===e.nodeName.toUpperCase()){var o="object"==typeof e.href&&"SVGAnimatedString"===e.href.constructor.name;if(!e.hasAttribute("download")&&"external"!==e.getAttribute("rel")){var r=e.getAttribute("href");if((this._hashbang||!this._samePath(e)||!e.hash&&"#"!==r)&&!(r&&r.indexOf("mailto:")>-1)&&(o?!e.target.baseVal:!e.target)&&(o||this.sameOrigin(e.href))){var a=o?e.href.baseVal:e.pathname+e.search+(e.hash||"");a="/"!==a[0]?"/"+a:a,y&&a.match(/^\/[a-zA-Z]:\//)&&(a=a.replace(/^\/[a-zA-Z]:\//,"/"));var s=a,h=this._getBase();0===a.indexOf(h)&&(a=a.substr(h.length)),this._hashbang&&(a=a.replace("#!","")),(!h||s!==a||b&&"file:"===this._window.location.protocol)&&(t.preventDefault(),this.show(s))}}}}},x.prototype._onpopstate=(g=!1,m?(v&&"complete"===document.readyState?g=!0:window.addEventListener("load",(function(){setTimeout((function(){g=!0}),0)})),function(t){if(g)if(t.state){var e=t.state.path;this.replace(e,t.state)}else if(b){var n=this._window.location;this.show(n.pathname+n.search+n.hash,void 0,void 0,!1)}}):function(){}),x.prototype._which=function(t){return null==(t=t||m&&this._window.event).which?t.button:t.which},x.prototype._toURL=function(t){var e=this._window;if("function"==typeof URL&&b)return new URL(t,e.location.toString());if(v){var n=e.document.createElement("a");return n.href=t,n}},x.prototype.sameOrigin=function(t){if(!t||!b)return!1;var e=this._toURL(t),n=this._window.location;return n.protocol===e.protocol&&n.hostname===e.hostname&&(n.port===e.port||""===n.port&&(80==e.port||443==e.port))},x.prototype._samePath=function(t){if(!b)return!1;var e=this._window.location;return t.pathname===e.pathname&&t.search===e.search},x.prototype._decodeURLEncodedURIComponent=function(t){return"string"!=typeof t?t:this._decodeURLComponents?decodeURIComponent(t.replace(/\+/g," ")):t},k.prototype.pushState=function(){var t=this.page,e=t._window,n=t._hashbang;t.len++,w&&e.history.pushState(this.state,this.title,n&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},k.prototype.save=function(){var t=this.page;w&&t._window.history.replaceState(this.state,this.title,t._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},U.prototype.middleware=function(t){var e=this;
28return function(n,i){if(e.match(n.path,n.params))return t(n,i);i()}},U.prototype.match=function(t,e){var n=this.keys,i=t.indexOf("?"),o=~i?t.slice(0,i):t,r=this.regexp.exec(decodeURIComponent(o));if(!r)return!1;delete e[0];for(var a=1,s=r.length;a<s;++a){var h=n[a-1],c=this.page._decodeURLEncodedURIComponent(r[a]);void 0===c&&hasOwnProperty.call(e,h.name)||(e[h.name]=c)}return!0};var L=function t(){var e=new x;function n(){return E.apply(e,arguments)}return n.callbacks=e.callbacks,n.exits=e.exits,n.base=e.base.bind(e),n.strict=e.strict.bind(e),n.start=e.start.bind(e),n.stop=e.stop.bind(e),n.show=e.show.bind(e),n.back=e.back.bind(e),n.redirect=e.redirect.bind(e),n.replace=e.replace.bind(e),n.dispatch=e.dispatch.bind(e),n.exit=e.exit.bind(e),n.configure=e.configure.bind(e),n.sameOrigin=e.sameOrigin.bind(e),n.clickHandler=e.clickHandler.bind(e),n.create=t,Object.defineProperty(n,"len",{get:function(){return e.len},set:function(t){e.len=t}}),Object.defineProperty(n,"current",{get:function(){return e.current},set:function(t){e.current=t}}),n.Context=k,n.Route=U,n}(),C=L,O=L;return C.default=O,C})); 29void 0===window.WebBaseAprovLV&&(window.WebBaseAprovLV={}),WebBaseAprovLV.config={projectId:"b171e015-cbc7-01c2-37ab-6bce92a87191",apiUrl:"https://deliver.kontent.ai/b171e015-cbc7-01c2-37ab-6bce92a87191",apiHeaders:{},defaultLang:"de",langId:{de:"00000000-0000-0000-0000-000000000000",it:"f7ad7e1a-4206-4b85-926b-b955ea74de14",lld:"89702daa-6861-4ff8-9b2f-d8fe89e12ece",en:"c50ef3f2-37fa-49ee-9282-9ea886183651"},authorities:{de:"https://home.provinz.bz.it/",it:"https://home.provincia.bz.it/",lld:"https://home.provinzia.bz.it/",en:"https://home.province.bz.it/"},environment:"prod",noovleSearchApiUrl:"https://api.integrations.services.siag.it/pub/cocweb/quelix/aprov/api/search?",noovleSearchCollection:"coll_lv_all_",templatesPath:"/js/templates/",socialIcons:{de:[{type:"facebook",url:"https://it-it.facebook.com/LandSuedtirol"},{type:"instagram",url:"https://www.instagram.com/land.suedtirol"},{type:"linkedin",url:"https://www.linkedin.com/company/provincia-autonoma-di-bolzano/mycompany/?viewAsMember=true"},{type:"youtube",url:"https://www.youtube.com/user/LRegSuedtirol?sub_confirmation=1"},{type:"tiktok",url:"https://www.tiktok.com/@suedtirol.altoadige?_t=8oELM9XtCRl&_r=1"},{type:"whatsapp",url:"https://www.whatsapp.com/channel/0029VakZIAhGpLHOcoJYnG0E"}],it:[{type:"facebook",url:"https://it-it.facebook.com/ProvinciaBolzano"},{type:"instagram",url:"https://www.instagram.com/provincia.bolzano"},{type:"linkedin",url:"https://www.linkedin.com/company/provincia-autonoma-di-bolzano/mycompany/?viewAsMember=true"},{type:"youtube",url:"https://www.youtube.com/user/ProvBolzano?sub_confirmation=1"},{type:"tiktok",url:"https://www.tiktok.com/@suedtirol.altoadige?_t=8oELM9XtCRl&_r=1"},{type:"whatsapp",url:"https://www.whatsapp.com/channel/0029VabvGrJJ3juy10eOBi1S"}],en:[{type:"facebook",url:"https://it-it.facebook.com/LandSuedtirol"},{type:"instagram",url:"https://www.instagram.com/land.suedtirol"},{type:"linkedin",url:"https://www.linkedin.com/company/provincia-autonoma-di-bolzano/mycompany/?viewAsMember=true"},{type:"youtube",url:"https://www.youtube.com/user/LRegSuedtirol?sub_confirmation=1"},{type:"tiktok",url:"https://www.tiktok.com/@suedtirol.altoadige?_t=8oELM9XtCRl&_r=1"},{type:"whatsapp",url:"https://www.whatsapp.com/channel/0029VakZIAhGpLHOcoJYnG0E"}],lld:[{type:"facebook",url:"https://www.facebook.com/provinziadebulsan"},{type:"instagram",url:"https://www.instagram.com/provinzia.bulsan"},{type:"linkedin",url:"https://www.linkedin.com/company/provincia-autonoma-di-bolzano/mycompany/?viewAsMember=true"},{type:"youtube",url:"https://www.youtube.com/@ProvinziaBulsan"},{type:"tiktok",url:"https://www.tiktok.com/@suedtirol.altoadige?_t=8oELM9XtCRl&_r=1"},{type:"whatsapp",url:"https://www.whatsapp.com/channel/0029VakZIAhGpLHOcoJYnG0E"}]},cookieiub:{siteId:2973352,iub:{de:{lang:"de",cookiePolicyId:99764048,cookiePolicyUrl:"/de/cookie",privacyPolicyUrl:"/de/privacy"},it:{lang:"it",cookiePolicyId:98772775,cookiePolicyUrl:"/it/cookie",privacyPolicyUrl:"/it/privacy"},en:{lang:"en-GB",cookiePolicyId:69332559,cookiePolicyUrl:"/en/cookie",privacyPolicyUrl:"/en/privacy"}
29,lld:{lang:"de",cookiePolicyId:99764048,cookiePolicyUrl:"/lld/cookie",privacyPolicyUrl:"/lld/privacy"}}}}; 30!function(){var e;void 0===window.WebBaseAprovLV&&(window.WebBaseAprovLV={}),WebBaseAprovLV.lang=(WebBaseAprovLV.config||{}).defaultLang||"de",WebBaseAprovLV.i18n={},WebBaseAprovLV.pagingWindow=9,WebBaseAprovLV.version={template:"2026-03-17T14:18:20.937Z",i18n:"2026-03-17T14:18:20.937Z"},e=function(){function e(){this.count=0,this.store={}}return e.prototype.get=function(e,t){return e&&e.length&&this.store[e]?("function"==typeof t&&t.call(null,this.store[e]),this.store[e]):{timestamp:null,type:null,value:null}},e.prototype.set=function(e,t){var n=null;return e&&e.length&&(this.store[e]?n=this.store[e]:++this.count,this.store[e]={timestamp:(new Date).getTime(),type:e.match(/[^.]*/)[0],value:t}),n||{timestamp:null,type:null,value:null}},e.prototype.del=function(e){return e&&this.store[e]&&(delete this.store[e],--this.count),null},e}(),WebBaseAprovLV.Cache=new e,String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))}),WebBaseAprovLV.Utils={},WebBaseAprovLV.Utils.getTemplate=function(e){return $.get(WebBaseAprovLV.config.templatesPath+e+".ejs.html?v="+WebBaseAprovLV.version.template)},WebBaseAprovLV.Utils.getKKData=function(e,t,n=0){var r=100*Math.pow(2,n),i=WebBaseAprovLV.config.apiUrl||"",o=WebBaseAprovLV.config.apiHeaders||{};return(t||"").length?i=i.replace(WebBaseAprovLV.config.projectId,t):WebBaseAprovLV.config.apiUrlPreview&&WebBaseAprovLV.config.apiHeadersPreview&&(i=WebBaseAprovLV.config.apiUrlPreview,o=WebBaseAprovLV.config.apiHeadersPreview),$.ajax({url:i+"/items"+e+"&system.language="+WebBaseAprovLV.lang+"&language="+WebBaseAprovLV.lang,type:"GET",dataType:"json",headers:o}).fail((function(i,o,a){return i&&425===i.status&&n<3?(console.warn("425 Too Early - retry "+(n+1)+"/3 in "+r+"ms"),$.Deferred((function(i){setTimeout((function(){WebBaseAprovLV.Utils.getKKData(e,t,n+1).done(i.resolve).fail(i.reject)}),r)})).promise()):$.Deferred().rejectWith(this,arguments).promise()}))},WebBaseAprovLV.Utils.getTaxonomies=function(e,t){var n=WebBaseAprovLV.config.apiUrl||"",r=WebBaseAprovLV.config.apiHeaders||{};(t||"").length?n=n.replace(WebBaseAprovLV.config.projectId,t):WebBaseAprovLV.config.apiUrlPreview&&WebBaseAprovLV.config.apiHeadersPreview&&(n=WebBaseAprovLV.config.apiUrlPreview,r=WebBaseAprovLV.config.apiHeadersPreview);var i=(e=e||{}).groupname||"";return i.length&&(i="/"+e.groupname),$.ajax({url:n+"/taxonomies"+i,type:"GET",dataType:"json",headers:r})},WebBaseAprovLV.Utils.getServiceEditorData=function(e){return $.getJSON("https://api.integrations.services.siag.it/pub/cocweb/serviceeditor/civis/api/"+e).catch((function(){return{Items:[],Total:0}})).promise()},WebBaseAprovLV.Utils.getServiceEditorDataQuelixByOrganization=function(e){e=e||{};var t=String(e.organizationID||"").trim();if(!t.length)return $.Deferred().resolve([{Items:[],Total:0}]).promise();var n=(e.lang||WebBaseAprovLV.lang||"de").toLowerCase(),r={de:"d",it:"i",en:"e",lld:"lld"}[n]||n,i={de:"DE",it:"IT",en:"EN",lld:"DE"}[n]||"DE",o="it"===n,a=o?"coll_lv_aprov_it_newservice":"coll_lv_aprov_de_newservice",s=o?"civis_bz_it":"civis_bz_de";function l(e){return String(e||"").replace(/<script[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<style[^>]*>[\s\S]*?<\/style>/gi,"").replace(/<\/?[^>]+>/g,"").replace(/ /g," ").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\s+/g," ").trim()}function u(e){return Array.isArray(e)&&e.length?e[0]:""}var c=String(e.orgField||"ORGANISATION_ID").trim(),p=encodeURIComponent(c)+"%3A"+encodeURIComponent(t),g="https://api.integrations.services.siag.it/pub/cocweb/quelix/aprov/api/search?site="+encodeURIComponent(e.site||a)+"&proxystylesheet=json&client="+encodeURIComponent(e.client||s)+"&lang="+encodeURIComponent(r)+"&getfields=*&num="+encodeURIComponent(String(e.num||50))+"&filter=0&sort=meta:SEHI_TITLE:::"+encodeURIComponent(i)+"&q="+encodeURIComponent(e.q||"mycivis*")+"&requiredfields="+p;return $.ajax({url:g,dataType:"jsonp",cache:!0,timeout:e.timeout||15e3}).then((function(e){var t=((((e||{}).GSP||{}).RES||{}).R||[]).map((function(e){var t=e.MT||{},n=u(t.URI)||"",r=u(t.SEHI_TITLE)||e.T||"",i=l(e.S)||l(u(t.SEHI_DESC))||"";i.length>350&&(i=i.slice(0,347)+"...");var o,a="True"===(!0===(o=u(t.IS_ONLINE))?"True":!1===o?"False":String(o||""))?"EGOV":"INFO",s=n?parseInt(n,10):NaN;return isFinite(s)?{id:s,Organization:{id:null},Snippet:{title:r,serviceType:a,shortDescription:i,relatedServicesCount:0,resourceGroupsCount:0}}:null}
30)).filter(Boolean);return[{Items:t,Total:t.length}]}),(function(){return[{Items:[],Total:0}]}))},WebBaseAprovLV.Utils.getServiceEditorDataQuelix=function(e){var t=((e=e||{}).ids||[]).filter((function(e){return null!=e&&String(e).trim().length>0}));if(!t.length)return $.Deferred().resolve([{Items:[],Total:0}]).promise();var n=(e.lang||WebBaseAprovLV.lang||"de").toLowerCase(),r={de:"d",it:"it",en:"en",lld:"lld"}[n]||n,i=t.map((function(e){return(e=parseInt(String(e).trim()))<1e6?"URI:"+String(e):"CODICE_CIVIS_LEGACY:"+String(e)})).join("|");function o(e){return Array.isArray(e)&&e.length?e[0]:""}return $.ajax({url:"https://api.integrations.services.siag.it/pub/cocweb/quelix/aprov/api/search",dataType:"jsonp",cache:!0,timeout:e.timeout||15e3,data:{site:e.site||"coll_newcivis_services_de",proxystylesheet:"json",client:e.client||"civis_bz_de",lang:r,getfields:"*",num:"50",filter:0,q:"",requiredfields:i}}).then((function(e){var n=((((e||{}).GSP||{}).RES||{}).R||[]).map((function(e){var t=e.MT||{},n=o(t.URI)||"",r=o(t.CODICE_CIVIS_LEGACY)||"",i=o(t.SEHI_TITLE)||e.T||"",a=o(t.SEHI_DESC)||e.S||"";(a=WebBaseAprovLV.Utils.stripDirtHtml(a)).length>350&&(a=a.slice(0,347)+"..");var s,l="True"===(!0===(s=o(t.IS_ONLINE))?"True":!1===s?"False":String(s||""))?"EGOV":"INFO";return{id:n?parseInt(n,10):null,legacyId:r?parseInt(r,10):null,Organization:{id:null},Snippet:{title:i,serviceType:l,shortDescription:a,relatedServicesCount:0,resourceGroupsCount:0}}})).filter((function(e){return null!=e.id}));return n.sort((function(e,n){return t.indexOf(String(e.id))-t.indexOf(String(n.id))})),[{Items:n,Total:n.length}]}),(function(){return[{Items:[],Total:0}]}))},WebBaseAprovLV.Utils.getBTELData=function(e){return $.getJSON("https://api.integrations.services.siag.it/pub/cocweb/btel/aprov/api/"+e).catch((function(e){return[]})).promise()},WebBaseAprovLV.Utils.getSearchData=function(e){return $.getJSON(WebBaseAprovLV.config.noovleSearchApiUrl+e+"&callback=?").catch((function(e){return{GSP:{PARAM:[]}}})).promise()},WebBaseAprovLV.Utils.stripDirtHtml=function(e){return String(e||"").replace(/<script[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<style[^>]*>[\s\S]*?<\/style>/gi," ").replace(/<\/?[^>]+>/g," ").replace(/ /g," ").replace(/##(\d+)##/g," ").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\s+/g," ").trim()},WebBaseAprovLV.Utils.getI18nData=function(e){var t=(e||{}).lang||WebBaseAprovLV.lang;return WebBaseAprovLV.i18n[t]?$.Deferred().resolve(WebBaseAprovLV.i18n[t]).then((function(e){return[e]})):$.getJSON("i18n/"+t+".json?v="+WebBaseAprovLV.version.i18n)},WebBaseAprovLV.Utils.fetchAsync=function(e){return e=$.extend({dataType:"json",cache:!0},e||{}),function(t,n){return n=$.extend(e,n||{},{url:t}),$.ajax(n)}},WebBaseAprovLV.Utils.formatDateTime=function(e,t){var n,r={};return t=t||"",n="string"==typeof e?e.length>0?new Date(e):new Date:"number"==typeof e?e.setTime(e):"[object Date]"===Object.prototype.toString.call(e)?e:new Date,r="withtime"==t?{year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"}:"long"==t?{weekday:"long",year:"numeric",month:"long",day:"2-digit"}:"shortmonth"==t?{month:"short"}:"onlyday"==t?{day:"2-digit"}:"onlytime"==t?{hour:"numeric",minute:"numeric"}:{year:"numeric",month:"2-digit",day:"2-digit"},new Date("2022-09-15T12:10:00.000Z")>n&&(r.timeZone="UTC"),"onlytime"==t?n.toLocaleTimeString(WebBaseAprovLV.lang+"-IT",r):n.toLocaleDateString(WebBaseAprovLV.lang+"-IT",r)},WebBaseAprovLV.Utils.getUrlParameter=function(e){var t;return e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null===(t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search))?"":decodeURIComponent(t[1].replace(/\+/g," "))},WebBaseAprovLV.Utils.text_truncate=function(e,t,n){return null==t&&(t=100),null==n&&(n="..."),e.length>t?e.substring(0,t-n.length)+n:e},WebBaseAprovLV.Utils.resolveBlankString=function(e,t,n,r){if("string"==typeof e||"string"==typeof t||"string"==typeof n||"string"==typeof r){if("it"==WebBaseAprovLV.lang){if(null!=t)return t.replace(/\n/g,"<br />")}else if("lld"==WebBaseAprovLV.lang){if(null!=n)return n.replace(/\n/g,"<br />")}else if("en"==WebBaseAprovLV.lang){if(null!=r)return r.replace(/\n/g,"<br />")}else if(null!=e)return e.replace(/\n/g,"<br />")}else if("number"==typeof e||"number"==typeof t||"number"==typeof n||"number"==typeof r)if("it"==WebBaseAprovLV.lang){if(null!=t)return t}else if("lld"==WebBaseAprovLV.lang){if(null!=n)return n}else if("en"==WebBaseAprovLV.lang){if(null!=r)return r}else if(null!=e)return e},WebBaseAprovLV.Utils.groupBy=function(e,t){var n=new Map;return e.forEach((function(e){var r=t(e),i=n.get(r);i?i.push(e):n.set(r,[e])})),n},WebBaseAprovLV.Utils.replaceUrlParam=function(e,t,n){var r=new RegExp("\\b("+(t||"")+"=).*?(&|#|$)");return e=e||"","number"==typeof n&&(n=n.toString(10)),(Array.isArray(n)||"object"==typeof n)&&(n=encodeURIComponent(JSON.stringify(n))),n=n||"",e.search(r)>=0?e.replace(r,"$1"+n+"$2"):(e=e.replace(/[?#]$/,""))+(e.length>0?"&":"")+(t||"")+"="+n},WebBaseAprovLV.Utils.getLanguageHash=function(e){var t=location.hash.match(new RegExp(e||""));return t?t[0]:null},WebBaseAprovLV.Utils.parseQuerystring=function(e){var t={};return(e&&e.length>0&&"?"===e[0]?e.substring(1):e||"").split("&").forEach((function(e){var n=e.split(/=/),r=n[0]||"";r.length&&(t[r]=n[1]||"")})),t},WebBaseAprovLV.Utils.decodeEntities=function(e){return e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/&#x([0-9A-Fa-f]+);/g,(e,t)=>
30String.fromCharCode(parseInt(t,16)))},WebBaseAprovLV.Utils.quelixDoubleEncodeFix=function(e){var t={":":"%3A","%7C":"%257C","%C3%BC":"%25C3%25BC","%C3%96":"%25C3%2596","%20":"%2520","%C3%AB":"%25C3%25AB","%C3%A4":"%25C3%25A4","%C3%B6":"%25C3%25B6","%2F":"%252F","%2C":"%252C","%C3%A0":"%25C3%25A0","%C3%A1":"%25C3%25A1","%C2%B4":"%25C2%25B4","%E2%80%99":"%25E2%2580%2599","%C3%B9":"%25C3%25B9","%C3%9F":"%25C3%259F","'":"%2527","\\(":"%2528","\\)":"%2529"};for(var n in t)t.hasOwnProperty(n)&&(e=e.replace(new RegExp(n,"g"),t[n]));return e},WebBaseAprovLV.Utils.escapeColonQueryString=function(e){if(!e||"string"!=typeof e)return e;const t=e.split("&");for(let e=0;e<t.length;e++)if(t[e].startsWith("q=")){const n=t[e].substring(2).replace(/:/g,"\\:");t[e]=`q=${n}`}return t.join("&")},WebBaseAprovLV.Utils.gettext=function(e){var t=WebBaseAprovLV.i18n,n=WebBaseAprovLV.lang||"de",r=t?t[n]:null;return r&&r[e]?r[e]:e},WebBaseAprovLV.Utils.tuneUILangSwitchers=function(e,t){var n=/prod/i.test(WebBaseAprovLV.config.environment||"")&&WebBaseAprovLV.config.authorities||{},r=window.location.hash||"";function i(e,t){var n="";return t=t||WebBaseAprovLV.lang,"object"==typeof e.segment?(e.segment[t]||"").length&&(n=e.segment[t]):"string"==typeof e.segment?n=e.segment:0===n.length&&(e.id||"").length&&(n="system.id="+e.id),n}return(e=e||{}).page=e.page||{},(t||$("a.langchange")).each((function(){var t=$(this),o=t.attr("hreflang")||WebBaseAprovLV.lang,a=i(e.page,o);a.length&&e.detail&&(e.detail.id||e.detail.segment)&&(a=a+"/"+i(e.detail,o)),0===a.length&&(a="home"),a+=r,t.attr("href",[(n[o]||"")+o,a].join("/"))})),e},WebBaseAprovLV.Utils.getMimetypeClassName=function(e){var t=e||"";switch(!0){case/^application/i.test(t):switch(!0){case/pdf$/.test(t):return"pdf";case/(word|rtf|opendocument\.text)/i.test(t):return"doc";case/(xls|excel|spreadsheet)/i.test(t):return"xls";case/(ppt|powerpoint|presentation)/i.test(t):return"ppt";case/(zip)/i.test(t):return"zip"}break;case/^text/i.test(t):switch(!0){case/html$/.test(t):return"htm";case/(rtf|sgml|troff)$/.test(t):return"doc";case/(xml|csv)/i.test(t):return"xls"}break;case/^image/i.test(t):return"img";case/^audio/i.test(t):return"audio";case/^video/i.test(t):return"video"}return"other"},WebBaseAprovLV.Utils.linkTo=function(e){return e},WebBaseAprovLV.Utils.actionTo=function(e){return e},WebBaseAprovLV.Utils.transitionTo=function(e){return ejs.preloadTemplate(e.template).then((function(){return e.element.html(ejs.rr(e.template,e.data)),e})).promise()},WebBaseAprovLV.Utils.ScrollHistory=function(){var e="WebBaseAprovLVScroll",t=!1,n=!1,r=null,i=null,o=0,a=0;function s(){return(new Date).getTime()}function l(){return window.location.pathname+window.location.search+window.location.hash}function u(e){return(e=(e=(e||l()).toString()).replace(/^https?:\/\/[^/]+/i,"")).length||(e="/"),e}function c(e){return u(e)===u(l())}function p(e){return(window.requestAnimationFrame||function(e){return setTimeout(e,16)})(e)}function g(){var e=document.documentElement||{},t=document.body||{};return{x:window.pageXOffset||e.scrollLeft||t.scrollLeft||0,y:window.pageYOffset||e.scrollTop||t.scrollTop||0}}function f(){return Math.max(0,(e=document.documentElement||{},t=document.body||{},Math.max(t.scrollHeight||0,e.scrollHeight||0,t.offsetHeight||0,e.offsetHeight||0,t.clientHeight||0,e.clientHeight||0)-(window.innerHeight||document.documentElement.clientHeight||0)));var e,t}function d(t){return(t||{})[e]||null}function h(t){return e+":"+t}function v(e){var t;if(!window.sessionStorage||!e)return null;try{return(t=sessionStorage.getItem(h(e)))?JSON.parse(t):null}catch(e){return null}}function m(t,n){var r,i,o=t||g();if(!window.history||!window.history.replaceState)return null;r=function(e){return $.extend(!0,{},e||{})}(window.history.state||{}),(i=$.extend({},d(r)||{})).id=i.id||[e,s(),Math.floor(1e6*Math.random())].join("-"),i.path=u(n||l()),i.x=Math.max(0,Math.round(o.x||0)),i.y=Math.max(0,Math.round(o.y||0)),i.updatedAt=s(),r[e]=i;try{window.history.replaceState(r,document.title,window.location.href),function(e){if(window.sessionStorage&&e)try{e.id&&sessionStorage.setItem(h(e.id),JSON.stringify(e)),e.path&&sessionStorage.setItem(h(e.path),JSON.stringify(e))}catch(e){}}(i)}catch(e){}return i}function b(){s()<o||m(g(),l())}function y(){s()<o||(clearTimeout(i),i=setTimeout(b,150))}function A(e){return e?{x:Math.max(0,Math.round(e.x||0)),y:Math.max(0,Math.round(e.y||0)),path:u(e.path||l()),id:e.id||null}:null}function w(){a+=1,r=null,o=0}function L(e,t){var n=Math.max(0,Math.round((e||{}).x||0)),r=Math.max(0,Math.round((e||{}).y||0));o=s()+250,$("html, body").stop&&$("html, body").stop(!0,!0),window.scrollTo(n,r),$("html, body").scrollTop(r),setTimeout((function(){o=0,t&&m(g(),l())}),80)}function B(e){var t=s(),n=1500,r=++a,i=l();!function o(){var c;r===a&&u(i)===u(l())&&((c=function(e){var t,n;if(!e||"#"===e)return $();try{t=decodeURIComponent(e.replace(/^#/,""))}catch(n){t=e.replace(/^#/,"")}return(n=document.getElementById(t))?$(n):$("[name]").filter((function(){return this.getAttribute("name")===t})).first()}(e)).length?L({x:0,y:Math.max(0,c.offset().top-($(window).width()<=576?110:133))},!0):s()-t<n?p(o):m(g(),l()))}()}function V(){t||(t=!0,window.history&&"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),setTimeout((function(){m(g(),l())}),0),$(window).on("scroll.WebBaseAprovLVScrollHistory",y),$(window).on("beforeunload.WebBaseAprovLVScrollHistory pagehide.WebBaseAprovLVScrollHistory",b),document.addEventListener("click",(function(e){e.defaultPrevented||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button||function(e){var t;return!(!e||!e.href)&&(!e.target&&!e.hasAttribute("download")&&(!(!(t=e.getAttribute("href")||"").length||/^#/.test(t)||/^(mailto|tel):/i.test(t))&&(e.protocol===window.location.protocol&&e.host===window.location.host)))}(function(e){for(;e&&e!==document;){if(e.tagName&&"a"===e.tagName.toLowerCase())return e;e=e.parentNode}return null}(e.target))&&(b(),w())}),!0),window.addEventListener("popstate",(function(e){var t;n=!0,w(),t=A(d(e.state)),r=t&&c(t.path)?t:A(v(l()))})))}return{init:V,beforeRoute:function(e){var t,i;if(V(),t=n,n=!1,w(),!t)return r=null,void L({x:0,y:0},!0);i=r||function(e){var t=A(d((e||{}).state));return t&&c(t.path)?t:(t=A(d(window.history?window.history.state:null)))&&c(t.path)?t:A(v(l()))}(e),r=i&&c(i.path)?i:{x:0,y:0,path:l()}},afterRoute:function(e){var t,n,i,d,h,v,b,y=r;if(r=null,V(),y&&c(y.path))return t=y,n=Math.max(0,Math.round((t||{}).x||0)),i=Math.max(0,Math.round((t||{}).y||0)),d=s(),h=1500,v=++a,void(c(b=u((t||{}).path||l()))&&(o=s()+h+250,p((function e(){var t;v===a&&c(b)&&(t=f()>=i,window.scrollTo(n,i),!t&&s()-d<h?p(e):(o=s()+100,setTimeout((function(){v===a&&c(b)&&(o=0,m(g(),l()))}),120)))}))));window.location.hash&&"#"!==window.location.hash?B(window.location.hash):(w(),L({x:0,y:0},!0))}}}()}(); 31WebBaseAprovLV.debug=["dev","demo"].includes(WebBaseAprovLV.config.environment),WebBaseAprovLV.Utils.LastUpdateDateTime={styleBold:"color:black; font-size:12px; font-weight:bold;",styleBoldGreen:"color:#06cf94; font-size:12px; font-weight:bold;",styleBoldRed:"color:red; font-size:12px; font-weight:bold;",styleBoldYellow:"color:#f9d200; font-size:12px; font-weight:bold;",styleDefaultGreen:"color:#06cf94; font-size:11px;font-weight:normal;",styleDefaultRed:"color:red; font-size:11px;font-weight:normal;",styleDefaultYellow:"color:#f9d200; font-style:italic; font-size:11px;font-weight:normal;"},WebBaseAprovLV.Utils.LastUpdateDateTime.reset=function(){$("#lastUpdateBox").html("")},WebBaseAprovLV.Utils.LastUpdateDateTime.setDateTime=function(e=""){$("#lastUpdateBox").html(e)},WebBaseAprovLV.Utils.LastUpdateDateTime.calc=function(e="",t=[]){if(0!==t.length){let a={appointment_c
31ontainer:"container",appointment_item:"default",banner_container:"container",banner:"default",box_container:"container",box_item:"default",card_container:"container",card_item:"default",collapse_container:"container",collapse_item:"default",homepage:"default",hilite_section:"default",image_and_text_section:"default",icon_box_container:"container",icon_box_item:"default",introduction_section:"default",introduction_item:"default",link_board_container:"container",link_board_item:"default",news_homepage:"default",news_container:"container",news:"default",page:"default",postcard_container:"container",postcard_item:"default",photo_gallery_container:"container",photo_gallery:"default",publication_container:"container",publication_item:"default",project_item:"default",serviceeditor_section:"default",serviceeditor_section:"default",service_container:"container",service_item:"default",slider_item:"default",team_container:"container",team_item:"default",theme_tab_container:"container",theme_tab_item:"default",youtube_video_item:"default"};for(key in t){let s=t[key];if(s&&s.hasOwnProperty("MT")&&s.MT.hasOwnProperty("documentType")&&a.hasOwnProperty(s.MT.documentType[0]))e=WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime({system_type:s.MT.documentType[0],date:s.MT.date[0],script_report_results:s.script_report_results},e);else if(s&&s.hasOwnProperty("system")&&a.hasOwnProperty(s.system.type))if("container"===a[s.system.type])for(containerItemKey in s.container)e=WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime(s.container[containerItemKey].system,e);else e=WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime(s,e);else if(s&&s.hasOwnProperty("system_type")&&a.hasOwnProperty(s.system_type))if("container"===a[s.system_type])for(containerItemKey in s.container)a.hasOwnProperty(s.container[containerItemKey].system_type)&&(e=WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime(s.container[containerItemKey],e));else e=WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime(s,e)}}return e},WebBaseAprovLV.Utils.LastUpdateDateTime.evaluateDateTime=function(e,t){let a="",s=e.system_type?e.system_type:e.system.type,i=e.script_report_results?e.script_report_results:e.hasOwnProperty("system_id")?e.system_id:e.system.id;a="news"===s?e.hasOwnProperty("elements")?e.elements.date.value:e.date:e.system_last_modified;let o=new Date;o.setDate(o.getDate()+1),o.setUTCHours(0,0,0,0);let l=o.toISOString().slice(0,19)+"Z",n=new Date;if(n.setFullYear((new Date).getFullYear()-1),n.setUTCHours(0,0,0,0),a>n.toISOString().slice(0,19)+"Z"&&a<l&&a>t)return WebBaseAprovLV.debug&&console.log("%c+++\n%cCheck date: %c"+a+" %cis newer than: %c"+(t||"null")+" %c\nItem_type: %c"+s+" %c\nItem_id: %c"+i,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldGreen,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBold,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultGreen,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBold,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultGreen,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBold,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultGreen,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBold,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultGreen),a;if(WebBaseAprovLV.debug){let e=a>l?"is in future than: ":"is older than: ";console.log("%c~~~\n%cCheck date: %c"+a+" %c"+e+"%c"+(t||"null")+" %c\nItem_type: %c"+s+" %c\nItem_id: %c"+i,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldRed,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleBoldYellow,WebBaseAprovLV.Utils.LastUpdateDateTime.styleDefaultYellow)}return t},WebBaseAprovLV.Utils.LastUpdateDateTime.calcAndShow=function(e,t,a="defaultAndSpecial"){WebBaseAprovLV.Utils.LastUpdateDateTime.reset();let s="",i={prefix:{de:"Letzte Aktualisierung:",it:"Ultimo aggiornamento:",en:"Last updated:",lld:"Ultimo ajornamënt:"},today:{de:" Heute",it:" Oggi",en:" Today",lld:" Incö"}};switch(a){case"defaultAndSpecial":for(key in s=WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,[e]),s=WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,e.pageContent),s=WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,e.container),s=WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,e.modular_content),t)s=t&&t[key]&&t[key].hasOwnProperty("raw")&&t[key].raw.hasOwnProperty("items")?WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,t[key].raw.items):t&&t[key]&&t[key].hasOwnProperty("raw")&&t[key].raw.hasOwnProperty("GSP")&&t[key].raw.GSP.hasOwnProperty("RES")?WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,t[key].raw.GSP.RES.R):WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,t);break;case"onlySpecial":for(key in t)s=t[key].hasOwnProperty("raw")?WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,t[key].raw.items):WebBaseAprovLV.Utils.LastUpdateDateTime.calc(s,t)}let o="";if(""!==s){let e=new Date,t=new Date(new Date(s).getTime()-36e5),a=e.toDateString()===t.toDateString()?i.today[/^(de|it|en|lld)$/.test(WebBaseAprovLV.lang)?WebBaseAprovLV.lang:"de"]:t.toISOString().replace(/T.*/,"").split("-").reverse().join("/");o='<div class="updates pt-3 border-top"><div class="container"><div class="row"><p class="pl-2"><em>'+i.prefix[/^(de|it|en|lld)$/.test(WebBaseAprovLV.lang)?WebBaseAprovLV.lang:"de"]+" "+a+"</em></p></div></div></div>"}WebBaseAprovLV.Utils.LastUpdateDateTime.setDateTime(o)}; 32WebBaseAprovLV.Utils.getKKViewModel=function(e){var t={},n=function(e,a){if("object"==typeof a){var o={};if(((a.system||{}).codename||"").length&&(t[a.system.codename]?t[a.system.codename].
32count++:t[a.system.codename]={count:0},t[a.system.codename])){if(t[a.system.codename].count>10)return null;if(t[a.system.codename].data)return t[a.system.codename].data}return Object.keys(a.elements||{}).forEach((function(s){var c,r,l,m,u=a.elements[s]||{};"modular_content"===u.type?(u.value||[]).forEach((function(a){void 0===o[s]&&(o[s]=[]),t[a]||(t[a]={count:0}),!t[a].data&&e.modular_content[a]&&(t[a].data=n(e,e.modular_content[a])),t[a].data&&o[s].push(t[a].data)})):"rich_text"===u.type?o[s]=(r=(c=u).value||"",l=Object.keys(c.links||[]),(m=c.modular_content||[]).length&&m.forEach((function(t){var n,a=e.modular_content[t]||{},o=(a.system||{}).codename||"",s=a.elements||{},c="";o.length&&(s.html&&(c=s.html.value||""),s.downloads&&(n=Object.keys(s.downloads.value||{}).map((function(e){var t=WebBaseAprovLV.Utils.getMimetypeClassName(e.type||""),n=e.size||0,a="B";return n>1e3&&(a="KB",(n/=1e3)>1e3&&(n/=1e3,a="MB"),n=Math.round(n)),'<li class="'+t+'"><a href="'+(e.url||"")+'">'+(e.description?e.description:e.name||t)+" ("+n+" "+a+")</a></li>"}))).length&&(c='<ul class="download_list">'+n.join("")+"</ul>"),r=r.replace(new RegExp('<object[^>]*data-codename="'+o+'"[^>]*></object>',"igm"),c))})),l.length&&(r=r.replace(/\s+href=(''|"")/gim,"").replace(/data-item-id=/gim,"href="),l.forEach((function(e,t){var n="/"+WebBaseAprovLV.lang+"/"+((c.links[e]||{}).url_slug||"");r=r.replace(new RegExp(e,"igm"),n)}))),r):o[s]=u.value})),Object.keys(a.system||{}).forEach((function(s){var c=a.system[s]||{};"news_container"===c.type?(c.value||[]).forEach((function(a){void 0===o[s]&&(o[s]=[]),t[a]||(t[a]={count:0}),!t[a].data&&e.modular_content[a]&&(t[a].data=n(e,e.modular_content[a])),t[a].data&&o[s].push(t[a].data)})):o["system_"+s]=c})),o}return null};return((e||{}).items||[]).length?e.items.map((function(t){return n(e,t)})).filter((function(e){return!!e})):(e||{}).item?n(e,e.item):{}}; 33WebBaseAprovLV.render404=function(e){return WebBaseAprovLV.Utils.transitionTo({element:$("#content"),template:"templates/404.ejs.html?v="+WebBaseAprovLV.version.template,data:{}})}; 34WebBaseAprovLV.renderProblemReportingSuccessful=function(e){var t={page:null},a={element:$("#content"),template:"templates/problem-reporting-successful.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},lang:WebBaseAprovLV.lang}};return WebBaseAprovLV.renderGenericPage(e).then((function(e){return a.data=$.extend({},e.data,a.data),t.page=e,WebBaseAprovLV.Utils.transitionTo(a)})).then((function(e){return a.data.navRaw={},a.element=$("#content"),a.data=$.extend(a.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(a.data.pageRaw)[0]||{}}),WebBaseAprovLV.Utils.transitionTo(a)})).then((function(e){return e.data.UILangSwitch=WebBaseAprovLV.Utils.tuneUILangSwitchers({page:{id:(e.data.pageContent||{}).system_id||"",segment:{de:"problem-melden-erfolgreich",it:"segnalazione-problema-esito-positivo",lld:"lasce-alsavei-problemn",en:"problem-reporting-successful"}}},$("a.langchange")),e})).promise()}; 35WebBaseAprovLV.renderHome=function(e){var t=new Date,n=String(t.getDate()).padStart(2,"0"),a=String(t.getMonth()+1).padStart(2,"0"),o=t.getFullYear();t=o+"-"+a+"-"+n;var r={element:null,template:"templates/home.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},navRaw:null,pageRaw:null,home:null,news:null}};return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=homepage&depth=3"),ejs.preloadTemplate(r.template)).then((function(e,t){var n,a=Array.isArray(e)&&e.length?e[0]:e||{},o=WebBaseAprovLV.pagingWindow||10,s=new Date;r.data.pageRaw=a,r.data.home=WebBaseAprovLV.Utils.getKKViewModel(r.data.pageRaw)[0]||{};var i=(n=r.data.home.container||[]).filter((function(e){return"news_container"===e.system_type&&0===(e.container||[]).length&&((e.news_categories||[]).length>0||(e.news_tag||[]).length>0||e.quelix_searchstring)})),p=n.filter((function(e){return"newsticker_container"===e.system_type&&0===(e.container||[]).length&&(e.news_categories||[]).length>0})),l=n.filter((function(e){return"appointment_container"===e.system_type&&0===(e.container||[]).length&&(e.appointment_categories||[]).length>0})),c=i.map((function(e){var t=e.foreign_project_id||"";if(t.length)return t})),m=l.map((function(e){var t=e.foreign_project_id||"";if(t.length)return t})),g=i.map((function(e){var t=e.quelix_searchstring||"";if(t.length)return t})),u=i.map((function(e){var t=["?system.type=news"],n=(e.news_categories||[]).map((function(e){return e.codename})),a=(e.news_tag||[]).map((function(e){return e.codename}));return n.length&&t.push("elements.news_categories"+(n.length>1?"[any]="+encodeURIComponent(n.join(",")):"[contains]="+encodeURIComponent(n[0]))),a.length&&t.push("elements.news_tag"+(a.length>1?"[any]="+encodeURIComponent(a.join(",")):"[contains]="+encodeURIComponent(a[0]))),t.push("order=elements.date[desc]"),t.push("limit=3"),t.join("&")})),h=p.map((function(e){var t=["?system.type=news"],n=(e.news_categories||[]).map((function(e){return e.codename})),a=(e.news_tag||[]).map((function(e){return e.codename}));return n.length&&t.push("elements.news_categories"+(n.length>1?"[any]="+encodeURIComponent(n.join(",")):"[contains]="+encodeURIComponent(n[0]))),a.length&&t.push("elements.news_tag"+(a.length>1?"[any]="+encodeURIComponent(a.join(",")):"[contains]="+encodeURIComponent(a[0]))),t.push("order=elements.date[desc]"),t.push("limit="+o),t.join("&")})),d=l.map((function(e){var t=["?system.type=appointment_item"],n=e.appointment_categories.map((function(e){return e.codename}));return n.length&&t.push("elements.appointment_categories"+(n.length>1?"[any]="+encodeURIComponent(n.join(",")):"[contains]="+encodeURIComponent(n[0]))),t.push(["elements.date_from[gte]=",s.getFullYear(),"-",String("0"+(s.getMonth()+1)).slice(-2),"-",String("0"+s.getDate()).slice(-2)].join("")),t.push("order=elements.date_from[asc]"),t.push("limit=2"),t.join("&")})),w=i.concat(p,l).map((function(e){return{codename:e.system_codename||"",type:"kk"}}
35)),y=u.concat(h,d).map((function(e){return/system.type=news/i.test(e)?void 0!==g[0]?WebBaseAprovLV.Utils.getSearchData(g[0]):WebBaseAprovLV.Utils.getKKData(e,c[0]||[]):/system.type=appointment_item/i.test(e)?WebBaseAprovLV.Utils.getKKData(e,m[0]||[]):WebBaseAprovLV.Utils.getKKData(e)}));return p.length&&(w.push({codename:"js-breaking-news-ticker",type:"script"}),y.push(WebBaseAprovLV.Utils.fetchAsync({dataType:"script"})("js-modules/thirdparty/breaking-news-ticker.min.js?v="+WebBaseAprovLV.version.template))),y.push(w),$.when.apply($,y)})).then((function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n={};return e.forEach((function(e,a){var o=t.length>=a?t[a]:{},r=o.codename||"",s=o.type||"";r.length&&e.length&&"script"!==s&&(n[r]={raw:(e||[]).length?e[0]:[],viewmodel:(e||[]).length>0&&(e[0].items||[]).length>0&&WebBaseAprovLV.Utils.getKKViewModel(e[0])||[]})})),r.element=$("#content"),r.data=$.extend(r.data,{collections:n}),WebBaseAprovLV.Utils.LastUpdateDateTime.calcAndShow(r.data.home,n,"defaultAndSpecial"),WebBaseAprovLV.Utils.transitionTo(r)})).then((function(e){var t=$(".js-news-ticker");return t.length&&t.breakingNews&&t.breakingNews(),e})).promise()}; 36WebBaseAprovLV.renderGenericPage=function(e){var t=e.context.params.page||"",n=(e.context.params.detail,{element:null,template:"templates/page.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},navRaw:null,pageRaw:null,nav:null,pageContent:null,collections:null}}),a=WebBaseAprovLV.Utils.parseQuerystring(e.context.querystring);return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=3"),ejs.preloadTemplate(n.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,i,o){var s,r=Array.isArray(e)?e[0]:e||{},l=WebBaseAprovLV.pagingWindow||10;r.items=r.items||[],n.data.pageRaw=r,n.data.pageContent=WebBaseAprovLV.Utils.getKKViewModel(n.data.pageRaw)[0]||{};var p=new Date,c=(s=n.data.pageContent.container||[]).filter((function(e){return"news_container"===e.system_type&&0===(e.container||[]).length&&((e.news_categories||[]).length>0||(e.news_tag||[]).length>0||e.quelix_searchstring)})),m=s.filter((function(e){return"publication_container"===e.system_type&&0===(e.container||[]).length&&(e.publication_categories||[]).length>0})),u=s.filter((function(e){return"appointment_container"===e.system_type&&0===(e.container||[]).length&&(e.appointment_categories||[]).length>0})),d=s.filter((function(e){return"faq_container"===e.system_type&&0===(e.container||[]).length&&((e.faq_categories||[]).length>0||(e.faq_tag||[]).length>0)})),g=s.filter((function(e){return"serviceeditor_section"===e.system_type&&0===(e.container||[]).length&&(e.service_ids||[]).length>0})),h=c.map((function(e){var t=e.foreign_project_id||"";if(t.length)return t})),_=c.map((function(e){var t=e.quelix_searchstring||"";if(t.length)return t})),v=c.map((function(e){var t=["?system.type=news&includeTotalCount=true"],n=parseInt(a[e.system_codename+"_skip"]||0,10),i=e.news_categories.map((function(e){return e.codename})),o=(e.news_tag||[]).map((function(e){return e.codename}));return i.length&&t.push("elements.news_categories"+(i.length>1?"[any]="+encodeURIComponent(i.join(",")):"[contains]="+encodeURIComponent(i[0]))),o.length&&t.push("elements.news_tag"+(o.length>1?"[any]="+encodeURIComponent(o.join(",")):"[contains]="+encodeURIComponent(o[0]))),t.push("order=elements.date[desc]"),!isNaN(n)&&n>0&&t.push("skip="+n),t.push("limit="+l),t.join("&")})),f=m.map((function(e){var t=["?system.type=publication_item&includeTotalCount=true"],n=parseInt(a[e.system_codename+"_skip"]||0,10),i=e.publication_categories.map((function(e){return e.codename})),o=e.order__order.map((function(e){return e.codename})),s=(e.news_tag||[]).map((function(e){return e.codename}));return i.length&&t.push("elements.publication_categories"+(i.length>1?"[any]="+encodeURIComponent(i.join(",")):"[contains]="+encodeURIComponent(i[0]))),s.length&&t.push("elements.news_tag"+(s.length>1?"[any]="+encodeURIComponent(s.join(",")):"[contains]="+encodeURIComponent(s[0]))),o.length?/date_time_desc/i.test(o)?t.push("order=elements.date_time[desc]"):/date_time_asc/i.test(o)?t.push("order=elements.date_time[asc]"):/title_desc/i.test(o)?t.push("order=elements.title[desc]"):t.push("order=elements.title[asc]"):t.push("order=elements.title[asc]"),!isNaN(n)&&n>0&&t.push("skip="+n),t.push("limit="+l),t.join("&")})),y=u.map((function(e){var t=["?system.type=appointment_item&includeTotalCount=true"],n=parseInt(a[e.system_codename+"_skip"]||0,10),i=e.appointment_categories.map((function(e){return e.codename}));return i.length&&t.push("elements.appointment_categories"+(i.length>1?"[any]="+encodeURIComponent(i.join(",")):"[contains]="+encodeURIComponent(i[0]))),t.push(["elements.date_from[gte]=",p.getFullYear(),"-",String("0"+(p.getMonth()+1)).slice(-2),"-",String("0"+p.getDate()).slice(-2)].join("")),t.push("order=elements.date_from[asc]"),!isNaN(n)&&n>0&&t.push("skip="+n),t.push("limit="+l),t.join("&")})),w=d.map((function(e){var t=["?system.type=faq_item&includeTotalCount=true"],n=(e.faq_categories||[]).map((function(e){return e.codename})),a=(e.faq_tag||[]).map((function(e){return e.codename}));return n.length&&t.push("elements.faq_categories"+(n.length>1?"[any]="+encodeURIComponent(n.join(",")):"[contains]="+encodeURIComponent(n[0]))),a.length&&t.push("elements.faq_tag"+(a.length>1?"[any]="+encodeURIComponent(a.join(",")):"[contains]="+encodeURIComponent(a[0]))),t.push("order=elements.question[asc]"),t.push("limit=200"),t.join("&")})),b=g.map((function(e){var t=(e.service_ids||"").replace(/[^0-9,]/g,""),n="it"===(WebBaseAprovLV.lang||"").toLowerCase(),a=n?"coll_newcivis_services_it":"coll_newcivis_services_de",i=n?"civis_bz_it":"civis_bz_de";
36return{__type:"serviceEditorQuelix",ids:t?t.split(",").map((function(e){return e.trim()})).filter(Boolean):[],site:a,client:i}})),U=c.concat(m,u,d,g).map((function(e){return e.system_codename||""})),A=v.concat(f,y,w,b).map((function(e){return/system.type=news/i.test(e)?void 0!==_[0]?WebBaseAprovLV.Utils.getSearchData(_[0]):WebBaseAprovLV.Utils.getKKData(e,h[0]||[]):e&&"serviceEditorQuelix"===e.__type?WebBaseAprovLV.Utils.getServiceEditorDataQuelix({lang:WebBaseAprovLV.lang,site:e.site,client:e.client,ids:e.ids}):WebBaseAprovLV.Utils.getKKData(e)}));return A.push(U),$.when.apply($,A)})).then((function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),i={};return e.forEach((function(e,n){var o,s=t.length>=n?t[n]:"",r=[];if(s.length&&e.length){for(o in a)switch(!0){case new RegExp("^"+s+"_(skip|limit)$","i").test(o):break;default:r.push([o.toLowerCase(),a[o]].join("="))}i[s]={queryString:r.join("&"),raw:(e||[]).length?e[0]:[],viewmodel:(e||[]).length>0&&(e[0].items||[]).length>0&&WebBaseAprovLV.Utils.getKKViewModel(e[0])||[]}}})),n.data.navRaw={},n.data.pageRaw?(n.data.pageRaw.items&&n.data.pageRaw.items.length?(n.element=$("#content"),n.data=$.extend(n.data,{nav:WebBaseAprovLV.Utils.getKKViewModel(n.data.navRaw)[0]||{},collections:i}),WebBaseAprovLV.Utils.LastUpdateDateTime.calcAndShow(n.data.pageContent,n.data.collections,"defaultAndSpecial")):WebBaseAprovLV.render404(),WebBaseAprovLV.Utils.transitionTo(n)):$.Deferred().reject(n)})).promise()}; 37WebBaseAprovLV.renderCookiePage=function(e){$("<div />");var n={page:null,cookie:null},t={element:$("<div />"),template:"templates/cookie-form.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},lang:WebBaseAprovLV.lang,cookie:null}};return WebBaseAprovLV.renderGenericPage(e).then((function(e){return t.data=$.extend({},e.data,t.data),n.page=e,WebBaseAprovLV.Utils.transitionTo(t)})).then((function(e){return $("#content .content_section").append(e.element),e||{}})).promise()}; 38WebBaseAprovLV.renderSitemapPage=function(e){var t=e.context.params.page||"",a=(e.context.params.detail,{element:null,template:"templates/sitemap.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,pageContent:null}});return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=1"),ejs.preloadTemplate(a.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,p,r){var n=Array.isArray(e)?e[0]:e||{};return a.data.pageRaw=n,a.data.pageRaw?(a.element=$("#content"),a.data=$.extend(a.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(a.data.pageRaw)[0]||{}}),WebBaseAprovLV.Utils.transitionTo(a)):$.Deferred().reject(a)})).promise()}; 39WebBaseAprovLV.renderArticlePage=function(e){var t=e.context.params.page||"",a=e.context.params.detail||"",n={element:null,template:"templates/article.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,navRaw:null,article:null,articleRaw:null,related:[],nav:null,pageContent:null}};return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=1"),WebBaseAprovLV.Utils.getKKData("?system.type=news&elements.url[in]="+a),ejs.preloadTemplate(n.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,a,l,s){var r=Array.isArray(e)&&e.length?e[0]:e||{},o=Array.isArray(t)&&t.length?t[0]:t||{},i=[],d="";return n.data.navRaw={},n.data.pageRaw=r,n.data.articleRaw=o,n.element=$("#content"),n.data=$.extend(n.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(n.data.pageRaw)[0]||{},nav:WebBaseAprovLV.Utils.getKKViewModel(n.data.navRaw)[0]||{},article:WebBaseAprovLV.Utils.getKKViewModel(n.data.articleRaw)[0]||{}}),(i=(n.data.article.news_categories||[]).map((function(e){return e.codename||""}))).length&&(d="&elements.news_categories",1===i.length?d+="[contains]="+encodeURIComponent(i[0]):i.length>1&&(d+="[any]="+encodeURIComponent(i.join(",")))),n.data.article.system_codename?WebBaseAprovLV.Utils.getKKData("?system.type=news&includeTotalCount=false&system.codename[neq]="+n.data.article.system_codename+d+"&order=elements.date[desc]&depth=1&limit=3"):{}})).then((function(e){return n.data.related=(e.items||[]).length&&WebBaseAprovLV.Utils.getKKViewModel(e)||[],WebBaseAprovLV.Utils.transitionTo(n)})).then((function(e){return e.data.UILangSwitch=WebBaseAprovLV.Utils.tuneUILangSwitchers({page:{id:(e.data.pageContent||{}).system_id||"",segment:"news"},detail:{id:(e.data.article||{}).system_id||""}},$("a.langchange")),e})).promise()}; 40WebBaseAprovLV.renderArticlesPage=function(e){var t,a=e.context.params.page||"",r=(e.context.params.detail,{element:null,template:"templates/articles.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,navRaw:null,articlesRaw:null,categories:null,articles:null,nav:null,pageContent:null}}),n=WebBaseAprovLV.Utils.parseQuerystring(e.context.querystring);return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+a),(t=WebBaseAprovLV.Cache.get("taxonomies.news_categories").value,t?$.Deferred().resolve(t).promise():WebBaseAprovLV.Utils.getTaxonomies({groupname:"news_categories"}))).then((function(e,t){var a=Array.isArray(e)&&e.length?e[0]:e||{},i=Array.isArray(t)?t[0]:t,s=WebBaseAprovLV.pagingWindow||10,o={categories:(n.
40categories||"").toLowerCase()},l=[],d="",c=r.data.categories=i.terms||[{codename:"news_news",name:"News|News"}],g=[{field:(n.order||"").toLowerCase(),dir:(n.dir||"").toLowerCase(),value:""}],u=[],p="";return WebBaseAprovLV.Cache.set("taxonomies.news_categories",i),a.items&&Array.isArray(a.items)&&a.items.length?(r.data.pageRaw=a,o.categories.length&&(l=c.filter((function(e){return new RegExp("(^|,)"+e.codename+"(,|$)","i").test(o.categories)})).map((function(e){return e.codename}))).length&&(d="&elements.news_categories",1===l.length?d+="[contains]="+encodeURIComponent(l[0]):l.length>1&&(d+="[any]="+encodeURIComponent(l.join(",")))),p=(u=g.map((function(e){switch(e.dir=/^(asc|desc)?$/i.test(e.dir)?e.dir:"",e.field){case"last_modified":e.dir=e.dir.length?e.dir:"desc",e.value=["system.last_modified[",e.dir,"]"].join("");break;case"title":e.dir=e.dir.length?e.dir:"asc",e.value=["elements.title[",e.dir,"]"].join("");break;default:e.dir=e.dir.length?e.dir:"desc",e.value=["elements.date[",e.dir,"]"].join("")}return e})).filter((function(e){return e.value.length>0})).map((function(e){return e.value}))).length?"&order="+u.join(","):"",WebBaseAprovLV.Utils.getKKData("?system.type=news&includeTotalCount=true"+d+p+(n.skip?"&skip="+n.skip:"")+"&limit="+s)):$.Deferred().reject(r)})).then((function(e){var t,a=[],i={};if(e=e||{},r.data.articlesRaw=e,r.data.navRaw={},r.data.pageRaw&&r.data.articlesRaw){for(t in n)switch(!0){case/^(skip|limit)/i.test(t):break;default:a.push([t.toLowerCase(),n[t]].join("=")),i[t.toLowerCase()]=n[t]}return r.element=$("#content"),r.data=$.extend(r.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(r.data.pageRaw)[0]||{},nav:WebBaseAprovLV.Utils.getKKViewModel(r.data.navRaw)[0]||{},articles:(r.data.articlesRaw.items||[]).length&&WebBaseAprovLV.Utils.getKKViewModel(r.data.articlesRaw)||[],queryStringCollection:i,queryString:a.join("&")}),WebBaseAprovLV.Utils.transitionTo(r)}return $.Deferred().reject(r)})).then((function(e){return e.data.UILangSwitch=WebBaseAprovLV.Utils.tuneUILangSwitchers({page:{segment:"news"}},$("a.langchange")),e})).promise()}; 41WebBaseAprovLV.renderServicePage=function(e){var a=e.context.params.page||"",t=e.context.params.detail||"",n={element:null,template:"templates/service.ejs.html?v="+WebBaseAprovLV.version.template,data:{navRaw:null,pageRaw:null,serviceRaw:null,nav:null,pageContent:null,service:null}};return WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+a+"&depth=3").then((function(e){return(e=e||{}).items&&Array.isArray(e.items)&&e.items.length?(n.data.pageRaw=e,WebBaseAprovLV.Utils.getKKData("?system.type=service_item&elements.url[in]="+t+"&depth=5")):$.Deferred().reject(n)})).then((function(e){var a=n.data.pageRaw.items[0].elements.navigation.value[0];return e=e||{},n.data.serviceRaw=e,a&&e.items&&Array.isArray(e.items)&&e.items.length?WebBaseAprovLV.Cache.get(["navigation",WebBaseAprovLV.lang,a].join(".")).value||WebBaseAprovLV.Utils.getKKData("?system.type=navigation_item&system.codename[in]="+a+"&depth=5"):$.Deferred().reject(n)})).then((function(e){return e=e||{},n.data.navRaw=e,e.items&&Array.isArray(e.items)&&e.items.length&&WebBaseAprovLV.Cache.set(["navigation",WebBaseAprovLV.lang,(e.items[0].system||{}).codename||""].join("."),e),n.data.pageRaw&&n.data.serviceRaw?(n.element=$("#content"),n.data=$.extend(n.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(n.data.pageRaw)[0]||{},nav:WebBaseAprovLV.Utils.getKKViewModel(n.data.navRaw)[0]||{},service:WebBaseAprovLV.Utils.getKKViewModel(n.data.serviceRaw)[0]||{}}),WebBaseAprovLV.Utils.transitionTo(n)):$.Deferred().reject(n)})).promise()}; 42WebBaseAprovLV.renderServicesPage=function(e){var t=e.context.params.page||"",a=(e.context.params.detail,WebBaseAprovLV.Utils.parseQuerystring(e.context.querystring)),r=e.context.hash;r=(r=(r=(r=(r=r.replace(new RegExp("%7C","g"),"%257C")).replace(new RegExp("%28","g"),"%2528")).replace(new RegExp("%29","g"),"%2529")).replace(new RegExp("%2E","g"),"%252E")).replace(new RegExp("%3A","g"),"%253A"),(r=WebBaseAprovLV.Utils.escapeColonQueryString(r)).includes("q=")&&-1===r.toLowerCase().indexOf("q=&")&&r.length>3?defaultsearchterm="":(r=r.replace(new RegExp("q=","g"),""),defaultsearchterm="&q=mycivis*");var s="q="+(a.q?a.q:"")+"&start="+(a.start?a.start:"");switch(!0){case/^de/i.test(WebBaseAprovLV.lang):parametersServices="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=civis_bz_de&lang=d&getf
42ields=*&filter=0"+defaultsearchterm+(r?"&"+r:"")+(a.start?"&start="+a.start:"");break;case/^it/i.test(WebBaseAprovLV.lang):parametersServices="site=coll_lv_aprov_it_newservice&proxystylesheet=json&client=civis_bz_it&lang=i&getfields=*&filter=0"+defaultsearchterm+(r?"&"+r:"")+(a.start?"&start="+a.start:"");break;case/^l?ld/i.test(WebBaseAprovLV.lang):parametersServices="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=civis_bz_de&lang=d&getfields=*&filter=0"+defaultsearchterm+(r?"&"+r:"")+(a.start?"&start="+a.start:"")}var l={element:null,template:"templates/services.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,pageContent:null,searchResultsServices:null,searchParamsServices:null,searchParamsServices:null,searchParamsNavigation:null}};return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=1"),WebBaseAprovLV.Utils.getSearchData(parametersServices),ejs.preloadTemplate(l.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,a,r,i){var n=Array.isArray(e)?e[0]:e||{},p=Array.isArray(t)?t[0]:t||{};if(l.data.pageRaw=n,l.data.pageRaw)return l.element=$("#content"),l.data=$.extend(l.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(l.data.pageRaw)[0]||{},searchResultsServices:p,searchParamsServices:parametersServices,searchParamsNavigation:s}),WebBaseAprovLV.Utils.transitionTo(l)})).then((function(e){var t,a,r;return t=$(".search_results"),a=110,(r=$(window).width())<=576?a=75:r<=991&&(a=88),t.length&&t.length&&r<=576&&$("html,body").animate({scrollTop:$(".search_results").offset().top-a},500),e})).promise()}; 43WebBaseAprovLV.renderSearchPage=function(e){var t=e.context.params.page||"",l=(e.context.params.detail,WebBaseAprovLV.Utils.parseQuerystring(e.context.querystring)),s=e.context.hash;s=(s=(s=(s=(s=s.replace(new RegExp("%7C","g"),"%257C")).replace(new RegExp("%28","g"),"%2528")).replace(new RegExp("%29","g"),"%2529")).replace(new RegExp("%2E","g"),"%252E")).replace(new RegExp("%3A","g"),"%253A"),l.q&&""!==l.q&&(l.q=l.q.replace(/([^\\]):/g,"$1\\:"));var a="q="+(l.q?l.q:"")+"&start="+(l.start?l.start:"");switch(!0){case/^de/i.test(WebBaseAprovLV.lang):"coll_lv_all_de"==l.site?parametersWeb="site=coll_lv_all_de&proxystylesheet=json&client=provinz_bz_de&lang=d&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersWeb="site=coll_lv_all_de&proxystylesheet=json&client=provinz_bz_de&lang=d&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_aprov_de_newservice"==l.site?parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_standalone_news_kentico_de"==l.site?parametersNews="site=coll_lv_standalone_news_kentico_de&proxystylesheet=json_ext&client=provinz_bz_de&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersNews="site=coll_lv_standalone_news_kentico_de&proxystylesheet=json_ext&client=provinz_bz_de&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_all_de_contacts"==l.site?parametersContact="site=coll_lv_all_de_contacts&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersContact="site=coll_lv_all_de_contacts&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_all_de_istitutions"==l.site?parametersInstitution="site=coll_lv_all_de_istitutions&proxystylesheet=json&client=provinz_bz_de&lang=d&getf
43ields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersInstitution="site=coll_lv_all_de_istitutions&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"");break;case/^it/i.test(WebBaseAprovLV.lang):"coll_lv_all_it"==l.site?parametersWeb="site=coll_lv_all_it&proxystylesheet=json&client=provinz_bz_it&lang=i&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersWeb="site=coll_lv_all_it&proxystylesheet=json&client=provinz_bz_it&lang=i&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_aprov_it_newservice"==l.site?parametersService="site=coll_lv_aprov_it_newservice&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersService="site=coll_lv_aprov_it_newservice&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_standalone_news_kentico_it"==l.site?parametersNews="site=coll_lv_standalone_news_kentico_it&proxystylesheet=json_ext&client=provinz_bz_it&lang=i&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersNews="site=coll_lv_standalone_news_kentico_it&proxystylesheet=json_ext&client=provinz_bz_it&lang=i&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_all_it_contacts"==l.site?parametersContact="site=coll_lv_all_it_contacts&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersContact="site=coll_lv_all_it_contacts&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_all_it_istitutions"==l.site?parametersInstitution="site=coll_lv_all_it_istitutions&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersInstitution="site=coll_lv_all_it_istitutions&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"");break;case/^en/i.test(WebBaseAprovLV.lang):"coll_lv_all_en"==l.site?parametersWeb="site=coll_lv_all_de&proxystylesheet=json&client=provinz_bz_en&lang=d&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersWeb="site=coll_lv_all_de&proxystylesheet=json&client=provinz_bz_en&lang=d&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_aprov_en_service"==l.site?parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_en&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_en&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_standalone_news_kentico_en"==l.site?parametersNews="site=coll_lv_standalone_news_kentico_de&proxystylesheet=json_ext&client=provinz_bz_en&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersNews="site=coll_lv_standalone_news_kentico_de&proxystylesheet=json_ext&client=provinz_bz_en&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_all_en_contacts"==l.site?parametersContact="site=coll_lv_all_de_contacts&proxystylesheet=json&client=provinz_bz_en&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersContact="site=coll_lv_all_de_contacts&proxystylesheet=json&client=provinz_bz_en&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_all_en_istitutions"==l.site?parametersInstitution="site=coll_lv_all_de_istitutions&proxystylesheet=json&client=provinz_bz_en&lang=d&getf
43ields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersInstitution="site=coll_lv_all_de_istitutions&proxystylesheet=json&client=provinz_bz_en&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"");break;case/^l?ld/i.test(WebBaseAprovLV.lang):"coll_lv_all_lld"==l.site?parametersWeb="site=coll_lv_all_la&proxystylesheet=json&client=provinz_bz_la&lang=d&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersWeb="site=coll_lv_all_la&proxystylesheet=json&client=provinz_bz_la&lang=d&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_aprov_lld_service"==l.site?parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersService="site=coll_lv_aprov_de_newservice&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=SEHI_TITLE.SEHI_DESC.CODICE_CIVIS_LEGACY.URI.IS_ONLINE.TAGS&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_standalone_news_kentico_lld"==l.site?parametersNews="site=coll_lv_standalone_news_kentico_la&proxystylesheet=json_ext&client=provinz_bz_la&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:"")+(l.start?"&start="+l.start:""):parametersNews="site=coll_lv_standalone_news_kentico_la&proxystylesheet=json_ext&client=provinz_bz_la&lang=d&sort=date:D:R:d1&getfields=title.subtitle.url.date.categories.main_image&filter=0"+(l.q?"&q="+l.q:""),"coll_lv_all_lld_contacts"==l.site?parametersContact="site=coll_lv_all_la_contacts&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersContact="site=coll_lv_all_la_contacts&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:""),"coll_lv_all_lld_istitutions"==l.site?parametersInstitution="site=coll_lv_all_la_istitutions&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")+(l.start?"&start="+l.start:""):parametersInstitution="site=coll_lv_all_la_istitutions&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=*&filter=0"+(l.q?"&q="+l.q:"")+(s?"&"+s:"")}var r={element:null,template:"templates/search.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,pageContent:null,searchResultsWeb:null,searchResultsService:null,searchResultsNews:null,searchResultsContact:null,searchResultsInstitution:null,searchParamsWeb:null,searchParamsService:null,searchParamsNews:null,searchParamsContact:null,searchParamsInstitution:null,searchParamsNavigation:null}};return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=1"),WebBaseAprovLV.Utils.getSearchData(parametersWeb),WebBaseAprovLV.Utils.getSearchData(parametersService),WebBaseAprovLV.Utils.getSearchData(parametersNews),WebBaseAprovLV.Utils.getSearchData(parametersContact),WebBaseAprovLV.Utils.getSearchData(parametersInstitution),ejs.preloadTemplate(r.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,l,s,i,n,_,o,c){var p=Array.isArray(e)?e[0]:e||{},v=Array.isArray(t)?t[0]:t||{},d=Array.isArray(l)?l[0]:l||{},q=Array.isArray(s)?s[0]:s||{},g=Array.isArray(i)?i[0]:i||{},b=Array.isArray(n)?n[0]:n||{};if(r.data.pageRaw=p,r.data.pageRaw)return r.element=$("#content"),r.data=$.extend(r.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(r.data.pageRaw)[0]||{},searchResultsWeb:v,searchResultsService:d,searchResultsNews:q,searchResultsContact:g,searchResultsInstitution:b,searchParamsWeb:parametersWeb,searchParamsService:parametersService,searchParamsNews:parametersNews,searchParamsContact:parametersContact,searchParamsInstitution:parametersInstitution,searchParamsNavigation:a}),WebBaseAprovLV.Utils.transitionTo(r)})).then((function(e){return function(e){var t=$("#searchTap"),s=110,a=$(window).width();if(a<=576?s=75:a<=991&&(s=88),t.length&&t.length)switch(!0){case/^(coll_lv_all_de|coll_lv_all_it|coll_lv_all_en|coll_lv_all_lld)$/i.test(l.site):$('.lv_nav_tabs a[href="#webTab"]').tab("show"),$("html,body").animate({scrollTop:$("#webTab").offset().top-s},500);break;case/service/i.test(l.site):$('.lv_nav_tabs a[href="#servicesTab"]').tab("show"),$("html,body").animate({scrollTop:$("#servicesTab").offset().top-s},500);break;case/news/i.test(l.site):$('.lv_nav_tabs a[href="#newsTab"]').tab("show"),$("html,body").animate({scrollTop:$("#newsTab").offset().top-s},500);break;case/contact/i.test(l.site):$('.lv_nav_tabs a[href="#contactsTab"]').tab("show"),$("html,body").animate({scrollTop:$("#contactsTab").offset().top-s},500);break;case/institution/i.test(l.site):$('.lv_nav_tabs a[href="#institutionsTab"]').tab("show"),$("html,body").animate({scrollTop:$("#institutionsTab").offset().top-s},500)}}(),e})).promise()}; 44WebBaseAprovLV.renderPublicationsPage=function(e){var t,a=e.context.params.page||"",i=(e.context.params.detail,{element:null,template:"templates/publications.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,publicationsRaw:null,pageContent:null,publications:null,categories:[{codename:"publikationen_pubblicazioni",name:"Publikationen|Pubblicazioni"}],queryStringCollection:null,queryString:null}}),n=WebBaseAprovLV.Utils.parseQuerystring(e.context.querystring);return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+a),(t=WebBaseAprovLV.Cache.get("taxonomies.publications_categories").value,t?$.Deferred().resolve(t).promise():WebBaseAprovLV.Utils.getTaxonomies({groupname:"publications_categories"}))).then((function(e,t){var a=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t,o=WebBaseAprovLV.pagingWindow||10,s={categories:(n.
44categories||"").toLowerCase(),month:parseInt((n.month||"0").replace(/[^0-9]/g,""),10),year:parseInt((n.year||"0").replace(/[^0-9]/g,""),10)},l=[],c="",u=[],p=[{field:(n.order||"").toLowerCase(),dir:(n.dir||"").toLowerCase(),value:""}],d=[],g="";return(r.terms||[]).length&&(i.data.categories=r.terms),WebBaseAprovLV.Cache.set("taxonomies.publications_categories",r),a.items&&Array.isArray(a.items)&&a.items.length?(i.data.pageRaw=a||{},s.categories.length&&(l=i.data.categories.filter((function(e){return new RegExp("(^|,)"+e.codename+"(,|$)","i").test(s.categories)})).map((function(e){return e.codename}))).length&&(c="&elements.publication_categories",1===l.length?c+="[contains]="+encodeURIComponent(l[0]):c+="[any]="+encodeURIComponent(l.join(","))),s.year>0&&s.month>=0&&(u=["&elements.date_time[gte]=",s.year,"-",String("0"+s.month).slice(-2),"-01"].join("")),g=(d=p.map((function(e){switch(e.dir=/^(asc|desc)?$/i.test(e.dir)?e.dir:"",e.field){case"last_modified":e.dir=e.dir.length?e.dir:"desc",e.value=["system.last_modified[",e.dir,"]"].join("");break;case"title":e.dir=e.dir.length?e.dir:"asc",e.value=["elements.title[",e.dir,"]"].join("");break;default:e.dir=e.dir.length?e.dir:"asc",e.value=["elements.date_time[",e.dir,"]"].join("")}return e})).filter((function(e){return e.value.length>0})).map((function(e){return e.value}))).length?"&order="+d.join(","):"",WebBaseAprovLV.Utils.getKKData("?system.type=publication_item&includeTotalCount=true"+u+c+g+(n.skip?"&skip="+n.skip:"")+"&limit="+o)):$.Deferred().reject(i)})).then((function(e){var t,a=[],r={};if(e=e||{},i.data.publicationsRaw=e||{},i.data.pageRaw){for(t in n)switch(!0){case/^(skip|limit)/i.test(t):break;default:a.push([t.toLowerCase(),n[t]].join("=")),r[t.toLowerCase()]=n[t]}return i.element=$("#content"),i.data=$.extend(i.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(i.data.pageRaw)[0]||{},publications:(i.data.publicationsRaw.items||[]).length?WebBaseAprovLV.Utils.getKKViewModel(i.data.publicationsRaw):[],queryStringCollection:r,queryString:a.join("&")}),WebBaseAprovLV.Utils.transitionTo(i)}return $.Deferred().reject(i)})).promise()}; 45WebBaseAprovLV.renderContactPage=function(e){var a={page:e.context.params.page||"",detail:e.context.params.detail||""},t=parseInt(a.detail,10),r=WebBaseAprovLV.lang,n=WebBaseAprovLV.lang;"lld"==r&&(r="la"),"lld"==n&&(n="lt");var l={element:null,template:"templates/contact.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,pageContent:null}};return isNaN(t)?$.Deferred().reject(l):$.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+a.page+"&depth=1"),WebBaseAprovLV.Utils.getBTELData("BTEL_DipEx?lang="+r+"&orgaid="+t),WebBaseAprovLV.Utils.getBTELData("BTEL_OrgaWorker?lang="+r+"&orgaid="+t),WebBaseAprovLV.Utils.getBTELData("BTEL_OrgaChildren?lang="+r+"&orgaid="+t),WebBaseAprovLV.Utils.getBTELData("BTEL_OrgaTasks?lang="+r+"&orgaid="+t),WebBaseAprovLV.Utils.getBTELData("BTEL_OrgaPath?lang="+r+"&orgaid="+t),ejs.preloadTemplate(l.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,a,t,r,i,s,o,g,p){var d=Array.isArray(e)?e[0]:e||{},v=Array.isArray(a)?a[0]:a||[],A=Array.isArray(t)?t[0]:t||[],L=Array.isArray(r)?r[0]:r||[],m=Array.isArray(i)?i[0]:i||[],B=Array.isArray(s)?s[0]:s||[];if(l.data.pageRaw=d,l.data.pageRaw&&(l.element=$("#content"),l.data=$.extend(l.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(l.data.pageRaw)[0]||{},btelDipEx:v||[],btelOrgaWorker:A||[],btelOrgaChildren:(L||[]).filter((function(e){return e.childId||0})),btelOrgaTasks:m||[],btelOrgaPath:B||[]})),(v||[]).length){var c=l.data.btelDipEx[0].myCivisOrgaId;if(c)return WebBaseAprovLV.Utils.getServiceEditorDataQuelixByOrganization({lang:n,organizationID:c})}return{}})).then((function(e){var a=Array.isArray(e)?e[0]:e||{};return l.data.secaServices=a,WebBaseAprovLV.Utils.transitionTo(l)})).then((function(e){return e.data.UILangSwitch=WebBaseAprovLV.Utils.tuneUILangSwitchers({page:{id:(e.data.pageContent||{}).system_id||"",segment:{de:"kontakte/"+t,it:"contatti/"+t,lld:"contac/"+t,en:"contact/"+t}}},$("a.langchange")),e})).promise()}; 46WebBaseAprovLV.renderContactsPage=function(t){var e=t.context.params.page||"",a=(t.context.params.detail,WebBaseAprovLV.Utils.parseQuerystring(t.context.querystring)),s=t.context.hash;s=(s=(s=(s=(s=s.replace(new RegExp("%7C","g"),"%257C")).replace(new RegExp("%28","g"),"%2528")).replace(new RegExp("%29","g"),"%2529")).replace(new RegExp("%2E","g"),"%252E")).replace(new RegExp("%3A","g"),"%253A"),a.q&&""!==a.q&&(a.q=a.q.replace(/([^\\]):/g,"$1\\:"));var r="q="+(a.q?a.q:"")+"&start="+(a.start?a.start:""),l=new URLSearchParams(s),n=l.get("q"),o=l.get("inst_start");switch(!0){case/^de/i.test(WebBaseAprovLV.lang):parametersContact="site=coll_lv_all_de_contacts&proxystylesheet=json&client=aprov_contacts_de&lang=d&sort=meta:PERSON_NAME2:::DE&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(s?"&"+s:"")+(a.start?"&start="+
46a.start:""),parametersInstitution="site=coll_lv_all_de_istitutions&proxystylesheet=json&client=provinz_bz_de&lang=d&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(n?"&q="+n:"")+(o?"&start="+o:"")+(a.start?"&start="+a.start:"");break;case/^it/i.test(WebBaseAprovLV.lang):parametersContact="site=coll_lv_all_it_contacts&proxystylesheet=json&client=aprov_contacts_it&lang=i&sort=meta:PERSON_NAME2:::DE&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(s?"&"+s:"")+(a.start?"&start="+a.start:""),parametersInstitution="site=coll_lv_all_it_istitutions&proxystylesheet=json&client=provinz_bz_it&lang=i&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(n?"&q="+n:"")+(o?"&start="+o:"")+(a.start?"&start="+a.start:"");break;case/^l?ld/i.test(WebBaseAprovLV.lang):parametersContact="site=coll_lv_all_la_contacts&proxystylesheet=json&client=aprov_contacts_la&lang=d&sort=meta:PERSON_NAME2:::DE&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(s?"&"+s:"")+(a.start?"&start="+a.start:""),parametersInstitution="site=coll_lv_all_la_istitutions&proxystylesheet=json&client=provinz_bz_la&lang=d&getfields=*&filter=0"+(a.q?"&q="+a.q:"")+(n?"&q="+n:"")+(o?"&start="+o:"")+(a.start?"&start="+a.start:"")}var i={element:null,template:"templates/contacts.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(t.context.Model||{}).Main||{},pageRaw:null,pageContent:null,searchResultsContact:null,searchParamsContact:null,searchResultsInstitution:null,searchParamsInstitution:null,searchParamsNavigation:null}};return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+e+"&depth=1"),WebBaseAprovLV.Utils.getSearchData(parametersContact),WebBaseAprovLV.Utils.getSearchData(parametersInstitution),ejs.preloadTemplate(i.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(t,e,a,s,l,n){var o=Array.isArray(t)?t[0]:t||{},c=Array.isArray(e)?e[0]:e||{},p=Array.isArray(a)?a[0]:a||{};if(i.data.pageRaw=o,i.data.pageRaw)return i.element=$("#content"),i.data=$.extend(i.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(i.data.pageRaw)[0]||{},searchResultsContact:c,searchParamsContact:parametersContact,searchResultsInstitution:p,searchParamsInstitution:parametersInstitution,searchParamsNavigation:r}),WebBaseAprovLV.Utils.transitionTo(i)})).then((function(t){return function(t){var e=$(".search_results"),s=$("#searchTap"),r=110,l=$(window).width();if(l<=576?r=75:l<=991&&(r=88),e.length&&e.length&&l<=576&&$("html,body").animate({scrollTop:$(".search_results").offset().top-r},500),s.length&&s.length)switch(!0){case/contact/i.test(a.site):$('.lv_nav_tabs a[href="#contactsTab"]').tab("show"),$("html,body").animate({scrollTop:$("#contactsTab").offset().top-r},500);break;case/institution/i.test(a.site):$('.lv_nav_tabs a[href="#institutionsTab"]').tab("show"),$("html,body").animate({scrollTop:$("#institutionsTab").offset().top-r},500)}}(),t})).promise()}; 47WebBaseAprovLV.renderOrganigramPage=function(e){var t=e.context.params.page||"",a=(e.context.params.detail,WebBaseAprovLV.lang,{element:null,template:"templates/organigram.ejs.html?v="+WebBaseAprovLV.version.template,data:{main:(e.context.Model||{}).Main||{},pageRaw:null,pageContent:null}});return $.when(WebBaseAprovLV.Utils.getKKData("?system.type=page&elements.url[in]="+t+"&depth=1"),ejs.preloadTemplate(a.template),ejs.preloadTemplate("templates/breadcrumb.ejs.html?v="+WebBaseAprovLV.version.template),ejs.preloadTemplate("templates/bottomnav.ejs.html?v="+WebBaseAprovLV.version.template)).then((function(e,t,r,o){var n=Array.isArray(e)?e[0]:e||{};if(a.data.pageRaw=n,a.data.pageRaw)return a.element=$("#content"),a.data=$.extend(a.data,{pageContent:WebBaseAprovLV.Utils.getKKViewModel(a.data.pageRaw)[0]||{}}),WebBaseAprovLV.Utils.transitionTo(a)})).then((function(e){return function(e){var t=$("#js-orgamap-administrative"),a={ejsmodel:$.extend(!0,{},e),status:"empty"};t.on("load.module.btelorgatree",(function(e){/(running|error|done)/i.test(a.status)||new btelOrgaTree({lang:WebBaseAprovLV.lang,artId:10,$el:$("#js-orgamap-administrative")}).init()})),t.on("error.load.module.btelorgatree",(function(e){var a={de:{statusMsg:"Fehler",thrownMsg:"Struktur wurde nicht geladen."},it:{statusMsg:"Errore",thrownMsg:"La struttura non è stata caricata."}}[/^(de|it)$/.test(WebBaseAprovLV.lang||"")?WebBaseAprovLV.lang:"de"];t.html('<div class="alert alert-danger" role="alert"><strong>'+(a.statusMsg||"")+":</strong> "+(a.thrownMsg||"")+"</div>")})),t.length&&("undefined"==typeof btelOrgaTree?$.getScript("js-modules/apps/btel-orga-tree.js?v="+WebBaseAprovLV.version.template).done((function(e,a,r){t.trigger("load.module.btelorgatree")})).fail((function(e,a,r){t.trigger("error.load.module.btelorgatree",[])})):t.trigger("load.module.btelorgatree"));var r=$("#js-orgamap-political");a={ejsmodel:$.extend(!0,{},e),status:"empty"},r.on("load.module.btelorgatree",(function(e){/(running|error|done)/i.test(a.status)||new btelOrgaTree({lang:WebBaseAprovLV.lang,artId:2,$el:$("#js-orgamap-political")}).init()})),r.on("error.load.module.btelorgatree",(function(e){var t={de:{statusMsg:"Fehler",thrownMsg:"Struktur wurde nicht geladen."},it:{statusMsg:"Errore",thrownMsg:"La struttura non è stata caricata."}}[/^(de|it)$/.test(WebBaseAprovLV.lang||"")?WebBaseAprovLV.lang:"de"];r.html('<div class="alert alert-danger" role="alert"><strong>'+(t.statusMsg||"")+":</strong> "+(t.thrownMsg||"")+"</div>")})),r.length&&("undefined"==typeof btelOrgaTree?$.getScript("js-modules/apps/btel-orga-tree.js?v="+WebBaseAprovLV.version.template).done((function(e,t,a){r.trigger("load.module.btelorgatree")})).fail((function(e,t,a){r.trigger("error.load.module.btelorgatree",[])})):r.trigger("load.module.btelorgatree"))}(e),e})).promise()}; 48WebBaseAprovLV.renderMainContent=function(){document.title={de:"Autonome Provinz Bozen - Südtirol",it:"Provincia autonoma di Bolzano - Alto Adige",lld:"Provinzia autonoma de Bulsan - Südtirol",en:"Autonomous Province of Bozen/Bolzano - South Tyrol"}[/^(de|it|lld|en)$/.test(WebBaseAprovLV.lang)?WebBaseAprovLV.lang:"de"],document.documentElement.lang=WebBaseAprovLV.lang||"de";let e=document.querySelector("body");return e&&"prod"!==WebBaseAprovLV.config.environment&&e.setAttribute("data-kontent-language-codename",WebBaseAprovLV.lang||"de"),$.when(WebBaseAprovLV.Utils.getKKData("/homepage?elements=title,navigation_title,show_in_navigation,subpages,url&depth=4"),WebBaseAprovLV.Utils.getKKData("/system_settings?depth=2"),WebBaseAprovLV.Utils.getI18nData()).then((function(e,t,a){var n,o=WebBaseAprovLV.lang||"de";
48return WebBaseAprovLV.i18n[o]=WebBaseAprovLV.i18n[o]||(WebBaseAprovLV.i18n[o]=a&&a.length?a[0]:null),n={navrootold:{},navroot:WebBaseAprovLV.Utils.getKKViewModel(e[0]),navbrand:{},navfooter:{},settings:WebBaseAprovLV.Utils.getKKViewModel(t[0])},WebBaseAprovLV.Cache.set(["page",WebBaseAprovLV.lang,"main"].join("."),n),WebBaseAprovLV.Utils.transitionTo({element:$(".js-main-content"),template:"templates/main.ejs.html?v="+WebBaseAprovLV.version.template,data:n})})).then((function(e){return 0===$("#toTop").length&&($("body").append('<div id="toTop" class="btn"><span class="fa fa-angle-double-up"></span></div>'),$(window).scroll((function(){0!=$(this).scrollTop()?$("#toTop").fadeIn():$("#toTop").fadeOut()})),$("#toTop").click((function(){return $("html, body").animate({scrollTop:0},600)}))),$("#menu_btn, #sidebar > ul > li > a").on("click",(function(){var e=$(this),t=e,a=$("#"+e.attr("aria-controls"));$("body").hasClass("open")?($("body").removeClass("open"),$("#sidebar").attr("aria-hidden","true"),$("#menu_btn").attr("aria-expanded","false")):($("body").addClass("open"),a.attr("aria-hidden","false"),t.attr("aria-expanded","true"))})),$("#dismiss").on("click",(function(){$("body").removeClass("open"),$("#sidebar").attr("aria-hidden","true"),$("#menu_btn").attr("aria-expanded","false")})),e})).promise()}; 49$(document).on("click",'[data-toggle="lightbox"]',(function(e){e.preventDefault(),$(this).ekkoLightbox()}
49)),$(document).on("scroll",(function(){var e=$("#masthead").position().top,a=$(window).width();e=0!==e?$("#masthead").position().top:a<=576?39:a<=768?51:59,window.pageYOffset>=e?$("#masthead").addClass("shrink"):$("#masthead").removeClass("shrink")})),$(document).on("shown.bs.collapse",".collapse",(function(e){var a=$(this).closest(".accordion-item"),t=$($(this).data("parent")).find(".collapse.show"),n=$(window).width(),s=0;n<=576?s=75:n<=991&&(s=88),0!==a.prevAll().filter(t.closest(".accordion-item")).length&&(s=t.height()),$("html,body").animate({scrollTop:a.offset().top-s},500)})),$(document).on("click","#TabsThemes > li > a",(function(){var e=$(".themes_tab_content");$("html,body").animate({scrollTop:e.offset().top-110},500)})),$(document).on("click",".moretab",(function(e){e.preventDefault();var a=$(this).attr("href");$('.nav-link[href="'+a+'"]').trigger("click")})),$(document).on("submit",".js-search-form",(function(e){e.preventDefault();var a=window.location.pathname;/^suche|ricerca|search|chirida/.test(a||"")||localStorage.setItem("activeTab","#webTab"),$(e.currentTarget);var t=$(".js-search-form").serialize();"de"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/suche?"+t):"lld"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/chirida?"+t):"en"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/search?"+t):page("/"+WebBaseAprovLV.lang+"/ricerca?"+t),$("#q").val("")})),$(document).on("submit",".js-search-form-mobile",(function(e){e.preventDefault();var a=window.location.pathname;/^suche|ricerca|chirida/.test(a||"")||localStorage.setItem("activeTab","#webTab"),$(e.currentTarget);var t=$(".js-search-form-mobile").serialize();"de"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/suche?"+t):"lld"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/chirida?"+t):"en"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/search?"+t):page("/"+WebBaseAprovLV.lang+"/ricerca?"+t),$("#qmobile").val("")})),$(document).on("submit",".js-search-contacts",(function(e){e.preventDefault();const a=$(e.currentTarget)[0].action,t=a.substring(a.indexOf("#!")+2);var n=$(".js-search-contacts").serialize();page(t+"#"+n)})),$(document).on("submit",".js-search-services",(function(e){e.preventDefault();const a=$(e.currentTarget)[0].action,t=a.substring(a.indexOf("#!")+2);var n=$(".js-search-services").serialize();n.length>2?page(t+"#"+n):page(t)})),$(document).on("submit",".js-search-facets",(function(e){e.preventDefault();const a=$(e.currentTarget)[0].action,t=a.substring(a.indexOf("#!")+2);var n=$(".js-search-facets").serialize();page(t+"#"+n)})),$(document).on("submit",".js-search-inpage",(function(e){e.preventDefault(),$(e.currentTarget);var a=$(".js-search-inpage").serialize();"de"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/suche?"+a):"lld"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/chirida?"+a):"en"===WebBaseAprovLV.lang?page("/"+WebBaseAprovLV.lang+"/search?"+a):page("/"+WebBaseAprovLV.lang+"/ricerca?"+a)})),$(document).on("keydown",'input[name="q"]',(function(){var e,a="https://api.integrations.services.siag.it/pub/cocweb/quelix/aprov/api/suggest?site="+$("input[name='site']").val()+"&max=5&client="+$("input[name='client']").val()+"&format=rich&callback=?";$('input[name="q"]').autoComplete({resolver:"custom",minLength:4,noResultsText:"",formatResult:function(e){return{value:e.name,text:e.name,html:[e.name]}},events:{search:function(e,t){$.ajax({url:a,dataType:"jsonp",data:{q:e}}).done((function(e){t(e.results)}))}}}),e="de"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/suche":"lld"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/chirida":"en"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/contact":"/"+WebBaseAprovLV.lang+"/ricerca";var t=$(this).attr("id"),n=window.location.pathname;/^qcontacts/.test(t||"")&&(e="de"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/kontakte":"lld"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/contac":"en"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/contact":"/"+WebBaseAprovLV.lang+"/contatti"),/^qservices/.test(t||"")&&(e="de"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/suche-dienste":"lld"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/chiri-sorvisc":"en"===WebBaseAprovLV.lang?"/"+WebBaseAprovLV.lang+"/search-service":"/"+WebBaseAprovLV.lang+"/cerca-servizi"),/^suche|r
49icerca|chirida/.test(n||"")||localStorage.setItem("activeTab","#webTab"),$('input[name="q"]').on("autocomplete.select",(function(a,n){if(/^qservices/.test(t||"")||/^qcontacts/.test(t||""))var s=e+"#q="+n.name;else s=e+"?q="+n.name;document.location.href=s}))})); 50WebBaseAprovLV.RoutingTable=WebBaseAprovLV.RoutingTable||[],WebBaseAprovLV.RoutingTable=WebBaseAprovLV.RoutingTable.concat([{matches:/^home$/i,action:WebBaseAprovLV.renderHome},{matches:/^(suche|ricerca|search|chirida)$/i,action:WebBaseAprovLV.renderSearchPage},{matches:/^news$/i,action:function(e){return(e.context.params||{}).detail?WebBaseAprovLV.renderArticlePage(e):WebBaseAprovLV.renderArticlesPage(e)}},{matches:/^(problem-melden-erfolgreich|segnalazione-problema-esito-positivo|lasce-alsavei-problemn|problem-reporting-successful)$/i,action:WebBaseAprovLV.renderProblemReportingSuccessful},{matches:/^(projekte|progetti|proiec|projekte-archiv|progetti-archivio|proiec-archif)$/i,action:function(e){return(e.context.params||{}).detail?WebBaseAprovLV.renderProjectPage(e):WebBaseAprovLV.renderProjectsPage(e)}},{matches:/^pub(likationen|blicazioni|licaziuns)$/i,action:WebBaseAprovLV.renderPublicationsPage},{matches:/^(veranstaltungen|eventi|events|manifestazioni|manifestaziuns|terminkalender|calendario-appuntamenti|termins)$/i,action:function(e){return(e.context.params||{}).detail?WebBaseAprovLV.renderAppointmentPage(e):WebBaseAprovLV.renderAppointmentsPage(e)}},{matches:/^sitemap$/i,action:WebBaseAprovLV.renderSitemapPage},{matches:/^(suche-fragen-und-antworten|ricerca-domande-e-risposte)$/i,action:function(e){return(e.context.params||{}).detail?WebBaseAprovLV.renderFaqPage(e):WebBaseAprovLV.renderFaqFacetsPage(e)}},{matches:/^(kontakte|contatti|contac)$/i,action:function(e){return(e.context.params||{}).detail?WebBaseAprovLV.renderContactPage(e):WebBaseAprovLV.renderContactsPage(e)}},{matches:/^(suche-dienste|cerca-servizi|chiri-sorvisc)$/i,action:function(e){return WebBaseAprovLV.renderServicesPage(e)}},{matches:/^(ressorts-abteilungen-und-aemter|dipartimenti-ripartizioni-e-uffici|organigramm|organigramma|organigram)$/i,action:function(e){return WebBaseAprovLV.renderOrganigramPage(e)}},{matches:/^cookie$/i,action:function(e){return WebBaseAprovLV.renderCookiePage(e).then((function(e){return function(e){null!==e&&e.getInstance().cookiePolicy(document.getElementById("js-iub-cookie-policy-text"),document.getElementById("js-iub-cookie-policy-services"))}("object"==typeof ScwCookieIub?ScwCookieIub:null),e}))}},{matches:/^privacy$/i,action:function(e){return WebBaseAprovLV.renderGenericPage(e).then((function(e){return function(e){null!==e&&e.getInstance().privacyPolicy(document.querySelector("#content .content_section .container div"))}("object"==typeof ScwCookieIub?ScwCookieIub:null),e}))}},{matches:/.*/,action:WebBaseAprovLV.renderGenericPage}]); 51!function(){var e=function(e){var a,t,n;""!==e.params.language&&void 0!==e.params.language?void 0!==e.params.page?(null!==(n="object"==typeof window.ScwCookieIub?window.ScwCookieIub:null)&&WebBaseAprovLV.config.cookieiub&&(WebBaseAprovLV.config.cookieiub.lang=WebBaseAprovLV.lang,n.getInstance().init(WebBaseAprovLV.config.cookieiub)),$("#js-page-loading").show(),$("body").removeClass("open"),$("#sidebar").attr("aria-hidden","true"),$("#menu_btn").attr("aria-expanded","false"),(t=(a=WebBaseAprovLV.RoutingTable.filter((function(a){return!!a.matches&&a.matches.test(e.params.page)}))).length?a[0]:{}).action||(t.action=WebBaseAprovLV.renderGenericPage),t.action({context:e}).then((function(e){WebBaseAprovLV.Cache.get(["page",WebBaseAprovLV.lang,"main"].join(".")).value;var a,t=(e.data.pageContent||{}).url||"",n=t.length?[WebBaseAprovLV.lang,t].join("/"):window.location.pathname;!t.length&&n.length&&(t=n.replace(/.*\/(de|it|lld|en|fr)\//i,"").replace("/.*","")),(e.data||{}).UILangSwitch||(e.data=e.data||{},e.data.UILangSwitch=WebBaseAprovLV.Utils.tuneUILangSwitchers({page:{id:(e.data.pageContent||{}).system_id||""}},$("a.langchange"))),a=function(e,a){var t=[],n=!1;return e?function e(i){return!n&&t.push(i),i.url===a&&(n=!0),(i.subpages||[]).length&&i.subpages.forEac
51h((function(a){e(a)})),!n&&t.pop(),t}(e):t}(e.data.main.navroot,t),function(e,a,t){var n,i=t.map((function(e){return e.url||""})).filter((function(e){return e.length>0})),r=[],s=$("#sidebarmenu");if(!s.length||s.metisMenu){switch(r.push('<li><a href="'+WebBaseAprovLV.Utils.linkTo(["",WebBaseAprovLV.lang,"home"].join("/"))+'" aria-expanded="false">Home</a></li>'),!0){case/^de/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://news.provinz.bz.it/de/news" aria-expanded="false" title="[externer Link] Alle News | Presseamt">News <i class="fa fa-external-link" aria-hidden="true"></i></a></li>');break;case/^it/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://news.provincia.bz.it/it/news" aria-expanded="false" title="[Link esterno] Tutte le news | Ufficio stampa">News <i class="fa fa-external-link" aria-hidden="true"></i></a></li>');break;case/^l?ld/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://news.provinzia.bz.it/lld/news" aria-expanded="false" title="[Link esterno] Dötes les news | Ofize Stampa">News <i class="fa fa-external-link" aria-hidden="true"></i></a></li>');break;case/^en/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://news.provinz.bz.it/de/news" aria-expanded="false" title="[External Link in German] All news | Press office" hreflang="de">News <i class="fa fa-external-link" aria-hidden="true"></i></a></li>')}switch((e||[]).forEach((function(e){!function e(t){var n=(t.subpages||[]).filter((function(e){return!/^no/i.test((e.show_in_navigation[0]||{}).codename||"")})),s=!!n.length,l=!1,o=-1,p=[];(t.show_in_navigation||[]).length&&/^no/i.test((t.show_in_navigation[0]||{}).codename||"")||(s&&(p.push("has-arrow"),o=i.indexOf(t.url),l=i.length>1&&o>-1&&i.indexOf(a)>o),r.push("<li"+(t.url===a?' class="mm-active"':"")+"><a "+(s?'aria-expanded="'+(l?"true":"false")+'" ':"")+' class="'+p.join(" ")+'" href="'+(s?"javascript:void(0);":WebBaseAprovLV.Utils.linkTo(["",WebBaseAprovLV.lang,t.url||""].join("/")))+'">'+((t.navigation_title||"").length?t.navigation_title:t.title||"")+"</a>"),s&&(r.push('<ul><li><a href="'+WebBaseAprovLV.Utils.linkTo(["",WebBaseAprovLV.lang,t.url||""].join("/"))+'"><span class="fa arrow"> </span> '+WebBaseAprovLV.Utils.gettext("Overview page")+"</a></li>"),n.forEach((function(a){e(a)})),r.push("</ul>")),r.push("</li>"))}(e)})),!0){case/^de/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://transparente-verwaltung.provinz.bz.it/de/home" aria-expanded="false">Transparente Verwaltung</a></li>');break;case/^it/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://amministrazione-trasparente.provincia.bz.it/it/home" aria-expanded="false">Amministrazione Trasparente</a></li>');break;case/^l?ld/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://aministraziun-trasparenta.provinzia.bz.it/lld/home" aria-expanded="false">Aministraziun trasparënta</a></li>');break;case/^en/i.test(WebBaseAprovLV.lang):r.push('<li><a href="https://transparente-verwaltung.provinz.bz.it/de/home" aria-expanded="false" hreflang="de">Transparent administration</a></li>')}s.metisMenu("dispose"),(n=s.clone(!0)).html(r.join("")),s.empty().replaceWith(n),(s=n).length&&s.metisMenu&&s.metisMenu()}}(e.data.main.navroot.subpages||[],t,a),$.fn.tooltip&&$("[data-toggle='tooltip']").tooltip(),$.fn.carousel&&$(".carousel").carousel()})).fail((function(){return WebBaseAprovLV.render404()})).always((function(){function a(){var e,a;$(".lv_crumbs .lv_element").removeClass("lv_brdc_adjusted").attr("style","");var t=$(".lv_crumbs").width(),n=$(".lv_crumbs .lv_element").length,i=n-2,r=0,s=!1,l=$(".lv_crumbs .lv_element").first().outerWidth(),o=$(".lv_crumbs .lv_element").last().outerWidth();t/3<o&&(o=Math.floor(t/3),s=!0),$(".lv_crumbs .lv_element").each((function(e){$(this).addClass("item_"+e),r+=Math.floor($(this).outerWidth())})),e=Math.floor(t-(l+o)),a=Math.floor(e/i),"left"==$(".lv_crumbs .lv_element").css("float")&&t<=r&&($(".lv_crumbs .lv_element:gt(0):lt("+(n-2)+")").outerWidth(a).addClass("lv_brdc_adjusted"),s&&$(".lv_crumbs .lv_element").last().outerWidth(o).addClass("lv_brdc_adjusted"))}$("#js-page-loading").hide(),$(".col_item .card_inner").matchHeight(),$(".gallery_card").each((function(){$(this).find(".card-text").not(".card-text .card-text").matchHeight()})),$("#search_lv_home").matchHeight({target:$(".text_box")}),$(".lv_sn_grid").matchHeight(),a(),$(window).resize(a),function(e){var a;null!==e&&(a=e.getInstance(),/(prerender|siteimprove)/i.test(window.navigator.userAgent||"")||a.banner())}("object"==typeof window.ScwCookieIub?window.ScwCookieIub:null),(WebBaseAprovLV.Utils||{}).ScrollHistory&&WebBaseAprovLV.Utils.ScrollHistory.afterRoute(e)}))):page("/"+WebBaseAprovLV.lang+"/home"):page("/"+WebBaseAprovLV.lang+"/home")};page("/:language?/:page?/:detail?",(function(a){(WebBaseAprovLV.Utils||{}).ScrollHistory&&WebBaseAprovLV.Utils.ScrollHistory.beforeRoute(a);var t=!1,n=/system\.id=[\-A-Z0-9a-z]+/i,i=/project\.id=[\-A-Z0-9a-z]+/i,r=a.params.language||"",s=WebBaseAprovLV.lang;r.length&&/^(de|it|lld|en)$/i.test(r)&&s!==r&&(WebBaseAprovLV.lang=r.toLowerCase(),t=!0),n.test(a.params.page||"")||n.test(a.params.detail||"")?WebBaseAprovLV.renderMainContent().then((function(e){e.data&&WebBaseAprovLV.Cache.set(["main",WebBaseAprovLV.lang,"model"].join("."),e.data),$.when.apply($,[a.params.page||"",a.params.detail||""].map((function(e){if(e.length&&n.test(e)){if(i.test(e)){var a=e.match(i)[0];return WebBaseAprovLV.Utils.getKKData(["?",e.match(n)[0]].join(""),a.replace("project.id=",""))}return WebBaseAprovLV.Utils.getKKData(["?",e.match(n)[0]].join(""))}return e}))).then((function(e,a){var t,n="",i=window.location.hash||"";function r(e){var a=["elements","url"].reduce((function(e,a){return e&&e[a]}),e);return a&&a.type&&a.value&&/url_slug/i.test(a.type)?a.value:""}"string"==typeof e?n=e:Array.isArray(e)&&e.length&&(n=r(e[0].items&&e[0].items.length?e[0].items[0]:null)),n.length?"string"==typeof a?a.length&&(n+="/"+a):Array.isArray(a)&&a.length&&(t=r(a[0].items&&a[0].items.length?a[0].items[0]:null)).length&&(n+="/"+t):n="home",window.location.href=["",WebBaseAprovLV.lang,n+i].join("/")})).fail((function(){window.location.href=["",WebBaseAprovLV.lang,"home"].join("/")}))})):t||0===$("#content").length?WebBaseAprovLV.renderMainContent().then((function(t){a.Model=a.Model||{},a.Model.Main=t.data||{},WebBaseAprovLV.Cache.set(["main",WebBaseAprovLV.lang,"model"].join("."),a.Model.Main),$("#sidebar").removeClass("show"),e(a)})):((a.Model||{}).Main||(a.Model=a.Model||{},a.Model.Main=WebBaseAprovLV.Cache.get(["main",WebBaseAprovLV.lang,"model"].join(".")).value||{}),$("#sidebar").removeClass("show"),e(a))}
51)),page({hashbang:!1})}();
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.