@aiconomy/aico-components 0.0.128 → 0.0.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +26 -23
  2. package/dist/aico-components/aico-components.esm.js +1 -1
  3. package/dist/aico-components/aico-components.esm.js.map +1 -1
  4. package/dist/aico-components/{p-64d6361b.entry.js → p-de1a4cc0.entry.js} +3 -3
  5. package/dist/aico-components/p-de1a4cc0.entry.js.map +1 -0
  6. package/dist/cjs/aico-album-content_26.cjs.entry.js +16 -10
  7. package/dist/cjs/aico-album-content_26.cjs.entry.js.map +1 -1
  8. package/dist/cjs/aico-components.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/components/aico-article-detail/aico-article-detail.js +4 -3
  11. package/dist/collection/components/aico-article-detail/aico-article-detail.js.map +1 -1
  12. package/dist/collection/components/aico-news-list/aico-news-list.js +20 -1
  13. package/dist/collection/components/aico-news-list/aico-news-list.js.map +1 -1
  14. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js +22 -2
  15. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js.map +1 -1
  16. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js +22 -2
  17. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js.map +1 -1
  18. package/dist/collection/utils/ConditionalRender.js +1 -1
  19. package/dist/collection/utils/ConditionalRender.js.map +1 -1
  20. package/dist/collection/utils/utils.js +1 -1
  21. package/dist/collection/utils/utils.js.map +1 -1
  22. package/dist/components/ConditionalRender.js +1 -1
  23. package/dist/components/ConditionalRender.js.map +1 -1
  24. package/dist/components/aico-article-detail2.js +4 -3
  25. package/dist/components/aico-article-detail2.js.map +1 -1
  26. package/dist/components/aico-news-list-item2.js +6 -3
  27. package/dist/components/aico-news-list-item2.js.map +1 -1
  28. package/dist/components/aico-news-list.js +3 -1
  29. package/dist/components/aico-news-list.js.map +1 -1
  30. package/dist/components/aico-special-news-carousel.js +5 -2
  31. package/dist/components/aico-special-news-carousel.js.map +1 -1
  32. package/dist/components/utils.js +1 -1
  33. package/dist/components/utils.js.map +1 -1
  34. package/dist/esm/aico-album-content_26.entry.js +16 -10
  35. package/dist/esm/aico-album-content_26.entry.js.map +1 -1
  36. package/dist/esm/aico-components.js +1 -1
  37. package/dist/esm/loader.js +1 -1
  38. package/dist/types/components/aico-news-list/aico-news-list.d.ts +6 -0
  39. package/dist/types/components/aico-news-list-item/aico-news-list-item.d.ts +6 -0
  40. package/dist/types/components/aico-special-news-carousel/aico-special-news-carousel.d.ts +6 -0
  41. package/dist/types/components.d.ts +24 -0
  42. package/dist/types/utils/utils.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/dist/aico-components/p-64d6361b.entry.js.map +0 -1
@@ -9,10 +9,10 @@ import{r as t,h as e,H as i,F as n,c as r}from"./p-ae20e789.js";var s=typeof glo
9
9
  *
10
10
  * Date: 2023-08-28T13:37Z
11
11
  */
12
- (function(e,i){{t.exports=e.document?i(e,true):function(t){if(!t.document){throw new Error("jQuery requires a window with a document")}return i(t)}}})(typeof window!=="undefined"?window:s,(function(t,e){var i=[];var n=Object.getPrototypeOf;var r=i.slice;var s=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)};var o=i.push;var a=i.indexOf;var c={};var u=c.toString;var l=c.hasOwnProperty;var f=l.toString;var h=f.call(Object);var d={};var p=function t(e){return typeof e==="function"&&typeof e.nodeType!=="number"&&typeof e.item!=="function"};var v=function t(e){return e!=null&&e===e.window};var g=t.document;var m={type:true,src:true,nonce:true,noModule:true};function b(t,e,i){i=i||g;var n,r,s=i.createElement("script");s.text=t;if(e){for(n in m){r=e[n]||e.getAttribute&&e.getAttribute(n);if(r){s.setAttribute(n,r)}}}i.head.appendChild(s).parentNode.removeChild(s)}function w(t){if(t==null){return t+""}return typeof t==="object"||typeof t==="function"?c[u.call(t)]||"object":typeof t}var y="3.7.1",k=/HTML$/i,x=function(t,e){return new x.fn.init(t,e)};x.fn=x.prototype={jquery:y,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(t){if(t==null){return r.call(this)}return t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);e.prevObject=this;return e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:i.sort,splice:i.splice};x.extend=x.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,c=arguments.length,u=false;if(typeof o==="boolean"){u=o;o=arguments[a]||{};a++}if(typeof o!=="object"&&!p(o)){o={}}if(a===c){o=this;a--}for(;a<c;a++){if((t=arguments[a])!=null){for(e in t){n=t[e];if(e==="__proto__"||o===n){continue}if(u&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))){i=o[e];if(r&&!Array.isArray(i)){s=[]}else if(!r&&!x.isPlainObject(i)){s={}}else{s=i}r=false;o[e]=x.extend(u,s,n)}else if(n!==undefined){o[e]=n}}}}return o};x.extend({expando:"jQuery"+(y+Math.random()).replace(/\D/g,""),isReady:true,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;if(!t||u.call(t)!=="[object Object]"){return false}e=n(t);if(!e){return true}i=l.call(e,"constructor")&&e.constructor;return typeof i==="function"&&f.call(i)===h},isEmptyObject:function(t){var e;for(e in t){return false}return true},globalEval:function(t,e,i){b(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if($(t)){i=t.length;for(;n<i;n++){if(e.call(t[n],n,t[n])===false){break}}}else{for(n in t){if(e.call(t[n],n,t[n])===false){break}}}return t},text:function(t){var e,i="",n=0,r=t.nodeType;if(!r){while(e=t[n++]){i+=x.text(e)}}if(r===1||r===11){return t.textContent}if(r===9){return t.documentElement.textContent}if(r===3||r===4){return t.nodeValue}return i},makeArray:function(t,e){var i=e||[];if(t!=null){if($(Object(t))){x.merge(i,typeof t==="string"?[t]:t)}else{o.call(i,t)}}return i},inArray:function(t,e,i){return e==null?-1:a.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!k.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){var i=+e.length,n=0,r=t.length;for(;n<i;n++){t[r++]=e[n]}t.length=r;return t},grep:function(t,e,i){var n,r=[],s=0,o=t.length,a=!i;for(;s<o;s++){n=!e(t[s],s);if(n!==a){r.push(t[s])}}return r},map:function(t,e,i){var n,r,o=0,a=[];if($(t)){n=t.length;for(;o<n;o++){r=e(t[o],o,i);if(r!=null){a.push(r)}}}else{for(o in t){r=e(t[o],o,i);if(r!=null){a.push(r)}}}return s(a)},guid:1,support:d});if(typeof Symbol==="function"){x.fn[Symbol.iterator]=i[Symbol.iterator]}x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){c["[object "+e+"]"]=e.toLowerCase()}));function $(t){var e=!!t&&"length"in t&&t.length,i=w(t);if(p(t)||v(t)){return false}return i==="array"||e===0||typeof e==="number"&&e>0&&e-1 in t}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var _=i.pop;var j=i.sort;var T=i.splice;var E="[\\x20\\t\\r\\n\\f]";var M=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");x.contains=function(t,e){var i=e&&e.parentNode;return t===i||!!(i&&i.nodeType===1&&(t.contains?t.contains(i):t.compareDocumentPosition&&t.compareDocumentPosition(i)&16))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function C(t,e){if(e){if(t==="\0"){return"�"}return t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" "}return"\\"+t}x.escapeSelector=function(t){return(t+"").replace(O,C)};var I=g,S=o;(function(){var e,n,s,o,c,u=S,f,h,p,v,g,m=x.expando,b=0,w=0,y=et(),k=et(),$=et(),O=et(),C=function(t,e){if(t===e){c=true}return 0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|"+"loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+E+"*("+L+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+E+"*\\]",N=":("+L+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|"+".*"+")\\)|)",P=new RegExp(E+"+","g"),R=new RegExp("^"+E+"*,"+E+"*"),B=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),F=new RegExp(E+"|>"),H=new RegExp(N),W=new RegExp("^"+L+"$"),U={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),J=function(t,e){var i="0x"+t.slice(1)-65536;if(e){return e}return i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},V=function(){ut()},X=dt((function(t){return t.disabled===true&&A(t,"fieldset")}),{dir:"parentNode",next:"legend"});function K(){try{return f.activeElement}catch(t){}}try{u.apply(i=r.call(I.childNodes),I.childNodes)}catch(t){u={apply:function(t,e){S.apply(t,r.call(e))},call:function(t){S.apply(t,r.call(arguments,1))}}}function tt(t,e,i,n){var r,s,o,a,c,l,h,g=e&&e.ownerDocument,b=e?e.nodeType:9;i=i||[];if(typeof t!=="string"||!t||b!==1&&b!==9&&b!==11){return i}if(!n){ut(e);e=e||f;if(p){if(b!==11&&(c=Z.exec(t))){if(r=c[1]){if(b===9){if(o=e.getElementById(r)){if(o.id===r){u.call(i,o);return i}}else{return i}}else{if(g&&(o=g.getElementById(r))&&tt.contains(e,o)&&o.id===r){u.call(i,o);return i}}}else if(c[2]){u.apply(i,e.getElementsByTagName(t));return i}else if((r=c[3])&&e.getElementsByClassName){u.apply(i,e.getElementsByClassName(r));return i}}if(!O[t+" "]&&(!v||!v.test(t))){h=t;g=e;if(b===1&&(F.test(t)||B.test(t))){g=Q.test(t)&&ct(e.parentNode)||e;if(g!=e||!d.scope){if(a=e.getAttribute("id")){a=x.escapeSelector(a)}else{e.setAttribute("id",a=m)}}l=ft(t);s=l.length;while(s--){l[s]=(a?"#"+a:":scope")+" "+ht(l[s])}h=l.join(",")}try{u.apply(i,g.querySelectorAll(h));return i}catch(e){O(t,true)}finally{if(a===m){e.removeAttribute("id")}}}}}return kt(t.replace(M,"$1"),e,i,n)}function et(){var t=[];function e(i,r){if(t.push(i+" ")>n.cacheLength){delete e[t.shift()]}return e[i+" "]=r}return e}function it(t){t[m]=true;return t}function nt(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return false}finally{if(e.parentNode){e.parentNode.removeChild(e)}e=null}}function rt(t){return function(e){return A(e,"input")&&e.type===t}}function st(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function ot(t){return function(e){if("form"in e){if(e.parentNode&&e.disabled===false){if("label"in e){if("label"in e.parentNode){return e.parentNode.disabled===t}else{return e.disabled===t}}return e.isDisabled===t||e.isDisabled!==!t&&X(e)===t}return e.disabled===t}else if("label"in e){return e.disabled===t}return false}}function at(t){return it((function(e){e=+e;return it((function(i,n){var r,s=t([],i.length,e),o=s.length;while(o--){if(i[r=s[o]]){i[r]=!(n[r]=i[r])}}}))}))}function ct(t){return t&&typeof t.getElementsByTagName!=="undefined"&&t}function ut(t){var e,i=t?t.ownerDocument||t:I;if(i==f||i.nodeType!==9||!i.documentElement){return f}f=i;h=f.documentElement;p=!x.isXMLDoc(f);g=h.matches||h.webkitMatchesSelector||h.msMatchesSelector;if(h.msMatchesSelector&&I!=f&&(e=f.defaultView)&&e.top!==e){e.addEventListener("unload",V)}d.getById=nt((function(t){h.appendChild(t).id=x.expando;return!f.getElementsByName||!f.getElementsByName(x.expando).length}));d.disconnectedMatch=nt((function(t){return g.call(t,"*")}));d.scope=nt((function(){return f.querySelectorAll(":scope")}));d.cssHas=nt((function(){try{f.querySelector(":has(*,:jqfake)");return false}catch(t){return true}}));if(d.getById){n.filter.ID=function(t){var e=t.replace(Y,J);return function(t){return t.getAttribute("id")===e}};n.find.ID=function(t,e){if(typeof e.getElementById!=="undefined"&&p){var i=e.getElementById(t);return i?[i]:[]}}}else{n.filter.ID=function(t){var e=t.replace(Y,J);return function(t){var i=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return i&&i.value===e}};n.find.ID=function(t,e){if(typeof e.getElementById!=="undefined"&&p){var i,n,r,s=e.getElementById(t);if(s){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}r=e.getElementsByName(t);n=0;while(s=r[n++]){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}}}return[]}}}n.find.TAG=function(t,e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName(t)}else{return e.querySelectorAll(t)}};n.find.CLASS=function(t,e){if(typeof e.getElementsByClassName!=="undefined"&&p){return e.getElementsByClassName(t)}};v=[];nt((function(t){var e;h.appendChild(t).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a>"+"<select id='"+m+"-\r\\' disabled='disabled'>"+"<option selected=''></option></select>";if(!t.querySelectorAll("[selected]").length){v.push("\\["+E+"*(?:value|"+D+")")}if(!t.querySelectorAll("[id~="+m+"-]").length){v.push("~=")}if(!t.querySelectorAll("a#"+m+"+*").length){v.push(".#.+[+~]")}if(!t.querySelectorAll(":checked").length){v.push(":checked")}e=f.createElement("input");e.setAttribute("type","hidden");t.appendChild(e).setAttribute("name","D");h.appendChild(t).disabled=true;if(t.querySelectorAll(":disabled").length!==2){v.push(":enabled",":disabled")}e=f.createElement("input");e.setAttribute("name","");t.appendChild(e);if(!t.querySelectorAll("[name='']").length){v.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")}}));if(!d.cssHas){v.push(":has")}v=v.length&&new RegExp(v.join("|"));C=function(t,e){if(t===e){c=true;return 0}var i=!t.compareDocumentPosition-!e.compareDocumentPosition;if(i){return i}i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1;if(i&1||!d.sortDetached&&e.compareDocumentPosition(t)===i){if(t===f||t.ownerDocument==I&&tt.contains(I,t)){return-1}if(e===f||e.ownerDocument==I&&tt.contains(I,e)){return 1}return o?a.call(o,t)-a.call(o,e):0}return i&4?-1:1};return f}tt.matches=function(t,e){return tt(t,null,null,e)};tt.matchesSelector=function(t,e){ut(t);if(p&&!O[e+" "]&&(!v||!v.test(e))){try{var i=g.call(t,e);if(i||d.disconnectedMatch||t.document&&t.document.nodeType!==11){return i}}catch(t){O(e,true)}}return tt(e,f,null,[t]).length>0};tt.contains=function(t,e){if((t.ownerDocument||t)!=f){ut(t)}return x.contains(t,e)};tt.attr=function(t,e){if((t.ownerDocument||t)!=f){ut(t)}var i=n.attrHandle[e.toLowerCase()],r=i&&l.call(n.attrHandle,e.toLowerCase())?i(t,e,!p):undefined;if(r!==undefined){return r}return t.getAttribute(e)};tt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};x.uniqueSort=function(t){var e,i=[],n=0,s=0;c=!d.sortStable;o=!d.sortStable&&r.call(t,0);j.call(t,C);if(c){while(e=t[s++]){if(e===t[s]){n=i.push(s)}}while(n--){T.call(t,i[n],1)}}o=null;return t};x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(r.apply(this)))};n=x.expr={cacheLength:50,createPseudo:it,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){t[1]=t[1].replace(Y,J);t[3]=(t[3]||t[4]||t[5]||"").replace(Y,J);if(t[2]==="~="){t[3]=" "+t[3]+" "}return t.slice(0,4)},CHILD:function(t){t[1]=t[1].toLowerCase();if(t[1].slice(0,3)==="nth"){if(!t[3]){tt.error(t[0])}t[4]=+(t[4]?t[5]+(t[6]||1):2*(t[3]==="even"||t[3]==="odd"));t[5]=+(t[7]+t[8]||t[3]==="odd")}else if(t[3]){tt.error(t[0])}return t},PSEUDO:function(t){var e,i=!t[6]&&t[2];if(U.CHILD.test(t[0])){return null}if(t[3]){t[2]=t[4]||t[5]||""}else if(i&&H.test(i)&&(e=ft(i,true))&&(e=i.indexOf(")",i.length-e)-i.length)){t[0]=t[0].slice(0,e);t[2]=i.slice(0,e)}return t.slice(0,3)}},filter:{TAG:function(t){var e=t.replace(Y,J).toLowerCase();return t==="*"?function(){return true}:function(t){return A(t,e)}},CLASS:function(t){var e=y[t+" "];return e||(e=new RegExp("(^|"+E+")"+t+"("+E+"|$)"))&&y(t,(function(t){return e.test(typeof t.className==="string"&&t.className||typeof t.getAttribute!=="undefined"&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=tt.attr(n,t);if(r==null){return e==="!="}if(!e){return true}r+="";if(e==="="){return r===i}if(e==="!="){return r!==i}if(e==="^="){return i&&r.indexOf(i)===0}if(e==="*="){return i&&r.indexOf(i)>-1}if(e==="$="){return i&&r.slice(-i.length)===i}if(e==="~="){return(" "+r.replace(P," ")+" ").indexOf(i)>-1}if(e==="|="){return r===i||r.slice(0,i.length+1)===i+"-"}return false}},CHILD:function(t,e,i,n,r){var s=t.slice(0,3)!=="nth",o=t.slice(-4)!=="last",a=e==="of-type";return n===1&&r===0?function(t){return!!t.parentNode}:function(e,i,c){var u,l,f,h,d,p=s!==o?"nextSibling":"previousSibling",v=e.parentNode,g=a&&e.nodeName.toLowerCase(),w=!c&&!a,y=false;if(v){if(s){while(p){f=e;while(f=f[p]){if(a?A(f,g):f.nodeType===1){return false}}d=p=t==="only"&&!d&&"nextSibling"}return true}d=[o?v.firstChild:v.lastChild];if(o&&w){l=v[m]||(v[m]={});u=l[t]||[];h=u[0]===b&&u[1];y=h&&u[2];f=h&&v.childNodes[h];while(f=++h&&f&&f[p]||(y=h=0)||d.pop()){if(f.nodeType===1&&++y&&f===e){l[t]=[b,h,y];break}}}else{if(w){l=e[m]||(e[m]={});u=l[t]||[];h=u[0]===b&&u[1];y=h}if(y===false){while(f=++h&&f&&f[p]||(y=h=0)||d.pop()){if((a?A(f,g):f.nodeType===1)&&++y){if(w){l=f[m]||(f[m]={});l[t]=[b,y]}if(f===e){break}}}}}y-=r;return y===n||y%n===0&&y/n>=0}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||tt.error("unsupported pseudo: "+t);if(r[m]){return r(e)}if(r.length>1){i=[t,t,"",e];return n.setFilters.hasOwnProperty(t.toLowerCase())?it((function(t,i){var n,s=r(t,e),o=s.length;while(o--){n=a.call(t,s[o]);t[n]=!(i[n]=s[o])}})):function(t){return r(t,0,i)}}return r}},pseudos:{not:it((function(t){var e=[],i=[],n=yt(t.replace(M,"$1"));return n[m]?it((function(t,e,i,r){var s,o=n(t,null,r,[]),a=t.length;while(a--){if(s=o[a]){t[a]=!(e[a]=s)}}})):function(t,r,s){e[0]=t;n(e,null,s,i);e[0]=null;return!i.pop()}})),has:it((function(t){return function(e){return tt(t,e).length>0}})),contains:it((function(t){t=t.replace(Y,J);return function(e){return(e.textContent||x.text(e)).indexOf(t)>-1}})),lang:it((function(t){if(!W.test(t||"")){tt.error("unsupported lang: "+t)}t=t.replace(Y,J).toLowerCase();return function(e){var i;do{if(i=p?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang")){i=i.toLowerCase();return i===t||i.indexOf(t+"-")===0}}while((e=e.parentNode)&&e.nodeType===1);return false}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===K()&&f.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(false),disabled:ot(true),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.selected===true},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling){if(t.nodeType<6){return false}}return true},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return q.test(t.nodeName)},button:function(t){return A(t,"input")&&t.type==="button"||A(t,"button")},text:function(t){var e;return A(t,"input")&&t.type==="text"&&((e=t.getAttribute("type"))==null||e.toLowerCase()==="text")},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,i){return[i<0?i+e:i]})),even:at((function(t,e){var i=0;for(;i<e;i+=2){t.push(i)}return t})),odd:at((function(t,e){var i=1;for(;i<e;i+=2){t.push(i)}return t})),lt:at((function(t,e,i){var n;if(i<0){n=i+e}else if(i>e){n=e}else{n=i}for(;--n>=0;){t.push(n)}return t})),gt:at((function(t,e,i){var n=i<0?i+e:i;for(;++n<e;){t.push(n)}return t}))}};n.pseudos.nth=n.pseudos.eq;for(e in{radio:true,checkbox:true,file:true,password:true,image:true}){n.pseudos[e]=rt(e)}for(e in{submit:true,reset:true}){n.pseudos[e]=st(e)}function lt(){}lt.prototype=n.filters=n.pseudos;n.setFilters=new lt;function ft(t,e){var i,r,s,o,a,c,u,l=k[t+" "];if(l){return e?0:l.slice(0)}a=t;c=[];u=n.preFilter;while(a){if(!i||(r=R.exec(a))){if(r){a=a.slice(r[0].length)||a}c.push(s=[])}i=false;if(r=B.exec(a)){i=r.shift();s.push({value:i,type:r[0].replace(M," ")});a=a.slice(i.length)}for(o in n.filter){if((r=U[o].exec(a))&&(!u[o]||(r=u[o](r)))){i=r.shift();s.push({value:i,type:o,matches:r});a=a.slice(i.length)}}if(!i){break}}if(e){return a.length}return a?tt.error(t):k(t,c).slice(0)}function ht(t){var e=0,i=t.length,n="";for(;e<i;e++){n+=t[e].value}return n}function dt(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&s==="parentNode",a=w++;return e.first?function(e,i,r){while(e=e[n]){if(e.nodeType===1||o){return t(e,i,r)}}return false}:function(e,i,c){var u,l,f=[b,a];if(c){while(e=e[n]){if(e.nodeType===1||o){if(t(e,i,c)){return true}}}}else{while(e=e[n]){if(e.nodeType===1||o){l=e[m]||(e[m]={});if(r&&A(e,r)){e=e[n]||e}else if((u=l[s])&&u[0]===b&&u[1]===a){return f[2]=u[2]}else{l[s]=f;if(f[2]=t(e,i,c)){return true}}}}}return false}}function pt(t){return t.length>1?function(e,i,n){var r=t.length;while(r--){if(!t[r](e,i,n)){return false}}return true}:t[0]}function vt(t,e,i){var n=0,r=e.length;for(;n<r;n++){tt(t,e[n],i)}return i}function gt(t,e,i,n,r){var s,o=[],a=0,c=t.length,u=e!=null;for(;a<c;a++){if(s=t[a]){if(!i||i(s,n,r)){o.push(s);if(u){e.push(a)}}}}return o}function mt(t,e,i,n,r,s){if(n&&!n[m]){n=mt(n)}if(r&&!r[m]){r=mt(r,s)}return it((function(s,o,c,l){var f,h,d,p,v=[],g=[],m=o.length,b=s||vt(e||"*",c.nodeType?[c]:c,[]),w=t&&(s||!e)?gt(b,v,t,c,l):b;if(i){p=r||(s?t:m||n)?[]:o;i(w,p,c,l)}else{p=w}if(n){f=gt(p,g);n(f,[],c,l);h=f.length;while(h--){if(d=f[h]){p[g[h]]=!(w[g[h]]=d)}}}if(s){if(r||t){if(r){f=[];h=p.length;while(h--){if(d=p[h]){f.push(w[h]=d)}}r(null,p=[],f,l)}h=p.length;while(h--){if((d=p[h])&&(f=r?a.call(s,d):v[h])>-1){s[f]=!(o[f]=d)}}}}else{p=gt(p===o?p.splice(m,p.length):p);if(r){r(null,o,p,l)}else{u.apply(o,p)}}}))}function bt(t){var e,i,r,o=t.length,c=n.relative[t[0].type],u=c||n.relative[" "],l=c?1:0,f=dt((function(t){return t===e}),u,true),h=dt((function(t){return a.call(e,t)>-1}),u,true),d=[function(t,i,n){var r=!c&&(n||i!=s)||((e=i).nodeType?f(t,i,n):h(t,i,n));e=null;return r}];for(;l<o;l++){if(i=n.relative[t[l].type]){d=[dt(pt(d),i)]}else{i=n.filter[t[l].type].apply(null,t[l].matches);if(i[m]){r=++l;for(;r<o;r++){if(n.relative[t[r].type]){break}}return mt(l>1&&pt(d),l>1&&ht(t.slice(0,l-1).concat({value:t[l-2].type===" "?"*":""})).replace(M,"$1"),i,l<r&&bt(t.slice(l,r)),r<o&&bt(t=t.slice(r)),r<o&&ht(t))}d.push(i)}}return pt(d)}function wt(t,e){var i=e.length>0,r=t.length>0,o=function(o,a,c,l,h){var d,v,g,m=0,w="0",y=o&&[],k=[],$=s,A=o||r&&n.find.TAG("*",h),j=b+=$==null?1:Math.random()||.1,T=A.length;if(h){s=a==f||a||h}for(;w!==T&&(d=A[w])!=null;w++){if(r&&d){v=0;if(!a&&d.ownerDocument!=f){ut(d);c=!p}while(g=t[v++]){if(g(d,a||f,c)){u.call(l,d);break}}if(h){b=j}}if(i){if(d=!g&&d){m--}if(o){y.push(d)}}}m+=w;if(i&&w!==m){v=0;while(g=e[v++]){g(y,k,a,c)}if(o){if(m>0){while(w--){if(!(y[w]||k[w])){k[w]=_.call(l)}}}k=gt(k)}u.apply(l,k);if(h&&!o&&k.length>0&&m+e.length>1){x.uniqueSort(l)}}if(h){b=j;s=$}return y};return i?it(o):o}function yt(t,e){var i,n=[],r=[],s=$[t+" "];if(!s){if(!e){e=ft(t)}i=e.length;while(i--){s=bt(e[i]);if(s[m]){n.push(s)}else{r.push(s)}}s=$(t,wt(r,n));s.selector=t}return s}function kt(t,e,i,r){var s,o,a,c,l,f=typeof t==="function"&&t,h=!r&&ft(t=f.selector||t);i=i||[];if(h.length===1){o=h[0]=h[0].slice(0);if(o.length>2&&(a=o[0]).type==="ID"&&e.nodeType===9&&p&&n.relative[o[1].type]){e=(n.find.ID(a.matches[0].replace(Y,J),e)||[])[0];if(!e){return i}else if(f){e=e.parentNode}t=t.slice(o.shift().value.length)}s=U.needsContext.test(t)?0:o.length;while(s--){a=o[s];if(n.relative[c=a.type]){break}if(l=n.find[c]){if(r=l(a.matches[0].replace(Y,J),Q.test(o[0].type)&&ct(e.parentNode)||e)){o.splice(s,1);t=r.length&&ht(o);if(!t){u.apply(i,r);return i}break}}}}(f||yt(t,h))(r,e,!p,i,!e||Q.test(t)&&ct(e.parentNode)||e);return i}d.sortStable=m.split("").sort(C).join("")===m;ut();d.sortDetached=nt((function(t){return t.compareDocumentPosition(f.createElement("fieldset"))&1}));x.find=tt;x.expr[":"]=x.expr.pseudos;x.unique=x.uniqueSort;tt.compile=yt;tt.select=kt;tt.setDocument=ut;tt.tokenize=ft;tt.escape=x.escapeSelector;tt.getText=x.text;tt.isXML=x.isXMLDoc;tt.selectors=x.expr;tt.support=x.support;tt.uniqueSort=x.uniqueSort})();var D=function(t,e,i){var n=[],r=i!==undefined;while((t=t[e])&&t.nodeType!==9){if(t.nodeType===1){if(r&&x(t).is(i)){break}n.push(t)}}return n};var L=function(t,e){var i=[];for(;t;t=t.nextSibling){if(t.nodeType===1&&t!==e){i.push(t)}}return i};var z=x.expr.match.needsContext;var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,i){if(p(e)){return x.grep(t,(function(t,n){return!!e.call(t,n,t)!==i}))}if(e.nodeType){return x.grep(t,(function(t){return t===e!==i}))}if(typeof e!=="string"){return x.grep(t,(function(t){return a.call(e,t)>-1!==i}))}return x.filter(e,t,i)}x.filter=function(t,e,i){var n=e[0];if(i){t=":not("+t+")"}if(e.length===1&&n.nodeType===1){return x.find.matchesSelector(n,t)?[n]:[]}return x.find.matches(t,x.grep(e,(function(t){return t.nodeType===1})))};x.fn.extend({find:function(t){var e,i,n=this.length,r=this;if(typeof t!=="string"){return this.pushStack(x(t).filter((function(){for(e=0;e<n;e++){if(x.contains(r[e],this)){return true}}})))}i=this.pushStack([]);for(e=0;e<n;e++){x.find(t,r[e],i)}return n>1?x.uniqueSort(i):i},filter:function(t){return this.pushStack(P(this,t||[],false))},not:function(t){return this.pushStack(P(this,t||[],true))},is:function(t){return!!P(this,typeof t==="string"&&z.test(t)?x(t):t||[],false).length}});var R,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,F=x.fn.init=function(t,e,i){var n,r;if(!t){return this}i=i||R;if(typeof t==="string"){if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3){n=[null,t,null]}else{n=B.exec(t)}if(n&&(n[1]||!e)){if(n[1]){e=e instanceof x?e[0]:e;x.merge(this,x.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:g,true));if(N.test(n[1])&&x.isPlainObject(e)){for(n in e){if(p(this[n])){this[n](e[n])}else{this.attr(n,e[n])}}}return this}else{r=g.getElementById(n[2]);if(r){this[0]=r;this.length=1}return this}}else if(!e||e.jquery){return(e||i).find(t)}else{return this.constructor(e).find(t)}}else if(t.nodeType){this[0]=t;this.length=1;return this}else if(p(t)){return i.ready!==undefined?i.ready(t):t(x)}return x.makeArray(t,this)};F.prototype=x.fn;R=x(g);var H=/^(?:parents|prev(?:Until|All))/,W={children:true,contents:true,next:true,prev:true};x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter((function(){var t=0;for(;t<i;t++){if(x.contains(this,e[t])){return true}}}))},closest:function(t,e){var i,n=0,r=this.length,s=[],o=typeof t!=="string"&&x(t);if(!z.test(t)){for(;n<r;n++){for(i=this[n];i&&i!==e;i=i.parentNode){if(i.nodeType<11&&(o?o.index(i)>-1:i.nodeType===1&&x.find.matchesSelector(i,t))){s.push(i);break}}}}return this.pushStack(s.length>1?x.uniqueSort(s):s)},index:function(t){if(!t){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof t==="string"){return a.call(x(t),this[0])}return a.call(this,t.jquery?t[0]:t)},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}});function U(t,e){while((t=t[e])&&t.nodeType!==1){}return t}x.each({parent:function(t){var e=t.parentNode;return e&&e.nodeType!==11?e:null},parents:function(t){return D(t,"parentNode")},parentsUntil:function(t,e,i){return D(t,"parentNode",i)},next:function(t){return U(t,"nextSibling")},prev:function(t){return U(t,"previousSibling")},nextAll:function(t){return D(t,"nextSibling")},prevAll:function(t){return D(t,"previousSibling")},nextUntil:function(t,e,i){return D(t,"nextSibling",i)},prevUntil:function(t,e,i){return D(t,"previousSibling",i)},siblings:function(t){return L((t.parentNode||{}).firstChild,t)},children:function(t){return L(t.firstChild)},contents:function(t){if(t.contentDocument!=null&&n(t.contentDocument)){return t.contentDocument}if(A(t,"template")){t=t.content||t}return x.merge([],t.childNodes)}},(function(t,e){x.fn[t]=function(i,n){var r=x.map(this,e,i);if(t.slice(-5)!=="Until"){n=i}if(n&&typeof n==="string"){r=x.filter(n,r)}if(this.length>1){if(!W[t]){x.uniqueSort(r)}if(H.test(t)){r.reverse()}}return this.pushStack(r)}}));var q=/[^\x20\t\r\n\f]+/g;function G(t){var e={};x.each(t.match(q)||[],(function(t,i){e[i]=true}));return e}x.Callbacks=function(t){t=typeof t==="string"?G(t):x.extend({},t);var e,i,n,r,s=[],o=[],a=-1,c=function(){r=r||t.once;n=e=true;for(;o.length;a=-1){i=o.shift();while(++a<s.length){if(s[a].apply(i[0],i[1])===false&&t.stopOnFalse){a=s.length;i=false}}}if(!t.memory){i=false}e=false;if(r){if(i){s=[]}else{s=""}}},u={add:function(){if(s){if(i&&!e){a=s.length-1;o.push(i)}(function e(i){x.each(i,(function(i,n){if(p(n)){if(!t.unique||!u.has(n)){s.push(n)}}else if(n&&n.length&&w(n)!=="string"){e(n)}}))})(arguments);if(i&&!e){c()}}return this},remove:function(){x.each(arguments,(function(t,e){var i;while((i=x.inArray(e,s,i))>-1){s.splice(i,1);if(i<=a){a--}}}));return this},has:function(t){return t?x.inArray(t,s)>-1:s.length>0},empty:function(){if(s){s=[]}return this},disable:function(){r=o=[];s=i="";return this},disabled:function(){return!s},lock:function(){r=o=[];if(!i&&!e){s=i=""}return this},locked:function(){return!!r},fireWith:function(t,i){if(!r){i=i||[];i=[t,i.slice?i.slice():i];o.push(i);if(!e){c()}}return this},fire:function(){u.fireWith(this,arguments);return this},fired:function(){return!!n}};return u};function Z(t){return t}function Q(t){throw t}function Y(t,e,i,n){var r;try{if(t&&p(r=t.promise)){r.call(t).done(e).fail(i)}else if(t&&p(r=t.then)){r.call(t,e,i)}else{e.apply(undefined,[t].slice(n))}}catch(t){i.apply(undefined,[t])}}x.extend({Deferred:function(e){var i=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){s.done(arguments).fail(arguments);return this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return x.Deferred((function(e){x.each(i,(function(i,n){var r=p(t[n[4]])&&t[n[4]];s[n[1]]((function(){var t=r&&r.apply(this,arguments);if(t&&p(t.promise)){t.promise().progress(e.notify).done(e.resolve).fail(e.reject)}else{e[n[0]+"With"](this,r?[t]:arguments)}}))}));t=null})).promise()},then:function(e,n,r){var s=0;function o(e,i,n,r){return function(){var a=this,c=arguments,u=function(){var t,u;if(e<s){return}t=n.apply(a,c);if(t===i.promise()){throw new TypeError("Thenable self-resolution")}u=t&&(typeof t==="object"||typeof t==="function")&&t.then;if(p(u)){if(r){u.call(t,o(s,i,Z,r),o(s,i,Q,r))}else{s++;u.call(t,o(s,i,Z,r),o(s,i,Q,r),o(s,i,Z,i.notifyWith))}}else{if(n!==Z){a=undefined;c=[t]}(r||i.resolveWith)(a,c)}},l=r?u:function(){try{u()}catch(t){if(x.Deferred.exceptionHook){x.Deferred.exceptionHook(t,l.error)}if(e+1>=s){if(n!==Q){a=undefined;c=[t]}i.rejectWith(a,c)}}};if(e){l()}else{if(x.Deferred.getErrorHook){l.error=x.Deferred.getErrorHook()}else if(x.Deferred.getStackHook){l.error=x.Deferred.getStackHook()}t.setTimeout(l)}}}return x.Deferred((function(t){i[0][3].add(o(0,t,p(r)?r:Z,t.notifyWith));i[1][3].add(o(0,t,p(e)?e:Z));i[2][3].add(o(0,t,p(n)?n:Q))})).promise()},promise:function(t){return t!=null?x.extend(t,r):r}},s={};x.each(i,(function(t,e){var o=e[2],a=e[5];r[e[1]]=o.add;if(a){o.add((function(){n=a}),i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock)}o.add(e[3].fire);s[e[0]]=function(){s[e[0]+"With"](this===s?undefined:this,arguments);return this};s[e[0]+"With"]=o.fireWith}));r.promise(s);if(e){e.call(s,s)}return s},when:function(t){var e=arguments.length,i=e,n=Array(i),s=r.call(arguments),o=x.Deferred(),a=function(t){return function(i){n[t]=this;s[t]=arguments.length>1?r.call(arguments):i;if(! --e){o.resolveWith(n,s)}}};if(e<=1){Y(t,o.done(a(i)).resolve,o.reject,!e);if(o.state()==="pending"||p(s[i]&&s[i].then)){return o.then()}}while(i--){Y(s[i],a(i),o.reject)}return o.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,i){if(t.console&&t.console.warn&&e&&J.test(e.name)){t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)}};x.readyException=function(e){t.setTimeout((function(){throw e}))};var V=x.Deferred();x.fn.ready=function(t){V.then(t).catch((function(t){x.readyException(t)}));return this};x.extend({isReady:false,readyWait:1,ready:function(t){if(t===true?--x.readyWait:x.isReady){return}x.isReady=true;if(t!==true&&--x.readyWait>0){return}V.resolveWith(g,[x])}});x.ready.then=V.then;function X(){g.removeEventListener("DOMContentLoaded",X);t.removeEventListener("load",X);x.ready()}if(g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll){t.setTimeout(x.ready)}else{g.addEventListener("DOMContentLoaded",X);t.addEventListener("load",X)}var K=function(t,e,i,n,r,s,o){var a=0,c=t.length,u=i==null;if(w(i)==="object"){r=true;for(a in i){K(t,e,a,i[a],true,s,o)}}else if(n!==undefined){r=true;if(!p(n)){o=true}if(u){if(o){e.call(t,n);e=null}else{u=e;e=function(t,e,i){return u.call(x(t),i)}}}if(e){for(;a<c;a++){e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)))}}}if(r){return t}if(u){return e.call(t)}return c?e(t[0],i):s};var tt=/^-ms-/,et=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function nt(t){return t.replace(tt,"ms-").replace(et,it)}var rt=function(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType};function st(){this.expando=x.expando+st.uid++}st.uid=1;st.prototype={cache:function(t){var e=t[this.expando];if(!e){e={};if(rt(t)){if(t.nodeType){t[this.expando]=e}else{Object.defineProperty(t,this.expando,{value:e,configurable:true})}}}return e},set:function(t,e,i){var n,r=this.cache(t);if(typeof e==="string"){r[nt(e)]=i}else{for(n in e){r[nt(n)]=e[n]}}return r},get:function(t,e){return e===undefined?this.cache(t):t[this.expando]&&t[this.expando][nt(e)]},access:function(t,e,i){if(e===undefined||e&&typeof e==="string"&&i===undefined){return this.get(t,e)}this.set(t,e,i);return i!==undefined?i:e},remove:function(t,e){var i,n=t[this.expando];if(n===undefined){return}if(e!==undefined){if(Array.isArray(e)){e=e.map(nt)}else{e=nt(e);e=e in n?[e]:e.match(q)||[]}i=e.length;while(i--){delete n[e[i]]}}if(e===undefined||x.isEmptyObject(n)){if(t.nodeType){t[this.expando]=undefined}else{delete t[this.expando]}}},hasData:function(t){var e=t[this.expando];return e!==undefined&&!x.isEmptyObject(e)}};var ot=new st;var at=new st;var ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ut=/[A-Z]/g;function lt(t){if(t==="true"){return true}if(t==="false"){return false}if(t==="null"){return null}if(t===+t+""){return+t}if(ct.test(t)){return JSON.parse(t)}return t}function ft(t,e,i){var n;if(i===undefined&&t.nodeType===1){n="data-"+e.replace(ut,"-$&").toLowerCase();i=t.getAttribute(n);if(typeof i==="string"){try{i=lt(i)}catch(t){}at.set(t,e,i)}else{i=undefined}}return i}x.extend({hasData:function(t){return at.hasData(t)||ot.hasData(t)},data:function(t,e,i){return at.access(t,e,i)},removeData:function(t,e){at.remove(t,e)},_data:function(t,e,i){return ot.access(t,e,i)},_removeData:function(t,e){ot.remove(t,e)}});x.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(t===undefined){if(this.length){r=at.get(s);if(s.nodeType===1&&!ot.get(s,"hasDataAttrs")){i=o.length;while(i--){if(o[i]){n=o[i].name;if(n.indexOf("data-")===0){n=nt(n.slice(5));ft(s,n,r[n])}}}ot.set(s,"hasDataAttrs",true)}}return r}if(typeof t==="object"){return this.each((function(){at.set(this,t)}))}return K(this,(function(e){var i;if(s&&e===undefined){i=at.get(s,t);if(i!==undefined){return i}i=ft(s,t);if(i!==undefined){return i}return}this.each((function(){at.set(this,t,e)}))}),null,e,arguments.length>1,null,true)},removeData:function(t){return this.each((function(){at.remove(this,t)}))}});x.extend({queue:function(t,e,i){var n;if(t){e=(e||"fx")+"queue";n=ot.get(t,e);if(i){if(!n||Array.isArray(i)){n=ot.access(t,e,x.makeArray(i))}else{n.push(i)}}return n||[]}},dequeue:function(t,e){e=e||"fx";var i=x.queue(t,e),n=i.length,r=i.shift(),s=x._queueHooks(t,e),o=function(){x.dequeue(t,e)};if(r==="inprogress"){r=i.shift();n--}if(r){if(e==="fx"){i.unshift("inprogress")}delete s.stop;r.call(t,o,s)}if(!n&&s){s.empty.fire()}},_queueHooks:function(t,e){var i=e+"queueHooks";return ot.get(t,i)||ot.access(t,i,{empty:x.Callbacks("once memory").add((function(){ot.remove(t,[e+"queue",i])}))})}});x.fn.extend({queue:function(t,e){var i=2;if(typeof t!=="string"){e=t;t="fx";i--}if(arguments.length<i){return x.queue(this[0],t)}return e===undefined?this:this.each((function(){var i=x.queue(this,t,e);x._queueHooks(this,t);if(t==="fx"&&i[0]!=="inprogress"){x.dequeue(this,t)}}))},dequeue:function(t){return this.each((function(){x.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=x.Deferred(),s=this,o=this.length,a=function(){if(! --n){r.resolveWith(s,[s])}};if(typeof t!=="string"){e=t;t=undefined}t=t||"fx";while(o--){i=ot.get(s[o],t+"queueHooks");if(i&&i.empty){n++;i.empty.add(a)}}a();return r.promise(e)}});var ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var dt=new RegExp("^(?:([+-])=|)("+ht+")([a-z%]*)$","i");var pt=["Top","Right","Bottom","Left"];var vt=g.documentElement;var gt=function(t){return x.contains(t.ownerDocument,t)},mt={composed:true};if(vt.getRootNode){gt=function(t){return x.contains(t.ownerDocument,t)||t.getRootNode(mt)===t.ownerDocument}}var bt=function(t,e){t=e||t;return t.style.display==="none"||t.style.display===""&&gt(t)&&x.css(t,"display")==="none"};function wt(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return x.css(t,e,"")},c=a(),u=i&&i[3]||(x.cssNumber[e]?"":"px"),l=t.nodeType&&(x.cssNumber[e]||u!=="px"&&+c)&&dt.exec(x.css(t,e));if(l&&l[3]!==u){c=c/2;u=u||l[3];l=+c||1;while(o--){x.style(t,e,l+u);if((1-s)*(1-(s=a()/c||.5))<=0){o=0}l=l/s}l=l*2;x.style(t,e,l+u);i=i||[]}if(i){l=+l||+c||0;r=i[1]?l+(i[1]+1)*i[2]:+i[2];if(n){n.unit=u;n.start=l;n.end=r}}return r}var yt={};function kt(t){var e,i=t.ownerDocument,n=t.nodeName,r=yt[n];if(r){return r}e=i.body.appendChild(i.createElement(n));r=x.css(e,"display");e.parentNode.removeChild(e);if(r==="none"){r="block"}yt[n]=r;return r}function xt(t,e){var i,n,r=[],s=0,o=t.length;for(;s<o;s++){n=t[s];if(!n.style){continue}i=n.style.display;if(e){if(i==="none"){r[s]=ot.get(n,"display")||null;if(!r[s]){n.style.display=""}}if(n.style.display===""&&bt(n)){r[s]=kt(n)}}else{if(i!=="none"){r[s]="none";ot.set(n,"display",i)}}}for(s=0;s<o;s++){if(r[s]!=null){t[s].style.display=r[s]}}return t}x.fn.extend({show:function(){return xt(this,true)},hide:function(){return xt(this)},toggle:function(t){if(typeof t==="boolean"){return t?this.show():this.hide()}return this.each((function(){if(bt(this)){x(this).show()}else{x(this).hide()}}))}});var $t=/^(?:checkbox|radio)$/i;var At=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var _t=/^$|^module$|\/(?:java|ecma)script/i;(function(){var t=g.createDocumentFragment(),e=t.appendChild(g.createElement("div")),i=g.createElement("input");i.setAttribute("type","radio");i.setAttribute("checked","checked");i.setAttribute("name","t");e.appendChild(i);d.checkClone=e.cloneNode(true).cloneNode(true).lastChild.checked;e.innerHTML="<textarea>x</textarea>";d.noCloneChecked=!!e.cloneNode(true).lastChild.defaultValue;e.innerHTML="<option></option>";d.option=!!e.lastChild})();var jt={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,"",""]};jt.tbody=jt.tfoot=jt.colgroup=jt.caption=jt.thead;jt.th=jt.td;if(!d.option){jt.optgroup=jt.option=[1,"<select multiple='multiple'>","</select>"]}function Tt(t,e){var i;if(typeof t.getElementsByTagName!=="undefined"){i=t.getElementsByTagName(e||"*")}else if(typeof t.querySelectorAll!=="undefined"){i=t.querySelectorAll(e||"*")}else{i=[]}if(e===undefined||e&&A(t,e)){return x.merge([t],i)}return i}function Et(t,e){var i=0,n=t.length;for(;i<n;i++){ot.set(t[i],"globalEval",!e||ot.get(e[i],"globalEval"))}}var Mt=/<|&#?\w+;/;function Ot(t,e,i,n,r){var s,o,a,c,u,l,f=e.createDocumentFragment(),h=[],d=0,p=t.length;for(;d<p;d++){s=t[d];if(s||s===0){if(w(s)==="object"){x.merge(h,s.nodeType?[s]:s)}else if(!Mt.test(s)){h.push(e.createTextNode(s))}else{o=o||f.appendChild(e.createElement("div"));a=(At.exec(s)||["",""])[1].toLowerCase();c=jt[a]||jt._default;o.innerHTML=c[1]+x.htmlPrefilter(s)+c[2];l=c[0];while(l--){o=o.lastChild}x.merge(h,o.childNodes);o=f.firstChild;o.textContent=""}}}f.textContent="";d=0;while(s=h[d++]){if(n&&x.inArray(s,n)>-1){if(r){r.push(s)}continue}u=gt(s);o=Tt(f.appendChild(s),"script");if(u){Et(o)}if(i){l=0;while(s=o[l++]){if(_t.test(s.type||"")){i.push(s)}}}}return f}var Ct=/^([^.]*)(?:\.(.+)|)/;function It(){return true}function St(){return false}function Dt(t,e,i,n,r,s){var o,a;if(typeof e==="object"){if(typeof i!=="string"){n=n||i;i=undefined}for(a in e){Dt(t,a,i,n,e[a],s)}return t}if(n==null&&r==null){r=i;n=i=undefined}else if(r==null){if(typeof i==="string"){r=n;n=undefined}else{r=n;n=i;i=undefined}}if(r===false){r=St}else if(!r){return t}if(s===1){o=r;r=function(t){x().off(t);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=x.guid++)}return t.each((function(){x.event.add(this,e,r,n,i)}))}x.event={global:{},add:function(t,e,i,n,r){var s,o,a,c,u,l,f,h,d,p,v,g=ot.get(t);if(!rt(t)){return}if(i.handler){s=i;i=s.handler;r=s.selector}if(r){x.find.matchesSelector(vt,r)}if(!i.guid){i.guid=x.guid++}if(!(c=g.events)){c=g.events=Object.create(null)}if(!(o=g.handle)){o=g.handle=function(e){return typeof x!=="undefined"&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):undefined}}e=(e||"").match(q)||[""];u=e.length;while(u--){a=Ct.exec(e[u])||[];d=v=a[1];p=(a[2]||"").split(".").sort();if(!d){continue}f=x.event.special[d]||{};d=(r?f.delegateType:f.bindType)||d;f=x.event.special[d]||{};l=x.extend({type:d,origType:v,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:p.join(".")},s);if(!(h=c[d])){h=c[d]=[];h.delegateCount=0;if(!f.setup||f.setup.call(t,n,p,o)===false){if(t.addEventListener){t.addEventListener(d,o)}}}if(f.add){f.add.call(t,l);if(!l.handler.guid){l.handler.guid=i.guid}}if(r){h.splice(h.delegateCount++,0,l)}else{h.push(l)}x.event.global[d]=true}},remove:function(t,e,i,n,r){var s,o,a,c,u,l,f,h,d,p,v,g=ot.hasData(t)&&ot.get(t);if(!g||!(c=g.events)){return}e=(e||"").match(q)||[""];u=e.length;while(u--){a=Ct.exec(e[u])||[];d=v=a[1];p=(a[2]||"").split(".").sort();if(!d){for(d in c){x.event.remove(t,d+e[u],i,n,true)}continue}f=x.event.special[d]||{};d=(n?f.delegateType:f.bindType)||d;h=c[d]||[];a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");o=s=h.length;while(s--){l=h[s];if((r||v===l.origType)&&(!i||i.guid===l.guid)&&(!a||a.test(l.namespace))&&(!n||n===l.selector||n==="**"&&l.selector)){h.splice(s,1);if(l.selector){h.delegateCount--}if(f.remove){f.remove.call(t,l)}}}if(o&&!h.length){if(!f.teardown||f.teardown.call(t,p,g.handle)===false){x.removeEvent(t,d,g.handle)}delete c[d]}}if(x.isEmptyObject(c)){ot.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),c=x.event.fix(t),u=(ot.get(this,"events")||Object.create(null))[c.type]||[],l=x.event.special[c.type]||{};a[0]=c;for(e=1;e<arguments.length;e++){a[e]=arguments[e]}c.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,c)===false){return}o=x.event.handlers.call(this,c,u);e=0;while((r=o[e++])&&!c.isPropagationStopped()){c.currentTarget=r.elem;i=0;while((s=r.handlers[i++])&&!c.isImmediatePropagationStopped()){if(!c.rnamespace||s.namespace===false||c.rnamespace.test(s.namespace)){c.handleObj=s;c.data=s.data;n=((x.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a);if(n!==undefined){if((c.result=n)===false){c.preventDefault();c.stopPropagation()}}}}}if(l.postDispatch){l.postDispatch.call(this,c)}return c.result},handlers:function(t,e){var i,n,r,s,o,a=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!(t.type==="click"&&t.button>=1)){for(;u!==this;u=u.parentNode||this){if(u.nodeType===1&&!(t.type==="click"&&u.disabled===true)){s=[];o={};for(i=0;i<c;i++){n=e[i];r=n.selector+" ";if(o[r]===undefined){o[r]=n.needsContext?x(r,this).index(u)>-1:x.find(r,this,null,[u]).length}if(o[r]){s.push(n)}}if(s.length){a.push({elem:u,handlers:s})}}}}u=this;if(c<e.length){a.push({elem:u,handlers:e.slice(c)})}return a},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:true,configurable:true,get:p(e)?function(){if(this.originalEvent){return e(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[t]}},set:function(e){Object.defineProperty(this,t,{enumerable:true,configurable:true,writable:true,value:e})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:true},click:{setup:function(t){var e=this||t;if($t.test(e.type)&&e.click&&A(e,"input")){Lt(e,"click",true)}return false},trigger:function(t){var e=this||t;if($t.test(e.type)&&e.click&&A(e,"input")){Lt(e,"click")}return true},_default:function(t){var e=t.target;return $t.test(e.type)&&e.click&&A(e,"input")&&ot.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){if(t.result!==undefined&&t.originalEvent){t.originalEvent.returnValue=t.result}}}}};function Lt(t,e,i){if(!i){if(ot.get(t,e)===undefined){x.event.add(t,e,It)}return}ot.set(t,e,false);x.event.add(t,e,{namespace:false,handler:function(t){var i,n=ot.get(this,e);if(t.isTrigger&1&&this[e]){if(!n){n=r.call(arguments);ot.set(this,e,n);this[e]();i=ot.get(this,e);ot.set(this,e,false);if(n!==i){t.stopImmediatePropagation();t.preventDefault();return i}}else if((x.event.special[e]||{}).delegateType){t.stopPropagation()}}else if(n){ot.set(this,e,x.event.trigger(n[0],n.slice(1),this));t.stopPropagation();t.isImmediatePropagationStopped=It}}})}x.removeEvent=function(t,e,i){if(t.removeEventListener){t.removeEventListener(e,i)}};x.Event=function(t,e){if(!(this instanceof x.Event)){return new x.Event(t,e)}if(t&&t.type){this.originalEvent=t;this.type=t.type;this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&t.returnValue===false?It:St;this.target=t.target&&t.target.nodeType===3?t.target.parentNode:t.target;this.currentTarget=t.currentTarget;this.relatedTarget=t.relatedTarget}else{this.type=t}if(e){x.extend(this,e)}this.timeStamp=t&&t.timeStamp||Date.now();this[x.expando]=true};x.Event.prototype={constructor:x.Event,isDefaultPrevented:St,isPropagationStopped:St,isImmediatePropagationStopped:St,isSimulated:false,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=It;if(t&&!this.isSimulated){t.preventDefault()}},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=It;if(t&&!this.isSimulated){t.stopPropagation()}},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=It;if(t&&!this.isSimulated){t.stopImmediatePropagation()}this.stopPropagation()}};x.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:true},x.event.addProp);x.each({focus:"focusin",blur:"focusout"},(function(t,e){function i(t){if(g.documentMode){var i=ot.get(this,"handle"),n=x.event.fix(t);n.type=t.type==="focusin"?"focus":"blur";n.isSimulated=true;i(t);if(n.target===n.currentTarget){i(n)}}else{x.event.simulate(e,t.target,x.event.fix(t))}}x.event.special[t]={setup:function(){var n;Lt(this,t,true);if(g.documentMode){n=ot.get(this,e);if(!n){this.addEventListener(e,i)}ot.set(this,e,(n||0)+1)}else{return false}},trigger:function(){Lt(this,t);return true},teardown:function(){var t;if(g.documentMode){t=ot.get(this,e)-1;if(!t){this.removeEventListener(e,i);ot.remove(this,e)}else{ot.set(this,e,t)}}else{return false}},_default:function(e){return ot.get(e.target,t)},delegateType:e};x.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=g.documentMode?this:n,s=ot.get(r,e);if(!s){if(g.documentMode){this.addEventListener(e,i)}else{n.addEventListener(t,i,true)}}ot.set(r,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=g.documentMode?this:n,s=ot.get(r,e)-1;if(!s){if(g.documentMode){this.removeEventListener(e,i)}else{n.removeEventListener(t,i,true)}ot.remove(r,e)}else{ot.set(r,e,s)}}}}));x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){x.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;if(!r||r!==n&&!x.contains(n,r)){t.type=s.origType;i=s.handler.apply(this,arguments);t.type=e}return i}}}));x.fn.extend({on:function(t,e,i,n){return Dt(this,t,e,i,n)},one:function(t,e,i,n){return Dt(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj){n=t.handleObj;x(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);return this}if(typeof t==="object"){for(r in t){this.off(r,e,t[r])}return this}if(e===false||typeof e==="function"){i=e;e=undefined}if(i===false){i=St}return this.each((function(){x.event.remove(this,t,i,e)}))}});var zt=/<script|<style|<link/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Rt(t,e){if(A(t,"table")&&A(e.nodeType!==11?e:e.firstChild,"tr")){return x(t).children("tbody")[0]||t}return t}function Bt(t){t.type=(t.getAttribute("type")!==null)+"/"+t.type;return t}function Ft(t){if((t.type||"").slice(0,5)==="true/"){t.type=t.type.slice(5)}else{t.removeAttribute("type")}return t}function Ht(t,e){var i,n,r,s,o,a,c;if(e.nodeType!==1){return}if(ot.hasData(t)){s=ot.get(t);c=s.events;if(c){ot.remove(e,"handle events");for(r in c){for(i=0,n=c[r].length;i<n;i++){x.event.add(e,r,c[r][i])}}}}if(at.hasData(t)){o=at.access(t);a=x.extend({},o);at.set(e,a)}}function Wt(t,e){var i=e.nodeName.toLowerCase();if(i==="input"&&$t.test(t.type)){e.checked=t.checked}else if(i==="input"||i==="textarea"){e.defaultValue=t.defaultValue}}function Ut(t,e,i,n){e=s(e);var r,o,a,c,u,l,f=0,h=t.length,v=h-1,g=e[0],m=p(g);if(m||h>1&&typeof g==="string"&&!d.checkClone&&Nt.test(g)){return t.each((function(r){var s=t.eq(r);if(m){e[0]=g.call(this,r,s.html())}Ut(s,e,i,n)}))}if(h){r=Ot(e,t[0].ownerDocument,false,t,n);o=r.firstChild;if(r.childNodes.length===1){r=o}if(o||n){a=x.map(Tt(r,"script"),Bt);c=a.length;for(;f<h;f++){u=r;if(f!==v){u=x.clone(u,true,true);if(c){x.merge(a,Tt(u,"script"))}}i.call(t[f],u,f)}if(c){l=a[a.length-1].ownerDocument;x.map(a,Ft);for(f=0;f<c;f++){u=a[f];if(_t.test(u.type||"")&&!ot.access(u,"globalEval")&&x.contains(l,u)){if(u.src&&(u.type||"").toLowerCase()!=="module"){if(x._evalUrl&&!u.noModule){x._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l)}}else{b(u.textContent.replace(Pt,""),u,l)}}}}}}return t}function qt(t,e,i){var n,r=e?x.filter(e,t):t,s=0;for(;(n=r[s])!=null;s++){if(!i&&n.nodeType===1){x.cleanData(Tt(n))}if(n.parentNode){if(i&&gt(n)){Et(Tt(n,"script"))}n.parentNode.removeChild(n)}}return t}x.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(true),c=gt(t);if(!d.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!x.isXMLDoc(t)){o=Tt(a);s=Tt(t);for(n=0,r=s.length;n<r;n++){Wt(s[n],o[n])}}if(e){if(i){s=s||Tt(t);o=o||Tt(a);for(n=0,r=s.length;n<r;n++){Ht(s[n],o[n])}}else{Ht(t,a)}}o=Tt(a,"script");if(o.length>0){Et(o,!c&&Tt(t,"script"))}return a},cleanData:function(t){var e,i,n,r=x.event.special,s=0;for(;(i=t[s])!==undefined;s++){if(rt(i)){if(e=i[ot.expando]){if(e.events){for(n in e.events){if(r[n]){x.event.remove(i,n)}else{x.removeEvent(i,n,e.handle)}}}i[ot.expando]=undefined}if(i[at.expando]){i[at.expando]=undefined}}}}});x.fn.extend({detach:function(t){return qt(this,t,true)},remove:function(t){return qt(this,t)},text:function(t){return K(this,(function(t){return t===undefined?x.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=t}}))}),null,t,arguments.length)},append:function(){return Ut(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Rt(this,t);e.appendChild(t)}}))},prepend:function(){return Ut(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Rt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ut(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this)}}))},after:function(){return Ut(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this.nextSibling)}}))},empty:function(){var t,e=0;for(;(t=this[e])!=null;e++){if(t.nodeType===1){x.cleanData(Tt(t,false));t.textContent=""}}return this},clone:function(t,e){t=t==null?false:t;e=e==null?t:e;return this.map((function(){return x.clone(this,t,e)}))},html:function(t){return K(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(t===undefined&&e.nodeType===1){return e.innerHTML}if(typeof t==="string"&&!zt.test(t)&&!jt[(At.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;i<n;i++){e=this[i]||{};if(e.nodeType===1){x.cleanData(Tt(e,false));e.innerHTML=t}}e=0}catch(t){}}if(e){this.empty().append(t)}}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ut(this,arguments,(function(e){var i=this.parentNode;if(x.inArray(this,t)<0){x.cleanData(Tt(this));if(i){i.replaceChild(e,this)}}}),t)}});x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){x.fn[t]=function(t){var i,n=[],r=x(t),s=r.length-1,a=0;for(;a<=s;a++){i=a===s?this:this.clone(true);x(r[a])[e](i);o.apply(n,i.get())}return this.pushStack(n)}}));var Gt=new RegExp("^("+ht+")(?!px)[a-z%]+$","i");var Zt=/^--/;var Qt=function(e){var i=e.ownerDocument.defaultView;if(!i||!i.opener){i=t}return i.getComputedStyle(e)};var Yt=function(t,e,i){var n,r,s={};for(r in e){s[r]=t.style[r];t.style[r]=e[r]}n=i.call(t);for(r in e){t.style[r]=s[r]}return n};var Jt=new RegExp(pt.join("|"),"i");(function(){function e(){if(!l){return}u.style.cssText="position:absolute;left:-11111px;width:60px;"+"margin-top:1px;padding:0;border:0";l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;"+"margin:auto;border:1px;padding:1px;"+"width:60%;top:1%";vt.appendChild(u).appendChild(l);var e=t.getComputedStyle(l);n=e.top!=="1%";c=i(e.marginLeft)===12;l.style.right="60%";o=i(e.right)===36;r=i(e.width)===36;l.style.position="absolute";s=i(l.offsetWidth/3)===12;vt.removeChild(u);l=null}function i(t){return Math.round(parseFloat(t))}var n,r,s,o,a,c,u=g.createElement("div"),l=g.createElement("div");if(!l.style){return}l.style.backgroundClip="content-box";l.cloneNode(true).style.backgroundClip="";d.clearCloneStyle=l.style.backgroundClip==="content-box";x.extend(d,{boxSizingReliable:function(){e();return r},pixelBoxStyles:function(){e();return o},pixelPosition:function(){e();return n},reliableMarginLeft:function(){e();return c},scrollboxSize:function(){e();return s},reliableTrDimensions:function(){var e,i,n,r;if(a==null){e=g.createElement("table");i=g.createElement("tr");n=g.createElement("div");e.style.cssText="position:absolute;left:-11111px;border-collapse:separate";i.style.cssText="box-sizing:content-box;border:1px solid";i.style.height="1px";n.style.height="9px";n.style.display="block";vt.appendChild(e).appendChild(i).appendChild(n);r=t.getComputedStyle(i);a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===i.offsetHeight;vt.removeChild(e)}return a}})})();function Vt(t,e,i){var n,r,s,o,a=Zt.test(e),c=t.style;i=i||Qt(t);if(i){o=i.getPropertyValue(e)||i[e];if(a&&o){o=o.replace(M,"$1")||undefined}if(o===""&&!gt(t)){o=x.style(t,e)}if(!d.pixelBoxStyles()&&Gt.test(o)&&Jt.test(e)){n=c.width;r=c.minWidth;s=c.maxWidth;c.minWidth=c.maxWidth=c.width=o;o=i.width;c.width=n;c.minWidth=r;c.maxWidth=s}}return o!==undefined?o+"":o}function Xt(t,e){return{get:function(){if(t()){delete this.get;return}return(this.get=e).apply(this,arguments)}}}var Kt=["Webkit","Moz","ms"],te=g.createElement("div").style,ee={};function ie(t){var e=t[0].toUpperCase()+t.slice(1),i=Kt.length;while(i--){t=Kt[i]+e;if(t in te){return t}}}function ne(t){var e=x.cssProps[t]||ee[t];if(e){return e}if(t in te){return t}return ee[t]=ie(t)||t}var re=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},oe={letterSpacing:"0",fontWeight:"400"};function ae(t,e,i){var n=dt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ce(t,e,i,n,r,s){var o=e==="width"?1:0,a=0,c=0,u=0;if(i===(n?"border":"content")){return 0}for(;o<4;o+=2){if(i==="margin"){u+=x.css(t,i+pt[o],true,r)}if(!n){c+=x.css(t,"padding"+pt[o],true,r);if(i!=="padding"){c+=x.css(t,"border"+pt[o]+"Width",true,r)}else{a+=x.css(t,"border"+pt[o]+"Width",true,r)}}else{if(i==="content"){c-=x.css(t,"padding"+pt[o],true,r)}if(i!=="margin"){c-=x.css(t,"border"+pt[o]+"Width",true,r)}}}if(!n&&s>=0){c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-c-a-.5))||0}return c+u}function ue(t,e,i){var n=Qt(t),r=!d.boxSizingReliable()||i,s=r&&x.css(t,"boxSizing",false,n)==="border-box",o=s,a=Vt(t,e,n),c="offset"+e[0].toUpperCase()+e.slice(1);if(Gt.test(a)){if(!i){return a}a="auto"}if((!d.boxSizingReliable()&&s||!d.reliableTrDimensions()&&A(t,"tr")||a==="auto"||!parseFloat(a)&&x.css(t,"display",false,n)==="inline")&&t.getClientRects().length){s=x.css(t,"boxSizing",false,n)==="border-box";o=c in t;if(o){a=t[c]}}a=parseFloat(a)||0;return a+ce(t,e,i||(s?"border":"content"),o,n,a)+"px"}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Vt(t,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:true,aspectRatio:true,borderImageSlice:true,columnCount:true,flexGrow:true,flexShrink:true,fontWeight:true,gridArea:true,gridColumn:true,gridColumnEnd:true,gridColumnStart:true,gridRow:true,gridRowEnd:true,gridRowStart:true,lineHeight:true,opacity:true,order:true,orphans:true,scale:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeMiterlimit:true,strokeOpacity:true},cssProps:{},style:function(t,e,i,n){if(!t||t.nodeType===3||t.nodeType===8||!t.style){return}var r,s,o,a=nt(e),c=Zt.test(e),u=t.style;if(!c){e=ne(a)}o=x.cssHooks[e]||x.cssHooks[a];if(i!==undefined){s=typeof i;if(s==="string"&&(r=dt.exec(i))&&r[1]){i=wt(t,e,r);s="number"}if(i==null||i!==i){return}if(s==="number"&&!c){i+=r&&r[3]||(x.cssNumber[a]?"":"px")}if(!d.clearCloneStyle&&i===""&&e.indexOf("background")===0){u[e]="inherit"}if(!o||!("set"in o)||(i=o.set(t,i,n))!==undefined){if(c){u.setProperty(e,i)}else{u[e]=i}}}else{if(o&&"get"in o&&(r=o.get(t,false,n))!==undefined){return r}return u[e]}},css:function(t,e,i,n){var r,s,o,a=nt(e),c=Zt.test(e);if(!c){e=ne(a)}o=x.cssHooks[e]||x.cssHooks[a];if(o&&"get"in o){r=o.get(t,true,i)}if(r===undefined){r=Vt(t,e,n)}if(r==="normal"&&e in oe){r=oe[e]}if(i===""||i){s=parseFloat(r);return i===true||isFinite(s)?s||0:r}return r}});x.each(["height","width"],(function(t,e){x.cssHooks[e]={get:function(t,i,n){if(i){return re.test(x.css(t,"display"))&&(!t.getClientRects().length||!t.getBoundingClientRect().width)?Yt(t,se,(function(){return ue(t,e,n)})):ue(t,e,n)}},set:function(t,i,n){var r,s=Qt(t),o=!d.scrollboxSize()&&s.position==="absolute",a=o||n,c=a&&x.css(t,"boxSizing",false,s)==="border-box",u=n?ce(t,e,n,c,s):0;if(c&&o){u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-ce(t,e,"border",false,s)-.5)}if(u&&(r=dt.exec(i))&&(r[3]||"px")!=="px"){t.style[e]=i;i=x.css(t,e)}return ae(t,i,u)}}}));x.cssHooks.marginLeft=Xt(d.reliableMarginLeft,(function(t,e){if(e){return(parseFloat(Vt(t,"marginLeft"))||t.getBoundingClientRect().left-Yt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"}}));x.each({margin:"",padding:"",border:"Width"},(function(t,e){x.cssHooks[t+e]={expand:function(i){var n=0,r={},s=typeof i==="string"?i.split(" "):[i];for(;n<4;n++){r[t+pt[n]+e]=s[n]||s[n-2]||s[0]}return r}};if(t!=="margin"){x.cssHooks[t+e].set=ae}}));x.fn.extend({css:function(t,e){return K(this,(function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){n=Qt(t);r=e.length;for(;o<r;o++){s[e[o]]=x.css(t,e[o],false,n)}return s}return i!==undefined?x.style(t,e,i):x.css(t,e)}),t,e,arguments.length>1)}});function le(t,e,i,n,r){return new le.prototype.init(t,e,i,n,r)}x.Tween=le;le.prototype={constructor:le,init:function(t,e,i,n,r,s){this.elem=t;this.prop=i;this.easing=r||x.easing._default;this.options=e;this.start=this.now=this.cur();this.end=n;this.unit=s||(x.cssNumber[i]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return t&&t.get?t.get(this):le.propHooks._default.get(this)},run:function(t){var e,i=le.propHooks[this.prop];if(this.options.duration){this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration)}else{this.pos=e=t}this.now=(this.end-this.start)*e+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(i&&i.set){i.set(this)}else{le.propHooks._default.set(this)}return this}};le.prototype.init.prototype=le.prototype;le.propHooks={_default:{get:function(t){var e;if(t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null){return t.elem[t.prop]}e=x.css(t.elem,t.prop,"");return!e||e==="auto"?0:e},set:function(t){if(x.fx.step[t.prop]){x.fx.step[t.prop](t)}else if(t.elem.nodeType===1&&(x.cssHooks[t.prop]||t.elem.style[ne(t.prop)]!=null)){x.style(t.elem,t.prop,t.now+t.unit)}else{t.elem[t.prop]=t.now}}}};le.propHooks.scrollTop=le.propHooks.scrollLeft={set:function(t){if(t.elem.nodeType&&t.elem.parentNode){t.elem[t.prop]=t.now}}};x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"};x.fx=le.prototype.init;x.fx.step={};var fe,he,de=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function ve(){if(he){if(g.hidden===false&&t.requestAnimationFrame){t.requestAnimationFrame(ve)}else{t.setTimeout(ve,x.fx.interval)}x.fx.tick()}}function ge(){t.setTimeout((function(){fe=undefined}));return fe=Date.now()}function me(t,e){var i,n=0,r={height:t};e=e?1:0;for(;n<4;n+=2-e){i=pt[n];r["margin"+i]=r["padding"+i]=t}if(e){r.opacity=r.width=t}return r}function be(t,e,i){var n,r=(ke.tweeners[e]||[]).concat(ke.tweeners["*"]),s=0,o=r.length;for(;s<o;s++){if(n=r[s].call(i,e,t)){return n}}}function we(t,e,i){var n,r,s,o,a,c,u,l,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&bt(t),g=ot.get(t,"fxshow");if(!i.queue){o=x._queueHooks(t,"fx");if(o.unqueued==null){o.unqueued=0;a=o.empty.fire;o.empty.fire=function(){if(!o.unqueued){a()}}}o.unqueued++;h.always((function(){h.always((function(){o.unqueued--;if(!x.queue(t,"fx").length){o.empty.fire()}}))}))}for(n in e){r=e[n];if(de.test(r)){delete e[n];s=s||r==="toggle";if(r===(v?"hide":"show")){if(r==="show"&&g&&g[n]!==undefined){v=true}else{continue}}d[n]=g&&g[n]||x.style(t,n)}}c=!x.isEmptyObject(e);if(!c&&x.isEmptyObject(d)){return}if(f&&t.nodeType===1){i.overflow=[p.overflow,p.overflowX,p.overflowY];u=g&&g.display;if(u==null){u=ot.get(t,"display")}l=x.css(t,"display");if(l==="none"){if(u){l=u}else{xt([t],true);u=t.style.display||u;l=x.css(t,"display");xt([t])}}if(l==="inline"||l==="inline-block"&&u!=null){if(x.css(t,"float")==="none"){if(!c){h.done((function(){p.display=u}));if(u==null){l=p.display;u=l==="none"?"":l}}p.display="inline-block"}}}if(i.overflow){p.overflow="hidden";h.always((function(){p.overflow=i.overflow[0];p.overflowX=i.overflow[1];p.overflowY=i.overflow[2]}))}c=false;for(n in d){if(!c){if(g){if("hidden"in g){v=g.hidden}}else{g=ot.access(t,"fxshow",{display:u})}if(s){g.hidden=!v}if(v){xt([t],true)}h.done((function(){if(!v){xt([t])}ot.remove(t,"fxshow");for(n in d){x.style(t,n,d[n])}}))}c=be(v?g[n]:0,n,h);if(!(n in g)){g[n]=c.start;if(v){c.end=c.start;c.start=0}}}}function ye(t,e){var i,n,r,s,o;for(i in t){n=nt(i);r=e[n];s=t[i];if(Array.isArray(s)){r=s[1];s=t[i]=s[0]}if(i!==n){t[n]=s;delete t[i]}o=x.cssHooks[n];if(o&&"expand"in o){s=o.expand(s);delete t[n];for(i in s){if(!(i in t)){t[i]=s[i];e[i]=r}}}else{e[n]=r}}}function ke(t,e,i){var n,r,s=0,o=ke.prefilters.length,a=x.Deferred().always((function(){delete c.elem})),c=function(){if(r){return false}var e=fe||ge(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,s=1-n,o=0,c=u.tweens.length;for(;o<c;o++){u.tweens[o].run(s)}a.notifyWith(t,[u,s,i]);if(s<1&&c){return i}if(!c){a.notifyWith(t,[u,1,0])}a.resolveWith(t,[u]);return false},u=a.promise({elem:t,props:x.extend({},e),opts:x.extend(true,{specialEasing:{},easing:x.easing._default},i),originalProperties:e,originalOptions:i,startTime:fe||ge(),duration:i.duration,tweens:[],createTween:function(e,i){var n=x.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);u.tweens.push(n);return n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(r){return this}r=true;for(;i<n;i++){u.tweens[i].run(1)}if(e){a.notifyWith(t,[u,1,0]);a.resolveWith(t,[u,e])}else{a.rejectWith(t,[u,e])}return this}}),l=u.props;ye(l,u.opts.specialEasing);for(;s<o;s++){n=ke.prefilters[s].call(u,t,l,u.opts);if(n){if(p(n.stop)){x._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)}return n}}x.map(l,be,u);if(p(u.opts.start)){u.opts.start.call(t,u)}u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always);x.fx.timer(x.extend(c,{elem:t,anim:u,queue:u.opts.queue}));return u}x.Animation=x.extend(ke,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);wt(i.elem,t,dt.exec(e),i);return i}]},tweener:function(t,e){if(p(t)){e=t;t=["*"]}else{t=t.match(q)}var i,n=0,r=t.length;for(;n<r;n++){i=t[n];ke.tweeners[i]=ke.tweeners[i]||[];ke.tweeners[i].unshift(e)}},prefilters:[we],prefilter:function(t,e){if(e){ke.prefilters.unshift(t)}else{ke.prefilters.push(t)}}});x.speed=function(t,e,i){var n=t&&typeof t==="object"?x.extend({},t):{complete:i||!i&&e||p(t)&&t,duration:t,easing:i&&e||e&&!p(e)&&e};if(x.fx.off){n.duration=0}else{if(typeof n.duration!=="number"){if(n.duration in x.fx.speeds){n.duration=x.fx.speeds[n.duration]}else{n.duration=x.fx.speeds._default}}}if(n.queue==null||n.queue===true){n.queue="fx"}n.old=n.complete;n.complete=function(){if(p(n.old)){n.old.call(this)}if(n.queue){x.dequeue(this,n.queue)}};return n};x.fn.extend({fadeTo:function(t,e,i,n){return this.filter(bt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=x.isEmptyObject(t),s=x.speed(e,i,n),o=function(){var e=ke(this,x.extend({},t),s);if(r||ot.get(this,"finish")){e.stop(true)}};o.finish=o;return r||s.queue===false?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop;e(i)};if(typeof t!=="string"){i=e;e=t;t=undefined}if(e){this.queue(t||"fx",[])}return this.each((function(){var e=true,r=t!=null&&t+"queueHooks",s=x.timers,o=ot.get(this);if(r){if(o[r]&&o[r].stop){n(o[r])}}else{for(r in o){if(o[r]&&o[r].stop&&pe.test(r)){n(o[r])}}}for(r=s.length;r--;){if(s[r].elem===this&&(t==null||s[r].queue===t)){s[r].anim.stop(i);e=false;s.splice(r,1)}}if(e||!i){x.dequeue(this,t)}}))},finish:function(t){if(t!==false){t=t||"fx"}return this.each((function(){var e,i=ot.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=x.timers,o=n?n.length:0;i.finish=true;x.queue(this,t,[]);if(r&&r.stop){r.stop.call(this,true)}for(e=s.length;e--;){if(s[e].elem===this&&s[e].queue===t){s[e].anim.stop(true);s.splice(e,1)}}for(e=0;e<o;e++){if(n[e]&&n[e].finish){n[e].finish.call(this)}}delete i.finish}))}});x.each(["toggle","show","hide"],(function(t,e){var i=x.fn[e];x.fn[e]=function(t,n,r){return t==null||typeof t==="boolean"?i.apply(this,arguments):this.animate(me(e,true),t,n,r)}}));x.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){x.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}));x.timers=[];x.fx.tick=function(){var t,e=0,i=x.timers;fe=Date.now();for(;e<i.length;e++){t=i[e];if(!t()&&i[e]===t){i.splice(e--,1)}}if(!i.length){x.fx.stop()}fe=undefined};x.fx.timer=function(t){x.timers.push(t);x.fx.start()};x.fx.interval=13;x.fx.start=function(){if(he){return}he=true;ve()};x.fx.stop=function(){he=null};x.fx.speeds={slow:600,fast:200,_default:400};x.fn.delay=function(e,i){e=x.fx?x.fx.speeds[e]||e:e;i=i||"fx";return this.queue(i,(function(i,n){var r=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(r)}}))};(function(){var t=g.createElement("input"),e=g.createElement("select"),i=e.appendChild(g.createElement("option"));t.type="checkbox";d.checkOn=t.value!=="";d.optSelected=i.selected;t=g.createElement("input");t.value="t";t.type="radio";d.radioValue=t.value==="t"})();var xe,$e=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return K(this,x.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){x.removeAttr(this,t)}))}});x.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(typeof t.getAttribute==="undefined"){return x.prop(t,e,i)}if(s!==1||!x.isXMLDoc(t)){r=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?xe:undefined)}if(i!==undefined){if(i===null){x.removeAttr(t,e);return}if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}t.setAttribute(e,i+"");return i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}n=x.find.attr(t,e);return n==null?undefined:n},attrHooks:{type:{set:function(t,e){if(!d.radioValue&&e==="radio"&&A(t,"input")){var i=t.value;t.setAttribute("type",e);if(i){t.value=i}return e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(q);if(r&&t.nodeType===1){while(i=r[n++]){t.removeAttribute(i)}}}});xe={set:function(t,e,i){if(e===false){x.removeAttr(t,i)}else{t.setAttribute(i,i)}return i}};x.each(x.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=$e[e]||x.find.attr;$e[e]=function(t,e,n){var r,s,o=e.toLowerCase();if(!n){s=$e[o];$e[o]=r;r=i(t,e,n)!=null?o:null;$e[o]=s}return r}}));var Ae=/^(?:input|select|textarea|button)$/i,_e=/^(?:a|area)$/i;x.fn.extend({prop:function(t,e){return K(this,x.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[x.propFix[t]||t]}))}});x.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(s!==1||!x.isXMLDoc(t)){e=x.propFix[e]||e;r=x.propHooks[e]}if(i!==undefined){if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}return t[e]=i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}return t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");if(e){return parseInt(e,10)}if(Ae.test(t.nodeName)||_e.test(t.nodeName)&&t.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!d.optSelected){x.propHooks.selected={get:function(t){return null},set:function(t){}}}x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this}));function je(t){var e=t.match(q)||[];return e.join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Ee(t){if(Array.isArray(t)){return t}if(typeof t==="string"){return t.match(q)||[]}return[]}x.fn.extend({addClass:function(t){var e,i,n,r,s,o;if(p(t)){return this.each((function(e){x(this).addClass(t.call(this,e,Te(this)))}))}e=Ee(t);if(e.length){return this.each((function(){n=Te(this);i=this.nodeType===1&&" "+je(n)+" ";if(i){for(s=0;s<e.length;s++){r=e[s];if(i.indexOf(" "+r+" ")<0){i+=r+" "}}o=je(i);if(n!==o){this.setAttribute("class",o)}}}))}return this},removeClass:function(t){var e,i,n,r,s,o;if(p(t)){return this.each((function(e){x(this).removeClass(t.call(this,e,Te(this)))}))}if(!arguments.length){return this.attr("class","")}e=Ee(t);if(e.length){return this.each((function(){n=Te(this);i=this.nodeType===1&&" "+je(n)+" ";if(i){for(s=0;s<e.length;s++){r=e[s];while(i.indexOf(" "+r+" ")>-1){i=i.replace(" "+r+" "," ")}}o=je(i);if(n!==o){this.setAttribute("class",o)}}}))}return this},toggleClass:function(t,e){var i,n,r,s,o=typeof t,a=o==="string"||Array.isArray(t);if(p(t)){return this.each((function(i){x(this).toggleClass(t.call(this,i,Te(this),e),e)}))}if(typeof e==="boolean"&&a){return e?this.addClass(t):this.removeClass(t)}i=Ee(t);return this.each((function(){if(a){s=x(this);for(r=0;r<i.length;r++){n=i[r];if(s.hasClass(n)){s.removeClass(n)}else{s.addClass(n)}}}else if(t===undefined||o==="boolean"){n=Te(this);if(n){ot.set(this,"__className__",n)}if(this.setAttribute){this.setAttribute("class",n||t===false?"":ot.get(this,"__className__")||"")}}}))},hasClass:function(t){var e,i,n=0;e=" "+t+" ";while(i=this[n++]){if(i.nodeType===1&&(" "+je(Te(i))+" ").indexOf(e)>-1){return true}}return false}});var Me=/\r/g;x.fn.extend({val:function(t){var e,i,n,r=this[0];if(!arguments.length){if(r){e=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()];if(e&&"get"in e&&(i=e.get(r,"value"))!==undefined){return i}i=r.value;if(typeof i==="string"){return i.replace(Me,"")}return i==null?"":i}return}n=p(t);return this.each((function(i){var r;if(this.nodeType!==1){return}if(n){r=t.call(this,i,x(this).val())}else{r=t}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=x.map(r,(function(t){return t==null?"":t+""}))}e=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()];if(!e||!("set"in e)||e.set(this,r,"value")===undefined){this.value=r}}))}});x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return e!=null?e:je(x.text(t))}},select:{get:function(t){var e,i,n,r=t.options,s=t.selectedIndex,o=t.type==="select-one",a=o?null:[],c=o?s+1:r.length;if(s<0){n=c}else{n=o?s:0}for(;n<c;n++){i=r[n];if((i.selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){e=x(i).val();if(o){return e}a.push(e)}}return a},set:function(t,e){var i,n,r=t.options,s=x.makeArray(e),o=r.length;while(o--){n=r[o];if(n.selected=x.inArray(x.valHooks.option.get(n),s)>-1){i=true}}if(!i){t.selectedIndex=-1}return s}}}});x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e)){return t.checked=x.inArray(x(t).val(),e)>-1}}};if(!d.checkOn){x.valHooks[this].get=function(t){return t.getAttribute("value")===null?"on":t.value}}}));var Oe=t.location;var Ce={guid:Date.now()};var Ie=/\?/;x.parseXML=function(e){var i,n;if(!e||typeof e!=="string"){return null}try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}n=i&&i.getElementsByTagName("parsererror")[0];if(!i||n){x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(t){return t.textContent})).join("\n"):e))}return i};var Se=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(e,i,n,r){var s,o,a,c,u,f,h,d,m=[n||g],b=l.call(e,"type")?e.type:e,w=l.call(e,"namespace")?e.namespace.split("."):[];o=d=a=n=n||g;if(n.nodeType===3||n.nodeType===8){return}if(Se.test(b+x.event.triggered)){return}if(b.indexOf(".")>-1){w=b.split(".");b=w.shift();w.sort()}u=b.indexOf(":")<0&&"on"+b;e=e[x.expando]?e:new x.Event(b,typeof e==="object"&&e);e.isTrigger=r?2:3;e.namespace=w.join(".");e.rnamespace=e.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;e.result=undefined;if(!e.target){e.target=n}i=i==null?[e]:x.makeArray(i,[e]);h=x.event.special[b]||{};if(!r&&h.trigger&&h.trigger.apply(n,i)===false){return}if(!r&&!h.noBubble&&!v(n)){c=h.delegateType||b;if(!Se.test(c+b)){o=o.parentNode}for(;o;o=o.parentNode){m.push(o);a=o}if(a===(n.ownerDocument||g)){m.push(a.defaultView||a.parentWindow||t)}}s=0;while((o=m[s++])&&!e.isPropagationStopped()){d=o;e.type=s>1?c:h.bindType||b;f=(ot.get(o,"events")||Object.create(null))[e.type]&&ot.get(o,"handle");if(f){f.apply(o,i)}f=u&&o[u];if(f&&f.apply&&rt(o)){e.result=f.apply(o,i);if(e.result===false){e.preventDefault()}}}e.type=b;if(!r&&!e.isDefaultPrevented()){if((!h._default||h._default.apply(m.pop(),i)===false)&&rt(n)){if(u&&p(n[b])&&!v(n)){a=n[u];if(a){n[u]=null}x.event.triggered=b;if(e.isPropagationStopped()){d.addEventListener(b,De)}n[b]();if(e.isPropagationStopped()){d.removeEventListener(b,De)}x.event.triggered=undefined;if(a){n[u]=a}}}}return e.result},simulate:function(t,e,i){var n=x.extend(new x.Event,i,{type:t,isSimulated:true});x.event.trigger(n,null,e)}});x.fn.extend({trigger:function(t,e){return this.each((function(){x.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i){return x.event.trigger(t,e,i,true)}}});var Le=/\[\]$/,ze=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;function Re(t,e,i,n){var r;if(Array.isArray(e)){x.each(e,(function(e,r){if(i||Le.test(t)){n(t,r)}else{Re(t+"["+(typeof r==="object"&&r!=null?e:"")+"]",r,i,n)}}))}else if(!i&&w(e)==="object"){for(r in e){Re(t+"["+r+"]",e[r],i,n)}}else{n(t,e)}}x.param=function(t,e){var i,n=[],r=function(t,e){var i=p(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(i==null?"":i)};if(t==null){return""}if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t)){x.each(t,(function(){r(this.name,this.value)}))}else{for(i in t){Re(i,t[i],e,r)}}return n.join("&")};x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!$t.test(t))})).map((function(t,e){var i=x(this).val();if(i==null){return null}if(Array.isArray(i)){return x.map(i,(function(t){return{name:e.name,value:t.replace(ze,"\r\n")}}))}return{name:e.name,value:i.replace(ze,"\r\n")}})).get()}});var Be=/%20/g,Fe=/#.*$/,He=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qe=/^(?:GET|HEAD)$/,Ge=/^\/\//,Ze={},Qe={},Ye="*/".concat("*"),Je=g.createElement("a");Je.href=Oe.href;function Ve(t){return function(e,i){if(typeof e!=="string"){i=e;e="*"}var n,r=0,s=e.toLowerCase().match(q)||[];if(p(i)){while(n=s[r++]){if(n[0]==="+"){n=n.slice(1)||"*";(t[n]=t[n]||[]).unshift(i)}else{(t[n]=t[n]||[]).push(i)}}}}}function Xe(t,e,i,n){var r={},s=t===Qe;function o(a){var c;r[a]=true;x.each(t[a]||[],(function(t,a){var u=a(e,i,n);if(typeof u==="string"&&!s&&!r[u]){e.dataTypes.unshift(u);o(u);return false}else if(s){return!(c=u)}}));return c}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Ke(t,e){var i,n,r=x.ajaxSettings.flatOptions||{};for(i in e){if(e[i]!==undefined){(r[i]?t:n||(n={}))[i]=e[i]}}if(n){x.extend(true,t,n)}return t}function ti(t,e,i){var n,r,s,o,a=t.contents,c=t.dataTypes;while(c[0]==="*"){c.shift();if(n===undefined){n=t.mimeType||e.getResponseHeader("Content-Type")}}if(n){for(r in a){if(a[r]&&a[r].test(n)){c.unshift(r);break}}}if(c[0]in i){s=c[0]}else{for(r in i){if(!c[0]||t.converters[r+" "+c[0]]){s=r;break}if(!o){o=r}}s=s||o}if(s){if(s!==c[0]){c.unshift(s)}return i[s]}}function ei(t,e,i,n){var r,s,o,a,c,u={},l=t.dataTypes.slice();if(l[1]){for(o in t.converters){u[o.toLowerCase()]=t.converters[o]}}s=l.shift();while(s){if(t.responseFields[s]){i[t.responseFields[s]]=e}if(!c&&n&&t.dataFilter){e=t.dataFilter(e,t.dataType)}c=s;s=l.shift();if(s){if(s==="*"){s=c}else if(c!=="*"&&c!==s){o=u[c+" "+s]||u["* "+s];if(!o){for(r in u){a=r.split(" ");if(a[1]===s){o=u[c+" "+a[0]]||u["* "+a[0]];if(o){if(o===true){o=u[r]}else if(u[r]!==true){s=a[0];l.unshift(a[1])}break}}}}if(o!==true){if(o&&t.throws){e=o(e)}else{try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+c+" to "+s}}}}}}}return{state:"success",data:e}}x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:Ue.test(Oe.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ye,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":true,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(t,e){return e?Ke(Ke(t,x.ajaxSettings),e):Ke(x.ajaxSettings,t)},ajaxPrefilter:Ve(Ze),ajaxTransport:Ve(Qe),ajax:function(e,i){if(typeof e==="object"){i=e;e=undefined}i=i||{};var n,r,s,o,a,c,u,l,f,h,d=x.ajaxSetup({},i),p=d.context||d,v=d.context&&(p.nodeType||p.jquery)?x(p):x.event,m=x.Deferred(),b=x.Callbacks("once memory"),w=d.statusCode||{},y={},k={},$="canceled",A={readyState:0,getResponseHeader:function(t){var e;if(u){if(!o){o={};while(e=We.exec(s)){o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2])}}e=o[t.toLowerCase()+" "]}return e==null?null:e.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){if(u==null){t=k[t.toLowerCase()]=k[t.toLowerCase()]||t;y[t]=e}return this},overrideMimeType:function(t){if(u==null){d.mimeType=t}return this},statusCode:function(t){var e;if(t){if(u){A.always(t[A.status])}else{for(e in t){w[e]=[w[e],t[e]]}}}return this},abort:function(t){var e=t||$;if(n){n.abort(e)}_(0,e);return this}};m.promise(A);d.url=((e||d.url||Oe.href)+"").replace(Ge,Oe.protocol+"//");d.type=i.method||i.type||d.method||d.type;d.dataTypes=(d.dataType||"*").toLowerCase().match(q)||[""];if(d.crossDomain==null){c=g.createElement("a");try{c.href=d.url;c.href=c.href;d.crossDomain=Je.protocol+"//"+Je.host!==c.protocol+"//"+c.host}catch(t){d.crossDomain=true}}if(d.data&&d.processData&&typeof d.data!=="string"){d.data=x.param(d.data,d.traditional)}Xe(Ze,d,i,A);if(u){return A}l=x.event&&d.global;if(l&&x.active++===0){x.event.trigger("ajaxStart")}d.type=d.type.toUpperCase();d.hasContent=!qe.test(d.type);r=d.url.replace(Fe,"");if(!d.hasContent){h=d.url.slice(r.length);if(d.data&&(d.processData||typeof d.data==="string")){r+=(Ie.test(r)?"&":"?")+d.data;delete d.data}if(d.cache===false){r=r.replace(He,"$1");h=(Ie.test(r)?"&":"?")+"_="+Ce.guid+++h}d.url=r+h}else if(d.data&&d.processData&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0){d.data=d.data.replace(Be,"+")}if(d.ifModified){if(x.lastModified[r]){A.setRequestHeader("If-Modified-Since",x.lastModified[r])}if(x.etag[r]){A.setRequestHeader("If-None-Match",x.etag[r])}}if(d.data&&d.hasContent&&d.contentType!==false||i.contentType){A.setRequestHeader("Content-Type",d.contentType)}A.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+Ye+"; q=0.01":""):d.accepts["*"]);for(f in d.headers){A.setRequestHeader(f,d.headers[f])}if(d.beforeSend&&(d.beforeSend.call(p,A,d)===false||u)){return A.abort()}$="abort";b.add(d.complete);A.done(d.success);A.fail(d.error);n=Xe(Qe,d,i,A);if(!n){_(-1,"No Transport")}else{A.readyState=1;if(l){v.trigger("ajaxSend",[A,d])}if(u){return A}if(d.async&&d.timeout>0){a=t.setTimeout((function(){A.abort("timeout")}),d.timeout)}try{u=false;n.send(y,_)}catch(t){if(u){throw t}_(-1,t)}}function _(e,i,o,c){var f,h,g,y,k,$=i;if(u){return}u=true;if(a){t.clearTimeout(a)}n=undefined;s=c||"";A.readyState=e>0?4:0;f=e>=200&&e<300||e===304;if(o){y=ti(d,A,o)}if(!f&&x.inArray("script",d.dataTypes)>-1&&x.inArray("json",d.dataTypes)<0){d.converters["text script"]=function(){}}y=ei(d,y,A,f);if(f){if(d.ifModified){k=A.getResponseHeader("Last-Modified");if(k){x.lastModified[r]=k}k=A.getResponseHeader("etag");if(k){x.etag[r]=k}}if(e===204||d.type==="HEAD"){$="nocontent"}else if(e===304){$="notmodified"}else{$=y.state;h=y.data;g=y.error;f=!g}}else{g=$;if(e||!$){$="error";if(e<0){e=0}}}A.status=e;A.statusText=(i||$)+"";if(f){m.resolveWith(p,[h,$,A])}else{m.rejectWith(p,[A,$,g])}A.statusCode(w);w=undefined;if(l){v.trigger(f?"ajaxSuccess":"ajaxError",[A,d,f?h:g])}b.fireWith(p,[A,$]);if(l){v.trigger("ajaxComplete",[A,d]);if(! --x.active){x.event.trigger("ajaxStop")}}}return A},getJSON:function(t,e,i){return x.get(t,e,i,"json")},getScript:function(t,e){return x.get(t,undefined,e,"script")}});x.each(["get","post"],(function(t,e){x[e]=function(t,i,n,r){if(p(i)){r=r||n;n=i;i=undefined}return x.ajax(x.extend({url:t,type:e,dataType:r,data:i,success:n},x.isPlainObject(t)&&t))}}));x.ajaxPrefilter((function(t){var e;for(e in t.headers){if(e.toLowerCase()==="content-type"){t.contentType=t.headers[e]||""}}}));x._evalUrl=function(t,e,i){return x.ajax({url:t,type:"GET",dataType:"script",cache:true,async:false,global:false,converters:{"text script":function(){}},dataFilter:function(t){x.globalEval(t,e,i)}})};x.fn.extend({wrapAll:function(t){var e;if(this[0]){if(p(t)){t=t.call(this[0])}e=x(t,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){e.insertBefore(this[0])}e.map((function(){var t=this;while(t.firstElementChild){t=t.firstElementChild}return t})).append(this)}return this},wrapInner:function(t){if(p(t)){return this.each((function(e){x(this).wrapInner(t.call(this,e))}))}return this.each((function(){var e=x(this),i=e.contents();if(i.length){i.wrapAll(t)}else{e.append(t)}}))},wrap:function(t){var e=p(t);return this.each((function(i){x(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){this.parent(t).not("body").each((function(){x(this).replaceWith(this.childNodes)}));return this}});x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)};x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)};x.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var ii={0:200,1223:204},ni=x.ajaxSettings.xhr();d.cors=!!ni&&"withCredentials"in ni;d.ajax=ni=!!ni;x.ajaxTransport((function(e){var i,n;if(d.cors||ni&&!e.crossDomain){return{send:function(r,s){var o,a=e.xhr();a.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(o in e.xhrFields){a[o]=e.xhrFields[o]}}if(e.mimeType&&a.overrideMimeType){a.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"}for(o in r){a.setRequestHeader(o,r[o])}i=function(t){return function(){if(i){i=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null;if(t==="abort"){a.abort()}else if(t==="error"){if(typeof a.status!=="number"){s(0,"error")}else{s(a.status,a.statusText)}}else{s(ii[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!=="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders())}}}};a.onload=i();n=a.onerror=a.ontimeout=i("error");if(a.onabort!==undefined){a.onabort=n}else{a.onreadystatechange=function(){if(a.readyState===4){t.setTimeout((function(){if(i){n()}}))}}}i=i("abort");try{a.send(e.hasContent&&e.data||null)}catch(t){if(i){throw t}}},abort:function(){if(i){i()}}}}}));x.ajaxPrefilter((function(t){if(t.crossDomain){t.contents.script=false}}));x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){x.globalEval(t);return t}}});x.ajaxPrefilter("script",(function(t){if(t.cache===undefined){t.cache=false}if(t.crossDomain){t.type="GET"}}));x.ajaxTransport("script",(function(t){if(t.crossDomain||t.scriptAttrs){var e,i;return{send:function(n,r){e=x("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove();i=null;if(t){r(t.type==="error"?404:200,t.type)}});g.head.appendChild(e[0])},abort:function(){if(i){i()}}}}}));var ri=[],si=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ri.pop()||x.expando+"_"+Ce.guid++;this[t]=true;return t}});x.ajaxPrefilter("json jsonp",(function(e,i,n){var r,s,o,a=e.jsonp!==false&&(si.test(e.url)?"url":typeof e.data==="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&si.test(e.data)&&"data");if(a||e.dataTypes[0]==="jsonp"){r=e.jsonpCallback=p(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback;if(a){e[a]=e[a].replace(si,"$1"+r)}else if(e.jsonp!==false){e.url+=(Ie.test(e.url)?"&":"?")+e.jsonp+"="+r}e.converters["script json"]=function(){if(!o){x.error(r+" was not called")}return o[0]};e.dataTypes[0]="json";s=t[r];t[r]=function(){o=arguments};n.always((function(){if(s===undefined){x(t).removeProp(r)}else{t[r]=s}if(e[r]){e.jsonpCallback=i.jsonpCallback;ri.push(r)}if(o&&p(s)){s(o[0])}o=s=undefined}));return"script"}}));d.createHTMLDocument=function(){var t=g.implementation.createHTMLDocument("").body;t.innerHTML="<form></form><form></form>";return t.childNodes.length===2}();x.parseHTML=function(t,e,i){if(typeof t!=="string"){return[]}if(typeof e==="boolean"){i=e;e=false}var n,r,s;if(!e){if(d.createHTMLDocument){e=g.implementation.createHTMLDocument("");n=e.createElement("base");n.href=g.location.href;e.head.appendChild(n)}else{e=g}}r=N.exec(t);s=!i&&[];if(r){return[e.createElement(r[1])]}r=Ot([t],e,s);if(s&&s.length){x(s).remove()}return x.merge([],r.childNodes)};x.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");if(a>-1){n=je(t.slice(a));t=t.slice(0,a)}if(p(e)){i=e;e=undefined}else if(e&&typeof e==="object"){r="POST"}if(o.length>0){x.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){s=arguments;o.html(n?x("<div>").append(x.parseHTML(t)).find(n):t)})).always(i&&function(t,e){o.each((function(){i.apply(this,s||[t.responseText,e,t])}))})}return this};x.expr.pseudos.animated=function(t){return x.grep(x.timers,(function(e){return t===e.elem})).length};x.offset={setOffset:function(t,e,i){var n,r,s,o,a,c,u,l=x.css(t,"position"),f=x(t),h={};if(l==="static"){t.style.position="relative"}a=f.offset();s=x.css(t,"top");c=x.css(t,"left");u=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;if(u){n=f.position();o=n.top;r=n.left}else{o=parseFloat(s)||0;r=parseFloat(c)||0}if(p(e)){e=e.call(t,i,x.extend({},a))}if(e.top!=null){h.top=e.top-a.top+o}if(e.left!=null){h.left=e.left-a.left+r}if("using"in e){e.using.call(t,h)}else{f.css(h)}}};x.fn.extend({offset:function(t){if(arguments.length){return t===undefined?this:this.each((function(e){x.offset.setOffset(this,t,e)}))}var e,i,n=this[0];if(!n){return}if(!n.getClientRects().length){return{top:0,left:0}}e=n.getBoundingClientRect();i=n.ownerDocument.defaultView;return{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}},position:function(){if(!this[0]){return}var t,e,i,n=this[0],r={top:0,left:0};if(x.css(n,"position")==="fixed"){e=n.getBoundingClientRect()}else{e=this.offset();i=n.ownerDocument;t=n.offsetParent||i.documentElement;while(t&&(t===i.body||t===i.documentElement)&&x.css(t,"position")==="static"){t=t.parentNode}if(t&&t!==n&&t.nodeType===1){r=x(t).offset();r.top+=x.css(t,"borderTopWidth",true);r.left+=x.css(t,"borderLeftWidth",true)}}return{top:e.top-r.top-x.css(n,"marginTop",true),left:e.left-r.left-x.css(n,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var t=this.offsetParent;while(t&&x.css(t,"position")==="static"){t=t.offsetParent}return t||vt}))}});x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;x.fn[t]=function(n){return K(this,(function(t,n,r){var s;if(v(t)){s=t}else if(t.nodeType===9){s=t.defaultView}if(r===undefined){return s?s[e]:t[n]}if(s){s.scrollTo(!i?r:s.pageXOffset,i?r:s.pageYOffset)}else{t[n]=r}}),t,n,arguments.length)}}));x.each(["top","left"],(function(t,e){x.cssHooks[e]=Xt(d.pixelPosition,(function(t,i){if(i){i=Vt(t,e);return Gt.test(i)?x(t).position()[e]+"px":i}}))}));x.each({Height:"height",Width:"width"},(function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){x.fn[n]=function(r,s){var o=arguments.length&&(i||typeof r!=="boolean"),a=i||(r===true||s===true?"margin":"border");return K(this,(function(e,i,r){var s;if(v(e)){return n.indexOf("outer")===0?e["inner"+t]:e.document.documentElement["client"+t]}if(e.nodeType===9){s=e.documentElement;return Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])}return r===undefined?x.css(e,i,a):x.style(e,i,r,a)}),e,o?r:undefined,o)}}))}));x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){x.fn[e]=function(t){return this.on(e,t)}}));x.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return arguments.length===1?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}});x.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(t,e){x.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var oi=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(t,e){var i,n,s;if(typeof e==="string"){i=t[e];e=t;t=i}if(!p(t)){return undefined}n=r.call(arguments,2);s=function(){return t.apply(e||this,n.concat(r.call(arguments)))};s.guid=t.guid=t.guid||x.guid++;return s};x.holdReady=function(t){if(t){x.readyWait++}else{x.ready(true)}};x.isArray=Array.isArray;x.parseJSON=JSON.parse;x.nodeName=A;x.isFunction=p;x.isWindow=v;x.camelCase=nt;x.type=w;x.now=Date.now;x.isNumeric=function(t){var e=x.type(t);return(e==="number"||e==="string")&&!isNaN(t-parseFloat(t))};x.trim=function(t){return t==null?"":(t+"").replace(oi,"$1")};var ai=t.jQuery,ci=t.$;x.noConflict=function(e){if(t.$===x){t.$=ci}if(e&&t.jQuery===x){t.jQuery=ai}return x};if(typeof e==="undefined"){t.jQuery=t.$=x}return x}))}));o((function(t,e){(function(e){{t.exports=e(c)}})((function(t){var e=window.Slick||{};e=function(){var e=0;function i(i,n){var r=this,s;r.defaults={accessibility:true,adaptiveHeight:false,appendArrows:t(i),appendDots:t(i),arrows:true,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:false,autoplaySpeed:3e3,centerMode:false,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:false,dotsClass:"slick-dots",draggable:true,easing:"linear",edgeFriction:.35,fade:false,focusOnSelect:false,focusOnChange:false,infinite:true,initialSlide:0,lazyLoad:"ondemand",mobileFirst:false,pauseOnHover:true,pauseOnFocus:true,pauseOnDotsHover:false,respondTo:"window",responsive:null,rows:1,rtl:false,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:true,swipeToSlide:false,touchMove:true,touchThreshold:5,useCSS:true,useTransform:true,variableWidth:false,vertical:false,verticalSwiping:false,waitForAnimate:true,zIndex:1e3};r.initials={animating:false,dragging:false,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:false,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:false,slideOffset:0,swipeLeft:null,swiping:false,$list:null,touchObject:{},transformsEnabled:false,unslicked:false};t.extend(r,r.initials);r.activeBreakpoint=null;r.animType=null;r.animProp=null;r.breakpoints=[];r.breakpointSettings=[];r.cssTransitions=false;r.focussed=false;r.interrupted=false;r.hidden="hidden";r.paused=true;r.positionProp=null;r.respondTo=null;r.rowCount=1;r.shouldClick=true;r.$slider=t(i);r.$slidesCache=null;r.transformType=null;r.transitionType=null;r.visibilityChange="visibilitychange";r.windowWidth=0;r.windowTimer=null;s=t(i).data("slick")||{};r.options=t.extend({},r.defaults,n,s);r.currentSlide=r.options.initialSlide;r.originalSettings=r.options;if(typeof document.mozHidden!=="undefined"){r.hidden="mozHidden";r.visibilityChange="mozvisibilitychange"}else if(typeof document.webkitHidden!=="undefined"){r.hidden="webkitHidden";r.visibilityChange="webkitvisibilitychange"}r.autoPlay=t.proxy(r.autoPlay,r);r.autoPlayClear=t.proxy(r.autoPlayClear,r);r.autoPlayIterator=t.proxy(r.autoPlayIterator,r);r.changeSlide=t.proxy(r.changeSlide,r);r.clickHandler=t.proxy(r.clickHandler,r);r.selectHandler=t.proxy(r.selectHandler,r);r.setPosition=t.proxy(r.setPosition,r);r.swipeHandler=t.proxy(r.swipeHandler,r);r.dragHandler=t.proxy(r.dragHandler,r);r.keyHandler=t.proxy(r.keyHandler,r);r.instanceUid=e++;r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;r.registerBreakpoints();r.init(true)}return i}();e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var r=this;if(typeof i==="boolean"){n=i;i=null}else if(i<0||i>=r.slideCount){return false}r.unload();if(typeof i==="number"){if(i===0&&r.$slides.length===0){t(e).appendTo(r.$slideTrack)}else if(n){t(e).insertBefore(r.$slides.eq(i))}else{t(e).insertAfter(r.$slides.eq(i))}}else{if(n===true){t(e).prependTo(r.$slideTrack)}else{t(e).appendTo(r.$slideTrack)}}r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slides.each((function(e,i){t(i).attr("data-slick-index",e)}));r.$slidesCache=r.$slides;r.reinit()};e.prototype.animateHeight=function(){var t=this;if(t.options.slidesToShow===1&&t.options.adaptiveHeight===true&&t.options.vertical===false){var e=t.$slides.eq(t.currentSlide).outerHeight(true);t.$list.animate({height:e},t.options.speed)}};e.prototype.animateSlide=function(e,i){var n={},r=this;r.animateHeight();if(r.options.rtl===true&&r.options.vertical===false){e=-e}if(r.transformsEnabled===false){if(r.options.vertical===false){r.$slideTrack.animate({left:e},r.options.speed,r.options.easing,i)}else{r.$slideTrack.animate({top:e},r.options.speed,r.options.easing,i)}}else{if(r.cssTransitions===false){if(r.options.rtl===true){r.currentLeft=-r.currentLeft}t({animStart:r.currentLeft}).animate({animStart:e},{duration:r.options.speed,easing:r.options.easing,step:function(t){t=Math.ceil(t);if(r.options.vertical===false){n[r.animType]="translate("+t+"px, 0px)";r.$slideTrack.css(n)}else{n[r.animType]="translate(0px,"+t+"px)";r.$slideTrack.css(n)}},complete:function(){if(i){i.call()}}})}else{r.applyTransition();e=Math.ceil(e);if(r.options.vertical===false){n[r.animType]="translate3d("+e+"px, 0px, 0px)"}else{n[r.animType]="translate3d(0px,"+e+"px, 0px)"}r.$slideTrack.css(n);if(i){setTimeout((function(){r.disableTransition();i.call()}),r.options.speed)}}}};e.prototype.getNavTarget=function(){var e=this,i=e.options.asNavFor;if(i&&i!==null){i=t(i).not(e.$slider)}return i};e.prototype.asNavFor=function(e){var i=this,n=i.getNavTarget();if(n!==null&&typeof n==="object"){n.each((function(){var i=t(this).slick("getSlick");if(!i.unslicked){i.slideHandler(e,true)}}))}};e.prototype.applyTransition=function(t){var e=this,i={};if(e.options.fade===false){i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase}else{i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase}if(e.options.fade===false){e.$slideTrack.css(i)}else{e.$slides.eq(t).css(i)}};e.prototype.autoPlay=function(){var t=this;t.autoPlayClear();if(t.slideCount>t.options.slidesToShow){t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed)}};e.prototype.autoPlayClear=function(){var t=this;if(t.autoPlayTimer){clearInterval(t.autoPlayTimer)}};e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;if(!t.paused&&!t.interrupted&&!t.focussed){if(t.options.infinite===false){if(t.direction===1&&t.currentSlide+1===t.slideCount-1){t.direction=0}else if(t.direction===0){e=t.currentSlide-t.options.slidesToScroll;if(t.currentSlide-1===0){t.direction=1}}}t.slideHandler(e)}};e.prototype.buildArrows=function(){var e=this;if(e.options.arrows===true){e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow");e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow");if(e.slideCount>e.options.slidesToShow){e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");if(e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.prependTo(e.options.appendArrows)}if(e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.appendTo(e.options.appendArrows)}if(e.options.infinite!==true){e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")}}else{e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"})}}};e.prototype.buildDots=function(){var e=this,i,n;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$slider.addClass("slick-dotted");n=t("<ul />").addClass(e.options.dotsClass);for(i=0;i<=e.getDotCount();i+=1){n.append(t("<li />").append(e.options.customPaging.call(this,e,i)))}e.$dots=n.appendTo(e.options.appendDots);e.$dots.find("li").first().addClass("slick-active")}};e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide");e.slideCount=e.$slides.length;e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}));e.$slider.addClass("slick-slider");e.$slideTrack=e.slideCount===0?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent();e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent();e.$slideTrack.css("opacity",0);if(e.options.centerMode===true||e.options.swipeToSlide===true){e.options.slidesToScroll=1}t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading");e.setupInfinite();e.buildArrows();e.buildDots();e.updateDots();e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);if(e.options.draggable===true){e.$list.addClass("draggable")}};e.prototype.buildRows=function(){var t=this,e,i,n,r,s,o,a;r=document.createDocumentFragment();o=t.$slider.children();if(t.options.rows>0){a=t.options.slidesPerRow*t.options.rows;s=Math.ceil(o.length/a);for(e=0;e<s;e++){var c=document.createElement("div");for(i=0;i<t.options.rows;i++){var u=document.createElement("div");for(n=0;n<t.options.slidesPerRow;n++){var l=e*a+(i*t.options.slidesPerRow+n);if(o.get(l)){u.appendChild(o.get(l))}}c.appendChild(u)}r.appendChild(c)}t.$slider.empty().append(r);t.$slider.children().children().children().css({width:100/t.options.slidesPerRow+"%",display:"inline-block"})}};e.prototype.checkResponsive=function(e,i){var n=this,r,s,o,a=false;var c=n.$slider.width();var u=window.innerWidth||t(window).width();if(n.respondTo==="window"){o=u}else if(n.respondTo==="slider"){o=c}else if(n.respondTo==="min"){o=Math.min(u,c)}if(n.options.responsive&&n.options.responsive.length&&n.options.responsive!==null){s=null;for(r in n.breakpoints){if(n.breakpoints.hasOwnProperty(r)){if(n.originalSettings.mobileFirst===false){if(o<n.breakpoints[r]){s=n.breakpoints[r]}}else{if(o>n.breakpoints[r]){s=n.breakpoints[r]}}}}if(s!==null){if(n.activeBreakpoint!==null){if(s!==n.activeBreakpoint||i){n.activeBreakpoint=s;if(n.breakpointSettings[s]==="unslick"){n.unslick(s)}else{n.options=t.extend({},n.originalSettings,n.breakpointSettings[s]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}a=s}}else{n.activeBreakpoint=s;if(n.breakpointSettings[s]==="unslick"){n.unslick(s)}else{n.options=t.extend({},n.originalSettings,n.breakpointSettings[s]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}a=s}}else{if(n.activeBreakpoint!==null){n.activeBreakpoint=null;n.options=n.originalSettings;if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e);a=s}}if(!e&&a!==false){n.$slider.trigger("breakpoint",[n,a])}}};e.prototype.changeSlide=function(e,i){var n=this,r=t(e.currentTarget),s,o,a;if(r.is("a")){e.preventDefault()}if(!r.is("li")){r=r.closest("li")}a=n.slideCount%n.options.slidesToScroll!==0;s=a?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll;switch(e.data.message){case"previous":o=s===0?n.options.slidesToScroll:n.options.slidesToShow-s;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide-o,false,i)}break;case"next":o=s===0?n.options.slidesToScroll:s;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide+o,false,i)}break;case"index":var c=e.data.index===0?0:e.data.index||r.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(c),false,i);r.children().trigger("focus");break;default:return}};e.prototype.checkNavigable=function(t){var e=this,i,n;i=e.getNavigableIndexes();n=0;if(t>i[i.length-1]){t=i[i.length-1]}else{for(var r in i){if(t<i[r]){t=n;break}n=i[r]}}return t};e.prototype.cleanUpEvents=function(){var e=this;if(e.options.dots&&e.$dots!==null){t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,true)).off("mouseleave.slick",t.proxy(e.interrupt,e,false));if(e.options.accessibility===true){e.$dots.off("keydown.slick",e.keyHandler)}}e.$slider.off("focus.slick blur.slick");if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide);e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide);if(e.options.accessibility===true){e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler);e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler)}}e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler);e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler);e.$list.off("touchend.slick mouseup.slick",e.swipeHandler);e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler);e.$list.off("click.slick",e.clickHandler);t(document).off(e.visibilityChange,e.visibility);e.cleanUpSlideEvents();if(e.options.accessibility===true){e.$list.off("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){t(e.$slideTrack).children().off("click.slick",e.selectHandler)}t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange);t(window).off("resize.slick.slick-"+e.instanceUid,e.resize);t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault);t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)};e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,true));e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,false))};e.prototype.cleanUpRows=function(){var t=this,e;if(t.options.rows>0){e=t.$slides.children().children();e.removeAttr("style");t.$slider.empty().append(e)}};e.prototype.clickHandler=function(t){var e=this;if(e.shouldClick===false){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault()}};e.prototype.destroy=function(e){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();t(".slick-cloned",i.$slider).detach();if(i.$dots){i.$dots.remove()}if(i.$prevArrow&&i.$prevArrow.length){i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(i.htmlExpr.test(i.options.prevArrow)){i.$prevArrow.remove()}}if(i.$nextArrow&&i.$nextArrow.length){i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(i.htmlExpr.test(i.options.nextArrow)){i.$nextArrow.remove()}}if(i.$slides){i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))}));i.$slideTrack.children(this.options.slide).detach();i.$slideTrack.detach();i.$list.detach();i.$slider.append(i.$slides)}i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=true;if(!e){i.$slider.trigger("destroy",[i])}};e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="";if(e.options.fade===false){e.$slideTrack.css(i)}else{e.$slides.eq(t).css(i)}};e.prototype.fadeSlide=function(t,e){var i=this;if(i.cssTransitions===false){i.$slides.eq(t).css({zIndex:i.options.zIndex});i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)}else{i.applyTransition(t);i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex});if(e){setTimeout((function(){i.disableTransition(t);e.call()}),i.options.speed)}}};e.prototype.fadeSlideOut=function(t){var e=this;if(e.cssTransitions===false){e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing)}else{e.applyTransition(t);e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2})}};e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;if(t!==null){e.$slidesCache=e.$slides;e.unload();e.$slideTrack.children(this.options.slide).detach();e.$slidesCache.filter(t).appendTo(e.$slideTrack);e.reinit()}};e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=t(this);setTimeout((function(){if(e.options.pauseOnFocus){e.focussed=n.is(":focus");e.autoPlay()}}),0)}))};e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide};e.prototype.getDotCount=function(){var t=this;var e=0;var i=0;var n=0;if(t.options.infinite===true){if(t.slideCount<=t.options.slidesToShow){++n}else{while(e<t.slideCount){++n;e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}}}else if(t.options.centerMode===true){n=t.slideCount}else if(!t.options.asNavFor){n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll)}else{while(e<t.slideCount){++n;e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}}return n-1};e.prototype.getLeft=function(t){var e=this,i,n,r=0,s,o;e.slideOffset=0;n=e.$slides.first().outerHeight(true);if(e.options.infinite===true){if(e.slideCount>e.options.slidesToShow){e.slideOffset=e.slideWidth*e.options.slidesToShow*-1;o=-1;if(e.options.vertical===true&&e.options.centerMode===true){if(e.options.slidesToShow===2){o=-1.5}else if(e.options.slidesToShow===1){o=-2}}r=n*e.options.slidesToShow*o}if(e.slideCount%e.options.slidesToScroll!==0){if(t+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow){if(t>e.slideCount){e.slideOffset=(e.options.slidesToShow-(t-e.slideCount))*e.slideWidth*-1;r=(e.options.slidesToShow-(t-e.slideCount))*n*-1}else{e.slideOffset=e.slideCount%e.options.slidesToScroll*e.slideWidth*-1;r=e.slideCount%e.options.slidesToScroll*n*-1}}}}else{if(t+e.options.slidesToShow>e.slideCount){e.slideOffset=(t+e.options.slidesToShow-e.slideCount)*e.slideWidth;r=(t+e.options.slidesToShow-e.slideCount)*n}}if(e.slideCount<=e.options.slidesToShow){e.slideOffset=0;r=0}if(e.options.centerMode===true&&e.slideCount<=e.options.slidesToShow){e.slideOffset=e.slideWidth*Math.floor(e.options.slidesToShow)/2-e.slideWidth*e.slideCount/2}else if(e.options.centerMode===true&&e.options.infinite===true){e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)-e.slideWidth}else if(e.options.centerMode===true){e.slideOffset=0;e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)}if(e.options.vertical===false){i=t*e.slideWidth*-1+e.slideOffset}else{i=t*n*-1+r}if(e.options.variableWidth===true){if(e.slideCount<=e.options.slidesToShow||e.options.infinite===false){s=e.$slideTrack.children(".slick-slide").eq(t)}else{s=e.$slideTrack.children(".slick-slide").eq(t+e.options.slidesToShow)}if(e.options.rtl===true){if(s[0]){i=(e.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{i=0}}else{i=s[0]?s[0].offsetLeft*-1:0}if(e.options.centerMode===true){if(e.slideCount<=e.options.slidesToShow||e.options.infinite===false){s=e.$slideTrack.children(".slick-slide").eq(t)}else{s=e.$slideTrack.children(".slick-slide").eq(t+e.options.slidesToShow+1)}if(e.options.rtl===true){if(s[0]){i=(e.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{i=0}}else{i=s[0]?s[0].offsetLeft*-1:0}i+=(e.$list.width()-s.outerWidth())/2}}return i};e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]};e.prototype.getNavigableIndexes=function(){var t=this,e=0,i=0,n=[],r;if(t.options.infinite===false){r=t.slideCount}else{e=t.options.slidesToScroll*-1;i=t.options.slidesToScroll*-1;r=t.slideCount*2}while(e<r){n.push(e);e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}return n};e.prototype.getSlick=function(){return this};e.prototype.getSlideCount=function(){var e=this,i,n,r;r=e.options.centerMode===true?e.slideWidth*Math.floor(e.options.slidesToShow/2):0;if(e.options.swipeToSlide===true){e.$slideTrack.find(".slick-slide").each((function(i,s){if(s.offsetLeft-r+t(s).outerWidth()/2>e.swipeLeft*-1){n=s;return false}}));i=Math.abs(t(n).attr("data-slick-index")-e.currentSlide)||1;return i}else{return e.options.slidesToScroll}};e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var i=this;i.changeSlide({data:{message:"index",index:parseInt(t)}},e)};e.prototype.init=function(e){var i=this;if(!t(i.$slider).hasClass("slick-initialized")){t(i.$slider).addClass("slick-initialized");i.buildRows();i.buildOut();i.setProps();i.startLoad();i.loadSlider();i.initializeEvents();i.updateArrows();i.updateDots();i.checkResponsive(true);i.focusHandler()}if(e){i.$slider.trigger("init",[i])}if(i.options.accessibility===true){i.initADA()}if(i.options.autoplay){i.paused=false;i.autoPlay()}};e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"});if(e.$dots!==null){e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var r=n.indexOf(i);t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1});if(r!==-1){var s="slick-slide-control"+e.instanceUid+r;if(t("#"+s).length){t(this).attr({"aria-describedby":s})}}}));e.$dots.attr("role","tablist").find("li").each((function(r){var s=n[r];t(this).attr({role:"presentation"});t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+r,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":r+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()}for(var r=e.currentSlide,s=r+e.options.slidesToShow;r<s;r++){if(e.options.focusOnChange){e.$slides.eq(r).attr({tabindex:"0"})}else{e.$slides.eq(r).removeAttr("tabindex")}}e.activateADA()};e.prototype.initArrowEvents=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide);t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide);if(t.options.accessibility===true){t.$prevArrow.on("keydown.slick",t.keyHandler);t.$nextArrow.on("keydown.slick",t.keyHandler)}}};e.prototype.initDotEvents=function(){var e=this;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide);if(e.options.accessibility===true){e.$dots.on("keydown.slick",e.keyHandler)}}if(e.options.dots===true&&e.options.pauseOnDotsHover===true&&e.slideCount>e.options.slidesToShow){t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,true)).on("mouseleave.slick",t.proxy(e.interrupt,e,false))}};e.prototype.initSlideEvents=function(){var e=this;if(e.options.pauseOnHover){e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,true));e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,false))}};e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents();e.initDotEvents();e.initSlideEvents();e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler);e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler);e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler);e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler);e.$list.on("click.slick",e.clickHandler);t(document).on(e.visibilityChange,t.proxy(e.visibility,e));if(e.options.accessibility===true){e.$list.on("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){t(e.$slideTrack).children().on("click.slick",e.selectHandler)}t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e));t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e));t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault);t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition);t(e.setPosition)};e.prototype.initUI=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.show();t.$nextArrow.show()}if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){t.$dots.show()}};e.prototype.keyHandler=function(t){var e=this;if(!t.target.tagName.match("TEXTAREA|INPUT|SELECT")){if(t.keyCode===37&&e.options.accessibility===true){e.changeSlide({data:{message:e.options.rtl===true?"next":"previous"}})}else if(t.keyCode===39&&e.options.accessibility===true){e.changeSlide({data:{message:e.options.rtl===true?"previous":"next"}})}}};e.prototype.lazyLoad=function(){var e=this,i,n,r,s;function o(i){t("img[data-lazy]",i).each((function(){var i=t(this),n=t(this).attr("data-lazy"),r=t(this).attr("data-srcset"),s=t(this).attr("data-sizes")||e.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){i.animate({opacity:0},100,(function(){if(r){i.attr("srcset",r);if(s){i.attr("sizes",s)}}i.attr("src",n).animate({opacity:1},200,(function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}));e.$slider.trigger("lazyLoaded",[e,i,n])}))};o.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");e.$slider.trigger("lazyLoadError",[e,i,n])};o.src=n}))}if(e.options.centerMode===true){if(e.options.infinite===true){r=e.currentSlide+(e.options.slidesToShow/2+1);s=r+e.options.slidesToShow+2}else{r=Math.max(0,e.currentSlide-(e.options.slidesToShow/2+1));s=2+(e.options.slidesToShow/2+1)+e.currentSlide}}else{r=e.options.infinite?e.options.slidesToShow+e.currentSlide:e.currentSlide;s=Math.ceil(r+e.options.slidesToShow);if(e.options.fade===true){if(r>0)r--;if(s<=e.slideCount)s++}}i=e.$slider.find(".slick-slide").slice(r,s);if(e.options.lazyLoad==="anticipated"){var a=r-1,c=s,u=e.$slider.find(".slick-slide");for(var l=0;l<e.options.slidesToScroll;l++){if(a<0)a=e.slideCount-1;i=i.add(u.eq(a));i=i.add(u.eq(c));a--;c++}}o(i);if(e.slideCount<=e.options.slidesToShow){n=e.$slider.find(".slick-slide");o(n)}else if(e.currentSlide>=e.slideCount-e.options.slidesToShow){n=e.$slider.find(".slick-cloned").slice(0,e.options.slidesToShow);o(n)}else if(e.currentSlide===0){n=e.$slider.find(".slick-cloned").slice(e.options.slidesToShow*-1);o(n)}};e.prototype.loadSlider=function(){var t=this;t.setPosition();t.$slideTrack.css({opacity:1});t.$slider.removeClass("slick-loading");t.initUI();if(t.options.lazyLoad==="progressive"){t.progressiveLazyLoad()}};e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})};e.prototype.orientationChange=function(){var t=this;t.checkResponsive();t.setPosition()};e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear();t.paused=true};e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay();t.options.autoplay=true;t.paused=false;t.focussed=false;t.interrupted=false};e.prototype.postSlide=function(e){var i=this;if(!i.unslicked){i.$slider.trigger("afterChange",[i,e]);i.animating=false;if(i.slideCount>i.options.slidesToShow){i.setPosition()}i.swipeLeft=null;if(i.options.autoplay){i.autoPlay()}if(i.options.accessibility===true){i.initADA();if(i.options.focusOnChange){var n=t(i.$slides.get(i.currentSlide));n.attr("tabindex",0).focus()}}}};e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})};e.prototype.preventDefault=function(t){t.preventDefault()};e.prototype.progressiveLazyLoad=function(e){e=e||1;var i=this,n=t("img[data-lazy]",i.$slider),r,s,o,a,c;if(n.length){r=n.first();s=r.attr("data-lazy");o=r.attr("data-srcset");a=r.attr("data-sizes")||i.$slider.attr("data-sizes");c=document.createElement("img");c.onload=function(){if(o){r.attr("srcset",o);if(a){r.attr("sizes",a)}}r.attr("src",s).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");if(i.options.adaptiveHeight===true){i.setPosition()}i.$slider.trigger("lazyLoaded",[i,r,s]);i.progressiveLazyLoad()};c.onerror=function(){if(e<3){setTimeout((function(){i.progressiveLazyLoad(e+1)}),500)}else{r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");i.$slider.trigger("lazyLoadError",[i,r,s]);i.progressiveLazyLoad()}};c.src=s}else{i.$slider.trigger("allImagesLoaded",[i])}};e.prototype.refresh=function(e){var i=this,n,r;r=i.slideCount-i.options.slidesToShow;if(!i.options.infinite&&i.currentSlide>r){i.currentSlide=r}if(i.slideCount<=i.options.slidesToShow){i.currentSlide=0}n=i.currentSlide;i.destroy(true);t.extend(i,i.initials,{currentSlide:n});i.init();if(!e){i.changeSlide({data:{message:"index",index:n}},false)}};e.prototype.registerBreakpoints=function(){var e=this,i,n,r,s=e.options.responsive||null;if(t.type(s)==="array"&&s.length){e.respondTo=e.options.respondTo||"window";for(i in s){r=e.breakpoints.length-1;if(s.hasOwnProperty(i)){n=s[i].breakpoint;while(r>=0){if(e.breakpoints[r]&&e.breakpoints[r]===n){e.breakpoints.splice(r,1)}r--}e.breakpoints.push(n);e.breakpointSettings[n]=s[i].settings}}e.breakpoints.sort((function(t,i){return e.options.mobileFirst?t-i:i-t}))}};e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide");e.slideCount=e.$slides.length;if(e.currentSlide>=e.slideCount&&e.currentSlide!==0){e.currentSlide=e.currentSlide-e.options.slidesToScroll}if(e.slideCount<=e.options.slidesToShow){e.currentSlide=0}e.registerBreakpoints();e.setProps();e.setupInfinite();e.buildArrows();e.updateArrows();e.initArrowEvents();e.buildDots();e.updateDots();e.initDotEvents();e.cleanUpSlideEvents();e.initSlideEvents();e.checkResponsive(false,true);if(e.options.focusOnSelect===true){t(e.$slideTrack).children().on("click.slick",e.selectHandler)}e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);e.setPosition();e.focusHandler();e.paused=!e.options.autoplay;e.autoPlay();e.$slider.trigger("reInit",[e])};e.prototype.resize=function(){var e=this;if(t(window).width()!==e.windowWidth){clearTimeout(e.windowDelay);e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width();e.checkResponsive();if(!e.unslicked){e.setPosition()}}),50)}};e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;if(typeof t==="boolean"){e=t;t=e===true?0:n.slideCount-1}else{t=e===true?--t:t}if(n.slideCount<1||t<0||t>n.slideCount-1){return false}n.unload();if(i===true){n.$slideTrack.children().remove()}else{n.$slideTrack.children(this.options.slide).eq(t).remove()}n.$slides=n.$slideTrack.children(this.options.slide);n.$slideTrack.children(this.options.slide).detach();n.$slideTrack.append(n.$slides);n.$slidesCache=n.$slides;n.reinit()};e.prototype.setCSS=function(t){var e=this,i={},n,r;if(e.options.rtl===true){t=-t}n=e.positionProp=="left"?Math.ceil(t)+"px":"0px";r=e.positionProp=="top"?Math.ceil(t)+"px":"0px";i[e.positionProp]=t;if(e.transformsEnabled===false){e.$slideTrack.css(i)}else{i={};if(e.cssTransitions===false){i[e.animType]="translate("+n+", "+r+")";e.$slideTrack.css(i)}else{i[e.animType]="translate3d("+n+", "+r+", 0px)";e.$slideTrack.css(i)}}};e.prototype.setDimensions=function(){var t=this;if(t.options.vertical===false){if(t.options.centerMode===true){t.$list.css({padding:"0px "+t.options.centerPadding})}}else{t.$list.height(t.$slides.first().outerHeight(true)*t.options.slidesToShow);if(t.options.centerMode===true){t.$list.css({padding:t.options.centerPadding+" 0px"})}}t.listWidth=t.$list.width();t.listHeight=t.$list.height();if(t.options.vertical===false&&t.options.variableWidth===false){t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow);t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))}else if(t.options.variableWidth===true){t.$slideTrack.width(5e3*t.slideCount)}else{t.slideWidth=Math.ceil(t.listWidth);t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(true)*t.$slideTrack.children(".slick-slide").length))}var e=t.$slides.first().outerWidth(true)-t.$slides.first().width();if(t.options.variableWidth===false)t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)};e.prototype.setFade=function(){var e=this,i;e.$slides.each((function(n,r){i=e.slideWidth*n*-1;if(e.options.rtl===true){t(r).css({position:"relative",right:i,top:0,zIndex:e.options.zIndex-2,opacity:0})}else{t(r).css({position:"relative",left:i,top:0,zIndex:e.options.zIndex-2,opacity:0})}}));e.$slides.eq(e.currentSlide).css({zIndex:e.options.zIndex-1,opacity:1})};e.prototype.setHeight=function(){var t=this;if(t.options.slidesToShow===1&&t.options.adaptiveHeight===true&&t.options.vertical===false){var e=t.$slides.eq(t.currentSlide).outerHeight(true);t.$list.css("height",e)}};e.prototype.setOption=e.prototype.slickSetOption=function(){var e=this,i,n,r,s,o=false,a;if(t.type(arguments[0])==="object"){r=arguments[0];o=arguments[1];a="multiple"}else if(t.type(arguments[0])==="string"){r=arguments[0];s=arguments[1];o=arguments[2];if(arguments[0]==="responsive"&&t.type(arguments[1])==="array"){a="responsive"}else if(typeof arguments[1]!=="undefined"){a="single"}}if(a==="single"){e.options[r]=s}else if(a==="multiple"){t.each(r,(function(t,i){e.options[t]=i}))}else if(a==="responsive"){for(n in s){if(t.type(e.options.responsive)!=="array"){e.options.responsive=[s[n]]}else{i=e.options.responsive.length-1;while(i>=0){if(e.options.responsive[i].breakpoint===s[n].breakpoint){e.options.responsive.splice(i,1)}i--}e.options.responsive.push(s[n])}}}if(o){e.unload();e.reinit()}};e.prototype.setPosition=function(){var t=this;t.setDimensions();t.setHeight();if(t.options.fade===false){t.setCSS(t.getLeft(t.currentSlide))}else{t.setFade()}t.$slider.trigger("setPosition",[t])};e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===true?"top":"left";if(t.positionProp==="top"){t.$slider.addClass("slick-vertical")}else{t.$slider.removeClass("slick-vertical")}if(e.WebkitTransition!==undefined||e.MozTransition!==undefined||e.msTransition!==undefined){if(t.options.useCSS===true){t.cssTransitions=true}}if(t.options.fade){if(typeof t.options.zIndex==="number"){if(t.options.zIndex<3){t.options.zIndex=3}}else{t.options.zIndex=t.defaults.zIndex}}if(e.OTransform!==undefined){t.animType="OTransform";t.transformType="-o-transform";t.transitionType="OTransition";if(e.perspectiveProperty===undefined&&e.webkitPerspective===undefined)t.animType=false}if(e.MozTransform!==undefined){t.animType="MozTransform";t.transformType="-moz-transform";t.transitionType="MozTransition";if(e.perspectiveProperty===undefined&&e.MozPerspective===undefined)t.animType=false}if(e.webkitTransform!==undefined){t.animType="webkitTransform";t.transformType="-webkit-transform";t.transitionType="webkitTransition";if(e.perspectiveProperty===undefined&&e.webkitPerspective===undefined)t.animType=false}if(e.msTransform!==undefined){t.animType="msTransform";t.transformType="-ms-transform";t.transitionType="msTransition";if(e.msTransform===undefined)t.animType=false}if(e.transform!==undefined&&t.animType!==false){t.animType="transform";t.transformType="transform";t.transitionType="transition"}t.transformsEnabled=t.options.useTransform&&(t.animType!==null&&t.animType!==false)};e.prototype.setSlideClasses=function(t){var e=this,i,n,r,s;n=e.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");e.$slides.eq(t).addClass("slick-current");if(e.options.centerMode===true){var o=e.options.slidesToShow%2===0?1:0;i=Math.floor(e.options.slidesToShow/2);if(e.options.infinite===true){if(t>=i&&t<=e.slideCount-1-i){e.$slides.slice(t-i+o,t+i+1).addClass("slick-active").attr("aria-hidden","false")}else{r=e.options.slidesToShow+t;n.slice(r-i+1+o,r+i+2).addClass("slick-active").attr("aria-hidden","false")}if(t===0){n.eq(n.length-1-e.options.slidesToShow).addClass("slick-center")}else if(t===e.slideCount-1){n.eq(e.options.slidesToShow).addClass("slick-center")}}e.$slides.eq(t).addClass("slick-center")}else{if(t>=0&&t<=e.slideCount-e.options.slidesToShow){e.$slides.slice(t,t+e.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}else if(n.length<=e.options.slidesToShow){n.addClass("slick-active").attr("aria-hidden","false")}else{s=e.slideCount%e.options.slidesToShow;r=e.options.infinite===true?e.options.slidesToShow+t:t;if(e.options.slidesToShow==e.options.slidesToScroll&&e.slideCount-t<e.options.slidesToShow){n.slice(r-(e.options.slidesToShow-s),r+s).addClass("slick-active").attr("aria-hidden","false")}else{n.slice(r,r+e.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}}}if(e.options.lazyLoad==="ondemand"||e.options.lazyLoad==="anticipated"){e.lazyLoad()}};e.prototype.setupInfinite=function(){var e=this,i,n,r;if(e.options.fade===true){e.options.centerMode=false}if(e.options.infinite===true&&e.options.fade===false){n=null;if(e.slideCount>e.options.slidesToShow){if(e.options.centerMode===true){r=e.options.slidesToShow+1}else{r=e.options.slidesToShow}for(i=e.slideCount;i>e.slideCount-r;i-=1){n=i-1;t(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n-e.slideCount).prependTo(e.$slideTrack).addClass("slick-cloned")}for(i=0;i<r+e.slideCount;i+=1){n=i;t(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n+e.slideCount).appendTo(e.$slideTrack).addClass("slick-cloned")}e.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}}};e.prototype.interrupt=function(t){var e=this;if(!t){e.autoPlay()}e.interrupted=t};e.prototype.selectHandler=function(e){var i=this;var n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide");var r=parseInt(n.attr("data-slick-index"));if(!r)r=0;if(i.slideCount<=i.options.slidesToShow){i.slideHandler(r,false,true);return}i.slideHandler(r)};e.prototype.slideHandler=function(t,e,i){var n,r,s,o,a=null,c=this,u;e=e||false;if(c.animating===true&&c.options.waitForAnimate===true){return}if(c.options.fade===true&&c.currentSlide===t){return}if(e===false){c.asNavFor(t)}n=t;a=c.getLeft(n);o=c.getLeft(c.currentSlide);c.currentLeft=c.swipeLeft===null?o:c.swipeLeft;if(c.options.infinite===false&&c.options.centerMode===false&&(t<0||t>c.getDotCount()*c.options.slidesToScroll)){if(c.options.fade===false){n=c.currentSlide;if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(o,(function(){c.postSlide(n)}))}else{c.postSlide(n)}}return}else if(c.options.infinite===false&&c.options.centerMode===true&&(t<0||t>c.slideCount-c.options.slidesToScroll)){if(c.options.fade===false){n=c.currentSlide;if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(o,(function(){c.postSlide(n)}))}else{c.postSlide(n)}}return}if(c.options.autoplay){clearInterval(c.autoPlayTimer)}if(n<0){if(c.slideCount%c.options.slidesToScroll!==0){r=c.slideCount-c.slideCount%c.options.slidesToScroll}else{r=c.slideCount+n}}else if(n>=c.slideCount){if(c.slideCount%c.options.slidesToScroll!==0){r=0}else{r=n-c.slideCount}}else{r=n}c.animating=true;c.$slider.trigger("beforeChange",[c,c.currentSlide,r]);s=c.currentSlide;c.currentSlide=r;c.setSlideClasses(c.currentSlide);if(c.options.asNavFor){u=c.getNavTarget();u=u.slick("getSlick");if(u.slideCount<=u.options.slidesToShow){u.setSlideClasses(c.currentSlide)}}c.updateDots();c.updateArrows();if(c.options.fade===true){if(i!==true){c.fadeSlideOut(s);c.fadeSlide(r,(function(){c.postSlide(r)}))}else{c.postSlide(r)}c.animateHeight();return}if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(a,(function(){c.postSlide(r)}))}else{c.postSlide(r)}};e.prototype.startLoad=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.hide();t.$nextArrow.hide()}if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){t.$dots.hide()}t.$slider.addClass("slick-loading")};e.prototype.swipeDirection=function(){var t,e,i,n,r=this;t=r.touchObject.startX-r.touchObject.curX;e=r.touchObject.startY-r.touchObject.curY;i=Math.atan2(e,t);n=Math.round(i*180/Math.PI);if(n<0){n=360-Math.abs(n)}if(n<=45&&n>=0){return r.options.rtl===false?"left":"right"}if(n<=360&&n>=315){return r.options.rtl===false?"left":"right"}if(n>=135&&n<=225){return r.options.rtl===false?"right":"left"}if(r.options.verticalSwiping===true){if(n>=35&&n<=135){return"down"}else{return"up"}}return"vertical"};e.prototype.swipeEnd=function(t){var e=this,i,n;e.dragging=false;e.swiping=false;if(e.scrolling){e.scrolling=false;return false}e.interrupted=false;e.shouldClick=e.touchObject.swipeLength>10?false:true;if(e.touchObject.curX===undefined){return false}if(e.touchObject.edgeHit===true){e.$slider.trigger("edge",[e,e.swipeDirection()])}if(e.touchObject.swipeLength>=e.touchObject.minSwipe){n=e.swipeDirection();switch(n){case"left":case"down":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount();e.currentDirection=0;break;case"right":case"up":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount();e.currentDirection=1;break}if(n!="vertical"){e.slideHandler(i);e.touchObject={};e.$slider.trigger("swipe",[e,n])}}else{if(e.touchObject.startX!==e.touchObject.curX){e.slideHandler(e.currentSlide);e.touchObject={}}}};e.prototype.swipeHandler=function(t){var e=this;if(e.options.swipe===false||"ontouchend"in document&&e.options.swipe===false){return}else if(e.options.draggable===false&&t.type.indexOf("mouse")!==-1){return}e.touchObject.fingerCount=t.originalEvent&&t.originalEvent.touches!==undefined?t.originalEvent.touches.length:1;e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold;if(e.options.verticalSwiping===true){e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold}switch(t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t);break}};e.prototype.swipeMove=function(t){var e=this,i,n,r,s,o,a;o=t.originalEvent!==undefined?t.originalEvent.touches:null;if(!e.dragging||e.scrolling||o&&o.length!==1){return false}i=e.getLeft(e.currentSlide);e.touchObject.curX=o!==undefined?o[0].pageX:t.clientX;e.touchObject.curY=o!==undefined?o[0].pageY:t.clientY;e.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(e.touchObject.curX-e.touchObject.startX,2)));a=Math.round(Math.sqrt(Math.pow(e.touchObject.curY-e.touchObject.startY,2)));if(!e.options.verticalSwiping&&!e.swiping&&a>4){e.scrolling=true;return false}if(e.options.verticalSwiping===true){e.touchObject.swipeLength=a}n=e.swipeDirection();if(t.originalEvent!==undefined&&e.touchObject.swipeLength>4){e.swiping=true;t.preventDefault()}s=(e.options.rtl===false?1:-1)*(e.touchObject.curX>e.touchObject.startX?1:-1);if(e.options.verticalSwiping===true){s=e.touchObject.curY>e.touchObject.startY?1:-1}r=e.touchObject.swipeLength;e.touchObject.edgeHit=false;if(e.options.infinite===false){if(e.currentSlide===0&&n==="right"||e.currentSlide>=e.getDotCount()&&n==="left"){r=e.touchObject.swipeLength*e.options.edgeFriction;e.touchObject.edgeHit=true}}if(e.options.vertical===false){e.swipeLeft=i+r*s}else{e.swipeLeft=i+r*(e.$list.height()/e.listWidth)*s}if(e.options.verticalSwiping===true){e.swipeLeft=i+r*s}if(e.options.fade===true||e.options.touchMove===false){return false}if(e.animating===true){e.swipeLeft=null;return false}e.setCSS(e.swipeLeft)};e.prototype.swipeStart=function(t){var e=this,i;e.interrupted=true;if(e.touchObject.fingerCount!==1||e.slideCount<=e.options.slidesToShow){e.touchObject={};return false}if(t.originalEvent!==undefined&&t.originalEvent.touches!==undefined){i=t.originalEvent.touches[0]}e.touchObject.startX=e.touchObject.curX=i!==undefined?i.pageX:t.clientX;e.touchObject.startY=e.touchObject.curY=i!==undefined?i.pageY:t.clientY;e.dragging=true};e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;if(t.$slidesCache!==null){t.unload();t.$slideTrack.children(this.options.slide).detach();t.$slidesCache.appendTo(t.$slideTrack);t.reinit()}};e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove();if(e.$dots){e.$dots.remove()}if(e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.remove()}if(e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.remove()}e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]);e.destroy()};e.prototype.updateArrows=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow&&!t.options.infinite){t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false");t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false");if(t.currentSlide===0){t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(t.currentSlide>=t.slideCount-t.options.slidesToShow&&t.options.centerMode===false){t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(t.currentSlide>=t.slideCount-1&&t.options.centerMode===true){t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}}};e.prototype.updateDots=function(){var t=this;if(t.$dots!==null){t.$dots.find("li").removeClass("slick-active").end();t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active")}};e.prototype.visibility=function(){var t=this;if(t.options.autoplay){if(document[t.hidden]){t.interrupted=true}else{t.interrupted=false}}};t.fn.slick=function(){var t=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),r=t.length,s,o;for(s=0;s<r;s++){if(typeof i=="object"||typeof i=="undefined")t[s].slick=new e(t[s],i);else o=t[s].slick[i].apply(t[s].slick,n);if(typeof o!="undefined")return o}return t}}))}));const u="";const l=class{constructor(e){t(this,e);this.content=undefined}componentDidLoad(){const t=c(".album-full-content");const e=c(".album-preview-content");t.slick({lazyLoad:"progressive",autoplay:true,autoplaySpeed:6e3,fade:true,asNavFor:e,arrows:false,rows:0});e.slick({lazyLoad:"ondemand",slidesToShow:Math.min(7,this.content.album.images.length),slidesToScroll:1,infinite:true,arrows:false,centerMode:true,centerPadding:"0",focusOnSelect:true,asNavFor:t,responsive:[{breakpoint:1024,settings:{slidesToShow:7}},{breakpoint:768,settings:{slidesToShow:5}},{breakpoint:378,settings:{slidesToShow:3}}],rows:0})}render(){return e("div",{class:"card border-0"},e("div",{class:"card-body"},e("div",{class:"album-full-content mb-3"},this.content.album.images.sort(((t,e)=>{var i,n;return((i=t.order)!==null&&i!==void 0?i:0)-((n=e.order)!==null&&n!==void 0?n:0)})).map((t=>{var i;return e("div",{class:"album-full-content-item"},e("div",{class:"ratio ratio-4x3 mx-auto",style:{"max-width":"50%"}},e("img",{class:"object-fit-cover h-100","data-lazy":(i=t.optimizedImage)!==null&&i!==void 0?i:t.url})))}))),e("div",{class:"album-preview-content"},this.content.album.images.sort(((t,e)=>{var i,n;return((i=t.order)!==null&&i!==void 0?i:0)-((n=e.order)!==null&&n!==void 0?n:0)})).map((t=>{var i;return e("div",{class:"album-preview-content-item"},e("div",{class:"ratio ratio-1x1 mx-auto",style:{"max-width":"90%"}},e("img",{class:"object-fit-cover h-100","data-lazy":(i=t.optimizedImage)!==null&&i!==void 0?i:t.url})))})))))}};l.style=u;var f;(function(t){t["BULLET"]="BULLET";t["TEXT"]="TEXT";t["VIDEO"]="VIDEO";t["TABLE"]="TABLE";t["HEADING"]="HEADING";t["TITLE"]="TITLE";t["CONTENT_CARD"]="CONTENT_CARD";t["TESTIMONIAL"]="TESTIMONIAL";t["PRODUCT"]="PRODUCT";t["NEWS"]="NEWS";t["ASKING"]="ASKING";t["AGENDA"]="AGENDA";t["LIST_ASKING"]="LIST_ASKING";t["LIST_AGENDA"]="LIST_AGENDA";t["CRM"]="CRM";t["B2B"]="B2B";t["FORM_BUILDER"]="FORM_BUILDER";t["BLOCK_QUOTE"]="BLOCK_QUOTE";t["FAQ"]="FAQ";t["COURSE"]="COURSE";t["DOCUMENT"]="DOCUMENT";t["LINK"]="LINK";t["HTML"]="HTML";t["DIVIDER"]="DIVIDER";t["COLLECTION"]="COLLECTION";t["CAROUSEL"]="CAROUSEL";t["PAGE"]="PAGE";t["ALBUM"]="ALBUM";t["UPLOAD"]="UPLOAD"})(f||(f={}));const h=({condition:t},e)=>t&&e&&e.length>0?e:[];const d=t=>{const e=new Headers;e.append("Accept","application/vnd.api+json");e.append("Authorization",`Bearer ${t}`);return e};const p=(t,e,i,n)=>new Request(new URL(`${e}?${i.toString()}`,t.baseApi),{headers:d(t.bearerToken),signal:n});function v(t,e,i){for(const n of i){t.append(e,n)}}async function g(t,e,i,n,r=[],s=[],o=[],a=[]){const c=new URLSearchParams;c.set("page[number]",String(e));c.set("page[size]",String(i));c.set("sort","-publishDate");c.set("filter[isActive]","1");c.set("filter[excludeTag][]","Eisnull");v(c,"filter[channel][]",r);v(c,"filter[sellerIds][]",s);v(c,"filter[brandId][]",o);v(c,"filter[newsLanguage][]",a);const u=p(t,"news",c,n);const l=await fetch(u);return await l.json()}async function m(t,e,i,n,r=[],s=[],o=[],a=[]){const c=new URLSearchParams;c.set("page[number]",String(e));c.set("page[size]",String(i));c.set("sort","-publishDate");c.set("filter[isActive]","1");c.set("filter[isSpecialArticle]","1");c.set("filter[isLightVersion]","true");c.set("filter[excludeTag][]","Eisnull");v(c,"filter[channel][]",r);v(c,"filter[sellerIds][]",s);v(c,"filter[brandId][]",o);v(c,"filter[newsLanguage][]",a);const u=p(t,"news",c,n);const l=await fetch(u);return await l.json()}async function b(t,e,i){const n=p(t,`news/${e}`,new URLSearchParams,i);const r=await fetch(n);const s=await r.json();return s.data}async function w(t,e,i){const n=new URLSearchParams;n.set("filter[urlHandle]",e);const r=p(t,"news",n,i);const s=await fetch(r);const o=await s.json();return o.data[0]}function y(t){switch(t){case"extra-small":return"28%";case"small":return"40%";case"large":return"80%";case"extra large":return"100%";default:return"60%"}}function k(t){const e=/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#&?]*).*/;const i=t.match(e);if(i&&i[1].length==11){return`https://www.youtube.com/embed/${i[1]}`}return null}function x(t){if(!t||t===" "){return true}return false}function $(t){const e=[];for(const i of Object.entries(t)){if(i[1]){e.push(i[0])}}return e.join(" ")}const A="";const _=class{constructor(e){t(this,e);this.dateOptions={day:"numeric",month:"long",year:"numeric"};this.article=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false}render(){var t,n;const r=(n=(t=this.article.attributes.newsCategory)===null||t===void 0?void 0:t.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;const s=new Date(this.article.attributes.publishDate);const o=this.article.attributes.contentBuilder.rows.sort(((t,e)=>t.order-e.order)).map(((t,e)=>this.mapRowContent(t,e)));return e(i,null,e("figure",null,e("blockquote",{class:"blockquote"},e("h2",{class:"text-uppercase"},this.article.attributes.name)),e(h,{condition:!this.hideDateAndAuthor},e("figcaption",{class:"blockquote-footer mb-1"},s.toLocaleDateString("en-US",this.dateOptions)," by ",e("cite",{title:"Author"},this.article.attributes.author))),e(h,{condition:!this.hideCategoryAndTags&&!x(r===null||r===void 0?void 0:r.webName)},e("span",{class:"badge bg-info text-dark"},r===null||r===void 0?void 0:r.webName))),e("div",{class:"content-wrapper"},o),e(h,{condition:!this.hideCategoryAndTags},this.article.attributes.newsTags.map((t=>{var i;const n=(i=t.translations.find((t=>t.locale===this.locale)))!==null&&i!==void 0?i:null;return e(h,{condition:!x(n===null||n===void 0?void 0:n.webName)},e("span",{class:"badge bg-light text-dark"},n.webName))}))))}mapRowContent(t,i){const n=t.columns.map(((t,e)=>this.mapColumnContent(t,e)));return e("div",{class:`content-row content-row-index-${i}`},n)}mapColumnContent(t,i){const n=t.contentContainer.contents.sort(((t,e)=>{var i,n;return((i=t.sort)!==null&&i!==void 0?i:0)-((n=e.sort)!==null&&n!==void 0?n:0)})).map(((t,e)=>this.mapContent(t,e)));return e("div",{class:`content-column content-column-index-${i}`},n)}mapContent(t,i){return e("div",{class:`content-data-wrapper content-data-wrapper-index-${i}`},this.mapContentData(t.type,t.contentData))}mapContentData(t,i){switch(t){case f.ALBUM:return e("aico-album-content",{content:i});case f.ASKING:return e("aico-asking-content",{content:i,locale:this.locale});case f.BLOCK_QUOTE:return e("aico-block-quote-content",{content:i,locale:this.locale});case f.BULLET:return e("aico-bullet-content",{content:i,locale:this.locale});case f.CAROUSEL:return e("aico-carousel-content",{content:i,locale:this.locale});case f.CONTENT_CARD:return e("aico-content-card-content",{content:i,locale:this.locale});case f.DIVIDER:return e("aico-divider-content",{content:i,locale:this.locale});case f.DOCUMENT:return e("aico-document-content",{content:i,locale:this.locale});case f.FAQ:return e("aico-faq-content",{content:i,locale:this.locale});case f.HEADING:return e("aico-heading-content",{content:i,locale:this.locale});case f.HTML:return e("aico-html-content",{content:i,locale:this.locale});case f.LINK:return e("aico-link-content",{content:i,locale:this.locale});case f.NEWS:return e("aico-news-content",{content:i});case f.PAGE:return e("aico-page-content",{content:i,locale:this.locale});case f.TABLE:return e("aico-table-content",{content:i,locale:this.locale});case f.TESTIMONIAL:return e("aico-testimonial-content",{content:i});case f.TEXT:return e("aico-text-content",{content:i,locale:this.locale});case f.TITLE:return e("aico-title-content",{content:i,locale:this.locale});case f.UPLOAD:return e("aico-upload-content",{content:i,locale:this.locale});case f.VIDEO:return e("aico-video-content",{content:i,locale:this.locale});case f.PRODUCT:case f.AGENDA:case f.LIST_ASKING:case f.LIST_AGENDA:case f.CRM:case f.B2B:case f.FORM_BUILDER:case f.COURSE:case f.COLLECTION:default:return e("div",{class:"content-data content-data-not-handled"},"Content type not handled.")}}};_.style=A;const j=".sc-aico-asking-content-h{display:block}.card.sc-aico-asking-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0, 0, 0, 0.125);border-radius:0.25rem}.card-img-top.sc-aico-asking-content{border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.card-body.sc-aico-asking-content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title.sc-aico-asking-content{margin-bottom:0.75rem}.team-table.sc-aico-asking-content,.more-details-table.sc-aico-asking-content{border:0;color:black;border-collapse:collapse}.more-details-table.sc-aico-asking-content th.sc-aico-asking-content{text-transform:uppercase}.more-details-table.sc-aico-asking-content{width:100%;text-align:left;margin-left:1%}.team-table.sc-aico-asking-content{width:100%;max-width:700px;margin:1rem 0}.more-details-table.sc-aico-asking-content tr.sc-aico-asking-content:nth-child(odd){background-color:#fafafa}";const T=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.asking.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e("div",{class:"card"},e("div",{class:"card-body"},e("div",{class:"card-text d-block"},e("h1",{class:"card-title"},"Asking"),e("table",{class:"team-table"},e("tbody",null,e("tr",{class:"agenda-event"},e("td",null,e("h3",null,this.content.asking.startsAt.toLocaleDateString())),e("td",null,`${this.content.asking.startTime.toLocaleDateString()} - ${(n=(i=this.content.asking.endTime)===null||i===void 0?void 0:i.toLocaleDateString())!==null&&n!==void 0?n:"N/A"}`),e("td",{style:{width:"49%"}},r===null||r===void 0?void 0:r.title)),e("tr",{class:"event-details"},e("td",{colSpan:3,style:{padding:"0"}},e("table",{class:"more-details-table"},e("tbody",null,e("tr",null,e("th",null,"Description"),e("td",null,this.content.asking.description)),e("tr",null,e("th",null,"Gathering"),e("td",null,this.content.asking.meetingPoint)),e("tr",null,e("th",null,"Place (Address)"),e("td",null,this.content.asking.location)),e("tr",null,e("th",null,"Asking for"),e("td",{style:{"white-space":"pre"}},this.content.asking.recipents)),e("tr",null,e("th",null,"Clothing / Equipment"),e("td",{style:{"white-space":"pre"}},this.content.asking.clothingEquipment)),e("tr",null,e("th",null,"Provisions"),e("td",null,this.content.asking.catering)),e("tr",null,e("th",null,"Coaching"),e("td",null,this.content.asking.coaching)))))))))))}};T.style=j;const E="";const M=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null},e("blockquote",{class:"blockquote",style:{"background-color":this.content.quotesColor}},e("p",{class:"mb-2",style:{color:this.content.textColor}},i.quoteText),e("footer",{class:"blockquote-footer ms-2",style:{color:this.content.authorColor}},i.quoteAuthorLine)))}};M.style=E;const O="";const C=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n=new Map;if(this.content.fontSize){n.set("font-size",this.content.fontSize)}if(this.content.fontFamily){n.set("font-family",this.content.fontFamily)}return e("div",{class:"content",style:Object.fromEntries(n)},e(h,{condition:i!==null},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("ul",null,this.content.bulletBullets.sort(((t,e)=>{var i,n;return((i=t.sort)!==null&&i!==void 0?i:0)-((n=e.sort)!==null&&n!==void 0?n:0)})).map((t=>{if(t.translations.length===0){return null}const i=t.translations.find((t=>t.locale===this.locale));if(x(i===null||i===void 0?void 0:i.text)){return null}return e("li",null,i===null||i===void 0?void 0:i.text)}))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",translations:[Object.assign({},t)]}}};C.style=O;const I="";const S=class{constructor(e){t(this,e);this.content=undefined;this.hasArrows=true;this.locale="de"}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,fade:true,dots:true,arrows:this.hasArrows,pauseOnDotsHover:true})}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e("div",{class:"carousel"},this.content.contentCarouselImages.sort(((t,e)=>t.order-e.order)).map((t=>{var i;const n=(i=t.translations.find((t=>t.locale===this.locale)))!==null&&i!==void 0?i:null;return e("div",{class:"carousel-item card text-bg-dark text-white"},e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img d-block object-fit-cover",alt:"Carousel Picture","data-lazy":n===null||n===void 0?void 0:n.picture})),e(h,{condition:t.translations.length>0&&!x(n===null||n===void 0?void 0:n.title)},e("div",{class:"card-img-overlay d-flex align-items-end"},e("h5",{class:"card-title text-uppercase"},n===null||n===void 0?void 0:n.title))))}))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};S.style=I;const D="";const L=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e("div",{class:"card",style:{width:"18rem"}},e(h,{condition:!x(this.content.picture)},e("img",{class:"card-img-top",alt:"Card picture",src:this.content.picture})),e("div",{class:"card-body"},e(h,{condition:!x(n===null||n===void 0?void 0:n.title)},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(this.content.link)},e("a",{class:"card-link",href:this.content.link,target:"_blank"},(i=n===null||n===void 0?void 0:n.linkText)!==null&&i!==void 0?i:"link"))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",translations:[Object.assign({},t)]}}};L.style=D;const z="";const N=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n?n.isOnlyMargin:this.content.isOnlyMargin;return e(i,null,r?e("div",{style:{"padding-top":"40px"}}):e("hr",{style:{margin:"5px"}}))}};N.style=z;const P=".sc-aico-document-content-h{--hover-button-color:unset}.button-link.sc-aico-document-content:hover{background-color:var(--hover-button-color)!important;opacity:0.85}";const R=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r={};const s={};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`;s["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){r["font-family"]=this.content.fontFamily;s["font-family"]=this.content.fontFamily}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonTextColor){s["color"]=this.content.buttonTextColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonBackgroundColor){s["background-color"]=this.content.buttonBackgroundColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonBorderColor){s["border-color"]=this.content.buttonBorderColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonHoverColor){s["--hover-button-color"]=this.content.buttonHoverColor}return e("div",{class:"card"},e(h,{condition:!x(n===null||n===void 0?void 0:n.picture)},e("img",{class:"card-img-top",alt:"image",src:n.picture})),e("div",{class:"card-body"},e(h,{condition:!x(this.content.link)},e("a",{class:"card-link",style:r,href:this.content.link},this.content.link)),e(h,{condition:!x(n===null||n===void 0?void 0:n.document)},e("a",{href:n.document,target:"_blank",style:s,class:`card-link align-middle ${this.content.isDocumentDisplayedAsButton?"btn button-link":""}`},e("i",null,e("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 50 50"},e("path",{d:"M 7 2 L 7 48 L 43 48 L 43 14.59375 L 42.71875 14.28125 L 30.71875 2.28125 L 30.40625 2 Z M 9 4 L 29 4 L 29 16 L 41 16 L 41 46 L 9 46 Z M 31 5.4375 L 39.5625 14 L 31 14 Z"}))),(i=n.title)!==null&&i!==void 0?i:"File"))))}};R.style=P;var B="top";var F="bottom";var H="right";var W="left";var U="auto";var q=[B,F,H,W];var G="start";var Z="end";var Q="clippingParents";var Y="viewport";var J="popper";var V="reference";var X=q.reduce((function(t,e){return t.concat([e+"-"+G,e+"-"+Z])}),[]);var K=[].concat(q,[U]).reduce((function(t,e){return t.concat([e,e+"-"+G,e+"-"+Z])}),[]);var tt="beforeRead";var et="read";var it="afterRead";var nt="beforeMain";var rt="main";var st="afterMain";var ot="beforeWrite";var at="write";var ct="afterWrite";var ut=[tt,et,it,nt,rt,st,ot,at,ct];function lt(t){return t?(t.nodeName||"").toLowerCase():null}function ft(t){if(t==null){return window}if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function ht(t){var e=ft(t).Element;return t instanceof e||t instanceof Element}function dt(t){var e=ft(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function pt(t){if(typeof ShadowRoot==="undefined"){return false}var e=ft(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function vt(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{};var n=e.attributes[t]||{};var r=e.elements[t];if(!dt(r)||!lt(r)){return}Object.assign(r.style,i);Object.keys(n).forEach((function(t){var e=n[t];if(e===false){r.removeAttribute(t)}else{r.setAttribute(t,e===true?"":e)}}))}))}function gt(t){var e=t.state;var i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper);e.styles=i;if(e.elements.arrow){Object.assign(e.elements.arrow.style,i.arrow)}return function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t];var r=e.attributes[t]||{};var s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]);var o=s.reduce((function(t,e){t[e]="";return t}),{});if(!dt(n)||!lt(n)){return}Object.assign(n.style,o);Object.keys(r).forEach((function(t){n.removeAttribute(t)}))}))}}const mt={name:"applyStyles",enabled:true,phase:"write",fn:vt,effect:gt,requires:["computeStyles"]};function bt(t){return t.split("-")[0]}var wt=Math.max;var yt=Math.min;var kt=Math.round;function xt(){var t=navigator.userAgentData;if(t!=null&&t.brands&&Array.isArray(t.brands)){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function $t(){return!/^((?!chrome|android).)*safari/i.test(xt())}function At(t,e,i){if(e===void 0){e=false}if(i===void 0){i=false}var n=t.getBoundingClientRect();var r=1;var s=1;if(e&&dt(t)){r=t.offsetWidth>0?kt(n.width)/t.offsetWidth||1:1;s=t.offsetHeight>0?kt(n.height)/t.offsetHeight||1:1}var o=ht(t)?ft(t):window,a=o.visualViewport;var c=!$t()&&i;var u=(n.left+(c&&a?a.offsetLeft:0))/r;var l=(n.top+(c&&a?a.offsetTop:0))/s;var f=n.width/r;var h=n.height/s;return{width:f,height:h,top:l,right:u+f,bottom:l+h,left:u,x:u,y:l}}function _t(t){var e=At(t);var i=t.offsetWidth;var n=t.offsetHeight;if(Math.abs(e.width-i)<=1){i=e.width}if(Math.abs(e.height-n)<=1){n=e.height}return{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function jt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e)){return true}else if(i&&pt(i)){var n=e;do{if(n&&t.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function Tt(t){return ft(t).getComputedStyle(t)}function Et(t){return["table","td","th"].indexOf(lt(t))>=0}function Mt(t){return((ht(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ot(t){if(lt(t)==="html"){return t}return t.assignedSlot||t.parentNode||(pt(t)?t.host:null)||Mt(t)}function Ct(t){if(!dt(t)||Tt(t).position==="fixed"){return null}return t.offsetParent}function It(t){var e=/firefox/i.test(xt());var i=/Trident/i.test(xt());if(i&&dt(t)){var n=Tt(t);if(n.position==="fixed"){return null}}var r=Ot(t);if(pt(r)){r=r.host}while(dt(r)&&["html","body"].indexOf(lt(r))<0){var s=Tt(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none"){return r}else{r=r.parentNode}}return null}function St(t){var e=ft(t);var i=Ct(t);while(i&&Et(i)&&Tt(i).position==="static"){i=Ct(i)}if(i&&(lt(i)==="html"||lt(i)==="body"&&Tt(i).position==="static")){return e}return i||It(t)||e}function Dt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Lt(t,e,i){return wt(t,yt(e,i))}function zt(t,e,i){var n=Lt(t,e,i);return n>i?i:n}function Nt(){return{top:0,right:0,bottom:0,left:0}}function Pt(t){return Object.assign({},Nt(),t)}function Rt(t,e){return e.reduce((function(e,i){e[i]=t;return e}),{})}var Bt=function t(e,i){e=typeof e==="function"?e(Object.assign({},i.rects,{placement:i.placement})):e;return Pt(typeof e!=="number"?e:Rt(e,q))};function Ft(t){var e;var i=t.state,n=t.name,r=t.options;var s=i.elements.arrow;var o=i.modifiersData.popperOffsets;var a=bt(i.placement);var c=Dt(a);var u=[W,H].indexOf(a)>=0;var l=u?"height":"width";if(!s||!o){return}var f=Bt(r.padding,i);var h=_t(s);var d=c==="y"?B:W;var p=c==="y"?F:H;var v=i.rects.reference[l]+i.rects.reference[c]-o[c]-i.rects.popper[l];var g=o[c]-i.rects.reference[c];var m=St(s);var b=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0;var w=v/2-g/2;var y=f[d];var k=b-h[l]-f[p];var x=b/2-h[l]/2+w;var $=Lt(y,x,k);var A=c;i.modifiersData[n]=(e={},e[A]=$,e.centerOffset=$-x,e)}function Ht(t){var e=t.state,i=t.options;var n=i.element,r=n===void 0?"[data-popper-arrow]":n;if(r==null){return}if(typeof r==="string"){r=e.elements.popper.querySelector(r);if(!r){return}}if(!jt(e.elements.popper,r)){return}e.elements.arrow=r}const Wt={name:"arrow",enabled:true,phase:"main",fn:Ft,effect:Ht,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ut(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gt(t,e){var i=t.x,n=t.y;var r=e.devicePixelRatio||1;return{x:kt(i*r)/r||0,y:kt(n*r)/r||0}}function Zt(t){var e;var i=t.popper,n=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,c=t.gpuAcceleration,u=t.adaptive,l=t.roundOffsets,f=t.isFixed;var h=o.x,d=h===void 0?0:h,p=o.y,v=p===void 0?0:p;var g=typeof l==="function"?l({x:d,y:v}):{x:d,y:v};d=g.x;v=g.y;var m=o.hasOwnProperty("x");var b=o.hasOwnProperty("y");var w=W;var y=B;var k=window;if(u){var x=St(i);var $="clientHeight";var A="clientWidth";if(x===ft(i)){x=Mt(i);if(Tt(x).position!=="static"&&a==="absolute"){$="scrollHeight";A="scrollWidth"}}x=x;if(r===B||(r===W||r===H)&&s===Z){y=F;var _=f&&x===k&&k.visualViewport?k.visualViewport.height:x[$];v-=_-n.height;v*=c?1:-1}if(r===W||(r===B||r===F)&&s===Z){w=H;var j=f&&x===k&&k.visualViewport?k.visualViewport.width:x[A];d-=j-n.width;d*=c?1:-1}}var T=Object.assign({position:a},u&&qt);var E=l===true?Gt({x:d,y:v},ft(i)):{x:d,y:v};d=E.x;v=E.y;if(c){var M;return Object.assign({},T,(M={},M[y]=b?"0":"",M[w]=m?"0":"",M.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",M))}return Object.assign({},T,(e={},e[y]=b?v+"px":"",e[w]=m?d+"px":"",e.transform="",e))}function Qt(t){var e=t.state,i=t.options;var n=i.gpuAcceleration,r=n===void 0?true:n,s=i.adaptive,o=s===void 0?true:s,a=i.roundOffsets,c=a===void 0?true:a;var u={placement:bt(e.placement),variation:Ut(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};if(e.modifiersData.popperOffsets!=null){e.styles.popper=Object.assign({},e.styles.popper,Zt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))}if(e.modifiersData.arrow!=null){e.styles.arrow=Object.assign({},e.styles.arrow,Zt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:c})))}e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Yt={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:Qt,data:{}};var Jt={passive:true};function Vt(t){var e=t.state,i=t.instance,n=t.options;var r=n.scroll,s=r===void 0?true:r,o=n.resize,a=o===void 0?true:o;var c=ft(e.elements.popper);var u=[].concat(e.scrollParents.reference,e.scrollParents.popper);if(s){u.forEach((function(t){t.addEventListener("scroll",i.update,Jt)}))}if(a){c.addEventListener("resize",i.update,Jt)}return function(){if(s){u.forEach((function(t){t.removeEventListener("scroll",i.update,Jt)}))}if(a){c.removeEventListener("resize",i.update,Jt)}}}const Xt={name:"eventListeners",enabled:true,phase:"write",fn:function t(){},effect:Vt,data:{}};var Kt={left:"right",right:"left",bottom:"top",top:"bottom"};function te(t){return t.replace(/left|right|bottom|top/g,(function(t){return Kt[t]}))}var ee={start:"end",end:"start"};function ie(t){return t.replace(/start|end/g,(function(t){return ee[t]}))}function ne(t){var e=ft(t);var i=e.pageXOffset;var n=e.pageYOffset;return{scrollLeft:i,scrollTop:n}}function re(t){return At(Mt(t)).left+ne(t).scrollLeft}function se(t,e){var i=ft(t);var n=Mt(t);var r=i.visualViewport;var s=n.clientWidth;var o=n.clientHeight;var a=0;var c=0;if(r){s=r.width;o=r.height;var u=$t();if(u||!u&&e==="fixed"){a=r.offsetLeft;c=r.offsetTop}}return{width:s,height:o,x:a+re(t),y:c}}function oe(t){var e;var i=Mt(t);var n=ne(t);var r=(e=t.ownerDocument)==null?void 0:e.body;var s=wt(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0);var o=wt(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);var a=-n.scrollLeft+re(t);var c=-n.scrollTop;if(Tt(r||i).direction==="rtl"){a+=wt(i.clientWidth,r?r.clientWidth:0)-s}return{width:s,height:o,x:a,y:c}}function ae(t){var e=Tt(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ce(t){if(["html","body","#document"].indexOf(lt(t))>=0){return t.ownerDocument.body}if(dt(t)&&ae(t)){return t}return ce(Ot(t))}function ue(t,e){var i;if(e===void 0){e=[]}var n=ce(t);var r=n===((i=t.ownerDocument)==null?void 0:i.body);var s=ft(n);var o=r?[s].concat(s.visualViewport||[],ae(n)?n:[]):n;var a=e.concat(o);return r?a:a.concat(ue(Ot(o)))}function le(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function fe(t,e){var i=At(t,false,e==="fixed");i.top=i.top+t.clientTop;i.left=i.left+t.clientLeft;i.bottom=i.top+t.clientHeight;i.right=i.left+t.clientWidth;i.width=t.clientWidth;i.height=t.clientHeight;i.x=i.left;i.y=i.top;return i}function he(t,e,i){return e===Y?le(se(t,i)):ht(e)?fe(e,i):le(oe(Mt(t)))}function de(t){var e=ue(Ot(t));var i=["absolute","fixed"].indexOf(Tt(t).position)>=0;var n=i&&dt(t)?St(t):t;if(!ht(n)){return[]}return e.filter((function(t){return ht(t)&&jt(t,n)&&lt(t)!=="body"}))}function pe(t,e,i,n){var r=e==="clippingParents"?de(t):[].concat(e);var s=[].concat(r,[i]);var o=s[0];var a=s.reduce((function(e,i){var r=he(t,i,n);e.top=wt(r.top,e.top);e.right=yt(r.right,e.right);e.bottom=yt(r.bottom,e.bottom);e.left=wt(r.left,e.left);return e}),he(t,o,n));a.width=a.right-a.left;a.height=a.bottom-a.top;a.x=a.left;a.y=a.top;return a}function ve(t){var e=t.reference,i=t.element,n=t.placement;var r=n?bt(n):null;var s=n?Ut(n):null;var o=e.x+e.width/2-i.width/2;var a=e.y+e.height/2-i.height/2;var c;switch(r){case B:c={x:o,y:e.y-i.height};break;case F:c={x:o,y:e.y+e.height};break;case H:c={x:e.x+e.width,y:a};break;case W:c={x:e.x-i.width,y:a};break;default:c={x:e.x,y:e.y}}var u=r?Dt(r):null;if(u!=null){var l=u==="y"?"height":"width";switch(s){case G:c[u]=c[u]-(e[l]/2-i[l]/2);break;case Z:c[u]=c[u]+(e[l]/2-i[l]/2);break}}return c}function ge(t,e){if(e===void 0){e={}}var i=e,n=i.placement,r=n===void 0?t.placement:n,s=i.strategy,o=s===void 0?t.strategy:s,a=i.boundary,c=a===void 0?Q:a,u=i.rootBoundary,l=u===void 0?Y:u,f=i.elementContext,h=f===void 0?J:f,d=i.altBoundary,p=d===void 0?false:d,v=i.padding,g=v===void 0?0:v;var m=Pt(typeof g!=="number"?g:Rt(g,q));var b=h===J?V:J;var w=t.rects.popper;var y=t.elements[p?b:h];var k=pe(ht(y)?y:y.contextElement||Mt(t.elements.popper),c,l,o);var x=At(t.elements.reference);var $=ve({reference:x,element:w,strategy:"absolute",placement:r});var A=le(Object.assign({},w,$));var _=h===J?A:x;var j={top:k.top-_.top+m.top,bottom:_.bottom-k.bottom+m.bottom,left:k.left-_.left+m.left,right:_.right-k.right+m.right};var T=t.modifiersData.offset;if(h===J&&T){var E=T[r];Object.keys(j).forEach((function(t){var e=[H,F].indexOf(t)>=0?1:-1;var i=[B,F].indexOf(t)>=0?"y":"x";j[t]+=E[i]*e}))}return j}function me(t,e){if(e===void 0){e={}}var i=e,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,u=c===void 0?K:c;var l=Ut(n);var f=l?a?X:X.filter((function(t){return Ut(t)===l})):q;var h=f.filter((function(t){return u.indexOf(t)>=0}));if(h.length===0){h=f}var d=h.reduce((function(e,i){e[i]=ge(t,{placement:i,boundary:r,rootBoundary:s,padding:o})[bt(i)];return e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}function be(t){if(bt(t)===U){return[]}var e=te(t);return[ie(t),e,ie(e)]}function we(t){var e=t.state,i=t.options,n=t.name;if(e.modifiersData[n]._skip){return}var r=i.mainAxis,s=r===void 0?true:r,o=i.altAxis,a=o===void 0?true:o,c=i.fallbackPlacements,u=i.padding,l=i.boundary,f=i.rootBoundary,h=i.altBoundary,d=i.flipVariations,p=d===void 0?true:d,v=i.allowedAutoPlacements;var g=e.options.placement;var m=bt(g);var b=m===g;var w=c||(b||!p?[te(g)]:be(g));var y=[g].concat(w).reduce((function(t,i){return t.concat(bt(i)===U?me(e,{placement:i,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):i)}),[]);var k=e.rects.reference;var x=e.rects.popper;var $=new Map;var A=true;var _=y[0];for(var j=0;j<y.length;j++){var T=y[j];var E=bt(T);var M=Ut(T)===G;var O=[B,F].indexOf(E)>=0;var C=O?"width":"height";var I=ge(e,{placement:T,boundary:l,rootBoundary:f,altBoundary:h,padding:u});var S=O?M?H:W:M?F:B;if(k[C]>x[C]){S=te(S)}var D=te(S);var L=[];if(s){L.push(I[E]<=0)}if(a){L.push(I[S]<=0,I[D]<=0)}if(L.every((function(t){return t}))){_=T;A=false;break}$.set(T,L)}if(A){var z=p?3:1;var N=function t(e){var i=y.find((function(t){var i=$.get(t);if(i){return i.slice(0,e).every((function(t){return t}))}}));if(i){_=i;return"break"}};for(var P=z;P>0;P--){var R=N(P);if(R==="break")break}}if(e.placement!==_){e.modifiersData[n]._skip=true;e.placement=_;e.reset=true}}const ye={name:"flip",enabled:true,phase:"main",fn:we,requiresIfExists:["offset"],data:{_skip:false}};function ke(t,e,i){if(i===void 0){i={x:0,y:0}}return{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function xe(t){return[B,H,F,W].some((function(e){return t[e]>=0}))}function $e(t){var e=t.state,i=t.name;var n=e.rects.reference;var r=e.rects.popper;var s=e.modifiersData.preventOverflow;var o=ge(e,{elementContext:"reference"});var a=ge(e,{altBoundary:true});var c=ke(o,n);var u=ke(a,r,s);var l=xe(c);var f=xe(u);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f};e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}const Ae={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:$e};function _e(t,e,i){var n=bt(t);var r=[W,B].indexOf(n)>=0?-1:1;var s=typeof i==="function"?i(Object.assign({},e,{placement:t})):i,o=s[0],a=s[1];o=o||0;a=(a||0)*r;return[W,H].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function je(t){var e=t.state,i=t.options,n=t.name;var r=i.offset,s=r===void 0?[0,0]:r;var o=K.reduce((function(t,i){t[i]=_e(i,e.rects,s);return t}),{});var a=o[e.placement],c=a.x,u=a.y;if(e.modifiersData.popperOffsets!=null){e.modifiersData.popperOffsets.x+=c;e.modifiersData.popperOffsets.y+=u}e.modifiersData[n]=o}const Te={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:je};function Ee(t){var e=t.state,i=t.name;e.modifiersData[i]=ve({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Me={name:"popperOffsets",enabled:true,phase:"read",fn:Ee,data:{}};function Oe(t){return t==="x"?"y":"x"}function Ce(t){var e=t.state,i=t.options,n=t.name;var r=i.mainAxis,s=r===void 0?true:r,o=i.altAxis,a=o===void 0?false:o,c=i.boundary,u=i.rootBoundary,l=i.altBoundary,f=i.padding,h=i.tether,d=h===void 0?true:h,p=i.tetherOffset,v=p===void 0?0:p;var g=ge(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l});var m=bt(e.placement);var b=Ut(e.placement);var w=!b;var y=Dt(m);var k=Oe(y);var x=e.modifiersData.popperOffsets;var $=e.rects.reference;var A=e.rects.popper;var _=typeof v==="function"?v(Object.assign({},e.rects,{placement:e.placement})):v;var j=typeof _==="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_);var T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null;var E={x:0,y:0};if(!x){return}if(s){var M;var O=y==="y"?B:W;var C=y==="y"?F:H;var I=y==="y"?"height":"width";var S=x[y];var D=S+g[O];var L=S-g[C];var z=d?-A[I]/2:0;var N=b===G?$[I]:A[I];var P=b===G?-A[I]:-$[I];var R=e.elements.arrow;var U=d&&R?_t(R):{width:0,height:0};var q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Nt();var Z=q[O];var Q=q[C];var Y=Lt(0,$[I],U[I]);var J=w?$[I]/2-z-Y-Z-j.mainAxis:N-Y-Z-j.mainAxis;var V=w?-$[I]/2+z+Y+Q+j.mainAxis:P+Y+Q+j.mainAxis;var X=e.elements.arrow&&St(e.elements.arrow);var K=X?y==="y"?X.clientTop||0:X.clientLeft||0:0;var tt=(M=T==null?void 0:T[y])!=null?M:0;var et=S+J-tt-K;var it=S+V-tt;var nt=Lt(d?yt(D,et):D,S,d?wt(L,it):L);x[y]=nt;E[y]=nt-S}if(a){var rt;var st=y==="x"?B:W;var ot=y==="x"?F:H;var at=x[k];var ct=k==="y"?"height":"width";var ut=at+g[st];var lt=at-g[ot];var ft=[B,W].indexOf(m)!==-1;var ht=(rt=T==null?void 0:T[k])!=null?rt:0;var dt=ft?ut:at-$[ct]-A[ct]-ht+j.altAxis;var pt=ft?at+$[ct]+A[ct]-ht-j.altAxis:lt;var vt=d&&ft?zt(dt,at,pt):Lt(d?dt:ut,at,d?pt:lt);x[k]=vt;E[k]=vt-at}e.modifiersData[n]=E}const Ie={name:"preventOverflow",enabled:true,phase:"main",fn:Ce,requiresIfExists:["offset"]};function Se(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function De(t){if(t===ft(t)||!dt(t)){return ne(t)}else{return Se(t)}}function Le(t){var e=t.getBoundingClientRect();var i=kt(e.width)/t.offsetWidth||1;var n=kt(e.height)/t.offsetHeight||1;return i!==1||n!==1}function ze(t,e,i){if(i===void 0){i=false}var n=dt(e);var r=dt(e)&&Le(e);var s=Mt(e);var o=At(t,r,i);var a={scrollLeft:0,scrollTop:0};var c={x:0,y:0};if(n||!n&&!i){if(lt(e)!=="body"||ae(s)){a=De(e)}if(dt(e)){c=At(e,true);c.x+=e.clientLeft;c.y+=e.clientTop}else if(s){c.x=re(s)}}return{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function Ne(t){var e=new Map;var i=new Set;var n=[];t.forEach((function(t){e.set(t.name,t)}));function r(t){i.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!i.has(t)){var n=e.get(t);if(n){r(n)}}}));n.push(t)}t.forEach((function(t){if(!i.has(t.name)){r(t)}}));return n}function Pe(t){var e=Ne(t);return ut.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}function Re(t){var e;return function(){if(!e){e=new Promise((function(i){Promise.resolve().then((function(){e=undefined;i(t())}))}))}return e}}function Be(t){var e=t.reduce((function(t,e){var i=t[e.name];t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e;return t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Fe={placement:"bottom",modifiers:[],strategy:"absolute"};function He(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++){e[i]=arguments[i]}return!e.some((function(t){return!(t&&typeof t.getBoundingClientRect==="function")}))}function We(t){if(t===void 0){t={}}var e=t,i=e.defaultModifiers,n=i===void 0?[]:i,r=e.defaultOptions,s=r===void 0?Fe:r;return function t(e,i,r){if(r===void 0){r=s}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Fe,s),modifiersData:{},elements:{reference:e,popper:i},attributes:{},styles:{}};var a=[];var c=false;var u={state:o,setOptions:function t(r){var a=typeof r==="function"?r(o.options):r;f();o.options=Object.assign({},s,o.options,a);o.scrollParents={reference:ht(e)?ue(e):e.contextElement?ue(e.contextElement):[],popper:ue(i)};var c=Pe(Be([].concat(n,o.options.modifiers)));o.orderedModifiers=c.filter((function(t){return t.enabled}));l();return u.update()},forceUpdate:function t(){if(c){return}var e=o.elements,i=e.reference,n=e.popper;if(!He(i,n)){return}o.rects={reference:ze(i,St(n),o.options.strategy==="fixed"),popper:_t(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(t){return o.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<o.orderedModifiers.length;r++){if(o.reset===true){o.reset=false;r=-1;continue}var s=o.orderedModifiers[r],a=s.fn,l=s.options,f=l===void 0?{}:l,h=s.name;if(typeof a==="function"){o=a({state:o,options:f,name:h,instance:u})||o}}},update:Re((function(){return new Promise((function(t){u.forceUpdate();t(o)}))})),destroy:function t(){f();c=true}};if(!He(e,i)){return u}u.setOptions(r).then((function(t){if(!c&&r.onFirstUpdate){r.onFirstUpdate(t)}}));function l(){o.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=i===void 0?{}:i,r=t.effect;if(typeof r==="function"){var s=r({state:o,name:e,instance:u,options:n});var c=function t(){};a.push(s||c)}}))}function f(){a.forEach((function(t){return t()}));a=[]}return u}}var Ue=We();var qe=[Xt,Me,Yt,mt];var Ge=We({defaultModifiers:qe});var Ze=[Xt,Me,Yt,mt,Te,ye,Ie,Wt,Ae];var Qe=We({defaultModifiers:Ze});const Ye=Object.freeze({__proto__:null,popperGenerator:We,detectOverflow:ge,createPopperBase:Ue,createPopper:Qe,createPopperLite:Ge,top:B,bottom:F,right:H,left:W,auto:U,basePlacements:q,start:G,end:Z,clippingParents:Q,viewport:Y,popper:J,reference:V,variationPlacements:X,placements:K,beforeRead:tt,read:et,afterRead:it,beforeMain:nt,main:rt,afterMain:st,beforeWrite:ot,write:at,afterWrite:ct,modifierPhases:ut,applyStyles:mt,arrow:Wt,computeStyles:Yt,eventListeners:Xt,flip:ye,hide:Ae,offset:Te,popperOffsets:Me,preventOverflow:Ie});
12
+ (function(e,i){{t.exports=e.document?i(e,true):function(t){if(!t.document){throw new Error("jQuery requires a window with a document")}return i(t)}}})(typeof window!=="undefined"?window:s,(function(t,e){var i=[];var n=Object.getPrototypeOf;var r=i.slice;var s=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)};var o=i.push;var a=i.indexOf;var c={};var u=c.toString;var l=c.hasOwnProperty;var f=l.toString;var h=f.call(Object);var d={};var p=function t(e){return typeof e==="function"&&typeof e.nodeType!=="number"&&typeof e.item!=="function"};var v=function t(e){return e!=null&&e===e.window};var g=t.document;var m={type:true,src:true,nonce:true,noModule:true};function b(t,e,i){i=i||g;var n,r,s=i.createElement("script");s.text=t;if(e){for(n in m){r=e[n]||e.getAttribute&&e.getAttribute(n);if(r){s.setAttribute(n,r)}}}i.head.appendChild(s).parentNode.removeChild(s)}function w(t){if(t==null){return t+""}return typeof t==="object"||typeof t==="function"?c[u.call(t)]||"object":typeof t}var y="3.7.1",k=/HTML$/i,x=function(t,e){return new x.fn.init(t,e)};x.fn=x.prototype={jquery:y,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(t){if(t==null){return r.call(this)}return t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);e.prevObject=this;return e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:i.sort,splice:i.splice};x.extend=x.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,c=arguments.length,u=false;if(typeof o==="boolean"){u=o;o=arguments[a]||{};a++}if(typeof o!=="object"&&!p(o)){o={}}if(a===c){o=this;a--}for(;a<c;a++){if((t=arguments[a])!=null){for(e in t){n=t[e];if(e==="__proto__"||o===n){continue}if(u&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))){i=o[e];if(r&&!Array.isArray(i)){s=[]}else if(!r&&!x.isPlainObject(i)){s={}}else{s=i}r=false;o[e]=x.extend(u,s,n)}else if(n!==undefined){o[e]=n}}}}return o};x.extend({expando:"jQuery"+(y+Math.random()).replace(/\D/g,""),isReady:true,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;if(!t||u.call(t)!=="[object Object]"){return false}e=n(t);if(!e){return true}i=l.call(e,"constructor")&&e.constructor;return typeof i==="function"&&f.call(i)===h},isEmptyObject:function(t){var e;for(e in t){return false}return true},globalEval:function(t,e,i){b(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if($(t)){i=t.length;for(;n<i;n++){if(e.call(t[n],n,t[n])===false){break}}}else{for(n in t){if(e.call(t[n],n,t[n])===false){break}}}return t},text:function(t){var e,i="",n=0,r=t.nodeType;if(!r){while(e=t[n++]){i+=x.text(e)}}if(r===1||r===11){return t.textContent}if(r===9){return t.documentElement.textContent}if(r===3||r===4){return t.nodeValue}return i},makeArray:function(t,e){var i=e||[];if(t!=null){if($(Object(t))){x.merge(i,typeof t==="string"?[t]:t)}else{o.call(i,t)}}return i},inArray:function(t,e,i){return e==null?-1:a.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!k.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){var i=+e.length,n=0,r=t.length;for(;n<i;n++){t[r++]=e[n]}t.length=r;return t},grep:function(t,e,i){var n,r=[],s=0,o=t.length,a=!i;for(;s<o;s++){n=!e(t[s],s);if(n!==a){r.push(t[s])}}return r},map:function(t,e,i){var n,r,o=0,a=[];if($(t)){n=t.length;for(;o<n;o++){r=e(t[o],o,i);if(r!=null){a.push(r)}}}else{for(o in t){r=e(t[o],o,i);if(r!=null){a.push(r)}}}return s(a)},guid:1,support:d});if(typeof Symbol==="function"){x.fn[Symbol.iterator]=i[Symbol.iterator]}x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){c["[object "+e+"]"]=e.toLowerCase()}));function $(t){var e=!!t&&"length"in t&&t.length,i=w(t);if(p(t)||v(t)){return false}return i==="array"||e===0||typeof e==="number"&&e>0&&e-1 in t}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var _=i.pop;var j=i.sort;var T=i.splice;var E="[\\x20\\t\\r\\n\\f]";var M=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");x.contains=function(t,e){var i=e&&e.parentNode;return t===i||!!(i&&i.nodeType===1&&(t.contains?t.contains(i):t.compareDocumentPosition&&t.compareDocumentPosition(i)&16))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function C(t,e){if(e){if(t==="\0"){return"�"}return t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" "}return"\\"+t}x.escapeSelector=function(t){return(t+"").replace(O,C)};var I=g,S=o;(function(){var e,n,s,o,c,u=S,f,h,p,v,g,m=x.expando,b=0,w=0,y=et(),k=et(),$=et(),O=et(),C=function(t,e){if(t===e){c=true}return 0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|"+"loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+E+"*("+L+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+E+"*\\]",N=":("+L+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|"+".*"+")\\)|)",P=new RegExp(E+"+","g"),R=new RegExp("^"+E+"*,"+E+"*"),B=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),F=new RegExp(E+"|>"),H=new RegExp(N),W=new RegExp("^"+L+"$"),U={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),J=function(t,e){var i="0x"+t.slice(1)-65536;if(e){return e}return i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},V=function(){ut()},X=dt((function(t){return t.disabled===true&&A(t,"fieldset")}),{dir:"parentNode",next:"legend"});function K(){try{return f.activeElement}catch(t){}}try{u.apply(i=r.call(I.childNodes),I.childNodes)}catch(t){u={apply:function(t,e){S.apply(t,r.call(e))},call:function(t){S.apply(t,r.call(arguments,1))}}}function tt(t,e,i,n){var r,s,o,a,c,l,h,g=e&&e.ownerDocument,b=e?e.nodeType:9;i=i||[];if(typeof t!=="string"||!t||b!==1&&b!==9&&b!==11){return i}if(!n){ut(e);e=e||f;if(p){if(b!==11&&(c=Z.exec(t))){if(r=c[1]){if(b===9){if(o=e.getElementById(r)){if(o.id===r){u.call(i,o);return i}}else{return i}}else{if(g&&(o=g.getElementById(r))&&tt.contains(e,o)&&o.id===r){u.call(i,o);return i}}}else if(c[2]){u.apply(i,e.getElementsByTagName(t));return i}else if((r=c[3])&&e.getElementsByClassName){u.apply(i,e.getElementsByClassName(r));return i}}if(!O[t+" "]&&(!v||!v.test(t))){h=t;g=e;if(b===1&&(F.test(t)||B.test(t))){g=Q.test(t)&&ct(e.parentNode)||e;if(g!=e||!d.scope){if(a=e.getAttribute("id")){a=x.escapeSelector(a)}else{e.setAttribute("id",a=m)}}l=ft(t);s=l.length;while(s--){l[s]=(a?"#"+a:":scope")+" "+ht(l[s])}h=l.join(",")}try{u.apply(i,g.querySelectorAll(h));return i}catch(e){O(t,true)}finally{if(a===m){e.removeAttribute("id")}}}}}return kt(t.replace(M,"$1"),e,i,n)}function et(){var t=[];function e(i,r){if(t.push(i+" ")>n.cacheLength){delete e[t.shift()]}return e[i+" "]=r}return e}function it(t){t[m]=true;return t}function nt(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return false}finally{if(e.parentNode){e.parentNode.removeChild(e)}e=null}}function rt(t){return function(e){return A(e,"input")&&e.type===t}}function st(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function ot(t){return function(e){if("form"in e){if(e.parentNode&&e.disabled===false){if("label"in e){if("label"in e.parentNode){return e.parentNode.disabled===t}else{return e.disabled===t}}return e.isDisabled===t||e.isDisabled!==!t&&X(e)===t}return e.disabled===t}else if("label"in e){return e.disabled===t}return false}}function at(t){return it((function(e){e=+e;return it((function(i,n){var r,s=t([],i.length,e),o=s.length;while(o--){if(i[r=s[o]]){i[r]=!(n[r]=i[r])}}}))}))}function ct(t){return t&&typeof t.getElementsByTagName!=="undefined"&&t}function ut(t){var e,i=t?t.ownerDocument||t:I;if(i==f||i.nodeType!==9||!i.documentElement){return f}f=i;h=f.documentElement;p=!x.isXMLDoc(f);g=h.matches||h.webkitMatchesSelector||h.msMatchesSelector;if(h.msMatchesSelector&&I!=f&&(e=f.defaultView)&&e.top!==e){e.addEventListener("unload",V)}d.getById=nt((function(t){h.appendChild(t).id=x.expando;return!f.getElementsByName||!f.getElementsByName(x.expando).length}));d.disconnectedMatch=nt((function(t){return g.call(t,"*")}));d.scope=nt((function(){return f.querySelectorAll(":scope")}));d.cssHas=nt((function(){try{f.querySelector(":has(*,:jqfake)");return false}catch(t){return true}}));if(d.getById){n.filter.ID=function(t){var e=t.replace(Y,J);return function(t){return t.getAttribute("id")===e}};n.find.ID=function(t,e){if(typeof e.getElementById!=="undefined"&&p){var i=e.getElementById(t);return i?[i]:[]}}}else{n.filter.ID=function(t){var e=t.replace(Y,J);return function(t){var i=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return i&&i.value===e}};n.find.ID=function(t,e){if(typeof e.getElementById!=="undefined"&&p){var i,n,r,s=e.getElementById(t);if(s){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}r=e.getElementsByName(t);n=0;while(s=r[n++]){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}}}return[]}}}n.find.TAG=function(t,e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName(t)}else{return e.querySelectorAll(t)}};n.find.CLASS=function(t,e){if(typeof e.getElementsByClassName!=="undefined"&&p){return e.getElementsByClassName(t)}};v=[];nt((function(t){var e;h.appendChild(t).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a>"+"<select id='"+m+"-\r\\' disabled='disabled'>"+"<option selected=''></option></select>";if(!t.querySelectorAll("[selected]").length){v.push("\\["+E+"*(?:value|"+D+")")}if(!t.querySelectorAll("[id~="+m+"-]").length){v.push("~=")}if(!t.querySelectorAll("a#"+m+"+*").length){v.push(".#.+[+~]")}if(!t.querySelectorAll(":checked").length){v.push(":checked")}e=f.createElement("input");e.setAttribute("type","hidden");t.appendChild(e).setAttribute("name","D");h.appendChild(t).disabled=true;if(t.querySelectorAll(":disabled").length!==2){v.push(":enabled",":disabled")}e=f.createElement("input");e.setAttribute("name","");t.appendChild(e);if(!t.querySelectorAll("[name='']").length){v.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")}}));if(!d.cssHas){v.push(":has")}v=v.length&&new RegExp(v.join("|"));C=function(t,e){if(t===e){c=true;return 0}var i=!t.compareDocumentPosition-!e.compareDocumentPosition;if(i){return i}i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1;if(i&1||!d.sortDetached&&e.compareDocumentPosition(t)===i){if(t===f||t.ownerDocument==I&&tt.contains(I,t)){return-1}if(e===f||e.ownerDocument==I&&tt.contains(I,e)){return 1}return o?a.call(o,t)-a.call(o,e):0}return i&4?-1:1};return f}tt.matches=function(t,e){return tt(t,null,null,e)};tt.matchesSelector=function(t,e){ut(t);if(p&&!O[e+" "]&&(!v||!v.test(e))){try{var i=g.call(t,e);if(i||d.disconnectedMatch||t.document&&t.document.nodeType!==11){return i}}catch(t){O(e,true)}}return tt(e,f,null,[t]).length>0};tt.contains=function(t,e){if((t.ownerDocument||t)!=f){ut(t)}return x.contains(t,e)};tt.attr=function(t,e){if((t.ownerDocument||t)!=f){ut(t)}var i=n.attrHandle[e.toLowerCase()],r=i&&l.call(n.attrHandle,e.toLowerCase())?i(t,e,!p):undefined;if(r!==undefined){return r}return t.getAttribute(e)};tt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};x.uniqueSort=function(t){var e,i=[],n=0,s=0;c=!d.sortStable;o=!d.sortStable&&r.call(t,0);j.call(t,C);if(c){while(e=t[s++]){if(e===t[s]){n=i.push(s)}}while(n--){T.call(t,i[n],1)}}o=null;return t};x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(r.apply(this)))};n=x.expr={cacheLength:50,createPseudo:it,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){t[1]=t[1].replace(Y,J);t[3]=(t[3]||t[4]||t[5]||"").replace(Y,J);if(t[2]==="~="){t[3]=" "+t[3]+" "}return t.slice(0,4)},CHILD:function(t){t[1]=t[1].toLowerCase();if(t[1].slice(0,3)==="nth"){if(!t[3]){tt.error(t[0])}t[4]=+(t[4]?t[5]+(t[6]||1):2*(t[3]==="even"||t[3]==="odd"));t[5]=+(t[7]+t[8]||t[3]==="odd")}else if(t[3]){tt.error(t[0])}return t},PSEUDO:function(t){var e,i=!t[6]&&t[2];if(U.CHILD.test(t[0])){return null}if(t[3]){t[2]=t[4]||t[5]||""}else if(i&&H.test(i)&&(e=ft(i,true))&&(e=i.indexOf(")",i.length-e)-i.length)){t[0]=t[0].slice(0,e);t[2]=i.slice(0,e)}return t.slice(0,3)}},filter:{TAG:function(t){var e=t.replace(Y,J).toLowerCase();return t==="*"?function(){return true}:function(t){return A(t,e)}},CLASS:function(t){var e=y[t+" "];return e||(e=new RegExp("(^|"+E+")"+t+"("+E+"|$)"))&&y(t,(function(t){return e.test(typeof t.className==="string"&&t.className||typeof t.getAttribute!=="undefined"&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=tt.attr(n,t);if(r==null){return e==="!="}if(!e){return true}r+="";if(e==="="){return r===i}if(e==="!="){return r!==i}if(e==="^="){return i&&r.indexOf(i)===0}if(e==="*="){return i&&r.indexOf(i)>-1}if(e==="$="){return i&&r.slice(-i.length)===i}if(e==="~="){return(" "+r.replace(P," ")+" ").indexOf(i)>-1}if(e==="|="){return r===i||r.slice(0,i.length+1)===i+"-"}return false}},CHILD:function(t,e,i,n,r){var s=t.slice(0,3)!=="nth",o=t.slice(-4)!=="last",a=e==="of-type";return n===1&&r===0?function(t){return!!t.parentNode}:function(e,i,c){var u,l,f,h,d,p=s!==o?"nextSibling":"previousSibling",v=e.parentNode,g=a&&e.nodeName.toLowerCase(),w=!c&&!a,y=false;if(v){if(s){while(p){f=e;while(f=f[p]){if(a?A(f,g):f.nodeType===1){return false}}d=p=t==="only"&&!d&&"nextSibling"}return true}d=[o?v.firstChild:v.lastChild];if(o&&w){l=v[m]||(v[m]={});u=l[t]||[];h=u[0]===b&&u[1];y=h&&u[2];f=h&&v.childNodes[h];while(f=++h&&f&&f[p]||(y=h=0)||d.pop()){if(f.nodeType===1&&++y&&f===e){l[t]=[b,h,y];break}}}else{if(w){l=e[m]||(e[m]={});u=l[t]||[];h=u[0]===b&&u[1];y=h}if(y===false){while(f=++h&&f&&f[p]||(y=h=0)||d.pop()){if((a?A(f,g):f.nodeType===1)&&++y){if(w){l=f[m]||(f[m]={});l[t]=[b,y]}if(f===e){break}}}}}y-=r;return y===n||y%n===0&&y/n>=0}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||tt.error("unsupported pseudo: "+t);if(r[m]){return r(e)}if(r.length>1){i=[t,t,"",e];return n.setFilters.hasOwnProperty(t.toLowerCase())?it((function(t,i){var n,s=r(t,e),o=s.length;while(o--){n=a.call(t,s[o]);t[n]=!(i[n]=s[o])}})):function(t){return r(t,0,i)}}return r}},pseudos:{not:it((function(t){var e=[],i=[],n=yt(t.replace(M,"$1"));return n[m]?it((function(t,e,i,r){var s,o=n(t,null,r,[]),a=t.length;while(a--){if(s=o[a]){t[a]=!(e[a]=s)}}})):function(t,r,s){e[0]=t;n(e,null,s,i);e[0]=null;return!i.pop()}})),has:it((function(t){return function(e){return tt(t,e).length>0}})),contains:it((function(t){t=t.replace(Y,J);return function(e){return(e.textContent||x.text(e)).indexOf(t)>-1}})),lang:it((function(t){if(!W.test(t||"")){tt.error("unsupported lang: "+t)}t=t.replace(Y,J).toLowerCase();return function(e){var i;do{if(i=p?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang")){i=i.toLowerCase();return i===t||i.indexOf(t+"-")===0}}while((e=e.parentNode)&&e.nodeType===1);return false}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===K()&&f.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(false),disabled:ot(true),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.selected===true},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling){if(t.nodeType<6){return false}}return true},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return q.test(t.nodeName)},button:function(t){return A(t,"input")&&t.type==="button"||A(t,"button")},text:function(t){var e;return A(t,"input")&&t.type==="text"&&((e=t.getAttribute("type"))==null||e.toLowerCase()==="text")},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,i){return[i<0?i+e:i]})),even:at((function(t,e){var i=0;for(;i<e;i+=2){t.push(i)}return t})),odd:at((function(t,e){var i=1;for(;i<e;i+=2){t.push(i)}return t})),lt:at((function(t,e,i){var n;if(i<0){n=i+e}else if(i>e){n=e}else{n=i}for(;--n>=0;){t.push(n)}return t})),gt:at((function(t,e,i){var n=i<0?i+e:i;for(;++n<e;){t.push(n)}return t}))}};n.pseudos.nth=n.pseudos.eq;for(e in{radio:true,checkbox:true,file:true,password:true,image:true}){n.pseudos[e]=rt(e)}for(e in{submit:true,reset:true}){n.pseudos[e]=st(e)}function lt(){}lt.prototype=n.filters=n.pseudos;n.setFilters=new lt;function ft(t,e){var i,r,s,o,a,c,u,l=k[t+" "];if(l){return e?0:l.slice(0)}a=t;c=[];u=n.preFilter;while(a){if(!i||(r=R.exec(a))){if(r){a=a.slice(r[0].length)||a}c.push(s=[])}i=false;if(r=B.exec(a)){i=r.shift();s.push({value:i,type:r[0].replace(M," ")});a=a.slice(i.length)}for(o in n.filter){if((r=U[o].exec(a))&&(!u[o]||(r=u[o](r)))){i=r.shift();s.push({value:i,type:o,matches:r});a=a.slice(i.length)}}if(!i){break}}if(e){return a.length}return a?tt.error(t):k(t,c).slice(0)}function ht(t){var e=0,i=t.length,n="";for(;e<i;e++){n+=t[e].value}return n}function dt(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&s==="parentNode",a=w++;return e.first?function(e,i,r){while(e=e[n]){if(e.nodeType===1||o){return t(e,i,r)}}return false}:function(e,i,c){var u,l,f=[b,a];if(c){while(e=e[n]){if(e.nodeType===1||o){if(t(e,i,c)){return true}}}}else{while(e=e[n]){if(e.nodeType===1||o){l=e[m]||(e[m]={});if(r&&A(e,r)){e=e[n]||e}else if((u=l[s])&&u[0]===b&&u[1]===a){return f[2]=u[2]}else{l[s]=f;if(f[2]=t(e,i,c)){return true}}}}}return false}}function pt(t){return t.length>1?function(e,i,n){var r=t.length;while(r--){if(!t[r](e,i,n)){return false}}return true}:t[0]}function vt(t,e,i){var n=0,r=e.length;for(;n<r;n++){tt(t,e[n],i)}return i}function gt(t,e,i,n,r){var s,o=[],a=0,c=t.length,u=e!=null;for(;a<c;a++){if(s=t[a]){if(!i||i(s,n,r)){o.push(s);if(u){e.push(a)}}}}return o}function mt(t,e,i,n,r,s){if(n&&!n[m]){n=mt(n)}if(r&&!r[m]){r=mt(r,s)}return it((function(s,o,c,l){var f,h,d,p,v=[],g=[],m=o.length,b=s||vt(e||"*",c.nodeType?[c]:c,[]),w=t&&(s||!e)?gt(b,v,t,c,l):b;if(i){p=r||(s?t:m||n)?[]:o;i(w,p,c,l)}else{p=w}if(n){f=gt(p,g);n(f,[],c,l);h=f.length;while(h--){if(d=f[h]){p[g[h]]=!(w[g[h]]=d)}}}if(s){if(r||t){if(r){f=[];h=p.length;while(h--){if(d=p[h]){f.push(w[h]=d)}}r(null,p=[],f,l)}h=p.length;while(h--){if((d=p[h])&&(f=r?a.call(s,d):v[h])>-1){s[f]=!(o[f]=d)}}}}else{p=gt(p===o?p.splice(m,p.length):p);if(r){r(null,o,p,l)}else{u.apply(o,p)}}}))}function bt(t){var e,i,r,o=t.length,c=n.relative[t[0].type],u=c||n.relative[" "],l=c?1:0,f=dt((function(t){return t===e}),u,true),h=dt((function(t){return a.call(e,t)>-1}),u,true),d=[function(t,i,n){var r=!c&&(n||i!=s)||((e=i).nodeType?f(t,i,n):h(t,i,n));e=null;return r}];for(;l<o;l++){if(i=n.relative[t[l].type]){d=[dt(pt(d),i)]}else{i=n.filter[t[l].type].apply(null,t[l].matches);if(i[m]){r=++l;for(;r<o;r++){if(n.relative[t[r].type]){break}}return mt(l>1&&pt(d),l>1&&ht(t.slice(0,l-1).concat({value:t[l-2].type===" "?"*":""})).replace(M,"$1"),i,l<r&&bt(t.slice(l,r)),r<o&&bt(t=t.slice(r)),r<o&&ht(t))}d.push(i)}}return pt(d)}function wt(t,e){var i=e.length>0,r=t.length>0,o=function(o,a,c,l,h){var d,v,g,m=0,w="0",y=o&&[],k=[],$=s,A=o||r&&n.find.TAG("*",h),j=b+=$==null?1:Math.random()||.1,T=A.length;if(h){s=a==f||a||h}for(;w!==T&&(d=A[w])!=null;w++){if(r&&d){v=0;if(!a&&d.ownerDocument!=f){ut(d);c=!p}while(g=t[v++]){if(g(d,a||f,c)){u.call(l,d);break}}if(h){b=j}}if(i){if(d=!g&&d){m--}if(o){y.push(d)}}}m+=w;if(i&&w!==m){v=0;while(g=e[v++]){g(y,k,a,c)}if(o){if(m>0){while(w--){if(!(y[w]||k[w])){k[w]=_.call(l)}}}k=gt(k)}u.apply(l,k);if(h&&!o&&k.length>0&&m+e.length>1){x.uniqueSort(l)}}if(h){b=j;s=$}return y};return i?it(o):o}function yt(t,e){var i,n=[],r=[],s=$[t+" "];if(!s){if(!e){e=ft(t)}i=e.length;while(i--){s=bt(e[i]);if(s[m]){n.push(s)}else{r.push(s)}}s=$(t,wt(r,n));s.selector=t}return s}function kt(t,e,i,r){var s,o,a,c,l,f=typeof t==="function"&&t,h=!r&&ft(t=f.selector||t);i=i||[];if(h.length===1){o=h[0]=h[0].slice(0);if(o.length>2&&(a=o[0]).type==="ID"&&e.nodeType===9&&p&&n.relative[o[1].type]){e=(n.find.ID(a.matches[0].replace(Y,J),e)||[])[0];if(!e){return i}else if(f){e=e.parentNode}t=t.slice(o.shift().value.length)}s=U.needsContext.test(t)?0:o.length;while(s--){a=o[s];if(n.relative[c=a.type]){break}if(l=n.find[c]){if(r=l(a.matches[0].replace(Y,J),Q.test(o[0].type)&&ct(e.parentNode)||e)){o.splice(s,1);t=r.length&&ht(o);if(!t){u.apply(i,r);return i}break}}}}(f||yt(t,h))(r,e,!p,i,!e||Q.test(t)&&ct(e.parentNode)||e);return i}d.sortStable=m.split("").sort(C).join("")===m;ut();d.sortDetached=nt((function(t){return t.compareDocumentPosition(f.createElement("fieldset"))&1}));x.find=tt;x.expr[":"]=x.expr.pseudos;x.unique=x.uniqueSort;tt.compile=yt;tt.select=kt;tt.setDocument=ut;tt.tokenize=ft;tt.escape=x.escapeSelector;tt.getText=x.text;tt.isXML=x.isXMLDoc;tt.selectors=x.expr;tt.support=x.support;tt.uniqueSort=x.uniqueSort})();var D=function(t,e,i){var n=[],r=i!==undefined;while((t=t[e])&&t.nodeType!==9){if(t.nodeType===1){if(r&&x(t).is(i)){break}n.push(t)}}return n};var L=function(t,e){var i=[];for(;t;t=t.nextSibling){if(t.nodeType===1&&t!==e){i.push(t)}}return i};var z=x.expr.match.needsContext;var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,i){if(p(e)){return x.grep(t,(function(t,n){return!!e.call(t,n,t)!==i}))}if(e.nodeType){return x.grep(t,(function(t){return t===e!==i}))}if(typeof e!=="string"){return x.grep(t,(function(t){return a.call(e,t)>-1!==i}))}return x.filter(e,t,i)}x.filter=function(t,e,i){var n=e[0];if(i){t=":not("+t+")"}if(e.length===1&&n.nodeType===1){return x.find.matchesSelector(n,t)?[n]:[]}return x.find.matches(t,x.grep(e,(function(t){return t.nodeType===1})))};x.fn.extend({find:function(t){var e,i,n=this.length,r=this;if(typeof t!=="string"){return this.pushStack(x(t).filter((function(){for(e=0;e<n;e++){if(x.contains(r[e],this)){return true}}})))}i=this.pushStack([]);for(e=0;e<n;e++){x.find(t,r[e],i)}return n>1?x.uniqueSort(i):i},filter:function(t){return this.pushStack(P(this,t||[],false))},not:function(t){return this.pushStack(P(this,t||[],true))},is:function(t){return!!P(this,typeof t==="string"&&z.test(t)?x(t):t||[],false).length}});var R,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,F=x.fn.init=function(t,e,i){var n,r;if(!t){return this}i=i||R;if(typeof t==="string"){if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3){n=[null,t,null]}else{n=B.exec(t)}if(n&&(n[1]||!e)){if(n[1]){e=e instanceof x?e[0]:e;x.merge(this,x.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:g,true));if(N.test(n[1])&&x.isPlainObject(e)){for(n in e){if(p(this[n])){this[n](e[n])}else{this.attr(n,e[n])}}}return this}else{r=g.getElementById(n[2]);if(r){this[0]=r;this.length=1}return this}}else if(!e||e.jquery){return(e||i).find(t)}else{return this.constructor(e).find(t)}}else if(t.nodeType){this[0]=t;this.length=1;return this}else if(p(t)){return i.ready!==undefined?i.ready(t):t(x)}return x.makeArray(t,this)};F.prototype=x.fn;R=x(g);var H=/^(?:parents|prev(?:Until|All))/,W={children:true,contents:true,next:true,prev:true};x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter((function(){var t=0;for(;t<i;t++){if(x.contains(this,e[t])){return true}}}))},closest:function(t,e){var i,n=0,r=this.length,s=[],o=typeof t!=="string"&&x(t);if(!z.test(t)){for(;n<r;n++){for(i=this[n];i&&i!==e;i=i.parentNode){if(i.nodeType<11&&(o?o.index(i)>-1:i.nodeType===1&&x.find.matchesSelector(i,t))){s.push(i);break}}}}return this.pushStack(s.length>1?x.uniqueSort(s):s)},index:function(t){if(!t){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof t==="string"){return a.call(x(t),this[0])}return a.call(this,t.jquery?t[0]:t)},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}});function U(t,e){while((t=t[e])&&t.nodeType!==1){}return t}x.each({parent:function(t){var e=t.parentNode;return e&&e.nodeType!==11?e:null},parents:function(t){return D(t,"parentNode")},parentsUntil:function(t,e,i){return D(t,"parentNode",i)},next:function(t){return U(t,"nextSibling")},prev:function(t){return U(t,"previousSibling")},nextAll:function(t){return D(t,"nextSibling")},prevAll:function(t){return D(t,"previousSibling")},nextUntil:function(t,e,i){return D(t,"nextSibling",i)},prevUntil:function(t,e,i){return D(t,"previousSibling",i)},siblings:function(t){return L((t.parentNode||{}).firstChild,t)},children:function(t){return L(t.firstChild)},contents:function(t){if(t.contentDocument!=null&&n(t.contentDocument)){return t.contentDocument}if(A(t,"template")){t=t.content||t}return x.merge([],t.childNodes)}},(function(t,e){x.fn[t]=function(i,n){var r=x.map(this,e,i);if(t.slice(-5)!=="Until"){n=i}if(n&&typeof n==="string"){r=x.filter(n,r)}if(this.length>1){if(!W[t]){x.uniqueSort(r)}if(H.test(t)){r.reverse()}}return this.pushStack(r)}}));var q=/[^\x20\t\r\n\f]+/g;function G(t){var e={};x.each(t.match(q)||[],(function(t,i){e[i]=true}));return e}x.Callbacks=function(t){t=typeof t==="string"?G(t):x.extend({},t);var e,i,n,r,s=[],o=[],a=-1,c=function(){r=r||t.once;n=e=true;for(;o.length;a=-1){i=o.shift();while(++a<s.length){if(s[a].apply(i[0],i[1])===false&&t.stopOnFalse){a=s.length;i=false}}}if(!t.memory){i=false}e=false;if(r){if(i){s=[]}else{s=""}}},u={add:function(){if(s){if(i&&!e){a=s.length-1;o.push(i)}(function e(i){x.each(i,(function(i,n){if(p(n)){if(!t.unique||!u.has(n)){s.push(n)}}else if(n&&n.length&&w(n)!=="string"){e(n)}}))})(arguments);if(i&&!e){c()}}return this},remove:function(){x.each(arguments,(function(t,e){var i;while((i=x.inArray(e,s,i))>-1){s.splice(i,1);if(i<=a){a--}}}));return this},has:function(t){return t?x.inArray(t,s)>-1:s.length>0},empty:function(){if(s){s=[]}return this},disable:function(){r=o=[];s=i="";return this},disabled:function(){return!s},lock:function(){r=o=[];if(!i&&!e){s=i=""}return this},locked:function(){return!!r},fireWith:function(t,i){if(!r){i=i||[];i=[t,i.slice?i.slice():i];o.push(i);if(!e){c()}}return this},fire:function(){u.fireWith(this,arguments);return this},fired:function(){return!!n}};return u};function Z(t){return t}function Q(t){throw t}function Y(t,e,i,n){var r;try{if(t&&p(r=t.promise)){r.call(t).done(e).fail(i)}else if(t&&p(r=t.then)){r.call(t,e,i)}else{e.apply(undefined,[t].slice(n))}}catch(t){i.apply(undefined,[t])}}x.extend({Deferred:function(e){var i=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){s.done(arguments).fail(arguments);return this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return x.Deferred((function(e){x.each(i,(function(i,n){var r=p(t[n[4]])&&t[n[4]];s[n[1]]((function(){var t=r&&r.apply(this,arguments);if(t&&p(t.promise)){t.promise().progress(e.notify).done(e.resolve).fail(e.reject)}else{e[n[0]+"With"](this,r?[t]:arguments)}}))}));t=null})).promise()},then:function(e,n,r){var s=0;function o(e,i,n,r){return function(){var a=this,c=arguments,u=function(){var t,u;if(e<s){return}t=n.apply(a,c);if(t===i.promise()){throw new TypeError("Thenable self-resolution")}u=t&&(typeof t==="object"||typeof t==="function")&&t.then;if(p(u)){if(r){u.call(t,o(s,i,Z,r),o(s,i,Q,r))}else{s++;u.call(t,o(s,i,Z,r),o(s,i,Q,r),o(s,i,Z,i.notifyWith))}}else{if(n!==Z){a=undefined;c=[t]}(r||i.resolveWith)(a,c)}},l=r?u:function(){try{u()}catch(t){if(x.Deferred.exceptionHook){x.Deferred.exceptionHook(t,l.error)}if(e+1>=s){if(n!==Q){a=undefined;c=[t]}i.rejectWith(a,c)}}};if(e){l()}else{if(x.Deferred.getErrorHook){l.error=x.Deferred.getErrorHook()}else if(x.Deferred.getStackHook){l.error=x.Deferred.getStackHook()}t.setTimeout(l)}}}return x.Deferred((function(t){i[0][3].add(o(0,t,p(r)?r:Z,t.notifyWith));i[1][3].add(o(0,t,p(e)?e:Z));i[2][3].add(o(0,t,p(n)?n:Q))})).promise()},promise:function(t){return t!=null?x.extend(t,r):r}},s={};x.each(i,(function(t,e){var o=e[2],a=e[5];r[e[1]]=o.add;if(a){o.add((function(){n=a}),i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock)}o.add(e[3].fire);s[e[0]]=function(){s[e[0]+"With"](this===s?undefined:this,arguments);return this};s[e[0]+"With"]=o.fireWith}));r.promise(s);if(e){e.call(s,s)}return s},when:function(t){var e=arguments.length,i=e,n=Array(i),s=r.call(arguments),o=x.Deferred(),a=function(t){return function(i){n[t]=this;s[t]=arguments.length>1?r.call(arguments):i;if(! --e){o.resolveWith(n,s)}}};if(e<=1){Y(t,o.done(a(i)).resolve,o.reject,!e);if(o.state()==="pending"||p(s[i]&&s[i].then)){return o.then()}}while(i--){Y(s[i],a(i),o.reject)}return o.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,i){if(t.console&&t.console.warn&&e&&J.test(e.name)){t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)}};x.readyException=function(e){t.setTimeout((function(){throw e}))};var V=x.Deferred();x.fn.ready=function(t){V.then(t).catch((function(t){x.readyException(t)}));return this};x.extend({isReady:false,readyWait:1,ready:function(t){if(t===true?--x.readyWait:x.isReady){return}x.isReady=true;if(t!==true&&--x.readyWait>0){return}V.resolveWith(g,[x])}});x.ready.then=V.then;function X(){g.removeEventListener("DOMContentLoaded",X);t.removeEventListener("load",X);x.ready()}if(g.readyState==="complete"||g.readyState!=="loading"&&!g.documentElement.doScroll){t.setTimeout(x.ready)}else{g.addEventListener("DOMContentLoaded",X);t.addEventListener("load",X)}var K=function(t,e,i,n,r,s,o){var a=0,c=t.length,u=i==null;if(w(i)==="object"){r=true;for(a in i){K(t,e,a,i[a],true,s,o)}}else if(n!==undefined){r=true;if(!p(n)){o=true}if(u){if(o){e.call(t,n);e=null}else{u=e;e=function(t,e,i){return u.call(x(t),i)}}}if(e){for(;a<c;a++){e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)))}}}if(r){return t}if(u){return e.call(t)}return c?e(t[0],i):s};var tt=/^-ms-/,et=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function nt(t){return t.replace(tt,"ms-").replace(et,it)}var rt=function(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType};function st(){this.expando=x.expando+st.uid++}st.uid=1;st.prototype={cache:function(t){var e=t[this.expando];if(!e){e={};if(rt(t)){if(t.nodeType){t[this.expando]=e}else{Object.defineProperty(t,this.expando,{value:e,configurable:true})}}}return e},set:function(t,e,i){var n,r=this.cache(t);if(typeof e==="string"){r[nt(e)]=i}else{for(n in e){r[nt(n)]=e[n]}}return r},get:function(t,e){return e===undefined?this.cache(t):t[this.expando]&&t[this.expando][nt(e)]},access:function(t,e,i){if(e===undefined||e&&typeof e==="string"&&i===undefined){return this.get(t,e)}this.set(t,e,i);return i!==undefined?i:e},remove:function(t,e){var i,n=t[this.expando];if(n===undefined){return}if(e!==undefined){if(Array.isArray(e)){e=e.map(nt)}else{e=nt(e);e=e in n?[e]:e.match(q)||[]}i=e.length;while(i--){delete n[e[i]]}}if(e===undefined||x.isEmptyObject(n)){if(t.nodeType){t[this.expando]=undefined}else{delete t[this.expando]}}},hasData:function(t){var e=t[this.expando];return e!==undefined&&!x.isEmptyObject(e)}};var ot=new st;var at=new st;var ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ut=/[A-Z]/g;function lt(t){if(t==="true"){return true}if(t==="false"){return false}if(t==="null"){return null}if(t===+t+""){return+t}if(ct.test(t)){return JSON.parse(t)}return t}function ft(t,e,i){var n;if(i===undefined&&t.nodeType===1){n="data-"+e.replace(ut,"-$&").toLowerCase();i=t.getAttribute(n);if(typeof i==="string"){try{i=lt(i)}catch(t){}at.set(t,e,i)}else{i=undefined}}return i}x.extend({hasData:function(t){return at.hasData(t)||ot.hasData(t)},data:function(t,e,i){return at.access(t,e,i)},removeData:function(t,e){at.remove(t,e)},_data:function(t,e,i){return ot.access(t,e,i)},_removeData:function(t,e){ot.remove(t,e)}});x.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(t===undefined){if(this.length){r=at.get(s);if(s.nodeType===1&&!ot.get(s,"hasDataAttrs")){i=o.length;while(i--){if(o[i]){n=o[i].name;if(n.indexOf("data-")===0){n=nt(n.slice(5));ft(s,n,r[n])}}}ot.set(s,"hasDataAttrs",true)}}return r}if(typeof t==="object"){return this.each((function(){at.set(this,t)}))}return K(this,(function(e){var i;if(s&&e===undefined){i=at.get(s,t);if(i!==undefined){return i}i=ft(s,t);if(i!==undefined){return i}return}this.each((function(){at.set(this,t,e)}))}),null,e,arguments.length>1,null,true)},removeData:function(t){return this.each((function(){at.remove(this,t)}))}});x.extend({queue:function(t,e,i){var n;if(t){e=(e||"fx")+"queue";n=ot.get(t,e);if(i){if(!n||Array.isArray(i)){n=ot.access(t,e,x.makeArray(i))}else{n.push(i)}}return n||[]}},dequeue:function(t,e){e=e||"fx";var i=x.queue(t,e),n=i.length,r=i.shift(),s=x._queueHooks(t,e),o=function(){x.dequeue(t,e)};if(r==="inprogress"){r=i.shift();n--}if(r){if(e==="fx"){i.unshift("inprogress")}delete s.stop;r.call(t,o,s)}if(!n&&s){s.empty.fire()}},_queueHooks:function(t,e){var i=e+"queueHooks";return ot.get(t,i)||ot.access(t,i,{empty:x.Callbacks("once memory").add((function(){ot.remove(t,[e+"queue",i])}))})}});x.fn.extend({queue:function(t,e){var i=2;if(typeof t!=="string"){e=t;t="fx";i--}if(arguments.length<i){return x.queue(this[0],t)}return e===undefined?this:this.each((function(){var i=x.queue(this,t,e);x._queueHooks(this,t);if(t==="fx"&&i[0]!=="inprogress"){x.dequeue(this,t)}}))},dequeue:function(t){return this.each((function(){x.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=x.Deferred(),s=this,o=this.length,a=function(){if(! --n){r.resolveWith(s,[s])}};if(typeof t!=="string"){e=t;t=undefined}t=t||"fx";while(o--){i=ot.get(s[o],t+"queueHooks");if(i&&i.empty){n++;i.empty.add(a)}}a();return r.promise(e)}});var ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var dt=new RegExp("^(?:([+-])=|)("+ht+")([a-z%]*)$","i");var pt=["Top","Right","Bottom","Left"];var vt=g.documentElement;var gt=function(t){return x.contains(t.ownerDocument,t)},mt={composed:true};if(vt.getRootNode){gt=function(t){return x.contains(t.ownerDocument,t)||t.getRootNode(mt)===t.ownerDocument}}var bt=function(t,e){t=e||t;return t.style.display==="none"||t.style.display===""&&gt(t)&&x.css(t,"display")==="none"};function wt(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return x.css(t,e,"")},c=a(),u=i&&i[3]||(x.cssNumber[e]?"":"px"),l=t.nodeType&&(x.cssNumber[e]||u!=="px"&&+c)&&dt.exec(x.css(t,e));if(l&&l[3]!==u){c=c/2;u=u||l[3];l=+c||1;while(o--){x.style(t,e,l+u);if((1-s)*(1-(s=a()/c||.5))<=0){o=0}l=l/s}l=l*2;x.style(t,e,l+u);i=i||[]}if(i){l=+l||+c||0;r=i[1]?l+(i[1]+1)*i[2]:+i[2];if(n){n.unit=u;n.start=l;n.end=r}}return r}var yt={};function kt(t){var e,i=t.ownerDocument,n=t.nodeName,r=yt[n];if(r){return r}e=i.body.appendChild(i.createElement(n));r=x.css(e,"display");e.parentNode.removeChild(e);if(r==="none"){r="block"}yt[n]=r;return r}function xt(t,e){var i,n,r=[],s=0,o=t.length;for(;s<o;s++){n=t[s];if(!n.style){continue}i=n.style.display;if(e){if(i==="none"){r[s]=ot.get(n,"display")||null;if(!r[s]){n.style.display=""}}if(n.style.display===""&&bt(n)){r[s]=kt(n)}}else{if(i!=="none"){r[s]="none";ot.set(n,"display",i)}}}for(s=0;s<o;s++){if(r[s]!=null){t[s].style.display=r[s]}}return t}x.fn.extend({show:function(){return xt(this,true)},hide:function(){return xt(this)},toggle:function(t){if(typeof t==="boolean"){return t?this.show():this.hide()}return this.each((function(){if(bt(this)){x(this).show()}else{x(this).hide()}}))}});var $t=/^(?:checkbox|radio)$/i;var At=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var _t=/^$|^module$|\/(?:java|ecma)script/i;(function(){var t=g.createDocumentFragment(),e=t.appendChild(g.createElement("div")),i=g.createElement("input");i.setAttribute("type","radio");i.setAttribute("checked","checked");i.setAttribute("name","t");e.appendChild(i);d.checkClone=e.cloneNode(true).cloneNode(true).lastChild.checked;e.innerHTML="<textarea>x</textarea>";d.noCloneChecked=!!e.cloneNode(true).lastChild.defaultValue;e.innerHTML="<option></option>";d.option=!!e.lastChild})();var jt={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,"",""]};jt.tbody=jt.tfoot=jt.colgroup=jt.caption=jt.thead;jt.th=jt.td;if(!d.option){jt.optgroup=jt.option=[1,"<select multiple='multiple'>","</select>"]}function Tt(t,e){var i;if(typeof t.getElementsByTagName!=="undefined"){i=t.getElementsByTagName(e||"*")}else if(typeof t.querySelectorAll!=="undefined"){i=t.querySelectorAll(e||"*")}else{i=[]}if(e===undefined||e&&A(t,e)){return x.merge([t],i)}return i}function Et(t,e){var i=0,n=t.length;for(;i<n;i++){ot.set(t[i],"globalEval",!e||ot.get(e[i],"globalEval"))}}var Mt=/<|&#?\w+;/;function Ot(t,e,i,n,r){var s,o,a,c,u,l,f=e.createDocumentFragment(),h=[],d=0,p=t.length;for(;d<p;d++){s=t[d];if(s||s===0){if(w(s)==="object"){x.merge(h,s.nodeType?[s]:s)}else if(!Mt.test(s)){h.push(e.createTextNode(s))}else{o=o||f.appendChild(e.createElement("div"));a=(At.exec(s)||["",""])[1].toLowerCase();c=jt[a]||jt._default;o.innerHTML=c[1]+x.htmlPrefilter(s)+c[2];l=c[0];while(l--){o=o.lastChild}x.merge(h,o.childNodes);o=f.firstChild;o.textContent=""}}}f.textContent="";d=0;while(s=h[d++]){if(n&&x.inArray(s,n)>-1){if(r){r.push(s)}continue}u=gt(s);o=Tt(f.appendChild(s),"script");if(u){Et(o)}if(i){l=0;while(s=o[l++]){if(_t.test(s.type||"")){i.push(s)}}}}return f}var Ct=/^([^.]*)(?:\.(.+)|)/;function It(){return true}function St(){return false}function Dt(t,e,i,n,r,s){var o,a;if(typeof e==="object"){if(typeof i!=="string"){n=n||i;i=undefined}for(a in e){Dt(t,a,i,n,e[a],s)}return t}if(n==null&&r==null){r=i;n=i=undefined}else if(r==null){if(typeof i==="string"){r=n;n=undefined}else{r=n;n=i;i=undefined}}if(r===false){r=St}else if(!r){return t}if(s===1){o=r;r=function(t){x().off(t);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=x.guid++)}return t.each((function(){x.event.add(this,e,r,n,i)}))}x.event={global:{},add:function(t,e,i,n,r){var s,o,a,c,u,l,f,h,d,p,v,g=ot.get(t);if(!rt(t)){return}if(i.handler){s=i;i=s.handler;r=s.selector}if(r){x.find.matchesSelector(vt,r)}if(!i.guid){i.guid=x.guid++}if(!(c=g.events)){c=g.events=Object.create(null)}if(!(o=g.handle)){o=g.handle=function(e){return typeof x!=="undefined"&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):undefined}}e=(e||"").match(q)||[""];u=e.length;while(u--){a=Ct.exec(e[u])||[];d=v=a[1];p=(a[2]||"").split(".").sort();if(!d){continue}f=x.event.special[d]||{};d=(r?f.delegateType:f.bindType)||d;f=x.event.special[d]||{};l=x.extend({type:d,origType:v,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:p.join(".")},s);if(!(h=c[d])){h=c[d]=[];h.delegateCount=0;if(!f.setup||f.setup.call(t,n,p,o)===false){if(t.addEventListener){t.addEventListener(d,o)}}}if(f.add){f.add.call(t,l);if(!l.handler.guid){l.handler.guid=i.guid}}if(r){h.splice(h.delegateCount++,0,l)}else{h.push(l)}x.event.global[d]=true}},remove:function(t,e,i,n,r){var s,o,a,c,u,l,f,h,d,p,v,g=ot.hasData(t)&&ot.get(t);if(!g||!(c=g.events)){return}e=(e||"").match(q)||[""];u=e.length;while(u--){a=Ct.exec(e[u])||[];d=v=a[1];p=(a[2]||"").split(".").sort();if(!d){for(d in c){x.event.remove(t,d+e[u],i,n,true)}continue}f=x.event.special[d]||{};d=(n?f.delegateType:f.bindType)||d;h=c[d]||[];a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");o=s=h.length;while(s--){l=h[s];if((r||v===l.origType)&&(!i||i.guid===l.guid)&&(!a||a.test(l.namespace))&&(!n||n===l.selector||n==="**"&&l.selector)){h.splice(s,1);if(l.selector){h.delegateCount--}if(f.remove){f.remove.call(t,l)}}}if(o&&!h.length){if(!f.teardown||f.teardown.call(t,p,g.handle)===false){x.removeEvent(t,d,g.handle)}delete c[d]}}if(x.isEmptyObject(c)){ot.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),c=x.event.fix(t),u=(ot.get(this,"events")||Object.create(null))[c.type]||[],l=x.event.special[c.type]||{};a[0]=c;for(e=1;e<arguments.length;e++){a[e]=arguments[e]}c.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,c)===false){return}o=x.event.handlers.call(this,c,u);e=0;while((r=o[e++])&&!c.isPropagationStopped()){c.currentTarget=r.elem;i=0;while((s=r.handlers[i++])&&!c.isImmediatePropagationStopped()){if(!c.rnamespace||s.namespace===false||c.rnamespace.test(s.namespace)){c.handleObj=s;c.data=s.data;n=((x.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a);if(n!==undefined){if((c.result=n)===false){c.preventDefault();c.stopPropagation()}}}}}if(l.postDispatch){l.postDispatch.call(this,c)}return c.result},handlers:function(t,e){var i,n,r,s,o,a=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!(t.type==="click"&&t.button>=1)){for(;u!==this;u=u.parentNode||this){if(u.nodeType===1&&!(t.type==="click"&&u.disabled===true)){s=[];o={};for(i=0;i<c;i++){n=e[i];r=n.selector+" ";if(o[r]===undefined){o[r]=n.needsContext?x(r,this).index(u)>-1:x.find(r,this,null,[u]).length}if(o[r]){s.push(n)}}if(s.length){a.push({elem:u,handlers:s})}}}}u=this;if(c<e.length){a.push({elem:u,handlers:e.slice(c)})}return a},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:true,configurable:true,get:p(e)?function(){if(this.originalEvent){return e(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[t]}},set:function(e){Object.defineProperty(this,t,{enumerable:true,configurable:true,writable:true,value:e})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:true},click:{setup:function(t){var e=this||t;if($t.test(e.type)&&e.click&&A(e,"input")){Lt(e,"click",true)}return false},trigger:function(t){var e=this||t;if($t.test(e.type)&&e.click&&A(e,"input")){Lt(e,"click")}return true},_default:function(t){var e=t.target;return $t.test(e.type)&&e.click&&A(e,"input")&&ot.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){if(t.result!==undefined&&t.originalEvent){t.originalEvent.returnValue=t.result}}}}};function Lt(t,e,i){if(!i){if(ot.get(t,e)===undefined){x.event.add(t,e,It)}return}ot.set(t,e,false);x.event.add(t,e,{namespace:false,handler:function(t){var i,n=ot.get(this,e);if(t.isTrigger&1&&this[e]){if(!n){n=r.call(arguments);ot.set(this,e,n);this[e]();i=ot.get(this,e);ot.set(this,e,false);if(n!==i){t.stopImmediatePropagation();t.preventDefault();return i}}else if((x.event.special[e]||{}).delegateType){t.stopPropagation()}}else if(n){ot.set(this,e,x.event.trigger(n[0],n.slice(1),this));t.stopPropagation();t.isImmediatePropagationStopped=It}}})}x.removeEvent=function(t,e,i){if(t.removeEventListener){t.removeEventListener(e,i)}};x.Event=function(t,e){if(!(this instanceof x.Event)){return new x.Event(t,e)}if(t&&t.type){this.originalEvent=t;this.type=t.type;this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&t.returnValue===false?It:St;this.target=t.target&&t.target.nodeType===3?t.target.parentNode:t.target;this.currentTarget=t.currentTarget;this.relatedTarget=t.relatedTarget}else{this.type=t}if(e){x.extend(this,e)}this.timeStamp=t&&t.timeStamp||Date.now();this[x.expando]=true};x.Event.prototype={constructor:x.Event,isDefaultPrevented:St,isPropagationStopped:St,isImmediatePropagationStopped:St,isSimulated:false,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=It;if(t&&!this.isSimulated){t.preventDefault()}},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=It;if(t&&!this.isSimulated){t.stopPropagation()}},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=It;if(t&&!this.isSimulated){t.stopImmediatePropagation()}this.stopPropagation()}};x.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:true},x.event.addProp);x.each({focus:"focusin",blur:"focusout"},(function(t,e){function i(t){if(g.documentMode){var i=ot.get(this,"handle"),n=x.event.fix(t);n.type=t.type==="focusin"?"focus":"blur";n.isSimulated=true;i(t);if(n.target===n.currentTarget){i(n)}}else{x.event.simulate(e,t.target,x.event.fix(t))}}x.event.special[t]={setup:function(){var n;Lt(this,t,true);if(g.documentMode){n=ot.get(this,e);if(!n){this.addEventListener(e,i)}ot.set(this,e,(n||0)+1)}else{return false}},trigger:function(){Lt(this,t);return true},teardown:function(){var t;if(g.documentMode){t=ot.get(this,e)-1;if(!t){this.removeEventListener(e,i);ot.remove(this,e)}else{ot.set(this,e,t)}}else{return false}},_default:function(e){return ot.get(e.target,t)},delegateType:e};x.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=g.documentMode?this:n,s=ot.get(r,e);if(!s){if(g.documentMode){this.addEventListener(e,i)}else{n.addEventListener(t,i,true)}}ot.set(r,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=g.documentMode?this:n,s=ot.get(r,e)-1;if(!s){if(g.documentMode){this.removeEventListener(e,i)}else{n.removeEventListener(t,i,true)}ot.remove(r,e)}else{ot.set(r,e,s)}}}}));x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){x.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;if(!r||r!==n&&!x.contains(n,r)){t.type=s.origType;i=s.handler.apply(this,arguments);t.type=e}return i}}}));x.fn.extend({on:function(t,e,i,n){return Dt(this,t,e,i,n)},one:function(t,e,i,n){return Dt(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj){n=t.handleObj;x(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);return this}if(typeof t==="object"){for(r in t){this.off(r,e,t[r])}return this}if(e===false||typeof e==="function"){i=e;e=undefined}if(i===false){i=St}return this.each((function(){x.event.remove(this,t,i,e)}))}});var zt=/<script|<style|<link/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Rt(t,e){if(A(t,"table")&&A(e.nodeType!==11?e:e.firstChild,"tr")){return x(t).children("tbody")[0]||t}return t}function Bt(t){t.type=(t.getAttribute("type")!==null)+"/"+t.type;return t}function Ft(t){if((t.type||"").slice(0,5)==="true/"){t.type=t.type.slice(5)}else{t.removeAttribute("type")}return t}function Ht(t,e){var i,n,r,s,o,a,c;if(e.nodeType!==1){return}if(ot.hasData(t)){s=ot.get(t);c=s.events;if(c){ot.remove(e,"handle events");for(r in c){for(i=0,n=c[r].length;i<n;i++){x.event.add(e,r,c[r][i])}}}}if(at.hasData(t)){o=at.access(t);a=x.extend({},o);at.set(e,a)}}function Wt(t,e){var i=e.nodeName.toLowerCase();if(i==="input"&&$t.test(t.type)){e.checked=t.checked}else if(i==="input"||i==="textarea"){e.defaultValue=t.defaultValue}}function Ut(t,e,i,n){e=s(e);var r,o,a,c,u,l,f=0,h=t.length,v=h-1,g=e[0],m=p(g);if(m||h>1&&typeof g==="string"&&!d.checkClone&&Nt.test(g)){return t.each((function(r){var s=t.eq(r);if(m){e[0]=g.call(this,r,s.html())}Ut(s,e,i,n)}))}if(h){r=Ot(e,t[0].ownerDocument,false,t,n);o=r.firstChild;if(r.childNodes.length===1){r=o}if(o||n){a=x.map(Tt(r,"script"),Bt);c=a.length;for(;f<h;f++){u=r;if(f!==v){u=x.clone(u,true,true);if(c){x.merge(a,Tt(u,"script"))}}i.call(t[f],u,f)}if(c){l=a[a.length-1].ownerDocument;x.map(a,Ft);for(f=0;f<c;f++){u=a[f];if(_t.test(u.type||"")&&!ot.access(u,"globalEval")&&x.contains(l,u)){if(u.src&&(u.type||"").toLowerCase()!=="module"){if(x._evalUrl&&!u.noModule){x._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l)}}else{b(u.textContent.replace(Pt,""),u,l)}}}}}}return t}function qt(t,e,i){var n,r=e?x.filter(e,t):t,s=0;for(;(n=r[s])!=null;s++){if(!i&&n.nodeType===1){x.cleanData(Tt(n))}if(n.parentNode){if(i&&gt(n)){Et(Tt(n,"script"))}n.parentNode.removeChild(n)}}return t}x.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(true),c=gt(t);if(!d.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!x.isXMLDoc(t)){o=Tt(a);s=Tt(t);for(n=0,r=s.length;n<r;n++){Wt(s[n],o[n])}}if(e){if(i){s=s||Tt(t);o=o||Tt(a);for(n=0,r=s.length;n<r;n++){Ht(s[n],o[n])}}else{Ht(t,a)}}o=Tt(a,"script");if(o.length>0){Et(o,!c&&Tt(t,"script"))}return a},cleanData:function(t){var e,i,n,r=x.event.special,s=0;for(;(i=t[s])!==undefined;s++){if(rt(i)){if(e=i[ot.expando]){if(e.events){for(n in e.events){if(r[n]){x.event.remove(i,n)}else{x.removeEvent(i,n,e.handle)}}}i[ot.expando]=undefined}if(i[at.expando]){i[at.expando]=undefined}}}}});x.fn.extend({detach:function(t){return qt(this,t,true)},remove:function(t){return qt(this,t)},text:function(t){return K(this,(function(t){return t===undefined?x.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=t}}))}),null,t,arguments.length)},append:function(){return Ut(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Rt(this,t);e.appendChild(t)}}))},prepend:function(){return Ut(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Rt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ut(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this)}}))},after:function(){return Ut(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this.nextSibling)}}))},empty:function(){var t,e=0;for(;(t=this[e])!=null;e++){if(t.nodeType===1){x.cleanData(Tt(t,false));t.textContent=""}}return this},clone:function(t,e){t=t==null?false:t;e=e==null?t:e;return this.map((function(){return x.clone(this,t,e)}))},html:function(t){return K(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(t===undefined&&e.nodeType===1){return e.innerHTML}if(typeof t==="string"&&!zt.test(t)&&!jt[(At.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;i<n;i++){e=this[i]||{};if(e.nodeType===1){x.cleanData(Tt(e,false));e.innerHTML=t}}e=0}catch(t){}}if(e){this.empty().append(t)}}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ut(this,arguments,(function(e){var i=this.parentNode;if(x.inArray(this,t)<0){x.cleanData(Tt(this));if(i){i.replaceChild(e,this)}}}),t)}});x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){x.fn[t]=function(t){var i,n=[],r=x(t),s=r.length-1,a=0;for(;a<=s;a++){i=a===s?this:this.clone(true);x(r[a])[e](i);o.apply(n,i.get())}return this.pushStack(n)}}));var Gt=new RegExp("^("+ht+")(?!px)[a-z%]+$","i");var Zt=/^--/;var Qt=function(e){var i=e.ownerDocument.defaultView;if(!i||!i.opener){i=t}return i.getComputedStyle(e)};var Yt=function(t,e,i){var n,r,s={};for(r in e){s[r]=t.style[r];t.style[r]=e[r]}n=i.call(t);for(r in e){t.style[r]=s[r]}return n};var Jt=new RegExp(pt.join("|"),"i");(function(){function e(){if(!l){return}u.style.cssText="position:absolute;left:-11111px;width:60px;"+"margin-top:1px;padding:0;border:0";l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;"+"margin:auto;border:1px;padding:1px;"+"width:60%;top:1%";vt.appendChild(u).appendChild(l);var e=t.getComputedStyle(l);n=e.top!=="1%";c=i(e.marginLeft)===12;l.style.right="60%";o=i(e.right)===36;r=i(e.width)===36;l.style.position="absolute";s=i(l.offsetWidth/3)===12;vt.removeChild(u);l=null}function i(t){return Math.round(parseFloat(t))}var n,r,s,o,a,c,u=g.createElement("div"),l=g.createElement("div");if(!l.style){return}l.style.backgroundClip="content-box";l.cloneNode(true).style.backgroundClip="";d.clearCloneStyle=l.style.backgroundClip==="content-box";x.extend(d,{boxSizingReliable:function(){e();return r},pixelBoxStyles:function(){e();return o},pixelPosition:function(){e();return n},reliableMarginLeft:function(){e();return c},scrollboxSize:function(){e();return s},reliableTrDimensions:function(){var e,i,n,r;if(a==null){e=g.createElement("table");i=g.createElement("tr");n=g.createElement("div");e.style.cssText="position:absolute;left:-11111px;border-collapse:separate";i.style.cssText="box-sizing:content-box;border:1px solid";i.style.height="1px";n.style.height="9px";n.style.display="block";vt.appendChild(e).appendChild(i).appendChild(n);r=t.getComputedStyle(i);a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===i.offsetHeight;vt.removeChild(e)}return a}})})();function Vt(t,e,i){var n,r,s,o,a=Zt.test(e),c=t.style;i=i||Qt(t);if(i){o=i.getPropertyValue(e)||i[e];if(a&&o){o=o.replace(M,"$1")||undefined}if(o===""&&!gt(t)){o=x.style(t,e)}if(!d.pixelBoxStyles()&&Gt.test(o)&&Jt.test(e)){n=c.width;r=c.minWidth;s=c.maxWidth;c.minWidth=c.maxWidth=c.width=o;o=i.width;c.width=n;c.minWidth=r;c.maxWidth=s}}return o!==undefined?o+"":o}function Xt(t,e){return{get:function(){if(t()){delete this.get;return}return(this.get=e).apply(this,arguments)}}}var Kt=["Webkit","Moz","ms"],te=g.createElement("div").style,ee={};function ie(t){var e=t[0].toUpperCase()+t.slice(1),i=Kt.length;while(i--){t=Kt[i]+e;if(t in te){return t}}}function ne(t){var e=x.cssProps[t]||ee[t];if(e){return e}if(t in te){return t}return ee[t]=ie(t)||t}var re=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},oe={letterSpacing:"0",fontWeight:"400"};function ae(t,e,i){var n=dt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ce(t,e,i,n,r,s){var o=e==="width"?1:0,a=0,c=0,u=0;if(i===(n?"border":"content")){return 0}for(;o<4;o+=2){if(i==="margin"){u+=x.css(t,i+pt[o],true,r)}if(!n){c+=x.css(t,"padding"+pt[o],true,r);if(i!=="padding"){c+=x.css(t,"border"+pt[o]+"Width",true,r)}else{a+=x.css(t,"border"+pt[o]+"Width",true,r)}}else{if(i==="content"){c-=x.css(t,"padding"+pt[o],true,r)}if(i!=="margin"){c-=x.css(t,"border"+pt[o]+"Width",true,r)}}}if(!n&&s>=0){c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-c-a-.5))||0}return c+u}function ue(t,e,i){var n=Qt(t),r=!d.boxSizingReliable()||i,s=r&&x.css(t,"boxSizing",false,n)==="border-box",o=s,a=Vt(t,e,n),c="offset"+e[0].toUpperCase()+e.slice(1);if(Gt.test(a)){if(!i){return a}a="auto"}if((!d.boxSizingReliable()&&s||!d.reliableTrDimensions()&&A(t,"tr")||a==="auto"||!parseFloat(a)&&x.css(t,"display",false,n)==="inline")&&t.getClientRects().length){s=x.css(t,"boxSizing",false,n)==="border-box";o=c in t;if(o){a=t[c]}}a=parseFloat(a)||0;return a+ce(t,e,i||(s?"border":"content"),o,n,a)+"px"}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Vt(t,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:true,aspectRatio:true,borderImageSlice:true,columnCount:true,flexGrow:true,flexShrink:true,fontWeight:true,gridArea:true,gridColumn:true,gridColumnEnd:true,gridColumnStart:true,gridRow:true,gridRowEnd:true,gridRowStart:true,lineHeight:true,opacity:true,order:true,orphans:true,scale:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeMiterlimit:true,strokeOpacity:true},cssProps:{},style:function(t,e,i,n){if(!t||t.nodeType===3||t.nodeType===8||!t.style){return}var r,s,o,a=nt(e),c=Zt.test(e),u=t.style;if(!c){e=ne(a)}o=x.cssHooks[e]||x.cssHooks[a];if(i!==undefined){s=typeof i;if(s==="string"&&(r=dt.exec(i))&&r[1]){i=wt(t,e,r);s="number"}if(i==null||i!==i){return}if(s==="number"&&!c){i+=r&&r[3]||(x.cssNumber[a]?"":"px")}if(!d.clearCloneStyle&&i===""&&e.indexOf("background")===0){u[e]="inherit"}if(!o||!("set"in o)||(i=o.set(t,i,n))!==undefined){if(c){u.setProperty(e,i)}else{u[e]=i}}}else{if(o&&"get"in o&&(r=o.get(t,false,n))!==undefined){return r}return u[e]}},css:function(t,e,i,n){var r,s,o,a=nt(e),c=Zt.test(e);if(!c){e=ne(a)}o=x.cssHooks[e]||x.cssHooks[a];if(o&&"get"in o){r=o.get(t,true,i)}if(r===undefined){r=Vt(t,e,n)}if(r==="normal"&&e in oe){r=oe[e]}if(i===""||i){s=parseFloat(r);return i===true||isFinite(s)?s||0:r}return r}});x.each(["height","width"],(function(t,e){x.cssHooks[e]={get:function(t,i,n){if(i){return re.test(x.css(t,"display"))&&(!t.getClientRects().length||!t.getBoundingClientRect().width)?Yt(t,se,(function(){return ue(t,e,n)})):ue(t,e,n)}},set:function(t,i,n){var r,s=Qt(t),o=!d.scrollboxSize()&&s.position==="absolute",a=o||n,c=a&&x.css(t,"boxSizing",false,s)==="border-box",u=n?ce(t,e,n,c,s):0;if(c&&o){u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-ce(t,e,"border",false,s)-.5)}if(u&&(r=dt.exec(i))&&(r[3]||"px")!=="px"){t.style[e]=i;i=x.css(t,e)}return ae(t,i,u)}}}));x.cssHooks.marginLeft=Xt(d.reliableMarginLeft,(function(t,e){if(e){return(parseFloat(Vt(t,"marginLeft"))||t.getBoundingClientRect().left-Yt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"}}));x.each({margin:"",padding:"",border:"Width"},(function(t,e){x.cssHooks[t+e]={expand:function(i){var n=0,r={},s=typeof i==="string"?i.split(" "):[i];for(;n<4;n++){r[t+pt[n]+e]=s[n]||s[n-2]||s[0]}return r}};if(t!=="margin"){x.cssHooks[t+e].set=ae}}));x.fn.extend({css:function(t,e){return K(this,(function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){n=Qt(t);r=e.length;for(;o<r;o++){s[e[o]]=x.css(t,e[o],false,n)}return s}return i!==undefined?x.style(t,e,i):x.css(t,e)}),t,e,arguments.length>1)}});function le(t,e,i,n,r){return new le.prototype.init(t,e,i,n,r)}x.Tween=le;le.prototype={constructor:le,init:function(t,e,i,n,r,s){this.elem=t;this.prop=i;this.easing=r||x.easing._default;this.options=e;this.start=this.now=this.cur();this.end=n;this.unit=s||(x.cssNumber[i]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return t&&t.get?t.get(this):le.propHooks._default.get(this)},run:function(t){var e,i=le.propHooks[this.prop];if(this.options.duration){this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration)}else{this.pos=e=t}this.now=(this.end-this.start)*e+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(i&&i.set){i.set(this)}else{le.propHooks._default.set(this)}return this}};le.prototype.init.prototype=le.prototype;le.propHooks={_default:{get:function(t){var e;if(t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null){return t.elem[t.prop]}e=x.css(t.elem,t.prop,"");return!e||e==="auto"?0:e},set:function(t){if(x.fx.step[t.prop]){x.fx.step[t.prop](t)}else if(t.elem.nodeType===1&&(x.cssHooks[t.prop]||t.elem.style[ne(t.prop)]!=null)){x.style(t.elem,t.prop,t.now+t.unit)}else{t.elem[t.prop]=t.now}}}};le.propHooks.scrollTop=le.propHooks.scrollLeft={set:function(t){if(t.elem.nodeType&&t.elem.parentNode){t.elem[t.prop]=t.now}}};x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"};x.fx=le.prototype.init;x.fx.step={};var fe,he,de=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function ve(){if(he){if(g.hidden===false&&t.requestAnimationFrame){t.requestAnimationFrame(ve)}else{t.setTimeout(ve,x.fx.interval)}x.fx.tick()}}function ge(){t.setTimeout((function(){fe=undefined}));return fe=Date.now()}function me(t,e){var i,n=0,r={height:t};e=e?1:0;for(;n<4;n+=2-e){i=pt[n];r["margin"+i]=r["padding"+i]=t}if(e){r.opacity=r.width=t}return r}function be(t,e,i){var n,r=(ke.tweeners[e]||[]).concat(ke.tweeners["*"]),s=0,o=r.length;for(;s<o;s++){if(n=r[s].call(i,e,t)){return n}}}function we(t,e,i){var n,r,s,o,a,c,u,l,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&bt(t),g=ot.get(t,"fxshow");if(!i.queue){o=x._queueHooks(t,"fx");if(o.unqueued==null){o.unqueued=0;a=o.empty.fire;o.empty.fire=function(){if(!o.unqueued){a()}}}o.unqueued++;h.always((function(){h.always((function(){o.unqueued--;if(!x.queue(t,"fx").length){o.empty.fire()}}))}))}for(n in e){r=e[n];if(de.test(r)){delete e[n];s=s||r==="toggle";if(r===(v?"hide":"show")){if(r==="show"&&g&&g[n]!==undefined){v=true}else{continue}}d[n]=g&&g[n]||x.style(t,n)}}c=!x.isEmptyObject(e);if(!c&&x.isEmptyObject(d)){return}if(f&&t.nodeType===1){i.overflow=[p.overflow,p.overflowX,p.overflowY];u=g&&g.display;if(u==null){u=ot.get(t,"display")}l=x.css(t,"display");if(l==="none"){if(u){l=u}else{xt([t],true);u=t.style.display||u;l=x.css(t,"display");xt([t])}}if(l==="inline"||l==="inline-block"&&u!=null){if(x.css(t,"float")==="none"){if(!c){h.done((function(){p.display=u}));if(u==null){l=p.display;u=l==="none"?"":l}}p.display="inline-block"}}}if(i.overflow){p.overflow="hidden";h.always((function(){p.overflow=i.overflow[0];p.overflowX=i.overflow[1];p.overflowY=i.overflow[2]}))}c=false;for(n in d){if(!c){if(g){if("hidden"in g){v=g.hidden}}else{g=ot.access(t,"fxshow",{display:u})}if(s){g.hidden=!v}if(v){xt([t],true)}h.done((function(){if(!v){xt([t])}ot.remove(t,"fxshow");for(n in d){x.style(t,n,d[n])}}))}c=be(v?g[n]:0,n,h);if(!(n in g)){g[n]=c.start;if(v){c.end=c.start;c.start=0}}}}function ye(t,e){var i,n,r,s,o;for(i in t){n=nt(i);r=e[n];s=t[i];if(Array.isArray(s)){r=s[1];s=t[i]=s[0]}if(i!==n){t[n]=s;delete t[i]}o=x.cssHooks[n];if(o&&"expand"in o){s=o.expand(s);delete t[n];for(i in s){if(!(i in t)){t[i]=s[i];e[i]=r}}}else{e[n]=r}}}function ke(t,e,i){var n,r,s=0,o=ke.prefilters.length,a=x.Deferred().always((function(){delete c.elem})),c=function(){if(r){return false}var e=fe||ge(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,s=1-n,o=0,c=u.tweens.length;for(;o<c;o++){u.tweens[o].run(s)}a.notifyWith(t,[u,s,i]);if(s<1&&c){return i}if(!c){a.notifyWith(t,[u,1,0])}a.resolveWith(t,[u]);return false},u=a.promise({elem:t,props:x.extend({},e),opts:x.extend(true,{specialEasing:{},easing:x.easing._default},i),originalProperties:e,originalOptions:i,startTime:fe||ge(),duration:i.duration,tweens:[],createTween:function(e,i){var n=x.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);u.tweens.push(n);return n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(r){return this}r=true;for(;i<n;i++){u.tweens[i].run(1)}if(e){a.notifyWith(t,[u,1,0]);a.resolveWith(t,[u,e])}else{a.rejectWith(t,[u,e])}return this}}),l=u.props;ye(l,u.opts.specialEasing);for(;s<o;s++){n=ke.prefilters[s].call(u,t,l,u.opts);if(n){if(p(n.stop)){x._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)}return n}}x.map(l,be,u);if(p(u.opts.start)){u.opts.start.call(t,u)}u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always);x.fx.timer(x.extend(c,{elem:t,anim:u,queue:u.opts.queue}));return u}x.Animation=x.extend(ke,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);wt(i.elem,t,dt.exec(e),i);return i}]},tweener:function(t,e){if(p(t)){e=t;t=["*"]}else{t=t.match(q)}var i,n=0,r=t.length;for(;n<r;n++){i=t[n];ke.tweeners[i]=ke.tweeners[i]||[];ke.tweeners[i].unshift(e)}},prefilters:[we],prefilter:function(t,e){if(e){ke.prefilters.unshift(t)}else{ke.prefilters.push(t)}}});x.speed=function(t,e,i){var n=t&&typeof t==="object"?x.extend({},t):{complete:i||!i&&e||p(t)&&t,duration:t,easing:i&&e||e&&!p(e)&&e};if(x.fx.off){n.duration=0}else{if(typeof n.duration!=="number"){if(n.duration in x.fx.speeds){n.duration=x.fx.speeds[n.duration]}else{n.duration=x.fx.speeds._default}}}if(n.queue==null||n.queue===true){n.queue="fx"}n.old=n.complete;n.complete=function(){if(p(n.old)){n.old.call(this)}if(n.queue){x.dequeue(this,n.queue)}};return n};x.fn.extend({fadeTo:function(t,e,i,n){return this.filter(bt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=x.isEmptyObject(t),s=x.speed(e,i,n),o=function(){var e=ke(this,x.extend({},t),s);if(r||ot.get(this,"finish")){e.stop(true)}};o.finish=o;return r||s.queue===false?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop;e(i)};if(typeof t!=="string"){i=e;e=t;t=undefined}if(e){this.queue(t||"fx",[])}return this.each((function(){var e=true,r=t!=null&&t+"queueHooks",s=x.timers,o=ot.get(this);if(r){if(o[r]&&o[r].stop){n(o[r])}}else{for(r in o){if(o[r]&&o[r].stop&&pe.test(r)){n(o[r])}}}for(r=s.length;r--;){if(s[r].elem===this&&(t==null||s[r].queue===t)){s[r].anim.stop(i);e=false;s.splice(r,1)}}if(e||!i){x.dequeue(this,t)}}))},finish:function(t){if(t!==false){t=t||"fx"}return this.each((function(){var e,i=ot.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=x.timers,o=n?n.length:0;i.finish=true;x.queue(this,t,[]);if(r&&r.stop){r.stop.call(this,true)}for(e=s.length;e--;){if(s[e].elem===this&&s[e].queue===t){s[e].anim.stop(true);s.splice(e,1)}}for(e=0;e<o;e++){if(n[e]&&n[e].finish){n[e].finish.call(this)}}delete i.finish}))}});x.each(["toggle","show","hide"],(function(t,e){var i=x.fn[e];x.fn[e]=function(t,n,r){return t==null||typeof t==="boolean"?i.apply(this,arguments):this.animate(me(e,true),t,n,r)}}));x.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){x.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}));x.timers=[];x.fx.tick=function(){var t,e=0,i=x.timers;fe=Date.now();for(;e<i.length;e++){t=i[e];if(!t()&&i[e]===t){i.splice(e--,1)}}if(!i.length){x.fx.stop()}fe=undefined};x.fx.timer=function(t){x.timers.push(t);x.fx.start()};x.fx.interval=13;x.fx.start=function(){if(he){return}he=true;ve()};x.fx.stop=function(){he=null};x.fx.speeds={slow:600,fast:200,_default:400};x.fn.delay=function(e,i){e=x.fx?x.fx.speeds[e]||e:e;i=i||"fx";return this.queue(i,(function(i,n){var r=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(r)}}))};(function(){var t=g.createElement("input"),e=g.createElement("select"),i=e.appendChild(g.createElement("option"));t.type="checkbox";d.checkOn=t.value!=="";d.optSelected=i.selected;t=g.createElement("input");t.value="t";t.type="radio";d.radioValue=t.value==="t"})();var xe,$e=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return K(this,x.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){x.removeAttr(this,t)}))}});x.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(typeof t.getAttribute==="undefined"){return x.prop(t,e,i)}if(s!==1||!x.isXMLDoc(t)){r=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?xe:undefined)}if(i!==undefined){if(i===null){x.removeAttr(t,e);return}if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}t.setAttribute(e,i+"");return i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}n=x.find.attr(t,e);return n==null?undefined:n},attrHooks:{type:{set:function(t,e){if(!d.radioValue&&e==="radio"&&A(t,"input")){var i=t.value;t.setAttribute("type",e);if(i){t.value=i}return e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(q);if(r&&t.nodeType===1){while(i=r[n++]){t.removeAttribute(i)}}}});xe={set:function(t,e,i){if(e===false){x.removeAttr(t,i)}else{t.setAttribute(i,i)}return i}};x.each(x.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=$e[e]||x.find.attr;$e[e]=function(t,e,n){var r,s,o=e.toLowerCase();if(!n){s=$e[o];$e[o]=r;r=i(t,e,n)!=null?o:null;$e[o]=s}return r}}));var Ae=/^(?:input|select|textarea|button)$/i,_e=/^(?:a|area)$/i;x.fn.extend({prop:function(t,e){return K(this,x.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[x.propFix[t]||t]}))}});x.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(s!==1||!x.isXMLDoc(t)){e=x.propFix[e]||e;r=x.propHooks[e]}if(i!==undefined){if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}return t[e]=i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}return t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");if(e){return parseInt(e,10)}if(Ae.test(t.nodeName)||_e.test(t.nodeName)&&t.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!d.optSelected){x.propHooks.selected={get:function(t){return null},set:function(t){}}}x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this}));function je(t){var e=t.match(q)||[];return e.join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Ee(t){if(Array.isArray(t)){return t}if(typeof t==="string"){return t.match(q)||[]}return[]}x.fn.extend({addClass:function(t){var e,i,n,r,s,o;if(p(t)){return this.each((function(e){x(this).addClass(t.call(this,e,Te(this)))}))}e=Ee(t);if(e.length){return this.each((function(){n=Te(this);i=this.nodeType===1&&" "+je(n)+" ";if(i){for(s=0;s<e.length;s++){r=e[s];if(i.indexOf(" "+r+" ")<0){i+=r+" "}}o=je(i);if(n!==o){this.setAttribute("class",o)}}}))}return this},removeClass:function(t){var e,i,n,r,s,o;if(p(t)){return this.each((function(e){x(this).removeClass(t.call(this,e,Te(this)))}))}if(!arguments.length){return this.attr("class","")}e=Ee(t);if(e.length){return this.each((function(){n=Te(this);i=this.nodeType===1&&" "+je(n)+" ";if(i){for(s=0;s<e.length;s++){r=e[s];while(i.indexOf(" "+r+" ")>-1){i=i.replace(" "+r+" "," ")}}o=je(i);if(n!==o){this.setAttribute("class",o)}}}))}return this},toggleClass:function(t,e){var i,n,r,s,o=typeof t,a=o==="string"||Array.isArray(t);if(p(t)){return this.each((function(i){x(this).toggleClass(t.call(this,i,Te(this),e),e)}))}if(typeof e==="boolean"&&a){return e?this.addClass(t):this.removeClass(t)}i=Ee(t);return this.each((function(){if(a){s=x(this);for(r=0;r<i.length;r++){n=i[r];if(s.hasClass(n)){s.removeClass(n)}else{s.addClass(n)}}}else if(t===undefined||o==="boolean"){n=Te(this);if(n){ot.set(this,"__className__",n)}if(this.setAttribute){this.setAttribute("class",n||t===false?"":ot.get(this,"__className__")||"")}}}))},hasClass:function(t){var e,i,n=0;e=" "+t+" ";while(i=this[n++]){if(i.nodeType===1&&(" "+je(Te(i))+" ").indexOf(e)>-1){return true}}return false}});var Me=/\r/g;x.fn.extend({val:function(t){var e,i,n,r=this[0];if(!arguments.length){if(r){e=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()];if(e&&"get"in e&&(i=e.get(r,"value"))!==undefined){return i}i=r.value;if(typeof i==="string"){return i.replace(Me,"")}return i==null?"":i}return}n=p(t);return this.each((function(i){var r;if(this.nodeType!==1){return}if(n){r=t.call(this,i,x(this).val())}else{r=t}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=x.map(r,(function(t){return t==null?"":t+""}))}e=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()];if(!e||!("set"in e)||e.set(this,r,"value")===undefined){this.value=r}}))}});x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return e!=null?e:je(x.text(t))}},select:{get:function(t){var e,i,n,r=t.options,s=t.selectedIndex,o=t.type==="select-one",a=o?null:[],c=o?s+1:r.length;if(s<0){n=c}else{n=o?s:0}for(;n<c;n++){i=r[n];if((i.selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){e=x(i).val();if(o){return e}a.push(e)}}return a},set:function(t,e){var i,n,r=t.options,s=x.makeArray(e),o=r.length;while(o--){n=r[o];if(n.selected=x.inArray(x.valHooks.option.get(n),s)>-1){i=true}}if(!i){t.selectedIndex=-1}return s}}}});x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e)){return t.checked=x.inArray(x(t).val(),e)>-1}}};if(!d.checkOn){x.valHooks[this].get=function(t){return t.getAttribute("value")===null?"on":t.value}}}));var Oe=t.location;var Ce={guid:Date.now()};var Ie=/\?/;x.parseXML=function(e){var i,n;if(!e||typeof e!=="string"){return null}try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}n=i&&i.getElementsByTagName("parsererror")[0];if(!i||n){x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(t){return t.textContent})).join("\n"):e))}return i};var Se=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(e,i,n,r){var s,o,a,c,u,f,h,d,m=[n||g],b=l.call(e,"type")?e.type:e,w=l.call(e,"namespace")?e.namespace.split("."):[];o=d=a=n=n||g;if(n.nodeType===3||n.nodeType===8){return}if(Se.test(b+x.event.triggered)){return}if(b.indexOf(".")>-1){w=b.split(".");b=w.shift();w.sort()}u=b.indexOf(":")<0&&"on"+b;e=e[x.expando]?e:new x.Event(b,typeof e==="object"&&e);e.isTrigger=r?2:3;e.namespace=w.join(".");e.rnamespace=e.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;e.result=undefined;if(!e.target){e.target=n}i=i==null?[e]:x.makeArray(i,[e]);h=x.event.special[b]||{};if(!r&&h.trigger&&h.trigger.apply(n,i)===false){return}if(!r&&!h.noBubble&&!v(n)){c=h.delegateType||b;if(!Se.test(c+b)){o=o.parentNode}for(;o;o=o.parentNode){m.push(o);a=o}if(a===(n.ownerDocument||g)){m.push(a.defaultView||a.parentWindow||t)}}s=0;while((o=m[s++])&&!e.isPropagationStopped()){d=o;e.type=s>1?c:h.bindType||b;f=(ot.get(o,"events")||Object.create(null))[e.type]&&ot.get(o,"handle");if(f){f.apply(o,i)}f=u&&o[u];if(f&&f.apply&&rt(o)){e.result=f.apply(o,i);if(e.result===false){e.preventDefault()}}}e.type=b;if(!r&&!e.isDefaultPrevented()){if((!h._default||h._default.apply(m.pop(),i)===false)&&rt(n)){if(u&&p(n[b])&&!v(n)){a=n[u];if(a){n[u]=null}x.event.triggered=b;if(e.isPropagationStopped()){d.addEventListener(b,De)}n[b]();if(e.isPropagationStopped()){d.removeEventListener(b,De)}x.event.triggered=undefined;if(a){n[u]=a}}}}return e.result},simulate:function(t,e,i){var n=x.extend(new x.Event,i,{type:t,isSimulated:true});x.event.trigger(n,null,e)}});x.fn.extend({trigger:function(t,e){return this.each((function(){x.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i){return x.event.trigger(t,e,i,true)}}});var Le=/\[\]$/,ze=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;function Re(t,e,i,n){var r;if(Array.isArray(e)){x.each(e,(function(e,r){if(i||Le.test(t)){n(t,r)}else{Re(t+"["+(typeof r==="object"&&r!=null?e:"")+"]",r,i,n)}}))}else if(!i&&w(e)==="object"){for(r in e){Re(t+"["+r+"]",e[r],i,n)}}else{n(t,e)}}x.param=function(t,e){var i,n=[],r=function(t,e){var i=p(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(i==null?"":i)};if(t==null){return""}if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t)){x.each(t,(function(){r(this.name,this.value)}))}else{for(i in t){Re(i,t[i],e,r)}}return n.join("&")};x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!$t.test(t))})).map((function(t,e){var i=x(this).val();if(i==null){return null}if(Array.isArray(i)){return x.map(i,(function(t){return{name:e.name,value:t.replace(ze,"\r\n")}}))}return{name:e.name,value:i.replace(ze,"\r\n")}})).get()}});var Be=/%20/g,Fe=/#.*$/,He=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qe=/^(?:GET|HEAD)$/,Ge=/^\/\//,Ze={},Qe={},Ye="*/".concat("*"),Je=g.createElement("a");Je.href=Oe.href;function Ve(t){return function(e,i){if(typeof e!=="string"){i=e;e="*"}var n,r=0,s=e.toLowerCase().match(q)||[];if(p(i)){while(n=s[r++]){if(n[0]==="+"){n=n.slice(1)||"*";(t[n]=t[n]||[]).unshift(i)}else{(t[n]=t[n]||[]).push(i)}}}}}function Xe(t,e,i,n){var r={},s=t===Qe;function o(a){var c;r[a]=true;x.each(t[a]||[],(function(t,a){var u=a(e,i,n);if(typeof u==="string"&&!s&&!r[u]){e.dataTypes.unshift(u);o(u);return false}else if(s){return!(c=u)}}));return c}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Ke(t,e){var i,n,r=x.ajaxSettings.flatOptions||{};for(i in e){if(e[i]!==undefined){(r[i]?t:n||(n={}))[i]=e[i]}}if(n){x.extend(true,t,n)}return t}function ti(t,e,i){var n,r,s,o,a=t.contents,c=t.dataTypes;while(c[0]==="*"){c.shift();if(n===undefined){n=t.mimeType||e.getResponseHeader("Content-Type")}}if(n){for(r in a){if(a[r]&&a[r].test(n)){c.unshift(r);break}}}if(c[0]in i){s=c[0]}else{for(r in i){if(!c[0]||t.converters[r+" "+c[0]]){s=r;break}if(!o){o=r}}s=s||o}if(s){if(s!==c[0]){c.unshift(s)}return i[s]}}function ei(t,e,i,n){var r,s,o,a,c,u={},l=t.dataTypes.slice();if(l[1]){for(o in t.converters){u[o.toLowerCase()]=t.converters[o]}}s=l.shift();while(s){if(t.responseFields[s]){i[t.responseFields[s]]=e}if(!c&&n&&t.dataFilter){e=t.dataFilter(e,t.dataType)}c=s;s=l.shift();if(s){if(s==="*"){s=c}else if(c!=="*"&&c!==s){o=u[c+" "+s]||u["* "+s];if(!o){for(r in u){a=r.split(" ");if(a[1]===s){o=u[c+" "+a[0]]||u["* "+a[0]];if(o){if(o===true){o=u[r]}else if(u[r]!==true){s=a[0];l.unshift(a[1])}break}}}}if(o!==true){if(o&&t.throws){e=o(e)}else{try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+c+" to "+s}}}}}}}return{state:"success",data:e}}x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:Ue.test(Oe.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ye,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":true,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(t,e){return e?Ke(Ke(t,x.ajaxSettings),e):Ke(x.ajaxSettings,t)},ajaxPrefilter:Ve(Ze),ajaxTransport:Ve(Qe),ajax:function(e,i){if(typeof e==="object"){i=e;e=undefined}i=i||{};var n,r,s,o,a,c,u,l,f,h,d=x.ajaxSetup({},i),p=d.context||d,v=d.context&&(p.nodeType||p.jquery)?x(p):x.event,m=x.Deferred(),b=x.Callbacks("once memory"),w=d.statusCode||{},y={},k={},$="canceled",A={readyState:0,getResponseHeader:function(t){var e;if(u){if(!o){o={};while(e=We.exec(s)){o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2])}}e=o[t.toLowerCase()+" "]}return e==null?null:e.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){if(u==null){t=k[t.toLowerCase()]=k[t.toLowerCase()]||t;y[t]=e}return this},overrideMimeType:function(t){if(u==null){d.mimeType=t}return this},statusCode:function(t){var e;if(t){if(u){A.always(t[A.status])}else{for(e in t){w[e]=[w[e],t[e]]}}}return this},abort:function(t){var e=t||$;if(n){n.abort(e)}_(0,e);return this}};m.promise(A);d.url=((e||d.url||Oe.href)+"").replace(Ge,Oe.protocol+"//");d.type=i.method||i.type||d.method||d.type;d.dataTypes=(d.dataType||"*").toLowerCase().match(q)||[""];if(d.crossDomain==null){c=g.createElement("a");try{c.href=d.url;c.href=c.href;d.crossDomain=Je.protocol+"//"+Je.host!==c.protocol+"//"+c.host}catch(t){d.crossDomain=true}}if(d.data&&d.processData&&typeof d.data!=="string"){d.data=x.param(d.data,d.traditional)}Xe(Ze,d,i,A);if(u){return A}l=x.event&&d.global;if(l&&x.active++===0){x.event.trigger("ajaxStart")}d.type=d.type.toUpperCase();d.hasContent=!qe.test(d.type);r=d.url.replace(Fe,"");if(!d.hasContent){h=d.url.slice(r.length);if(d.data&&(d.processData||typeof d.data==="string")){r+=(Ie.test(r)?"&":"?")+d.data;delete d.data}if(d.cache===false){r=r.replace(He,"$1");h=(Ie.test(r)?"&":"?")+"_="+Ce.guid+++h}d.url=r+h}else if(d.data&&d.processData&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0){d.data=d.data.replace(Be,"+")}if(d.ifModified){if(x.lastModified[r]){A.setRequestHeader("If-Modified-Since",x.lastModified[r])}if(x.etag[r]){A.setRequestHeader("If-None-Match",x.etag[r])}}if(d.data&&d.hasContent&&d.contentType!==false||i.contentType){A.setRequestHeader("Content-Type",d.contentType)}A.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+Ye+"; q=0.01":""):d.accepts["*"]);for(f in d.headers){A.setRequestHeader(f,d.headers[f])}if(d.beforeSend&&(d.beforeSend.call(p,A,d)===false||u)){return A.abort()}$="abort";b.add(d.complete);A.done(d.success);A.fail(d.error);n=Xe(Qe,d,i,A);if(!n){_(-1,"No Transport")}else{A.readyState=1;if(l){v.trigger("ajaxSend",[A,d])}if(u){return A}if(d.async&&d.timeout>0){a=t.setTimeout((function(){A.abort("timeout")}),d.timeout)}try{u=false;n.send(y,_)}catch(t){if(u){throw t}_(-1,t)}}function _(e,i,o,c){var f,h,g,y,k,$=i;if(u){return}u=true;if(a){t.clearTimeout(a)}n=undefined;s=c||"";A.readyState=e>0?4:0;f=e>=200&&e<300||e===304;if(o){y=ti(d,A,o)}if(!f&&x.inArray("script",d.dataTypes)>-1&&x.inArray("json",d.dataTypes)<0){d.converters["text script"]=function(){}}y=ei(d,y,A,f);if(f){if(d.ifModified){k=A.getResponseHeader("Last-Modified");if(k){x.lastModified[r]=k}k=A.getResponseHeader("etag");if(k){x.etag[r]=k}}if(e===204||d.type==="HEAD"){$="nocontent"}else if(e===304){$="notmodified"}else{$=y.state;h=y.data;g=y.error;f=!g}}else{g=$;if(e||!$){$="error";if(e<0){e=0}}}A.status=e;A.statusText=(i||$)+"";if(f){m.resolveWith(p,[h,$,A])}else{m.rejectWith(p,[A,$,g])}A.statusCode(w);w=undefined;if(l){v.trigger(f?"ajaxSuccess":"ajaxError",[A,d,f?h:g])}b.fireWith(p,[A,$]);if(l){v.trigger("ajaxComplete",[A,d]);if(! --x.active){x.event.trigger("ajaxStop")}}}return A},getJSON:function(t,e,i){return x.get(t,e,i,"json")},getScript:function(t,e){return x.get(t,undefined,e,"script")}});x.each(["get","post"],(function(t,e){x[e]=function(t,i,n,r){if(p(i)){r=r||n;n=i;i=undefined}return x.ajax(x.extend({url:t,type:e,dataType:r,data:i,success:n},x.isPlainObject(t)&&t))}}));x.ajaxPrefilter((function(t){var e;for(e in t.headers){if(e.toLowerCase()==="content-type"){t.contentType=t.headers[e]||""}}}));x._evalUrl=function(t,e,i){return x.ajax({url:t,type:"GET",dataType:"script",cache:true,async:false,global:false,converters:{"text script":function(){}},dataFilter:function(t){x.globalEval(t,e,i)}})};x.fn.extend({wrapAll:function(t){var e;if(this[0]){if(p(t)){t=t.call(this[0])}e=x(t,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){e.insertBefore(this[0])}e.map((function(){var t=this;while(t.firstElementChild){t=t.firstElementChild}return t})).append(this)}return this},wrapInner:function(t){if(p(t)){return this.each((function(e){x(this).wrapInner(t.call(this,e))}))}return this.each((function(){var e=x(this),i=e.contents();if(i.length){i.wrapAll(t)}else{e.append(t)}}))},wrap:function(t){var e=p(t);return this.each((function(i){x(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){this.parent(t).not("body").each((function(){x(this).replaceWith(this.childNodes)}));return this}});x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)};x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)};x.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var ii={0:200,1223:204},ni=x.ajaxSettings.xhr();d.cors=!!ni&&"withCredentials"in ni;d.ajax=ni=!!ni;x.ajaxTransport((function(e){var i,n;if(d.cors||ni&&!e.crossDomain){return{send:function(r,s){var o,a=e.xhr();a.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(o in e.xhrFields){a[o]=e.xhrFields[o]}}if(e.mimeType&&a.overrideMimeType){a.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"}for(o in r){a.setRequestHeader(o,r[o])}i=function(t){return function(){if(i){i=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null;if(t==="abort"){a.abort()}else if(t==="error"){if(typeof a.status!=="number"){s(0,"error")}else{s(a.status,a.statusText)}}else{s(ii[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!=="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders())}}}};a.onload=i();n=a.onerror=a.ontimeout=i("error");if(a.onabort!==undefined){a.onabort=n}else{a.onreadystatechange=function(){if(a.readyState===4){t.setTimeout((function(){if(i){n()}}))}}}i=i("abort");try{a.send(e.hasContent&&e.data||null)}catch(t){if(i){throw t}}},abort:function(){if(i){i()}}}}}));x.ajaxPrefilter((function(t){if(t.crossDomain){t.contents.script=false}}));x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){x.globalEval(t);return t}}});x.ajaxPrefilter("script",(function(t){if(t.cache===undefined){t.cache=false}if(t.crossDomain){t.type="GET"}}));x.ajaxTransport("script",(function(t){if(t.crossDomain||t.scriptAttrs){var e,i;return{send:function(n,r){e=x("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove();i=null;if(t){r(t.type==="error"?404:200,t.type)}});g.head.appendChild(e[0])},abort:function(){if(i){i()}}}}}));var ri=[],si=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ri.pop()||x.expando+"_"+Ce.guid++;this[t]=true;return t}});x.ajaxPrefilter("json jsonp",(function(e,i,n){var r,s,o,a=e.jsonp!==false&&(si.test(e.url)?"url":typeof e.data==="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&si.test(e.data)&&"data");if(a||e.dataTypes[0]==="jsonp"){r=e.jsonpCallback=p(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback;if(a){e[a]=e[a].replace(si,"$1"+r)}else if(e.jsonp!==false){e.url+=(Ie.test(e.url)?"&":"?")+e.jsonp+"="+r}e.converters["script json"]=function(){if(!o){x.error(r+" was not called")}return o[0]};e.dataTypes[0]="json";s=t[r];t[r]=function(){o=arguments};n.always((function(){if(s===undefined){x(t).removeProp(r)}else{t[r]=s}if(e[r]){e.jsonpCallback=i.jsonpCallback;ri.push(r)}if(o&&p(s)){s(o[0])}o=s=undefined}));return"script"}}));d.createHTMLDocument=function(){var t=g.implementation.createHTMLDocument("").body;t.innerHTML="<form></form><form></form>";return t.childNodes.length===2}();x.parseHTML=function(t,e,i){if(typeof t!=="string"){return[]}if(typeof e==="boolean"){i=e;e=false}var n,r,s;if(!e){if(d.createHTMLDocument){e=g.implementation.createHTMLDocument("");n=e.createElement("base");n.href=g.location.href;e.head.appendChild(n)}else{e=g}}r=N.exec(t);s=!i&&[];if(r){return[e.createElement(r[1])]}r=Ot([t],e,s);if(s&&s.length){x(s).remove()}return x.merge([],r.childNodes)};x.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");if(a>-1){n=je(t.slice(a));t=t.slice(0,a)}if(p(e)){i=e;e=undefined}else if(e&&typeof e==="object"){r="POST"}if(o.length>0){x.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){s=arguments;o.html(n?x("<div>").append(x.parseHTML(t)).find(n):t)})).always(i&&function(t,e){o.each((function(){i.apply(this,s||[t.responseText,e,t])}))})}return this};x.expr.pseudos.animated=function(t){return x.grep(x.timers,(function(e){return t===e.elem})).length};x.offset={setOffset:function(t,e,i){var n,r,s,o,a,c,u,l=x.css(t,"position"),f=x(t),h={};if(l==="static"){t.style.position="relative"}a=f.offset();s=x.css(t,"top");c=x.css(t,"left");u=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;if(u){n=f.position();o=n.top;r=n.left}else{o=parseFloat(s)||0;r=parseFloat(c)||0}if(p(e)){e=e.call(t,i,x.extend({},a))}if(e.top!=null){h.top=e.top-a.top+o}if(e.left!=null){h.left=e.left-a.left+r}if("using"in e){e.using.call(t,h)}else{f.css(h)}}};x.fn.extend({offset:function(t){if(arguments.length){return t===undefined?this:this.each((function(e){x.offset.setOffset(this,t,e)}))}var e,i,n=this[0];if(!n){return}if(!n.getClientRects().length){return{top:0,left:0}}e=n.getBoundingClientRect();i=n.ownerDocument.defaultView;return{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}},position:function(){if(!this[0]){return}var t,e,i,n=this[0],r={top:0,left:0};if(x.css(n,"position")==="fixed"){e=n.getBoundingClientRect()}else{e=this.offset();i=n.ownerDocument;t=n.offsetParent||i.documentElement;while(t&&(t===i.body||t===i.documentElement)&&x.css(t,"position")==="static"){t=t.parentNode}if(t&&t!==n&&t.nodeType===1){r=x(t).offset();r.top+=x.css(t,"borderTopWidth",true);r.left+=x.css(t,"borderLeftWidth",true)}}return{top:e.top-r.top-x.css(n,"marginTop",true),left:e.left-r.left-x.css(n,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var t=this.offsetParent;while(t&&x.css(t,"position")==="static"){t=t.offsetParent}return t||vt}))}});x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;x.fn[t]=function(n){return K(this,(function(t,n,r){var s;if(v(t)){s=t}else if(t.nodeType===9){s=t.defaultView}if(r===undefined){return s?s[e]:t[n]}if(s){s.scrollTo(!i?r:s.pageXOffset,i?r:s.pageYOffset)}else{t[n]=r}}),t,n,arguments.length)}}));x.each(["top","left"],(function(t,e){x.cssHooks[e]=Xt(d.pixelPosition,(function(t,i){if(i){i=Vt(t,e);return Gt.test(i)?x(t).position()[e]+"px":i}}))}));x.each({Height:"height",Width:"width"},(function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){x.fn[n]=function(r,s){var o=arguments.length&&(i||typeof r!=="boolean"),a=i||(r===true||s===true?"margin":"border");return K(this,(function(e,i,r){var s;if(v(e)){return n.indexOf("outer")===0?e["inner"+t]:e.document.documentElement["client"+t]}if(e.nodeType===9){s=e.documentElement;return Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])}return r===undefined?x.css(e,i,a):x.style(e,i,r,a)}),e,o?r:undefined,o)}}))}));x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){x.fn[e]=function(t){return this.on(e,t)}}));x.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return arguments.length===1?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}});x.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(t,e){x.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var oi=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(t,e){var i,n,s;if(typeof e==="string"){i=t[e];e=t;t=i}if(!p(t)){return undefined}n=r.call(arguments,2);s=function(){return t.apply(e||this,n.concat(r.call(arguments)))};s.guid=t.guid=t.guid||x.guid++;return s};x.holdReady=function(t){if(t){x.readyWait++}else{x.ready(true)}};x.isArray=Array.isArray;x.parseJSON=JSON.parse;x.nodeName=A;x.isFunction=p;x.isWindow=v;x.camelCase=nt;x.type=w;x.now=Date.now;x.isNumeric=function(t){var e=x.type(t);return(e==="number"||e==="string")&&!isNaN(t-parseFloat(t))};x.trim=function(t){return t==null?"":(t+"").replace(oi,"$1")};var ai=t.jQuery,ci=t.$;x.noConflict=function(e){if(t.$===x){t.$=ci}if(e&&t.jQuery===x){t.jQuery=ai}return x};if(typeof e==="undefined"){t.jQuery=t.$=x}return x}))}));o((function(t,e){(function(e){{t.exports=e(c)}})((function(t){var e=window.Slick||{};e=function(){var e=0;function i(i,n){var r=this,s;r.defaults={accessibility:true,adaptiveHeight:false,appendArrows:t(i),appendDots:t(i),arrows:true,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:false,autoplaySpeed:3e3,centerMode:false,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:false,dotsClass:"slick-dots",draggable:true,easing:"linear",edgeFriction:.35,fade:false,focusOnSelect:false,focusOnChange:false,infinite:true,initialSlide:0,lazyLoad:"ondemand",mobileFirst:false,pauseOnHover:true,pauseOnFocus:true,pauseOnDotsHover:false,respondTo:"window",responsive:null,rows:1,rtl:false,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:true,swipeToSlide:false,touchMove:true,touchThreshold:5,useCSS:true,useTransform:true,variableWidth:false,vertical:false,verticalSwiping:false,waitForAnimate:true,zIndex:1e3};r.initials={animating:false,dragging:false,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:false,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:false,slideOffset:0,swipeLeft:null,swiping:false,$list:null,touchObject:{},transformsEnabled:false,unslicked:false};t.extend(r,r.initials);r.activeBreakpoint=null;r.animType=null;r.animProp=null;r.breakpoints=[];r.breakpointSettings=[];r.cssTransitions=false;r.focussed=false;r.interrupted=false;r.hidden="hidden";r.paused=true;r.positionProp=null;r.respondTo=null;r.rowCount=1;r.shouldClick=true;r.$slider=t(i);r.$slidesCache=null;r.transformType=null;r.transitionType=null;r.visibilityChange="visibilitychange";r.windowWidth=0;r.windowTimer=null;s=t(i).data("slick")||{};r.options=t.extend({},r.defaults,n,s);r.currentSlide=r.options.initialSlide;r.originalSettings=r.options;if(typeof document.mozHidden!=="undefined"){r.hidden="mozHidden";r.visibilityChange="mozvisibilitychange"}else if(typeof document.webkitHidden!=="undefined"){r.hidden="webkitHidden";r.visibilityChange="webkitvisibilitychange"}r.autoPlay=t.proxy(r.autoPlay,r);r.autoPlayClear=t.proxy(r.autoPlayClear,r);r.autoPlayIterator=t.proxy(r.autoPlayIterator,r);r.changeSlide=t.proxy(r.changeSlide,r);r.clickHandler=t.proxy(r.clickHandler,r);r.selectHandler=t.proxy(r.selectHandler,r);r.setPosition=t.proxy(r.setPosition,r);r.swipeHandler=t.proxy(r.swipeHandler,r);r.dragHandler=t.proxy(r.dragHandler,r);r.keyHandler=t.proxy(r.keyHandler,r);r.instanceUid=e++;r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;r.registerBreakpoints();r.init(true)}return i}();e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var r=this;if(typeof i==="boolean"){n=i;i=null}else if(i<0||i>=r.slideCount){return false}r.unload();if(typeof i==="number"){if(i===0&&r.$slides.length===0){t(e).appendTo(r.$slideTrack)}else if(n){t(e).insertBefore(r.$slides.eq(i))}else{t(e).insertAfter(r.$slides.eq(i))}}else{if(n===true){t(e).prependTo(r.$slideTrack)}else{t(e).appendTo(r.$slideTrack)}}r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slides.each((function(e,i){t(i).attr("data-slick-index",e)}));r.$slidesCache=r.$slides;r.reinit()};e.prototype.animateHeight=function(){var t=this;if(t.options.slidesToShow===1&&t.options.adaptiveHeight===true&&t.options.vertical===false){var e=t.$slides.eq(t.currentSlide).outerHeight(true);t.$list.animate({height:e},t.options.speed)}};e.prototype.animateSlide=function(e,i){var n={},r=this;r.animateHeight();if(r.options.rtl===true&&r.options.vertical===false){e=-e}if(r.transformsEnabled===false){if(r.options.vertical===false){r.$slideTrack.animate({left:e},r.options.speed,r.options.easing,i)}else{r.$slideTrack.animate({top:e},r.options.speed,r.options.easing,i)}}else{if(r.cssTransitions===false){if(r.options.rtl===true){r.currentLeft=-r.currentLeft}t({animStart:r.currentLeft}).animate({animStart:e},{duration:r.options.speed,easing:r.options.easing,step:function(t){t=Math.ceil(t);if(r.options.vertical===false){n[r.animType]="translate("+t+"px, 0px)";r.$slideTrack.css(n)}else{n[r.animType]="translate(0px,"+t+"px)";r.$slideTrack.css(n)}},complete:function(){if(i){i.call()}}})}else{r.applyTransition();e=Math.ceil(e);if(r.options.vertical===false){n[r.animType]="translate3d("+e+"px, 0px, 0px)"}else{n[r.animType]="translate3d(0px,"+e+"px, 0px)"}r.$slideTrack.css(n);if(i){setTimeout((function(){r.disableTransition();i.call()}),r.options.speed)}}}};e.prototype.getNavTarget=function(){var e=this,i=e.options.asNavFor;if(i&&i!==null){i=t(i).not(e.$slider)}return i};e.prototype.asNavFor=function(e){var i=this,n=i.getNavTarget();if(n!==null&&typeof n==="object"){n.each((function(){var i=t(this).slick("getSlick");if(!i.unslicked){i.slideHandler(e,true)}}))}};e.prototype.applyTransition=function(t){var e=this,i={};if(e.options.fade===false){i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase}else{i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase}if(e.options.fade===false){e.$slideTrack.css(i)}else{e.$slides.eq(t).css(i)}};e.prototype.autoPlay=function(){var t=this;t.autoPlayClear();if(t.slideCount>t.options.slidesToShow){t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed)}};e.prototype.autoPlayClear=function(){var t=this;if(t.autoPlayTimer){clearInterval(t.autoPlayTimer)}};e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;if(!t.paused&&!t.interrupted&&!t.focussed){if(t.options.infinite===false){if(t.direction===1&&t.currentSlide+1===t.slideCount-1){t.direction=0}else if(t.direction===0){e=t.currentSlide-t.options.slidesToScroll;if(t.currentSlide-1===0){t.direction=1}}}t.slideHandler(e)}};e.prototype.buildArrows=function(){var e=this;if(e.options.arrows===true){e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow");e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow");if(e.slideCount>e.options.slidesToShow){e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");if(e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.prependTo(e.options.appendArrows)}if(e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.appendTo(e.options.appendArrows)}if(e.options.infinite!==true){e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")}}else{e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"})}}};e.prototype.buildDots=function(){var e=this,i,n;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$slider.addClass("slick-dotted");n=t("<ul />").addClass(e.options.dotsClass);for(i=0;i<=e.getDotCount();i+=1){n.append(t("<li />").append(e.options.customPaging.call(this,e,i)))}e.$dots=n.appendTo(e.options.appendDots);e.$dots.find("li").first().addClass("slick-active")}};e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide");e.slideCount=e.$slides.length;e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}));e.$slider.addClass("slick-slider");e.$slideTrack=e.slideCount===0?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent();e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent();e.$slideTrack.css("opacity",0);if(e.options.centerMode===true||e.options.swipeToSlide===true){e.options.slidesToScroll=1}t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading");e.setupInfinite();e.buildArrows();e.buildDots();e.updateDots();e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);if(e.options.draggable===true){e.$list.addClass("draggable")}};e.prototype.buildRows=function(){var t=this,e,i,n,r,s,o,a;r=document.createDocumentFragment();o=t.$slider.children();if(t.options.rows>0){a=t.options.slidesPerRow*t.options.rows;s=Math.ceil(o.length/a);for(e=0;e<s;e++){var c=document.createElement("div");for(i=0;i<t.options.rows;i++){var u=document.createElement("div");for(n=0;n<t.options.slidesPerRow;n++){var l=e*a+(i*t.options.slidesPerRow+n);if(o.get(l)){u.appendChild(o.get(l))}}c.appendChild(u)}r.appendChild(c)}t.$slider.empty().append(r);t.$slider.children().children().children().css({width:100/t.options.slidesPerRow+"%",display:"inline-block"})}};e.prototype.checkResponsive=function(e,i){var n=this,r,s,o,a=false;var c=n.$slider.width();var u=window.innerWidth||t(window).width();if(n.respondTo==="window"){o=u}else if(n.respondTo==="slider"){o=c}else if(n.respondTo==="min"){o=Math.min(u,c)}if(n.options.responsive&&n.options.responsive.length&&n.options.responsive!==null){s=null;for(r in n.breakpoints){if(n.breakpoints.hasOwnProperty(r)){if(n.originalSettings.mobileFirst===false){if(o<n.breakpoints[r]){s=n.breakpoints[r]}}else{if(o>n.breakpoints[r]){s=n.breakpoints[r]}}}}if(s!==null){if(n.activeBreakpoint!==null){if(s!==n.activeBreakpoint||i){n.activeBreakpoint=s;if(n.breakpointSettings[s]==="unslick"){n.unslick(s)}else{n.options=t.extend({},n.originalSettings,n.breakpointSettings[s]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}a=s}}else{n.activeBreakpoint=s;if(n.breakpointSettings[s]==="unslick"){n.unslick(s)}else{n.options=t.extend({},n.originalSettings,n.breakpointSettings[s]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}a=s}}else{if(n.activeBreakpoint!==null){n.activeBreakpoint=null;n.options=n.originalSettings;if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e);a=s}}if(!e&&a!==false){n.$slider.trigger("breakpoint",[n,a])}}};e.prototype.changeSlide=function(e,i){var n=this,r=t(e.currentTarget),s,o,a;if(r.is("a")){e.preventDefault()}if(!r.is("li")){r=r.closest("li")}a=n.slideCount%n.options.slidesToScroll!==0;s=a?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll;switch(e.data.message){case"previous":o=s===0?n.options.slidesToScroll:n.options.slidesToShow-s;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide-o,false,i)}break;case"next":o=s===0?n.options.slidesToScroll:s;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide+o,false,i)}break;case"index":var c=e.data.index===0?0:e.data.index||r.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(c),false,i);r.children().trigger("focus");break;default:return}};e.prototype.checkNavigable=function(t){var e=this,i,n;i=e.getNavigableIndexes();n=0;if(t>i[i.length-1]){t=i[i.length-1]}else{for(var r in i){if(t<i[r]){t=n;break}n=i[r]}}return t};e.prototype.cleanUpEvents=function(){var e=this;if(e.options.dots&&e.$dots!==null){t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,true)).off("mouseleave.slick",t.proxy(e.interrupt,e,false));if(e.options.accessibility===true){e.$dots.off("keydown.slick",e.keyHandler)}}e.$slider.off("focus.slick blur.slick");if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide);e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide);if(e.options.accessibility===true){e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler);e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler)}}e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler);e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler);e.$list.off("touchend.slick mouseup.slick",e.swipeHandler);e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler);e.$list.off("click.slick",e.clickHandler);t(document).off(e.visibilityChange,e.visibility);e.cleanUpSlideEvents();if(e.options.accessibility===true){e.$list.off("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){t(e.$slideTrack).children().off("click.slick",e.selectHandler)}t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange);t(window).off("resize.slick.slick-"+e.instanceUid,e.resize);t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault);t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)};e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,true));e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,false))};e.prototype.cleanUpRows=function(){var t=this,e;if(t.options.rows>0){e=t.$slides.children().children();e.removeAttr("style");t.$slider.empty().append(e)}};e.prototype.clickHandler=function(t){var e=this;if(e.shouldClick===false){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault()}};e.prototype.destroy=function(e){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();t(".slick-cloned",i.$slider).detach();if(i.$dots){i.$dots.remove()}if(i.$prevArrow&&i.$prevArrow.length){i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(i.htmlExpr.test(i.options.prevArrow)){i.$prevArrow.remove()}}if(i.$nextArrow&&i.$nextArrow.length){i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(i.htmlExpr.test(i.options.nextArrow)){i.$nextArrow.remove()}}if(i.$slides){i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))}));i.$slideTrack.children(this.options.slide).detach();i.$slideTrack.detach();i.$list.detach();i.$slider.append(i.$slides)}i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=true;if(!e){i.$slider.trigger("destroy",[i])}};e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="";if(e.options.fade===false){e.$slideTrack.css(i)}else{e.$slides.eq(t).css(i)}};e.prototype.fadeSlide=function(t,e){var i=this;if(i.cssTransitions===false){i.$slides.eq(t).css({zIndex:i.options.zIndex});i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)}else{i.applyTransition(t);i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex});if(e){setTimeout((function(){i.disableTransition(t);e.call()}),i.options.speed)}}};e.prototype.fadeSlideOut=function(t){var e=this;if(e.cssTransitions===false){e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing)}else{e.applyTransition(t);e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2})}};e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;if(t!==null){e.$slidesCache=e.$slides;e.unload();e.$slideTrack.children(this.options.slide).detach();e.$slidesCache.filter(t).appendTo(e.$slideTrack);e.reinit()}};e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=t(this);setTimeout((function(){if(e.options.pauseOnFocus){e.focussed=n.is(":focus");e.autoPlay()}}),0)}))};e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide};e.prototype.getDotCount=function(){var t=this;var e=0;var i=0;var n=0;if(t.options.infinite===true){if(t.slideCount<=t.options.slidesToShow){++n}else{while(e<t.slideCount){++n;e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}}}else if(t.options.centerMode===true){n=t.slideCount}else if(!t.options.asNavFor){n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll)}else{while(e<t.slideCount){++n;e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}}return n-1};e.prototype.getLeft=function(t){var e=this,i,n,r=0,s,o;e.slideOffset=0;n=e.$slides.first().outerHeight(true);if(e.options.infinite===true){if(e.slideCount>e.options.slidesToShow){e.slideOffset=e.slideWidth*e.options.slidesToShow*-1;o=-1;if(e.options.vertical===true&&e.options.centerMode===true){if(e.options.slidesToShow===2){o=-1.5}else if(e.options.slidesToShow===1){o=-2}}r=n*e.options.slidesToShow*o}if(e.slideCount%e.options.slidesToScroll!==0){if(t+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow){if(t>e.slideCount){e.slideOffset=(e.options.slidesToShow-(t-e.slideCount))*e.slideWidth*-1;r=(e.options.slidesToShow-(t-e.slideCount))*n*-1}else{e.slideOffset=e.slideCount%e.options.slidesToScroll*e.slideWidth*-1;r=e.slideCount%e.options.slidesToScroll*n*-1}}}}else{if(t+e.options.slidesToShow>e.slideCount){e.slideOffset=(t+e.options.slidesToShow-e.slideCount)*e.slideWidth;r=(t+e.options.slidesToShow-e.slideCount)*n}}if(e.slideCount<=e.options.slidesToShow){e.slideOffset=0;r=0}if(e.options.centerMode===true&&e.slideCount<=e.options.slidesToShow){e.slideOffset=e.slideWidth*Math.floor(e.options.slidesToShow)/2-e.slideWidth*e.slideCount/2}else if(e.options.centerMode===true&&e.options.infinite===true){e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)-e.slideWidth}else if(e.options.centerMode===true){e.slideOffset=0;e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)}if(e.options.vertical===false){i=t*e.slideWidth*-1+e.slideOffset}else{i=t*n*-1+r}if(e.options.variableWidth===true){if(e.slideCount<=e.options.slidesToShow||e.options.infinite===false){s=e.$slideTrack.children(".slick-slide").eq(t)}else{s=e.$slideTrack.children(".slick-slide").eq(t+e.options.slidesToShow)}if(e.options.rtl===true){if(s[0]){i=(e.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{i=0}}else{i=s[0]?s[0].offsetLeft*-1:0}if(e.options.centerMode===true){if(e.slideCount<=e.options.slidesToShow||e.options.infinite===false){s=e.$slideTrack.children(".slick-slide").eq(t)}else{s=e.$slideTrack.children(".slick-slide").eq(t+e.options.slidesToShow+1)}if(e.options.rtl===true){if(s[0]){i=(e.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{i=0}}else{i=s[0]?s[0].offsetLeft*-1:0}i+=(e.$list.width()-s.outerWidth())/2}}return i};e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]};e.prototype.getNavigableIndexes=function(){var t=this,e=0,i=0,n=[],r;if(t.options.infinite===false){r=t.slideCount}else{e=t.options.slidesToScroll*-1;i=t.options.slidesToScroll*-1;r=t.slideCount*2}while(e<r){n.push(e);e=i+t.options.slidesToScroll;i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow}return n};e.prototype.getSlick=function(){return this};e.prototype.getSlideCount=function(){var e=this,i,n,r;r=e.options.centerMode===true?e.slideWidth*Math.floor(e.options.slidesToShow/2):0;if(e.options.swipeToSlide===true){e.$slideTrack.find(".slick-slide").each((function(i,s){if(s.offsetLeft-r+t(s).outerWidth()/2>e.swipeLeft*-1){n=s;return false}}));i=Math.abs(t(n).attr("data-slick-index")-e.currentSlide)||1;return i}else{return e.options.slidesToScroll}};e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var i=this;i.changeSlide({data:{message:"index",index:parseInt(t)}},e)};e.prototype.init=function(e){var i=this;if(!t(i.$slider).hasClass("slick-initialized")){t(i.$slider).addClass("slick-initialized");i.buildRows();i.buildOut();i.setProps();i.startLoad();i.loadSlider();i.initializeEvents();i.updateArrows();i.updateDots();i.checkResponsive(true);i.focusHandler()}if(e){i.$slider.trigger("init",[i])}if(i.options.accessibility===true){i.initADA()}if(i.options.autoplay){i.paused=false;i.autoPlay()}};e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"});if(e.$dots!==null){e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var r=n.indexOf(i);t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1});if(r!==-1){var s="slick-slide-control"+e.instanceUid+r;if(t("#"+s).length){t(this).attr({"aria-describedby":s})}}}));e.$dots.attr("role","tablist").find("li").each((function(r){var s=n[r];t(this).attr({role:"presentation"});t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+r,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":r+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()}for(var r=e.currentSlide,s=r+e.options.slidesToShow;r<s;r++){if(e.options.focusOnChange){e.$slides.eq(r).attr({tabindex:"0"})}else{e.$slides.eq(r).removeAttr("tabindex")}}e.activateADA()};e.prototype.initArrowEvents=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide);t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide);if(t.options.accessibility===true){t.$prevArrow.on("keydown.slick",t.keyHandler);t.$nextArrow.on("keydown.slick",t.keyHandler)}}};e.prototype.initDotEvents=function(){var e=this;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide);if(e.options.accessibility===true){e.$dots.on("keydown.slick",e.keyHandler)}}if(e.options.dots===true&&e.options.pauseOnDotsHover===true&&e.slideCount>e.options.slidesToShow){t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,true)).on("mouseleave.slick",t.proxy(e.interrupt,e,false))}};e.prototype.initSlideEvents=function(){var e=this;if(e.options.pauseOnHover){e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,true));e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,false))}};e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents();e.initDotEvents();e.initSlideEvents();e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler);e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler);e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler);e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler);e.$list.on("click.slick",e.clickHandler);t(document).on(e.visibilityChange,t.proxy(e.visibility,e));if(e.options.accessibility===true){e.$list.on("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){t(e.$slideTrack).children().on("click.slick",e.selectHandler)}t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e));t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e));t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault);t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition);t(e.setPosition)};e.prototype.initUI=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.show();t.$nextArrow.show()}if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){t.$dots.show()}};e.prototype.keyHandler=function(t){var e=this;if(!t.target.tagName.match("TEXTAREA|INPUT|SELECT")){if(t.keyCode===37&&e.options.accessibility===true){e.changeSlide({data:{message:e.options.rtl===true?"next":"previous"}})}else if(t.keyCode===39&&e.options.accessibility===true){e.changeSlide({data:{message:e.options.rtl===true?"previous":"next"}})}}};e.prototype.lazyLoad=function(){var e=this,i,n,r,s;function o(i){t("img[data-lazy]",i).each((function(){var i=t(this),n=t(this).attr("data-lazy"),r=t(this).attr("data-srcset"),s=t(this).attr("data-sizes")||e.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){i.animate({opacity:0},100,(function(){if(r){i.attr("srcset",r);if(s){i.attr("sizes",s)}}i.attr("src",n).animate({opacity:1},200,(function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}));e.$slider.trigger("lazyLoaded",[e,i,n])}))};o.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");e.$slider.trigger("lazyLoadError",[e,i,n])};o.src=n}))}if(e.options.centerMode===true){if(e.options.infinite===true){r=e.currentSlide+(e.options.slidesToShow/2+1);s=r+e.options.slidesToShow+2}else{r=Math.max(0,e.currentSlide-(e.options.slidesToShow/2+1));s=2+(e.options.slidesToShow/2+1)+e.currentSlide}}else{r=e.options.infinite?e.options.slidesToShow+e.currentSlide:e.currentSlide;s=Math.ceil(r+e.options.slidesToShow);if(e.options.fade===true){if(r>0)r--;if(s<=e.slideCount)s++}}i=e.$slider.find(".slick-slide").slice(r,s);if(e.options.lazyLoad==="anticipated"){var a=r-1,c=s,u=e.$slider.find(".slick-slide");for(var l=0;l<e.options.slidesToScroll;l++){if(a<0)a=e.slideCount-1;i=i.add(u.eq(a));i=i.add(u.eq(c));a--;c++}}o(i);if(e.slideCount<=e.options.slidesToShow){n=e.$slider.find(".slick-slide");o(n)}else if(e.currentSlide>=e.slideCount-e.options.slidesToShow){n=e.$slider.find(".slick-cloned").slice(0,e.options.slidesToShow);o(n)}else if(e.currentSlide===0){n=e.$slider.find(".slick-cloned").slice(e.options.slidesToShow*-1);o(n)}};e.prototype.loadSlider=function(){var t=this;t.setPosition();t.$slideTrack.css({opacity:1});t.$slider.removeClass("slick-loading");t.initUI();if(t.options.lazyLoad==="progressive"){t.progressiveLazyLoad()}};e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})};e.prototype.orientationChange=function(){var t=this;t.checkResponsive();t.setPosition()};e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear();t.paused=true};e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay();t.options.autoplay=true;t.paused=false;t.focussed=false;t.interrupted=false};e.prototype.postSlide=function(e){var i=this;if(!i.unslicked){i.$slider.trigger("afterChange",[i,e]);i.animating=false;if(i.slideCount>i.options.slidesToShow){i.setPosition()}i.swipeLeft=null;if(i.options.autoplay){i.autoPlay()}if(i.options.accessibility===true){i.initADA();if(i.options.focusOnChange){var n=t(i.$slides.get(i.currentSlide));n.attr("tabindex",0).focus()}}}};e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})};e.prototype.preventDefault=function(t){t.preventDefault()};e.prototype.progressiveLazyLoad=function(e){e=e||1;var i=this,n=t("img[data-lazy]",i.$slider),r,s,o,a,c;if(n.length){r=n.first();s=r.attr("data-lazy");o=r.attr("data-srcset");a=r.attr("data-sizes")||i.$slider.attr("data-sizes");c=document.createElement("img");c.onload=function(){if(o){r.attr("srcset",o);if(a){r.attr("sizes",a)}}r.attr("src",s).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");if(i.options.adaptiveHeight===true){i.setPosition()}i.$slider.trigger("lazyLoaded",[i,r,s]);i.progressiveLazyLoad()};c.onerror=function(){if(e<3){setTimeout((function(){i.progressiveLazyLoad(e+1)}),500)}else{r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");i.$slider.trigger("lazyLoadError",[i,r,s]);i.progressiveLazyLoad()}};c.src=s}else{i.$slider.trigger("allImagesLoaded",[i])}};e.prototype.refresh=function(e){var i=this,n,r;r=i.slideCount-i.options.slidesToShow;if(!i.options.infinite&&i.currentSlide>r){i.currentSlide=r}if(i.slideCount<=i.options.slidesToShow){i.currentSlide=0}n=i.currentSlide;i.destroy(true);t.extend(i,i.initials,{currentSlide:n});i.init();if(!e){i.changeSlide({data:{message:"index",index:n}},false)}};e.prototype.registerBreakpoints=function(){var e=this,i,n,r,s=e.options.responsive||null;if(t.type(s)==="array"&&s.length){e.respondTo=e.options.respondTo||"window";for(i in s){r=e.breakpoints.length-1;if(s.hasOwnProperty(i)){n=s[i].breakpoint;while(r>=0){if(e.breakpoints[r]&&e.breakpoints[r]===n){e.breakpoints.splice(r,1)}r--}e.breakpoints.push(n);e.breakpointSettings[n]=s[i].settings}}e.breakpoints.sort((function(t,i){return e.options.mobileFirst?t-i:i-t}))}};e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide");e.slideCount=e.$slides.length;if(e.currentSlide>=e.slideCount&&e.currentSlide!==0){e.currentSlide=e.currentSlide-e.options.slidesToScroll}if(e.slideCount<=e.options.slidesToShow){e.currentSlide=0}e.registerBreakpoints();e.setProps();e.setupInfinite();e.buildArrows();e.updateArrows();e.initArrowEvents();e.buildDots();e.updateDots();e.initDotEvents();e.cleanUpSlideEvents();e.initSlideEvents();e.checkResponsive(false,true);if(e.options.focusOnSelect===true){t(e.$slideTrack).children().on("click.slick",e.selectHandler)}e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);e.setPosition();e.focusHandler();e.paused=!e.options.autoplay;e.autoPlay();e.$slider.trigger("reInit",[e])};e.prototype.resize=function(){var e=this;if(t(window).width()!==e.windowWidth){clearTimeout(e.windowDelay);e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width();e.checkResponsive();if(!e.unslicked){e.setPosition()}}),50)}};e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;if(typeof t==="boolean"){e=t;t=e===true?0:n.slideCount-1}else{t=e===true?--t:t}if(n.slideCount<1||t<0||t>n.slideCount-1){return false}n.unload();if(i===true){n.$slideTrack.children().remove()}else{n.$slideTrack.children(this.options.slide).eq(t).remove()}n.$slides=n.$slideTrack.children(this.options.slide);n.$slideTrack.children(this.options.slide).detach();n.$slideTrack.append(n.$slides);n.$slidesCache=n.$slides;n.reinit()};e.prototype.setCSS=function(t){var e=this,i={},n,r;if(e.options.rtl===true){t=-t}n=e.positionProp=="left"?Math.ceil(t)+"px":"0px";r=e.positionProp=="top"?Math.ceil(t)+"px":"0px";i[e.positionProp]=t;if(e.transformsEnabled===false){e.$slideTrack.css(i)}else{i={};if(e.cssTransitions===false){i[e.animType]="translate("+n+", "+r+")";e.$slideTrack.css(i)}else{i[e.animType]="translate3d("+n+", "+r+", 0px)";e.$slideTrack.css(i)}}};e.prototype.setDimensions=function(){var t=this;if(t.options.vertical===false){if(t.options.centerMode===true){t.$list.css({padding:"0px "+t.options.centerPadding})}}else{t.$list.height(t.$slides.first().outerHeight(true)*t.options.slidesToShow);if(t.options.centerMode===true){t.$list.css({padding:t.options.centerPadding+" 0px"})}}t.listWidth=t.$list.width();t.listHeight=t.$list.height();if(t.options.vertical===false&&t.options.variableWidth===false){t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow);t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))}else if(t.options.variableWidth===true){t.$slideTrack.width(5e3*t.slideCount)}else{t.slideWidth=Math.ceil(t.listWidth);t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(true)*t.$slideTrack.children(".slick-slide").length))}var e=t.$slides.first().outerWidth(true)-t.$slides.first().width();if(t.options.variableWidth===false)t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)};e.prototype.setFade=function(){var e=this,i;e.$slides.each((function(n,r){i=e.slideWidth*n*-1;if(e.options.rtl===true){t(r).css({position:"relative",right:i,top:0,zIndex:e.options.zIndex-2,opacity:0})}else{t(r).css({position:"relative",left:i,top:0,zIndex:e.options.zIndex-2,opacity:0})}}));e.$slides.eq(e.currentSlide).css({zIndex:e.options.zIndex-1,opacity:1})};e.prototype.setHeight=function(){var t=this;if(t.options.slidesToShow===1&&t.options.adaptiveHeight===true&&t.options.vertical===false){var e=t.$slides.eq(t.currentSlide).outerHeight(true);t.$list.css("height",e)}};e.prototype.setOption=e.prototype.slickSetOption=function(){var e=this,i,n,r,s,o=false,a;if(t.type(arguments[0])==="object"){r=arguments[0];o=arguments[1];a="multiple"}else if(t.type(arguments[0])==="string"){r=arguments[0];s=arguments[1];o=arguments[2];if(arguments[0]==="responsive"&&t.type(arguments[1])==="array"){a="responsive"}else if(typeof arguments[1]!=="undefined"){a="single"}}if(a==="single"){e.options[r]=s}else if(a==="multiple"){t.each(r,(function(t,i){e.options[t]=i}))}else if(a==="responsive"){for(n in s){if(t.type(e.options.responsive)!=="array"){e.options.responsive=[s[n]]}else{i=e.options.responsive.length-1;while(i>=0){if(e.options.responsive[i].breakpoint===s[n].breakpoint){e.options.responsive.splice(i,1)}i--}e.options.responsive.push(s[n])}}}if(o){e.unload();e.reinit()}};e.prototype.setPosition=function(){var t=this;t.setDimensions();t.setHeight();if(t.options.fade===false){t.setCSS(t.getLeft(t.currentSlide))}else{t.setFade()}t.$slider.trigger("setPosition",[t])};e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===true?"top":"left";if(t.positionProp==="top"){t.$slider.addClass("slick-vertical")}else{t.$slider.removeClass("slick-vertical")}if(e.WebkitTransition!==undefined||e.MozTransition!==undefined||e.msTransition!==undefined){if(t.options.useCSS===true){t.cssTransitions=true}}if(t.options.fade){if(typeof t.options.zIndex==="number"){if(t.options.zIndex<3){t.options.zIndex=3}}else{t.options.zIndex=t.defaults.zIndex}}if(e.OTransform!==undefined){t.animType="OTransform";t.transformType="-o-transform";t.transitionType="OTransition";if(e.perspectiveProperty===undefined&&e.webkitPerspective===undefined)t.animType=false}if(e.MozTransform!==undefined){t.animType="MozTransform";t.transformType="-moz-transform";t.transitionType="MozTransition";if(e.perspectiveProperty===undefined&&e.MozPerspective===undefined)t.animType=false}if(e.webkitTransform!==undefined){t.animType="webkitTransform";t.transformType="-webkit-transform";t.transitionType="webkitTransition";if(e.perspectiveProperty===undefined&&e.webkitPerspective===undefined)t.animType=false}if(e.msTransform!==undefined){t.animType="msTransform";t.transformType="-ms-transform";t.transitionType="msTransition";if(e.msTransform===undefined)t.animType=false}if(e.transform!==undefined&&t.animType!==false){t.animType="transform";t.transformType="transform";t.transitionType="transition"}t.transformsEnabled=t.options.useTransform&&(t.animType!==null&&t.animType!==false)};e.prototype.setSlideClasses=function(t){var e=this,i,n,r,s;n=e.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");e.$slides.eq(t).addClass("slick-current");if(e.options.centerMode===true){var o=e.options.slidesToShow%2===0?1:0;i=Math.floor(e.options.slidesToShow/2);if(e.options.infinite===true){if(t>=i&&t<=e.slideCount-1-i){e.$slides.slice(t-i+o,t+i+1).addClass("slick-active").attr("aria-hidden","false")}else{r=e.options.slidesToShow+t;n.slice(r-i+1+o,r+i+2).addClass("slick-active").attr("aria-hidden","false")}if(t===0){n.eq(n.length-1-e.options.slidesToShow).addClass("slick-center")}else if(t===e.slideCount-1){n.eq(e.options.slidesToShow).addClass("slick-center")}}e.$slides.eq(t).addClass("slick-center")}else{if(t>=0&&t<=e.slideCount-e.options.slidesToShow){e.$slides.slice(t,t+e.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}else if(n.length<=e.options.slidesToShow){n.addClass("slick-active").attr("aria-hidden","false")}else{s=e.slideCount%e.options.slidesToShow;r=e.options.infinite===true?e.options.slidesToShow+t:t;if(e.options.slidesToShow==e.options.slidesToScroll&&e.slideCount-t<e.options.slidesToShow){n.slice(r-(e.options.slidesToShow-s),r+s).addClass("slick-active").attr("aria-hidden","false")}else{n.slice(r,r+e.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}}}if(e.options.lazyLoad==="ondemand"||e.options.lazyLoad==="anticipated"){e.lazyLoad()}};e.prototype.setupInfinite=function(){var e=this,i,n,r;if(e.options.fade===true){e.options.centerMode=false}if(e.options.infinite===true&&e.options.fade===false){n=null;if(e.slideCount>e.options.slidesToShow){if(e.options.centerMode===true){r=e.options.slidesToShow+1}else{r=e.options.slidesToShow}for(i=e.slideCount;i>e.slideCount-r;i-=1){n=i-1;t(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n-e.slideCount).prependTo(e.$slideTrack).addClass("slick-cloned")}for(i=0;i<r+e.slideCount;i+=1){n=i;t(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n+e.slideCount).appendTo(e.$slideTrack).addClass("slick-cloned")}e.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}}};e.prototype.interrupt=function(t){var e=this;if(!t){e.autoPlay()}e.interrupted=t};e.prototype.selectHandler=function(e){var i=this;var n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide");var r=parseInt(n.attr("data-slick-index"));if(!r)r=0;if(i.slideCount<=i.options.slidesToShow){i.slideHandler(r,false,true);return}i.slideHandler(r)};e.prototype.slideHandler=function(t,e,i){var n,r,s,o,a=null,c=this,u;e=e||false;if(c.animating===true&&c.options.waitForAnimate===true){return}if(c.options.fade===true&&c.currentSlide===t){return}if(e===false){c.asNavFor(t)}n=t;a=c.getLeft(n);o=c.getLeft(c.currentSlide);c.currentLeft=c.swipeLeft===null?o:c.swipeLeft;if(c.options.infinite===false&&c.options.centerMode===false&&(t<0||t>c.getDotCount()*c.options.slidesToScroll)){if(c.options.fade===false){n=c.currentSlide;if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(o,(function(){c.postSlide(n)}))}else{c.postSlide(n)}}return}else if(c.options.infinite===false&&c.options.centerMode===true&&(t<0||t>c.slideCount-c.options.slidesToScroll)){if(c.options.fade===false){n=c.currentSlide;if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(o,(function(){c.postSlide(n)}))}else{c.postSlide(n)}}return}if(c.options.autoplay){clearInterval(c.autoPlayTimer)}if(n<0){if(c.slideCount%c.options.slidesToScroll!==0){r=c.slideCount-c.slideCount%c.options.slidesToScroll}else{r=c.slideCount+n}}else if(n>=c.slideCount){if(c.slideCount%c.options.slidesToScroll!==0){r=0}else{r=n-c.slideCount}}else{r=n}c.animating=true;c.$slider.trigger("beforeChange",[c,c.currentSlide,r]);s=c.currentSlide;c.currentSlide=r;c.setSlideClasses(c.currentSlide);if(c.options.asNavFor){u=c.getNavTarget();u=u.slick("getSlick");if(u.slideCount<=u.options.slidesToShow){u.setSlideClasses(c.currentSlide)}}c.updateDots();c.updateArrows();if(c.options.fade===true){if(i!==true){c.fadeSlideOut(s);c.fadeSlide(r,(function(){c.postSlide(r)}))}else{c.postSlide(r)}c.animateHeight();return}if(i!==true&&c.slideCount>c.options.slidesToShow){c.animateSlide(a,(function(){c.postSlide(r)}))}else{c.postSlide(r)}};e.prototype.startLoad=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow.hide();t.$nextArrow.hide()}if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){t.$dots.hide()}t.$slider.addClass("slick-loading")};e.prototype.swipeDirection=function(){var t,e,i,n,r=this;t=r.touchObject.startX-r.touchObject.curX;e=r.touchObject.startY-r.touchObject.curY;i=Math.atan2(e,t);n=Math.round(i*180/Math.PI);if(n<0){n=360-Math.abs(n)}if(n<=45&&n>=0){return r.options.rtl===false?"left":"right"}if(n<=360&&n>=315){return r.options.rtl===false?"left":"right"}if(n>=135&&n<=225){return r.options.rtl===false?"right":"left"}if(r.options.verticalSwiping===true){if(n>=35&&n<=135){return"down"}else{return"up"}}return"vertical"};e.prototype.swipeEnd=function(t){var e=this,i,n;e.dragging=false;e.swiping=false;if(e.scrolling){e.scrolling=false;return false}e.interrupted=false;e.shouldClick=e.touchObject.swipeLength>10?false:true;if(e.touchObject.curX===undefined){return false}if(e.touchObject.edgeHit===true){e.$slider.trigger("edge",[e,e.swipeDirection()])}if(e.touchObject.swipeLength>=e.touchObject.minSwipe){n=e.swipeDirection();switch(n){case"left":case"down":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount();e.currentDirection=0;break;case"right":case"up":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount();e.currentDirection=1;break}if(n!="vertical"){e.slideHandler(i);e.touchObject={};e.$slider.trigger("swipe",[e,n])}}else{if(e.touchObject.startX!==e.touchObject.curX){e.slideHandler(e.currentSlide);e.touchObject={}}}};e.prototype.swipeHandler=function(t){var e=this;if(e.options.swipe===false||"ontouchend"in document&&e.options.swipe===false){return}else if(e.options.draggable===false&&t.type.indexOf("mouse")!==-1){return}e.touchObject.fingerCount=t.originalEvent&&t.originalEvent.touches!==undefined?t.originalEvent.touches.length:1;e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold;if(e.options.verticalSwiping===true){e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold}switch(t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t);break}};e.prototype.swipeMove=function(t){var e=this,i,n,r,s,o,a;o=t.originalEvent!==undefined?t.originalEvent.touches:null;if(!e.dragging||e.scrolling||o&&o.length!==1){return false}i=e.getLeft(e.currentSlide);e.touchObject.curX=o!==undefined?o[0].pageX:t.clientX;e.touchObject.curY=o!==undefined?o[0].pageY:t.clientY;e.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(e.touchObject.curX-e.touchObject.startX,2)));a=Math.round(Math.sqrt(Math.pow(e.touchObject.curY-e.touchObject.startY,2)));if(!e.options.verticalSwiping&&!e.swiping&&a>4){e.scrolling=true;return false}if(e.options.verticalSwiping===true){e.touchObject.swipeLength=a}n=e.swipeDirection();if(t.originalEvent!==undefined&&e.touchObject.swipeLength>4){e.swiping=true;t.preventDefault()}s=(e.options.rtl===false?1:-1)*(e.touchObject.curX>e.touchObject.startX?1:-1);if(e.options.verticalSwiping===true){s=e.touchObject.curY>e.touchObject.startY?1:-1}r=e.touchObject.swipeLength;e.touchObject.edgeHit=false;if(e.options.infinite===false){if(e.currentSlide===0&&n==="right"||e.currentSlide>=e.getDotCount()&&n==="left"){r=e.touchObject.swipeLength*e.options.edgeFriction;e.touchObject.edgeHit=true}}if(e.options.vertical===false){e.swipeLeft=i+r*s}else{e.swipeLeft=i+r*(e.$list.height()/e.listWidth)*s}if(e.options.verticalSwiping===true){e.swipeLeft=i+r*s}if(e.options.fade===true||e.options.touchMove===false){return false}if(e.animating===true){e.swipeLeft=null;return false}e.setCSS(e.swipeLeft)};e.prototype.swipeStart=function(t){var e=this,i;e.interrupted=true;if(e.touchObject.fingerCount!==1||e.slideCount<=e.options.slidesToShow){e.touchObject={};return false}if(t.originalEvent!==undefined&&t.originalEvent.touches!==undefined){i=t.originalEvent.touches[0]}e.touchObject.startX=e.touchObject.curX=i!==undefined?i.pageX:t.clientX;e.touchObject.startY=e.touchObject.curY=i!==undefined?i.pageY:t.clientY;e.dragging=true};e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;if(t.$slidesCache!==null){t.unload();t.$slideTrack.children(this.options.slide).detach();t.$slidesCache.appendTo(t.$slideTrack);t.reinit()}};e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove();if(e.$dots){e.$dots.remove()}if(e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.remove()}if(e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.remove()}e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]);e.destroy()};e.prototype.updateArrows=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow&&!t.options.infinite){t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false");t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false");if(t.currentSlide===0){t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(t.currentSlide>=t.slideCount-t.options.slidesToShow&&t.options.centerMode===false){t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(t.currentSlide>=t.slideCount-1&&t.options.centerMode===true){t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}}};e.prototype.updateDots=function(){var t=this;if(t.$dots!==null){t.$dots.find("li").removeClass("slick-active").end();t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active")}};e.prototype.visibility=function(){var t=this;if(t.options.autoplay){if(document[t.hidden]){t.interrupted=true}else{t.interrupted=false}}};t.fn.slick=function(){var t=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),r=t.length,s,o;for(s=0;s<r;s++){if(typeof i=="object"||typeof i=="undefined")t[s].slick=new e(t[s],i);else o=t[s].slick[i].apply(t[s].slick,n);if(typeof o!="undefined")return o}return t}}))}));const u="";const l=class{constructor(e){t(this,e);this.content=undefined}componentDidLoad(){const t=c(".album-full-content");const e=c(".album-preview-content");t.slick({lazyLoad:"progressive",autoplay:true,autoplaySpeed:6e3,fade:true,asNavFor:e,arrows:false,rows:0});e.slick({lazyLoad:"ondemand",slidesToShow:Math.min(7,this.content.album.images.length),slidesToScroll:1,infinite:true,arrows:false,centerMode:true,centerPadding:"0",focusOnSelect:true,asNavFor:t,responsive:[{breakpoint:1024,settings:{slidesToShow:7}},{breakpoint:768,settings:{slidesToShow:5}},{breakpoint:378,settings:{slidesToShow:3}}],rows:0})}render(){return e("div",{class:"card border-0"},e("div",{class:"card-body"},e("div",{class:"album-full-content mb-3"},this.content.album.images.sort(((t,e)=>{var i,n;return((i=t.order)!==null&&i!==void 0?i:0)-((n=e.order)!==null&&n!==void 0?n:0)})).map((t=>{var i;return e("div",{class:"album-full-content-item"},e("div",{class:"ratio ratio-4x3 mx-auto",style:{"max-width":"50%"}},e("img",{class:"object-fit-cover h-100","data-lazy":(i=t.optimizedImage)!==null&&i!==void 0?i:t.url})))}))),e("div",{class:"album-preview-content"},this.content.album.images.sort(((t,e)=>{var i,n;return((i=t.order)!==null&&i!==void 0?i:0)-((n=e.order)!==null&&n!==void 0?n:0)})).map((t=>{var i;return e("div",{class:"album-preview-content-item"},e("div",{class:"ratio ratio-1x1 mx-auto",style:{"max-width":"90%"}},e("img",{class:"object-fit-cover h-100","data-lazy":(i=t.optimizedImage)!==null&&i!==void 0?i:t.url})))})))))}};l.style=u;var f;(function(t){t["BULLET"]="BULLET";t["TEXT"]="TEXT";t["VIDEO"]="VIDEO";t["TABLE"]="TABLE";t["HEADING"]="HEADING";t["TITLE"]="TITLE";t["CONTENT_CARD"]="CONTENT_CARD";t["TESTIMONIAL"]="TESTIMONIAL";t["PRODUCT"]="PRODUCT";t["NEWS"]="NEWS";t["ASKING"]="ASKING";t["AGENDA"]="AGENDA";t["LIST_ASKING"]="LIST_ASKING";t["LIST_AGENDA"]="LIST_AGENDA";t["CRM"]="CRM";t["B2B"]="B2B";t["FORM_BUILDER"]="FORM_BUILDER";t["BLOCK_QUOTE"]="BLOCK_QUOTE";t["FAQ"]="FAQ";t["COURSE"]="COURSE";t["DOCUMENT"]="DOCUMENT";t["LINK"]="LINK";t["HTML"]="HTML";t["DIVIDER"]="DIVIDER";t["COLLECTION"]="COLLECTION";t["CAROUSEL"]="CAROUSEL";t["PAGE"]="PAGE";t["ALBUM"]="ALBUM";t["UPLOAD"]="UPLOAD"})(f||(f={}));const h=({condition:t},e)=>t?e:[];const d=t=>{const e=new Headers;e.append("Accept","application/vnd.api+json");e.append("Authorization",`Bearer ${t}`);return e};const p=(t,e,i,n)=>new Request(new URL(`${e}?${i.toString()}`,t.baseApi),{headers:d(t.bearerToken),signal:n});function v(t,e,i){for(const n of i){t.append(e,n)}}async function g(t,e,i,n,r=[],s=[],o=[],a=[]){const c=new URLSearchParams;c.set("page[number]",String(e));c.set("page[size]",String(i));c.set("sort","-publishDate");c.set("filter[isActive]","1");c.set("filter[excludeTag][]","Eisnull");v(c,"filter[channel][]",r);v(c,"filter[sellerIds][]",s);v(c,"filter[brandId][]",o);v(c,"filter[newsLanguage][]",a);const u=p(t,"news",c,n);const l=await fetch(u);return await l.json()}async function m(t,e,i,n,r=[],s=[],o=[],a=[]){const c=new URLSearchParams;c.set("page[number]",String(e));c.set("page[size]",String(i));c.set("sort","-publishDate");c.set("filter[isActive]","1");c.set("filter[isSpecialArticle]","1");c.set("filter[isLightVersion]","true");c.set("filter[excludeTag][]","Eisnull");v(c,"filter[channel][]",r);v(c,"filter[sellerIds][]",s);v(c,"filter[brandId][]",o);v(c,"filter[newsLanguage][]",a);const u=p(t,"news",c,n);const l=await fetch(u);return await l.json()}async function b(t,e,i){const n=p(t,`news/${e}`,new URLSearchParams,i);const r=await fetch(n);const s=await r.json();return s.data}async function w(t,e,i){const n=new URLSearchParams;n.set("filter[urlHandle]",e);const r=p(t,"news",n,i);const s=await fetch(r);const o=await s.json();return o.data.length===1?o.data[0]:undefined}function y(t){switch(t){case"extra-small":return"28%";case"small":return"40%";case"large":return"80%";case"extra large":return"100%";default:return"60%"}}function k(t){const e=/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#&?]*).*/;const i=t.match(e);if(i&&i[1].length==11){return`https://www.youtube.com/embed/${i[1]}`}return null}function x(t){if(!t||t===" "){return true}return false}function $(t){const e=[];for(const i of Object.entries(t)){if(i[1]){e.push(i[0])}}return e.join(" ")}const A="";const _=class{constructor(e){t(this,e);this.dateOptions={day:"numeric",month:"long",year:"numeric"};this.article=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false}render(){var t,n,r,s;const o=(t=this.article.attributes.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const a=(r=(n=this.article.attributes.newsCategory)===null||n===void 0?void 0:n.translations.find((t=>t.locale===this.locale)))!==null&&r!==void 0?r:null;const c=new Date(this.article.attributes.publishDate);const u=this.article.attributes.contentBuilder.rows.sort(((t,e)=>t.order-e.order)).map(((t,e)=>this.mapRowContent(t,e)));return e(i,null,e("figure",null,e("blockquote",{class:"blockquote"},e("h2",{class:"text-uppercase"},(s=o===null||o===void 0?void 0:o.name)!==null&&s!==void 0?s:this.article.attributes.name)),e(h,{condition:!this.hideDateAndAuthor},e("figcaption",{class:"blockquote-footer mb-1"},c.toLocaleDateString("en-US",this.dateOptions)," by ",e("cite",{title:"Author"},this.article.attributes.author))),e(h,{condition:!this.hideCategoryAndTags&&!x(a===null||a===void 0?void 0:a.webName)},e("span",{class:"badge bg-info text-dark"},a===null||a===void 0?void 0:a.webName))),e("div",{class:"content-wrapper"},u),e(h,{condition:!this.hideCategoryAndTags},this.article.attributes.newsTags.map((t=>{var i;const n=(i=t.translations.find((t=>t.locale===this.locale)))!==null&&i!==void 0?i:null;return e(h,{condition:!x(n===null||n===void 0?void 0:n.webName)},e("span",{class:"badge bg-light text-dark"},n.webName))}))))}mapRowContent(t,i){const n=t.columns.map(((t,e)=>this.mapColumnContent(t,e)));return e("div",{class:`content-row content-row-index-${i}`},n)}mapColumnContent(t,i){const n=t.contentContainer.contents.sort(((t,e)=>{var i,n;return((i=t.sort)!==null&&i!==void 0?i:0)-((n=e.sort)!==null&&n!==void 0?n:0)})).map(((t,e)=>this.mapContent(t,e)));return e("div",{class:`content-column content-column-index-${i}`},n)}mapContent(t,i){return e("div",{class:`content-data-wrapper content-data-wrapper-index-${i}`},this.mapContentData(t.type,t.contentData))}mapContentData(t,i){switch(t){case f.ALBUM:return e("aico-album-content",{content:i});case f.ASKING:return e("aico-asking-content",{content:i,locale:this.locale});case f.BLOCK_QUOTE:return e("aico-block-quote-content",{content:i,locale:this.locale});case f.BULLET:return e("aico-bullet-content",{content:i,locale:this.locale});case f.CAROUSEL:return e("aico-carousel-content",{content:i,locale:this.locale});case f.CONTENT_CARD:return e("aico-content-card-content",{content:i,locale:this.locale});case f.DIVIDER:return e("aico-divider-content",{content:i,locale:this.locale});case f.DOCUMENT:return e("aico-document-content",{content:i,locale:this.locale});case f.FAQ:return e("aico-faq-content",{content:i,locale:this.locale});case f.HEADING:return e("aico-heading-content",{content:i,locale:this.locale});case f.HTML:return e("aico-html-content",{content:i,locale:this.locale});case f.LINK:return e("aico-link-content",{content:i,locale:this.locale});case f.NEWS:return e("aico-news-content",{content:i});case f.PAGE:return e("aico-page-content",{content:i,locale:this.locale});case f.TABLE:return e("aico-table-content",{content:i,locale:this.locale});case f.TESTIMONIAL:return e("aico-testimonial-content",{content:i});case f.TEXT:return e("aico-text-content",{content:i,locale:this.locale});case f.TITLE:return e("aico-title-content",{content:i,locale:this.locale});case f.UPLOAD:return e("aico-upload-content",{content:i,locale:this.locale});case f.VIDEO:return e("aico-video-content",{content:i,locale:this.locale});case f.PRODUCT:case f.AGENDA:case f.LIST_ASKING:case f.LIST_AGENDA:case f.CRM:case f.B2B:case f.FORM_BUILDER:case f.COURSE:case f.COLLECTION:default:return e("div",{class:"content-data content-data-not-handled"},"Content type not handled.")}}};_.style=A;const j=".sc-aico-asking-content-h{display:block}.card.sc-aico-asking-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0, 0, 0, 0.125);border-radius:0.25rem}.card-img-top.sc-aico-asking-content{border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.card-body.sc-aico-asking-content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title.sc-aico-asking-content{margin-bottom:0.75rem}.team-table.sc-aico-asking-content,.more-details-table.sc-aico-asking-content{border:0;color:black;border-collapse:collapse}.more-details-table.sc-aico-asking-content th.sc-aico-asking-content{text-transform:uppercase}.more-details-table.sc-aico-asking-content{width:100%;text-align:left;margin-left:1%}.team-table.sc-aico-asking-content{width:100%;max-width:700px;margin:1rem 0}.more-details-table.sc-aico-asking-content tr.sc-aico-asking-content:nth-child(odd){background-color:#fafafa}";const T=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.asking.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e("div",{class:"card"},e("div",{class:"card-body"},e("div",{class:"card-text d-block"},e("h1",{class:"card-title"},"Asking"),e("table",{class:"team-table"},e("tbody",null,e("tr",{class:"agenda-event"},e("td",null,e("h3",null,this.content.asking.startsAt.toLocaleDateString())),e("td",null,`${this.content.asking.startTime.toLocaleDateString()} - ${(n=(i=this.content.asking.endTime)===null||i===void 0?void 0:i.toLocaleDateString())!==null&&n!==void 0?n:"N/A"}`),e("td",{style:{width:"49%"}},r===null||r===void 0?void 0:r.title)),e("tr",{class:"event-details"},e("td",{colSpan:3,style:{padding:"0"}},e("table",{class:"more-details-table"},e("tbody",null,e("tr",null,e("th",null,"Description"),e("td",null,this.content.asking.description)),e("tr",null,e("th",null,"Gathering"),e("td",null,this.content.asking.meetingPoint)),e("tr",null,e("th",null,"Place (Address)"),e("td",null,this.content.asking.location)),e("tr",null,e("th",null,"Asking for"),e("td",{style:{"white-space":"pre"}},this.content.asking.recipents)),e("tr",null,e("th",null,"Clothing / Equipment"),e("td",{style:{"white-space":"pre"}},this.content.asking.clothingEquipment)),e("tr",null,e("th",null,"Provisions"),e("td",null,this.content.asking.catering)),e("tr",null,e("th",null,"Coaching"),e("td",null,this.content.asking.coaching)))))))))))}};T.style=j;const E="";const M=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null},e("blockquote",{class:"blockquote",style:{"background-color":this.content.quotesColor}},e("p",{class:"mb-2",style:{color:this.content.textColor}},i.quoteText),e("footer",{class:"blockquote-footer ms-2",style:{color:this.content.authorColor}},i.quoteAuthorLine)))}};M.style=E;const O="";const C=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n=new Map;if(this.content.fontSize){n.set("font-size",this.content.fontSize)}if(this.content.fontFamily){n.set("font-family",this.content.fontFamily)}return e("div",{class:"content",style:Object.fromEntries(n)},e(h,{condition:i!==null},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("ul",null,this.content.bulletBullets.sort(((t,e)=>{var i,n;return((i=t.sort)!==null&&i!==void 0?i:0)-((n=e.sort)!==null&&n!==void 0?n:0)})).map((t=>{if(t.translations.length===0){return null}const i=t.translations.find((t=>t.locale===this.locale));if(x(i===null||i===void 0?void 0:i.text)){return null}return e("li",null,i===null||i===void 0?void 0:i.text)}))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",translations:[Object.assign({},t)]}}};C.style=O;const I="";const S=class{constructor(e){t(this,e);this.content=undefined;this.hasArrows=true;this.locale="de"}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,fade:true,dots:true,arrows:this.hasArrows,pauseOnDotsHover:true})}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e("div",{class:"carousel"},this.content.contentCarouselImages.sort(((t,e)=>t.order-e.order)).map((t=>{var i;const n=(i=t.translations.find((t=>t.locale===this.locale)))!==null&&i!==void 0?i:null;return e("div",{class:"carousel-item card text-bg-dark text-white"},e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img d-block object-fit-cover",alt:"Carousel Picture","data-lazy":n===null||n===void 0?void 0:n.picture})),e(h,{condition:t.translations.length>0&&!x(n===null||n===void 0?void 0:n.title)},e("div",{class:"card-img-overlay d-flex align-items-end"},e("h5",{class:"card-title text-uppercase"},n===null||n===void 0?void 0:n.title))))}))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};S.style=I;const D="";const L=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e("div",{class:"card",style:{width:"18rem"}},e(h,{condition:!x(this.content.picture)},e("img",{class:"card-img-top",alt:"Card picture",src:this.content.picture})),e("div",{class:"card-body"},e(h,{condition:!x(n===null||n===void 0?void 0:n.title)},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(this.content.link)},e("a",{class:"card-link",href:this.content.link,target:"_blank"},(i=n===null||n===void 0?void 0:n.linkText)!==null&&i!==void 0?i:"link"))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",translations:[Object.assign({},t)]}}};L.style=D;const z="";const N=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n?n.isOnlyMargin:this.content.isOnlyMargin;return e(i,null,r?e("div",{style:{"padding-top":"40px"}}):e("hr",{style:{margin:"5px"}}))}};N.style=z;const P=".sc-aico-document-content-h{--hover-button-color:unset}.button-link.sc-aico-document-content:hover{background-color:var(--hover-button-color)!important;opacity:0.85}";const R=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r={};const s={};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`;s["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){r["font-family"]=this.content.fontFamily;s["font-family"]=this.content.fontFamily}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonTextColor){s["color"]=this.content.buttonTextColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonBackgroundColor){s["background-color"]=this.content.buttonBackgroundColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonBorderColor){s["border-color"]=this.content.buttonBorderColor}if(this.content.isDocumentDisplayedAsButton&&this.content.buttonHoverColor){s["--hover-button-color"]=this.content.buttonHoverColor}return e("div",{class:"card"},e(h,{condition:!x(n===null||n===void 0?void 0:n.picture)},e("img",{class:"card-img-top",alt:"image",src:n.picture})),e("div",{class:"card-body"},e(h,{condition:!x(this.content.link)},e("a",{class:"card-link",style:r,href:this.content.link},this.content.link)),e(h,{condition:!x(n===null||n===void 0?void 0:n.document)},e("a",{href:n.document,target:"_blank",style:s,class:`card-link align-middle ${this.content.isDocumentDisplayedAsButton?"btn button-link":""}`},e("i",null,e("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 50 50"},e("path",{d:"M 7 2 L 7 48 L 43 48 L 43 14.59375 L 42.71875 14.28125 L 30.71875 2.28125 L 30.40625 2 Z M 9 4 L 29 4 L 29 16 L 41 16 L 41 46 L 9 46 Z M 31 5.4375 L 39.5625 14 L 31 14 Z"}))),(i=n.title)!==null&&i!==void 0?i:"File"))))}};R.style=P;var B="top";var F="bottom";var H="right";var W="left";var U="auto";var q=[B,F,H,W];var G="start";var Z="end";var Q="clippingParents";var Y="viewport";var J="popper";var V="reference";var X=q.reduce((function(t,e){return t.concat([e+"-"+G,e+"-"+Z])}),[]);var K=[].concat(q,[U]).reduce((function(t,e){return t.concat([e,e+"-"+G,e+"-"+Z])}),[]);var tt="beforeRead";var et="read";var it="afterRead";var nt="beforeMain";var rt="main";var st="afterMain";var ot="beforeWrite";var at="write";var ct="afterWrite";var ut=[tt,et,it,nt,rt,st,ot,at,ct];function lt(t){return t?(t.nodeName||"").toLowerCase():null}function ft(t){if(t==null){return window}if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function ht(t){var e=ft(t).Element;return t instanceof e||t instanceof Element}function dt(t){var e=ft(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function pt(t){if(typeof ShadowRoot==="undefined"){return false}var e=ft(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function vt(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{};var n=e.attributes[t]||{};var r=e.elements[t];if(!dt(r)||!lt(r)){return}Object.assign(r.style,i);Object.keys(n).forEach((function(t){var e=n[t];if(e===false){r.removeAttribute(t)}else{r.setAttribute(t,e===true?"":e)}}))}))}function gt(t){var e=t.state;var i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper);e.styles=i;if(e.elements.arrow){Object.assign(e.elements.arrow.style,i.arrow)}return function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t];var r=e.attributes[t]||{};var s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]);var o=s.reduce((function(t,e){t[e]="";return t}),{});if(!dt(n)||!lt(n)){return}Object.assign(n.style,o);Object.keys(r).forEach((function(t){n.removeAttribute(t)}))}))}}const mt={name:"applyStyles",enabled:true,phase:"write",fn:vt,effect:gt,requires:["computeStyles"]};function bt(t){return t.split("-")[0]}var wt=Math.max;var yt=Math.min;var kt=Math.round;function xt(){var t=navigator.userAgentData;if(t!=null&&t.brands&&Array.isArray(t.brands)){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function $t(){return!/^((?!chrome|android).)*safari/i.test(xt())}function At(t,e,i){if(e===void 0){e=false}if(i===void 0){i=false}var n=t.getBoundingClientRect();var r=1;var s=1;if(e&&dt(t)){r=t.offsetWidth>0?kt(n.width)/t.offsetWidth||1:1;s=t.offsetHeight>0?kt(n.height)/t.offsetHeight||1:1}var o=ht(t)?ft(t):window,a=o.visualViewport;var c=!$t()&&i;var u=(n.left+(c&&a?a.offsetLeft:0))/r;var l=(n.top+(c&&a?a.offsetTop:0))/s;var f=n.width/r;var h=n.height/s;return{width:f,height:h,top:l,right:u+f,bottom:l+h,left:u,x:u,y:l}}function _t(t){var e=At(t);var i=t.offsetWidth;var n=t.offsetHeight;if(Math.abs(e.width-i)<=1){i=e.width}if(Math.abs(e.height-n)<=1){n=e.height}return{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function jt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e)){return true}else if(i&&pt(i)){var n=e;do{if(n&&t.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function Tt(t){return ft(t).getComputedStyle(t)}function Et(t){return["table","td","th"].indexOf(lt(t))>=0}function Mt(t){return((ht(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ot(t){if(lt(t)==="html"){return t}return t.assignedSlot||t.parentNode||(pt(t)?t.host:null)||Mt(t)}function Ct(t){if(!dt(t)||Tt(t).position==="fixed"){return null}return t.offsetParent}function It(t){var e=/firefox/i.test(xt());var i=/Trident/i.test(xt());if(i&&dt(t)){var n=Tt(t);if(n.position==="fixed"){return null}}var r=Ot(t);if(pt(r)){r=r.host}while(dt(r)&&["html","body"].indexOf(lt(r))<0){var s=Tt(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none"){return r}else{r=r.parentNode}}return null}function St(t){var e=ft(t);var i=Ct(t);while(i&&Et(i)&&Tt(i).position==="static"){i=Ct(i)}if(i&&(lt(i)==="html"||lt(i)==="body"&&Tt(i).position==="static")){return e}return i||It(t)||e}function Dt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Lt(t,e,i){return wt(t,yt(e,i))}function zt(t,e,i){var n=Lt(t,e,i);return n>i?i:n}function Nt(){return{top:0,right:0,bottom:0,left:0}}function Pt(t){return Object.assign({},Nt(),t)}function Rt(t,e){return e.reduce((function(e,i){e[i]=t;return e}),{})}var Bt=function t(e,i){e=typeof e==="function"?e(Object.assign({},i.rects,{placement:i.placement})):e;return Pt(typeof e!=="number"?e:Rt(e,q))};function Ft(t){var e;var i=t.state,n=t.name,r=t.options;var s=i.elements.arrow;var o=i.modifiersData.popperOffsets;var a=bt(i.placement);var c=Dt(a);var u=[W,H].indexOf(a)>=0;var l=u?"height":"width";if(!s||!o){return}var f=Bt(r.padding,i);var h=_t(s);var d=c==="y"?B:W;var p=c==="y"?F:H;var v=i.rects.reference[l]+i.rects.reference[c]-o[c]-i.rects.popper[l];var g=o[c]-i.rects.reference[c];var m=St(s);var b=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0;var w=v/2-g/2;var y=f[d];var k=b-h[l]-f[p];var x=b/2-h[l]/2+w;var $=Lt(y,x,k);var A=c;i.modifiersData[n]=(e={},e[A]=$,e.centerOffset=$-x,e)}function Ht(t){var e=t.state,i=t.options;var n=i.element,r=n===void 0?"[data-popper-arrow]":n;if(r==null){return}if(typeof r==="string"){r=e.elements.popper.querySelector(r);if(!r){return}}if(!jt(e.elements.popper,r)){return}e.elements.arrow=r}const Wt={name:"arrow",enabled:true,phase:"main",fn:Ft,effect:Ht,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ut(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gt(t,e){var i=t.x,n=t.y;var r=e.devicePixelRatio||1;return{x:kt(i*r)/r||0,y:kt(n*r)/r||0}}function Zt(t){var e;var i=t.popper,n=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,c=t.gpuAcceleration,u=t.adaptive,l=t.roundOffsets,f=t.isFixed;var h=o.x,d=h===void 0?0:h,p=o.y,v=p===void 0?0:p;var g=typeof l==="function"?l({x:d,y:v}):{x:d,y:v};d=g.x;v=g.y;var m=o.hasOwnProperty("x");var b=o.hasOwnProperty("y");var w=W;var y=B;var k=window;if(u){var x=St(i);var $="clientHeight";var A="clientWidth";if(x===ft(i)){x=Mt(i);if(Tt(x).position!=="static"&&a==="absolute"){$="scrollHeight";A="scrollWidth"}}x=x;if(r===B||(r===W||r===H)&&s===Z){y=F;var _=f&&x===k&&k.visualViewport?k.visualViewport.height:x[$];v-=_-n.height;v*=c?1:-1}if(r===W||(r===B||r===F)&&s===Z){w=H;var j=f&&x===k&&k.visualViewport?k.visualViewport.width:x[A];d-=j-n.width;d*=c?1:-1}}var T=Object.assign({position:a},u&&qt);var E=l===true?Gt({x:d,y:v},ft(i)):{x:d,y:v};d=E.x;v=E.y;if(c){var M;return Object.assign({},T,(M={},M[y]=b?"0":"",M[w]=m?"0":"",M.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",M))}return Object.assign({},T,(e={},e[y]=b?v+"px":"",e[w]=m?d+"px":"",e.transform="",e))}function Qt(t){var e=t.state,i=t.options;var n=i.gpuAcceleration,r=n===void 0?true:n,s=i.adaptive,o=s===void 0?true:s,a=i.roundOffsets,c=a===void 0?true:a;var u={placement:bt(e.placement),variation:Ut(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};if(e.modifiersData.popperOffsets!=null){e.styles.popper=Object.assign({},e.styles.popper,Zt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))}if(e.modifiersData.arrow!=null){e.styles.arrow=Object.assign({},e.styles.arrow,Zt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:c})))}e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Yt={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:Qt,data:{}};var Jt={passive:true};function Vt(t){var e=t.state,i=t.instance,n=t.options;var r=n.scroll,s=r===void 0?true:r,o=n.resize,a=o===void 0?true:o;var c=ft(e.elements.popper);var u=[].concat(e.scrollParents.reference,e.scrollParents.popper);if(s){u.forEach((function(t){t.addEventListener("scroll",i.update,Jt)}))}if(a){c.addEventListener("resize",i.update,Jt)}return function(){if(s){u.forEach((function(t){t.removeEventListener("scroll",i.update,Jt)}))}if(a){c.removeEventListener("resize",i.update,Jt)}}}const Xt={name:"eventListeners",enabled:true,phase:"write",fn:function t(){},effect:Vt,data:{}};var Kt={left:"right",right:"left",bottom:"top",top:"bottom"};function te(t){return t.replace(/left|right|bottom|top/g,(function(t){return Kt[t]}))}var ee={start:"end",end:"start"};function ie(t){return t.replace(/start|end/g,(function(t){return ee[t]}))}function ne(t){var e=ft(t);var i=e.pageXOffset;var n=e.pageYOffset;return{scrollLeft:i,scrollTop:n}}function re(t){return At(Mt(t)).left+ne(t).scrollLeft}function se(t,e){var i=ft(t);var n=Mt(t);var r=i.visualViewport;var s=n.clientWidth;var o=n.clientHeight;var a=0;var c=0;if(r){s=r.width;o=r.height;var u=$t();if(u||!u&&e==="fixed"){a=r.offsetLeft;c=r.offsetTop}}return{width:s,height:o,x:a+re(t),y:c}}function oe(t){var e;var i=Mt(t);var n=ne(t);var r=(e=t.ownerDocument)==null?void 0:e.body;var s=wt(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0);var o=wt(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);var a=-n.scrollLeft+re(t);var c=-n.scrollTop;if(Tt(r||i).direction==="rtl"){a+=wt(i.clientWidth,r?r.clientWidth:0)-s}return{width:s,height:o,x:a,y:c}}function ae(t){var e=Tt(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ce(t){if(["html","body","#document"].indexOf(lt(t))>=0){return t.ownerDocument.body}if(dt(t)&&ae(t)){return t}return ce(Ot(t))}function ue(t,e){var i;if(e===void 0){e=[]}var n=ce(t);var r=n===((i=t.ownerDocument)==null?void 0:i.body);var s=ft(n);var o=r?[s].concat(s.visualViewport||[],ae(n)?n:[]):n;var a=e.concat(o);return r?a:a.concat(ue(Ot(o)))}function le(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function fe(t,e){var i=At(t,false,e==="fixed");i.top=i.top+t.clientTop;i.left=i.left+t.clientLeft;i.bottom=i.top+t.clientHeight;i.right=i.left+t.clientWidth;i.width=t.clientWidth;i.height=t.clientHeight;i.x=i.left;i.y=i.top;return i}function he(t,e,i){return e===Y?le(se(t,i)):ht(e)?fe(e,i):le(oe(Mt(t)))}function de(t){var e=ue(Ot(t));var i=["absolute","fixed"].indexOf(Tt(t).position)>=0;var n=i&&dt(t)?St(t):t;if(!ht(n)){return[]}return e.filter((function(t){return ht(t)&&jt(t,n)&&lt(t)!=="body"}))}function pe(t,e,i,n){var r=e==="clippingParents"?de(t):[].concat(e);var s=[].concat(r,[i]);var o=s[0];var a=s.reduce((function(e,i){var r=he(t,i,n);e.top=wt(r.top,e.top);e.right=yt(r.right,e.right);e.bottom=yt(r.bottom,e.bottom);e.left=wt(r.left,e.left);return e}),he(t,o,n));a.width=a.right-a.left;a.height=a.bottom-a.top;a.x=a.left;a.y=a.top;return a}function ve(t){var e=t.reference,i=t.element,n=t.placement;var r=n?bt(n):null;var s=n?Ut(n):null;var o=e.x+e.width/2-i.width/2;var a=e.y+e.height/2-i.height/2;var c;switch(r){case B:c={x:o,y:e.y-i.height};break;case F:c={x:o,y:e.y+e.height};break;case H:c={x:e.x+e.width,y:a};break;case W:c={x:e.x-i.width,y:a};break;default:c={x:e.x,y:e.y}}var u=r?Dt(r):null;if(u!=null){var l=u==="y"?"height":"width";switch(s){case G:c[u]=c[u]-(e[l]/2-i[l]/2);break;case Z:c[u]=c[u]+(e[l]/2-i[l]/2);break}}return c}function ge(t,e){if(e===void 0){e={}}var i=e,n=i.placement,r=n===void 0?t.placement:n,s=i.strategy,o=s===void 0?t.strategy:s,a=i.boundary,c=a===void 0?Q:a,u=i.rootBoundary,l=u===void 0?Y:u,f=i.elementContext,h=f===void 0?J:f,d=i.altBoundary,p=d===void 0?false:d,v=i.padding,g=v===void 0?0:v;var m=Pt(typeof g!=="number"?g:Rt(g,q));var b=h===J?V:J;var w=t.rects.popper;var y=t.elements[p?b:h];var k=pe(ht(y)?y:y.contextElement||Mt(t.elements.popper),c,l,o);var x=At(t.elements.reference);var $=ve({reference:x,element:w,strategy:"absolute",placement:r});var A=le(Object.assign({},w,$));var _=h===J?A:x;var j={top:k.top-_.top+m.top,bottom:_.bottom-k.bottom+m.bottom,left:k.left-_.left+m.left,right:_.right-k.right+m.right};var T=t.modifiersData.offset;if(h===J&&T){var E=T[r];Object.keys(j).forEach((function(t){var e=[H,F].indexOf(t)>=0?1:-1;var i=[B,F].indexOf(t)>=0?"y":"x";j[t]+=E[i]*e}))}return j}function me(t,e){if(e===void 0){e={}}var i=e,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,u=c===void 0?K:c;var l=Ut(n);var f=l?a?X:X.filter((function(t){return Ut(t)===l})):q;var h=f.filter((function(t){return u.indexOf(t)>=0}));if(h.length===0){h=f}var d=h.reduce((function(e,i){e[i]=ge(t,{placement:i,boundary:r,rootBoundary:s,padding:o})[bt(i)];return e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}function be(t){if(bt(t)===U){return[]}var e=te(t);return[ie(t),e,ie(e)]}function we(t){var e=t.state,i=t.options,n=t.name;if(e.modifiersData[n]._skip){return}var r=i.mainAxis,s=r===void 0?true:r,o=i.altAxis,a=o===void 0?true:o,c=i.fallbackPlacements,u=i.padding,l=i.boundary,f=i.rootBoundary,h=i.altBoundary,d=i.flipVariations,p=d===void 0?true:d,v=i.allowedAutoPlacements;var g=e.options.placement;var m=bt(g);var b=m===g;var w=c||(b||!p?[te(g)]:be(g));var y=[g].concat(w).reduce((function(t,i){return t.concat(bt(i)===U?me(e,{placement:i,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):i)}),[]);var k=e.rects.reference;var x=e.rects.popper;var $=new Map;var A=true;var _=y[0];for(var j=0;j<y.length;j++){var T=y[j];var E=bt(T);var M=Ut(T)===G;var O=[B,F].indexOf(E)>=0;var C=O?"width":"height";var I=ge(e,{placement:T,boundary:l,rootBoundary:f,altBoundary:h,padding:u});var S=O?M?H:W:M?F:B;if(k[C]>x[C]){S=te(S)}var D=te(S);var L=[];if(s){L.push(I[E]<=0)}if(a){L.push(I[S]<=0,I[D]<=0)}if(L.every((function(t){return t}))){_=T;A=false;break}$.set(T,L)}if(A){var z=p?3:1;var N=function t(e){var i=y.find((function(t){var i=$.get(t);if(i){return i.slice(0,e).every((function(t){return t}))}}));if(i){_=i;return"break"}};for(var P=z;P>0;P--){var R=N(P);if(R==="break")break}}if(e.placement!==_){e.modifiersData[n]._skip=true;e.placement=_;e.reset=true}}const ye={name:"flip",enabled:true,phase:"main",fn:we,requiresIfExists:["offset"],data:{_skip:false}};function ke(t,e,i){if(i===void 0){i={x:0,y:0}}return{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function xe(t){return[B,H,F,W].some((function(e){return t[e]>=0}))}function $e(t){var e=t.state,i=t.name;var n=e.rects.reference;var r=e.rects.popper;var s=e.modifiersData.preventOverflow;var o=ge(e,{elementContext:"reference"});var a=ge(e,{altBoundary:true});var c=ke(o,n);var u=ke(a,r,s);var l=xe(c);var f=xe(u);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f};e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}const Ae={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:$e};function _e(t,e,i){var n=bt(t);var r=[W,B].indexOf(n)>=0?-1:1;var s=typeof i==="function"?i(Object.assign({},e,{placement:t})):i,o=s[0],a=s[1];o=o||0;a=(a||0)*r;return[W,H].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function je(t){var e=t.state,i=t.options,n=t.name;var r=i.offset,s=r===void 0?[0,0]:r;var o=K.reduce((function(t,i){t[i]=_e(i,e.rects,s);return t}),{});var a=o[e.placement],c=a.x,u=a.y;if(e.modifiersData.popperOffsets!=null){e.modifiersData.popperOffsets.x+=c;e.modifiersData.popperOffsets.y+=u}e.modifiersData[n]=o}const Te={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:je};function Ee(t){var e=t.state,i=t.name;e.modifiersData[i]=ve({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Me={name:"popperOffsets",enabled:true,phase:"read",fn:Ee,data:{}};function Oe(t){return t==="x"?"y":"x"}function Ce(t){var e=t.state,i=t.options,n=t.name;var r=i.mainAxis,s=r===void 0?true:r,o=i.altAxis,a=o===void 0?false:o,c=i.boundary,u=i.rootBoundary,l=i.altBoundary,f=i.padding,h=i.tether,d=h===void 0?true:h,p=i.tetherOffset,v=p===void 0?0:p;var g=ge(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l});var m=bt(e.placement);var b=Ut(e.placement);var w=!b;var y=Dt(m);var k=Oe(y);var x=e.modifiersData.popperOffsets;var $=e.rects.reference;var A=e.rects.popper;var _=typeof v==="function"?v(Object.assign({},e.rects,{placement:e.placement})):v;var j=typeof _==="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_);var T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null;var E={x:0,y:0};if(!x){return}if(s){var M;var O=y==="y"?B:W;var C=y==="y"?F:H;var I=y==="y"?"height":"width";var S=x[y];var D=S+g[O];var L=S-g[C];var z=d?-A[I]/2:0;var N=b===G?$[I]:A[I];var P=b===G?-A[I]:-$[I];var R=e.elements.arrow;var U=d&&R?_t(R):{width:0,height:0};var q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Nt();var Z=q[O];var Q=q[C];var Y=Lt(0,$[I],U[I]);var J=w?$[I]/2-z-Y-Z-j.mainAxis:N-Y-Z-j.mainAxis;var V=w?-$[I]/2+z+Y+Q+j.mainAxis:P+Y+Q+j.mainAxis;var X=e.elements.arrow&&St(e.elements.arrow);var K=X?y==="y"?X.clientTop||0:X.clientLeft||0:0;var tt=(M=T==null?void 0:T[y])!=null?M:0;var et=S+J-tt-K;var it=S+V-tt;var nt=Lt(d?yt(D,et):D,S,d?wt(L,it):L);x[y]=nt;E[y]=nt-S}if(a){var rt;var st=y==="x"?B:W;var ot=y==="x"?F:H;var at=x[k];var ct=k==="y"?"height":"width";var ut=at+g[st];var lt=at-g[ot];var ft=[B,W].indexOf(m)!==-1;var ht=(rt=T==null?void 0:T[k])!=null?rt:0;var dt=ft?ut:at-$[ct]-A[ct]-ht+j.altAxis;var pt=ft?at+$[ct]+A[ct]-ht-j.altAxis:lt;var vt=d&&ft?zt(dt,at,pt):Lt(d?dt:ut,at,d?pt:lt);x[k]=vt;E[k]=vt-at}e.modifiersData[n]=E}const Ie={name:"preventOverflow",enabled:true,phase:"main",fn:Ce,requiresIfExists:["offset"]};function Se(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function De(t){if(t===ft(t)||!dt(t)){return ne(t)}else{return Se(t)}}function Le(t){var e=t.getBoundingClientRect();var i=kt(e.width)/t.offsetWidth||1;var n=kt(e.height)/t.offsetHeight||1;return i!==1||n!==1}function ze(t,e,i){if(i===void 0){i=false}var n=dt(e);var r=dt(e)&&Le(e);var s=Mt(e);var o=At(t,r,i);var a={scrollLeft:0,scrollTop:0};var c={x:0,y:0};if(n||!n&&!i){if(lt(e)!=="body"||ae(s)){a=De(e)}if(dt(e)){c=At(e,true);c.x+=e.clientLeft;c.y+=e.clientTop}else if(s){c.x=re(s)}}return{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function Ne(t){var e=new Map;var i=new Set;var n=[];t.forEach((function(t){e.set(t.name,t)}));function r(t){i.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!i.has(t)){var n=e.get(t);if(n){r(n)}}}));n.push(t)}t.forEach((function(t){if(!i.has(t.name)){r(t)}}));return n}function Pe(t){var e=Ne(t);return ut.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}function Re(t){var e;return function(){if(!e){e=new Promise((function(i){Promise.resolve().then((function(){e=undefined;i(t())}))}))}return e}}function Be(t){var e=t.reduce((function(t,e){var i=t[e.name];t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e;return t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Fe={placement:"bottom",modifiers:[],strategy:"absolute"};function He(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++){e[i]=arguments[i]}return!e.some((function(t){return!(t&&typeof t.getBoundingClientRect==="function")}))}function We(t){if(t===void 0){t={}}var e=t,i=e.defaultModifiers,n=i===void 0?[]:i,r=e.defaultOptions,s=r===void 0?Fe:r;return function t(e,i,r){if(r===void 0){r=s}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Fe,s),modifiersData:{},elements:{reference:e,popper:i},attributes:{},styles:{}};var a=[];var c=false;var u={state:o,setOptions:function t(r){var a=typeof r==="function"?r(o.options):r;f();o.options=Object.assign({},s,o.options,a);o.scrollParents={reference:ht(e)?ue(e):e.contextElement?ue(e.contextElement):[],popper:ue(i)};var c=Pe(Be([].concat(n,o.options.modifiers)));o.orderedModifiers=c.filter((function(t){return t.enabled}));l();return u.update()},forceUpdate:function t(){if(c){return}var e=o.elements,i=e.reference,n=e.popper;if(!He(i,n)){return}o.rects={reference:ze(i,St(n),o.options.strategy==="fixed"),popper:_t(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(t){return o.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<o.orderedModifiers.length;r++){if(o.reset===true){o.reset=false;r=-1;continue}var s=o.orderedModifiers[r],a=s.fn,l=s.options,f=l===void 0?{}:l,h=s.name;if(typeof a==="function"){o=a({state:o,options:f,name:h,instance:u})||o}}},update:Re((function(){return new Promise((function(t){u.forceUpdate();t(o)}))})),destroy:function t(){f();c=true}};if(!He(e,i)){return u}u.setOptions(r).then((function(t){if(!c&&r.onFirstUpdate){r.onFirstUpdate(t)}}));function l(){o.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=i===void 0?{}:i,r=t.effect;if(typeof r==="function"){var s=r({state:o,name:e,instance:u,options:n});var c=function t(){};a.push(s||c)}}))}function f(){a.forEach((function(t){return t()}));a=[]}return u}}var Ue=We();var qe=[Xt,Me,Yt,mt];var Ge=We({defaultModifiers:qe});var Ze=[Xt,Me,Yt,mt,Te,ye,Ie,Wt,Ae];var Qe=We({defaultModifiers:Ze});const Ye=Object.freeze({__proto__:null,popperGenerator:We,detectOverflow:ge,createPopperBase:Ue,createPopper:Qe,createPopperLite:Ge,top:B,bottom:F,right:H,left:W,auto:U,basePlacements:q,start:G,end:Z,clippingParents:Q,viewport:Y,popper:J,reference:V,variationPlacements:X,placements:K,beforeRead:tt,read:et,afterRead:it,beforeMain:nt,main:rt,afterMain:st,beforeWrite:ot,write:at,afterWrite:ct,modifierPhases:ut,applyStyles:mt,arrow:Wt,computeStyles:Yt,eventListeners:Xt,flip:ye,hide:Ae,offset:Te,popperOffsets:Me,preventOverflow:Ie});
13
13
  /*!
14
14
  * Bootstrap v5.3.2 (https://getbootstrap.com/)
15
15
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
16
16
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
17
- */const Je=new Map;const Ve={set(t,e,i){if(!Je.has(t)){Je.set(t,new Map)}const n=Je.get(t);if(!n.has(e)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(e,i)},get(t,e){if(Je.has(t)){return Je.get(t).get(e)||null}return null},remove(t,e){if(!Je.has(t)){return}const i=Je.get(t);i.delete(e);if(i.size===0){Je.delete(t)}}};const Xe=1e6;const Ke=1e3;const ti="transitionend";const ei=t=>{if(t&&window.CSS&&window.CSS.escape){t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))}return t};const ii=t=>{if(t===null||t===undefined){return`${t}`}return Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()};const ni=t=>{do{t+=Math.floor(Math.random()*Xe)}while(document.getElementById(t));return t};const ri=t=>{if(!t){return 0}let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e);const r=Number.parseFloat(i);if(!n&&!r){return 0}e=e.split(",")[0];i=i.split(",")[0];return(Number.parseFloat(e)+Number.parseFloat(i))*Ke};const si=t=>{t.dispatchEvent(new Event(ti))};const oi=t=>{if(!t||typeof t!=="object"){return false}if(typeof t.jquery!=="undefined"){t=t[0]}return typeof t.nodeType!=="undefined"};const ai=t=>{if(oi(t)){return t.jquery?t[0]:t}if(typeof t==="string"&&t.length>0){return document.querySelector(ei(t))}return null};const ci=t=>{if(!oi(t)||t.getClientRects().length===0){return false}const e=getComputedStyle(t).getPropertyValue("visibility")==="visible";const i=t.closest("details:not([open])");if(!i){return e}if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i){return false}if(e===null){return false}}return e};const ui=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE){return true}if(t.classList.contains("disabled")){return true}if(typeof t.disabled!=="undefined"){return t.disabled}return t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false"};const li=t=>{if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return li(t.parentNode)};const fi=()=>{};const hi=()=>{if(window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")){return window.jQuery}return null};const di=[];const pi=t=>{if(document.readyState==="loading"){if(!di.length){document.addEventListener("DOMContentLoaded",(()=>{for(const t of di){t()}}))}di.push(t)}else{t()}};const vi=()=>document.documentElement.dir==="rtl";const gi=t=>{pi((()=>{const e=hi();if(e){const i=t.NAME;const n=e.fn[i];e.fn[i]=t.jQueryInterface;e.fn[i].Constructor=t;e.fn[i].noConflict=()=>{e.fn[i]=n;return t.jQueryInterface}}}))};const mi=(t,e=[],i=t)=>typeof t==="function"?t(...e):i;const bi=(t,e,i=true)=>{if(!i){mi(t);return}const n=5;const r=ri(e)+n;let s=false;const o=({target:i})=>{if(i!==e){return}s=true;e.removeEventListener(ti,o);mi(t)};e.addEventListener(ti,o);setTimeout((()=>{if(!s){si(e)}}),r)};const wi=(t,e,i,n)=>{const r=t.length;let s=t.indexOf(e);if(s===-1){return!i&&n?t[r-1]:t[0]}s+=i?1:-1;if(n){s=(s+r)%r}return t[Math.max(0,Math.min(s,r-1))]};const yi=/[^.]*(?=\..*)\.|.*/;const ki=/\..*/;const xi=/::\d+$/;const $i={};let Ai=1;const _i={mouseenter:"mouseover",mouseleave:"mouseout"};const ji=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ti(t,e){return e&&`${e}::${Ai++}`||t.uidEvent||Ai++}function Ei(t){const e=Ti(t);t.uidEvent=e;$i[e]=$i[e]||{};return $i[e]}function Mi(t,e){return function i(n){Pi(n,{delegateTarget:t});if(i.oneOff){Ni.off(t,n.type,e)}return e.apply(t,[n])}}function Oi(t,e,i){return function n(r){const s=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode){for(const a of s){if(a!==o){continue}Pi(r,{delegateTarget:o});if(n.oneOff){Ni.off(t,r.type,e,i)}return i.apply(o,[r])}}}}function Ci(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function Ii(t,e,i){const n=typeof e==="string";const r=n?i:e||i;let s=zi(t);if(!ji.has(s)){s=t}return[n,r,s]}function Si(t,e,i,n,r){if(typeof e!=="string"||!t){return}let[s,o,a]=Ii(e,i,n);if(e in _i){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget)){return t.call(this,e)}};o=t(o)}const c=Ei(t);const u=c[a]||(c[a]={});const l=Ci(u,o,s?i:null);if(l){l.oneOff=l.oneOff&&r;return}const f=Ti(o,e.replace(yi,""));const h=s?Oi(t,i,o):Mi(t,o);h.delegationSelector=s?i:null;h.callable=o;h.oneOff=r;h.uidEvent=f;u[f]=h;t.addEventListener(a,h,s)}function Di(t,e,i,n,r){const s=Ci(e[i],n,r);if(!s){return}t.removeEventListener(i,s,Boolean(r));delete e[i][s.uidEvent]}function Li(t,e,i,n){const r=e[i]||{};for(const[s,o]of Object.entries(r)){if(s.includes(n)){Di(t,e,i,o.callable,o.delegationSelector)}}}function zi(t){t=t.replace(ki,"");return _i[t]||t}const Ni={on(t,e,i,n){Si(t,e,i,n,false)},one(t,e,i,n){Si(t,e,i,n,true)},off(t,e,i,n){if(typeof e!=="string"||!t){return}const[r,s,o]=Ii(e,i,n);const a=o!==e;const c=Ei(t);const u=c[o]||{};const l=e.startsWith(".");if(typeof s!=="undefined"){if(!Object.keys(u).length){return}Di(t,c,o,s,r?i:null);return}if(l){for(const i of Object.keys(c)){Li(t,c,i,e.slice(1))}}for(const[i,n]of Object.entries(u)){const r=i.replace(xi,"");if(!a||e.includes(r)){Di(t,c,o,n.callable,n.delegationSelector)}}},trigger(t,e,i){if(typeof e!=="string"||!t){return null}const n=hi();const r=zi(e);const s=e!==r;let o=null;let a=true;let c=true;let u=false;if(s&&n){o=n.Event(e,i);n(t).trigger(o);a=!o.isPropagationStopped();c=!o.isImmediatePropagationStopped();u=o.isDefaultPrevented()}const l=Pi(new Event(e,{bubbles:a,cancelable:true}),i);if(u){l.preventDefault()}if(c){t.dispatchEvent(l)}if(l.defaultPrevented&&o){o.preventDefault()}return l}};function Pi(t,e={}){for(const[i,n]of Object.entries(e)){try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:true,get(){return n}})}}return t}function Ri(t){if(t==="true"){return true}if(t==="false"){return false}if(t===Number(t).toString()){return Number(t)}if(t===""||t==="null"){return null}if(typeof t!=="string"){return t}try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Bi(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Fi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Bi(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Bi(e)}`)},getDataAttributes(t){if(!t){return{}}const e={};const i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);e[i]=Ri(t.dataset[n])}return e},getDataAttribute(t,e){return Ri(t.getAttribute(`data-bs-${Bi(e)}`))}};class Hi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=oi(e)?Fi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof i==="object"?i:{},...oi(e)?Fi.getDataAttributes(e):{},...typeof t==="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,n]of Object.entries(e)){const e=t[i];const r=oi(e)?"element":ii(e);if(!new RegExp(n).test(r)){throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}}const Wi="5.3.2";class Ui extends Hi{constructor(t,e){super();t=ai(t);if(!t){return}this._element=t;this._config=this._getConfig(e);Ve.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ve.remove(this._element,this.constructor.DATA_KEY);Ni.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this)){this[t]=null}}_queueCallback(t,e,i=true){bi(t,e,i)}_getConfig(t){t=this._mergeConfigObj(t,this._element);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}static getInstance(t){return Ve.get(ai(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e==="object"?e:null)}static get VERSION(){return Wi}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const qi=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith(".")){return null}if(i.includes("#")&&!i.startsWith("#")){i=`#${i.split("#")[1]}`}e=i&&i!=="#"?ei(i.trim()):null}return e};const Gi={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter((t=>t.matches(e)))},parents(t,e){const i=[];let n=t.parentNode.closest(e);while(n){i.push(n);n=n.parentNode.closest(e)}return i},prev(t,e){let i=t.previousElementSibling;while(i){if(i.matches(e)){return[i]}i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;while(i){if(i.matches(e)){return[i]}i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!ui(t)&&ci(t)))},getSelectorFromElement(t){const e=qi(t);if(e){return Gi.findOne(e)?e:null}return null},getElementFromSelector(t){const e=qi(t);return e?Gi.findOne(e):null},getMultipleElementsFromSelector(t){const e=qi(t);return e?Gi.find(e):[]}};const Zi=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`;const n=t.NAME;Ni.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)){i.preventDefault()}if(ui(this)){return}const r=Gi.getElementFromSelector(this)||this.closest(`.${n}`);const s=t.getOrCreateInstance(r);s[e]()}))};const Qi="alert";const Yi="bs.alert";const Ji=`.${Yi}`;const Vi=`close${Ji}`;const Xi=`closed${Ji}`;const Ki="fade";const tn="show";class en extends Ui{static get NAME(){return Qi}close(){const t=Ni.trigger(this._element,Vi);if(t.defaultPrevented){return}this._element.classList.remove(tn);const e=this._element.classList.contains(Ki);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove();Ni.trigger(this._element,Xi);this.dispose()}static jQueryInterface(t){return this.each((function(){const e=en.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Zi(en,"close");gi(en);const nn="button";const rn="bs.button";const sn=`.${rn}`;const on=".data-api";const an="active";const cn='[data-bs-toggle="button"]';const un=`click${sn}${on}`;class ln extends Ui{static get NAME(){return nn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(an))}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this);if(t==="toggle"){e[t]()}}))}}Ni.on(document,un,cn,(t=>{t.preventDefault();const e=t.target.closest(cn);const i=ln.getOrCreateInstance(e);i.toggle()}));gi(ln);const fn="swipe";const hn=".bs.swipe";const dn=`touchstart${hn}`;const pn=`touchmove${hn}`;const vn=`touchend${hn}`;const gn=`pointerdown${hn}`;const mn=`pointerup${hn}`;const bn="touch";const wn="pen";const yn="pointer-event";const kn=40;const xn={endCallback:null,leftCallback:null,rightCallback:null};const $n={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class An extends Hi{constructor(t,e){super();this._element=t;if(!t||!An.isSupported()){return}this._config=this._getConfig(e);this._deltaX=0;this._supportPointerEvents=Boolean(window.PointerEvent);this._initEvents()}static get Default(){return xn}static get DefaultType(){return $n}static get NAME(){return fn}dispose(){Ni.off(this._element,hn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX}}_end(t){if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX-this._deltaX}this._handleSwipe();mi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kn){return}const e=t/this._deltaX;this._deltaX=0;if(!e){return}mi(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){if(this._supportPointerEvents){Ni.on(this._element,gn,(t=>this._start(t)));Ni.on(this._element,mn,(t=>this._end(t)));this._element.classList.add(yn)}else{Ni.on(this._element,dn,(t=>this._start(t)));Ni.on(this._element,pn,(t=>this._move(t)));Ni.on(this._element,vn,(t=>this._end(t)))}}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===wn||t.pointerType===bn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _n="carousel";const jn="bs.carousel";const Tn=`.${jn}`;const En=".data-api";const Mn="ArrowLeft";const On="ArrowRight";const Cn=500;const In="next";const Sn="prev";const Dn="left";const Ln="right";const zn=`slide${Tn}`;const Nn=`slid${Tn}`;const Pn=`keydown${Tn}`;const Rn=`mouseenter${Tn}`;const Bn=`mouseleave${Tn}`;const Fn=`dragstart${Tn}`;const Hn=`load${Tn}${En}`;const Wn=`click${Tn}${En}`;const Un="carousel";const qn="active";const Gn="slide";const Zn="carousel-item-end";const Qn="carousel-item-start";const Yn="carousel-item-next";const Jn="carousel-item-prev";const Vn=".active";const Xn=".carousel-item";const Kn=Vn+Xn;const tr=".carousel-item img";const er=".carousel-indicators";const ir="[data-bs-slide], [data-bs-slide-to]";const nr='[data-bs-ride="carousel"]';const rr={[Mn]:Ln,[On]:Dn};const sr={interval:5e3,keyboard:true,pause:"hover",ride:false,touch:true,wrap:true};const or={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ar extends Ui{constructor(t,e){super(t,e);this._interval=null;this._activeElement=null;this._isSliding=false;this.touchTimeout=null;this._swipeHelper=null;this._indicatorsElement=Gi.findOne(er,this._element);this._addEventListeners();if(this._config.ride===Un){this.cycle()}}static get Default(){return sr}static get DefaultType(){return or}static get NAME(){return _n}next(){this._slide(In)}nextWhenVisible(){if(!document.hidden&&ci(this._element)){this.next()}}prev(){this._slide(Sn)}pause(){if(this._isSliding){si(this._element)}this._clearInterval()}cycle(){this._clearInterval();this._updateInterval();this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.cycle()));return}this.cycle()}to(t){const e=this._getItems();if(t>e.length-1||t<0){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.to(t)));return}const i=this._getItemIndex(this._getActive());if(i===t){return}const n=t>i?In:Sn;this._slide(n,e[t])}dispose(){if(this._swipeHelper){this._swipeHelper.dispose()}super.dispose()}_configAfterMerge(t){t.defaultInterval=t.interval;return t}_addEventListeners(){if(this._config.keyboard){Ni.on(this._element,Pn,(t=>this._keydown(t)))}if(this._config.pause==="hover"){Ni.on(this._element,Rn,(()=>this.pause()));Ni.on(this._element,Bn,(()=>this._maybeEnableCycle()))}if(this._config.touch&&An.isSupported()){this._addTouchEventListeners()}}_addTouchEventListeners(){for(const t of Gi.find(tr,this._element)){Ni.on(t,Fn,(t=>t.preventDefault()))}const t=()=>{if(this._config.pause!=="hover"){return}this.pause();if(this.touchTimeout){clearTimeout(this.touchTimeout)}this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),Cn+this._config.interval)};const e={leftCallback:()=>this._slide(this._directionToOrder(Dn)),rightCallback:()=>this._slide(this._directionToOrder(Ln)),endCallback:t};this._swipeHelper=new An(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName)){return}const e=rr[t.key];if(e){t.preventDefault();this._slide(this._directionToOrder(e))}}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement){return}const e=Gi.findOne(Vn,this._indicatorsElement);e.classList.remove(qn);e.removeAttribute("aria-current");const i=Gi.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);if(i){i.classList.add(qn);i.setAttribute("aria-current","true")}}_updateInterval(){const t=this._activeElement||this._getActive();if(!t){return}const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding){return}const i=this._getActive();const n=t===In;const r=e||wi(this._getItems(),i,n,this._config.wrap);if(r===i){return}const s=this._getItemIndex(r);const o=e=>Ni.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:s});const a=o(zn);if(a.defaultPrevented){return}if(!i||!r){return}const c=Boolean(this._interval);this.pause();this._isSliding=true;this._setActiveIndicatorElement(s);this._activeElement=r;const u=n?Qn:Zn;const l=n?Yn:Jn;r.classList.add(l);i.classList.add(u);r.classList.add(u);const f=()=>{r.classList.remove(u,l);r.classList.add(qn);i.classList.remove(qn,l,u);this._isSliding=false;o(Nn)};this._queueCallback(f,i,this._isAnimated());if(c){this.cycle()}}_isAnimated(){return this._element.classList.contains(Gn)}_getActive(){return Gi.findOne(Kn,this._element)}_getItems(){return Gi.find(Xn,this._element)}_clearInterval(){if(this._interval){clearInterval(this._interval);this._interval=null}}_directionToOrder(t){if(vi()){return t===Dn?Sn:In}return t===Dn?In:Sn}_orderToDirection(t){if(vi()){return t===Sn?Dn:Ln}return t===Sn?Ln:Dn}static jQueryInterface(t){return this.each((function(){const e=ar.getOrCreateInstance(this,t);if(typeof t==="number"){e.to(t);return}if(typeof t==="string"){if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}}))}}Ni.on(document,Wn,ir,(function(t){const e=Gi.getElementFromSelector(this);if(!e||!e.classList.contains(Un)){return}t.preventDefault();const i=ar.getOrCreateInstance(e);const n=this.getAttribute("data-bs-slide-to");if(n){i.to(n);i._maybeEnableCycle();return}if(Fi.getDataAttribute(this,"slide")==="next"){i.next();i._maybeEnableCycle();return}i.prev();i._maybeEnableCycle()}));Ni.on(window,Hn,(()=>{const t=Gi.find(nr);for(const e of t){ar.getOrCreateInstance(e)}}));gi(ar);const cr="collapse";const ur="bs.collapse";const lr=`.${ur}`;const fr=".data-api";const hr=`show${lr}`;const dr=`shown${lr}`;const pr=`hide${lr}`;const vr=`hidden${lr}`;const gr=`click${lr}${fr}`;const mr="show";const br="collapse";const wr="collapsing";const yr="collapsed";const kr=`:scope .${br} .${br}`;const xr="collapse-horizontal";const $r="width";const Ar="height";const _r=".collapse.show, .collapse.collapsing";const jr='[data-bs-toggle="collapse"]';const Tr={parent:null,toggle:true};const Er={parent:"(null|element)",toggle:"boolean"};class Mr extends Ui{constructor(t,e){super(t,e);this._isTransitioning=false;this._triggerArray=[];const i=Gi.find(jr);for(const t of i){const e=Gi.getSelectorFromElement(t);const i=Gi.find(e).filter((t=>t===this._element));if(e!==null&&i.length){this._triggerArray.push(t)}}this._initializeChildren();if(!this._config.parent){this._addAriaAndCollapsedClass(this._triggerArray,this._isShown())}if(this._config.toggle){this.toggle()}}static get Default(){return Tr}static get DefaultType(){return Er}static get NAME(){return cr}toggle(){if(this._isShown()){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._isShown()){return}let t=[];if(this._config.parent){t=this._getFirstLevelChildren(_r).filter((t=>t!==this._element)).map((t=>Mr.getOrCreateInstance(t,{toggle:false})))}if(t.length&&t[0]._isTransitioning){return}const e=Ni.trigger(this._element,hr);if(e.defaultPrevented){return}for(const e of t){e.hide()}const i=this._getDimension();this._element.classList.remove(br);this._element.classList.add(wr);this._element.style[i]=0;this._addAriaAndCollapsedClass(this._triggerArray,true);this._isTransitioning=true;const n=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br,mr);this._element.style[i]="";Ni.trigger(this._element,dr)};const r=i[0].toUpperCase()+i.slice(1);const s=`scroll${r}`;this._queueCallback(n,this._element,true);this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()){return}const t=Ni.trigger(this._element,pr);if(t.defaultPrevented){return}const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`;this._element.classList.add(wr);this._element.classList.remove(br,mr);for(const t of this._triggerArray){const e=Gi.getElementFromSelector(t);if(e&&!this._isShown(e)){this._addAriaAndCollapsedClass([t],false)}}this._isTransitioning=true;const i=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br);Ni.trigger(this._element,vr)};this._element.style[e]="";this._queueCallback(i,this._element,true)}_isShown(t=this._element){return t.classList.contains(mr)}_configAfterMerge(t){t.toggle=Boolean(t.toggle);t.parent=ai(t.parent);return t}_getDimension(){return this._element.classList.contains(xr)?$r:Ar}_initializeChildren(){if(!this._config.parent){return}const t=this._getFirstLevelChildren(jr);for(const e of t){const t=Gi.getElementFromSelector(e);if(t){this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=Gi.find(kr,this._config.parent);return Gi.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(!t.length){return}for(const i of t){i.classList.toggle(yr,!e);i.setAttribute("aria-expanded",e)}}static jQueryInterface(t){const e={};if(typeof t==="string"&&/show|hide/.test(t)){e.toggle=false}return this.each((function(){const i=Mr.getOrCreateInstance(this,e);if(typeof t==="string"){if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t]()}}))}}Ni.on(document,gr,jr,(function(t){if(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A"){t.preventDefault()}for(const t of Gi.getMultipleElementsFromSelector(this)){Mr.getOrCreateInstance(t,{toggle:false}).toggle()}}));gi(Mr);const Or="dropdown";const Cr="bs.dropdown";const Ir=`.${Cr}`;const Sr=".data-api";const Dr="Escape";const Lr="Tab";const zr="ArrowUp";const Nr="ArrowDown";const Pr=2;const Rr=`hide${Ir}`;const Br=`hidden${Ir}`;const Fr=`show${Ir}`;const Hr=`shown${Ir}`;const Wr=`click${Ir}${Sr}`;const Ur=`keydown${Ir}${Sr}`;const qr=`keyup${Ir}${Sr}`;const Gr="show";const Zr="dropup";const Qr="dropend";const Yr="dropstart";const Jr="dropup-center";const Vr="dropdown-center";const Xr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)';const Kr=`${Xr}.${Gr}`;const ts=".dropdown-menu";const es=".navbar";const is=".navbar-nav";const ns=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const rs=vi()?"top-end":"top-start";const ss=vi()?"top-start":"top-end";const os=vi()?"bottom-end":"bottom-start";const as=vi()?"bottom-start":"bottom-end";const cs=vi()?"left-start":"right-start";const us=vi()?"right-start":"left-start";const ls="top";const fs="bottom";const hs={autoClose:true,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"};const ds={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ps extends Ui{constructor(t,e){super(t,e);this._popper=null;this._parent=this._element.parentNode;this._menu=Gi.next(this._element,ts)[0]||Gi.prev(this._element,ts)[0]||Gi.findOne(ts,this._parent);this._inNavbar=this._detectNavbar()}static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return Or}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ui(this._element)||this._isShown()){return}const t={relatedTarget:this._element};const e=Ni.trigger(this._element,Fr,t);if(e.defaultPrevented){return}this._createPopper();if("ontouchstart"in document.documentElement&&!this._parent.closest(is)){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.add(Gr);this._element.classList.add(Gr);Ni.trigger(this._element,Hr,t)}hide(){if(ui(this._element)||!this._isShown()){return}const t={relatedTarget:this._element};this._completeHide(t)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_completeHide(t){const e=Ni.trigger(this._element,Rr,t);if(e.defaultPrevented){return}if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}if(this._popper){this._popper.destroy()}this._menu.classList.remove(Gr);this._element.classList.remove(Gr);this._element.setAttribute("aria-expanded","false");Fi.removeDataAttribute(this._menu,"popper");Ni.trigger(this._element,Br,t)}_getConfig(t){t=super._getConfig(t);if(typeof t.reference==="object"&&!oi(t.reference)&&typeof t.reference.getBoundingClientRect!=="function"){throw new TypeError(`${Or.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return t}_createPopper(){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let t=this._element;if(this._config.reference==="parent"){t=this._parent}else if(oi(this._config.reference)){t=ai(this._config.reference)}else if(typeof this._config.reference==="object"){t=this._config.reference}const e=this._getPopperConfig();this._popper=Qe(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Gr)}_getPlacement(){const t=this._parent;if(t.classList.contains(Qr)){return cs}if(t.classList.contains(Yr)){return us}if(t.classList.contains(Jr)){return ls}if(t.classList.contains(Vr)){return fs}const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(t.classList.contains(Zr)){return e?ss:rs}return e?as:os}_detectNavbar(){return this._element.closest(es)!==null}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._inNavbar||this._config.display==="static"){Fi.setDataAttribute(this._menu,"popper","static");t.modifiers=[{name:"applyStyles",enabled:false}]}return{...t,...mi(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=Gi.find(ns,this._menu).filter((t=>ci(t)));if(!i.length){return}wi(i,e,t===Nr,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ps.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}static clearMenus(t){if(t.button===Pr||t.type==="keyup"&&t.key!==Lr){return}const e=Gi.find(Kr);for(const i of e){const e=ps.getInstance(i);if(!e||e._config.autoClose===false){continue}const n=t.composedPath();const r=n.includes(e._menu);if(n.includes(e._element)||e._config.autoClose==="inside"&&!r||e._config.autoClose==="outside"&&r){continue}if(e._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Lr||/input|select|option|textarea|form/i.test(t.target.tagName))){continue}const s={relatedTarget:e._element};if(t.type==="click"){s.clickEvent=t}e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName);const i=t.key===Dr;const n=[zr,Nr].includes(t.key);if(!n&&!i){return}if(e&&!i){return}t.preventDefault();const r=this.matches(Xr)?this:Gi.prev(this,Xr)[0]||Gi.next(this,Xr)[0]||Gi.findOne(Xr,t.delegateTarget.parentNode);const s=ps.getOrCreateInstance(r);if(n){t.stopPropagation();s.show();s._selectMenuItem(t);return}if(s._isShown()){t.stopPropagation();s.hide();r.focus()}}}Ni.on(document,Ur,Xr,ps.dataApiKeydownHandler);Ni.on(document,Ur,ts,ps.dataApiKeydownHandler);Ni.on(document,Wr,ps.clearMenus);Ni.on(document,qr,ps.clearMenus);Ni.on(document,Wr,Xr,(function(t){t.preventDefault();ps.getOrCreateInstance(this).toggle()}));gi(ps);const vs="backdrop";const gs="fade";const ms="show";const bs=`mousedown.bs.${vs}`;const ws={className:"modal-backdrop",clickCallback:null,isAnimated:false,isVisible:true,rootElement:"body"};const ys={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ks extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isAppended=false;this._element=null}static get Default(){return ws}static get DefaultType(){return ys}static get NAME(){return vs}show(t){if(!this._config.isVisible){mi(t);return}this._append();const e=this._getElement();e.classList.add(ms);this._emulateAnimation((()=>{mi(t)}))}hide(t){if(!this._config.isVisible){mi(t);return}this._getElement().classList.remove(ms);this._emulateAnimation((()=>{this.dispose();mi(t)}))}dispose(){if(!this._isAppended){return}Ni.off(this._element,bs);this._element.remove();this._isAppended=false}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className;if(this._config.isAnimated){t.classList.add(gs)}this._element=t}return this._element}_configAfterMerge(t){t.rootElement=ai(t.rootElement);return t}_append(){if(this._isAppended){return}const t=this._getElement();this._config.rootElement.append(t);Ni.on(t,bs,(()=>{mi(this._config.clickCallback)}));this._isAppended=true}_emulateAnimation(t){bi(t,this._getElement(),this._config.isAnimated)}}const xs="focustrap";const $s="bs.focustrap";const As=`.${$s}`;const _s=`focusin${As}`;const js=`keydown.tab${As}`;const Ts="Tab";const Es="forward";const Ms="backward";const Os={autofocus:true,trapElement:null};const Cs={autofocus:"boolean",trapElement:"element"};class Is extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isActive=false;this._lastTabNavDirection=null}static get Default(){return Os}static get DefaultType(){return Cs}static get NAME(){return xs}activate(){if(this._isActive){return}if(this._config.autofocus){this._config.trapElement.focus()}Ni.off(document,As);Ni.on(document,_s,(t=>this._handleFocusin(t)));Ni.on(document,js,(t=>this._handleKeydown(t)));this._isActive=true}deactivate(){if(!this._isActive){return}this._isActive=false;Ni.off(document,As)}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target)){return}const i=Gi.focusableChildren(e);if(i.length===0){e.focus()}else if(this._lastTabNavDirection===Ms){i[i.length-1].focus()}else{i[0].focus()}}_handleKeydown(t){if(t.key!==Ts){return}this._lastTabNavDirection=t.shiftKey?Ms:Es}}const Ss=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const Ds=".sticky-top";const Ls="padding-right";const zs="margin-right";class Ns{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,Ls,(e=>e+t));this._setElementAttributes(Ss,Ls,(e=>e+t));this._setElementAttributes(Ds,zs,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,Ls);this._resetElementAttributes(Ss,Ls);this._resetElementAttributes(Ds,zs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();const r=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n){return}this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(r))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);if(i){Fi.setDataAttribute(t,e,i)}}_resetElementAttributes(t,e){const i=t=>{const i=Fi.getDataAttribute(t,e);if(i===null){t.style.removeProperty(e);return}Fi.removeDataAttribute(t,e);t.style.setProperty(e,i)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,e){if(oi(t)){e(t);return}for(const i of Gi.find(t,this._element)){e(i)}}}const Ps="modal";const Rs="bs.modal";const Bs=`.${Rs}`;const Fs=".data-api";const Hs="Escape";const Ws=`hide${Bs}`;const Us=`hidePrevented${Bs}`;const qs=`hidden${Bs}`;const Gs=`show${Bs}`;const Zs=`shown${Bs}`;const Qs=`resize${Bs}`;const Ys=`click.dismiss${Bs}`;const Js=`mousedown.dismiss${Bs}`;const Vs=`keydown.dismiss${Bs}`;const Xs=`click${Bs}${Fs}`;const Ks="modal-open";const to="fade";const eo="show";const io="modal-static";const no=".modal.show";const ro=".modal-dialog";const so=".modal-body";const oo='[data-bs-toggle="modal"]';const ao={backdrop:true,focus:true,keyboard:true};const co={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class uo extends Ui{constructor(t,e){super(t,e);this._dialog=Gi.findOne(ro,this._element);this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._isShown=false;this._isTransitioning=false;this._scrollBar=new Ns;this._addEventListeners()}static get Default(){return ao}static get DefaultType(){return co}static get NAME(){return Ps}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning){return}const e=Ni.trigger(this._element,Gs,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._isTransitioning=true;this._scrollBar.hide();document.body.classList.add(Ks);this._adjustDialog();this._backdrop.show((()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning){return}const t=Ni.trigger(this._element,Ws);if(t.defaultPrevented){return}this._isShown=false;this._isTransitioning=true;this._focustrap.deactivate();this._element.classList.remove(eo);this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())}dispose(){Ni.off(window,Bs);Ni.off(this._dialog,Bs);this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ks({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_showElement(t){if(!document.body.contains(this._element)){document.body.append(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;const e=Gi.findOne(so,this._dialog);if(e){e.scrollTop=0}this._element.classList.add(eo);const i=()=>{if(this._config.focus){this._focustrap.activate()}this._isTransitioning=false;Ni.trigger(this._element,Zs,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){Ni.on(this._element,Vs,(t=>{if(t.key!==Hs){return}if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}));Ni.on(window,Qs,(()=>{if(this._isShown&&!this._isTransitioning){this._adjustDialog()}}));Ni.on(this._element,Js,(t=>{Ni.one(this._element,Ys,(e=>{if(this._element!==t.target||this._element!==e.target){return}if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}if(this._config.backdrop){this.hide()}}))}))}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide((()=>{document.body.classList.remove(Ks);this._resetAdjustments();this._scrollBar.reset();Ni.trigger(this._element,qs)}))}_isAnimated(){return this._element.classList.contains(to)}_triggerBackdropTransition(){const t=Ni.trigger(this._element,Us);if(t.defaultPrevented){return}const e=this._element.scrollHeight>document.documentElement.clientHeight;const i=this._element.style.overflowY;if(i==="hidden"||this._element.classList.contains(io)){return}if(!e){this._element.style.overflowY="hidden"}this._element.classList.add(io);this._queueCallback((()=>{this._element.classList.remove(io);this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog);this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;const e=this._scrollBar.getWidth();const i=e>0;if(i&&!t){const t=vi()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=vi()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=uo.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t](e)}))}}Ni.on(document,Xs,oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}Ni.one(e,Gs,(t=>{if(t.defaultPrevented){return}Ni.one(e,qs,(()=>{if(ci(this)){this.focus()}}))}));const i=Gi.findOne(no);if(i){uo.getInstance(i).hide()}const n=uo.getOrCreateInstance(e);n.toggle(this)}));Zi(uo);gi(uo);const lo="offcanvas";const fo="bs.offcanvas";const ho=`.${fo}`;const po=".data-api";const vo=`load${ho}${po}`;const go="Escape";const mo="show";const bo="showing";const wo="hiding";const yo="offcanvas-backdrop";const ko=".offcanvas.show";const xo=`show${ho}`;const $o=`shown${ho}`;const Ao=`hide${ho}`;const _o=`hidePrevented${ho}`;const jo=`hidden${ho}`;const To=`resize${ho}`;const Eo=`click${ho}${po}`;const Mo=`keydown.dismiss${ho}`;const Oo='[data-bs-toggle="offcanvas"]';const Co={backdrop:true,keyboard:true,scroll:false};const Io={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class So extends Ui{constructor(t,e){super(t,e);this._isShown=false;this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._addEventListeners()}static get Default(){return Co}static get DefaultType(){return Io}static get NAME(){return lo}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown){return}const e=Ni.trigger(this._element,xo,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._backdrop.show();if(!this._config.scroll){(new Ns).hide()}this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(bo);const i=()=>{if(!this._config.scroll||this._config.backdrop){this._focustrap.activate()}this._element.classList.add(mo);this._element.classList.remove(bo);Ni.trigger(this._element,$o,{relatedTarget:t})};this._queueCallback(i,this._element,true)}hide(){if(!this._isShown){return}const t=Ni.trigger(this._element,Ao);if(t.defaultPrevented){return}this._focustrap.deactivate();this._element.blur();this._isShown=false;this._element.classList.add(wo);this._backdrop.hide();const e=()=>{this._element.classList.remove(mo,wo);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");if(!this._config.scroll){(new Ns).reset()}Ni.trigger(this._element,jo)};this._queueCallback(e,this._element,true)}dispose(){this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ni.trigger(this._element,_o);return}this.hide()};const e=Boolean(this._config.backdrop);return new ks({className:yo,isVisible:e,isAnimated:true,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_addEventListeners(){Ni.on(this._element,Mo,(t=>{if(t.key!==go){return}if(this._config.keyboard){this.hide();return}Ni.trigger(this._element,_o)}))}static jQueryInterface(t){return this.each((function(){const e=So.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Ni.on(document,Eo,Oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}Ni.one(e,jo,(()=>{if(ci(this)){this.focus()}}));const i=Gi.findOne(ko);if(i&&i!==e){So.getInstance(i).hide()}const n=So.getOrCreateInstance(e);n.toggle(this)}));Ni.on(window,vo,(()=>{for(const t of Gi.find(ko)){So.getOrCreateInstance(t).show()}}));Ni.on(window,To,(()=>{for(const t of Gi.find("[aria-modal][class*=show][class*=offcanvas-]")){if(getComputedStyle(t).position!=="fixed"){So.getOrCreateInstance(t).hide()}}}));Zi(So);gi(So);const Do=/^aria-[\w-]*$/i;const Lo={"*":["class","dir","id","lang","role",Do],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:[]};const zo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const No=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;const Po=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i)){if(zo.has(i)){return Boolean(No.test(t.nodeValue))}return true}return e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};function Ro(t,e,i){if(!t.length){return t}if(i&&typeof i==="function"){return i(t)}const n=new window.DOMParser;const r=n.parseFromString(t,"text/html");const s=[].concat(...r.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes);const r=[].concat(e["*"]||[],e[i]||[]);for(const e of n){if(!Po(e,r)){t.removeAttribute(e.nodeName)}}}return r.body.innerHTML}const Bo="TemplateFactory";const Fo={allowList:Lo,content:{},extraClass:"",html:false,sanitize:true,sanitizeFn:null,template:"<div></div>"};const Ho={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"};const Wo={entry:"(string|element|function|null)",selector:"(string|element)"};class Uo extends Hi{constructor(t){super();this._config=this._getConfig(t)}static get Default(){return Fo}static get DefaultType(){return Ho}static get NAME(){return Bo}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){this._checkContent(t);this._config.content={...this._config.content,...t};return this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content)){this._setContent(t,i,e)}const e=t.children[0];const i=this._resolvePossibleFunction(this._config.extraClass);if(i){e.classList.add(...i.split(" "))}return e}_typeCheckConfig(t){super._typeCheckConfig(t);this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t)){super._typeCheckConfig({selector:e,entry:i},Wo)}}_setContent(t,e,i){const n=Gi.findOne(i,t);if(!n){return}e=this._resolvePossibleFunction(e);if(!e){n.remove();return}if(oi(e)){this._putElementInTemplate(ai(e),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(e);return}n.textContent=e}_maybeSanitize(t){return this._config.sanitize?Ro(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return mi(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="";e.append(t);return}e.textContent=t.textContent}}const qo="tooltip";const Go=new Set(["sanitize","allowList","sanitizeFn"]);const Zo="fade";const Qo="modal";const Yo="show";const Jo=".tooltip-inner";const Vo=`.${Qo}`;const Xo="hide.bs.modal";const Ko="hover";const ta="focus";const ea="click";const ia="manual";const na="hide";const ra="hidden";const sa="show";const oa="shown";const aa="inserted";const ca="click";const ua="focusin";const la="focusout";const fa="mouseenter";const ha="mouseleave";const da={AUTO:"auto",TOP:"top",RIGHT:vi()?"left":"right",BOTTOM:"bottom",LEFT:vi()?"right":"left"};const pa={allowList:Lo,animation:true,boundary:"clippingParents",container:false,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:false,offset:[0,6],placement:"top",popperConfig:null,sanitize:true,sanitizeFn:null,selector:false,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",title:"",trigger:"hover focus"};const va={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ga extends Ui{constructor(t,e){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(t,e);this._isEnabled=true;this._timeout=0;this._isHovered=null;this._activeTrigger={};this._popper=null;this._templateFactory=null;this._newContent=null;this.tip=null;this._setListeners();if(!this._config.selector){this._fixTitle()}}static get Default(){return pa}static get DefaultType(){return va}static get NAME(){return qo}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled){return}this._activeTrigger.click=!this._activeTrigger.click;if(this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout);Ni.off(this._element.closest(Vo),Xo,this._hideModalHandler);if(this._element.getAttribute("data-bs-original-title")){this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title"))}this._disposePopper();super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this._isWithContent()&&this._isEnabled)){return}const t=Ni.trigger(this._element,this.constructor.eventName(sa));const e=li(this._element);const i=(e||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i){return}this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(!this._element.ownerDocument.documentElement.contains(this.tip)){r.append(n);Ni.trigger(this._element,this.constructor.eventName(aa))}this._popper=this._createPopper(n);n.classList.add(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}const s=()=>{Ni.trigger(this._element,this.constructor.eventName(oa));if(this._isHovered===false){this._leave()}this._isHovered=false};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()){return}const t=Ni.trigger(this._element,this.constructor.eventName(na));if(t.defaultPrevented){return}const e=this._getTipElement();e.classList.remove(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}this._activeTrigger[ea]=false;this._activeTrigger[ta]=false;this._activeTrigger[Ko]=false;this._isHovered=null;const i=()=>{if(this._isWithActiveTrigger()){return}if(!this._isHovered){this._disposePopper()}this._element.removeAttribute("aria-describedby");Ni.trigger(this._element,this.constructor.eventName(ra))};this._queueCallback(i,this.tip,this._isAnimated())}update(){if(this._popper){this._popper.update()}}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){if(!this.tip){this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())}return this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e){return null}e.classList.remove(Zo,Yo);e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=ni(this.constructor.NAME).toString();e.setAttribute("id",i);if(this._isAnimated()){e.classList.add(Zo)}return e}setContent(t){this._newContent=t;if(this._isShown()){this._disposePopper();this.show()}}_getTemplateFactory(t){if(this._templateFactory){this._templateFactory.changeContent(t)}else{this._templateFactory=new Uo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})}return this._templateFactory}_getContentForTemplate(){return{[Jo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zo)}_isShown(){return this.tip&&this.tip.classList.contains(Yo)}_createPopper(t){const e=mi(this._config.placement,[this,t,this._element]);const i=da[e.toUpperCase()];return Qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_resolvePossibleFunction(t){return mi(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:true,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...mi(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t){if(e==="click"){Ni.on(this._element,this.constructor.eventName(ca),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e.toggle()}))}else if(e!==ia){const t=e===Ko?this.constructor.eventName(fa):this.constructor.eventName(ua);const i=e===Ko?this.constructor.eventName(ha):this.constructor.eventName(la);Ni.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusin"?ta:Ko]=true;e._enter()}));Ni.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusout"?ta:Ko]=e._element.contains(t.relatedTarget);e._leave()}))}}this._hideModalHandler=()=>{if(this._element){this.hide()}};Ni.on(this._element.closest(Vo),Xo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");if(!t){return}if(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()){this._element.setAttribute("aria-label",t)}this._element.setAttribute("data-bs-original-title",t);this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=true;return}this._isHovered=true;this._setTimeout((()=>{if(this._isHovered){this.show()}}),this._config.delay.show)}_leave(){if(this._isWithActiveTrigger()){return}this._isHovered=false;this._setTimeout((()=>{if(!this._isHovered){this.hide()}}),this._config.delay.hide)}_setTimeout(t,e){clearTimeout(this._timeout);this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(true)}_getConfig(t){const e=Fi.getDataAttributes(this._element);for(const t of Object.keys(e)){if(Go.has(t)){delete e[t]}}t={...e,...typeof t==="object"&&t?t:{}};t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){t.container=t.container===false?document.body:ai(t.container);if(typeof t.delay==="number"){t.delay={show:t.delay,hide:t.delay}}if(typeof t.title==="number"){t.title=t.title.toString()}if(typeof t.content==="number"){t.content=t.content.toString()}return t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config)){if(this.constructor.Default[e]!==i){t[e]=i}}t.selector=false;t.trigger="manual";return t}_disposePopper(){if(this._popper){this._popper.destroy();this._popper=null}if(this.tip){this.tip.remove();this.tip=null}}static jQueryInterface(t){return this.each((function(){const e=ga.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(ga);const ma="popover";const ba=".popover-header";const wa=".popover-body";const ya={...ga.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>",trigger:"click"};const ka={...ga.DefaultType,content:"(null|string|element|function)"};class xa extends ga{static get Default(){return ya}static get DefaultType(){return ka}static get NAME(){return ma}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ba]:this._getTitle(),[wa]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=xa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(xa);const $a="scrollspy";const Aa="bs.scrollspy";const _a=`.${Aa}`;const ja=".data-api";const Ta=`activate${_a}`;const Ea=`click${_a}`;const Ma=`load${_a}${ja}`;const Oa="dropdown-item";const Ca="active";const Ia='[data-bs-spy="scroll"]';const Sa="[href]";const Da=".nav, .list-group";const La=".nav-link";const za=".nav-item";const Na=".list-group-item";const Pa=`${La}, ${za} > ${La}, ${Na}`;const Ra=".dropdown";const Ba=".dropdown-toggle";const Fa={offset:null,rootMargin:"0px 0px -25%",smoothScroll:false,target:null,threshold:[.1,.5,1]};const Ha={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wa extends Ui{constructor(t,e){super(t,e);this._targetLinks=new Map;this._observableSections=new Map;this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element;this._activeTarget=null;this._observer=null;this._previousScrollData={visibleEntryTop:0,parentScrollTop:0};this.refresh()}static get Default(){return Fa}static get DefaultType(){return Ha}static get NAME(){return $a}refresh(){this._initializeTargetsAndObservables();this._maybeEnableSmoothScroll();if(this._observer){this._observer.disconnect()}else{this._observer=this._getNewObserver()}for(const t of this._observableSections.values()){this._observer.observe(t)}}dispose(){this._observer.disconnect();super.dispose()}_configAfterMerge(t){t.target=ai(t.target)||document.body;t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin;if(typeof t.threshold==="string"){t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))}return t}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll){return}Ni.off(this._config.target,Ea);Ni.on(this._config.target,Ea,Sa,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window;const n=e.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`);const i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop;this._process(e(t))};const n=(this._rootElement||document.documentElement).scrollTop;const r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of t){if(!s.isIntersecting){this._activeTarget=null;this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){i(s);if(!n){return}continue}if(!r&&!t){i(s)}}}_initializeTargetsAndObservables(){this._targetLinks=new Map;this._observableSections=new Map;const t=Gi.find(Sa,this._config.target);for(const e of t){if(!e.hash||ui(e)){continue}const t=Gi.findOne(decodeURI(e.hash),this._element);if(ci(t)){this._targetLinks.set(decodeURI(e.hash),e);this._observableSections.set(e.hash,t)}}}_process(t){if(this._activeTarget===t){return}this._clearActiveClass(this._config.target);this._activeTarget=t;t.classList.add(Ca);this._activateParents(t);Ni.trigger(this._element,Ta,{relatedTarget:t})}_activateParents(t){if(t.classList.contains(Oa)){Gi.findOne(Ba,t.closest(Ra)).classList.add(Ca);return}for(const e of Gi.parents(t,Da)){for(const t of Gi.prev(e,Pa)){t.classList.add(Ca)}}}_clearActiveClass(t){t.classList.remove(Ca);const e=Gi.find(`${Sa}.${Ca}`,t);for(const t of e){t.classList.remove(Ca)}}static jQueryInterface(t){return this.each((function(){const e=Wa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(window,Ma,(()=>{for(const t of Gi.find(Ia)){Wa.getOrCreateInstance(t)}}));gi(Wa);const Ua="tab";const qa="bs.tab";const Ga=`.${qa}`;const Za=`hide${Ga}`;const Qa=`hidden${Ga}`;const Ya=`show${Ga}`;const Ja=`shown${Ga}`;const Va=`click${Ga}`;const Xa=`keydown${Ga}`;const Ka=`load${Ga}`;const tc="ArrowLeft";const ec="ArrowRight";const ic="ArrowUp";const nc="ArrowDown";const rc="Home";const sc="End";const oc="active";const ac="fade";const cc="show";const uc="dropdown";const lc=".dropdown-toggle";const fc=".dropdown-menu";const hc=`:not(${lc})`;const dc='.list-group, .nav, [role="tablist"]';const pc=".nav-item, .list-group-item";const vc=`.nav-link${hc}, .list-group-item${hc}, [role="tab"]${hc}`;const gc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const mc=`${vc}, ${gc}`;const bc=`.${oc}[data-bs-toggle="tab"], .${oc}[data-bs-toggle="pill"], .${oc}[data-bs-toggle="list"]`;class wc extends Ui{constructor(t){super(t);this._parent=this._element.closest(dc);if(!this._parent){return}this._setInitialAttributes(this._parent,this._getChildren());Ni.on(this._element,Xa,(t=>this._keydown(t)))}static get NAME(){return Ua}show(){const t=this._element;if(this._elemIsActive(t)){return}const e=this._getActiveElem();const i=e?Ni.trigger(e,Za,{relatedTarget:t}):null;const n=Ni.trigger(t,Ya,{relatedTarget:e});if(n.defaultPrevented||i&&i.defaultPrevented){return}this._deactivate(e,t);this._activate(t,e)}_activate(t,e){if(!t){return}t.classList.add(oc);this._activate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(cc);return}t.removeAttribute("tabindex");t.setAttribute("aria-selected",true);this._toggleDropDown(t,true);Ni.trigger(t,Ja,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_deactivate(t,e){if(!t){return}t.classList.remove(oc);t.blur();this._deactivate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(cc);return}t.setAttribute("aria-selected",false);t.setAttribute("tabindex","-1");this._toggleDropDown(t,false);Ni.trigger(t,Qa,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_keydown(t){if(![tc,ec,ic,nc,rc,sc].includes(t.key)){return}t.stopPropagation();t.preventDefault();const e=this._getChildren().filter((t=>!ui(t)));let i;if([rc,sc].includes(t.key)){i=e[t.key===rc?0:e.length-1]}else{const n=[ec,nc].includes(t.key);i=wi(e,t.target,n,true)}if(i){i.focus({preventScroll:true});wc.getOrCreateInstance(i).show()}}_getChildren(){return Gi.find(mc,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e){this._setInitialAttributesOnChild(t)}}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t);const i=this._getOuterElement(t);t.setAttribute("aria-selected",e);if(i!==t){this._setAttributeIfNotExists(i,"role","presentation")}if(!e){t.setAttribute("tabindex","-1")}this._setAttributeIfNotExists(t,"role","tab");this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Gi.getElementFromSelector(t);if(!e){return}this._setAttributeIfNotExists(e,"role","tabpanel");if(t.id){this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`)}}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(uc)){return}const n=(t,n)=>{const r=Gi.findOne(t,i);if(r){r.classList.toggle(n,e)}};n(lc,oc);n(fc,cc);i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){if(!t.hasAttribute(e)){t.setAttribute(e,i)}}_elemIsActive(t){return t.classList.contains(oc)}_getInnerElement(t){return t.matches(mc)?t:Gi.findOne(mc,t)}_getOuterElement(t){return t.closest(pc)||t}static jQueryInterface(t){return this.each((function(){const e=wc.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(document,Va,gc,(function(t){if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}wc.getOrCreateInstance(this).show()}));Ni.on(window,Ka,(()=>{for(const t of Gi.find(bc)){wc.getOrCreateInstance(t)}}));gi(wc);const yc="toast";const kc="bs.toast";const xc=`.${kc}`;const $c=`mouseover${xc}`;const Ac=`mouseout${xc}`;const _c=`focusin${xc}`;const jc=`focusout${xc}`;const Tc=`hide${xc}`;const Ec=`hidden${xc}`;const Mc=`show${xc}`;const Oc=`shown${xc}`;const Cc="fade";const Ic="hide";const Sc="show";const Dc="showing";const Lc={animation:"boolean",autohide:"boolean",delay:"number"};const zc={animation:true,autohide:true,delay:5e3};class Nc extends Ui{constructor(t,e){super(t,e);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get Default(){return zc}static get DefaultType(){return Lc}static get NAME(){return yc}show(){const t=Ni.trigger(this._element,Mc);if(t.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(Cc)}const e=()=>{this._element.classList.remove(Dc);Ni.trigger(this._element,Oc);this._maybeScheduleHide()};this._element.classList.remove(Ic);this._element.classList.add(Sc,Dc);this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()){return}const t=Ni.trigger(this._element,Tc);if(t.defaultPrevented){return}const e=()=>{this._element.classList.add(Ic);this._element.classList.remove(Dc,Sc);Ni.trigger(this._element,Ec)};this._element.classList.add(Dc);this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this.isShown()){this._element.classList.remove(Sc)}super.dispose()}isShown(){return this._element.classList.contains(Sc)}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const i=t.relatedTarget;if(this._element===i||this._element.contains(i)){return}this._maybeScheduleHide()}_setListeners(){Ni.on(this._element,$c,(t=>this._onInteraction(t,true)));Ni.on(this._element,Ac,(t=>this._onInteraction(t,false)));Ni.on(this._element,_c,(t=>this._onInteraction(t,true)));Ni.on(this._element,jc,(t=>this._onInteraction(t,false)))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Nc.getOrCreateInstance(this,t);if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t](this)}}))}}Zi(Nc);gi(Nc);const Pc="";const Rc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){return e(i,null,e("h2",{class:"card-title mb-2"},"FAQ"),e("div",{class:"accordion",id:"aico-faq-accordion"},this.content.faqItems.map(((t,i)=>{var n;const r=(n=t.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return null}return e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:`heading-${i}`},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse-${i}`,"aria-expanded":"false","aria-controls":`collapse-${i}`},r.question)),e("div",{id:`collapse-${i}`,class:"accordion-collapse collapse","aria-labelledby":`heading-${i}`,"data-bs-parent":"#aico-faq-accordion"},e("div",{class:"accordion-body"},r.answer)))}))))}};Rc.style=Pc;const Bc="";const Fc=class{constructor(e){t(this,e);this.article=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false;this.articleId=undefined;this.articleUrlHandle=undefined}connectedCallback(){this.articleFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.articleFetchController.abort("disconnected")}async componentWillLoad(){if(!this.articleId&&!this.articleUrlHandle){throw new Error("Either the article id or the url handle must be provided.")}try{if(this.articleUrlHandle){this.article=await w(this.api,this.articleUrlHandle,this.articleFetchController.signal);return}this.article=await b(this.api,this.articleId,this.articleFetchController.signal)}catch(t){console.error("Could not fetch the news Article with the given data","[articleId]",this.articleId,"[articleUrlHandle]",this.articleUrlHandle)}}render(){return e(n,null,e(h,{condition:this.article!==undefined},e("aico-article-detail",{article:this.article,locale:this.locale,"hide-date-and-author":this.hideDateAndAuthor})),e(h,{condition:this.article===undefined},e("p",null,"Not found")))}};Fc.style=Bc;const Hc=".content.sc-aico-heading-content{display:flex;flex-flow:column;width:100%;margin:10px auto}.content-align-with-text.sc-aico-heading-content{align-content:space-between;max-width:1278px;display:flex;flex-flow:row wrap;width:100%;margin:0 auto}.title-wrapper.sc-aico-heading-content{width:fit-content;border-radius:10px;margin-bottom:10px;margin-left:0;padding:15px}.description.sc-aico-heading-content{width:fit-content;padding:10px;border-radius:10px;white-space:pre-line}@media screen and (max-width: 768px){.content.sc-aico-heading-content{min-height:300px !important}}";const Wc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n={"justify-content":this.content.isTextAtMiddleOfImage?"center":"flex-end"};if(!x(this.content.picture)){n["min-height"]=this.content.isImageHeightHalfSize?"400px":"600px";n["background-size"]=this.content.isImageHeightHalfSize?"100%":"cover";n["background-image"]=`url(${this.content.picture})`;n["background-repeat"]="no-repeat";n["background-position"]="center"}const r={"background-color":this.content.textBackgroundColor};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`}if(!x(this.content.fontFamily)){r["font-family"]=this.content.fontFamily}const s={"background-color":this.content.textBackgroundColor};if(!x(this.content.textColor)){s["color"]=this.content.textColor}return e("div",{class:this.content.isHeadingAlignedWithText?"content content-align-with-text":"content",style:n},e(h,{condition:i!==null},e("div",{class:"title-wrapper",style:r},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("span",{class:"description",style:s},i.description)))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}};Wc.style=Hc;const Uc=".sc-aico-html-content-h{display:block}";const qc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null&&!x(i.text)},e("div",{innerHTML:i.text}))}};qc.style=Uc;const Gc=".sc-aico-link-content-h {\n --hover-button-color: unset;\n}\n\n.image-link-wrapper.sc-aico-link-content {\n display: flex;\n}\n\n.image-link.sc-aico-link-content {\n display: block;\n text-align: center;\n &:hover {\n opacity: 0.5;\n }\n}\n\n.arrow-button.sc-aico-link-content {\n float: right;\n font-size: 30px;\n margin-top: -10px;\n}\n\n.button_link.sc-aico-link-content {\n display: block;\n text-decoration: none;\n text-transform: uppercase;\n padding: 12px;\n text-align: center;\n font-weight: 900;\n font-size: 1.5rem;\n line-height: 1;\n letter-spacing: 0.03rem;\n border-radius: 5px;\n &:hover {\n background-color: var(--hover-button-color) !important;\n }\n}";const Zc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.textButtonColor){o["color"]=this.content.textButtonColor}if(this.content.textButtonColor){o["background-color"]=this.content.textButtonColor}if(this.content.fontSize){o["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){o["font-family"]=this.content.fontFamily}if(this.content.hoverColor){o["--hover-button-color"]=this.content.hoverColor}return e(i,null,e(h,{condition:!x(s===null||s===void 0?void 0:s.title)},e("label",null,s===null||s===void 0?void 0:s.title,": ")),e(h,{condition:this.content.isImageLink!==undefined&&this.content.isImageLink},e("div",{class:"image-link-wrapper",style:{"justify-content":this.content.picturePosition}},e("a",{href:(n=s===null||s===void 0?void 0:s.link)!==null&&n!==void 0?n:"#",target:"_blank",class:"image-link",style:{width:this.content.isImageFullSize?"100%":y(this.content.pictureSize)}},e("img",{src:s===null||s===void 0?void 0:s.imageUrl})))),e(h,{condition:this.content.isImageLink===null||!this.content.isImageLink},e("a",{href:(r=s===null||s===void 0?void 0:s.link)!==null&&r!==void 0?r:"#",target:"_blank",class:this.content.isButtonLink?"button-link":"",style:o},e("span",{class:"arrow-button"}," →"))))}};Zc.style=Gc;const Qc=".news-article.sc-aico-news-content{cursor:pointer}.news-article-img.sc-aico-news-content{transition:scale 0.5s ease-in-out}.news-article.sc-aico-news-content:hover .news-article-img.sc-aico-news-content{scale:1.2}";const Yc=class{constructor(e){t(this,e);this.newsArticleClicked=r(this,"newsArticleClicked",7);this.content=undefined}render(){return e("div",{class:"card-group"},this.content.aicoShopNews.map((t=>{var i,n,r,s;return e("div",{class:"news-article card h-100 pe-auto",onClick:()=>{var e;(e=this.newsArticleClicked)===null||e===void 0?void 0:e.emit(t)}},e("div",{class:"ratio ratio-4x3 overflow-hidden "},e("img",{class:"news-article-img card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=(i=t.image)!==null&&i!==void 0?i:t.headlineImage)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w"})),e("div",{class:"card-body",style:{"min-height":"6rem","background-color":(r=this.content.textBackgroundColor)!==null&&r!==void 0?r:"royalBlue"}},e("h5",{class:"card-title"},t.name)),e(h,{condition:!x(t.excerpt)},e("div",{class:"card-footer",style:{"background-color":(s=this.content.textBackgroundColor)!==null&&s!==void 0?s:"royalBlue",color:"white"}},e("small",{class:"text-muted"},t.excerpt))))})))}};Yc.style=Qc;const Jc="";const Vc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.newsResponse=undefined;this.pageNumber=1;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.pageSize=16;this.nextButtonText="Next";this.previousButtonText="Previous"}connectedCallback(){this.newsListFetchController=new AbortController;this.pageNumber=1;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}render(){var t,n,r;return e(i,null,e("div",{class:"row row-cols-1 row-cols-sm-2 row-cols-lg-4 g-4 mb-4"},(t=this.newsResponse)===null||t===void 0?void 0:t.data.map((t=>e("div",{class:"col"},e("aico-news-list-item",{article:t,onArticleClick:t=>{var e;(e=this.articleClick)===null||e===void 0?void 0:e.emit(t.detail)}}))))),e("nav",{class:"w-100","aria-label":"News navigation"},e("ul",{class:"pagination justify-content-center"},e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((n=this.newsResponse)===null||n===void 0?void 0:n.links.prev)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{if(this.pageNumber>1){this.pageNumber-=1}return false}},e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-left me-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"})),this.previousButtonText),this.getViewablePages().map((t=>e("li",{class:`page-item page-link user-select-none ${t==="..."?"disabled":Number(t)===this.pageNumber?"active":""}`,style:{cursor:"pointer"},onClick:()=>{if(t!=="..."){this.pageNumber=Number(t)}return false}},t))),e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((r=this.newsResponse)===null||r===void 0?void 0:r.links.next)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{var t,e;if(((t=this.newsResponse)===null||t===void 0?void 0:t.meta.page.lastPage)&&this.pageNumber<((e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)){this.pageNumber+=1}}},this.nextButtonText,e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-right ms-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"}))))))}getViewablePages(t=2){var e,i,n,r,s,o,a;const c=[];if(this.pageNumber-t>=2){c.push("1")}if(this.pageNumber-t>2){c.push("...")}for(let e=this.pageNumber-t;e<this.pageNumber;e+=1){if(e>=1){c.push(`${e}`)}}c.push(`${this.pageNumber}`);for(let n=this.pageNumber+1;n<=this.pageNumber+t;n+=1){if(n<=((i=(e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)!==null&&i!==void 0?i:0)){c.push(`${n}`)}}if(this.pageNumber+t<((r=(n=this.newsResponse)===null||n===void 0?void 0:n.meta.page.lastPage)!==null&&r!==void 0?r:0)-1){c.push("...")}if(this.pageNumber+t<=((o=(s=this.newsResponse)===null||s===void 0?void 0:s.meta.page.lastPage)!==null&&o!==void 0?o:0)-1){c.push(`${(a=this.newsResponse)===null||a===void 0?void 0:a.meta.page.lastPage}`)}return c}};Vc.style=Jc;const Xc="";const Kc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.article=undefined}render(){var t,i;return e("div",{class:"card h-100 pe-auto",style:{cursor:"pointer"},onClick:()=>{var t;(t=this.articleClick)===null||t===void 0?void 0:t.emit(this.article)}},e("div",{class:"ratio ratio-16x9 overflow-hidden"},e("img",{class:"object-fit-cover",style:{"min-height":"15rem"},alt:"Article image",src:(i=(t=this.article.attributes.optimizedListImage)!==null&&t!==void 0?t:this.article.attributes.optimizedImage)!==null&&i!==void 0?i:this.article.attributes.image}),e("div",{class:"card-img-overlay d-flex justify-content-end"})),e("div",{class:"card-body"},e("h5",{class:"card-title"},this.article.attributes.name),e("p",{class:"card-text"},this.article.attributes.excerpt)))}};Kc.style=Xc;const tu=".sc-aico-no-content-h{display:block}";const eu=class{constructor(e){t(this,e)}render(){return e("div",null,e("span",null,"The content cannot be rendered because it is either malformed or not supported."))}};eu.style=tu;const iu=".sc-aico-page-content-h{display:block}";const nu=class{constructor(e){t(this,e);this.pageClicked=r(this,"pageClicked",7);this.content=undefined;this.locale="de"}render(){var t,n,r,s,o;const a=(t=this.content.landingPage.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,{style:{"max-width":"300px"}},e("div",{class:"card pe-auto"},e("div",{class:"ratio ratio-4x3"},e("img",{class:"card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=this.content.landingPage.image)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w",alt:(r=a===null||a===void 0?void 0:a.imageAlt)!==null&&r!==void 0?r:"Landing page image"})),e("div",{class:"card-body",style:{"min-height":"6rem"}},e("h5",{class:"card-title"},a===null||a===void 0?void 0:a.name),e(h,{condition:this.content.openExternalLink&&!x(this.content.externalLink)},e("a",{href:this.content.externalLink,class:"card-link"},(s=a===null||a===void 0?void 0:a.buttonText)!==null&&s!==void 0?s:"Navigate to page")),e(h,{condition:!this.content.openExternalLink},e("a",{href:"#",class:"card-link",onClick:t=>{var e;t.preventDefault();(e=this.pageClicked)===null||e===void 0?void 0:e.emit(this.content)}},(o=a===null||a===void 0?void 0:a.buttonText)!==null&&o!==void 0?o:"Navigate to page"))),e(h,{condition:a!==null&&!x(a.excerpt)},e("div",{class:"card-footer"},e("small",{class:"text-muted"},a===null||a===void 0?void 0:a.excerpt)))))}};nu.style=iu;const ru=".slick-slide.sc-aico-special-news-carousel>div.sc-aico-special-news-carousel{height:100% !important}";const su=class{constructor(e){t(this,e);this.articleClicked=r(this,"articleClicked",7);this.newsResponse=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.numberOfArticles=6}connectedCallback(){this.newsListFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,dots:true,arrows:false,pauseOnDotsHover:true})}render(){return e("div",{class:"carousel"},this.newsResponse.data.map((t=>{var i;const n=t.attributes.focusXPercentage?`${t.attributes.focusXPercentage}%`:"center";const r=t.attributes.focusYPercentage?`${t.attributes.focusYPercentage}%`:"center";return e("div",{class:"carousel-item card border-0"},e("div",{class:"card-body"},e("h5",{class:"card-title text-center text-uppercase"},e("a",{class:"text-reset text-decoration-none",href:"#",onClick:e=>{var i;e.preventDefault();(i=this.articleClicked)===null||i===void 0?void 0:i.emit(t)}},t.attributes.name))),e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img-bottom object-fit-cover",style:{"object-position":`${n} ${r}`,"min-height":"15rem"},alt:"News Picture","data-lazy":(i=t.attributes.optimizedImage)!==null&&i!==void 0?i:t.attributes.image})))})))}};su.style=ru;const ou=".table-content.sc-aico-table-content{width:100%;overflow-x:auto;white-space:nowrap;text-align:center}.table-content.sc-aico-table-content:not([class]) td.sc-aico-table-content,.table-content.sc-aico-table-content:not([class]) th.sc-aico-table-content{padding:10px !important;border:none !important}.table-content.sc-aico-table-content th.sc-aico-table-content{font-weight:700 !important}.table-content.sc-aico-table-content td.sc-aico-table-content,.table-content.sc-aico-table-content th.sc-aico-table-content{white-space:pre-line}";const au=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const s=(i=this.content.firstColor)!==null&&i!==void 0?i:"#d6dfe1";const o=(n=this.content.secondColor)!==null&&n!==void 0?n:"#e6eced";return e("div",{class:"content-table card"},e("div",{class:"card-body"},e(h,{condition:r!==null},e("aico-title-content",{class:"card-title mt-0",content:this.makeTitleContent(r),locale:this.locale}),e("p",{class:"card-text"},r.additionalText)),e("table",{class:"table-content"},this.content.tableRows.sort(((t,e)=>t.sort-e.sort)).map(((t,i)=>e("tr",{style:{"font-weight":"400","background-color":i%2===0?s:o}},t.rowColumns.map((i=>{var n;const r=(n=i.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return t.isHeading?e("th",null):e("td",null)}return t.isHeading?e("th",null,r.columnData):e("td",null,r.columnData)}))))))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};au.style=ou;const cu=".star-rating.sc-aico-testimonial-content{font-size:0;white-space:nowrap;height:35px;overflow:hidden;position:relative;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content{opacity:0;position:absolute;left:0;top:0;height:100%;z-index:1;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content{opacity:0;display:inline-block;height:100%;margin:0;padding:0;z-index:2;position:relative}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:hover+i.sc-aico-testimonial-content,.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:checked+i.sc-aico-testimonial-content{opacity:1}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-5.sc-aico-testimonial-content{width:173px}.star-rating.star-5.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:20%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-3.sc-aico-testimonial-content{width:150px}.star-rating.star-3.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:33.33%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:66.66%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}";const uu=class{constructor(e){t(this,e);this.content=undefined}render(){return e("div",{class:"card"},e(h,{condition:!x(this.content.testimonial.image)},e("img",{class:"card-img-top",alt:"image",src:this.content.testimonial.image})),e("div",{class:"card-body"},e("h2",{class:"card-title"},this.content.testimonial.title),e("p",{class:"card-text"},this.content.testimonial.text),e(h,{condition:this.content.testimonial.rating!==null},e("div",{class:"star-rating star-5"},Array.from({length:this.content.testimonial.rating},((t,e)=>e+1)).map((t=>e(n,null,e("input",{type:"radio",id:`star${t}`,name:"rating",value:t}),e("i",{style:{opacity:this.content.testimonial.rating>=t?"1":"0"}}))))))))}};uu.style=cu;const lu=({condition:t,wrap:e},i)=>t?e(i):i;const fu="";const hu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.hasBackgroundColor){o["background-color"]=(i=this.content.backgroundColor)!==null&&i!==void 0?i:"white";o["color"]=(n=this.content.textColor)!==null&&n!==void 0?n:"black";o["width"]="100%";o["padding"]="15px";o["margin-top"]="10px"}if(this.content.addBorder){o["border"]=`3px solid ${this.content.borderColor}`;o["margin-top"]="-3px"}if(this.content.alignmentEnabled){o["display"]="flex";o["align-items"]=(r=this.content.verticalAlign)!==null&&r!==void 0?r:"flex-start"}return e(h,{condition:s!==null},e(lu,{condition:!x(s.promptText),wrap:t=>e("div",{class:"accordion",id:"aico-text-content"},e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:"heading"},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse","aria-expanded":"false","aria-controls":"collapse"},s.promptText)),e("div",{id:"collapse",class:"accordion-collapse collapse","aria-labelledby":"heading","data-bs-parent":"#aico-text-content"},e("div",{class:"accordion-body"},t))))},e("div",{class:"card",style:o},e("div",{class:"card-body w-100 border-0"},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(s),locale:this.locale}),e(h,{condition:this.shouldDisplayTextAndPicture(s)},e("div",{class:"row g-4"},e("div",{class:$({"col-md-8":true,"order-1":this.content.picturePosition==="right","order-2":this.content.picturePosition==="left"})},this.getTextComponent(s)),e("div",{class:$({"col-md-4 justify-content-center":true,"order-2":this.content.picturePosition==="right","order-1":this.content.picturePosition==="left"})},this.getImageComponent(s)))),e(h,{condition:this.shouldDisplayOnlyPicture(s)},this.getImageComponent(s)),e(h,{condition:this.shouldDisplayOnlyText(s)},this.getTextComponent(s))))))}getImageComponent(t){var i;return e("div",{class:"card text-bg-dark text-white"},e("img",{class:"card-img img-fluid object-fit-contain",src:(i=t.optimizedPicture)!==null&&i!==void 0?i:t.picture}),e(h,{condition:!x(t.pictureLabel)},e("div",{class:"card-img-overlay"},e("p",{class:$({"card-text":true,"text-end":this.content.pictureLabelPosition==="right","text-center":this.content.pictureLabelPosition==="center"})},t.pictureLabel))))}getTextComponent(t){const i={"line-height":"1.3","white-space":"pre-line"};if(this.content.fontSize){i["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){i["font-family"]=this.content.fontFamily}if(this.content.shouldJustifyText){i["text-align"]="justify";i["text-justify"]="inner-word"}return e("p",{class:"card-text",style:i},t.text)}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}shouldDisplayTextAndPicture(t){return!x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyPicture(t){return x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyText(t){return!x(t.text)&&x(t.optimizedPicture)&&x(t.picture)}};hu.style=fu;const du=".sc-aico-title-content-h{display:block}";const pu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;if(!this.content.size||this.content.translations.length===0){return e("aico-no-content",null)}const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content.size;const s="black";const o={color:this.content.titleColor?this.content.titleColor:s};if(this.content.hasUnderscore){o["text-decoration-line"]="underline";o["text-decoration-color"]=(i=this.content.underscoreColor)!==null&&i!==void 0?i:s;o["text-decoration-thickness"]="3px"}return e(r,null,e("span",{style:o},n===null||n===void 0?void 0:n.title))}};pu.style=du;const vu=".sc-aico-upload-content-h{display:block}";const gu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content&&this.content.videoUrl?k(this.content.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!this.content.shouldHideFile},e("p",{class:"fs-3 mt-3"},"Files:"),e("div",{class:"list-group list-group-flush"},this.content.uploads.map((t=>{if(x(t.path)){return null}return e("a",{href:t.path,target:"_blank",class:"list-group-item list-group-item-action"},t.name)})))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};gu.style=vu;const mu=".media-card-video.sc-aico-video-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;-o-object-fit:contain;object-fit:contain}";const bu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n&&n.videoUrl?k(n.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!x(this.content.localVideoUrl)},e("div",{class:"ratio ratio-16x9"},e("video",{class:"media-card-video",controls:true,playsInline:true,style:{height:this.content.isVideoMinimized?"400px":"100%"}},e("source",{src:this.content.localVideoUrl,type:"video/mp4"})))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};bu.style=mu;export{l as aico_album_content,_ as aico_article_detail,T as aico_asking_content,M as aico_block_quote_content,C as aico_bullet_content,S as aico_carousel_content,L as aico_content_card_content,N as aico_divider_content,R as aico_document_content,Rc as aico_faq_content,Fc as aico_fetch_article_detail,Wc as aico_heading_content,qc as aico_html_content,Zc as aico_link_content,Yc as aico_news_content,Vc as aico_news_list,Kc as aico_news_list_item,eu as aico_no_content,nu as aico_page_content,su as aico_special_news_carousel,au as aico_table_content,uu as aico_testimonial_content,hu as aico_text_content,pu as aico_title_content,gu as aico_upload_content,bu as aico_video_content};
18
- //# sourceMappingURL=p-64d6361b.entry.js.map
17
+ */const Je=new Map;const Ve={set(t,e,i){if(!Je.has(t)){Je.set(t,new Map)}const n=Je.get(t);if(!n.has(e)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(e,i)},get(t,e){if(Je.has(t)){return Je.get(t).get(e)||null}return null},remove(t,e){if(!Je.has(t)){return}const i=Je.get(t);i.delete(e);if(i.size===0){Je.delete(t)}}};const Xe=1e6;const Ke=1e3;const ti="transitionend";const ei=t=>{if(t&&window.CSS&&window.CSS.escape){t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))}return t};const ii=t=>{if(t===null||t===undefined){return`${t}`}return Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()};const ni=t=>{do{t+=Math.floor(Math.random()*Xe)}while(document.getElementById(t));return t};const ri=t=>{if(!t){return 0}let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e);const r=Number.parseFloat(i);if(!n&&!r){return 0}e=e.split(",")[0];i=i.split(",")[0];return(Number.parseFloat(e)+Number.parseFloat(i))*Ke};const si=t=>{t.dispatchEvent(new Event(ti))};const oi=t=>{if(!t||typeof t!=="object"){return false}if(typeof t.jquery!=="undefined"){t=t[0]}return typeof t.nodeType!=="undefined"};const ai=t=>{if(oi(t)){return t.jquery?t[0]:t}if(typeof t==="string"&&t.length>0){return document.querySelector(ei(t))}return null};const ci=t=>{if(!oi(t)||t.getClientRects().length===0){return false}const e=getComputedStyle(t).getPropertyValue("visibility")==="visible";const i=t.closest("details:not([open])");if(!i){return e}if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i){return false}if(e===null){return false}}return e};const ui=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE){return true}if(t.classList.contains("disabled")){return true}if(typeof t.disabled!=="undefined"){return t.disabled}return t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false"};const li=t=>{if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return li(t.parentNode)};const fi=()=>{};const hi=()=>{if(window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")){return window.jQuery}return null};const di=[];const pi=t=>{if(document.readyState==="loading"){if(!di.length){document.addEventListener("DOMContentLoaded",(()=>{for(const t of di){t()}}))}di.push(t)}else{t()}};const vi=()=>document.documentElement.dir==="rtl";const gi=t=>{pi((()=>{const e=hi();if(e){const i=t.NAME;const n=e.fn[i];e.fn[i]=t.jQueryInterface;e.fn[i].Constructor=t;e.fn[i].noConflict=()=>{e.fn[i]=n;return t.jQueryInterface}}}))};const mi=(t,e=[],i=t)=>typeof t==="function"?t(...e):i;const bi=(t,e,i=true)=>{if(!i){mi(t);return}const n=5;const r=ri(e)+n;let s=false;const o=({target:i})=>{if(i!==e){return}s=true;e.removeEventListener(ti,o);mi(t)};e.addEventListener(ti,o);setTimeout((()=>{if(!s){si(e)}}),r)};const wi=(t,e,i,n)=>{const r=t.length;let s=t.indexOf(e);if(s===-1){return!i&&n?t[r-1]:t[0]}s+=i?1:-1;if(n){s=(s+r)%r}return t[Math.max(0,Math.min(s,r-1))]};const yi=/[^.]*(?=\..*)\.|.*/;const ki=/\..*/;const xi=/::\d+$/;const $i={};let Ai=1;const _i={mouseenter:"mouseover",mouseleave:"mouseout"};const ji=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ti(t,e){return e&&`${e}::${Ai++}`||t.uidEvent||Ai++}function Ei(t){const e=Ti(t);t.uidEvent=e;$i[e]=$i[e]||{};return $i[e]}function Mi(t,e){return function i(n){Pi(n,{delegateTarget:t});if(i.oneOff){Ni.off(t,n.type,e)}return e.apply(t,[n])}}function Oi(t,e,i){return function n(r){const s=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode){for(const a of s){if(a!==o){continue}Pi(r,{delegateTarget:o});if(n.oneOff){Ni.off(t,r.type,e,i)}return i.apply(o,[r])}}}}function Ci(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function Ii(t,e,i){const n=typeof e==="string";const r=n?i:e||i;let s=zi(t);if(!ji.has(s)){s=t}return[n,r,s]}function Si(t,e,i,n,r){if(typeof e!=="string"||!t){return}let[s,o,a]=Ii(e,i,n);if(e in _i){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget)){return t.call(this,e)}};o=t(o)}const c=Ei(t);const u=c[a]||(c[a]={});const l=Ci(u,o,s?i:null);if(l){l.oneOff=l.oneOff&&r;return}const f=Ti(o,e.replace(yi,""));const h=s?Oi(t,i,o):Mi(t,o);h.delegationSelector=s?i:null;h.callable=o;h.oneOff=r;h.uidEvent=f;u[f]=h;t.addEventListener(a,h,s)}function Di(t,e,i,n,r){const s=Ci(e[i],n,r);if(!s){return}t.removeEventListener(i,s,Boolean(r));delete e[i][s.uidEvent]}function Li(t,e,i,n){const r=e[i]||{};for(const[s,o]of Object.entries(r)){if(s.includes(n)){Di(t,e,i,o.callable,o.delegationSelector)}}}function zi(t){t=t.replace(ki,"");return _i[t]||t}const Ni={on(t,e,i,n){Si(t,e,i,n,false)},one(t,e,i,n){Si(t,e,i,n,true)},off(t,e,i,n){if(typeof e!=="string"||!t){return}const[r,s,o]=Ii(e,i,n);const a=o!==e;const c=Ei(t);const u=c[o]||{};const l=e.startsWith(".");if(typeof s!=="undefined"){if(!Object.keys(u).length){return}Di(t,c,o,s,r?i:null);return}if(l){for(const i of Object.keys(c)){Li(t,c,i,e.slice(1))}}for(const[i,n]of Object.entries(u)){const r=i.replace(xi,"");if(!a||e.includes(r)){Di(t,c,o,n.callable,n.delegationSelector)}}},trigger(t,e,i){if(typeof e!=="string"||!t){return null}const n=hi();const r=zi(e);const s=e!==r;let o=null;let a=true;let c=true;let u=false;if(s&&n){o=n.Event(e,i);n(t).trigger(o);a=!o.isPropagationStopped();c=!o.isImmediatePropagationStopped();u=o.isDefaultPrevented()}const l=Pi(new Event(e,{bubbles:a,cancelable:true}),i);if(u){l.preventDefault()}if(c){t.dispatchEvent(l)}if(l.defaultPrevented&&o){o.preventDefault()}return l}};function Pi(t,e={}){for(const[i,n]of Object.entries(e)){try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:true,get(){return n}})}}return t}function Ri(t){if(t==="true"){return true}if(t==="false"){return false}if(t===Number(t).toString()){return Number(t)}if(t===""||t==="null"){return null}if(typeof t!=="string"){return t}try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Bi(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Fi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Bi(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Bi(e)}`)},getDataAttributes(t){if(!t){return{}}const e={};const i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);e[i]=Ri(t.dataset[n])}return e},getDataAttribute(t,e){return Ri(t.getAttribute(`data-bs-${Bi(e)}`))}};class Hi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=oi(e)?Fi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof i==="object"?i:{},...oi(e)?Fi.getDataAttributes(e):{},...typeof t==="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,n]of Object.entries(e)){const e=t[i];const r=oi(e)?"element":ii(e);if(!new RegExp(n).test(r)){throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}}const Wi="5.3.2";class Ui extends Hi{constructor(t,e){super();t=ai(t);if(!t){return}this._element=t;this._config=this._getConfig(e);Ve.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ve.remove(this._element,this.constructor.DATA_KEY);Ni.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this)){this[t]=null}}_queueCallback(t,e,i=true){bi(t,e,i)}_getConfig(t){t=this._mergeConfigObj(t,this._element);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}static getInstance(t){return Ve.get(ai(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e==="object"?e:null)}static get VERSION(){return Wi}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const qi=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith(".")){return null}if(i.includes("#")&&!i.startsWith("#")){i=`#${i.split("#")[1]}`}e=i&&i!=="#"?ei(i.trim()):null}return e};const Gi={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter((t=>t.matches(e)))},parents(t,e){const i=[];let n=t.parentNode.closest(e);while(n){i.push(n);n=n.parentNode.closest(e)}return i},prev(t,e){let i=t.previousElementSibling;while(i){if(i.matches(e)){return[i]}i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;while(i){if(i.matches(e)){return[i]}i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!ui(t)&&ci(t)))},getSelectorFromElement(t){const e=qi(t);if(e){return Gi.findOne(e)?e:null}return null},getElementFromSelector(t){const e=qi(t);return e?Gi.findOne(e):null},getMultipleElementsFromSelector(t){const e=qi(t);return e?Gi.find(e):[]}};const Zi=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`;const n=t.NAME;Ni.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)){i.preventDefault()}if(ui(this)){return}const r=Gi.getElementFromSelector(this)||this.closest(`.${n}`);const s=t.getOrCreateInstance(r);s[e]()}))};const Qi="alert";const Yi="bs.alert";const Ji=`.${Yi}`;const Vi=`close${Ji}`;const Xi=`closed${Ji}`;const Ki="fade";const tn="show";class en extends Ui{static get NAME(){return Qi}close(){const t=Ni.trigger(this._element,Vi);if(t.defaultPrevented){return}this._element.classList.remove(tn);const e=this._element.classList.contains(Ki);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove();Ni.trigger(this._element,Xi);this.dispose()}static jQueryInterface(t){return this.each((function(){const e=en.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Zi(en,"close");gi(en);const nn="button";const rn="bs.button";const sn=`.${rn}`;const on=".data-api";const an="active";const cn='[data-bs-toggle="button"]';const un=`click${sn}${on}`;class ln extends Ui{static get NAME(){return nn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(an))}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this);if(t==="toggle"){e[t]()}}))}}Ni.on(document,un,cn,(t=>{t.preventDefault();const e=t.target.closest(cn);const i=ln.getOrCreateInstance(e);i.toggle()}));gi(ln);const fn="swipe";const hn=".bs.swipe";const dn=`touchstart${hn}`;const pn=`touchmove${hn}`;const vn=`touchend${hn}`;const gn=`pointerdown${hn}`;const mn=`pointerup${hn}`;const bn="touch";const wn="pen";const yn="pointer-event";const kn=40;const xn={endCallback:null,leftCallback:null,rightCallback:null};const $n={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class An extends Hi{constructor(t,e){super();this._element=t;if(!t||!An.isSupported()){return}this._config=this._getConfig(e);this._deltaX=0;this._supportPointerEvents=Boolean(window.PointerEvent);this._initEvents()}static get Default(){return xn}static get DefaultType(){return $n}static get NAME(){return fn}dispose(){Ni.off(this._element,hn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX}}_end(t){if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX-this._deltaX}this._handleSwipe();mi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kn){return}const e=t/this._deltaX;this._deltaX=0;if(!e){return}mi(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){if(this._supportPointerEvents){Ni.on(this._element,gn,(t=>this._start(t)));Ni.on(this._element,mn,(t=>this._end(t)));this._element.classList.add(yn)}else{Ni.on(this._element,dn,(t=>this._start(t)));Ni.on(this._element,pn,(t=>this._move(t)));Ni.on(this._element,vn,(t=>this._end(t)))}}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===wn||t.pointerType===bn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _n="carousel";const jn="bs.carousel";const Tn=`.${jn}`;const En=".data-api";const Mn="ArrowLeft";const On="ArrowRight";const Cn=500;const In="next";const Sn="prev";const Dn="left";const Ln="right";const zn=`slide${Tn}`;const Nn=`slid${Tn}`;const Pn=`keydown${Tn}`;const Rn=`mouseenter${Tn}`;const Bn=`mouseleave${Tn}`;const Fn=`dragstart${Tn}`;const Hn=`load${Tn}${En}`;const Wn=`click${Tn}${En}`;const Un="carousel";const qn="active";const Gn="slide";const Zn="carousel-item-end";const Qn="carousel-item-start";const Yn="carousel-item-next";const Jn="carousel-item-prev";const Vn=".active";const Xn=".carousel-item";const Kn=Vn+Xn;const tr=".carousel-item img";const er=".carousel-indicators";const ir="[data-bs-slide], [data-bs-slide-to]";const nr='[data-bs-ride="carousel"]';const rr={[Mn]:Ln,[On]:Dn};const sr={interval:5e3,keyboard:true,pause:"hover",ride:false,touch:true,wrap:true};const or={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ar extends Ui{constructor(t,e){super(t,e);this._interval=null;this._activeElement=null;this._isSliding=false;this.touchTimeout=null;this._swipeHelper=null;this._indicatorsElement=Gi.findOne(er,this._element);this._addEventListeners();if(this._config.ride===Un){this.cycle()}}static get Default(){return sr}static get DefaultType(){return or}static get NAME(){return _n}next(){this._slide(In)}nextWhenVisible(){if(!document.hidden&&ci(this._element)){this.next()}}prev(){this._slide(Sn)}pause(){if(this._isSliding){si(this._element)}this._clearInterval()}cycle(){this._clearInterval();this._updateInterval();this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.cycle()));return}this.cycle()}to(t){const e=this._getItems();if(t>e.length-1||t<0){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.to(t)));return}const i=this._getItemIndex(this._getActive());if(i===t){return}const n=t>i?In:Sn;this._slide(n,e[t])}dispose(){if(this._swipeHelper){this._swipeHelper.dispose()}super.dispose()}_configAfterMerge(t){t.defaultInterval=t.interval;return t}_addEventListeners(){if(this._config.keyboard){Ni.on(this._element,Pn,(t=>this._keydown(t)))}if(this._config.pause==="hover"){Ni.on(this._element,Rn,(()=>this.pause()));Ni.on(this._element,Bn,(()=>this._maybeEnableCycle()))}if(this._config.touch&&An.isSupported()){this._addTouchEventListeners()}}_addTouchEventListeners(){for(const t of Gi.find(tr,this._element)){Ni.on(t,Fn,(t=>t.preventDefault()))}const t=()=>{if(this._config.pause!=="hover"){return}this.pause();if(this.touchTimeout){clearTimeout(this.touchTimeout)}this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),Cn+this._config.interval)};const e={leftCallback:()=>this._slide(this._directionToOrder(Dn)),rightCallback:()=>this._slide(this._directionToOrder(Ln)),endCallback:t};this._swipeHelper=new An(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName)){return}const e=rr[t.key];if(e){t.preventDefault();this._slide(this._directionToOrder(e))}}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement){return}const e=Gi.findOne(Vn,this._indicatorsElement);e.classList.remove(qn);e.removeAttribute("aria-current");const i=Gi.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);if(i){i.classList.add(qn);i.setAttribute("aria-current","true")}}_updateInterval(){const t=this._activeElement||this._getActive();if(!t){return}const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding){return}const i=this._getActive();const n=t===In;const r=e||wi(this._getItems(),i,n,this._config.wrap);if(r===i){return}const s=this._getItemIndex(r);const o=e=>Ni.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:s});const a=o(zn);if(a.defaultPrevented){return}if(!i||!r){return}const c=Boolean(this._interval);this.pause();this._isSliding=true;this._setActiveIndicatorElement(s);this._activeElement=r;const u=n?Qn:Zn;const l=n?Yn:Jn;r.classList.add(l);i.classList.add(u);r.classList.add(u);const f=()=>{r.classList.remove(u,l);r.classList.add(qn);i.classList.remove(qn,l,u);this._isSliding=false;o(Nn)};this._queueCallback(f,i,this._isAnimated());if(c){this.cycle()}}_isAnimated(){return this._element.classList.contains(Gn)}_getActive(){return Gi.findOne(Kn,this._element)}_getItems(){return Gi.find(Xn,this._element)}_clearInterval(){if(this._interval){clearInterval(this._interval);this._interval=null}}_directionToOrder(t){if(vi()){return t===Dn?Sn:In}return t===Dn?In:Sn}_orderToDirection(t){if(vi()){return t===Sn?Dn:Ln}return t===Sn?Ln:Dn}static jQueryInterface(t){return this.each((function(){const e=ar.getOrCreateInstance(this,t);if(typeof t==="number"){e.to(t);return}if(typeof t==="string"){if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}}))}}Ni.on(document,Wn,ir,(function(t){const e=Gi.getElementFromSelector(this);if(!e||!e.classList.contains(Un)){return}t.preventDefault();const i=ar.getOrCreateInstance(e);const n=this.getAttribute("data-bs-slide-to");if(n){i.to(n);i._maybeEnableCycle();return}if(Fi.getDataAttribute(this,"slide")==="next"){i.next();i._maybeEnableCycle();return}i.prev();i._maybeEnableCycle()}));Ni.on(window,Hn,(()=>{const t=Gi.find(nr);for(const e of t){ar.getOrCreateInstance(e)}}));gi(ar);const cr="collapse";const ur="bs.collapse";const lr=`.${ur}`;const fr=".data-api";const hr=`show${lr}`;const dr=`shown${lr}`;const pr=`hide${lr}`;const vr=`hidden${lr}`;const gr=`click${lr}${fr}`;const mr="show";const br="collapse";const wr="collapsing";const yr="collapsed";const kr=`:scope .${br} .${br}`;const xr="collapse-horizontal";const $r="width";const Ar="height";const _r=".collapse.show, .collapse.collapsing";const jr='[data-bs-toggle="collapse"]';const Tr={parent:null,toggle:true};const Er={parent:"(null|element)",toggle:"boolean"};class Mr extends Ui{constructor(t,e){super(t,e);this._isTransitioning=false;this._triggerArray=[];const i=Gi.find(jr);for(const t of i){const e=Gi.getSelectorFromElement(t);const i=Gi.find(e).filter((t=>t===this._element));if(e!==null&&i.length){this._triggerArray.push(t)}}this._initializeChildren();if(!this._config.parent){this._addAriaAndCollapsedClass(this._triggerArray,this._isShown())}if(this._config.toggle){this.toggle()}}static get Default(){return Tr}static get DefaultType(){return Er}static get NAME(){return cr}toggle(){if(this._isShown()){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._isShown()){return}let t=[];if(this._config.parent){t=this._getFirstLevelChildren(_r).filter((t=>t!==this._element)).map((t=>Mr.getOrCreateInstance(t,{toggle:false})))}if(t.length&&t[0]._isTransitioning){return}const e=Ni.trigger(this._element,hr);if(e.defaultPrevented){return}for(const e of t){e.hide()}const i=this._getDimension();this._element.classList.remove(br);this._element.classList.add(wr);this._element.style[i]=0;this._addAriaAndCollapsedClass(this._triggerArray,true);this._isTransitioning=true;const n=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br,mr);this._element.style[i]="";Ni.trigger(this._element,dr)};const r=i[0].toUpperCase()+i.slice(1);const s=`scroll${r}`;this._queueCallback(n,this._element,true);this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()){return}const t=Ni.trigger(this._element,pr);if(t.defaultPrevented){return}const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`;this._element.classList.add(wr);this._element.classList.remove(br,mr);for(const t of this._triggerArray){const e=Gi.getElementFromSelector(t);if(e&&!this._isShown(e)){this._addAriaAndCollapsedClass([t],false)}}this._isTransitioning=true;const i=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br);Ni.trigger(this._element,vr)};this._element.style[e]="";this._queueCallback(i,this._element,true)}_isShown(t=this._element){return t.classList.contains(mr)}_configAfterMerge(t){t.toggle=Boolean(t.toggle);t.parent=ai(t.parent);return t}_getDimension(){return this._element.classList.contains(xr)?$r:Ar}_initializeChildren(){if(!this._config.parent){return}const t=this._getFirstLevelChildren(jr);for(const e of t){const t=Gi.getElementFromSelector(e);if(t){this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=Gi.find(kr,this._config.parent);return Gi.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(!t.length){return}for(const i of t){i.classList.toggle(yr,!e);i.setAttribute("aria-expanded",e)}}static jQueryInterface(t){const e={};if(typeof t==="string"&&/show|hide/.test(t)){e.toggle=false}return this.each((function(){const i=Mr.getOrCreateInstance(this,e);if(typeof t==="string"){if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t]()}}))}}Ni.on(document,gr,jr,(function(t){if(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A"){t.preventDefault()}for(const t of Gi.getMultipleElementsFromSelector(this)){Mr.getOrCreateInstance(t,{toggle:false}).toggle()}}));gi(Mr);const Or="dropdown";const Cr="bs.dropdown";const Ir=`.${Cr}`;const Sr=".data-api";const Dr="Escape";const Lr="Tab";const zr="ArrowUp";const Nr="ArrowDown";const Pr=2;const Rr=`hide${Ir}`;const Br=`hidden${Ir}`;const Fr=`show${Ir}`;const Hr=`shown${Ir}`;const Wr=`click${Ir}${Sr}`;const Ur=`keydown${Ir}${Sr}`;const qr=`keyup${Ir}${Sr}`;const Gr="show";const Zr="dropup";const Qr="dropend";const Yr="dropstart";const Jr="dropup-center";const Vr="dropdown-center";const Xr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)';const Kr=`${Xr}.${Gr}`;const ts=".dropdown-menu";const es=".navbar";const is=".navbar-nav";const ns=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const rs=vi()?"top-end":"top-start";const ss=vi()?"top-start":"top-end";const os=vi()?"bottom-end":"bottom-start";const as=vi()?"bottom-start":"bottom-end";const cs=vi()?"left-start":"right-start";const us=vi()?"right-start":"left-start";const ls="top";const fs="bottom";const hs={autoClose:true,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"};const ds={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ps extends Ui{constructor(t,e){super(t,e);this._popper=null;this._parent=this._element.parentNode;this._menu=Gi.next(this._element,ts)[0]||Gi.prev(this._element,ts)[0]||Gi.findOne(ts,this._parent);this._inNavbar=this._detectNavbar()}static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return Or}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ui(this._element)||this._isShown()){return}const t={relatedTarget:this._element};const e=Ni.trigger(this._element,Fr,t);if(e.defaultPrevented){return}this._createPopper();if("ontouchstart"in document.documentElement&&!this._parent.closest(is)){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.add(Gr);this._element.classList.add(Gr);Ni.trigger(this._element,Hr,t)}hide(){if(ui(this._element)||!this._isShown()){return}const t={relatedTarget:this._element};this._completeHide(t)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_completeHide(t){const e=Ni.trigger(this._element,Rr,t);if(e.defaultPrevented){return}if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}if(this._popper){this._popper.destroy()}this._menu.classList.remove(Gr);this._element.classList.remove(Gr);this._element.setAttribute("aria-expanded","false");Fi.removeDataAttribute(this._menu,"popper");Ni.trigger(this._element,Br,t)}_getConfig(t){t=super._getConfig(t);if(typeof t.reference==="object"&&!oi(t.reference)&&typeof t.reference.getBoundingClientRect!=="function"){throw new TypeError(`${Or.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return t}_createPopper(){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let t=this._element;if(this._config.reference==="parent"){t=this._parent}else if(oi(this._config.reference)){t=ai(this._config.reference)}else if(typeof this._config.reference==="object"){t=this._config.reference}const e=this._getPopperConfig();this._popper=Qe(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Gr)}_getPlacement(){const t=this._parent;if(t.classList.contains(Qr)){return cs}if(t.classList.contains(Yr)){return us}if(t.classList.contains(Jr)){return ls}if(t.classList.contains(Vr)){return fs}const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(t.classList.contains(Zr)){return e?ss:rs}return e?as:os}_detectNavbar(){return this._element.closest(es)!==null}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._inNavbar||this._config.display==="static"){Fi.setDataAttribute(this._menu,"popper","static");t.modifiers=[{name:"applyStyles",enabled:false}]}return{...t,...mi(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=Gi.find(ns,this._menu).filter((t=>ci(t)));if(!i.length){return}wi(i,e,t===Nr,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ps.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}static clearMenus(t){if(t.button===Pr||t.type==="keyup"&&t.key!==Lr){return}const e=Gi.find(Kr);for(const i of e){const e=ps.getInstance(i);if(!e||e._config.autoClose===false){continue}const n=t.composedPath();const r=n.includes(e._menu);if(n.includes(e._element)||e._config.autoClose==="inside"&&!r||e._config.autoClose==="outside"&&r){continue}if(e._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Lr||/input|select|option|textarea|form/i.test(t.target.tagName))){continue}const s={relatedTarget:e._element};if(t.type==="click"){s.clickEvent=t}e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName);const i=t.key===Dr;const n=[zr,Nr].includes(t.key);if(!n&&!i){return}if(e&&!i){return}t.preventDefault();const r=this.matches(Xr)?this:Gi.prev(this,Xr)[0]||Gi.next(this,Xr)[0]||Gi.findOne(Xr,t.delegateTarget.parentNode);const s=ps.getOrCreateInstance(r);if(n){t.stopPropagation();s.show();s._selectMenuItem(t);return}if(s._isShown()){t.stopPropagation();s.hide();r.focus()}}}Ni.on(document,Ur,Xr,ps.dataApiKeydownHandler);Ni.on(document,Ur,ts,ps.dataApiKeydownHandler);Ni.on(document,Wr,ps.clearMenus);Ni.on(document,qr,ps.clearMenus);Ni.on(document,Wr,Xr,(function(t){t.preventDefault();ps.getOrCreateInstance(this).toggle()}));gi(ps);const vs="backdrop";const gs="fade";const ms="show";const bs=`mousedown.bs.${vs}`;const ws={className:"modal-backdrop",clickCallback:null,isAnimated:false,isVisible:true,rootElement:"body"};const ys={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ks extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isAppended=false;this._element=null}static get Default(){return ws}static get DefaultType(){return ys}static get NAME(){return vs}show(t){if(!this._config.isVisible){mi(t);return}this._append();const e=this._getElement();e.classList.add(ms);this._emulateAnimation((()=>{mi(t)}))}hide(t){if(!this._config.isVisible){mi(t);return}this._getElement().classList.remove(ms);this._emulateAnimation((()=>{this.dispose();mi(t)}))}dispose(){if(!this._isAppended){return}Ni.off(this._element,bs);this._element.remove();this._isAppended=false}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className;if(this._config.isAnimated){t.classList.add(gs)}this._element=t}return this._element}_configAfterMerge(t){t.rootElement=ai(t.rootElement);return t}_append(){if(this._isAppended){return}const t=this._getElement();this._config.rootElement.append(t);Ni.on(t,bs,(()=>{mi(this._config.clickCallback)}));this._isAppended=true}_emulateAnimation(t){bi(t,this._getElement(),this._config.isAnimated)}}const xs="focustrap";const $s="bs.focustrap";const As=`.${$s}`;const _s=`focusin${As}`;const js=`keydown.tab${As}`;const Ts="Tab";const Es="forward";const Ms="backward";const Os={autofocus:true,trapElement:null};const Cs={autofocus:"boolean",trapElement:"element"};class Is extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isActive=false;this._lastTabNavDirection=null}static get Default(){return Os}static get DefaultType(){return Cs}static get NAME(){return xs}activate(){if(this._isActive){return}if(this._config.autofocus){this._config.trapElement.focus()}Ni.off(document,As);Ni.on(document,_s,(t=>this._handleFocusin(t)));Ni.on(document,js,(t=>this._handleKeydown(t)));this._isActive=true}deactivate(){if(!this._isActive){return}this._isActive=false;Ni.off(document,As)}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target)){return}const i=Gi.focusableChildren(e);if(i.length===0){e.focus()}else if(this._lastTabNavDirection===Ms){i[i.length-1].focus()}else{i[0].focus()}}_handleKeydown(t){if(t.key!==Ts){return}this._lastTabNavDirection=t.shiftKey?Ms:Es}}const Ss=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const Ds=".sticky-top";const Ls="padding-right";const zs="margin-right";class Ns{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,Ls,(e=>e+t));this._setElementAttributes(Ss,Ls,(e=>e+t));this._setElementAttributes(Ds,zs,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,Ls);this._resetElementAttributes(Ss,Ls);this._resetElementAttributes(Ds,zs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();const r=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n){return}this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(r))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);if(i){Fi.setDataAttribute(t,e,i)}}_resetElementAttributes(t,e){const i=t=>{const i=Fi.getDataAttribute(t,e);if(i===null){t.style.removeProperty(e);return}Fi.removeDataAttribute(t,e);t.style.setProperty(e,i)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,e){if(oi(t)){e(t);return}for(const i of Gi.find(t,this._element)){e(i)}}}const Ps="modal";const Rs="bs.modal";const Bs=`.${Rs}`;const Fs=".data-api";const Hs="Escape";const Ws=`hide${Bs}`;const Us=`hidePrevented${Bs}`;const qs=`hidden${Bs}`;const Gs=`show${Bs}`;const Zs=`shown${Bs}`;const Qs=`resize${Bs}`;const Ys=`click.dismiss${Bs}`;const Js=`mousedown.dismiss${Bs}`;const Vs=`keydown.dismiss${Bs}`;const Xs=`click${Bs}${Fs}`;const Ks="modal-open";const to="fade";const eo="show";const io="modal-static";const no=".modal.show";const ro=".modal-dialog";const so=".modal-body";const oo='[data-bs-toggle="modal"]';const ao={backdrop:true,focus:true,keyboard:true};const co={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class uo extends Ui{constructor(t,e){super(t,e);this._dialog=Gi.findOne(ro,this._element);this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._isShown=false;this._isTransitioning=false;this._scrollBar=new Ns;this._addEventListeners()}static get Default(){return ao}static get DefaultType(){return co}static get NAME(){return Ps}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning){return}const e=Ni.trigger(this._element,Gs,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._isTransitioning=true;this._scrollBar.hide();document.body.classList.add(Ks);this._adjustDialog();this._backdrop.show((()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning){return}const t=Ni.trigger(this._element,Ws);if(t.defaultPrevented){return}this._isShown=false;this._isTransitioning=true;this._focustrap.deactivate();this._element.classList.remove(eo);this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())}dispose(){Ni.off(window,Bs);Ni.off(this._dialog,Bs);this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ks({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_showElement(t){if(!document.body.contains(this._element)){document.body.append(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;const e=Gi.findOne(so,this._dialog);if(e){e.scrollTop=0}this._element.classList.add(eo);const i=()=>{if(this._config.focus){this._focustrap.activate()}this._isTransitioning=false;Ni.trigger(this._element,Zs,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){Ni.on(this._element,Vs,(t=>{if(t.key!==Hs){return}if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}));Ni.on(window,Qs,(()=>{if(this._isShown&&!this._isTransitioning){this._adjustDialog()}}));Ni.on(this._element,Js,(t=>{Ni.one(this._element,Ys,(e=>{if(this._element!==t.target||this._element!==e.target){return}if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}if(this._config.backdrop){this.hide()}}))}))}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide((()=>{document.body.classList.remove(Ks);this._resetAdjustments();this._scrollBar.reset();Ni.trigger(this._element,qs)}))}_isAnimated(){return this._element.classList.contains(to)}_triggerBackdropTransition(){const t=Ni.trigger(this._element,Us);if(t.defaultPrevented){return}const e=this._element.scrollHeight>document.documentElement.clientHeight;const i=this._element.style.overflowY;if(i==="hidden"||this._element.classList.contains(io)){return}if(!e){this._element.style.overflowY="hidden"}this._element.classList.add(io);this._queueCallback((()=>{this._element.classList.remove(io);this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog);this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;const e=this._scrollBar.getWidth();const i=e>0;if(i&&!t){const t=vi()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=vi()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=uo.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t](e)}))}}Ni.on(document,Xs,oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}Ni.one(e,Gs,(t=>{if(t.defaultPrevented){return}Ni.one(e,qs,(()=>{if(ci(this)){this.focus()}}))}));const i=Gi.findOne(no);if(i){uo.getInstance(i).hide()}const n=uo.getOrCreateInstance(e);n.toggle(this)}));Zi(uo);gi(uo);const lo="offcanvas";const fo="bs.offcanvas";const ho=`.${fo}`;const po=".data-api";const vo=`load${ho}${po}`;const go="Escape";const mo="show";const bo="showing";const wo="hiding";const yo="offcanvas-backdrop";const ko=".offcanvas.show";const xo=`show${ho}`;const $o=`shown${ho}`;const Ao=`hide${ho}`;const _o=`hidePrevented${ho}`;const jo=`hidden${ho}`;const To=`resize${ho}`;const Eo=`click${ho}${po}`;const Mo=`keydown.dismiss${ho}`;const Oo='[data-bs-toggle="offcanvas"]';const Co={backdrop:true,keyboard:true,scroll:false};const Io={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class So extends Ui{constructor(t,e){super(t,e);this._isShown=false;this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._addEventListeners()}static get Default(){return Co}static get DefaultType(){return Io}static get NAME(){return lo}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown){return}const e=Ni.trigger(this._element,xo,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._backdrop.show();if(!this._config.scroll){(new Ns).hide()}this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(bo);const i=()=>{if(!this._config.scroll||this._config.backdrop){this._focustrap.activate()}this._element.classList.add(mo);this._element.classList.remove(bo);Ni.trigger(this._element,$o,{relatedTarget:t})};this._queueCallback(i,this._element,true)}hide(){if(!this._isShown){return}const t=Ni.trigger(this._element,Ao);if(t.defaultPrevented){return}this._focustrap.deactivate();this._element.blur();this._isShown=false;this._element.classList.add(wo);this._backdrop.hide();const e=()=>{this._element.classList.remove(mo,wo);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");if(!this._config.scroll){(new Ns).reset()}Ni.trigger(this._element,jo)};this._queueCallback(e,this._element,true)}dispose(){this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ni.trigger(this._element,_o);return}this.hide()};const e=Boolean(this._config.backdrop);return new ks({className:yo,isVisible:e,isAnimated:true,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_addEventListeners(){Ni.on(this._element,Mo,(t=>{if(t.key!==go){return}if(this._config.keyboard){this.hide();return}Ni.trigger(this._element,_o)}))}static jQueryInterface(t){return this.each((function(){const e=So.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Ni.on(document,Eo,Oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}Ni.one(e,jo,(()=>{if(ci(this)){this.focus()}}));const i=Gi.findOne(ko);if(i&&i!==e){So.getInstance(i).hide()}const n=So.getOrCreateInstance(e);n.toggle(this)}));Ni.on(window,vo,(()=>{for(const t of Gi.find(ko)){So.getOrCreateInstance(t).show()}}));Ni.on(window,To,(()=>{for(const t of Gi.find("[aria-modal][class*=show][class*=offcanvas-]")){if(getComputedStyle(t).position!=="fixed"){So.getOrCreateInstance(t).hide()}}}));Zi(So);gi(So);const Do=/^aria-[\w-]*$/i;const Lo={"*":["class","dir","id","lang","role",Do],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:[]};const zo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const No=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;const Po=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i)){if(zo.has(i)){return Boolean(No.test(t.nodeValue))}return true}return e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};function Ro(t,e,i){if(!t.length){return t}if(i&&typeof i==="function"){return i(t)}const n=new window.DOMParser;const r=n.parseFromString(t,"text/html");const s=[].concat(...r.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes);const r=[].concat(e["*"]||[],e[i]||[]);for(const e of n){if(!Po(e,r)){t.removeAttribute(e.nodeName)}}}return r.body.innerHTML}const Bo="TemplateFactory";const Fo={allowList:Lo,content:{},extraClass:"",html:false,sanitize:true,sanitizeFn:null,template:"<div></div>"};const Ho={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"};const Wo={entry:"(string|element|function|null)",selector:"(string|element)"};class Uo extends Hi{constructor(t){super();this._config=this._getConfig(t)}static get Default(){return Fo}static get DefaultType(){return Ho}static get NAME(){return Bo}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){this._checkContent(t);this._config.content={...this._config.content,...t};return this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content)){this._setContent(t,i,e)}const e=t.children[0];const i=this._resolvePossibleFunction(this._config.extraClass);if(i){e.classList.add(...i.split(" "))}return e}_typeCheckConfig(t){super._typeCheckConfig(t);this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t)){super._typeCheckConfig({selector:e,entry:i},Wo)}}_setContent(t,e,i){const n=Gi.findOne(i,t);if(!n){return}e=this._resolvePossibleFunction(e);if(!e){n.remove();return}if(oi(e)){this._putElementInTemplate(ai(e),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(e);return}n.textContent=e}_maybeSanitize(t){return this._config.sanitize?Ro(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return mi(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="";e.append(t);return}e.textContent=t.textContent}}const qo="tooltip";const Go=new Set(["sanitize","allowList","sanitizeFn"]);const Zo="fade";const Qo="modal";const Yo="show";const Jo=".tooltip-inner";const Vo=`.${Qo}`;const Xo="hide.bs.modal";const Ko="hover";const ta="focus";const ea="click";const ia="manual";const na="hide";const ra="hidden";const sa="show";const oa="shown";const aa="inserted";const ca="click";const ua="focusin";const la="focusout";const fa="mouseenter";const ha="mouseleave";const da={AUTO:"auto",TOP:"top",RIGHT:vi()?"left":"right",BOTTOM:"bottom",LEFT:vi()?"right":"left"};const pa={allowList:Lo,animation:true,boundary:"clippingParents",container:false,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:false,offset:[0,6],placement:"top",popperConfig:null,sanitize:true,sanitizeFn:null,selector:false,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",title:"",trigger:"hover focus"};const va={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ga extends Ui{constructor(t,e){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(t,e);this._isEnabled=true;this._timeout=0;this._isHovered=null;this._activeTrigger={};this._popper=null;this._templateFactory=null;this._newContent=null;this.tip=null;this._setListeners();if(!this._config.selector){this._fixTitle()}}static get Default(){return pa}static get DefaultType(){return va}static get NAME(){return qo}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled){return}this._activeTrigger.click=!this._activeTrigger.click;if(this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout);Ni.off(this._element.closest(Vo),Xo,this._hideModalHandler);if(this._element.getAttribute("data-bs-original-title")){this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title"))}this._disposePopper();super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this._isWithContent()&&this._isEnabled)){return}const t=Ni.trigger(this._element,this.constructor.eventName(sa));const e=li(this._element);const i=(e||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i){return}this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(!this._element.ownerDocument.documentElement.contains(this.tip)){r.append(n);Ni.trigger(this._element,this.constructor.eventName(aa))}this._popper=this._createPopper(n);n.classList.add(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}const s=()=>{Ni.trigger(this._element,this.constructor.eventName(oa));if(this._isHovered===false){this._leave()}this._isHovered=false};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()){return}const t=Ni.trigger(this._element,this.constructor.eventName(na));if(t.defaultPrevented){return}const e=this._getTipElement();e.classList.remove(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}this._activeTrigger[ea]=false;this._activeTrigger[ta]=false;this._activeTrigger[Ko]=false;this._isHovered=null;const i=()=>{if(this._isWithActiveTrigger()){return}if(!this._isHovered){this._disposePopper()}this._element.removeAttribute("aria-describedby");Ni.trigger(this._element,this.constructor.eventName(ra))};this._queueCallback(i,this.tip,this._isAnimated())}update(){if(this._popper){this._popper.update()}}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){if(!this.tip){this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())}return this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e){return null}e.classList.remove(Zo,Yo);e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=ni(this.constructor.NAME).toString();e.setAttribute("id",i);if(this._isAnimated()){e.classList.add(Zo)}return e}setContent(t){this._newContent=t;if(this._isShown()){this._disposePopper();this.show()}}_getTemplateFactory(t){if(this._templateFactory){this._templateFactory.changeContent(t)}else{this._templateFactory=new Uo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})}return this._templateFactory}_getContentForTemplate(){return{[Jo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zo)}_isShown(){return this.tip&&this.tip.classList.contains(Yo)}_createPopper(t){const e=mi(this._config.placement,[this,t,this._element]);const i=da[e.toUpperCase()];return Qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_resolvePossibleFunction(t){return mi(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:true,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...mi(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t){if(e==="click"){Ni.on(this._element,this.constructor.eventName(ca),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e.toggle()}))}else if(e!==ia){const t=e===Ko?this.constructor.eventName(fa):this.constructor.eventName(ua);const i=e===Ko?this.constructor.eventName(ha):this.constructor.eventName(la);Ni.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusin"?ta:Ko]=true;e._enter()}));Ni.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusout"?ta:Ko]=e._element.contains(t.relatedTarget);e._leave()}))}}this._hideModalHandler=()=>{if(this._element){this.hide()}};Ni.on(this._element.closest(Vo),Xo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");if(!t){return}if(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()){this._element.setAttribute("aria-label",t)}this._element.setAttribute("data-bs-original-title",t);this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=true;return}this._isHovered=true;this._setTimeout((()=>{if(this._isHovered){this.show()}}),this._config.delay.show)}_leave(){if(this._isWithActiveTrigger()){return}this._isHovered=false;this._setTimeout((()=>{if(!this._isHovered){this.hide()}}),this._config.delay.hide)}_setTimeout(t,e){clearTimeout(this._timeout);this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(true)}_getConfig(t){const e=Fi.getDataAttributes(this._element);for(const t of Object.keys(e)){if(Go.has(t)){delete e[t]}}t={...e,...typeof t==="object"&&t?t:{}};t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){t.container=t.container===false?document.body:ai(t.container);if(typeof t.delay==="number"){t.delay={show:t.delay,hide:t.delay}}if(typeof t.title==="number"){t.title=t.title.toString()}if(typeof t.content==="number"){t.content=t.content.toString()}return t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config)){if(this.constructor.Default[e]!==i){t[e]=i}}t.selector=false;t.trigger="manual";return t}_disposePopper(){if(this._popper){this._popper.destroy();this._popper=null}if(this.tip){this.tip.remove();this.tip=null}}static jQueryInterface(t){return this.each((function(){const e=ga.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(ga);const ma="popover";const ba=".popover-header";const wa=".popover-body";const ya={...ga.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>",trigger:"click"};const ka={...ga.DefaultType,content:"(null|string|element|function)"};class xa extends ga{static get Default(){return ya}static get DefaultType(){return ka}static get NAME(){return ma}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ba]:this._getTitle(),[wa]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=xa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(xa);const $a="scrollspy";const Aa="bs.scrollspy";const _a=`.${Aa}`;const ja=".data-api";const Ta=`activate${_a}`;const Ea=`click${_a}`;const Ma=`load${_a}${ja}`;const Oa="dropdown-item";const Ca="active";const Ia='[data-bs-spy="scroll"]';const Sa="[href]";const Da=".nav, .list-group";const La=".nav-link";const za=".nav-item";const Na=".list-group-item";const Pa=`${La}, ${za} > ${La}, ${Na}`;const Ra=".dropdown";const Ba=".dropdown-toggle";const Fa={offset:null,rootMargin:"0px 0px -25%",smoothScroll:false,target:null,threshold:[.1,.5,1]};const Ha={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wa extends Ui{constructor(t,e){super(t,e);this._targetLinks=new Map;this._observableSections=new Map;this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element;this._activeTarget=null;this._observer=null;this._previousScrollData={visibleEntryTop:0,parentScrollTop:0};this.refresh()}static get Default(){return Fa}static get DefaultType(){return Ha}static get NAME(){return $a}refresh(){this._initializeTargetsAndObservables();this._maybeEnableSmoothScroll();if(this._observer){this._observer.disconnect()}else{this._observer=this._getNewObserver()}for(const t of this._observableSections.values()){this._observer.observe(t)}}dispose(){this._observer.disconnect();super.dispose()}_configAfterMerge(t){t.target=ai(t.target)||document.body;t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin;if(typeof t.threshold==="string"){t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))}return t}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll){return}Ni.off(this._config.target,Ea);Ni.on(this._config.target,Ea,Sa,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window;const n=e.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`);const i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop;this._process(e(t))};const n=(this._rootElement||document.documentElement).scrollTop;const r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of t){if(!s.isIntersecting){this._activeTarget=null;this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){i(s);if(!n){return}continue}if(!r&&!t){i(s)}}}_initializeTargetsAndObservables(){this._targetLinks=new Map;this._observableSections=new Map;const t=Gi.find(Sa,this._config.target);for(const e of t){if(!e.hash||ui(e)){continue}const t=Gi.findOne(decodeURI(e.hash),this._element);if(ci(t)){this._targetLinks.set(decodeURI(e.hash),e);this._observableSections.set(e.hash,t)}}}_process(t){if(this._activeTarget===t){return}this._clearActiveClass(this._config.target);this._activeTarget=t;t.classList.add(Ca);this._activateParents(t);Ni.trigger(this._element,Ta,{relatedTarget:t})}_activateParents(t){if(t.classList.contains(Oa)){Gi.findOne(Ba,t.closest(Ra)).classList.add(Ca);return}for(const e of Gi.parents(t,Da)){for(const t of Gi.prev(e,Pa)){t.classList.add(Ca)}}}_clearActiveClass(t){t.classList.remove(Ca);const e=Gi.find(`${Sa}.${Ca}`,t);for(const t of e){t.classList.remove(Ca)}}static jQueryInterface(t){return this.each((function(){const e=Wa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(window,Ma,(()=>{for(const t of Gi.find(Ia)){Wa.getOrCreateInstance(t)}}));gi(Wa);const Ua="tab";const qa="bs.tab";const Ga=`.${qa}`;const Za=`hide${Ga}`;const Qa=`hidden${Ga}`;const Ya=`show${Ga}`;const Ja=`shown${Ga}`;const Va=`click${Ga}`;const Xa=`keydown${Ga}`;const Ka=`load${Ga}`;const tc="ArrowLeft";const ec="ArrowRight";const ic="ArrowUp";const nc="ArrowDown";const rc="Home";const sc="End";const oc="active";const ac="fade";const cc="show";const uc="dropdown";const lc=".dropdown-toggle";const fc=".dropdown-menu";const hc=`:not(${lc})`;const dc='.list-group, .nav, [role="tablist"]';const pc=".nav-item, .list-group-item";const vc=`.nav-link${hc}, .list-group-item${hc}, [role="tab"]${hc}`;const gc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const mc=`${vc}, ${gc}`;const bc=`.${oc}[data-bs-toggle="tab"], .${oc}[data-bs-toggle="pill"], .${oc}[data-bs-toggle="list"]`;class wc extends Ui{constructor(t){super(t);this._parent=this._element.closest(dc);if(!this._parent){return}this._setInitialAttributes(this._parent,this._getChildren());Ni.on(this._element,Xa,(t=>this._keydown(t)))}static get NAME(){return Ua}show(){const t=this._element;if(this._elemIsActive(t)){return}const e=this._getActiveElem();const i=e?Ni.trigger(e,Za,{relatedTarget:t}):null;const n=Ni.trigger(t,Ya,{relatedTarget:e});if(n.defaultPrevented||i&&i.defaultPrevented){return}this._deactivate(e,t);this._activate(t,e)}_activate(t,e){if(!t){return}t.classList.add(oc);this._activate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(cc);return}t.removeAttribute("tabindex");t.setAttribute("aria-selected",true);this._toggleDropDown(t,true);Ni.trigger(t,Ja,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_deactivate(t,e){if(!t){return}t.classList.remove(oc);t.blur();this._deactivate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(cc);return}t.setAttribute("aria-selected",false);t.setAttribute("tabindex","-1");this._toggleDropDown(t,false);Ni.trigger(t,Qa,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_keydown(t){if(![tc,ec,ic,nc,rc,sc].includes(t.key)){return}t.stopPropagation();t.preventDefault();const e=this._getChildren().filter((t=>!ui(t)));let i;if([rc,sc].includes(t.key)){i=e[t.key===rc?0:e.length-1]}else{const n=[ec,nc].includes(t.key);i=wi(e,t.target,n,true)}if(i){i.focus({preventScroll:true});wc.getOrCreateInstance(i).show()}}_getChildren(){return Gi.find(mc,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e){this._setInitialAttributesOnChild(t)}}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t);const i=this._getOuterElement(t);t.setAttribute("aria-selected",e);if(i!==t){this._setAttributeIfNotExists(i,"role","presentation")}if(!e){t.setAttribute("tabindex","-1")}this._setAttributeIfNotExists(t,"role","tab");this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Gi.getElementFromSelector(t);if(!e){return}this._setAttributeIfNotExists(e,"role","tabpanel");if(t.id){this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`)}}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(uc)){return}const n=(t,n)=>{const r=Gi.findOne(t,i);if(r){r.classList.toggle(n,e)}};n(lc,oc);n(fc,cc);i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){if(!t.hasAttribute(e)){t.setAttribute(e,i)}}_elemIsActive(t){return t.classList.contains(oc)}_getInnerElement(t){return t.matches(mc)?t:Gi.findOne(mc,t)}_getOuterElement(t){return t.closest(pc)||t}static jQueryInterface(t){return this.each((function(){const e=wc.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(document,Va,gc,(function(t){if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}wc.getOrCreateInstance(this).show()}));Ni.on(window,Ka,(()=>{for(const t of Gi.find(bc)){wc.getOrCreateInstance(t)}}));gi(wc);const yc="toast";const kc="bs.toast";const xc=`.${kc}`;const $c=`mouseover${xc}`;const Ac=`mouseout${xc}`;const _c=`focusin${xc}`;const jc=`focusout${xc}`;const Tc=`hide${xc}`;const Ec=`hidden${xc}`;const Mc=`show${xc}`;const Oc=`shown${xc}`;const Cc="fade";const Ic="hide";const Sc="show";const Dc="showing";const Lc={animation:"boolean",autohide:"boolean",delay:"number"};const zc={animation:true,autohide:true,delay:5e3};class Nc extends Ui{constructor(t,e){super(t,e);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get Default(){return zc}static get DefaultType(){return Lc}static get NAME(){return yc}show(){const t=Ni.trigger(this._element,Mc);if(t.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(Cc)}const e=()=>{this._element.classList.remove(Dc);Ni.trigger(this._element,Oc);this._maybeScheduleHide()};this._element.classList.remove(Ic);this._element.classList.add(Sc,Dc);this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()){return}const t=Ni.trigger(this._element,Tc);if(t.defaultPrevented){return}const e=()=>{this._element.classList.add(Ic);this._element.classList.remove(Dc,Sc);Ni.trigger(this._element,Ec)};this._element.classList.add(Dc);this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this.isShown()){this._element.classList.remove(Sc)}super.dispose()}isShown(){return this._element.classList.contains(Sc)}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const i=t.relatedTarget;if(this._element===i||this._element.contains(i)){return}this._maybeScheduleHide()}_setListeners(){Ni.on(this._element,$c,(t=>this._onInteraction(t,true)));Ni.on(this._element,Ac,(t=>this._onInteraction(t,false)));Ni.on(this._element,_c,(t=>this._onInteraction(t,true)));Ni.on(this._element,jc,(t=>this._onInteraction(t,false)))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Nc.getOrCreateInstance(this,t);if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t](this)}}))}}Zi(Nc);gi(Nc);const Pc="";const Rc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){return e(i,null,e("h2",{class:"card-title mb-2"},"FAQ"),e("div",{class:"accordion",id:"aico-faq-accordion"},this.content.faqItems.map(((t,i)=>{var n;const r=(n=t.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return null}return e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:`heading-${i}`},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse-${i}`,"aria-expanded":"false","aria-controls":`collapse-${i}`},r.question)),e("div",{id:`collapse-${i}`,class:"accordion-collapse collapse","aria-labelledby":`heading-${i}`,"data-bs-parent":"#aico-faq-accordion"},e("div",{class:"accordion-body"},r.answer)))}))))}};Rc.style=Pc;const Bc="";const Fc=class{constructor(e){t(this,e);this.article=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false;this.articleId=undefined;this.articleUrlHandle=undefined}connectedCallback(){this.articleFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.articleFetchController.abort("disconnected")}async componentWillLoad(){if(!this.articleId&&!this.articleUrlHandle){throw new Error("Either the article id or the url handle must be provided.")}try{if(this.articleUrlHandle){this.article=await w(this.api,this.articleUrlHandle,this.articleFetchController.signal);return}this.article=await b(this.api,this.articleId,this.articleFetchController.signal)}catch(t){console.error("Could not fetch the news Article with the given data","[articleId]",this.articleId,"[articleUrlHandle]",this.articleUrlHandle)}}render(){return e(n,null,e(h,{condition:this.article!==undefined},e("aico-article-detail",{article:this.article,locale:this.locale,"hide-date-and-author":this.hideDateAndAuthor})),e(h,{condition:this.article===undefined},e("p",null,"Not found")))}};Fc.style=Bc;const Hc=".content.sc-aico-heading-content{display:flex;flex-flow:column;width:100%;margin:10px auto}.content-align-with-text.sc-aico-heading-content{align-content:space-between;max-width:1278px;display:flex;flex-flow:row wrap;width:100%;margin:0 auto}.title-wrapper.sc-aico-heading-content{width:fit-content;border-radius:10px;margin-bottom:10px;margin-left:0;padding:15px}.description.sc-aico-heading-content{width:fit-content;padding:10px;border-radius:10px;white-space:pre-line}@media screen and (max-width: 768px){.content.sc-aico-heading-content{min-height:300px !important}}";const Wc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n={"justify-content":this.content.isTextAtMiddleOfImage?"center":"flex-end"};if(!x(this.content.picture)){n["min-height"]=this.content.isImageHeightHalfSize?"400px":"600px";n["background-size"]=this.content.isImageHeightHalfSize?"100%":"cover";n["background-image"]=`url(${this.content.picture})`;n["background-repeat"]="no-repeat";n["background-position"]="center"}const r={"background-color":this.content.textBackgroundColor};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`}if(!x(this.content.fontFamily)){r["font-family"]=this.content.fontFamily}const s={"background-color":this.content.textBackgroundColor};if(!x(this.content.textColor)){s["color"]=this.content.textColor}return e("div",{class:this.content.isHeadingAlignedWithText?"content content-align-with-text":"content",style:n},e(h,{condition:i!==null},e("div",{class:"title-wrapper",style:r},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("span",{class:"description",style:s},i.description)))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}};Wc.style=Hc;const Uc=".sc-aico-html-content-h{display:block}";const qc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null&&!x(i.text)},e("div",{innerHTML:i.text}))}};qc.style=Uc;const Gc=".sc-aico-link-content-h {\n --hover-button-color: unset;\n}\n\n.image-link-wrapper.sc-aico-link-content {\n display: flex;\n}\n\n.image-link.sc-aico-link-content {\n display: block;\n text-align: center;\n &:hover {\n opacity: 0.5;\n }\n}\n\n.arrow-button.sc-aico-link-content {\n float: right;\n font-size: 30px;\n margin-top: -10px;\n}\n\n.button_link.sc-aico-link-content {\n display: block;\n text-decoration: none;\n text-transform: uppercase;\n padding: 12px;\n text-align: center;\n font-weight: 900;\n font-size: 1.5rem;\n line-height: 1;\n letter-spacing: 0.03rem;\n border-radius: 5px;\n &:hover {\n background-color: var(--hover-button-color) !important;\n }\n}";const Zc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.textButtonColor){o["color"]=this.content.textButtonColor}if(this.content.textButtonColor){o["background-color"]=this.content.textButtonColor}if(this.content.fontSize){o["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){o["font-family"]=this.content.fontFamily}if(this.content.hoverColor){o["--hover-button-color"]=this.content.hoverColor}return e(i,null,e(h,{condition:!x(s===null||s===void 0?void 0:s.title)},e("label",null,s===null||s===void 0?void 0:s.title,": ")),e(h,{condition:this.content.isImageLink!==undefined&&this.content.isImageLink},e("div",{class:"image-link-wrapper",style:{"justify-content":this.content.picturePosition}},e("a",{href:(n=s===null||s===void 0?void 0:s.link)!==null&&n!==void 0?n:"#",target:"_blank",class:"image-link",style:{width:this.content.isImageFullSize?"100%":y(this.content.pictureSize)}},e("img",{src:s===null||s===void 0?void 0:s.imageUrl})))),e(h,{condition:this.content.isImageLink===null||!this.content.isImageLink},e("a",{href:(r=s===null||s===void 0?void 0:s.link)!==null&&r!==void 0?r:"#",target:"_blank",class:this.content.isButtonLink?"button-link":"",style:o},e("span",{class:"arrow-button"}," →"))))}};Zc.style=Gc;const Qc=".news-article.sc-aico-news-content{cursor:pointer}.news-article-img.sc-aico-news-content{transition:scale 0.5s ease-in-out}.news-article.sc-aico-news-content:hover .news-article-img.sc-aico-news-content{scale:1.2}";const Yc=class{constructor(e){t(this,e);this.newsArticleClicked=r(this,"newsArticleClicked",7);this.content=undefined}render(){return e("div",{class:"card-group"},this.content.aicoShopNews.map((t=>{var i,n,r,s;return e("div",{class:"news-article card h-100 pe-auto",onClick:()=>{var e;(e=this.newsArticleClicked)===null||e===void 0?void 0:e.emit(t)}},e("div",{class:"ratio ratio-4x3 overflow-hidden "},e("img",{class:"news-article-img card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=(i=t.image)!==null&&i!==void 0?i:t.headlineImage)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w"})),e("div",{class:"card-body",style:{"min-height":"6rem","background-color":(r=this.content.textBackgroundColor)!==null&&r!==void 0?r:"royalBlue"}},e("h5",{class:"card-title"},t.name)),e(h,{condition:!x(t.excerpt)},e("div",{class:"card-footer",style:{"background-color":(s=this.content.textBackgroundColor)!==null&&s!==void 0?s:"royalBlue",color:"white"}},e("small",{class:"text-muted"},t.excerpt))))})))}};Yc.style=Qc;const Jc="";const Vc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.newsResponse=undefined;this.pageNumber=1;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.pageSize=16;this.nextButtonText="Next";this.previousButtonText="Previous";this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.pageNumber=1;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}render(){var t,n,r;return e(i,null,e("div",{class:"row row-cols-1 row-cols-sm-2 row-cols-lg-4 g-4 mb-4"},(t=this.newsResponse)===null||t===void 0?void 0:t.data.map((t=>e("div",{class:"col"},e("aico-news-list-item",{article:t,onArticleClick:t=>{var e;(e=this.articleClick)===null||e===void 0?void 0:e.emit(t.detail)},locale:this.locale}))))),e("nav",{class:"w-100","aria-label":"News navigation"},e("ul",{class:"pagination justify-content-center"},e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((n=this.newsResponse)===null||n===void 0?void 0:n.links.prev)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{if(this.pageNumber>1){this.pageNumber-=1}return false}},e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-left me-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"})),this.previousButtonText),this.getViewablePages().map((t=>e("li",{class:`page-item page-link user-select-none ${t==="..."?"disabled":Number(t)===this.pageNumber?"active":""}`,style:{cursor:"pointer"},onClick:()=>{if(t!=="..."){this.pageNumber=Number(t)}return false}},t))),e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((r=this.newsResponse)===null||r===void 0?void 0:r.links.next)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{var t,e;if(((t=this.newsResponse)===null||t===void 0?void 0:t.meta.page.lastPage)&&this.pageNumber<((e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)){this.pageNumber+=1}}},this.nextButtonText,e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-right ms-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"}))))))}getViewablePages(t=2){var e,i,n,r,s,o,a;const c=[];if(this.pageNumber-t>=2){c.push("1")}if(this.pageNumber-t>2){c.push("...")}for(let e=this.pageNumber-t;e<this.pageNumber;e+=1){if(e>=1){c.push(`${e}`)}}c.push(`${this.pageNumber}`);for(let n=this.pageNumber+1;n<=this.pageNumber+t;n+=1){if(n<=((i=(e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)!==null&&i!==void 0?i:0)){c.push(`${n}`)}}if(this.pageNumber+t<((r=(n=this.newsResponse)===null||n===void 0?void 0:n.meta.page.lastPage)!==null&&r!==void 0?r:0)-1){c.push("...")}if(this.pageNumber+t<=((o=(s=this.newsResponse)===null||s===void 0?void 0:s.meta.page.lastPage)!==null&&o!==void 0?o:0)-1){c.push(`${(a=this.newsResponse)===null||a===void 0?void 0:a.meta.page.lastPage}`)}return c}};Vc.style=Jc;const Xc="";const Kc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.article=undefined;this.locale="de"}render(){var t,i,n,r,s,o,a;const c=this.article.attributes.translations.find((t=>t.locale===this.locale));return e("div",{class:"card h-100 pe-auto",style:{cursor:"pointer"},onClick:()=>{var t;(t=this.articleClick)===null||t===void 0?void 0:t.emit(this.article)}},e("div",{class:"ratio ratio-16x9 overflow-hidden"},e("img",{class:"object-fit-cover",style:{"min-height":"15rem"},alt:"Article image",src:(s=(r=(n=(i=(t=c===null||c===void 0?void 0:c.optimizedListImage)!==null&&t!==void 0?t:c===null||c===void 0?void 0:c.optimizedImage)!==null&&i!==void 0?i:c===null||c===void 0?void 0:c.image)!==null&&n!==void 0?n:this.article.attributes.optimizedListImage)!==null&&r!==void 0?r:this.article.attributes.optimizedImage)!==null&&s!==void 0?s:this.article.attributes.image}),e("div",{class:"card-img-overlay d-flex justify-content-end"})),e("div",{class:"card-body"},e("h5",{class:"card-title"},(o=c===null||c===void 0?void 0:c.name)!==null&&o!==void 0?o:this.article.attributes.name),e("p",{class:"card-text"},(a=c===null||c===void 0?void 0:c.excerpt)!==null&&a!==void 0?a:this.article.attributes.excerpt)))}};Kc.style=Xc;const tu=".sc-aico-no-content-h{display:block}";const eu=class{constructor(e){t(this,e)}render(){return e("div",null,e("span",null,"The content cannot be rendered because it is either malformed or not supported."))}};eu.style=tu;const iu=".sc-aico-page-content-h{display:block}";const nu=class{constructor(e){t(this,e);this.pageClicked=r(this,"pageClicked",7);this.content=undefined;this.locale="de"}render(){var t,n,r,s,o;const a=(t=this.content.landingPage.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,{style:{"max-width":"300px"}},e("div",{class:"card pe-auto"},e("div",{class:"ratio ratio-4x3"},e("img",{class:"card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=this.content.landingPage.image)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w",alt:(r=a===null||a===void 0?void 0:a.imageAlt)!==null&&r!==void 0?r:"Landing page image"})),e("div",{class:"card-body",style:{"min-height":"6rem"}},e("h5",{class:"card-title"},a===null||a===void 0?void 0:a.name),e(h,{condition:this.content.openExternalLink&&!x(this.content.externalLink)},e("a",{href:this.content.externalLink,class:"card-link"},(s=a===null||a===void 0?void 0:a.buttonText)!==null&&s!==void 0?s:"Navigate to page")),e(h,{condition:!this.content.openExternalLink},e("a",{href:"#",class:"card-link",onClick:t=>{var e;t.preventDefault();(e=this.pageClicked)===null||e===void 0?void 0:e.emit(this.content)}},(o=a===null||a===void 0?void 0:a.buttonText)!==null&&o!==void 0?o:"Navigate to page"))),e(h,{condition:a!==null&&!x(a.excerpt)},e("div",{class:"card-footer"},e("small",{class:"text-muted"},a===null||a===void 0?void 0:a.excerpt)))))}};nu.style=iu;const ru=".slick-slide.sc-aico-special-news-carousel>div.sc-aico-special-news-carousel{height:100% !important}";const su=class{constructor(e){t(this,e);this.articleClicked=r(this,"articleClicked",7);this.newsResponse=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.numberOfArticles=6;this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,dots:true,arrows:false,pauseOnDotsHover:true})}render(){return e("div",{class:"carousel"},this.newsResponse.data.map((t=>{var i,n,r,s;const o=t.attributes.focusXPercentage?`${t.attributes.focusXPercentage}%`:"center";const a=t.attributes.focusYPercentage?`${t.attributes.focusYPercentage}%`:"center";const c=t.attributes.translations.find((t=>t.locale===this.locale));return e("div",{class:"carousel-item card border-0"},e("div",{class:"card-body"},e("h5",{class:"card-title text-center text-uppercase"},e("a",{class:"text-reset text-decoration-none",href:"#",onClick:e=>{var i;e.preventDefault();(i=this.articleClicked)===null||i===void 0?void 0:i.emit(t)}},(i=c===null||c===void 0?void 0:c.name)!==null&&i!==void 0?i:t.attributes.name))),e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img-bottom object-fit-cover",style:{"object-position":`${o} ${a}`,"min-height":"15rem"},alt:"News Picture","data-lazy":(s=(r=(n=c===null||c===void 0?void 0:c.optimizedImage)!==null&&n!==void 0?n:c===null||c===void 0?void 0:c.image)!==null&&r!==void 0?r:t.attributes.optimizedImage)!==null&&s!==void 0?s:t.attributes.image})))})))}};su.style=ru;const ou=".table-content.sc-aico-table-content{width:100%;overflow-x:auto;white-space:nowrap;text-align:center}.table-content.sc-aico-table-content:not([class]) td.sc-aico-table-content,.table-content.sc-aico-table-content:not([class]) th.sc-aico-table-content{padding:10px !important;border:none !important}.table-content.sc-aico-table-content th.sc-aico-table-content{font-weight:700 !important}.table-content.sc-aico-table-content td.sc-aico-table-content,.table-content.sc-aico-table-content th.sc-aico-table-content{white-space:pre-line}";const au=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const s=(i=this.content.firstColor)!==null&&i!==void 0?i:"#d6dfe1";const o=(n=this.content.secondColor)!==null&&n!==void 0?n:"#e6eced";return e("div",{class:"content-table card"},e("div",{class:"card-body"},e(h,{condition:r!==null},e("aico-title-content",{class:"card-title mt-0",content:this.makeTitleContent(r),locale:this.locale}),e("p",{class:"card-text"},r.additionalText)),e("table",{class:"table-content"},this.content.tableRows.sort(((t,e)=>t.sort-e.sort)).map(((t,i)=>e("tr",{style:{"font-weight":"400","background-color":i%2===0?s:o}},t.rowColumns.map((i=>{var n;const r=(n=i.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return t.isHeading?e("th",null):e("td",null)}return t.isHeading?e("th",null,r.columnData):e("td",null,r.columnData)}))))))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};au.style=ou;const cu=".star-rating.sc-aico-testimonial-content{font-size:0;white-space:nowrap;height:35px;overflow:hidden;position:relative;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content{opacity:0;position:absolute;left:0;top:0;height:100%;z-index:1;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content{opacity:0;display:inline-block;height:100%;margin:0;padding:0;z-index:2;position:relative}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:hover+i.sc-aico-testimonial-content,.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:checked+i.sc-aico-testimonial-content{opacity:1}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-5.sc-aico-testimonial-content{width:173px}.star-rating.star-5.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:20%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-3.sc-aico-testimonial-content{width:150px}.star-rating.star-3.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:33.33%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:66.66%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}";const uu=class{constructor(e){t(this,e);this.content=undefined}render(){return e("div",{class:"card"},e(h,{condition:!x(this.content.testimonial.image)},e("img",{class:"card-img-top",alt:"image",src:this.content.testimonial.image})),e("div",{class:"card-body"},e("h2",{class:"card-title"},this.content.testimonial.title),e("p",{class:"card-text"},this.content.testimonial.text),e(h,{condition:this.content.testimonial.rating!==null},e("div",{class:"star-rating star-5"},Array.from({length:this.content.testimonial.rating},((t,e)=>e+1)).map((t=>e(n,null,e("input",{type:"radio",id:`star${t}`,name:"rating",value:t}),e("i",{style:{opacity:this.content.testimonial.rating>=t?"1":"0"}}))))))))}};uu.style=cu;const lu=({condition:t,wrap:e},i)=>t?e(i):i;const fu="";const hu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.hasBackgroundColor){o["background-color"]=(i=this.content.backgroundColor)!==null&&i!==void 0?i:"white";o["color"]=(n=this.content.textColor)!==null&&n!==void 0?n:"black";o["width"]="100%";o["padding"]="15px";o["margin-top"]="10px"}if(this.content.addBorder){o["border"]=`3px solid ${this.content.borderColor}`;o["margin-top"]="-3px"}if(this.content.alignmentEnabled){o["display"]="flex";o["align-items"]=(r=this.content.verticalAlign)!==null&&r!==void 0?r:"flex-start"}return e(h,{condition:s!==null},e(lu,{condition:!x(s.promptText),wrap:t=>e("div",{class:"accordion",id:"aico-text-content"},e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:"heading"},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse","aria-expanded":"false","aria-controls":"collapse"},s.promptText)),e("div",{id:"collapse",class:"accordion-collapse collapse","aria-labelledby":"heading","data-bs-parent":"#aico-text-content"},e("div",{class:"accordion-body"},t))))},e("div",{class:"card",style:o},e("div",{class:"card-body w-100 border-0"},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(s),locale:this.locale}),e(h,{condition:this.shouldDisplayTextAndPicture(s)},e("div",{class:"row g-4"},e("div",{class:$({"col-md-8":true,"order-1":this.content.picturePosition==="right","order-2":this.content.picturePosition==="left"})},this.getTextComponent(s)),e("div",{class:$({"col-md-4 justify-content-center":true,"order-2":this.content.picturePosition==="right","order-1":this.content.picturePosition==="left"})},this.getImageComponent(s)))),e(h,{condition:this.shouldDisplayOnlyPicture(s)},this.getImageComponent(s)),e(h,{condition:this.shouldDisplayOnlyText(s)},this.getTextComponent(s))))))}getImageComponent(t){var i;return e("div",{class:"card text-bg-dark text-white"},e("img",{class:"card-img img-fluid object-fit-contain",src:(i=t.optimizedPicture)!==null&&i!==void 0?i:t.picture}),e(h,{condition:!x(t.pictureLabel)},e("div",{class:"card-img-overlay"},e("p",{class:$({"card-text":true,"text-end":this.content.pictureLabelPosition==="right","text-center":this.content.pictureLabelPosition==="center"})},t.pictureLabel))))}getTextComponent(t){const i={"line-height":"1.3","white-space":"pre-line"};if(this.content.fontSize){i["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){i["font-family"]=this.content.fontFamily}if(this.content.shouldJustifyText){i["text-align"]="justify";i["text-justify"]="inner-word"}return e("p",{class:"card-text",style:i},t.text)}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}shouldDisplayTextAndPicture(t){return!x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyPicture(t){return x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyText(t){return!x(t.text)&&x(t.optimizedPicture)&&x(t.picture)}};hu.style=fu;const du=".sc-aico-title-content-h{display:block}";const pu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;if(!this.content.size||this.content.translations.length===0){return e("aico-no-content",null)}const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content.size;const s="black";const o={color:this.content.titleColor?this.content.titleColor:s};if(this.content.hasUnderscore){o["text-decoration-line"]="underline";o["text-decoration-color"]=(i=this.content.underscoreColor)!==null&&i!==void 0?i:s;o["text-decoration-thickness"]="3px"}return e(r,null,e("span",{style:o},n===null||n===void 0?void 0:n.title))}};pu.style=du;const vu=".sc-aico-upload-content-h{display:block}";const gu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content&&this.content.videoUrl?k(this.content.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!this.content.shouldHideFile},e("p",{class:"fs-3 mt-3"},"Files:"),e("div",{class:"list-group list-group-flush"},this.content.uploads.map((t=>{if(x(t.path)){return null}return e("a",{href:t.path,target:"_blank",class:"list-group-item list-group-item-action"},t.name)})))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};gu.style=vu;const mu=".media-card-video.sc-aico-video-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;-o-object-fit:contain;object-fit:contain}";const bu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n&&n.videoUrl?k(n.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!x(this.content.localVideoUrl)},e("div",{class:"ratio ratio-16x9"},e("video",{class:"media-card-video",controls:true,playsInline:true,style:{height:this.content.isVideoMinimized?"400px":"100%"}},e("source",{src:this.content.localVideoUrl,type:"video/mp4"})))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};bu.style=mu;export{l as aico_album_content,_ as aico_article_detail,T as aico_asking_content,M as aico_block_quote_content,C as aico_bullet_content,S as aico_carousel_content,L as aico_content_card_content,N as aico_divider_content,R as aico_document_content,Rc as aico_faq_content,Fc as aico_fetch_article_detail,Wc as aico_heading_content,qc as aico_html_content,Zc as aico_link_content,Yc as aico_news_content,Vc as aico_news_list,Kc as aico_news_list_item,eu as aico_no_content,nu as aico_page_content,su as aico_special_news_carousel,au as aico_table_content,uu as aico_testimonial_content,hu as aico_text_content,pu as aico_title_content,gu as aico_upload_content,bu as aico_video_content};
18
+ //# sourceMappingURL=p-de1a4cc0.entry.js.map