PageSourceSearch

https://www.legrand.fi/sites/g/files/ocwmcr966/files/js/js_8YoaGVR…cB24O--O5fx0dWrEvHM031J2hrcAFOYGgg&v=tl1li6

js legrand.fi collected 2026-09-25 06:48:48 UTC 584,640 bytes, 102 lines download raw bytes

vendor: 7,822 bytes, lines 1-2
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e);}:t(e);}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e);}:function(e){return t.concat.apply([],e);},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return "function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item;},x=function(e){return null!=e&&e===e.window;},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o);}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e;}var f="3.6.4",S=function(e,t){return new S.fn.init(e,t);};function p(e){var t=!!e&&"length" in e&&e.length,n=w(e);return !m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e);}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this);},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e];},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t;},each:function(e){return S.each(this,e);},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e);}));},slice:function(){return this.pushStack(s.apply(this,arguments));},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},even:function(){return this.pushStack(S.grep(this,function(e,t){return (t+1)%2;}));},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2;}));},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[]);},end:function(){return this.prevObject||this.constructor();},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a;},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isPlainObject:function(e){var t,n;return !(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof (n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l);},isEmptyObject:function(e){var t;for(t in e)return !1;return !0;},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n);},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break;}else{for(r in e)if(!1===t.call(e[r],r,e[r]))break;}return e;},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n;},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n);},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e;},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r;},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a);},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase();});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,y,s,c,v,S="sizzle"+1*new Date(),p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0;},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1;},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320));},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e;},oe=function(){T();},ae=be(function(e){return !0===e.disabled&&"fieldset"===e.nodeName.toLowerCase();},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType;}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t));}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1;}};}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1])if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n;}else{if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n;}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n;}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",");}try{return H.apply(n,f.querySelectorAll(c)),n;}catch(e){N(t,!0);}finally{s===S&&e.removeAttribute("id");}}}return g(t.replace(B,"$1"),e,n,r);}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n;};}function le(e){return e[S]=!0,e;}function ce(e){var t=C.createElement("fieldset");try{return !!e(t);}catch(e){return !1;}finally{t.parentNode&&t.parentNode.removeChild(t),t=null;}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t;}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return -1;return e?1:-1;}
2function de(t){return function(e){return "input"===e.nodeName.toLowerCase()&&e.type===t;};}function he(n){return function(e){var t=e.nodeName.toLowerCase();return ("input"===t||"button"===t)&&e.type===n;};}function ge(t){return function(e){return "form" in e?e.parentNode&&!1===e.disabled?"label" in e?"label" in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label" in e&&e.disabled===t;};}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]));});});}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e;}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return !Y.test(t||n&&n.nodeName||"HTML");},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length;}),d.cssHas=ce(function(){try{return C.querySelector(":has(*,:jqfake)"),!1;}catch(e){return !0;}}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className");}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length;}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length;}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t;};},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[];}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n;};},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return [o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return [o];}return [];}}),b.find.TAG=d.getElementsByTagName?function(e,t){return "undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0;}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r;}return o;},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e);},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]");}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:");})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F);}),d.cssHas||y.push(":has"),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)));}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return !0;return !1;},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1);}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0;}),C;},se.matches=function(e,t){return se(e,null,null,t);},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n;}catch(e){N(t,!0);}return 0<se(t,C,null,[e]).length;},se.contains=function(e,t){return (e.ownerDocument||e)!=C&&T(e),v(e,t);},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null;},se.escape=function(e){return (e+"").replace(re,ie);},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1);}return u=null,e;},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i)if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e);}
2else{if(3===i||4===i)return e.nodeValue;}else while(t=e[r++])n+=o(t);return n;},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4);},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e;},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3));}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return "*"===e?function(){return !0;}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t;};},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"");});},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace($," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"));};},CHILD:function(h,e,t,g,y){var v="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===y?function(e){return !!e.parentNode;}:function(e,t,n){var r,i,o,a,s,u,l=v!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(v){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return !1;u=l="only"===h&&!u&&"nextSibling";}return !0;}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break;}}else{if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;}return (d-=y)===g||d%g==0&&0<=d/g;}};},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i]);}):function(e){return a(e,0,t);}):a;}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i));}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop();};}),has:le(function(t){return function(e){return 0<se(t,e).length;};}),contains:le(function(t){return t=t.replace(te,ne),function(e){return -1<(e.textContent||o(e)).indexOf(t);};}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return (t=t.toLowerCase())===n||0===t.indexOf(n+"-");while((e=e.parentNode)&&1===e.nodeType);return !1;};}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id;},root:function(e){return e===a;},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex);},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return "input"===t&&!!e.checked||"option"===t&&!!e.selected;},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected;},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return !1;return !0;},parent:function(e){return !b.pseudos.empty(e);},header:function(e){return J.test(e.nodeName);},input:function(e){return Q.test(e.nodeName);},button:function(e){var t=e.nodeName.toLowerCase();
vendor: 5,967 bytes, line 2
2return "input"===t&&"button"===e.type||"button"===t;},text:function(e){var t;return "input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase());},first:ye(function(){return [0];}),last:ye(function(e,t){return [t-1];}),eq:ye(function(e,t,n){return [n<0?n+t:n];}),even:ye(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e;}),odd:ye(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e;}),lt:ye(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e;}),gt:ye(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e;})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in {submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r;}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return !1;}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return !0;}else{while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return !0;}}return !1;};}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return !1;return !0;}:i[0];}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a;}function Ce(d,h,g,y,v,e){return y&&!y[S]&&(y=Ce(y)),v&&!v[S]&&(v=Ce(v,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n;}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?v||(e?d:l||y)?[]:t:f;if(g&&g(f,p,n,r),y){i=Te(p,u),y(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a));}if(e){if(v||d){if(v){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);v(null,p=[],i,r);}o=p.length;while(o--)(a=p[o])&&-1<(i=v?P(e,a):s[o])&&(e[i]=!(t[i]=a));}}else p=Te(p===t?p.splice(l,p.length):p),v?v(null,t,p,r):H.apply(t,p);});}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i;},a,!0),l=be(function(e){return -1<P(i,e);},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r;}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e));}c.push(t);}return we(c);}return me.prototype=b.filters=b.pseudos,b.setFilters=new me(),h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break;}return t?a.length:a?se.error(e):x(e,s).slice(0);},f=se.compile=function(e,t){var n,y,v,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(y=o,m=0<(v=i).length,x=0<y.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=y[a++])if(s(o,t||C,n)){r.push(o);break;}i&&(k=h);}m&&((o=!s&&o)&&u--,e&&c.push(o));}if(u+=l,m&&l!==u){a=0;while(s=v[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f);}H.apply(r,f),i&&!e&&0<f.length&&1<u+v.length&&se.uniqueSort(r);}return i&&(k=h,w=p),c;},m?le(r):r))).selector=e;}return a;},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length);}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break;}}}return (l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ve(t.parentNode)||t),n;},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"));}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href");})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2);}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value");})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue;}),ce(function(e){return null==e.getAttribute("disabled");})||fe(R,function(e,t,n){var r;if(!n)return !0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null;}),se;}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e);}return r;},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n;},k=S.expr.match.needsContext;
2function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase();}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return !!n.call(e,t,e)!==r;}):n.nodeType?S.grep(e,function(e){return e===n!==r;}):"string"!=typeof n?S.grep(e,function(e){return -1<i.call(n,e)!==r;}):S.filter(n,e,r);}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType;}));},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return !0;}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n;},filter:function(e){return this.pushStack(j(this,e||[],!1));},not:function(e){return this.pushStack(j(this,e||[],!0));},is:function(e){return !!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length;}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return !t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this;}return (i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this;}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this);}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e;}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return !0;});},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break;}return this.pushStack(1<o.length?S.uniqueSort(o):o);},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1;},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))));},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e));}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null;},parents:function(e){return h(e,"parentNode");},parentsUntil:function(e,t,n){return h(e,"parentNode",n);},next:function(e){return O(e,"nextSibling");},prev:function(e){return O(e,"previousSibling");},nextAll:function(e){return h(e,"nextSibling");},prevAll:function(e){return h(e,"previousSibling");},nextUntil:function(e,t,n){return h(e,"nextSibling",n);},prevUntil:function(e,t,n){return h(e,"previousSibling",n);},siblings:function(e){return T((e.parentNode||{}).firstChild,e);},children:function(e){return T(e.firstChild);},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes));}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return "Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n);};});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e;}function M(e){throw e;}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r));}catch(e){n.apply(void 0,[e]);}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0;}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1);}r.memory||(t=!1),i=!1,a&&(s=t?[]:"");},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t);});}(arguments),t&&!i&&c()),this;},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--;}),this;},has:function(e){return e?-1<S.inArray(e,s):0<s.length;},empty:function(){return s&&(s=[]),this;},disable:function(){return a=u=[],s=t="",this;},disabled:function(){return !s;},lock:function(){return a=u=[],t||i||(s=t=""),this;},locked:function(){return !!a;},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this;},fire:function(){return f.fireWith(this,arguments),this;},fired:function(){return !!o;}};return f;},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pe
2nding",a={state:function(){return i;},always:function(){return s.done(arguments).fail(arguments),this;},"catch":function(e){return a.then(null,e);},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments);});}),i=null;}).promise();},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r));}},t=s?e:function(){try{e();}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r));}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t));};}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M));}).promise();},promise:function(e){return null!=e?S.extend(e,a):a;}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r;},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this;},s[t[0]+"With"]=n.fireWith;}),a.promise(s),e&&e.call(s,s),s;},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i);};};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise();}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t);},S.readyException=function(e){C.setTimeout(function(){throw e;});};var F=S.Deferred();function $(){E.removeEventListener("DOMContentLoaded",$),C.removeEventListener("load",$),S.ready();}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e);}),this;},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S]);}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",$),C.addEventListener("load",$));var B=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)B(e,t,s,n[s],!0,o,a);else{if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n);})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));}return i?e:l?t.call(e):u?t(e[0],n):o;},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase();}function X(e){return e.replace(_,"ms-").replace(z,U);}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType;};function G(){this.expando=S.expando+G.uid++;}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t;},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i;},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)];},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t);},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t)) in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]];}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando]);}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t);}};var Y=new G(),Q=new G(),J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof (n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i);}catch(e){}Q.set(e,t,n);}else n=void 0;return n;}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e);},data:function(e,t,n){return Q.access(e,t,n);},removeData:function(e,t){Q.remove(e,t);},_data:function(e,t,n){return Y.access(e,t,n);},_removeData:function(e,t){Y.remove(e,t);}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0);}return i;}return "object"==typeof n?this.each(function(){Q.set(this,n);}):B(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e);});},null,e,1<arguments.length,null,!0);},removeData:function(e){return this.each(function(){Q.remove(this,e);});}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[];},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t);},o)),!r&&o&&o.empty.fire();},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n]);})});}}),S.fn.extend({queue:function(t,n){var e=2;return "string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t);});},dequeue:function(e){return this.each(function(){S.dequeue(this,e);});},clearQueue:function(e){return this.queue(e||"fx",[]);},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o]);};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t);}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e);},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument;});var ae=function(e,t){return "none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display");};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur();}:function(){return S.css(e,t,"");},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[];}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i;}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e;}S.fn.extend({show:function(){return le(this,!0);},hide:function(){return le(this);},toggle:function(e){return "boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide();});}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone
vendor: 14,328 bytes, line 2
2=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",v.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n;}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"));}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,v.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent="";}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else{if(l=ie(o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o);}}return f;}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return !0;}function Te(){return !1;}function Ce(e,t){return e===function(){try{return E.activeElement;}catch(e){}}()==("focus"===t);}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in "string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e;}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else{if(!i)return e;}return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments);}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n);});}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i])if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else{if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value;}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation());}})):void 0===Y.get(e,i)&&S.event.add(e,i,we);}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(e){return "undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0;}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0);}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.hasData(e)&&Y.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||S.removeEvent(e,d,y.handle),delete u[d]);}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events");}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));}return c.postDispatch&&c.postDispatch.call(this,u),u.result;}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o});}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s;},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent);}:function(){if(this.originalEvent)return this.originalEvent[t];},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e});}});},fix:function(e){return e[S.expando]?e:new S.Event(e);},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click",we),!1;},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0;},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a");}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result);}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n);},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0;},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault();},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation();},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation();}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){S.event.special[t]={setup:function(){return Se(this,t,Ce),!1;},trigger:function(){return Se(this,t),!0;},_default:function(e){return Y.get(e.target,t);},delegateType:e};}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t;}};}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r);},one:function(e,t,n,r){return Ee(this,e,t,n,r,1);},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this;}return !1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t);});}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e;}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e;}function qe(e){return "true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e;}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a));}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o);});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ye(e,"script"),De)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ye(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l));}return n;}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ye(r)),r.parentNode&&(n&&ie(r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e;}S.extend({htmlPrefilter:function(e){return e;},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ye(c),r=0,i=(o=ye(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ye(e),a=a||ye(c),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ye(c,"script")).length&&ve(a,!f&&ye(e,"script")),c;},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0;}n[Q.expando]&&(n[Q.expando]=void 0);}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0);},remove:function(e){return Oe(this,e);},text:function(e){return B(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e);});},null,e,arguments.length);},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e);});},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild);}});},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this);});},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling);});},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ye(e,!1)),e.textContent="");return this;},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t);});},html:function(e){return B(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ye(t,!1)),t.innerHTML=e);t=0;}catch(e){}}t&&this.empty().append(e);},null,e,arguments.length);},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ye(this)),t&&t.replaceChild(e,this));},n);}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n);};});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=/^--/,Me=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e);},Ie=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r;},We=new RegExp(ne.join("|"),"i"),Fe="[\\x20\\t\\r\\n\\f]",$e=new RegExp("^"+Fe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Fe+"+$","g");function Be(e,t,n){var r,i,o,a,s=Re.test(t),u=e.style;return (n=n||Me(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace($e,"$1")||void 0),""!==a||ie(e)||(a=S.style(e,t)),!v.pixelBoxStyles()&&Pe.test(a)&&We.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a;}function _e(e,t){return {get:function(){if(!e())return (this.get=t).apply(this,arguments);delete this.get;}};}!function(){function e(){if(l){u.style.cssText="position:absolute;
2left:-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%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null;}}function t(e){return Math.round(parseFloat(e));}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(v,{boxSizingReliable:function(){return e(),r;},pixelBoxStyles:function(){return e(),o;},pixelPosition:function(){return e(),n;},reliableMarginLeft:function(){return e(),s;},scrollboxSize:function(){return e(),i;},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a;}}));}();var ze=["Webkit","Moz","ms"],Ue=E.createElement("div").style,Xe={};function Ve(e){var t=S.cssProps[e]||Xe[e];return t||(e in Ue?e:Xe[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=ze.length;while(n--)if((e=ze[n]+t) in Ue)return e;}(e)||e);}var Ge=/^(none|table(?!-c[ea]).+)/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t;}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return !r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u;}function Ze(e,t,n){var r=Me(e),i=(!v.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto";}return (!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px";}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i);}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"o
2pacity");return ""===n?"1":n;}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Re.test(t),l=e.style;if(u||(t=Ve(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get" in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set" in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n));}},css:function(e,t,n,r){var i,o,a,s=X(t);return Re.test(t)||(t=Ve(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get" in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i;}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return !Ge.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):Ie(e,Ye,function(){return Ze(e,u,n);});},set:function(e,t,n){var r,i=Me(e),o=!v.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s);}};}),S.cssHooks.marginLeft=_e(v.reliableMarginLeft,function(e,t){if(t)return (parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Ie(e,{marginLeft:0},function(){return e.getBoundingClientRect().left;}))+"px";}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n;}},"margin"!==i&&(S.cssHooks[i+o].set=Je);}),S.fn.extend({css:function(e,t){return B(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Me(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o;}return void 0!==n?S.style(e,t,n):S.css(e,t);},e,t,1<arguments.length);}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px");},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this);},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this;}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0;},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit);}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now);}},S.easing={linear:function(e){return e;},swing:function(e){return .5-Math.cos(e*Math.PI)/2;},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick());}function ut(){return C.setTimeout(function(){tt=void 0;}),tt=Date.now();}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;
vendor: 4,590 bytes, line 2
2return t&&(i.opacity=i.width=e),i;}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r;}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem;}),u=function(){if(a)return !1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1);},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n;},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this;}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand" in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i;}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l;}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n;}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t);},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width" in t||"height" in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s();}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire();});})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0;}d[r]=y&&y[r]||S.style(e,r);}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l;}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2];})),u=!1,d)u||(y?"hidden" in y&&(g=y.hidden):y=Y.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r]);})),u=ct(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0));}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e);}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue);},r;},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r);},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0);};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a);},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o);};return "string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1)
2);!e&&o||S.dequeue(this,i);});},finish:function(a){return !1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish;});}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n);};}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n);};}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0;},S.fx.timer=function(e){S.timers.push(e),S.fx.start();},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st());},S.fx.stop=function(){nt=null;},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n);};});},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",v.checkOn=""!==rt.value,v.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",v.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return B(this,S.attr,e,t,1<arguments.length);},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e);});}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return "undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set" in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get" in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r);},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t;}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n);}}),pt={set:function(e,t,n){return !1===t?S.removeAttr(e,n):e.setAttribute(n,n),n;}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r;};});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return (e.match(P)||[]).join(" ");}function vt(e){return e.getAttribute&&e.getAttribute("class")||"";}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[];}S.fn.extend({prop:function(e,t){return B(this,S.prop,e,t,1<arguments.length);},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e];});}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set" in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get" in i&&null!==(r=i.get(e,t))?r:e[t];},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1;}}},propFix:{"for":"htmlFor","class":"className"}}),v.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null;},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex);}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this;}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a;return m(t)?this.each(function(e){S(this).addClass(t.call(this,e,vt(this)));}):(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=yt(n),r!==a&&this.setAttribute("class",a);}}):this;},removeClass:function(t){var e,n,r,i,o,a;
2return m(t)?this.each(function(e){S(this).removeClass(t.call(this,e,vt(this)));}):arguments.length?(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ");}a=yt(n),r!==a&&this.setAttribute("class",a);}}):this:this.attr("class","");},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return m(t)?this.each(function(e){S(this).toggleClass(t.call(this,e,vt(this),n),n);}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=mt(t),this.each(function(){if(s)for(o=S(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=vt(this))&&Y.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Y.get(this,"__className__")||""));}));},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return !0;return !1;}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+"";})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set" in r&&void 0!==r.set(this,t,"value")||(this.value=t));})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get" in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof (e=t.value)?e.replace(xt,""):null==e?"":e:void 0;}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e));}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t);}return s;},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o;}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t);}},v.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value;});}),v.focusin="onfocusin" in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation();};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=y.call(e,"type")?e.type:e,h=y.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C);}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result;}},simulate:function(e,t,n){var r=S.extend(new S.Event(),n,{type:e,isSimulated:!0});S.event.trigger(r,null,t);}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this);});},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0);}}),v.focusin||S.each({focus:"focusin",blur:"focusout"}
2,function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e));};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1);},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r));}};});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser()).parseFromString(e,"text/xml");}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent;}).join("\n"):e)),t;};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function jt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):jt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i);});else if(r||"object"!==w(e))i(n,e);else for(t in e)jt(n+"["+t+"]",e[t],r,i);}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n);};if(null==e)return "";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value);});else for(n in e)jt(n,e[n],t,i);return r.join("&");},S.fn.extend({serialize:function(){return S.param(this.serializeArray());},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this;}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e));}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return {name:t.name,value:e.replace(kt,"\r\n")};}):{name:t.name,value:n.replace(kt,"\r\n")};}).get();}});var Dt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t);};}function $t(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return "string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1);}),r;}return l(i.dataTypes[0])||!s["*"]&&l("*");}function Bt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e;}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Bt(Bt(e,S.ajaxSettings),t):Bt(S.ajaxSettings,e);},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,y=S.ajaxSetup({},t),v=y.context||y,m=y.context&&(v.nodeType||v.jquery)?S(v):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=y.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);}t=n[e.toLowerCase()+" "];}return null==t?null:t.join(", ");},getAllResponseHeaders:function(){return h?p:null;},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this;},overrideMimeType:function(e){return null==h&&(y.mimeType=e),this;},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this;},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this;}};if(x.promise(T),y.url=((e||y.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(P)||[""],null==y.crossDomain){r=E.createElement("a");try{r.href=y.url,r.href=r.href,y.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host;}catch(e){y.crossDomain=!0;}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=S.param(y.data,y.traditional)),$t(Rt,y,t,T),h)return T;for(i in (g=S.event&&y.global)&&0==S.active++&&S.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!Ot.test(y.type),f=y.url.replace(qt,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Dt,"+")):(o=y.url.slice(f.length),y.data&&(y.processData||"string"==typeof y.data)&&(f+=(Et.test(f)?"&":"?")+y.data,delete y.data),!1===y.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid++ +o),y.url=f+o),y.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&T.setRequestHeader("Content-Type",y.contentType),T.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+It+"; q=0.01":""):y.accepts["*"]),y.headers)T.setRequestHeader(i,y.headers[i]);
2if(y.beforeSend&&(!1===y.beforeSend.call(v,T,y)||h))return T.abort();if(u="abort",b.add(y.complete),T.done(y.success),T.fail(y.error),c=$t(Mt,y,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,y]),h)return T;y.async&&0<y.timeout&&(d=C.setTimeout(function(){T.abort("timeout");},y.timeout));try{h=!1,c.send(a,l);}catch(e){if(h)throw e;l(-1,e);}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break;}if(u[0] in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break;}a||(a=i);}o=o||a;}if(o)return o!==u[0]&&u.unshift(o),n[o];}(y,T,n)),!i&&-1<S.inArray("script",y.dataTypes)&&S.inArray("json",y.dataTypes)<0&&(y.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else{if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break;}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t);}catch(e){return {state:"parsererror",error:a?e:"No conversion from "+u+" to "+o};}}}return {state:"success",data:t};}(y,s,T,i),i?(y.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===y.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(v,[o,l,T]):x.rejectWith(v,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,y,i?o:a]),b.fireWith(v,[T,l]),g&&(m.trigger("ajaxComplete",[T,y]),--S.active||S.event.trigger("ajaxStop")));}return T;},getJSON:function(e,t,n){return S.get(e,t,n,"json");},getScript:function(e,t){return S.get(e,void 0,t,"script");}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e));};}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"");}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n);}});},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e;}).append(this)),this;},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e));}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n);});},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t);});},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes);}),this;}}),S.expr.pseudos.hidden=function(e){return !S.expr.pseudos.visible(e);},S.expr.pseudos.visible=function(e){return !!(e.offsetWidth||e.offsetHeight||e.getClientRects().length);},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest();}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();v.cors=!!zt&&"withCredentials" in zt,v.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(v.cors||zt&&!i.crossDomain)return {send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()));};},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a();});},o=o("abort");try{r.send(i.hasContent&&i.data||null);}catch(e){if(o)throw e;}},abort:function(){o&&o();}};}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1);}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e;}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET");}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return {send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}
vendor: 5,706 bytes, line 2
2).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type);}),E.head.appendChild(r[0]);},abort:function(){i&&i();}};});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e;}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0];},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments;},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0;}),"script";}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return "string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o;},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return -1<s&&(r=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e);}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e]);});}),this;},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem;}).length;},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using" in t?t.using.call(e,f):c.css(f);}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e);});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0;},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0));}return {top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)};}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re;});}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n;},t,e,arguments.length);};}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t;});}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i);},s,n?e:void 0,n);};});}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e);};}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n);},unbind:function(e,t){return this.off(e,null,t);},delegate:function(e,t,n,r){return this.on(t,e,n,r);},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n);},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e);}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n);};});var Gt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)));}).guid=e.guid=e.guid||S.guid++,i;},S.holdReady=function(e){e?S.readyWait++:S.ready(!0);},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camel
2Case=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return ("number"===t||"string"===t)&&!isNaN(e-parseFloat(e));},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"$1");},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S;});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S;},"undefined"==typeof e&&(C.jQuery=C.$=S),S;});;
3/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
4/*! @drupal/once - v1.0.1 - 2021-06-12 */
5var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
6
7;
8/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
9window.drupalTranslations={"strings":{"":{"Edit":"Edit","Document":"Document"}},"pluralFormula":{"0":0,"1":0,"default":1}};;
10(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();;
11window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.beforeUnloadCalled=false;window.addEventListener('beforeunload',function(){Drupal.beforeUnloadCalled=true;});Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;
11if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
12if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
13Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
14if(!function(){function Hr(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2]);}return e.apply(t,i);}function ps(e,t,i,n){for(var o=-1,r=null==e?0:e.length;++o<r;){var s=e[o];t(n,s,i(s),e);}return n;}function Mr(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e;}function fs(e,t){for(var i=null==e?0:e.length;i--&&!1!==t(e[i],i,e););return e;}function gs(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(!t(e[i],i,e))return !1;return !0;}function Lr(e,t){for(var i=-1,n=null==e?0:e.length,o=0,r=[];++i<n;){var s=e[i];t(s,i,e)&&(r[o++]=s);}return r;}function ms(e,t){return !(null==e||!e.length)&&-1<Rr(e,t,0);}function vs(e,t,i){for(var n=-1,o=null==e?0:e.length;++n<o;)if(i(t,e[n]))return !0;return !1;}function qr(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o;}function Wr(e,t){for(var i=-1,n=t.length,o=e.length;++i<n;)e[o+i]=t[i];return e;}function ys(e,t,i,n){var o=-1,r=null==e?0:e.length;for(n&&r&&(i=e[++o]);++o<r;)i=t(i,e[o],o,e);return i;}function ws(e,t,i,n){var o=null==e?0:e.length;for(n&&o&&(i=e[--o]);o--;)i=t(i,e[o],o,e);return i;}function bs(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return !0;return !1;}function Cs(e,n,t){var o;return t(e,function(e,t,i){if(n(e,t,i))return o=t,!1;}),o;}function ks(e,t,i,n){for(var o=e.length,r=i+(n?1:-1);n?r--:++r<o;)if(t(e[r],r,e))return r;return -1;}function Rr(e,t,i){if(t!=t)return ks(e,Ts,i);for(var n=e,o=t,r=i-1,s=n.length;++r<s;)if(n[r]===o)return r;return -1;}function $s(e,t,i,n){for(var o=i-1,r=e.length;++o<r;)if(n(e[o],t))return o;return -1;}function Ts(e){return e!=e;}function xs(e,t){var i=null==e?0:e.length;return i?js(e,t)/i:Rs;}function Ss(t){return function(e){return null==e?Xr:e[t];};}function r(t){return function(e){return null==t?Xr:t[e];};}function _s(e,n,o,r,t){return t(e,function(e,t,i){o=r?(r=!1,e):n(o,e,t,i);}),o;}function js(e,t){for(var i,n=-1,o=e.length;++n<o;){var r=t(e[n]);r!==Xr&&(i=i===Xr?r:i+r);}return i;}function As(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n;}function Es(e){return e&&e.slice(0,Ls(e)+1).replace(Ca,"");}function Nr(t){return function(e){return t(e);};}function Os(t,e){return qr(e,function(e){return t[e];});}function Fr(e,t){return e.has(t);}function zs(e,t){for(var i=-1,n=e.length;++i<n&&-1<Rr(t,e[i],0););return i;}function Is(e,t){for(var i=e.length;i--&&-1<Rr(t,e[i],0););return i;}function Ps(e){return "\\"+S[e];}function Br(e){return x.test(e);}function Ds(e){var i=-1,n=Array(e.size);return e.forEach(function(e,t){n[++i]=[t,e];}),n;}function Hs(t,i){return function(e){return t(i(e));};}function Ur(e,t){for(var i=-1,n=e.length,o=0,r=[];++i<n;){var s=e[i];s!==t&&s!==Ws||(e[i]=Ws,r[o++]=i);}return r;}function Ms(e){var t=-1,i=Array(e.size);return e.forEach(function(e){i[++t]=e;}),i;}function Vr(e){return (Br(e)?(e)=>{for(var t=T.lastIndex=0;T.test(e);)++t;return t;}:j)(e);}function Gr(e){return Br(e)?e.match(T)||[]:e.split("");}function Ls(e){for(var t=e.length;t--&&s.test(e.charAt(t)););return t;}var Xr,Qr="Expected a function",qs="__lodash_hash_undefined__",Ws="__lodash_placeholder__",Yr=128,Kr=9007199254740991,Rs=NaN,Zr=4294967295,Ns=[["ary",Yr],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Jr="[object Arguments]",Fs="[object Array]",es="[object Boolean]",ts="[object Date]",Bs="[object Error]",Us="[object Function]",Vs="[object GeneratorFunction]",is="[object Map]",ns="[object Number]",os="[object Object]",Gs="[object Promise]",rs="[object RegExp]",ss="[object Set]",as="[object String]",Xs="[object Symbol]",Qs="[object WeakMap]",Ys="[object ArrayBuffer]",ls="[object DataView]",Ks="[object Float32Array]",Zs="[object Float64Array
14]",Js="[object Int8Array]",ea="[object Int16Array]",ta="[object Int32Array]",ia="[object Uint8Array]",na="[object Uint8ClampedArray]",oa="[object Uint16Array]",ra="[object Uint32Array]",sa=/\b__p \+= '';/g,aa=/\b(__p \+=) '' \+/g,la=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ca=/&(?:amp|lt|gt|quot|#39);/g,da=/[&<>"']/g,ua=RegExp(ca.source),ha=RegExp(da.source),pa=/<%-([\s\S]+?)%>/g,fa=/<%([\s\S]+?)%>/g,ga=/<%=([\s\S]+?)%>/g,ma=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,va=/^\w*$/,ya=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wa=/[\\^$.*+?()[\]{}|]/g,ba=RegExp(wa.source),Ca=/^\s+/,s=/\s/,ka=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$a=/\{\n\/\* \[wrapped with (.+)\] \*/,Ta=/,? & /,xa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Sa=/[()=,{}\[\]\/\s]/,_a=/\\(\\)?/g,ja=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Aa=/\w*$/,Ea=/^[-+]0x[0-9a-f]+$/i,Oa=/^0b[01]+$/i,za=/^\[object .+?Constructor\]$/,Ia=/^0o[0-7]+$/i,Pa=/^(?:0|[1-9]\d*)$/,Da=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ha=/($^)/,Ma=/['\n\r\u2028\u2029\\]/g,a="\\ud800-\\udfff",l="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",c="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="['’]",i="["+a+"]",p="["+u+"]",f="["+l+"]",g="["+c+"]",m="["+e+"]",u="[^"+a+u+"\\d+"+c+e+t+"]",c="\\ud83c[\\udffb-\\udfff]",e="[^"+a+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",y="\\u200d",w="(?:"+m+"|"+u+")",u="(?:"+t+"|"+u+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",C="(?:['’](?:D|LL|M|RE|S|T|VE))?",k="(?:"+f+"|"+c+")"+"?",$="["+d+"]?",$=$+k+("(?:"+y+"(?:"+[e,v,n].join("|")+")"+$+k+")*"),k="(?:"+[g,v,n].join("|")+")"+$,g="
14(?:"+[e+f+"?",f,v,n,i].join("|")+")",La=RegExp(h,"g"),qa=RegExp(f,"g"),T=RegExp(c+"(?="+c+")|"+g+$,"g"),Wa=RegExp([t+"?"+m+"+"+b+"(?="+[p,t,"$"].join("|")+")",u+"+"+C+"(?="+[p,t+w,"$"].join("|")+")",t+"?"+w+"+"+b,t+"+"+C,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",k].join("|"),"g"),x=RegExp("["+y+a+l+d+"]"),Ra=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Na=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fa=-1,cs={},ds=(cs[Ks]=cs[Zs]=cs[Js]=cs[ea]=cs[ta]=cs[ia]=cs[na]=cs[oa]=cs[ra]=!0,cs[Jr]=cs[Fs]=cs[Ys]=cs[es]=cs[ls]=cs[ts]=cs[Bs]=cs[Us]=cs[is]=cs[ns]=cs[os]=cs[rs]=cs[ss]=cs[as]=cs[Qs]=!1,{}),S=(ds[Jr]=ds[Fs]=ds[Ys]=ds[ls]=ds[es]=ds[ts]=ds[Ks]=ds[Zs]=ds[Js]=ds[ea]=ds[ta]=ds[is]=ds[ns]=ds[os]=ds[rs]=ds[ss]=ds[as]=ds[Xs]=ds[ia]=ds[na]=ds[oa]=ds[ra]=!0,ds[Bs]=ds[Us]=ds[Qs]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),Ba=parseFloat,Ua=parseInt,e="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,us=e||v||Function("return this")(),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,Va=o&&o.exports===n,_=Va&&e.process,i=(()=>{try{var e=o&&o.require&&o.require("util").types;return e||_&&_.binding&&_.binding("util");}catch(e){}})(),Ga=i&&i.isArrayBuffer,Xa=i&&i.isDate,Qa=i&&i.isMap,Ya=i&&i.isRegExp,Ka=i&&i.isSet,Za=i&&i.isTypedArray,j=Ss("length"),Ja=r({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),el=r({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),tl=r({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hs=function o(e){function f(e){if(r(e)&&!H(e)&&!(e instanceof m)){if(e instanceof g)return e;if(z.call(e,"__wrapped__"))return ei(e);}return new g(e);}function M(){}function g(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Xr;}function m(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Zr,this.__views__=[];}function L(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1]);}}function q(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1]);}}function W(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1]);}}function R(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new W();++t<i;)this.add(e[t]);}function b(e){this.size=(this.__data__=new q(e)).size;}function N(e,t){var i,n=H(e),o=!n&&qo(e),r=!n&&!o&&Ro(e),s=!n&&!o&&!r&&Uo(e),a=n||o||r||s,l=a?As(e.length,Qi):[],c=l.length;for(i in e)!t&&!z.call(e,i)||a&&("length"==i||r&&("offset"==i||"parent"==i)||s&&("buffer"==i||"byteLength"==i||"byteOffset"==i)||Wt(i,c))||l.push(i);return l;}function F(e){var t=e.length;return t?e[Oe(0,t-1)]:Xr;}function B(e,t,i){(i===Xr||C(e[t],i))&&(i!==Xr||t in e)||Q(e,t,i);}function U(e,t,i){var n=e[t];z.call(e,t)&&C(n,i)&&(i!==Xr||t in e)||Q(e,t,i);}function V(e,t){for(var i=e.length;i--;)if(C(e[i][0],t))return i;return -1;}function G(e,n,o,r){return Xn(e,function(e,t,i){n(r,e,o(e),i);}),r;}function X(e,t){return e&&it(t,S(t),e);}function Q(e,t,i){"__proto__"==t&&vn?vn(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i;}function Y(e,t){for(var i=-1,n=t.length,o=A(n),r=null==e;++i<n;)o[i]=r?Xr:Ei(e,t[i]);return o;}function K(e,t,i){return e=e==e&&(i!==Xr&&(e=e<=i?e:i),t!==Xr)?t<=e?e:t:e;}function v(i,n,o,e,t,r){var s,a=1&n,l=2&n,c=4&n;if((s=o?t?o(i,e,t,r):o(i):s)===Xr){if(!T(i))return i;var d,u,h,e=H(i);if(e){if(p=(f=i).length,h=new f.constructor(p),p&&"string"==typeof f[0]&&z.call(f,"index")&&(h.index=f.index,h.input=f.input),s=h,!a)return k(i,s);}else{var p=D(i),f=p==Us||p==Vs;
14if(Ro(i))return Ye(i,a);if(p==os||p==Jr||f&&!t){if(s=l||f?{}:Lt(i),!a)return l?(u=h=i,u=(d=s)&&it(u,_(u),d),it(h,oo(h),u)):(u=X(s,d=i),it(d,no(d),u));}else{if(!ds[p])return t?i:{};s=((e,t,i)=>{var n=e.constructor;switch(t){case Ys:return Ke(e);case es:case ts:return new n(+e);case ls:return ((e,t)=>new e.constructor(t?Ke(e.buffer):e.buffer,e.byteOffset,e.byteLength))(e,i);case Ks:case Zs:case Js:case ea:case ta:case ia:case na:case oa:case ra:return Ze(e,i);case is:return new n();case ns:case as:return new n(e);case rs:return ((e)=>{var t=new e.constructor(e.source,Aa.exec(e));return t.lastIndex=e.lastIndex,t;})(e);case ss:return new n();case Xs:return ((e)=>Nn?E(Nn.call(e)):{})(e);}})(i,p,a);}}t=(r=r||new b()).get(i);if(t)return t;r.set(i,s),Bo(i)?i.forEach(function(e){s.add(v(e,n,o,e,i,r));}):No(i)&&i.forEach(function(e,t){s.set(t,v(e,n,o,t,i,r));});var g=e?Xr:(c?l?Ot:Et:l?_:S)(i);Mr(g||i,function(e,t){g&&(e=i[t=e]),U(s,t,v(e,n,o,t,i,r));});}return s;}function Z(e,t,i){var n=i.length;if(null==e)return !n;for(e=E(e);n--;){var o=i[n],r=t[o],s=e[o];if(s===Xr&&!(o in e)||!r(s))return !1;}return !0;}function J(e,t,i){if("function"!=typeof e)throw new O(Qr);return ao(function(){e.apply(Xr,i);},t);}function ee(e,t,i,n){var o=-1,r=ms,s=!0,a=e.length,l=[],c=t.length;if(a){i&&(t=qr(t,Nr(i))),n?(r=vs,s=!1):200<=t.length&&(r=Fr,s=!1,t=new R(t));e:for(;++o<a;){var d=e[o],u=null==i?d:i(d),d=n||0!==d?d:0;if(s&&u==u){for(var h=c;h--;)if(t[h]===u)continue e;l.push(d);}else r(t,u,n)||l.push(d);}}return l;}function te(e,n){var o=!0;return Xn(e,function(e,t,i){return o=!!n(e,t,i);}),o;}function ie(e,t,i){for(var n=-1,o=e.length;++n<o;){var r,s,a=e[n],l=t(a);null!=l&&(r===Xr?l==l&&!y(l):i(l,r))&&(r=l,s=a);}return s;}function ne(e,n){var o=[];return Xn(e,function(e,t,i){n(e,t,i)&&o.push(e);}),o;}function l(e,t,i,n,o){var r=-1,s=e.length;for(i=i||qt,o=o||[];++r<s;){var a=e[r];0<t&&i(a)?1<t?l(a,t-1,i,n,o):Wr(o,a):n||(o[o.length]=a);}return o;}function oe(e,t){return e&&Yn(e,t,S);}function re(e,t){return e&&Kn(e,t,S);}function se(t,e){return Lr(e,function(e){return bi(t[e]);});}function ae(e,t){for(var i=0,n=(t=Xe(t,e)).length;null!=e&&i<n;)e=e[Zt(t[i++])];return i&&i==n?e:Xr;}function le(e,t,i){t=t(e);return H(e)?t:Wr(t,i(e));}function i(e){{if(null==e)return e===Xr?"[object Undefined]":"[object Null]";if(mn&&mn in E(e)){var t=e,i=z.call(t,mn),n=t[mn];try{t[mn]=Xr;var o=!0;}catch(t){}var r=on.call(t);return o&&(i?t[mn]=n:delete t[mn]),r;}return on.call(e);}}function ce(e,t){return t<e;}function de(e,t){return null!=e&&z.call(e,t);}function ue(e,t){return null!=e&&t in E(e);}function he(e,t,i){for(var n=i?vs:ms,o=e[0].length,r=e.length,s=r,a=A(r),l=1/0,c=[];s--;){var d=e[s];s&&t&&(d=qr(d,Nr(t))),l=P(d.length,l),a[s]=!i&&(t||120<=o&&120<=d.length)?new R(s&&d):Xr;}var d=e[0],u=-1,h=a[0];e:for(;++u<o&&c.length<l;){var p=d[u],f=t?t(p):p,p=i||0!==p?p:0;if(!(h?Fr(h,f):n(c,f,i))){for(s=r;--s;){var g=a[s];
14if(!(g?Fr(g,f):n(e[s],f,i)))continue e;}h&&h.push(f),c.push(p);}}return c;}function pe(e,t,i){t=null==(e=Gt(e,t=Xe(t,e)))?e:e[Zt(n(t))];return null==t?Xr:Hr(t,e,i);}function fe(e){return r(e)&&i(e)==Jr;}function ge(e,t,i,n,o){return e===t||(null==e||null==t||!r(e)&&!r(t)?e!=e&&t!=t:((e,t,i,n,o,r)=>{var s=H(e),a=H(t),l=s?Fs:D(e),a=a?Fs:D(t),c=(l=l==Jr?os:l)==os,d=(a=a==Jr?os:a)==os;if((a=l==a)&&Ro(e)){if(!Ro(t))return !1;c=!(s=!0);}if(a&&!c){r=r||new b();if(s||Uo(e))return jt(e,t,i,n,o,r);else{var u=e;var h=t;var p=l;var f=i;var g=n;var m=o;var v=r;switch(p){case ls:if(u.byteLength!=h.byteLength||u.byteOffset!=h.byteOffset)return !1;u=u.buffer,h=h.buffer;case Ys:return !(u.byteLength!=h.byteLength||!m(new ln(u),new ln(h)));case es:case ts:case ns:return C(+u,+h);case Bs:return u.name==h.name&&u.message==h.message;case rs:case as:return u==h+"";case is:var y=Ds;case ss:var w=1&f;if(y=y||Ms,u.size!=h.size&&!w)return !1;w=v.get(u);if(w)return w==h;f|=2,v.set(u,h);w=jt(y(u),y(h),f,g,m,v);return v.delete(u),w;case Xs:if(Nn)return Nn.call(u)==Nn.call(h);}return !1;return;}}if(!(1&i)){s=c&&z.call(e,"__wrapped__"),l=d&&z.call(t,"__wrapped__");
14if(s||l)return c=s?e.value():e,d=l?t.value():t,r=r||new b(),o(c,d,i,n,r);}return !!a&&(r=r||new b(),((e,t,i,n,o,r)=>{var s=1&i,a=Et(e),l=a.length;if(l!=Et(t).length&&!s)return !1;for(var c=l;c--;){var d=a[c];if(!(s?d in t:z.call(t,d)))return !1;}var u=r.get(e),h=r.get(t);if(u&&h)return u==t&&h==e;var p=!0;r.set(e,t),r.set(t,e);for(var f=s;++c<l;){d=a[c];var g,m=e[d],v=t[d];if(!((g=n?s?n(v,m,d,t,e,r):n(m,v,d,e,t,r):g)===Xr?m===v||o(m,v,i,n,r):g)){p=!1;break;}f=f||"constructor"==d;}return p&&!f&&(u=e.constructor,h=t.constructor,u!=h)&&"constructor" in e&&"constructor" in t&&!("function"==typeof u&&u instanceof u&&"function"==typeof h&&h instanceof h)&&(p=!1),r.delete(e),r.delete(t),p;})(e,t,i,n,o,r));})(e,t,i,n,ge,o));}function me(e,t,i,n){var o=i.length,r=o,s=!n;if(null==e)return !r;for(e=E(e);o--;){var a=i[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0] in e))return !1;}for(;++o<r;){var l=(a=i[o])[0],c=e[l],d=a[1];if(s&&a[2]){if(c===Xr&&!(l in e))return !1;}else{var u,h=new b();if(!((u=n?n(c,d,l,e,t,h):u)===Xr?ge(d,c,3,n,h):u))return !1;}}return !0;}function ve(e){return !(!T(e)||(t=e,nn&&nn in t))&&(bi(e)?an:za).test(Jt(e));var t;}function ye(e){return "function"==typeof e?e:null==e?j:"object"==typeof e?H(e)?Te(e[0],e[1]):$e(e):Ri(e);}function we(e){if(!Ft(e))return Sn(e);var t,i=[];for(t in E(e))z.call(e,t)&&"constructor"!=t&&i.push(t);return i;}function be(e){if(T(e)){var t,i=Ft(e),n=[];for(t in e)("constructor"!=t||!i&&z.call(e,t))&&n.push(t);return n;}var o=e,r=[];if(null!=o)for(var s in E(o))r.push(s);return r;}function Ce(e,t){return e<t;}function ke(e,n){var o=-1,r=h(e)?A(e.length):[];return Xn(e,function(e,t,i){r[++o]=n(e,t,i);}),r;}function $e(t){var i=Dt(t);return 1==i.length&&i[0][2]?Ut(i[0][0],i[0][1]):function(e){return e===t||me(e,t,i);};}function Te(i,n){return Rt(i)&&Bt(n)?Ut(Zt(i),n):function(e){var t=Ei(e,i);return t===Xr&&t===n?Oi(e,i):ge(n,t,3);};}function xe(g,m,v,y,w){g!==m&&Yn(m,function(e,t){var i,n,o,r,s,a,l,c,d,u,h,p,f;w=w||new b(),T(e)?(n=m,r=v,s=xe,a=y,l=w,h=Xt(i=g,o=t),p=Xt(n,o),(f=l.get(p))||(f=a?a(h,p,o+"",i,n,l):Xr,(n=f===Xr)&&(c=H(p),d=!c&&Ro(p),u=!c&&!d&&Uo(p),f=p,c||d||u?f=H(h)?h:$(h)?k(h):d?Ye(p,!(n=!1)):u?Ze(p,!(n=!1)):[]:Ti(p)||qo(p)?qo(f=h)?f=Ai(h):T(h)&&!bi(h)||(f=Lt(p)):n=!1),n&&(l.set(p,f),s(f,p,r,a,l),l.delete(p))),B(i,o,f)):(c=y?y(Xt(g,t),e,t+"",g,m,w):Xr,B(g,t,c=c===Xr?e:c));},_);}function Se(e,t){var i=e.length;if(i)return Wt(t+=t<0?i:0,i)?e[t]:Xr;}function _e(e,n,c){n=n.length?qr(n,function(t){return H(t)?function(e){return ae(e,1===t.length?t[0]:t);}:t;}):[j];var o=-1,t=(n=qr(n,Nr(d())),ke(e,function(t,e,i){return {criteria:qr(n,function(e){return e(t);}),index:++o,value:t};})),e=function(e,t){for(var i=c,n=-1,o=e.criteria,r=t.criteria,s=o.length,a=i.length;++n<s;){var l=Je(o[n],r[n]);if(l)return a<=n?l:l*("desc"==i[n]?-1:1);}return e.index-t.index;},i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t;}function je(e,t,i){for(var n=-1,o=t.length,r={};++n<o;){var s=t[n],a=ae(e,s);i(a,s)&&Ie(r,Xe(s,e),a);}return r;}function Ae(e,t,i,n){var o=n?$s:Rr,r=-1,s=t.length,a=e;for(e===t&&(t=k(t)),i&&(a=qr(e,Nr(i)));++r<s;)for(var l=0,c=t[r],d=i?i(c):c;-1<(l=o(a,d,l,n));)a!==e&&pn.call(a,l,1),pn.call(e,l,1);return e;}function Ee(e,t){for(var i=e?t.length:0,n=i-1;i--;){var o,r=t[i];i!=n&&r===o||(Wt(o=r)?pn.call(e,r,1):We(e,r));}}function Oe(e,t){return e+kn(An()*(t-e+1));}function ze(e,t){var i="";if(!(!e||t<1||Kr<t))for(;t%2&&(i+=e),(t=kn(t/2))&&(e+=e),t;);return i;}function s(e,t){return lo(Vt(e,t,j),e+"");}function Ie(e,t,i,n){if(T(e))for(var o=-1,r=(t=Xe(t,e)).length,s=r-1,a=e;null!=a&&++o<r;){var l,c=Zt(t[o]),d=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;U(a,c,d=o!=s&&(l=a[c],(d=n?n(l,c,a):Xr)===Xr)?T(l)?l:Wt(t[o+1])?[]:{}:d),a=a[c];}return e;}function a(e,t,i){var n=-1,o=e.length;(i=o<i?o:i)<0&&(i+=o),o=i<(t=t<0?o<-t?0:o+t:t)?0:i-t>>>0,t>>>=0;for(var r=A(o);++n<o;)r[n]=e[n+t];return r;}function Pe(e,n){var o;return Xn(e,function(e,t,i){return !(o=n(e,t,i));}),!!o;}function De(e,t,i){var n=0,o=null==e?n:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;n<o;){var r=n+o>>>1,s=e[r];null!==s&&!y(s)&&(i?s<=t:s<t)?n=1+r:o=r;}return o;}return He(e,t,j,i);}function He(e,t,i,n){var o=0,r=null==e?0:e.length;if(0===r)return 0;for(var s=(t=i(t))!=t,a=null===t,l=y(t),c=t===Xr;o<r;){var d=kn((o+r)/2),u=i(e[d]),h=u!==Xr,p=null===u,f=u==u,g=y(u),f=s?n||f:c?f&&(n||h):a?f&&h&&(n||!p):l?f&&h&&!p&&(n||!g):!p&&!g&&(n?u<=t:u<t);f?o=d+1:r=d;}return P(r,4294967294);}function Me(e,t){for(var i=-1,n=e.length,o=0,r=[];++i<n;){var s,a=e[i],l=t?t(a):a;i&&C(l,s)||(s=l,r[o++]=0===a?0:a);}return r;}function Le(e){return "number"==typeof e?e:y(e)?Rs:+e;}function c(e){var t;return "string"==typeof e?e:H(e)?qr(e,c)+"":y(e)?Fn?Fn.call(e):"":"0"==(t=e+"")&&1/e==-1/0?"-0":t;}function qe(e,t,i){var n=-1,o=ms,r=e.length,s=!0,a=[],l=a;if(i)s=!1,o=vs;else if(200<=r){var c=t?null:to(e);if(c)return Ms(c);s=!1,o=Fr,l=new R();}else l=t?[]:a;e:for(;++n<r;
14){var d=e[n],u=t?t(d):d,d=i||0!==d?d:0;if(s&&u==u){for(var h=l.length;h--;)if(l[h]===u)continue e;t&&l.push(u),a.push(d);}else o(l,u,i)||(l!==a&&l.push(u),a.push(d));}return a;}function We(e,t){return null==(e=Gt(e,t=Xe(t,e)))||delete e[Zt(n(t))];}function Re(e,t,i,n){return Ie(e,t,i(ae(e,t)),n);}function Ne(e,t,i,n){for(var o=e.length,r=n?o:-1;(n?r--:++r<o)&&t(e[r],r,e););return i?a(e,n?0:r,n?r+1:o):a(e,n?r+1:0,n?o:r);}function Fe(e,t){var i=e;return ys(t,function(e,t){return t.func.apply(t.thisArg,Wr([e],t.args));},i=e instanceof m?e.value():i);}function Be(e,t,i){var n=e.length;if(n<2)return n?qe(e[0]):[];for(var o=-1,r=A(n);++o<n;)for(var s=e[o],a=-1;++a<n;)a!=o&&(r[o]=ee(r[o]||s,e[a],t,i));return qe(l(r,1),t,i);}function Ue(e,t,i){for(var n=-1,o=e.length,r=t.length,s={};++n<o;)i(s,e[n],n<r?t[n]:Xr);return s;}function Ve(e){return $(e)?e:[];}function Ge(e){return "function"==typeof e?e:j;}function Xe(e,t){return H(e)?e:Rt(e,t)?[e]:co(p(e));}function Qe(e,t,i){var n=e.length;return i=i===Xr?n:i,!t&&n<=i?e:a(e,t,i);}function Ye(e,t){return t?e.slice():(t=e.length,t=cn?cn(t):new e.constructor(t),e.copy(t),t);}function Ke(e){var t=new e.constructor(e.byteLength);return new ln(t).set(new ln(e)),t;}function Ze(e,t){return new e.constructor(t?Ke(e.buffer):e.buffer,e.byteOffset,e.length);}function Je(e,t){if(e!==t){var i=e!==Xr,n=null===e,o=e==e,r=y(e),s=t!==Xr,a=null===t,l=t==t,c=y(t);if(!a&&!c&&!r&&t<e||r&&s&&l&&!a&&!c||n&&s&&l||!i&&l||!o)return 1;if(!n&&!r&&!c&&e<t||c&&i&&o&&!n&&!r||a&&i&&o||!s&&o||!l)return -1;}return 0;}function et(e,t,i,n){for(var o=-1,r=e.length,s=i.length,a=-1,l=t.length,c=I(r-s,0),d=A(l+c),u=!n;++a<l;)d[a]=t[a];for(;++o<s;)(u||o<r)&&(d[i[o]]=e[o]);for(;c--;)d[a++]=e[o++];return d;}function tt(e,t,i,n){for(var o=-1,r=e.length,s=-1,a=i.length,l=-1,c=t.length,d=I(r-a,0),u=A(d+c),h=!n;++o<d;)u[o]=e[o];for(var p=o;++l<c;)u[p+l]=t[l];for(;++s<a;)(h||o<r)&&(u[p+i[s]]=e[o++]);return u;}function k(e,t){var i=-1,n=e.length;for(t=t||A(n);++i<n;)t[i]=e[i];return t;}function it(e,t,i,n){var o=!i;i=i||{};for(var r=-1,s=t.length;++r<s;){var a=t[r],l=n?n(i[a],e[a],a,i,e):Xr;(o?Q:U)(i,a,l=l===Xr?e[a]:l);}return i;}function nt(o,r){return function(e,t){var i=H(e)?ps:G,n=r?r():{};return i(e,o,d(t,2),n);};}function ot(a){return s(function(e,t){var i=-1,n=t.length,o=1<n?t[n-1]:Xr,r=2<n?t[2]:Xr,o=3<a.length&&"function"==typeof o?(n--,o):Xr;for(r&&u(t[0],t[1],r)&&(o=n<3?Xr:o,n=1),e=E(e);++i<n;){var s=t[i];s&&a(e,s,i,o);}return e;});}function rt(r,s){return function(e,t){if(null!=e){if(!h(e))return r(e,t);for(var i=e.length,n=s?i:-1,o=E(e);(s?n--:++n<i)&&!1!==t(o[n],n,o););}return e;};}function st(l){return function(e,t,i){for(var n=-1,o=E(e),r=i(e),s=r.length;s--;){var a=r[l?s:++n];if(!1===t(o[a],a,o))break;}return e;};}function at(n){return function(e){var t=Br(e=p(e))?Gr(e):Xr,i=t?t[0]:e.charAt(0),t=t?Qe(t,1).join(""):e.slice(1);return i[n]()+t;};}function lt(t){return function(e){return ys(Hi(Di(e).replace(La,"")),t,"");};}function ct(n){return function(){var e=arguments;switch(e.length){case 0:return new n();case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3]);case 5:return new n(e[0],e[1],e[2],e[3],e[4]);case 6:return new n(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new n(e[0],e[1],e[2],e[3],e[4],e[5],e[6]);}var t=Bn(n.prototype),i=n.apply(t,e);return T(i)?i:t;};}function dt(r,s,a){var l=ct(r);return function e(){for(var t=arguments.length,i=A(t),n=t,o=It(e);n--;)i[n]=arguments[n];o=t<3&&i[0]!==o&&i[t-1]!==o?[]:Ur(i,o);return (t-=o.length)<a?Ct(r,s,pt,e.placeholder,Xr,i,o,Xr,Xr,a-t):Hr(this&&this!==us&&this instanceof e?l:r,this,i);};}function ut(r){return function(e,t,i){var n,o=E(e),t=(h(e)||(n=d(t,3),e=S(e),t=function(e){return n(o[e],e,o);}),r(e,t,i));return -1<t?o[n?e[t]:t]:Xr;};}function ht(l){return At(function(o){var r=o.length,e=r,t=g.prototype.thru;for(l&&o.reverse();e--;){var i=o[e];if("function"!=typeof i)throw new O(Qr);t&&!a&&"wrapper"==zt(i)&&(a=new g([],!0));}for(e=a?e:r;++e<r;)var n=zt(i=o[e]),s="wrapper"==n?io(i):Xr,a=s&&Nt(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?a[zt(s[0])].apply(a,s[3]):1==i.length&&Nt(i)?a[n]():a.thru(i);return function(){var e=arguments,t=e[0];if(a&&1==e.length&&H(t))return a.plant(t).value();for(var i=0,n=r?o[i].apply(this,e):t;++i<r;)n=o[i].call(this,n);return n;};});}function pt(s,a,l,c,d,u,h,p,f,g){var m=a&Yr,v=1&a,y=2&a,w=24&a,b=512&a,C=y?Xr:ct(s);return function e(){for(var t,i,n=arguments.length,o=A(n),r=n;r--;)o[r]=arguments[r];return w&&(t=((e,t)=>{for(var i=e.length,n=0;i--;)e[i]===t&&++n;return n;})(o,i=It(e))),c&&(o=et(o,c,d,w)),u&&(o=tt(o,u,h,w)),n-=t,w&&n<g?Ct(s,a,pt,e.placeholder,l,o,Ur(o,i),p,f,g-n):(t=v?l:this,i=y?t[s]:s,n=o.length,p?o=((e,t)=>{for(var i=e.length,n=P(t.length,i),o=k(e);n--;){var r=t[n];e[n]=Wt(r,i)?o[r]:Xr;}return e;})(o,p):b&&1<n&&o.reverse(),m&&f<n&&(o.length=f),(i=this&&this!==us&&this instanceof e?C||ct(i):i).apply(t,o));};}function ft(i,s){return function(e,t){return e=e,n=i,o=s(t),r={},oe(e,function(e,t,i){n(r,o(e),t,i);}),r;var n,o,r;};}function gt(n,o){return function(e,t){var i;if(e===Xr&&t===Xr)return o;if(e!==Xr&&(i=e),t!==Xr){if(i===Xr)return t;
14t=("string"==typeof e||"string"==typeof t?(e=c(e),c):(e=Le(e),Le))(t),i=n(e,t);}return i;};}function mt(n){return At(function(e){return e=qr(e,Nr(d())),s(function(t){var i=this;return n(e,function(e){return Hr(e,i,t);});});});}function vt(e,t){var i=(t=t===Xr?" ":c(t)).length;return i<2?i?ze(t,e):t:(i=ze(t,Cn(e/Vr(t))),Br(t)?Qe(Gr(i),0,e).join(""):i.slice(0,e));}function yt(a,e,l,c){var d=1&e,u=ct(a);return function e(){for(var t=-1,i=arguments.length,n=-1,o=c.length,r=A(o+i),s=this&&this!==us&&this instanceof e?u:a;++n<o;)r[n]=c[n];for(;i--;)r[n++]=arguments[++t];return Hr(s,d?l:this,r);};}function wt(c){return function(e,t,i){i&&"number"!=typeof i&&u(e,t,i)&&(t=i=Xr),e=_i(e),t===Xr?(t=e,e=0):t=_i(t),i=i===Xr?e<t?1:-1:_i(i);for(var n=e,o=i,r=c,s=-1,a=I(Cn((t-n)/(o||1)),0),l=A(a);a--;)l[r?a:++s]=n,n+=o;return l;};}function bt(i){return function(e,t){return "string"==typeof e&&"string"==typeof t||(e=w(e),t=w(t)),i(e,t);};}function Ct(e,t,i,n,o,r,s,a,l,c){var d=8&t,o=(4&(t=(t|(d?32:64))&~(d?64:32))||(t&=-4),[e,t,o,d?r:Xr,d?s:Xr,d?Xr:r,d?Xr:s,a,l,c]),r=i.apply(Xr,o);return Nt(e)&&so(r,o),r.placeholder=n,Qt(r,e,t);}function kt(e){var n=Gi[e];return function(e,t){var i;return e=w(e),(t=null==t?0:P(x(t),292))&&Tn(e)?(i=(p(e)+"e").split("e"),+((i=(p(n(i[0]+"e"+(+i[1]+t)))+"e").split("e"))[0]+"e"+(+i[1]-t))):n(e);};}function $t(r){return function(e){var t,i,n,o=D(e);return o==is?Ds(e):o==ss?(o=e,i=-1,n=Array(o.size),o.forEach(function(e){n[++i]=[e,e];}),n):qr(r(t=e),function(e){return [e,t[e]];});};}function Tt(e,t,i,n,o,r,s,a){var l,c,d,u,h,p,f,g,m,v,y,w,b,C=2&t;if(C||"function"==typeof e)return (l=n?n.length:0)||(t&=-97,n=o=Xr),s=s===Xr?s:I(x(s),0),a=a===Xr?a:x(a),l-=o?o.length:0,64&t&&(d=n,g=o,n=o=Xr),c=C?Xr:io(e),d=[e,t,i,n,o,d,g,r,s,a],c&&(g=c,s=(r=d)[1],v=g[1],w=(y=s|v)<131,b=v==Yr&&8==s||v==Yr&&256==s&&r[7].length<=g[8]||384==v&&g[7].length<=g[8]&&8==s,w||b)&&(1&v&&(r[2]=g[2],y|=1&s?0:4),(w=g[3])&&(m=r[3],r[3]=m?et(m,w,g[4]):w,r[4]=m?Ur(r[3],Ws):g[4]),(w=g[5])&&(m=r[5],r[5]=m?tt(m,w,g[6]):w,r[6]=m?Ur(r[5],Ws):g[6]),(w=g[7])&&(r[7]=w),v&Yr&&(r[8]=null==r[8]?g[8]:P(r[8],g[8])),null==r[9]&&(r[9]=g[9]),r[0]=g[0],r[1]=y),e=d[0],t=d[1],i=d[2],n=d[3],o=d[4],!(a=d[9]=d[9]===Xr?C?0:e.length:I(d[9]-l,0))&&24&t&&(t&=-25),b=t&&1!=t?8==t||16==t?dt(e,t,a):32!=t&&33!=t||o.length?pt.apply(Xr,d):yt(e,t,i,n):(h=i,p=1&t,f=ct(u=e),function e(){return (this&&this!==us&&this instanceof e?f:u).apply(p?h:this,arguments);}),Qt((c?Zn:so)(b,d),e,t);throw new O(Qr);}function xt(e,t,i,n){return e===Xr||C(e,Zi[i])&&!z.call(n,i)?t:e;}function St(e,t,i,n,o,r){return T(e)&&T(t)&&(r.set(t,e),xe(e,t,Xr,St,r),r.delete(t)),e;}function _t(e){return Ti(e)?Xr:e;}function jt(e,t,i,n,o,r){var s=1&i,a=e.length,l=t.length;if(a!=l&&!(s&&a<l))return !1;var l=r.get(e),c=r.get(t);if(l&&c)return l==t&&c==e;var d=-1,u=!0,h=2&i?new R():Xr;for(r.set(e,t),r.set(t,e);++d<a;){var p,f=e[d],g=t[d];if((p=n?s?n(g,f,d,t,e,r):n(f,g,d,e,t,r):p)!==Xr){if(p)continue;u=!1;break;}if(h){if(!bs(t,function(e,t){return !Fr(h,t)&&(f===e||o(f,e,i,n,r))&&h.push(t);})){u=!1;break;}}else{if(f!==g&&!o(f,g,i,n,r)){u=!1;break;}}}return r.delete(e),r.delete(t),u;}function At(e){return lo(Vt(e,Xr,ni),e+"");}function Et(e){return le(e,S,no);}function Ot(e){return le(e,_,oo);}function zt(e){for(var t=e.name+"",i=Hn[t],n=z.call(Hn,t)?i.length:0;n--;){var o=i[n],r=o.func;if(null==r||r==e)return o.name;}return t;}function It(e){return (z.call(f,"placeholder")?f:e).placeholder;}function d(){var e=(e=f.iteratee||Li)===Li?ye:e;return arguments.length?e(arguments[0],arguments[1]):e;}function Pt(e,t){var i,n,e=e.__data__;return ("string"==(n=typeof (i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?e["string"==typeof t?"string":"hash"]:e.map;}function Dt(e){for(var t=S(e),i=t.length;i--;){var n=t[i],o=e[n];t[i]=[n,o,Bt(o)];}return t;}function Ht(e,t){t=t;e=null==(e=e)?Xr:e[t];return ve(e)?e:Xr;}function Mt(e,t,i){for(var n=-1,o=(t=Xe(t,e)).length,r=!1;++n<o;){var s=Zt(t[n]);if(!(r=null!=e&&i(e,s)))break;e=e[s];}return r||++n!=o?r:!!(o=null==e?0:e.length)&&ki(o)&&Wt(s,o)&&(H(e)||qo(e));}function Lt(e){return "function"!=typeof e.constructor||Ft(e)?{}:Bn(dn(e));}function qt(e){return H(e)||qo(e)||!!(fn&&e&&e[fn]);}function Wt(e,t){var i=typeof e;return !!(t=null==t?Kr:t)&&("number"==i||"symbol"!=i&&Pa.test(e))&&-1<e&&e%1==0&&e<t;}function u(e,t,i){var n;return !!T(i)&&!!("number"==(n=typeof t)?h(i)&&Wt(t,i.length):"string"==n&&t in i)&&C(i[t],e);}function Rt(e,t){var i;if(!H(e))return "number"==(i=typeof e)||"symbol"==i||"boolean"==i||null==e||y(e)||va.test(e)||!ma.test(e)||null!=t&&e in E(t);}function Nt(e){var t=zt(e),i=f[t];return "function"==typeof i&&t in m.prototype&&(e===i||(t=io(i))&&e===t[0]);}function Ft(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Zi);}function Bt(e){return e==e&&!T(e);}function Ut(t,i){return function(e){return null!=e&&e[t]===i&&(i!==Xr||t in E(e));};}function Vt(r,s,a){return s=I(s===Xr?r.length-1:s,0),function(){for(var e=arguments,t=-1,i=I(e.length-s,0),n=A(i);++t<i;)n[t]=e[s+t];for(var t=-1,o=A(s+1);++t<s;)o[t]=e[t];return o[s]=a(n),Hr(r,this,o);};}function Gt(e,t){return t.length<2?e:ae(e,a(t,0,-1));}function Xt(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t];}function Qt(e,t,i){var n,o,r,t=t+"";return lo(e,(o=(t=(t=e=t).match($a))?t[1].split(Ta):[],r=i,Mr(Ns,function(e){var t="_."+e[0];r&e[1]&&!ms(o,t)&&o.push(t);}),t=o.sort(),(i=t.length)?(t[n=i-1]=(1<i?"& ":"")+t[n],t=t.join(2<i?", ":" "),e.replace(ka,"{\n/* [wrapped with "+t+"] */\n")):e));}function Yt(i){var n=0,o=0;return function(){var e=_n(),t=16-(e-o);if(o=e,0<t){if(800<=++n)return arguments[0];}else n=0;return i.apply(Xr,arguments);};}function Kt(e,t){var i=-1,n=e.length,o=n-1;for(t=t===Xr?n:t;++i<t;){var r=Oe(i,o),s=e[r];e[r]=e[i],e[i]=s;}return e.length=t,e;}function Zt(e){var t;return "string"==typeof e||y(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t;}function Jt(e){if(null!=e){try{return en.call(e);}catch(e){}try{return e+"";}catch(e){}}return "";}function ei(e){var t;return e instanceof m?e.clone():((t=new g(e.__wrapped__,e.__chain__)).__actions__=k(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t);}function ti(e,t,i){var n=null==e?0:e.length;return n?((i=null==i?0:x(i))<0&&(i=I(n+i,0)),ks(e,d(t,3),i)):-1;}function ii(e,t,i){var n,o=null==e?0:e.length;return o?(n=o-1,i!==Xr&&(n=x(i),n=i<0?I(o+n,0):P(n,o-1)),ks(e,d(t,3),n,!0)):-1;}function ni(e){return null!=e&&e.length?l(e,1):[];}function oi(e){return e&&e.length?e[0]:Xr;}function n(e){var t=null==e?0:e.length;return t?e[t-1]:Xr;}function ri(e,t){return e&&e.length&&t&&t.length?Ae(e,t):e;}function si(e){return null==e?e:En.call(e);}function ai(t){var i;return t&&t.length?(i=0,t=Lr(t,function(e){if($(e))return i=I(e.length,i),!0;}),As(i,function(e){return qr(t,Ss(e));})):[];}function li(e,t){return e&&e.length?(e=ai(e),null==t?e:qr(e,function(e){return Hr(t,Xr,e);})):[];}function ci(e){e=f(e);return e.__chain__=!0,e;}function di(e,t){return t(e);}function ui(e,t){return (H(e)?Mr:Xn)(e,d(t,3));}function hi(e,t){return (H(e)?fs:Qn)(e,d(t,3));}function pi(e,t){return (H(e)?qr:ke)(e,d(t,3));}function fi(e,t,i){return t=i?Xr:t,t=e&&null==t?e.length:t,Tt(e,Yr,Xr,Xr,Xr,Xr,t);}function gi(e,t){var i;if("function"!=typeof t)throw new O(Qr);return e=x(e),function(){return 0<--e&&(i=t.apply(this,arguments)),e<=1&&(t=Xr),i;};}function mi(n,i,e){function o(e){var t=l,i=c;return l=c=Xr,f=e,u=n.apply(i,t);}function r(e){var t=e-p;return p===Xr||i<=t||t<0||m&&d<=e-f;}function s(){var e,t=Eo();return r(t)?a(t):(h=ao(s,(e=i-((t=t)-p),m?P(e,d-(t-f)):e)),Xr);}function a(e){return h=Xr,v&&l?o(e):(l=c=Xr,u);}function t(){var e=Eo(),t=r(e);if(l=arguments,c=this,p=e,t){if(h===Xr)return f=e=p,h=ao(s,i),g?o(e):u;if(m)return eo(h),h=ao(s,i),o(p);}return h===Xr&&(h=ao(s,i)),u;}var l,c,d,u,h,p,f=0,g=!1,m=!1,v=!0;if("function"!=typeof n)throw new O(Qr);return i=w(i)||0,T(e)&&(g=!!e.leading,m="maxWait" in e,d=m?I(w(e.maxWait)||0,i):d,v="trailing" in e?!!e.trailing:v),t.cancel=function(){h!==Xr&&eo(h
14),f=0,l=p=c=h=Xr;},t.flush=function(){return h===Xr?u:a(Eo());},t;}function vi(n,o){if("function"!=typeof n||null!=o&&"function"!=typeof o)throw new O(Qr);function r(){var e=arguments,t=o?o.apply(this,e):e[0],i=r.cache;return i.has(t)?i.get(t):(e=n.apply(this,e),r.cache=i.set(t,e)||i,e);}return r.cache=new (vi.Cache||W)(),r;}function yi(t){if("function"!=typeof t)throw new O(Qr);return function(){var e=arguments;switch(e.length){case 0:return !t.call(this);case 1:return !t.call(this,e[0]);case 2:return !t.call(this,e[0],e[1]);case 3:return !t.call(this,e[0],e[1],e[2]);}return !t.apply(this,e);};}function C(e,t){return e===t||e!=e&&t!=t;}function h(e){return null!=e&&ki(e.length)&&!bi(e);}function $(e){return r(e)&&h(e);}function wi(e){var t;return !!r(e)&&((t=i(e))==Bs||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ti(e));}function bi(e){return !!T(e)&&((e=i(e))==Us||e==Vs||"[object AsyncFunction]"==e||"[object Proxy]"==e);}function Ci(e){return "number"==typeof e&&e==x(e);}function ki(e){return "number"==typeof e&&-1<e&&e%1==0&&e<=Kr;}function T(e){var t=typeof e;return null!=e&&("object"==t||"function"==t);}function r(e){return null!=e&&"object"==typeof e;}function $i(e){return "number"==typeof e||r(e)&&i(e)==ns;}function Ti(e){return !(!r(e)||i(e)!=os)&&(null===(e=dn(e))||"function"==typeof (e=z.call(e,"constructor")&&e.constructor)&&e instanceof e&&en.call(e)==rn);}function xi(e){return "string"==typeof e||!H(e)&&r(e)&&i(e)==as;}function y(e){return "symbol"==typeof e||r(e)&&i(e)==Xs;}function Si(e){if(!e)return [];if(h(e))return (xi(e)?Gr:k)(e);var t;if(gn&&e[gn]){for(var i,n=e[gn](),o=[];!(i=n.next()).done;)o.push(i.value);return o;}return ((t=D(e))==is?Ds:t==ss?Ms:Ii)(e);}function _i(e){return e?(e=w(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0;}function x(e){var e=_i(e),t=e%1;return e==e?t?e-t:e:0;}function ji(e){return e?K(x(e),0,Zr):0;}function w(e){if("number"==typeof e)return e;if(y(e))return Rs;if("string"!=typeof (e=T(e)?T(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=Es(e);var t=Oa.test(e);return t||Ia.test(e)?Ua(e.slice(2),t?2:8):Ea.test(e)?Rs:+e;}function Ai(e){return it(e,_(e));}function p(e){return null==e?"":c(e);}function Ei(e,t,i){e=null==e?Xr:ae(e,t);return e===Xr?i:e;}function Oi(e,t){return null!=e&&Mt(e,t,ue);}function S(e){return (h(e)?N:we)(e);}function _(e){return h(e)?N(e,!0):be(e);}function zi(e,i){var t;return null==e?{}:(t=qr(Ot(e),function(e){return [e];}),i=d(i),je(e,t,function(e,t){return i(e,t[0]);}));}function Ii(e){return null==e?[]:Os(e,S(e));}function Pi(e){return vr(p(e).toLowerCase());}function Di(e){return (e=p(e))&&e.replace(Da,Ja).replace(qa,"");}function Hi(e,t,i){return e=p(e),(t=i?Xr:t)===Xr?(i=e,Ra.test(i)?e.match(Wa)||[]:e.match(xa)||[]):e.match(t)||[];}function Mi(e){return function(){return e;};}function j(e){return e;}function Li(e){return ye("function"==typeof e?e:v(e,1));}function qi(n,t,e){var i=S(t),o=se(t,i),r=(null!=e||T(t)&&(o.length||!i.length)||(e=t,t=n,n=this,o=se(t,S(t))),!(T(e)&&"chain" in e&&!e.chain)),s=bi(n);return Mr(o,function(e){var i=t[e];n[e]=i,s&&(n.prototype[e]=function(){var e,t=this.__chain__;return r||t?(((e=n(this.__wrapped__)).__actions__=k(this.__actions__)).push({func:i,args:arguments,thisArg:n}),e.__chain__=t,e):i.apply(n,Wr([this.value()],arguments));});}),n;}function Wi(){}function Ri(e){return Rt(e)?Ss(Zt(e)):(t=e,function(e){return ae(e,t);});var t;}function Ni(){return [];}function Fi(){return !1;}var A=(e=null==e?us:hs.defaults(us.Object(),e,hs.pick(us,Na))).Array,Bi=e.Date,Ui=e.Error,Vi=e.Function,Gi=e.Math,E=e.Object,Xi=e.RegExp,Qi=e.String,O=e.TypeError,Yi=A.prototype,Ki=Vi.prototype,Zi=E.prototype,Ji=e["__core-js_shared__"],en=Ki.toString,z=Zi.hasOwnProperty,tn=0,nn=(Ki=/[^.]+$/.exec(Ji&&Ji.keys&&Ji.keys.IE_PROTO||""))?"Symbol(src)_1."+Ki:"",on=Zi.toString,rn=en.call(E),sn=us._,an=Xi("^"+en.call(z).replace(wa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ki=Va?e.Buffer:Xr,t=e.Symbol,ln=e.Uint8Array,cn=Ki?Ki.allocUnsafe:Xr,dn=Hs(E.getPrototypeOf,E),un=E.create,hn=Zi.propertyIsEnumerable,pn=Yi.splice,fn=t?t.isConcatSpreadable:Xr,gn=t?t.iterator:Xr,mn=t?t.toStringTag:Xr,vn=(()=>{try{var e=Ht(E,"defineProperty");return e({},"",{}),e;}catch(e){}})(),yn=e.clearTimeout!==us.clearTimeout&&e.clearTimeout,wn=Bi&&Bi.now!==us.Date.now&&Bi.now,bn=e.setTimeout!==us.setTimeout&&e.setTimeout,Cn=Gi.ceil,kn=Gi.floor,$n=E.getOwnPropertySymbols,Ki=Ki?Ki.isBuffer:Xr,Tn=e.isFinite,xn=Yi.join,Sn=Hs(E.keys,E),I=Gi.max,P=Gi.min,_n=Bi.now,jn=e.parseInt,An=Gi.random,En=Yi.reverse,Bi=Ht(e,"DataView"),On=Ht(e,"Map"),zn=Ht(e,"Promise"),In=Ht(e,"Set"),e=Ht(e,"WeakMap"),Pn=Ht(E,"create"),Dn=e&&new e(),Hn={},Mn=Jt(Bi),Ln=Jt(On),qn=Jt(zn),Wn=Jt(In),Rn=Jt(e),t=t?t.prototype:Xr,Nn=t?t.valueOf:Xr,Fn=t?t.toString:Xr,Bn=function(e){if(!T(e))return {};if(un)return un(e);Un.prototype=e;e=new Un();return Un.prototype=Xr,e;};function Un(){}f.templateSettings={escape:pa,evaluate:fa,interpolate:ga,variable:"",imports:{_:f}},(f.prototype=M.prototype).constructor=f,(g.prototype=Bn(M.prototype)).constructor=g,(m.prototype=Bn(M.prototype)).constructor=m,L.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0;},L.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e;},L.prototype.get=function(e){var t,i=this.__data__;return Pn?(t=i[e])===qs?Xr:t:z.call(i,e)?i[e]:Xr;},L.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==Xr:z.call(t,e);},L.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=Pn&&t===Xr?qs:t,this;},q.prototype.clear=function(){this.__data__=[],this.size=0;},q.prototype.delete=function(e){var t=this.__data__;return !((e=V(t,e))<0||(e==t.length-1?t.pop():pn.call(t,e,1),--this.size,0));},q.prototype.get=function(e){var t=this.__data__;return (e=V(t,e))<0?Xr:t[e][1];},q.prototype.has=function(e){return -1<V(this.__data__,e);},q.prototype.set=function(e,t){var i=this.__data__,n=V(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this;},W.prototype.clear=function(){this.size=0,this.__data__={hash:new L(),map:new (On||q)(),str
14ing:new L()};},W.prototype.delete=function(e){return e=Pt(this,e).delete(e),this.size-=e?1:0,e;},W.prototype.get=function(e){return Pt(this,e).get(e);},W.prototype.has=function(e){return Pt(this,e).has(e);},W.prototype.set=function(e,t){var i=Pt(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this;},R.prototype.add=R.prototype.push=function(e){return this.__data__.set(e,qs),this;},R.prototype.has=function(e){return this.__data__.has(e);},b.prototype.clear=function(){this.__data__=new q(),this.size=0;},b.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e;},b.prototype.get=function(e){return this.__data__.get(e);},b.prototype.has=function(e){return this.__data__.has(e);},b.prototype.set=function(e,t){var i=this.__data__;if(i instanceof q){var n=i.__data__;if(!On||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new W(n);}return i.set(e,t),this.size=i.size,this;};var Vn,Gn,Xn=rt(oe),Qn=rt(re,!0),Yn=st(),Kn=st(!0),Zn=Dn?function(e,t){return Dn.set(e,t),e;}:j,t=vn?function(e,t){return vn(e,"toString",{configurable:!0,enumerable:!1,value:Mi(t),writable:!0});}:j,Jn=s,eo=yn||function(e){return us.clearTimeout(e);},to=In&&1/Ms(new In([,-0]))[1]==1/0?function(e){return new In(e);}:Wi,io=Dn?function(e){return Dn.get(e);}:Wi,no=$n?function(t){return null==t?[]:(t=E(t),Lr($n(t),function(e){return hn.call(t,e);}));}:Ni,oo=$n?function(e){for(var t=[];e;)Wr(t,no(e)),e=dn(e);return t;}:Ni,D=i,ro=((Bi&&D(new Bi(new ArrayBuffer(1)))!=ls||On&&D(new On())!=is||zn&&D(zn.resolve())!=Gs||In&&D(new In())!=ss||e&&D(new e())!=Qs)&&(D=function(e){var t=i(e),e=t==os?e.constructor:Xr,e=e?Jt(e):"";if(e)switch(e){case Mn:return ls;case Ln:return is;case qn:return Gs;case Wn:return ss;case Rn:return Qs;}return t;}),Ji?bi:Fi),so=Yt(Zn),ao=bn||function(e,t){return us.setTimeout(e,t);},lo=Yt(t),co=(Vn=(yn=vi(yn=function(e){var o=[];return 46===e.charCodeAt(0)&&o.push(""),e.replace(ya,function(e,t,i,n){o.push(i?n.replace(_a,"$1"):t||e);}),o;},function(e){return 500===Vn.size&&Vn.clear(),e;})).cache,yn),Bi=s(function(e,t){return $(e)?ee(e,l(t,1,$,!0)):[];}),zn=s(function(e,t){var i=n(t);return $(i)&&(i=Xr),$(e)?ee(e,l(t,1,$,!0),d(i,2)):[];}),e=s(function(e,t){var i=n(t);return $(i)&&(i=Xr),$(e)?ee(e,l(t,1,$,!0),Xr,i):[];}),Ji=s(function(e){var t=qr(e,Ve);return t.length&&t[0]===e[0]?he(t):[];}),bn=s(function(e){var t=n(e),i=qr(e,Ve);return t===n(i)?t=Xr:i.pop(),i.length&&i[0]===e[0]?he(i,d(t,2)):[];}),t=s(function(e){var t=n(e),i=qr(e,Ve);return (t="function"==typeof t?t:Xr)&&i.pop(),i.length&&i[0]===e[0]?he(i,Xr,t):[];}),yn=s(ri),uo=At(function(e,t){var i=null==e?0:e.length,n=Y(e,t);return Ee(e,qr(t,function(e){return Wt(e,i)?+e:e;}).sort(Je)),n;}),ho=s(function(e){return qe(l(e,1,$,!0));}),po=s(function(e){var t=n(e);return $(t)&&(t=Xr),qe(l(e,1,$,!0),d(t,2));}),fo=s(function(e){var t="function"==typeof (t=n(e))?t:Xr;return qe(l(e,1,$,!0),Xr,t);}),go=s(function(e,t){return $(e)?ee(e,t):[];}),mo=s(function(e){return Be(Lr(e,$));}),vo=s(function(e){var t=n(e);return $(t)&&(t=Xr),Be(Lr(e,$),d(t,2));}),yo=s(function(e){var t="function"==typeof (t=n(e))?t:Xr;return Be(Lr(e,$),Xr,t);}),wo=s(ai),bo=s(function(e){var t=e.length,t="function"==typeof (t=1<t?e[t-1]:Xr)?(e.pop(),t):Xr;return li(e,t);}),Co=At(function(t){function e(e){return Y(e,t);}var i=t.length,n=i?t[0]:0,o=this.__wrapped__;return !(1<i||this.__actions__.length)&&o instanceof m&&Wt(n)?((o=o.slice(n,+n+(i?1:0))).__actions__.push({func:di,args:[e],thisArg:Xr}),new g(o,this.__chain__).thru(function(e){return i&&!e.length&&e.push(Xr),e;})):this.thru(e);}),ko=nt(function(e,t,i){z.call(e,i)?++e[i]:Q(e,i,1);}),$o=ut(ti),To=ut(ii),xo=nt(function(e,t,i){z.call(e,i)?e[i].push(t):Q(e,i,[t]);}),So=s(function(e,t,i){var n=-1,o="function"==typeof t,r=h(e)?A(e.length):[];return Xn(e,function(e){r[++n]=o?Hr(t,e,i):pe(e,t,i);}),r;}),_o=nt(function(e,t,i){Q(e,i,t);}),jo=nt(function(e,t,i){e[i?0:1].push(t);},function(){return [[],[]];}),Ao=s(function(e,t){var i;return null==e?[]:(1<(i=t.length)&&u(e,t[0],t[1])?t=[]:2<i&&u(t[0],t[1],t[2])&&(t=[t[0]]),_e(e,l(t,1),[]));}),Eo=wn||function(){return us.Date.now();},Oo=s(function(e,t,i){var n,o=1;
14return i.length&&(n=Ur(i,It(Oo)),o|=32),Tt(e,o,t,i,n);}),zo=s(function(e,t,i){var n,o=3;return i.length&&(n=Ur(i,It(zo)),o|=32),Tt(t,o,e,i,n);}),wn=s(function(e,t){return J(e,1,t);}),Io=s(function(e,t,i){return J(e,w(t)||0,i);}),Jn=(vi.Cache=W,Jn(function(n,o){var r=(o=1==o.length&&H(o[0])?qr(o[0],Nr(d())):qr(l(o,1),Nr(d()))).length;return s(function(e){for(var t=-1,i=P(e.length,r);++t<i;)e[t]=o[t].call(this,e[t]);return Hr(n,this,e);});})),Po=s(function(e,t){return Tt(e,32,Xr,t,Ur(t,It(Po)));}),Do=s(function(e,t){return Tt(e,64,Xr,t,Ur(t,It(Do)));}),Ho=At(function(e,t){return Tt(e,256,Xr,Xr,Xr,t);}),Mo=bt(ce),Lo=bt(function(e,t){return t<=e;}),qo=fe(function(){return arguments;}())?fe:function(e){return r(e)&&z.call(e,"callee")&&!hn.call(e,"callee");},H=A.isArray,Wo=Ga?Nr(Ga):function(e){return r(e)&&i(e)==Ys;},Ro=Ki||Fi,Ki=Xa?Nr(Xa):function(e){return r(e)&&i(e)==ts;},No=Qa?Nr(Qa):function(e){return r(e)&&D(e)==is;},Fo=Ya?Nr(Ya):function(e){return r(e)&&i(e)==rs;},Bo=Ka?Nr(Ka):function(e){return r(e)&&D(e)==ss;},Uo=Za?Nr(Za):function(e){return r(e)&&ki(e.length)&&!!cs[i(e)];},Vo=bt(Ce),Go=bt(function(e,t){return e<=t;}),Xo=ot(function(e,t){if(Ft(t)||h(t))return it(t,S(t),e),Xr;for(var i in t)z.call(t,i)&&U(e,i,t[i]);}),Qo=ot(function(e,t){it(t,_(t),e);}),Yo=ot(function(e,t,i,n){it(t,_(t),e,n);}),Ko=ot(function(e,t,i,n){it(t,S(t),e,n);}),Zo=At(Y),Jo=s(function(e,t){e=E(e);var i=-1,n=t.length,o=2<n?t[2]:Xr;for(o&&u(t[0],t[1],o)&&(n=1);++i<n;)for(var r=t[i],s=_(r),a=-1,l=s.length;++a<l;){var c=s[a],d=e[c];(d===Xr||C(d,Zi[c])&&!z.call(e,c))&&(e[c]=r[c]);}return e;}),er=s(function(e){return e.push(Xr,St),Hr(rr,Xr,e);}),tr=ft(function(e,t,i){e[t=null!=t&&"function"!=typeof t.toString?on.call(t):t]=i;},Mi(j)),ir=ft(function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=on.call(t)),z.call(e,t)?e[t].push(i):e[t]=[i];},d),nr=s(pe),or=ot(function(e,t,i){xe(e,t,i);}),rr=ot(function(e,t,i,n){xe(e,t,i,n);}),sr=At(function(t,e){var i={};if(null!=t){var n=!1;e=qr(e,function(e){return e=Xe(e,t),n=n||1<e.length,e;}),it(t,Ot(t),i),n&&(i=v(i,7,_t));for(var o=e.length;o--;)We(i,e[o]);}return i;}),ar=At(function(e,t){return null==e?{}:je(i=e,t,function(e,t){return Oi(i,t);});var i;}),lr=$t(S),cr=$t(_),dr=lt(function(e,t,i){return t=t.toLowerCase(),e+(i?Pi(t):t);}),ur=lt(function(e,t,i){return e+(i?"-":"")+t.toLowerCase();}),hr=lt(function(e,t,i){return e+(i?" ":"")+t.toLowerCase();}),pr=at("toLowerCase"),fr=lt(function(e,t,i){return e+(i?"_":"")+t.toLowerCase();}),gr=lt(function(e,t,i){return e+(i?" ":"")+vr(t);}),mr=lt(function(e,t,i){return e+(i?" ":"")+t.toUpperCase();}),vr=at("toUpperCase"),yr=s(function(e,t){try{return Hr(e,Xr,t);}catch(e){return wi(e)?e:new Ui(e);}}),wr=At(function(t,e){return Mr(e,function(e){e=Zt(e),Q(t,e,Oo(t[e],t));}),t;}),br=ht(),Cr=ht(!0),kr=s(function(t,i){return function(e){return pe(e,t,i);};}),$r=s(function(t,i){return function(e){return pe(t,e,i);};}),Tr=mt(qr),xr=mt(gs),Sr=mt(bs),_r=wt(),jr=wt(!0),Ar=gt(function(e,t){return e+t;},0),Er=kt("ceil"),Or=gt(function(e,t){return e/t;},1),zr=kt("floor"),Ir=gt(function(e,t){return e*t;},1),Pr=kt("round"),Dr=gt(function(e,t){return e-t;},0);return f.after=function(e,t){if("function"!=typeof t)throw new O(Qr);return e=x(e),function(){if(--e<1)return t.apply(this,arguments);};},f.ary=fi,f.assign=Xo,f.assignIn=Qo,f.assignInWith=Yo,f.assignWith=Ko,f.at=Zo,f.before=gi,f.bind=Oo,f.bindAll=wr,f.bindKey=zo,f.castArray=function(){var e;return arguments.length?H(e=arguments[0])?e:[e]:[];},f.chain=ci,f.chunk=function(e,t,i){t=(i?u(e,t,i):t===Xr)?1:I(x(t),0);var n=null==e?0:e.length;if(!n||t<1)return [];for(var o=0,r=0,s=A(Cn(n/t));o<n;)s[r++]=a(e,o,o+=t);return s;},f.compact=function(e){for(var t=-1,i=null==e?0:e.length,n=0,o=[];++t<i;){var r=e[t];r&&(o[n++]=r);}return o;},f.concat=function(){var e=arguments.length;if(!e)return [];for(var t=A(e-1),i=arguments[0],n=e;n--;)t[n-1]=arguments[n];return Wr(H(i)?k(i):[i],l(t,1));},f.cond=function(n){var o=null==n?0:n.length,t=d();return n=o?qr(n,function(e){if("function"!=typeof e[1])throw new O(Qr);return [t(e[0]),e[1]];}):[],s(function(e){for(var t=-1;++t<o;){var i=n[t];if(Hr(i[0],this,e))return Hr(i[1],this,e);}});},f.conforms=function(e){return t=v(e,1),i=S(t),function(e){return Z(e,t,i);};var t,i;},f.constant=Mi,f.countBy=ko,f.create=function(e,t){return e=Bn(e),null==t?e:X(e,t);},f.curry=function e(t,i,n){t=Tt(t,8,Xr,Xr,Xr,Xr,Xr,i=n?Xr:i);return t.placeholder=e.placeholder,t;},f.curryRight=function e(t,i,n){t=Tt(t,16,Xr,Xr,Xr,Xr,Xr,i=n?Xr:i);return t.placeholder=e.placeholder,t;},f.debounce=mi,f.defaults=Jo,f.defaultsDeep=er,f.defer=wn,f.delay=Io,f.difference=Bi,f.differenceBy=zn,f.differenceWith=e,f.drop=function(e,t,i){var n=null==e?0:e.length;return n?a(e,(t=i||t===Xr?1:x(t))<0?0:t,n):[];},f.dropRight=function(e,t,i){var n=null==e?0:e.length;return n?a(e,0,(t=n-(t=i||t===Xr?1:x(t)))<0?0:t):[];},f.dropRightWhile=function(e,t){return e&&e.length?Ne(e,d(t,3),!0,
14!0):[];},f.dropWhile=function(e,t){return e&&e.length?Ne(e,d(t,3),!0):[];},f.fill=function(e,t,i,n){var o=null==e?0:e.length;if(o){i&&"number"!=typeof i&&u(e,t,i)&&(i=0,n=o);var r=e,s=t,a=i,l=n,o=r.length;for((a=x(a))<0&&(a=o<-a?0:o+a),(l=l===Xr||o<l?o:x(l))<0&&(l+=o),l=l<a?0:ji(l);a<l;)r[a++]=s;return r;}return [];},f.filter=function(e,t){return (H(e)?Lr:ne)(e,d(t,3));},f.flatMap=function(e,t){return l(pi(e,t),1);},f.flatMapDeep=function(e,t){return l(pi(e,t),1/0);},f.flatMapDepth=function(e,t,i){return i=i===Xr?1:x(i),l(pi(e,t),i);},f.flatten=ni,f.flattenDeep=function(e){return null!=e&&e.length?l(e,1/0):[];},f.flattenDepth=function(e,t){return null!=e&&e.length?l(e,t=t===Xr?1:x(t)):[];},f.flip=function(e){return Tt(e,512);},f.flow=br,f.flowRight=Cr,f.fromPairs=function(e){for(var t=-1,i=null==e?0:e.length,n={};++t<i;){var o=e[t];n[o[0]]=o[1];}return n;},f.functions=function(e){return null==e?[]:se(e,S(e));},f.functionsIn=function(e){return null==e?[]:se(e,_(e));},f.groupBy=xo,f.initial=function(e){return null!=e&&e.length?a(e,0,-1):[];},f.intersection=Ji,f.intersectionBy=bn,f.intersectionWith=t,f.invert=tr,f.invertBy=ir,f.invokeMap=So,f.iteratee=Li,f.keyBy=_o,f.keys=S,f.keysIn=_,f.map=pi,f.mapKeys=function(e,n){var o={};return n=d(n,3),oe(e,function(e,t,i){Q(o,n(e,t,i),e);}),o;},f.mapValues=function(e,n){var o={};return n=d(n,3),oe(e,function(e,t,i){Q(o,t,n(e,t,i));}),o;},f.matches=function(e){return $e(v(e,1));},f.matchesProperty=function(e,t){return Te(e,v(t,1));},f.memoize=vi,f.merge=or,f.mergeWith=rr,f.method=kr,f.methodOf=$r,f.mixin=qi,f.negate=yi,f.nthArg=function(t){return t=x(t),s(function(e){return Se(e,t);});},f.omit=sr,f.omitBy=function(e,t){return zi(e,yi(d(t)));},f.once=function(e){return gi(2,e);},f.orderBy=function(e,t,i,n){return null==e?[]:_e(e,t=H(t)?t:null==t?[]:[t],i=H(i=n?Xr:i)?i:null==i?[]:[i]);}
14,f.over=Tr,f.overArgs=Jn,f.overEvery=xr,f.overSome=Sr,f.partial=Po,f.partialRight=Do,f.partition=jo,f.pick=ar,f.pickBy=zi,f.property=Ri,f.propertyOf=function(t){return function(e){return null==t?Xr:ae(t,e);};},f.pull=yn,f.pullAll=ri,f.pullAllBy=function(e,t,i){return e&&e.length&&t&&t.length?Ae(e,t,d(i,2)):e;},f.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?Ae(e,t,Xr,i):e;},f.pullAt=uo,f.range=_r,f.rangeRight=jr,f.rearg=Ho,f.reject=function(e,t){return (H(e)?Lr:ne)(e,yi(d(t,3)));},f.remove=function(e,t){var i=[];if(e&&e.length){var n=-1,o=[],r=e.length;for(t=d(t,3);++n<r;){var s=e[n];t(s,n,e)&&(i.push(s),o.push(n));}Ee(e,o);}return i;},f.rest=function(e,t){if("function"!=typeof e)throw new O(Qr);return s(e,t=t===Xr?t:x(t));},f.reverse=si,f.sampleSize=function(e,t,i){return t=(i?u(e,t,i):t===Xr)?1:x(t),(H(e)?function(e,t){return Kt(k(e),K(t,0,e.length));}:function(e,t){return Kt(e=Ii(e),K(t,0,e.length));})(e,t);},f.set=function(e,t,i){return null==e?e:Ie(e,t,i);},f.setWith=function(e,t,i,n){return n="function"==typeof n?n:Xr,null==e?e:Ie(e,t,i,n);},f.shuffle=function(e){return (H(e)?function(e){return Kt(k(e));}:function(e){return Kt(Ii(e));})(e);},f.slice=function(e,t,i){var n=null==e?0:e.length;return n?(i=i&&"number"!=typeof i&&u(e,t,i)?(t=0,n):(t=null==t?0:x(t),i===Xr?n:x(i)),a(e,t,i)):[];},f.sortBy=Ao,f.sortedUniq=function(e){return e&&e.length?Me(e):[];},f.sortedUniqBy=function(e,t){return e&&e.length?Me(e,d(t,2)):[];},f.split=function(e,t,i){return i&&"number"!=typeof i&&u(e,t,i)&&(t=i=Xr),(i=i===Xr?Zr:i>>>0)?(e=p(e))&&("string"==typeof t||null!=t&&!Fo(t))&&!(t=c(t))&&Br(e)?Qe(Gr(e),0,i):e.split(t,i):[];},f.spread=function(i,n){if("function"!=typeof i)throw new O(Qr);return n=null==n?0:I(x(n),0),s(function(e){var t=e[n],e=Qe(e,0,n);return t&&Wr(e,t),Hr(i,this,e);});},f.tail=function(e){var t=null==e?0:e.length;return t?a(e,1,t):[];},f.take=function(e,t,i){return e&&e.length?a(e,0,(t=i||t===Xr?1:x(t))<0?0:t):[];},f.takeRight=function(e,t,i){var n=null==e?0:e.length;return n?a(e,(t=n-(t=i||t===Xr?1:x(t)))<0?0:t,n):[];},f.takeRightWhile=function(e,t){return e&&e.length?Ne(e,d(t,3),!1,!0):[];},f.takeWhile=function(e,t){return e&&e.length?Ne(e,d(t,3)):[];},f.tap=function(e,t){return t(e),e;},f.throttle=function(e,t,i){var n=!0,o=!0;if("function"!=typeof e)throw new O(Qr);return T(i)&&(n="leading" in i?!!i.leading:n,o="trailing" in i?!!i.trailing:o),mi(e,t,{leading:n,maxWait:t,trailing:o});},f.thru=di,f.toArray=Si,f.toPairs=lr,f.toPairsIn=cr,f.toPath=function(e){return H(e)?qr(e,Zt):y(e)?[e]:k(co(p(e)));},f.toPlainObject=Ai,f.transform=function(e,n,o){var t,i=H(e),r=i||Ro(e)||Uo(e);return n=d(n,4),null==o&&(t=e&&e.constructor,o=r?i?new t():[]:T(e)&&bi(t)?Bn(dn(e)):{}),(r?Mr:oe)(e,function(e,t,i){return n(o,e,t,i);}),o;},f.unary=function(e){return fi(e,1);},f.union=ho,f.unionBy=po,f.unionWith=fo,f.uniq=function(e){return e&&e.length?qe(e):[];},f.uniqBy=function(e,t){return e&&e.length?qe(e,d(t,2)):[];},f.uniqWith=function(e,t){return t="function"==typeof t?t:Xr,e&&e.length?qe(e,Xr,t):[];},f.unset=function(e,t){return null==e||We(e,t);},f.unzip=ai,f.unzipWith=li,f.update=function(e,t,i){return null==e?e:Re(e,t,Ge(i));},f.updateWith=function(e,t,i,n){return n="function"==typeof n?n:Xr,null==e?e:Re(e,t,Ge(i),n);},f.values=Ii,f.valuesIn=function(e){return null==e?[]:Os(e,_(e));},f.without=go,f.words=Hi,f.wrap=function(e,t){return Po(Ge(t),e);},f.xor=mo,f.xorBy=vo,f.xorWith=yo,f.zip=wo,f.zipObject=function(e,t){return Ue(e||[],t||[],U);},f.zipObjectDeep=function(e,t){return Ue(e||[],t||[],Ie);},f.zipWith=bo,f.entries=lr,f.entriesIn=cr,f.extend=Qo,f.extendWith=Yo,qi(f,f),f.add=Ar,f.attempt=yr,f.camelCase=dr,f.capitalize=Pi,f.ceil=Er,f.clamp=function(e,t,i){return i===Xr&&(i=t,t=Xr),i!==Xr&&(i=(i=w(i))==i?i:0),t!==Xr&&(t=(t=w(t))==t?t:0),K(w(e),t,i);},f.clone=function(e){return v(e,4);},f.cloneDeep=function(e){return v(e,5);},f.cloneDeepWith=function(e,t){return v(e,5,t="function"==typeof t?t:Xr);},f.cloneWith=function(e,t){return v(e,4,t="function"==typeof t?t:Xr);},f.conformsTo=function(e,t){return null==t||Z(e,t,S(t));},f.deburr=Di,f.defaultTo=function(e,t){return null==e||e!=e?t:e;},f.divide=Or,f.endsWith=function(e,t,i){e=p(e),t=c(t);var n=e.length,n=i=i===Xr?n:K(x(i),0,n);return 0<=(i-=t.length)&&e.slice(i,n)==t;},f.eq=C,f.escape=function(e){return (e=p(e))&&ha.test(e)?e.replace(da,el):e;},f.escapeRegExp=function(e){return (e=p(e))&&ba.test(e)?e.replace(wa,"\\$&"):e;},f.every=function(e,t,i){return (H(e)?gs:te)(e,d(t=i&&u(e,t,i)?Xr:t,3));},f.find=$o,f.findIndex=ti,f.findKey=function(e,t){return Cs(e,d(t,3),oe);},f.findLast=To,f.findLastIndex=ii,f.findLastKey=function(e,t){return Cs(e,d(t,3),re);},f.floor=zr,f.forEach=ui,f.forEachRight=hi,f.forIn=function(e,t){return null==e?e:Yn(e,d(t,3),_);},f.forInRight=function(e,t){return null==e?e:Kn(e,d(t,3),_);},f.forOwn=function(e,t){return e&&oe(e,d(t,3));},f.forOwnRight=function(e,t){return e&&re(e,d(t,3));},f.get=Ei,f.gt=Mo,f.gte=Lo,f.has=function(e,t){return null!=e&&Mt(e,t,de);},f.hasIn=Oi,f.head=oi,f.identity=j,f.includes=function(e,t,i,n){return e=h(e)?e:Ii(e),i=i&&!n?x(i):0,n=e.length,i<0&&(i=I(n+i,0)),xi(e)?i<=n&&-1<e.indexOf(t,i):!!n&&-1<Rr(e,t,i);},f.indexOf=function(e,t,i){var n=null==e?0:e.length;return n?Rr(e,t,e=(e=null==i?0:x(i))<0?I(n+e,0):e):-1;},f.inRange=function(e,t,i){return t=_i(t),i===Xr?(i=t,t=0):i=_i(i),(e=e=w(e))>=P(t=t,i=i)&&e<I(t,i);},f.invoke=nr,f.isArguments=qo,f.isArray=H,f.isArrayBuffer=Wo,f.isArrayLike=h,f.isArrayLikeObject=$,f.isBoolean=function(e){return !0===e||!1===e||r(e)&&i(e)==es;},f.isBuffer=Ro,f.isDate=Ki,f.isElement=function(e){return r(e)&&1===e.nodeType&&!Ti(e);},f.isEmpty=function(e){if(null!=e){if(h(e)&&(H(e)||"string"==typeof e||"function"==typeof e.splice||Ro(e)||Uo(e)||qo(e)))return !e.length;var t,i=D(e);if(i==is||i==ss)return !e.size;
14if(Ft(e))return !we(e).length;for(t in e)if(z.call(e,t))return !1;}return !0;},f.isEqual=function(e,t){return ge(e,t);},f.isEqualWith=function(e,t,i){var n=(i="function"==typeof i?i:Xr)?i(e,t):Xr;return n===Xr?ge(e,t,Xr,i):!!n;},f.isError=wi,f.isFinite=function(e){return "number"==typeof e&&Tn(e);},f.isFunction=bi,f.isInteger=Ci,f.isLength=ki,f.isMap=No,f.isMatch=function(e,t){return e===t||me(e,t,Dt(t));},f.isMatchWith=function(e,t,i){return i="function"==typeof i?i:Xr,me(e,t,Dt(t),i);},f.isNaN=function(e){return $i(e)&&e!=+e;},f.isNative=function(e){if(ro(e))throw new Ui("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ve(e);},f.isNil=function(e){return null==e;},f.isNull=function(e){return null===e;},f.isNumber=$i,f.isObject=T,f.isObjectLike=r,f.isPlainObject=Ti,f.isRegExp=Fo,f.isSafeInteger=function(e){return Ci(e)&&-Kr<=e&&e<=Kr;},f.isSet=Bo,f.isString=xi,f.isSymbol=y,f.isTypedArray=Uo,f.isUndefined=function(e){return e===Xr;},f.isWeakMap=function(e){return r(e)&&D(e)==Qs;},f.isWeakSet=function(e){return r(e)&&"[object WeakSet]"==i(e);},f.join=function(e,t){return null==e?"":xn.call(e,t);},f.kebabCase=ur,f.last=n,f.lastIndexOf=function(e,t,i){var n=null==e?0:e.length;if(n){var o=n;if(i!==Xr&&(o=(o=x(i))<0?I(n+o,0):P(o,n-1)),t==t){var r=e;var s=t;i=o;for(var a=i+1;a--;)if(r[a]===s)return a;return a;return;}else return ks(e,Ts,o,!0);}return -1;},f.lowerCase=hr,f.lowerFirst=pr,f.lt=Vo,f.lte=Go,f.max=function(e){return e&&e.length?ie(e,j,ce):Xr;},f.maxBy=function(e,t){return e&&e.length?ie(e,d(t,2),ce):Xr;},f.mean=function(e){return xs(e,j);},f.meanBy=function(e,t){return xs(e,d(t,2));},f.min=function(e){return e&&e.length?ie(e,j,Ce):Xr;},f.minBy=function(e,t){return e&&e.length?ie(e,d(t,2),Ce):Xr;},f.stubArray=Ni,f.stubFalse=Fi,f.stubObject=function(){return {};},f.stubString=function(){return "";},f.stubTrue=function(){return !0;},f.multiply=Ir,f.nth=function(e,t){return e&&e.length?Se(e,x(t)):Xr;},f.noConflict=function(){return us._===this&&(us._=sn),this;},f.noop=Wi,f.now=Eo,f.pad=function(e,t,i){e=p(e);var n=(t=x(t))?Vr(e):0;return !t||t<=n?e:vt(kn(t=(t-n)/2),i)+e+vt(Cn(t),i);},f.padEnd=function(e,t,i){e=p(e);var n=(t=x(t))?Vr(e):0;return t&&n<t?e+vt(t-n,i):e;},f.padStart=function(e,t,i){e=p(e);var n=(t=x(t))?Vr(e):0;return t&&n<t?vt(t-n,i)+e:e;},f.parseInt=function(e,t,i){return t=i||null==t?0:t&&+t,jn(p(e).replace(Ca,""),t||0);},f.random=function(e,t,i){var n;return i&&"boolean"!=typeof i&&u(e,t,i)&&(t=i=Xr),i===Xr&&("boolean"==typeof t?(i=t,t=Xr):"boolean"==typeof e&&(i=e,e=Xr)),e===Xr&&t===Xr?(e=0,t=1):(e=_i(e),t===Xr?(t=e,e=0):t=_i(t)),t<e&&(n=e,e=t,t=n),i||e%1||t%1?(n=An(),P(e+n*(t-e+Ba("1e-"+((n+"").length-1))),t)):Oe(e,t);},f.reduce=function(e,t,i){var n=H(e)?ys:_s,o=arguments.length<3;return n(e,d(t,4),i,o,Xn);},f.reduceRight=function(e,t,i){var n=H(e)?ws:_s,o=arguments.length<3;return n(e,d(t,4),i,o,Qn);},f.repeat=function(e,t,i){return t=(i?u(e,t,i):t===Xr)?1:x(t),ze(p(e),t);},f.replace=function(){var e=arguments,t=p(e[0]);return e.length<3?t:t.replace(e[1],e[2]);},f.result=function(e,t,i){var n=-1,o=(t=Xe(t,e)).length;for(o||(o=1,e=Xr);++n<o;){var r=null==e?Xr:e[Zt(t[n])];r===Xr&&(n=o,r=i),e=bi(r)?r.call(e):r;}return e;},f.round=Pr,f.runInContext=o,f.sample=function(e){return (H(e)?F:function(e){return F(Ii(e));})(e);},f.size=function(e){var t;return null==e?0:h(e)?xi(e)?Vr(e):e.length:(t=D(e))==is||t==ss?e.size:we(e).length;},f.snakeCase=fr,f.some=function(e,t,i){return (H(e)?bs:Pe)(e,d(t=i&&u(e,t,i)?Xr:t,3));},f.sortedIndex=function(e,t){return De(e,t);},f.sortedIndexBy=function(e,t,i){return He(e,t,d(i,2));},f.sortedIndexOf=function(e,t){var i=null==e?0:e.length;if(i){var n=De(e,t);if(n<i&&C(e[n],t))return n;}return -1;},f.sortedLastIndex=function(e,t){return De(e,t,!0);},f.sortedLastIndexBy=function(e,t,i){return He(e,t,d(i,2),!0);},f.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var i=De(e,t,!0)-1;if(C(e[i],t))return i;}return -1;},f.startCase=gr,f.startsWith=function(e,t,i){return e=p(e),i=null==i?0:K(x(i),0,e.length),t=c(t),e.slice(i,i+t.length)==t;},f.subtract=Dr,f.sum=function(e){return e&&e.length?js(e,j):0;},f.sumBy=function(e,t){return e&&e.length?js(e,d(t,2)):0;},f.template=function(s,e,t){var i=f.templateSettings;t&&u(s,e,t)&&(e=Xr),s=p(s),e=Yo({},e,i,xt);var a,l,n=S(t=Yo({},e.imports,i.imports,xt)),o=Os(t,n),c=0,i=e.interpolate||Ha,d="__p += '",t=Xi((e.escape||Ha).source+"|"+i.source+"|"+(i===ga?ja:Ha).source+"|"+(e.evaluate||Ha).source+"|$","g"),r="//# sourceURL="+(z.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fa+"]")+"\n";if(s.replace(t,function(e,t,i,n,o,r){return i=i||n,d+=s.slice(c,r).replace(Ma,Ps),t&&(a=!0,d+="' +\n__e("+t+") +\n'"),o&&(l=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=r+e.length,e;}),d+="';\n",i=z.call(e,"variable")&&e.variable){if(Sa.test(i))throw new Ui("Invalid `variable` option passed into `_.template`");}else d="with (obj) {\n"+d+"\n}\n";if(d=(l?d.replace(sa,""):d).replace(aa,"$1").replace(la,"$1;"),d="function("+(i||"obj")+") {\n"+(i?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(l?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
14\n")+d+"return __p\n}",(t=yr(function(){return Vi(n,r+"return "+d).apply(Xr,o);})).source=d,wi(t))throw t;return t;},f.times=function(e,t){if((e=x(e))<1||Kr<e)return [];var i=Zr,n=P(e,Zr);for(t=d(t),e-=Zr,n=As(n,t);++i<e;)t(i);return n;},f.toFinite=_i,f.toInteger=x,f.toLength=ji,f.toLower=function(e){return p(e).toLowerCase();},f.toNumber=w,f.toSafeInteger=function(e){return e?K(x(e),-Kr,Kr):0===e?e:0;},f.toString=p,f.toUpper=function(e){return p(e).toUpperCase();},f.trim=function(e,t,i){return (e=p(e))&&(i||t===Xr)?Es(e):e&&(t=c(t))?Qe(i=Gr(e),zs(i,t=Gr(t)),Is(i,t)+1).join(""):e;},f.trimEnd=function(e,t,i){return (e=p(e))&&(i||t===Xr)?e.slice(0,Ls(e)+1):e&&(t=c(t))?Qe(i=Gr(e),0,Is(i,Gr(t))+1).join(""):e;},f.trimStart=function(e,t,i){return (e=p(e))&&(i||t===Xr)?e.replace(Ca,""):e&&(t=c(t))?Qe(i=Gr(e),zs(i,Gr(t))).join(""):e;},f.truncate=function(e,t){var i,n=30,o="...",t=(T(t)&&(i="separator" in t?t.separator:i,n="length" in t?x(t.length):n,o="omission" in t?c(t.omission):o),(e=p(e)).length);if((t=Br(e)?(r=Gr(e)).length:t)<=n)return e;if((t=n-Vr(o))<1)return o;var r,n=r?Qe(r,0,t).join(""):e.slice(0,t);if(i!==Xr)if(r&&(t+=n.length-t),Fo(i)){if(e.slice(t).search(i)){var s,a=n;for((i=i.global?i:Xi(i.source,p(Aa.exec(i))+"g")).lastIndex=0;s=i.exec(a);)var l=s.index;n=n.slice(0,l===Xr?t:l);}}else e.indexOf(c(i),t)!=t&&-1<(r=n.lastIndexOf(i))&&(n=n.slice(0,r));return n+o;},f.unescape=function(e){return (e=p(e))&&ua.test(e)?e.replace(ca,tl):e;},f.uniqueId=function(e){var t=++tn;return p(e)+t;},f.upperCase=mr,f.upperFirst=vr,f.each=ui,f.eachRight=hi,f.first=oi,qi(f,(Gn={},oe(f,function(e,t){z.call(f.prototype,t)||(Gn[t]=e);}),Gn),{chain:!1}),f.VERSION="4.17.21",Mr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f;}),Mr(["drop","take"],function(i,n){m.prototype[i]=function(e){e=e===Xr?1:I(x(e),0);var t=this.__filtered__&&!n?new m(this):this.clone();return t.__filtered__?t.__takeCount__=P(e,t.__takeCount__):t.__views__.push({size:P(e,Zr),type:i+(t.__dir__<0?"Right":"")}),t;},m.prototype[i+"Right"]=function(e){return this.reverse()[i](e).reverse();};}),Mr(["filter","map","takeWhile"],function(e,t){var i=t+1,n=1==i||3==i;m.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:d(e,3),type:i}),t.__filtered__=t.__filtered__||n,t;};}),Mr(["head","last"],function(e,t){var i="take"+(t?"Right":"");m.prototype[e]=function(){return this[i](1).value()[0];};}),Mr(["initial","tail"],function(e,t){var i="drop"+(t?"":"Right");m.prototype[e]=function(){return this.__filtered__?new m(this):this[i](1);};}),m.prototype.compact=function(){return this.filter(j);},m.prototype.find=function(e){return this.filter(e).head();},m.prototype.findLast=function(e){return this.reverse().find(e);},m.prototype.invokeMap=s(function(t,i){return "function"==typeof t?new m(this):this.map(function(e){return pe(e,t,i);});}),m.prototype.reject=function(e){return this.filter(yi(d(e)));},m.prototype.slice=function(e,t){e=x(e);var i=this;return i.__filtered__&&(0<e||t<0)?new m(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),i=t!==Xr?(t=x(t))<0?i.dropRight(-t):i.take(t-e):i);},m.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse();},m.prototype.toArray=function(){return this.take(Zr);},oe(m.prototype,function(c,e){var d=/^(?:filter|find|map|reject)|While$/.test(e),u=/^(?:head|last)$/.test(e),h=f[u?"take"+("last"==e?"Right":""):e],p=u||/^find/.test(e);h&&(f.prototype[e]=function(){function e(e){return e=h.apply(f,Wr([e],n)),u&&a?e[0]:e;}var t,i=this.__wrapped__,n=u?[1]:arguments,o=i instanceof m,r=n[0],s=o||H(i),a=(s&&d&&"function"==typeof r&&1!=r.length&&(o=s=!1),this.__chain__),r=!!this.__actions__.length,l=p&&!a,o=o&&!r;return !p&&s?(i=o?i:new m(this),(t=c.apply(i,n)).__actions__.push({func:di,args:[e],thisArg:Xr}),new g(t,a)):l&&o?c.apply(this,n):(t=this.thru(e),l?u?t.value()[0]:t.value():t);});}),Mr(["pop","push","shift","sort","splice","unshift"],function(e){var i=Yi[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var e,t=arguments;return o&&!this.__chain__?(e=this.value(),i.apply(H(e)?e:[],t)):this[n](function(e){return i.apply(H(e)?e:[],t);});};}),oe(m.prototype,function(e,t){var i,n=f[t];n&&(i=n.name+"",z.call(Hn,i)||(Hn[i]=[]),Hn[i].push({name:t,func:n}));}),Hn[pt(Xr,2).name]=[{name:"wrapper",func:Xr}],m.prototype.clone=function(){var e=new m(this.__wrapped__);return e.__actions__=k(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=k(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=k(this.__views__),e;},m.prototype.reverse=function(){var e;return this.__filtered__?((e=new m(this)).__dir__=-1,e.__filtered__=!0):(e=this.clone()).__dir__*=-1,e;},m.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,i=H(e),n=t<0,o=i?e.length:0,r=((e,t,i)=>{for(var n=-1,o=i.length;++n<o;){var r=i[n],s=r.size;switch(r.type){case "drop":e+=s;break;case "dropRight":t-=s;break;
14case "take":t=P(t,e+s);break;case "takeRight":e=I(e,t-s);}}return {start:e,end:t};})(0,o,this.__views__),s=r.start,a=(r=r.end)-s,l=n?r:s-1,c=this.__iteratees__,d=c.length,u=0,h=P(a,this.__takeCount__);if(!i||!n&&o==a&&h==a)return Fe(e,this.__actions__);var p=[];e:for(;a--&&u<h;){for(var f=-1,g=e[l+=t];++f<d;){var m=c[f],v=m.iteratee,m=m.type,v=v(g);if(2==m)g=v;else{if(!v){if(1==m)continue e;break e;}}}p[u++]=g;}return p;},f.prototype.at=Co,f.prototype.chain=function(){return ci(this);},f.prototype.commit=function(){return new g(this.value(),this.__chain__);},f.prototype.next=function(){this.__values__===Xr&&(this.__values__=Si(this.value()));var e=this.__index__>=this.__values__.length;return {done:e,value:e?Xr:this.__values__[this.__index__++]};},f.prototype.plant=function(e){for(var t,i=this;i instanceof M;)var n=ei(i),o=(n.__index__=0,n.__values__=Xr,t?o.__wrapped__=n:t=n,n),i=i.__wrapped__;return o.__wrapped__=e,t;},f.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof m?(e=e,(e=(e=this.__actions__.length?new m(this):e).reverse()).__actions__.push({func:di,args:[si],thisArg:Xr}),new g(e,this.__chain__)):this.thru(si);},f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=function(){return Fe(this.__wrapped__,this.__actions__);},f.prototype.first=f.prototype.head,gn&&(f.prototype[gn]=function(){return this;}),f;}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(us._=hs,define(function(){return hs;})):o?((o.exports=hs)._=hs,n._=hs):us._=hs;}.call(this),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");(()=>{var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4");})(),((n)=>{n.fn.emulateTransitionEnd=function(e){var t=!1,i=this;return n(this).one("bsTransitionEnd",function(){t=!0;}),setTimeout(function(){t||n(i).trigger(n.support.transition.end);},e),this;},n(function(){n.support.transition=(()=>{var e,t=document.createElement("bootstrap"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(e in i)if(void 0!==t.style[e])return {end:i[e]};return !1;})(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(e){if(n(e.target).is(this))return e.handleObj.handler.apply(this,arguments);}});});})(jQuery),((r)=>{function s(e){r(e).on("click",t,this.close);}var t='[data-dismiss="alert"]',e=(s.VERSION="3.4.1",s.TRANSITION_DURATION=150,s.prototype.close=function(e){var t=r(this),i=t.attr("data-target"),n=(i="#"===(i=i||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""))?[]:i,r(document).find(i));function o(){n.detach().trigger("closed.bs.alert").remove();}e&&e.preventDefault(),(n=n.length?n:t.closest(".alert")).trigger(e=r.Event("close.bs.alert")),e.isDefaultPrevented()||(n.removeClass("in"),r.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(s.TRANSITION_DURATION):o());},r.fn.alert);r.fn.alert=function(i){return this.each(function(){var e=r(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new s(this)),"string"==typeof i&&t[i].call(e);});},r.fn.alert.Constructor=s,r.fn.alert.noConflict=function(){return r.fn.alert=e,this;},r(document).on("click.bs.alert.data-api",t,s.prototype.close);})(jQuery),((r)=>{function n(e,t){this.$element=r(e),this.options=r.extend({},n.DEFAULTS,t),this.isLoading=!1;}function i(i){return this.each(function(){var e=r(this),t=e.data("bs.button");t||e.data("bs.button",t=new n(this,"object"==typeof i&&i)),"toggle"==i?t.toggle():i&&t.setState(i);});}n.VERSION="3.4.1",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var t="disabled",i=this.$element,n=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[n]()),setTimeout(r.proxy(function(){i[n]((null==o[e]?this.options:o)[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(t).removeAttr(t).prop(t,!1));},this),0);},n.prototype.toggle=function(){var e,t=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length?("radio"==(e=this.$element.find("input")).prop("type")?(e.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==e.prop("type")&&(e.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),e.prop("checked",this.$element.hasClass("active")),t&&e.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"));};var e=r.fn.button;r.fn.button=i,r.fn.button.Constructor=n,r.fn.button.noConflict=function(){return r.fn.button=e,this;},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=r(e.target).closest(".btn");i.call(t,"toggle"),r(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),(t.is("input,button")?t:t.find("input:visible,button:visible").first()).trigger("focus"));}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){r(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type));});})(jQuery),((c)=>{function d(e,t){this.$element=c(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
14down.bs.carousel",c.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart" in document.documentElement||this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this));}function o(o){return this.each(function(){var e=c(this),t=e.data("bs.carousel"),i=c.extend({},d.DEFAULTS,e.data(),"object"==typeof o&&o),n="string"==typeof o?o:i.slide;t||e.data("bs.carousel",t=new d(this,i)),"number"==typeof o?t.to(o):n?t[n]():i.interval&&t.pause().cycle();});}function e(e){var t,i=c(this),n=(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),n=i.attr("data-target")||n;(n=c(document).find(n)).hasClass("carousel")&&(t=c.extend({},n.data(),i.data()),(i=i.attr("data-slide-to"))&&(t.interval=!1),o.call(n,t),i&&n.data("bs.carousel").to(i),e.preventDefault());}d.VERSION="3.4.1",d.TRANSITION_DURATION=600,d.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},d.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return;}e.preventDefault();}},d.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval)),this;},d.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active);},d.prototype.getItemForDirection=function(e,t){var i=this.getItemIndex(t);return ("prev"==e&&0===i||"next"==e&&i==this.$items.length-1)&&!this.options.wrap?t:(t=(i+("prev"==e?-1:1))%this.$items.length,this.$items.eq(t));},d.prototype.to=function(e){var t=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e);}):i==e?this.pause().cycle():this.slide(i<e?"next":"prev",this.$items.eq(e));},d.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&c.support.transition&&(this.$element.trigger(c.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this;},d.prototype.next=function(){if(!this.sliding)return this.slide("next");},d.prototype.prev=function(){if(!this.sliding)return this.slide("prev");},d.prototype.slide=function(e,t){var i,n,o,r=this.$element.find(".item.active"),s=t||this.getItemForDirection(e,r),t=this.interval,a="next"==e?"left":"right",l=this;return s.hasClass("active")?this.sliding=!1:(i=s[0],n=c.Event("slide.bs.carousel",{relatedTarget:i,direction:a}),this.$element.trigger(n),n.isDefaultPrevented()?void 0:(this.sliding=!0,t&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),n=c(this.$indicators.children()[this.getItemIndex(s)]))&&n.addClass("active"),o=c.Event("slid.bs.carousel",{relatedTarget:i,direction:a}),c.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),"object"==typeof s&&s.length&&s[0].offsetWidth,r.addClass(a),s.addClass(a),r.one("bsTransitionEnd",function(){s.removeClass([e,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(o);},0);}).emulateTransitionEnd(d.TRANSITION_DURATION)):(r.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(o)),t&&this.cycle(),this));};var t=c.fn.carousel;c.fn.carousel=o,c.fn.carousel.Constructor=d,c.fn.carousel.noConflict=function(){return c.fn.carousel=t,this;},c(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),c(window).on("load",function(){c('[data-ride="carousel"]').each(function(){var e=c(this);o.call(e,e.data());});});})(jQuery),((o)=>{function r(e,t){this.$element=o(e),this.options=o.extend({},r.DEFAULTS,t),this.$trigger=o('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle();}function i(e){e=e.attr("data-target")||(e=e.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return o(document).find(e);}function s(n){return this.each(function(){var e=o(this),t=e.data("bs.collapse"),i=o.extend({},r.DEFAULTS,e.data(),"object"==typeof n&&n);!t&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),t||e.data("bs.collapse",t=new r(this,i)),"string"==typeof n&&t[n]();});}r.VERSION="3.4.1",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height";},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(n=e.data("bs.collapse"))&&n.transitioning)){var t=o.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){e&&e.length&&(s.call(e,"hide"),n||e.data("bs.collapse",null));var i=this.dimension(),t=(this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse");});if(!o.support.transition)return t.call(this);
14var n=o.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",o.proxy(t,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[i](this.$element[0][n]);}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=o.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var e=this.dimension(),t=(this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse");});if(!o.support.transition)return t.call(this);this.$element[e](0).one("bsTransitionEnd",o.proxy(t,this)).emulateTransitionEnd(r.TRANSITION_DURATION);}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]();},r.prototype.getParent=function(){return o(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(o.proxy(function(e,t){t=o(t);this.addAriaAndCollapsedClass(i(t),t);},this)).end();},r.prototype.addAriaAndCollapsedClass=function(e,t){var i=e.hasClass("in");e.attr("aria-expanded",i),t.toggleClass("collapsed",!i).attr("aria-expanded",i);};var e=o.fn.collapse;o.fn.collapse=s,o.fn.collapse.Constructor=r,o.fn.collapse.noConflict=function(){return o.fn.collapse=e,this;},o(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=o(this),e=(t.attr("data-target")||e.preventDefault(),i(t)),t=e.data("bs.collapse")?"toggle":t.data();s.call(e,t);});})(jQuery),((o)=>{function n(e){o(e).on("click.bs.dropdown",this.toggle);}var r='[data-toggle="dropdown"]';function s(e){var t=e.attr("data-target"),t="#"!==(t=t||(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""))?o(document).find(t):null;return t&&t.length?t:e.parent();}function a(n){n&&3===n.which||(o(".dropdown-backdrop").remove(),o(r).each(function(){var e=o(this),t=s(e),i={relatedTarget:this};!t.hasClass("open")||n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&o.contains(t[0],n.target)||(t.trigger(n=o.Event("hide.bs.dropdown",i)),n.isDefaultPrevented())||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(o.Event("hidden.bs.dropdown",i)));}));}n.VERSION="3.4.1",n.prototype.toggle=function(e){var t=o(this);if(!t.is(".disabled, :disabled")){var i=s(t),n=i.hasClass("open");if(a(),!n){"ontouchstart" in document.documentElement&&!i.closest(".navbar-nav").length&&o(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(o(this)).on("click",a);n={relatedTarget:this};if(i.trigger(e=o.Event("show.bs.dropdown",n)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(o.Event("shown.bs.dropdown",n));}return !1;}},n.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=o(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var i=s(t),n=i.hasClass("open");if(!n&&27!=e.which||n&&27==e.which)return 27==e.which&&i.find(r).trigger("focus"),t.trigger("click");n=i.find(".dropdown-menu li:not(.disabled):visible a");n.length&&(t=n.index(e.target),38==e.which&&0<t&&t--,40==e.which&&t<n.length-1&&t++,n.eq(t=~t?t:0).trigger("focus"));}}};var e=o.fn.dropdown;o.fn.dropdown=function(i){return this.each(function(){var e=o(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new n(this)),"string"==typeof i&&t[i].call(e);});},o.fn.dropdown.Constructor=n,o.fn.dropdown.noConflict=function(){return o.fn.dropdown=e,this;},o(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation();}).on("click.bs.dropdown.data-api",r,n.prototype.toggle).on("keydown.bs.dropdown.data-api",r,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown);})(jQuery),((r)=>{function s(e,t){this.options=t,this.$body=r(document.body),this.$element=r(e),this.$dialog=this.$element.find(".modal
14-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,r.proxy(function(){this.$element.trigger("loaded.bs.modal");},this));}function a(n,o){return this.each(function(){var e=r(this),t=e.data("bs.modal"),i=r.extend({},s.DEFAULTS,e.data(),"object"==typeof n&&n);t||e.data("bs.modal",t=new s(this,i)),"string"==typeof n?t[n](o):i.show&&t.show(o);});}s.VERSION="3.4.1",s.TRANSITION_DURATION=300,s.BACKDROP_TRANSITION_DURATION=150,s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e);},s.prototype.show=function(i){var n=this,e=r.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',r.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(e){r(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0);});}),this.backdrop(function(){var e=r.support.transition&&n.$element.hasClass("fade"),t=(n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),e&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus(),r.Event("shown.bs.modal",{relatedTarget:i}));e?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(t);}).emulateTransitionEnd(s.TRANSITION_DURATION):n.$element.trigger("focus").trigger(t);}));},s.prototype.hide=function(e){e&&e.preventDefault(),e=r.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),r(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),r.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",r.proxy(this.hideModal,this)).emulateTransitionEnd(s.TRANSITION_DURATION):this.hideModal());},s.prototype.enforceFocus=function(){r(document).off("focusin.bs.modal").on("focusin.bs.modal",r.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus");},this));},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",r.proxy(function(e){27==e.which&&this.hide();},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal");},s.prototype.resize=function(){this.isShown?r(window).on("resize.bs.modal",r.proxy(this.handleUpdate,this)):r(window).off("resize.bs.modal");},s.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal");});},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null;},s.prototype.backdrop=function(e){var t,i=this,n=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(t=r.support.transition&&n,this.$backdrop=r(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",r.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide());},this)),t&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e&&(t?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):e())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n=function(){i.removeBackdrop(),e&&e();},r.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):n()):e&&e();},s.prototype.handleUpdate=function(){this.adjustDialog();},s.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""});},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""});},s.prototype.checkScrollbar=function(){var e,t=window.innerWidth;t||(t=(e=document.documentElement.getBoundingClientRect()).right-Math.abs(e.left)),this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar();},s.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10),o=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",e+o),r(this.fixedContent).each(function(e,t){var i=t.style.paddingRight,n=r(t).css("padding-right");r(t).data("padding-right",i).css("padding-right",parseFloat(n)+o+"px");}));},s.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),r(this.fixedContent).each(function(e,t){var i=r(t).data("padding-right");r(t).removeData("padding-right"),t.style.paddingRight=i||"";});},s.prototype.measureScrollbar=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",this.$body.append(e),e.offsetWidth-e.clientWidth);return this.$body[0].removeChild(e),t;};var e=r.fn.modal;r.fn.modal=a,r.fn.modal.Constructor=s,r.fn.modal.noConflict=function(){return r.fn.modal=e,this;},r(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=r(this),i=t.attr("href"),n=t.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),o=r(document).find(n),n=o.data("bs.modal")?"toggle":r.extend({remote:!/#/.test(i)&&i},o.data(),t.data());t.is("a")&&e.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus");});}),a.call(o,n,this);});})(jQuery),((p)=>{var n=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],g=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,m=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(e,t,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=e;for(var n=p.map(t,function(e,t){return t;}),o=p(i.body).find("*"),r=0,s=o.length;r<s;r++){var a=o[r],l=a.nodeName.toLowerCase();if(-1!==p.inArray(l,n))for(var c=p.map(a.attributes,function(e){return e;}),d=[].concat(t["*"]||[],t[l]||[]),u=0,h=c.length;u<h;u++)((e,t)=>{var i=e.nodeName.toLowerCase();if(-1!==p.inArray(i,t))return -1===p.inArray(i,f)||Boolean(e.nodeValue.match(g)||e.nodeValue.match(m));for(var n=p(t).filter(function(e,t){return t instanceof RegExp;}),o=0,r=n.length;o<r;o++)if(i.match(n[o]))return 1;})(c[u],d)||a.removeAttribute(c[u].nodeName);else a.parentNode.removeChild(a);}return i.body.innerHTML;}function l(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t);}l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},l.prototype.init=function(e,t,i){if(this.enabled=!0,this.type=e,this.$element=p(t),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&p(document).find(p.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0] instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),o=n.length;o--;){var r,s=n[o];"click"==s?this.$element.on("click."+this.type,this.options.selector,p.proxy(this.toggle,this)):"manual"!=s&&(r="hover"==s?"mouseleave":"focusout",this.$element.on(("hover"==s?"mouseenter":"focusin")+"."+this.type,this.options.selector,p.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,p.proxy(this.leave,this)));}this.options.selector?this._options=p.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle();},l.prototype.getDefaults=function(){return l.DEFAULTS;},l.prototype.getOptions=function(e){var t,i=this.$element.data();for(t in i)i.hasOwnProperty(t)&&-1!==p.inArray(t,n)&&delete i[t];return (e=p.extend({},this.getDefaults(),i,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=o(e.template,e.whiteList,e.sanitizeFn)),e;},l.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&p.each(this._options,function(e,t){n[e]!=t&&(i[e]=t);}),i;},l.prototype.enter=function(e){var t=e instanceof this.constructor?e:p(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e instanceof p.Event&&(t.inState["focusin"==e.type?"focu
14s":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show();},t.options.delay.show);}},l.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return !0;return !1;},l.prototype.leave=function(e){var t=e instanceof this.constructor?e:p(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e instanceof p.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide();},t.options.delay.hide);}},l.prototype.show=function(){var t,e,i,n,o,r,s,a=p.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),o=p.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented())&&o&&(a=(t=this).tip(),o=this.getUID(this.type),this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade"),o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,(s=(e=/\s?auto?\s?/i).test(o))&&(o=o.replace(e,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(p(document).find(this.options.container)):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),e=this.getPosition(),i=a[0].offsetWidth,n=a[0].offsetHeight,s&&(s=o,r=this.getPosition(this.$viewport),o="bottom"==o&&e.bottom+n>r.bottom?"top":"top"==o&&e.top-n<r.top?"bottom":"right"==o&&e.right+i>r.width?"left":"left"==o&&e.left-i<r.left?"right":o,a.removeClass(s).addClass(o)),r=this.getCalculatedOffset(o,e,i,n),this.applyPlacement(r,o),s=function(){var e=t.hoverState;t.$element.trigger("shown.bs."+t.type),t.hoverState=null,"out"==e&&t.leave(t);},p.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s());},l.prototype.applyPlacement=function(e,t){var i=this.tip(),n=i[0].offsetWidth,o=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10),r=(isNaN(r)&&(r=0),isNaN(s)&&(s=0),e.top+=r,e.left+=s,p.offset.setOffset(i[0],p.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)});}},e),0),i.addClass("in"),i[0].offsetWidth),s=i[0].offsetHeight,a=("top"==t&&s!=o&&(e.top=e.top+o-s),this.getViewportAdjustedDelta(t,e,r,s)),t=(a.left?e.left+=a.left:e.top+=a.top,/top|bottom/.test(t)),n=t?2*a.left-n+r:2*a.top-o+s,r=t?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(n,i[0][r],t);},l.prototype.replaceArrow=function(e,t,i){this.arrow().css(i?"left":"top",50*(1-e/t)+"%").css(i?"top":"left","");},l.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=o(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right");},l.prototype.hide=function(e){var t=this,i=p(this.$tip),n=p.Event("hide.bs."+this.type);function o(){"in"!=t.hoverState&&i.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e();}if(this.$element.trigger(n),!n.isDefaultPrevented())return i.removeClass("in"),p.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o(),this.hoverState=null,this;},l.prototype.fixTitle=function(){var e=this.$element;!e.attr("title")&&"string"==typeof e.attr("data-original-title")||e.attr("data-original-title",e.attr("title")||"").attr("title","");},l.prototype.hasContent=function(){return this.getTitle();},l.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],i="BODY"==t.tagName,n=t.getBoundingClientRect(),t=(null==n.width&&(n=p.extend({},n,{width:n.right-n.left,height:n.bottom-n.top})),window.SVGElement&&t instanceof window.SVGElement),t=i?{top:0,left:0}:t?null:e.offset(),e={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},i=i?{width:p(window).width(),height:p(window).height()}:null;return p.extend({},n,e,i,t);},l.prototype.getCalculatedOffset=function(e,t,i,n){return "bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==e?{top:t.top-n,left:t.left+t.width/2-i/2}:"left"==e?{top:t.top+t.height/2-n/2,left:t.left-i}:{top:t.top+t.height/2-n/2,left:t.left+t.width};},l.prototype.getViewportAdjustedDelta=function(e,t,i,n){var o,r,s={top:0,left:0};return this.$viewport&&(o=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport),/right|left/.test(e)?(e=t.top-o-r.scroll,n=t.top+o-r.scroll+n,e<r.top?s.top=r.top-e:n>r.top+r.height&&(s.top=r.top+r.height-n)):(e=t.left-o,n=t.left+o+i,e<r.left?s.left=r.left-e:n>
14r.right&&(s.left=r.left+r.width-n))),s;},l.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title);},l.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e;},l.prototype.tip=function(){if(this.$tip||(this.$tip=p(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow");},l.prototype.enable=function(){this.enabled=!0;},l.prototype.disable=function(){this.enabled=!1;},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled;},l.prototype.toggle=function(e){var t=this;e&&!(t=p(e.currentTarget).data("bs."+this.type))&&(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),p(e.currentTarget).data("bs."+this.type,t)),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t);},l.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null;});},l.prototype.sanitizeHtml=function(e){return o(e,this.options.whiteList,this.options.sanitizeFn);};var e=p.fn.tooltip;p.fn.tooltip=function(n){return this.each(function(){var e=p(this),t=e.data("bs.tooltip"),i="object"==typeof n&&n;!t&&/destroy|hide/.test(n)||(t||e.data("bs.tooltip",t=new l(this,i)),"string"==typeof n&&t[n]());});},p.fn.tooltip.Constructor=l,p.fn.tooltip.noConflict=function(){return p.fn.tooltip=e,this;};})(jQuery),((o)=>{function r(e,t){this.init("popover",e,t);}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.1",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS;},r.prototype.setContent=function(){var e,t=this.tip(),i=this.getTitle(),n=this.getContent();this.options.html?(e=typeof n,this.options.sanitize&&(i=this.sanitizeHtml(i),"string"==e)&&(n=this.sanitizeHtml(n)),t.find(".popover-title").html(i),t.find(".popover-content").children().detach().end()["string"==e?"html":"append"](n)):(t.find(".popover-title").text(i),t.find(".popover-content").children().detach().end().text(n)),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide();},r.prototype.hasContent=function(){return this.getTitle()||this.getContent();},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content);},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow");};var e=o.fn.popover;o.fn.popover=function(n){return this.each(function(){var e=o(this),t=e.data("bs.popover"),i="object"==typeof n&&n;!t&&/destroy|hide/.test(n)||(t||e.data("bs.popover",t=new r(this,i)),"string"==typeof n&&t[n]());});},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=e,this;};})(jQuery),((o)=>{function n(e,t){this.$body=o(document.body),this.$scrollElement=o(e).is(document.body)?o(window):o(e),this.options=o.extend({},n.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o.proxy(this.process,this)),this.refresh(),this.process();}function t(i){return this.each(function(){var e=o(this),t=e.data("bs.scrollspy");t||e.data("bs.scrollspy",t=new n(this,"object"==typeof i&&i)),"string"==typeof i&&t[i]();});}n.VERSION="3.4.1",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight);},n.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),o.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=o(this),e=e.data("target")||e.attr("href"),t=/^#./.test(e)&&o(e);return t&&t.length&&t.is(":visible")?[[t[i]().top+n,e]]:null;}).sort(function(e,t){return e[0]-t[0];}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1]);});},n.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=t)return s!=(e=r[r.length-1])&&this.activate(e);if(s&&t<o[0])return this.activeTarget=null,this.clear();for(e=o.length;e--;)s!=r[e]&&t>=o[e]&&(void 0===o[e+1]||t<o[e+1])&&this.activate(r[e]);},n.prototype.activate=function(e){this.activeTarget=e,this.clear();e=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',e=o(e).parents("li").addClass("active");(e=e.parent(".dropdown-menu").length?e.closest("li.dropdown").addClass("active"):e).trigger("activate.bs.scrollspy");},n.prototype.clear=function(){o(this.selector).parentsUntil(this.options.target,".active").removeClass("active");};var e=o.fn.scrollspy;o.fn.scrollspy=t,o.fn.scrollspy.Constructor=n,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=e,this;},o(window).on("load.bs.scrollspy.data-api",function(){o('[data-spy="scroll"]').each(function(){var e=o(this);t.call(e,e.data());});});})(jQuery),((s)=>{function a(e){this.element=s(e);}function t(i){return this.each(function(){var e=s(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new a(this)),"string"==typeof i&&t[i]();});}function e(e){e.preventDefault(),t.call(s(this),"show");}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var e,t,i,n=this.element,o=n.closest("ul:not(.dropdown-menu)"),r=(r=n.data("target"))||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"");n.parent("li").hasClass("active")||(e=o.find(".active:last a"),t=s.Event("hide.bs.tab",{relatedTarget:n[0]}),i=s.Event("show.bs.tab",{relatedTarget:e[0]}),e.trigger(t),n.trigger(i),i.isDefaultPrevented())||t.isDefaultPrevented()||(i=s(document).find(r),this.activate(n.closest("li"),o),this.activate(i,i.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:e[0]});}));},a.prototype.activate=function(e,t,i){var n=t.find("> .active"),o=i&&s.support.transition&&(n.length&&n.hasClass("fade")||!!t.find("> .fade").length);function r(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i();}n.length&&o?n.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),n.removeClass("in");};var i=s.fn.tab;s.fn.tab=t,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=i,this;},s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e);})(jQuery),((s)=>{function a(e,t){this.options=s.extend({},a.DEFAULTS,t),t=this.options.target===a.DEFAULTS.target?s(this.options.target):s(document).find(this.options.target),this.$target=t.on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition();}function i(i){return this.each(function(){var e=s(this),t=e.data("bs.affix");t||e.data("bs.affix",t=new a(this,"object"==typeof i&&i)),"string"==typeof i&&t[i]();});}a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(e,t,i,n){var o,r=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();return null!=i&&"top"==this.affixed?r<i&&"top":"bottom"==this.affixed?null!=i?!(r+this.unpin<=s.top)&&"bottom":!(r+a<=e-n)&&"bottom":(s=(o=null==this.affixed)?r:s.top,null!=i&&r<=i?"top":null!=n&&e-n<=s+(o?a:t)&&"bottom");},a.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(a.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e;},a.prototype.checkPositionWithEventLoop=function(){setTimeout(s.proxy(this.checkPosition,this),1);},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,i=t.top,n=t.bottom,o=Math.max(s(document).height(),s(document.body).height()),t=("object"!=typeof t&&(n=i=t),"function"==typeof i&&(i=t.to
14p(this.$element)),"function"==typeof n&&(n=t.bottom(this.$element)),this.getState(o,e,i,n));if(this.affixed!=t){null!=this.unpin&&this.$element.css("top","");var i="affix"+(t?"-"+t:""),r=s.Event(i+".bs.affix");if(this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=t,this.unpin="bottom"==t?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix");}"bottom"==t&&this.$element.offset({top:o-e-n});}};var e=s.fn.affix;s.fn.affix=i,s.fn.affix.Constructor=a,s.fn.affix.noConflict=function(){return s.fn.affix=e,this;},s(window).on("load",function(){s('[data-spy="affix"]').each(function(){var e=s(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),i.call(e,t);});});})(jQuery),((h)=>{var o={tagClass:function(e){return "badge badge-pill badge-info";},itemValue:function(e){return e&&e.toString();},itemText:function(e){return this.itemValue(e);},itemTitle:function(e){return null;},freeInput:!0,addOnBlur:!0,maxTags:void 0,maxChars:void 0,confirmKeys:[13,44],delimiter:",",delimiterRegex:null,cancelConfirmKeysOnEmpty:!0,onTagExists:function(e,t){t.hide().fadeIn();},trimValue:!1,allowDuplicates:!1};function s(e,t){this.itemsArray=[],this.$element=h(e),this.$element.hide(),this.isSelect="SELECT"===e.tagName,this.multiple=this.isSelect&&e.hasAttribute("multiple"),this.objectItems=t&&t.itemValue,this.placeholderText=e.hasAttribute("placeholder")?this.$element.attr("placeholder"):"",this.inputSize=Math.max(1,this.placeholderText.length),this.$container=h('<div class="bootstrap-tagsinput"></div>'),this.$input=h('<input type="text" placeholder="'+this.placeholderText+'" readonly />').appendTo(this.$container),this.$element.before(this.$container),this.build(t);}function r(e,t){var i;"function"!=typeof e[t]&&(i=e[t],e[t]=function(e){return e[i];});}function l(e,t){var i;"function"!=typeof e[t]&&(i=e[t],e[t]=function(){return i;});}s.prototype={constructor:s,add:function(e,t,i){var n=this;if(!(n.options.maxTags&&n.itemsArray.length>=n.options.maxTags)&&(!1===e||e)){if("object"==typeof (e="string"==typeof e&&n.options.trimValue?h.trim(e):e)&&!n.objectItems)throw "Can't add objects when itemValue option is not set";if(!e.toString().match(/^\s*$/)){if(n.isSelect&&!n.multiple&&0<n.itemsArray.length&&n.remove(n.itemsArray[0]),"string"==typeof e&&"INPUT"===this.$element[0].tagName){var o=n.options.delimiterRegex||n.options.delimiter,r=e.split(o);if(1<r.length){for(var s=0;s<r.length;s++)this.add(r[s],!0);return void (t||n.pushVal());}}var a,l=n.options.itemValue(e),o=n.options.itemText(e),c=n.options.tagClass(e),d=n.options.itemTitle(e),u=h.grep(n.itemsArray,function(e){return n.options.itemValue(e)===l;})[0];u&&!n.options.allowDuplicates?n.options.onTagExists&&(a=h(".tag",n.$container).filter(function(){return h(this).data("item")===u;}),n.options.onTagExists(e,a)):n.items().toString().length+e.length+1>n.options.maxInputLength||(a=h.Event("beforeItemAdd",{item:e,cancel:!1,options:i}),n.$element.trigger(a),a.cancel)||(n.itemsArray.push(e),(a=h('<span class="tag '+p(c)+(null!==d?'" title="'+d:"")+'">'+p(o)+'<span data-role="remove"></span></span>')).data("item",e),n.findInputWrapper().before(a),a.after(" "),n.isSelect&&!h('option[value="'+encodeURIComponent(l)+'"]',n.$element)[0]&&((c=h("<option selected>"+p(o)+"</option>")).data("item",e),c.attr("value",l),n.$element.append(c)),t||n.pushVal(),n.options.maxTags!==n.itemsArray.length&&n.items().toString().length!==n.options.maxInputLength||n.$container.addClass("bootstrap-tagsinput-max"),n.$element.trigger(h.Event("itemAdded",{item:e,options:i})));}}},remove:function(t,e,i){var n=this;if(t=n.objectItems?(t="object"==typeof t?h.grep(n.itemsArray,function(e){return n.options.itemValue(e)==n.options.itemValue(t);}):h.grep(n.itemsArray,function(e){return n.options.itemValue(e)==t;}))[t.length-1]:t){var o=h.Event("beforeItemRemove",{item:t,cancel:!1,options:i});if(n.$element.trigger(o),o.cancel)return;h(".tag",n.$container).filter(function(){return h(this).data("item")===t;}).remove(),h("option",n.$element).filter(function(){return h(this).data("item")===t;}).remove(),-1!==h.inArray(t,n.itemsArray)&&n.itemsArray.splice(h.inArray(t,n.itemsArray),1);}e||n.pushVal(),n.options.maxTags>n.itemsArray.length&&n.$container.removeClass("bootstrap-tagsinput-max"),n.$element.trigger(h.Event("itemRemoved",{item:t,options:i}));},removeAll:function(){var e=this;for(h(".tag",e.$container).remove(),h("option",e.$element).remove();0<e.itemsArray.length;)e.itemsArray.pop();e.pushVal();},refresh:function(){var r=this;h(".tag",r.$container).each(function(){var e=h(this),t=e.data("item"),i=r.options.itemValue(t),n=r.options.itemText(t),o=r.options.tagClass(t);e.attr("class",null),e.addClass("tag "+p(o)),e.contents().filter(function(){return 3==this.nodeType;})[0].nodeValue=p(n),r.isSelect&&h("option",r.$element).filter(function(){return h(this).data("item")===t;}).attr("value",i);});},items:function(){return this.itemsArray;},pushVal:function(){var t=this,e=h.map(t.items(),function(e){return t.options.itemValue(e).toString();});t.$element.val(e,!0).trigger("change");},build:function(e){var i,t,n,a=this;a.options=h.extend({},o,e),a.objectItems&&(a.options.freeInput=!1),r(a.options,"itemValue"),r(a.options,"itemText"),l(a.options,"tagClass"),a.options.typeahead&&(l(i=a.options.typeahead||{},"source"),a.$input.typeahead(h.extend({},i,{source:function(e,o){function t(e){for(var t=[],i=0;i<e.length;i++){var n=a.options.itemText(e[i]);r[n]=e[i],t.push(n);}o(t);}this.map={};var r=this.map,e=i.source(e);h.isFunction(e.success)?e.success(t):(h.isFunction(e.then)?e:h.when(e)).then(t);},updater:function(e){return a.add(this.map[e]),this.map[e];},matcher:function(e){return -1!==e.toLowerCase().indexOf(this.query.trim().toLowerCase());},sorter:function(e){return e.sort();},highlighter:function(e){var t=new RegExp("("+this.query+")","gi");return e.replace(t,"<strong>$1</strong>");}}))),a.options.typeaheadjs&&(e=null,n={},t=a.options.typeaheadjs,n=h.isArray(t)?(e=t[0],t[1]):t,a.$input.typeahead(e,n
14).on("typeahead:selected",h.proxy(function(e,t){n.valueKey?a.add(t[n.valueKey]):a.add(t),a.$input.typeahead("val","");},a))),a.$container.on("click",h.proxy(function(e){a.$element.attr("disabled")||a.$input.removeAttr("disabled"),a.$input.focus();},a)),a.options.addOnBlur&&a.options.freeInput&&a.$input.on("focusout",h.proxy(function(e){0===h(".typeahead, .twitter-typeahead",a.$container).length&&(a.add(a.$input.val()),a.$input.val(""));},a)),a.$container.on("keydown","input",h.proxy(function(e){var t=h(e.target),i=a.findInputWrapper();if(a.$element.attr("disabled"))a.$input.attr("disabled","disabled");else{switch(e.which){case 8:0===c(t[0])&&(n=i.prev()).length&&a.remove(n.data("item"));break;case 46:0===c(t[0])&&(n=i.next()).length&&a.remove(n.data("item"));break;case 37:var n=i.prev();0===t.val().length&&n[0]&&(n.before(i),t.focus());break;case 39:n=i.next();0===t.val().length&&n[0]&&(n.after(i),t.focus());}e=t.val().length;Math.ceil(e/5);t.attr("size",Math.max(this.inputSize,t.val().length));}},a)),a.$container.on("keypress","input",h.proxy(function(e){var t,i,o,r,n,s=h(e.target);a.$element.attr("disabled")?a.$input.attr("disabled","disabled"):(t=s.val(),i=a.options.maxChars&&t.length>=a.options.maxChars,a.options.freeInput&&(o=e,n=a.options.confirmKeys,r=!1,h.each(n,function(e,t){if("number"==typeof t&&o.which===t)return !(r=!0);if(o.which===t.which){var i=!t.hasOwnProperty("altKey")||o.altKey===t.altKey,n=!t.hasOwnProperty("shiftKey")||o.shiftKey===t.shiftKey,t=!t.hasOwnProperty("ctrlKey")||o.ctrlKey===t.ctrlKey;if(i&&n&&t)return !(r=!0);}}),r||i)&&(0!==t.length&&(a.add(i?t.substr(0,a.options.maxChars):t),s.val("")),!1===a.options.cancelConfirmKeysOnEmpty&&e.preventDefault()),n=s.val().length,Math.ceil(n/5),s.attr("size",Math.max(this.inputSize,s.val().length)));},a)),a.$container.on("click","[data-role=remove]",h.proxy(function(e){a.$element.attr("disabled")||a.remove(h(e.target).closest(".tag").data("item"));},a)),a.options.itemValue===o.itemValue&&("INPUT"===a.$element[0].tagName?a.add(a.$element.val()):h("option",a.$element).each(function(){a.add(h(this).attr("value"),!0);}));},destroy:function(){var e=this;e.$container.off("keypress","input"),e.$container.off("click","[role=remove]"),e.$container.remove(),e.$element.removeData("tagsinput"),e.$element.show();},focus:function(){this.$input.focus();},input:function(){return this.$input;},findInputWrapper:function(){for(var e=this.$input[0],t=this.$container[0];e&&e.parentNode!==t;)e=e.parentNode;return h(e);}},h.fn.tagsinput=function(i,n,o){var r=[];return this.each(function(){var e,t=h(this).data("tagsinput");t?i||n?void 0!==t[i]&&void 0!==(e=3===t[i].length&&void 0!==o?t[i](n,null,o):t[i](n))&&r.push(e):r.push(t):(t=new s(this,i),h(this).data("tagsinput",t),r.push(t),"SELECT"===this.tagName&&h("option",h(this)).attr("selected","selected"),h(this).val(h(this).val()));}),"string"!=typeof i||1<r.length?r:r[0];},h.fn.tagsinput.Constructor=s;var t=h("<div />");function p(e){return e?t.text(e).html():"";}function c(e){var t,i=0;return document.selection?(e.focus(),(t=document.selection.createRange()).moveStart("character",-e.value.length),i=t.text.length):!e.selectionStart&&"0"!=e.selectionStart||(i=e.selectionStart),i;}h(function(){h("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput();});})(window.jQuery),(()=>{function n(){function e(){var n={width:a.width/a.naturalWidth,height:a.height/a.naturalHeight},o={width:parseInt(window.getComputedStyle(a,null).getPropertyValue("padding-left"),10),height:parseInt(window.getComputedStyle(a,null).getPropertyValue("padding-top"),10)};s.forEach(function(e,t){var i=0;r[t].coords=e.split(",").map(function(e){var t=1==(i=1-i)?"width":"height";return o[t]+Math.floor(Number(e)*n[t]);}).join(",");});}function t(e){return document.querySelector('img[usemap="'+e+'"]');}var i=this,r=null,s=null,a=null,n=null;"function"!=typeof i._resize?(r=i.getElementsByTagName("area"),s=Array.prototype.map.call(r,function(e){return e.coords.replace(/ *, */g,",").replace(/ +/g,",");}),a=t("#"+i.name)||t(i.name),i._resize=e,a.addEventListener("load",e,!1),window.addEventListener("focus",e,!1),window.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(e,250);},!1),window.addEventListener("readystatechange",e,!1),document.addEventListener("fullscreenchange",e,!1),a.width===a.naturalWi
14dth&&a.height===a.naturalHeight||e()):i._resize();}function e(){function t(e){if(e){var t=e;if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("MAP"!==t.tagName.toUpperCase())throw new TypeError("Expected <MAP> tag, found <"+t.tagName+">.");n.call(e),i.push(e);}}var i;return function(e){switch(i=[],typeof e){case "undefined":case "string":Array.prototype.forEach.call(document.querySelectorAll(e||"map"),t);break;case "object":t(e);break;default:throw new TypeError("Unexpected data type ("+typeof e+").");}return i;};}"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e():window.imageMapResize=e(),"jQuery" in window&&(window.jQuery.fn.imageMapResize=function(){return this.filter("map").each(n).end();});})(),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(c){var n,r=window.Slick||{};n=0,(r=function(e,t){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(e),appendDots:c(e),arrows:!0,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:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('<button type="button" />').text(t+1);},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(e),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,e=c(e).data("slick")||{},i.options=c.extend({},i.defaults,t,e),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0);}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"});},r.prototype.addSlide=r.prototype.slickAdd=function(e,t,i){var n=this;if("boolean"==typeof t)i=t,t=null;
14else{if(t<0||t>=n.slideCount)return !1;}n.unload(),"number"==typeof t?0===t&&0===n.$slides.length?c(e).appendTo(n.$slideTrack):i?c(e).insertBefore(n.$slides.eq(t)):c(e).insertAfter(n.$slides.eq(t)):!0===i?c(e).prependTo(n.$slideTrack):c(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,t){c(t).attr("data-slick-index",e);}),n.$slidesCache=n.$slides,n.reinit();},r.prototype.animateHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.animate({height:e},t.options.speed));},r.prototype.animateSlide=function(e,t){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,t):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,t):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),c({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate("+e+"px, 0px)":i[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(i);},complete:function(){t&&t.call();}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate3d("+e+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(i),t&&setTimeout(function(){n.disableTransition(),t.call();},n.options.speed));},r.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e=e&&null!==e?c(e).not(this.$slider):e;},r.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=c(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0);});},r.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(i);},r.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed));},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer);},r.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0)&&(e.direction=1)),e.slideHandler(t));},r.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=c(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=c(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}));},r.prototype.buildDots=function(){var e,t,i=this;if(!0===i.options.dots){for(i.$slider.addClass("slick-dotted"),t=c("<ul />").addClass(i.options.dotsClass),e=0;e<=i.getDotCount();e+=1)t.append(c("<li />").append(i.options.customPaging.call(this,i,e)));i.$dots=t.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active");}},r.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,t){c(t).attr("data-slick-index",e).data("originalStyling",c(t).attr("style")||"");}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?c('<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),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),c("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable");},r.prototype.buildRows=function(){var e,t,i,n=this,o=document.createDocumentFragment(),r=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,t=Math.ceil(r.length/i),e=0;e<t;e++){for(var s=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var d=e*i+(a*n.options.slidesPerRow+c);r.get(d)&&l.appendChild(r.get(d));}s.appendChild(l);}o.appendChild(s);}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"});}},r.prototype.checkResponsive=function(e,t){var i,n,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||c(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[i]&&(n=r.breakpoints[i]):o>r.breakpoints[i]&&(n=r.breakpoints[i]));null!==n?null!==r.activeBreakpoint&&n===r.activeBreakpoint&&!t||(r.activeBreakpoint=n,"unsl
14ick"===r.breakpointSettings[n]?r.unslick(n):(r.options=c.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),s=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),s=n),e||!1===s||r.$slider.trigger("breakpoint",[r,s]);}},r.prototype.changeSlide=function(e,t){var i,n=this,o=c(e.currentTarget);switch(o.is("a")&&e.preventDefault(),o.is("li")||(o=o.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,e.data.message){case "previous":r=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-r,!1,t);break;case "next":r=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+r,!1,t);break;case "index":var r=0===e.data.index?0:e.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(r),!1,t),o.children().trigger("focus");break;default:return;}},r.prototype.checkNavigable=function(e){var t=this.getNavigableIndexes(),i=0;if(e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break;}i=t[n];}return e;},r.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(c("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",c.proxy(e.interrupt,e,!0)).off("mouseleave.slick",c.proxy(e.interrupt,e,!1)),!0===e.options.accessibility)&&e.$dots.off("keydown.slick",e.keyHandler),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility)&&(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.
14slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),c(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().off("click.slick",e.selectHandler),c(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),c(window).off("resize.slick.slick-"+e.instanceUid,e.resize),c("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),c(window).off("load.slick.slick-"+e.instanceUid,e.setPosition);},r.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",c.proxy(this.interrupt,this,!1));},r.prototype.cleanUpRows=function(){var e;1<this.options.rows&&((e=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(e));},r.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault());},r.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),c(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow))&&t.$prevArrow.remove(),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow))&&t.$nextArrow.remove(),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"));}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t]);},r.prototype.disableTransition=function(e){var t={};t[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(e)).css(t);},r.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call();},i.options.speed));},r.prototype.fadeSlideOut=function(e){!1===this.cssTransitions?this.$slides.eq(e).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(e),this.$slides.eq(e).css({opacity:0,zIndex:this.options.zIndex-2}));},r.prototype.filterSlides=r.prototype.slickFilter=function(e){null!==e&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(e).appendTo(this.$slideTrack),this.reinit());},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var t=c(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=t.is(":focus"),i.autoPlay());},0);});},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide;},r.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1;},r.prototype.getLeft=function(e){var t,i,n=this,o=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),o=t*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(o=e>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(e-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,o=(e+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(o=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),i=!1===n.options.vertical?e*n.slideWidth*-1+n.slideOffset:e*t*-1+o,!0===n.options.variableWidth&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,!0===n.options.centerMode)&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow+1),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,i+=(n.$list.width()-t.outerWidth())/2),i;},r.prototype.getOption=r.prototype.slickGetOption=function(e){return this.options[e];},r.prototype.getNavigableIndexes=function(){for(var e=this,t=0,i=0,n=[],o=!1===e.options.infinite?e.slideCount:(t=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,2*e.slideCount);t<o;)n.push(t),t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n;},r.prototype.getSlick=function(){return this;},r.prototype.getSlideCount=function(){var i,n=this,o=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return !0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-o+c(t).outerWidth()/2>-1*n.swipeLeft)return i=t,!1;}),Math.abs(c(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll;},r.prototype.goTo=r.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
14parseInt(e)}},t);},r.prototype.init=function(e){var t=this;c(t.$slider).hasClass("slick-initialized")||(c(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay());},r.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(e){return 0<=e&&e<i.slideCount;});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(e){var t=o.indexOf(e);c(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+e,tabindex:-1}),-1!==t&&c(this).attr({"aria-describedby":"slick-slide-control"+i.instanceUid+t});}),i.$dots.attr("role","tablist").find("li").each(function(e){var t=o[e];c(this).attr({role:"presentation"}),c(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+e,"aria-controls":"slick-slide"+i.instanceUid+t,"aria-label":e+1+" of "+n,"aria-selected":null,tabindex:"-1"});}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var e=i.currentSlide,t=e+i.options.slidesToShow;e<t;e++)i.$slides.eq(e).attr("tabindex",0);i.activateADA();},r.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility)&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler));},r.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(c("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility)&&e.$dots.on("keydown.slick",e.keyHandler),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&c("li",e.$dots).on("mouseenter.slick",c.proxy(e.interrupt,e,!0)).on("mouseleave.slick",c.proxy(e.interrupt,e,!1));},r.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",c.proxy(this.interrupt,this,!1)));},r.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"}
14,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),c(document).on(e.visibilityChange,c.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),c(window).on("orientationchange.slick.slick-"+e.instanceUid,c.proxy(e.orientationChange,e)),c(window).on("resize.slick.slick-"+e.instanceUid,c.proxy(e.resize,e)),c("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),c(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),c(e.setPosition);},r.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show();},r.prototype.keyHandler=function(e){e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}));},r.prototype.lazyLoad=function(){function e(e){c("img[data-lazy]",e).each(function(){var e=c(this),t=c(this).attr("data-lazy"),i=c(this).attr("data-srcset"),n=c(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0}
14,100,function(){i&&(e.attr("srcset",i),n)&&e.attr("sizes",n),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");}),r.$slider.trigger("lazyLoaded",[r,e,t]);});},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t]);},o.src=t;});}var t,i,n,r=this;if(!0===r.options.centerMode?n=!0===r.options.infinite?(i=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(i=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),r.options.slidesToShow/2+1+2+r.currentSlide):(i=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(i+r.options.slidesToShow),!0===r.options.fade&&(0<i&&i--,n<=r.slideCount)&&n++),t=r.$slider.find(".slick-slide").slice(i,n),"anticipated"===r.options.lazyLoad)for(var o=i-1,s=n,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)o<0&&(o=r.slideCount-1),t=(t=t.add(a.eq(o))).add(a.eq(s)),o--,s++;e(t),r.slideCount<=r.options.slidesToShow?e(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?e(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&e(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow));},r.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad();},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}});},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition();},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0;},r.prototype.play=r.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1;},r.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange)&&c(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus());},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}});},r.prototype.preventDefault=function(e){e.preventDefault();},r.prototype.progressiveLazyLoad=function(e){e=e||1;var t,i,n,o,r=this,s=c("img[data-lazy]",r.$slider);s.length?(t=s.first(),i=t.attr("data-lazy"),n=t.attr("data-srcset"),o=t.attr("data-sizes")||r.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){n&&(t.attr("srcset",n),o)&&t.attr("sizes",o),t.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,t,i]),r.progressiveLazyLoad();},s.onerror=function(){e<3?setTimeout(function(){r.progressiveLazyLoad(e+1);},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i]),r.progressiveLazyLoad());},s.src=i):r.$slider.trigger("allImagesLoaded",[r]);},r.prototype.refresh=function(e){var t=this,i=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>i&&(t.currentSlide=i),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),i=t.currentSlide,t.destroy(!0),c.extend(t,t.initials,{currentSlide:i}),t.init(),e||t.changeSlide({data:{message:"index",index:i}},!1);},r.prototype.registerBreakpoints=function(){var e,t,i,n=this,o=n.options.responsive||null;if("array"===c.type(o)&&o.length){for(e in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,o.hasOwnProperty(e)){for(t=o[e].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===t&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(t),n.breakpointSettings[t]=o[e].settings;}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e;});}},r.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),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(!1,!0),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e]);},r.prototype.resize=function(){var e=this;c(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=c(window).width(),e.checkResponsive(),e.unslicked||e.setPosition();},50));},r.prototype.removeSlide=r.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return !1;
14n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(e)).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();},r.prototype.setCSS=function(e){var t,i,n=this,o={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",o[n.positionProp]=e,!1!==n.transformsEnabled&&(!(o={})===n.cssTransitions?o[n.animType]="translate("+t+", "+i+")":o[n.animType]="translate3d("+t+", "+i+", 0px)"),n.$slideTrack.css(o);},r.prototype.setDimensions=function(){var e=this,t=(!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length))),e.$slides.first().outerWidth(!0)-e.$slides.first().width());!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t);},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(e,t){i=n.slideWidth*e*-1,!0===n.options.rtl?c(t).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}
14):c(t).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0});}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1});},r.prototype.setHeight=function(){var e;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(e=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",e));},r.prototype.setOption=r.prototype.slickSetOption=function(){var e,t,i,n,o,r=this,s=!1;if("object"===c.type(arguments[0])?(i=arguments[0],s=arguments[1],o="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],n=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[i]=n;else if("multiple"===o)c.each(i,function(e,t){r.options[e]=t;});else{if("responsive"===o)for(t in n)if("array"!==c.type(r.options.responsive))r.options.responsive=[n[t]];else{for(e=r.options.responsive.length-1;0<=e;)r.options.responsive[e].breakpoint===n[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(n[t]);}}s&&(r.unload(),r.reinit());},r.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this]);},r.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty)&&void 0===t.MozPerspective&&(e.animType=!1),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform)&&(e.animType=!1),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType;},r.prototype.setSlideClasses=function(e){var t,i,n,o=this,r=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode?(i=o.options.slidesToShow%2==0?1:0,n=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&((n<=e&&e<=o.slideCount-1-n?o.$slides.slice(e-n+i,e+n+1):(t=o.options.slidesToShow+e,r.slice(t-n+1+i,t+n+2))).addClass("slick-active").attr("aria-hidden","false"),0===e?r.eq(r.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&r.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")):(0<=e&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow):r.length<=o.options.slidesToShow?r:(i=o.slideCount%o.options.slidesToShow,t=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?r.slice(t-(o.options.slidesToShow-i),t+i):r.slice(t,t+o.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad();},r.prototype.setupInfinite=function(){var e,t,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(t=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;--e)c(n.$slides[t=e-1]).clone(!0).attr("id","").attr("data-slick-index",t-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<i+n.slideCount;e+=1)t=e,c(n.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","");});}},r.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e;},r.prototype.selectHandler=function(e){e=c(e.target).is(".slick-slide")?c(e.target):c(e.target).parents(".slick-slide"),e=(e=parseInt(e.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(e,!1,!0):this.slideHandler(e);},r.prototype.slideHandler=function(e,t,i){var n,o,r,s=this;t=t||!1,!0===s.animating&&!0===s.options.waitForAnimate||!0===s.options.fade&&s.currentSlide===e||(!1===t&&s.asNavFor(e),n=e,t=s.getLeft(n),r=s.getLeft(s.currentSlide),s.currentLeft=null===s.swipeLeft?r:s.swipeLeft,!1===s.options.infinite&&!1===s.options.centerMode&&(e<0||e>s.getDotCount()*s.options.slidesToScroll)||!1===s.options.infinite&&!0===s.options.centerMode&&(e<0||e>s.slideCount-s.options.slidesToScroll)?!1===s.options.fade&&(n=s.currentSlide,!0!==i?s.animateSlide(r,function(){s.postSlide(n);}):s.postSlide(n)):(s.options.autoplay&&clearInterval(s.autoPlayTimer),o=n<0?s.slideCount%s.options.slidesToScroll!=0?s.slideCount-s.slideCount%s.options.slidesToScroll:s.slideCount+n:n>=s.slideCount?s.slideCount%s.options.slidesToScroll!=0?0:n-s.slideCount:n,s.animating=!0,s.$slider.trigger("beforeChange",[s,s.currentSlide,o]),e=s.currentSlide,s.currentSlide=o,s.setSlideClasses(s.currentSlide),s.options.asNavFor&&(r=(r=s.getNavTarget()).slick("getSlick")).slideCount<=r.options.slidesToShow&&r.setSlideClasses(s.currentSlide),s.updateDots(),s.updateArrows(),!0===s.options.fade?(!0!==i?(s.fadeSlideOut(e),s.fade
14Slide(o,function(){s.postSlide(o);})):s.postSlide(o),s.animateHeight()):!0!==i?s.animateSlide(t,function(){s.postSlide(o);}):s.postSlide(o)));},r.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading");},r.prototype.swipeDirection=function(){var e=this.touchObject.startX-this.touchObject.curX,t=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(t,e);return (e=(e=Math.round(180*t/Math.PI))<0?360-Math.abs(e):e)<=45&&0<=e||e<=360&&315<=e?!1===this.options.rtl?"left":"right":135<=e&&e<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=e&&e<=135?"down":"up":"vertical";},r.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return !1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case "left":case "down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case "right":case "up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1;}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]));}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={});},r.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend" in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case "start":t.swipeStart(e);break;case "move":t.swipeMove(e);break;case "end":t.swipeEnd(e);}},r.prototype.swipeMove=function(e){var t,i,n=this,o=void 0!==e.originalEvent?e.originalEvent.touches:null;return !(!n.dragging||n.scrolling||o&&1!==o.length)&&(t=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,n.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<o?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=o),o=n.swipeDirection(),void 0!==e.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,e.preventDefault()),e=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(e=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=t+i*e:n.swipeLeft=t+i*(n.$list.height()/n.listWidth)*e,!0===n.options.verticalSwiping&&(n.swipeLeft=t+i*e),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))));},r.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return !(i.touchObject={});void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0;},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit());},r.prototype.unload=function(){var e=this;c(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),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","");}
14,r.prototype.unslick=function(e){this.$slider.trigger("unslick",[this,e]),this.destroy();},r.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")));},r.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"));},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1);},c.fn.slick=function(){for(var e,t=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,o=0;o<n;o++)if("object"==typeof t||void 0===t?this[o].slick=new r(this[o],t):e=this[o].slick[t].apply(this[o].slick,i),void 0!==e)return e;return this;};}),((v)=>{var e,t;v(document).ready(function(){v("map").imageMapResize(),v(".service-filter .views-infinite-scroll-content-wrapper")[0]&&(v("div.views-infinite-scroll-content-wrapper").addClass("row"),v(".service-filter .views-infinite-scroll-content-wrapper  .views-row")[0])&&v(".service-filter .views-infinite-scroll-content-wrapper  div.views-row").addClass("col-sm-6 col-md-4 mb--24 d-flex flex-wrap flex-column"),v('[data-toggle="popover"]').popover({trigger:"manual",placement:"top"}).on({mouseenter:function(){var e=v(this);e.popover("show"),v(".poi-map .popover .arrow").addClass("custom"),v(".poi-details .popover .arrow").addClass("custom"),v(".popover").on("mouseleave",function(){e.popover("hide");});},mouseleave:function(){var e=v(this);setTimeout(function(){v(".popover:hover").length||e.popover("hide");},350);}}),v(window).on("scroll",function(){v(".service-filter .views-infinite-scroll-content-wrapper")[0]&&(v("div.views-infinite-scroll-content-wrapper").addClass("row"),v(".service-filter .views-infinite-scroll-content-wrapper  .views-row")[0])&&v(".service-filter .views-infinite-scroll-content-wrapper  div.views-row").addClass("col-sm-6 col-md-4 mb--24 d-flex flex-wrap flex-column");});var e,t=v(".tab-content").find("ul.list-unstyled");for(d=0,e=t.length;d<e;d++)v(t[d]).attr("id","lightgallery"+d),v("#lightgallery"+d).lightGallery({autoplay:!1,share:!1,autoplayButton:!1});function i(){var t,e=v("[data-eq]").map(function(){return v(this).data("eq");}).get();t={},e.forEach(function(e){t[e+"::"+typeof e]=e;}),Object.keys(t).map(function(e){return t[e];});}function n(){v("[data-square]").css("min-height",""),v("[data-square]").each(function(e){v(this).css("min-height",v(this).outerWidth());});}function o(){var e=v(".header--simple");e.css("min-height",""),e.css("min-height",v(".header--simple__sticky").outerHeight()+"px");}v("a.img-viewer-link").on("click",function(e){var t=v(this).attr("target");return "_blank"==t?window.open(v(this).attr("href"),t):window.location.href=v(this).attr("href"),!1;}),v(window).on("load",function(){n(),i(),o();}),v(window).on("resize",_.debounce(function(){n(),i(),o();},200)),v(window).on("scroll",_.throttle(function(){var e=!1;1<=v(window).scrollTop()?(v(".header-simple__sticky").addClass("glue"),!1===e&&v(".header--simple").css("min-height",v(".header-simple__sticky").outerHeight()+"px")):(v(".header-simple__sticky").removeClass("glue"),v(".header-simple").css("min-height",""));},200)),v(".header-customiz > a, .header-burger__customize-btn").on("click",function(e){e.preventDefault(),v(".customize-menu").toggleClass("customize-menu--active");}
14),v(document).on("click",".social-modal-trigger",function(e){e.preventDefault(),v("#share-modal").modal("show");}),v(".print-btn").on("click",function(){window.print();}),v(".panel-title").on("click",function(){v(this).parents(".panel").toggleClass("open");}),v(".footer-heading_title").on("click",function(){v(this).parents(".footer-block").toggleClass("open");}),v(".icon-webform-submit").each(function(){var i=v("<button>");v.each(this.attributes,function(e,t){v(i).attr(t.name,t.value);});}),v(".icon-webform-submit").html(v(".icon-webform-submit").attr("value"));var r,s,a,l=v('[data-eq="map-column"]').height(),c=(v(".map").css("min-height",l+"px"),0),d=(v(".section.section--no-padding.section--no-overflow .cross-item").each(function(){c++,0!==v(this).find(".section--bg-continious-right").length||0!==v(this).find(".section--bg-continious-left").length?v(this).replaceWith('<div class="col-md-6 col-sm-12 col-xs-12 cross-item--bg"><div class="row"><div class="col-md-12 cross-item">'+v(this).html()+"</div></div></div>"):v(this).replaceWith('<div class="col-md-6 col-sm-12 col-xs-12 cross-item--no-bg"><div class="row"><div class="col-md-12 cross-item">'+v(this).html()+"</div></div></div>");}),0),u=(v(".section.section--no-padding.section--no-overflow .cross-item--bg").each(function(){0!==v(".cross-item--no-bg:nth-child("+ ++d+")").length&&v(this).insertAfter(v(".cross-item--no-bg:nth-child("+d+")"));}),0),h=(v(".section.section--no-padding.section--no-overflow .cross-item--bg").each(function(){u++;}),0),p=(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").each(function(){h++;}),1===u?(r=0,v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").each(function(){r+=v(this).height();}),1<h&&(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().find(".cross-item").insertAfter(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().find(".cross-item")),v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().remove()),v(".section.section--no-padding.section--no-overflow .cross-item--bg .section").css("min-height",r+"px"),v(".section.section--no-padding.section--no-overflow .cross-item--bg .section .card--inline-block--container").css("min-height",r-420+"px")):v(".section.section--no-padding.section--no-overflow .cross-item--bg .section .card--inline-block--container .card__image").css({width:"100%"}),2===c&&1<h?(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().outerHeight()>v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().outerHeight()?v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().outerHeight()+"px"):v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().outerHeight()+"px"),v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().find(".section").addClass("section--grey section--bg-continious-right section--bg-continious-left-bs no-eq-sm no-eq-xs")):2<c&&1<u&&(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().outerHeight()>v(".section.section--no-padding.section--no-overflow .cross-item--bg").first().outerHeight()?(v(".section.section--no-padding.section--no-overflow .cross-item--bg").first().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().outerHeight()+"px"),v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--bg").first().outerHeight()+"px")):(v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--bg").first().outerHeight()+"px"),v(".section.section--no-padding.section--no-overflow .cross-item--bg").first().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").first().outerHeight()+"px")),1<h)&&v(".section.section--no-padding.section--no-overflow .cross-item--bg").last().find(".section").css("min-height",v(".section.section--no-padding.section--no-overflow .cross-item--no-bg").last().outerHeight()+"px"),v(window).width(),v(window).scrollTop()),f=v(window).width(),g=v(".header-simple--mid").outerHeight(!0),m=v(".header-simple--top").outerHeight(!0);v(window).scroll(function(){1024<=f?"none"!==v(".ui-autocomplete").css("display")&&(v(".ui-autocomplete").css("z-index",1),p<20?v(".ui-autocomplete").css("top","361.55px"):v(".ui-autocomplete").css("top","254.55px")):"none"!==v(".ui-autocomplete").css("display")&&(v(".ui-autocomplete").css("z-index",1),v(".ui-autocomplete").css("top","309.55px"));}),s=1024<=f?((l=document.querySelector(".header-shrunk"))&&l.querySelectorAll("div:nth-child(3) > div > div").forEach(function(e){e.style.setProperty("padding","6px 10px","important");}),p<20?(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-mega-menu").css("height","77px"),v(".header-simple--mid").css("height","77px"),g=77),g+m):(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-simple--mid").css("height","77px"),v(".header-mega-menu").css("height","77px"),g=77),g)):g,v(".header-logo--wp .banner__component a").css("height",s),v("#hide-notif").on("click",function(){p<20&&(s-=v(".header-simple--notif").outerHeight(!0)),v(".header-logo--wp .banner__component a").css("height",s);}),v(window).on("scroll resize",function(e){clearTimeout(a),a=setTimeout(function(){f=v(window).width(),g=v(".header-simple--mid").outerHeight(!0),m=v(".header-simple--top").outerHeight(!0),s=1024<=f?p<20?(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-simple--mid").css("height","77px"),v(".header-mega-menu").css("height","77px"),g=109),g+m):(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-simple--mid").css("height","77px"),v(".header-mega-menu").css("height","77px"),g=77),g):(p<20?v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&v(".header-simple--mid").css("height","109px"):v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&v(".header-simple--mid").css("height","77px"),g),v(".header-logo--wp .banner__component a").css("height",s);},500);}),v(window).on("scroll",function(e){a&&clearTimeout(a),p=v(window).scrollTop(),s=1024<=f?p<20?(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-simple--mid").css("height","77px"),v(".header-mega-menu").css("height","77px"),g=77),g+m):(v(".header-simple--mid .header-nav .header-mega-menu").outerHeight()<=1&&(v(".header-simple--mid").css("height","77px"),v(".header-mega-menu").css("height","77px"),g=77),g):g,a=setTimeout(function(){v(".header-logo--wp .banner__component a").css("height",s);},250);}),v("#importProjectFileButton").on("click",function(e){e.stopPropagation(),v("#importProjectFile").trigger("click");}),v("#importProjectFile").on("change",function(e){v(this).val()&&v("#importProjectForm").submit();}),v("#importProjectForm").on("submit",function(e){e.preventDefault();v("#importProjectFile").val().replace(/C:\\fakepath\\/i,"");var t=v("#importProject").find(".progress-bar");v.ajax({xhr:function(){var e=new window.XMLHttpRequest();return e.upload.addEventListener("progress",function(e){e.lengthComputable&&(e=e.loaded/e.total*100,v(".import-progress").html(e+"%"),t.width(e+"%"),t.attr("aria-valuenow",""+e));},!1),e;},type:"POST",url:"uploads",data:new FormData(this),contentType:!1,cache:!1,processData:!1,beforeSend:function(){v("#importProjectFirst").addClass("d-none"),v("#importProjectProgress").removeClass("d-none"),v("#importProjectFileButton").addClass("d-none"),v("#cancelImportProject").removeClass("d-none"),t.width("0%"),t.attr("aria-valuenow","0");},success:function(e){v("#importProjectProgress").addClass("d-none"),v("#importProjectSuccess").removeClass("d-none"),v("#cancelImportProject").addClass("d-none"),v("#importProjectFileButton").addClass("d-none"),v("#seeProject").removeClass("d-none"),v("#importProjectSuccess .project-name").text("projectNameCsv");},error:function(e){console.log("error"+e),v("#importProjectProgress").addClass("d-none"),v("#importProjectError").removeClass("d-none"),v("#cancelImportProject").addClass("d-none"),v("#importProjectFileButton").removeClass("d-none");}});}),v(".section--newsletter #edit-actions-submit").each(function(){var i=v("<button>");v.each(this.attributes,function(e,t){v(i).attr(t.name,t.value);});}),v(".section--newsletter #edit-actions-submit").on("click",function(e){return e.preventDefault(),!1;}),v(window).scrollTop(0),v(".uploadProjectPopup").on("click",function(e){v(".popup-uploadProject").css("display","block"),v(".blackshadow").addClass("blackshadow-fade");}),v(".popup-uploadProject-closing-btn").on("click",function(e){v(".popup-uploadProject").css("display","none"),v(".blackshadow").removeClass("blackshadow-fade");}),v(".popup-uploadProject-btn-txt").on("click",function(e){v(".popup-uploadProject").css("display","none"),v(".blackshadow").removeClass("blackshadow-fade");}),v(".blackshadow").on("click",function(e){v(".popup-uploadProject").css("display","none"),v(".blackshadow").removeClass("blackshadow-fade");}),v(".popup-uploadProject-next").on("click",function(e){var t=v(".popup-uploadProject-card-active");let i=t.nextAll(".popup-uploadProject-card").first();0===i.length&&(i=v(".popup-uploadProject-card").first()),t.removeClass("popup-uploadProject-card-active"),i.addClass("popup-uploadProject-card-active"),v(".popup-uploadProject-previous").css("opacity",i.is(":first-child")?.5:1),v(".popup-uploadProject-next").
14css("opacity",i.is(":last-child")?.5:1);}),v(".popup-uploadProject-previous").on("click",function(e){var t=v(".popup-uploadProject-card-active");let i=t.prevAll(".popup-uploadProject-card").first();0===i.length&&(i=v(".popup-uploadProject-card").last()),t.removeClass("popup-uploadProject-card-active"),i.addClass("popup-uploadProject-card-active"),v(".popup-uploadProject-previous").css("opacity",i.is(":first-child")?.5:1),v(".popup-uploadProject-next").css("opacity",i.is(":last-child")?.5:1);}),v(document).ready(function(){v("#langBtn").click(function(e){e.stopPropagation(),v("#links-lang").toggle();}),v(document).click(function(e){v("#langBtn").is(e.target)||v("#links-lang").hide();});});}),v(".facet-active.block-facet--checkbox").each(function(){var e=v(this).children("div");0<e.length&&e.addClass("is-active");}),v(".header-mega-menu ul.header-top-links li.yCmsComponent ul.language-switcher-language-url").addClass("links").attr("id","links-lang--mobile"),(-1<(ua=navigator.userAgent).indexOf("MSIE ")||-1<ua.indexOf("Trident/"))&&(e=v("html").attr("lang"),v("input[type=date]"))&&("fr"===e?v("input[type=date]").attr("placeholder","jj/mm/aaaa"):v("input[type=date]").attr("placeholder","dd/mm/yyyy")),1<v("h1").length&&v(".hidden").remove(),v("#myselect li#firstoption").click(function(){v("#createProject").modal("show");}),v("#myselect li#secondoption").click(function(){v("#importProject").modal("show");}),v(document).on("click",'a[href*="#"]',function(e){var t=v(this).attr("href").split("#"),i=window.location.href.split("/"),n=v("header").outerHeight(!0)+200;i[i.length-1]===t[0]&&(v("html, body").animate({scrollTop:v("#"+t[1]).offset().top-n},1e3),e.preventDefault());}),v(window).on("load",function(e){var t=v("header").outerHeight(!0)+200,i=window.location.href;-1!==i.indexOf("#")&&(hrefPart=i.split("#"),v("html, body").animate({scrollTop:v("#"+hrefPart[1]).offset().top-t},1e3));}),v(document).height()<=v(window).height()&&v(".tabbar").css("display","block"),v(window).scroll(function(){var e=v(window).scrollTop()+v(window).height();e>v(document).height()&&v(".tabbar").css("display","block"),e==v(document).height()&&v(".tabbar").css("display","block"),0==v(window).scrollTop()&&v(".tabbar").css("display","none");}),v(window).width()<768&&(t=0,v(window).on("scroll",function(){var e=v(window).scrollTop()+v(window).height();(st=v(this).scrollTop())<t||e==v(document).height()?v(".tabbar").css("display","block"):v(".tabbar").css("display","none"),t=st;})),v(".block-collection--body img").hasClass("b-loaded b-lazy img-full is-b-loaded")||v(".block-collection--body img").addClass("b-loaded b-lazy img-full is-b-loaded"),v(".poi-map .input-search").on("keyup",function(e){v.trim(this.value)&&13==e.keyCode&&v(".block-filter").slideToggle();}),v(".poi-map .btn-filter").on("click",function(e){v(".filter-box").width();1023<v(window).width()?v(".filter-box").toggle("slide"):v(".filter-box").addClass("is-active");}),v(".poi-map .icon-close").on("click",function(e){1023<v(window).width()?v(".filter-box").hide():v(".filter-box").removeClass("is-active");}),1023<v(window).width()?v(".poi-map .filter-box").insertAfter(".over-map-lg"):v(".poi-map .filter-box ").insertAfter(".over--map-mobile");})(jQuery),((d,e,t)=>{e.behaviors.legrandheader={attach:function(c,e){d(t("b-root","body")).each(function(){d(".header-mega-menu-item.first-level"),d(".header-mega-menu-item.second-level");var e=d(".header-search-input"),e=(e.unbind("focusout"),e.unbind("focusin"),d("#closeBtn")),t=d("#langBtn",c),i=d("#langMobileBtn",c),n=d("#countryBtn"),o=d("#countryMobileBtn"),r=d("#continueBtn"),s=(d(window).width(),t.on("click",function(e){d("#links-lang",c).toggleClass("show"),d(this).parent().addClass("is--active");var t=d("ul#links-lang").children("li").length,i=Math.ceil(t/10),i=150*i+32*(i-1)+64;d("ul.links").css("width",i+"px"),10<=t&&(d(".header-simple--top ul#links-lang.show").css("height","358px"),d("ul#links-lang.show li").css("flex-basis","10%"));}),d(window).mouseup(function(e){d(".yCmsComponent").removeClass("is--active");}),n.on("click",function(e){d("#links-country").toggleClass("show"),d(this).parent().addClass("is--active");var t=d("ul#links-country").children("li").length,i=Math.ceil(t/10),i=150*i+32*(i-1)+64;d("ul.links").css("width",i+"px"),10<=t&&(d(".header-simple--top ul#links-country.show").css("height","358px"),d("ul#links-country.show li").css("flex-basis","10%"));}),i.on("click",function(e){d("#links-lang--mobile",c).slideToggle(),d(this).find(".fa-chevron-down").toggleClass("transform");}),o.on("click",function(e){d("#links-country--mobile").toggleClass("show"),d(".country-down-icon").addClass("transform");}),d(window).mouseup(function(e){d("#links-lang").hasClass("show")&&d("#links-lang").removeClass("show"),d("#links-country").hasClass("show")&&d("#links-country").removeClass("show"),d("#links-lang--mobile").hasClass("show")&&(d("#links-lang--mobile").removeClass("show"),d(".fa-chevron-down").removeClass("transform")),d("#links-country--mobile").hasClass("show")&&(d("#links-country--mobile").removeClass("show"),d(".fa-chevron-down").removeClass("transform"));}),e.on("click",function(e){d("#selectCountry").addClass("close-element"),d(window).scrollTop()+d(window).height()==d(document).height()&&d(".header-simple").addClass("header-shrunk");}),r.on("click",function(e){d("#selectCountry").addClass("close-element"),d(window).scrollTop()+d(window).height()==d(document).height()&&d(".header-simple").addClass("header-shrunk");}),d(".select-country-container.dropdown #moreCountries").data("text-original"));d(document).on("click",function(e){d(".select-country-container.dropdown #moreCountries").addClass("link--see-more"),d(".select-country-container.dropdown #moreCountries").removeClass("link--see-more-rotate"),d(".select-country-container.dropdown #moreCountries").hasClass("link--see-more-rotate")?d(".select-country-container.dropdown #moreCountries").html("See less countries"):d(".select-country-container.dropdown #moreCountries").html(s);}),d(".header-simple__trigger").on("click",function(e){var t;e.preventDefault(),e=d(".header-simple__navigation"),t=!e.hasClass("header-simple__navigation--active"),e.toggleClass("header-simple__navigation--active",t),d(".header-simple__trigger").toggleClass("header-simple__trigger--active",t),e=!d(".header-burger__dropdown").hasClass("header-burger__dropdown--active"),d(".header-burger__dropdown").toggleClass("header-burger__dropdown--active",e),d(".header-burger__trigger").toggleClass("header-burger__trigger--active",e),d("body").toggleClass("no-overflow",e),e||d(".header-burger__dropdown").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){d(".burger-has-children > a").next().addClass("burger-dropdown--hidden"),d(".burger-dropdown--move-out").removeClass("burger-dropdown--move-out");});});var a=0;function l(e){var t=d(".header-simple").outerHeight(!0),i=d(window).height();i<e.outerHeight(!0)+t&&e.css({"max-height":i-t,"overflow-y":"scroll"});}d("body").hasClass("toolbar-horizontal")&&(a=d("#toolbar-bar").height()+d(".toolbar-tray-horizontal.is-active").height()),d("#toolbar-item-administration").on("click",function(){a=d("#toolbar-bar").height(),d("#toolbar-item-administration-tray").hasClass("is-active")||(a+=d("#toolbar-item-administration-tray").height()),20<=scroll?d(".header-simple").css("top",a):d(".header-simple").attr("style","");}),d(window).on("resize",function(){var e=d(window).scrollTop();d("body").hasClass("toolbar-horizontal")&&(a=d("#toolbar-bar").height()+d(".toolbar-tray-horizontal.is-active").height()),20<=e?d(".header-simple").css("top",a):d(".header-simple").attr("style","");}),d(window).on("scroll",function(){var e=d(window).scrollTop();0<d(".cookie-alert--top").length&&"none"!=d(".cookie-alert--top").css("display")&&d(".cookie-alert--top").height();e+d(window).height()==d(document).height()&&(1024<=d(window).width()?d(window).height()<d(document).height()-d("header.header-simple").outerHeight()&&d(".header-simple").addClass("header-shrunk"):0===d("#selectCountry").length||0<d(".select-country.close-element").length||d("#selectCountry").is(":hidden")?d(".header-simple").addClass("header-shrunk"):d(".header-simple").removeClass("header-shrunk")),20<=e?1024<=d(window).width()?d(window).height()<d(document).height()-d("header.header-simple").outerHeight()&&(d("#selectCountry").addClass("hide"),d(".header-simple").addClass("header-shrunk"),d(".header-simple").css("top",a)):0===d("#selectCountry").length||0<d(".select-country.close-element").length||d("#selectCountry").is(":hidden")?(d(".header-simple").addClass("header-shrunk"),d(".header-simple").css("top",a)):(d(".header-simple").removeClass("header-shrunk"),d(".header-simple").attr("style","")):(1024<=d(window).width()&&d("#selectCountry").removeClass("hide"),d(".header-simple").removeClass("header-shrunk"),d(".header-simple").attr("style",""));}),d(document).off("mouseenter.legrandHeaderTracker",".header-mega-menu-item.first-level").on("mouseenter.legrandHeaderTracker",".header-mega-menu-item.first-level",function(){var e,t;d(window).width()<1024||(d(".header-mega-menu-item.first-level").not(".expanded").removeClass("active"),d(this).addClass("active"),e=d(".js-nav-tracker"),t=d(this).offset().left+d(this).width()/2-e.width()/2,2<d(this)[0].children.length&&e.css("left",t).addClass("active"),l(d(this).find(".header-mega-menu-desktop")));}),d(document).off("mouseleave.legrandHeaderTracker",".header-mega-menu-item.first-level").on("mouseleave.legrandHeaderTracker",".header-mega-menu-item.first-level",function(){d(window).width()<1024||d(this).hasClass("expanded")||(d(this).removeClass("active"),d(".header-mega-menu-desktop").attr("style",""),2<d(this)[0].children.length&&d(".js-nav-tracker").removeClass("active"));}),d(document).off("mouseenter.legrandHeaderSecondLevel",".header-mega-menu-item.second-level").on("mouseenter.legrandHeaderSecondLevel",".header-mega-menu-item.second-level",function(){var e=d(this).attr("data-target"),t=d(this).parents(".menu-item-list-wp").find(".header-menu-third-level-wp");d(this).siblings().add(t).removeClass("active"),d(this).parent().parent().find(e).addClass("active"),l(d(this).parents(".header-mega-menu-desktop"));}),d(document).off("mouseleave.legrandHeaderSecondLevel",".header-mega-menu-item.second-level").on("mouseleave.legrandHeaderSecondLevel",".header-mega-menu-item.second-level",function(e){d(e.relatedTarget).closest(".header-mega-menu-item.second-level").length||(e=d(this).data("target"),d(this).removeClass("active"),e&&d(this).closest(".header-mega-menu-desktop").find(e).removeClass("active"));}),d(document).off("focusin.legrandHeaderSearch",".header-search-input").on("focusin.legrandHeaderSearch",".header-search-input",function(){var e=d(".header-simple"),t=d("body");e.addClass("search-expanded"),t.addClass("body-search-expanded"),e.removeClass("expanded"),t.removeClass("header-expanded"),e.find(".hamburger").removeClass("is-active"),e.find(".header-search-box").addClass("is-active");}
14),d(document).off("click.legrandHeaderSearchClose",".input-close-icon").on("click.legrandHeaderSearchClose",".input-close-icon",function(){d(".header-search-box").removeClass("is-active");}),d(document).off("mouseenter.legrandHeaderDropdown",".header-dropdown").on("mouseenter.legrandHeaderDropdown",".header-dropdown",function(){var e,t;d(this).hasClass("open")||(e=d(this).find(".header-dropdown-menu"),d(this).hasClass("header-dropdown--right")&&d(this).removeClass("header-dropdown--right"),e.length&&(t=e.offset().left,(t=0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./)?e.offset().left+e.width()/3:t)>d(window).width())&&d(this).addClass("header-dropdown--right"),d(this).addClass("open"),d(this).data("navTracker")&&header.showNavTracker($dropdown));}),d(document).off("mouseleave.legrandHeaderDropdown",".header-dropdown").on("mouseleave.legrandHeaderDropdown",".header-dropdown",function(){d(this).length&&d(this).hasClass("open")&&(d(this).removeClass("open"),d(this).trigger("header.dropdown.closed")),d(".js-nav-tracker").removeClass("active");}),d(document).off("click.legrandHeaderHamburger",".js-hamburger-menu").on("click.legrandHeaderHamburger",".js-hamburger-menu",function(){var e=d(window).width(),t=d(".header-simple"),i=d("body"),n=d(".header-simple .header-simple--cookies"),o=d("#selectCountry");n.toggleClass("hide"),o.toggleClass("hide"),t.toggleClass("expanded"),t.find(".hamburger").toggleClass("is-active"),t.removeClass("search-expanded"),d("header-search-box").hide(),i.removeClass("body-search-expanded"),d(".panier").removeClass("active"),d(".header-search-box").removeClass("is-active"),d(this).find(".hamburger").hasClass("is-active")?e<1024&&(t.addClass("header-shrunk"),d(".header-logo--wp").addClass("shrunk"),i.addClass("overflow-hidden")):(t.removeClass("expanded"),i.removeClass("overflow-hidden"),d(".header-mega-menu-item").removeClass("expanded"),e<1024&&(t.removeClass("header-shrunk"),d(".header-logo--wp").removeClass("shrunk"),i.removeClass("overflow-hidden"),d(".header-mega-menu-items, .header-mega-menu").removeClass("overflow-hidden")));}),d(document).off("click.legrandHeaderMenu",".js-header-menu-sub-action, .js-sub-menu-back, .header-menu-parent.first-level > .header-single-menu-item").on("click.legrandHeaderMenu",".js-header-menu-sub-action, .js-sub-menu-back, .header-menu-parent.first-level > .header-single-menu-item",function(e){var t,i,e=d(e.target).closest("a[href]");e.length&&!e.closest(".js-sub-menu-back").length&&"#"!==e.attr("href")||(e=d(this).closest(".header-menu-parent"),t=d(window).width()<1024,e.hasClass("first-level")?(t&&d(this).parents(".header-mega-menu").animate({scrollTop:0}).toggleClass("overflow-hidden"),i=t&&!e.hasClass("expanded"),e.siblings(".header-menu-parent.first-level").removeClass("active expanded"),t?(e.toggleClass("active",i),e.toggleClass("expanded",i)):e.addClass("active").removeClass("expanded")):t&&(d(this).parents(".header-mega-menu-items").animate({scrollTop:0}).toggleClass("overflow-hidden"),e.toggleClass("expanded")));}),d(".js-header-menu-dropdown-action").each(function(){var e=d(this).closest(".header-menu-parent")[0],t=d(this).closest(".header-menu-parent").find("a").height();e.style.height=t+40+"px";}),d(document).off("click.legrandHeaderDropdown",".js-header-menu-dropdown-action").on("click.legrandHeaderDropdown",".js-header-menu-dropdown-action",function(){var e,t,i,n,o,r=d(this).closest(".header-menu-parent");!r.hasClass("expanded")?(n=r[0],d(".js-header-menu-dropdown-action").each(function(){var e=d(this).closest(".header-menu-parent")[0],t=d(this).closest(".header-menu-parent").find("a").height();e.style.height=t+40+"px";}),o=n.scrollHeight,n.style.height=o+"px",n.addEventListener("transitionend",function(e){n.removeEventListener("transitionend",arguments.callee),n.style.height=null;}),n.classList.add("expanded")):(e=r[0],t=e.scrollHeight,i=e.style.transition,e.style.transition="",requestAnimationFrame(function(){e.style.height=t+"px",e.style.transition=i,requestAnimationFrame(function(){d(".js-header-menu-dropdown-action").each(function(){var e=d(this).closest(".header-menu-parent")[0],t=d(this).closest(".header-menu-parent").find("a").height();e.style.height=t+40+"px";});});}),e.classList.remove("expanded"));}
14),d(document).off("click.legrandHeaderOverlay",".header-simple-overlay").on("click.legrandHeaderOverlay",".header-simple-overlay",function(){var e=d(".header-simple"),t=d("body");e.removeClass("expanded"),t.removeClass("header-expanded"),e.find(".hamburger").removeClass("is-active");}),d("#accept-cookies").click(function(){d(".header-simple .header-simple--cookies").toggleClass("show-cookies");}),d("#decline-cookies").click(function(){d(".header-simple .header-simple--cookies").toggleClass("show-cookies");}),d("#hide-notif").click(function(){d(".header-simple .header-simple--notif").toggleClass("hide-notif");}),d(document).off("click.legrandHeaderAccount",".yCmsComponent-account > a").on("click.legrandHeaderAccount",".yCmsComponent-account > a",function(e){e.preventDefault(),d(this).parent(".yCmsComponent-account").toggleClass("is-active"),d(this).next("ul").slideToggle();}),d(document).off("click.legrandHeaderDoc").on("click.legrandHeaderDoc",function(e){var e=d(e.target),t=d(".header-simple");!e.closest(".yCmsComponent-account").length&&d(".yCmsComponent-account").hasClass("is-active")&&(d(".yCmsComponent-account").removeClass("is-active"),d(".yCmsComponent-account ul").slideUp()),e.hasClass("js-site-search-input")||e.hasClass("icon-search")||e.hasClass("searchComponent")&&e.hasClass("is-active")&&(t.find(".header-search-box").removeClass("is-active"),t.removeClass("search-expanded"));}),d(document).off("click.legrandHeaderSearchOpen",".header-icon-search").on("click.legrandHeaderSearchOpen",".header-icon-search",function(){d(".header-search-box").addClass("is-active");});});}};})(jQuery,Drupal,once),((i)=>{i(document).ready(function(){function t(){var e=!i(".header-burger__dropdown").hasClass("header-burger__dropdown--active");i(".header-burger__dropdown").toggleClass("header-burger__dropdown--active",e),i(".header-burger__trigger").toggleClass("header-burger__trigger--active",e),i("body").toggleClass("no-overflow",e),e||i(".header-burger__dropdown").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){i(".burger-has-children ul").addClass("burger-dropdown--hidden"),i(".burger-dropdown--move-out").removeClass("burger-dropdown--move-out");});}i(".header-burger__trigger").on("click",function(e){e.preventDefault(),t();}),i(".header-burger__dropdown .header-burger__close").on("click",function(e){e.preventDefault(),t();}),i(".burger-has-children").children("a").on("click",function(e){e.preventDefault(),i(this).next("ul").removeClass("burger-dropdown--hidden").end().parent(".burger-has-children").parent("ul").addClass("burger-dropdown--move-out");}),i(".burger-back").on("click",function(){var e=i(this);i(this).parent("ul").parent(".burger-has-children").parent("ul");e.parent("ul").addClass("burger-dropdown--hidden").parent(".burger-has-children").parent("ul").removeClass("burger-dropdown--move-out");}),i(".burger-back--home").on("click",function(){i(".header-burger__content ul").addClass("burger-dropdown--hidden").removeClass("burger-dropdown--move-out"),i(".header-burger__content").removeClass("burger-dropdown--move-out");});});})(jQuery),((C)=>{var e,k=768,$=1024,T=1280,x=768,S=992,_=C(window).width();C('[data-toggle="tooltip"]').tooltip(),e={init:function(){this._slider(),this._accordion(),this._panier(),this._showBrand(),this._svg(),this._setMinHeightMainContent(),this._comparator(),this._loadCards(),this._loadRef();},_loadRef:function(){var e,t,i;C(".col-ref-story.d-none").length;function n(){_<k?i=3:(k<=_&&_<$?(i=6,C(".col-ref-story.d-sm-block")):(i=9,C(".col-ref-story.d-sm-block").removeClass("d-none"),C(".col-ref-story.d-md-block"))).removeClass("d-none");}n(),C(window).on("resize",function(){_=C(window).width(),n();}),C(".load-ref").on("click",function(){e=C(this).prev().find(".col-ref-story.d-none"),t=e.length,e.each(function(e,t){e<i&&C(t).removeClass("d-none");}),t<=i&&C(this).remove();});},_loadCards:function(){function e(e){var t,i="";C(e).on("click",function(){".load-card"==e&&(i=C(this).prev().find(".col-12.d-none")),".load-docs"==e&&(i=C(this).parent(".collapse").find(".doc-list.d-none")),t=i.length,i.each(function(e,t){e<4&&C(t).removeClass("d-none d-sm-block");}),t<=4&&C(this).remove();});}e(".load-card"),e(".load-docs");},_comparator:function(){C(".btn-comparator-footer").on("click",function(){C(".comparator-footer").toggleClass("is-shrink");}),C(".comparator-sticky-row .alert").on("closed.bs.alert",function(){var e=C(this).data("card-target");C(".comparator-sticky-thumbnail").find('[data-card-id="'+e+'"]').remove();});},_setMinHeightMainContent:function(){var e,t,i;C(".layout-content").length&&(e=C(".header-simple").outerHeight()||C("header").outerHeight(),C("#toolbar-administration").length&&(e+=C("#toolbar-bar").outerHeight(!0),975<_)&&(e+=C("#toolbar-item-administration-tray").outerHeight(!0)),t=C(".footer").outerHeight(!0)||C(".footer-container").outerHeight(!0),0<(i=C(window).height())-e-t)&&C(".layout-content").css("min-height",i-e-t);},_showFilterSearch:function(){C("#js-show-filter-result-page").on("click",function(){C(this).toggleClass("is-active"),C(".pagination-filter--box-search-page").slideToggle();});},_productSelectGamme:function(){function e(e,i,n){var o;C(e+' input[type="radio"]').each(function(e,t){o=(o=C(t).is(":checked")?C(this).attr("id"):o)||n,C(i).text(o);}),C(e+' input[type="radio"]').click(function(){C(this).is(":checked")&&(o=C(this).attr("id"),C(i).text(o));});}e("#color-product-group","#color-product","No color passed"),e("#gang-product-group","#gang-product","No gang passed");},_svg:function(){C("img.img-svg").each(function(){var t=jQuery(this),i=t.attr("id"),n=t.attr("class"),e=t.attr("src"),o=t.attr("width"),r=t.attr("height");C.get(e,function(e){e=jQuery(e).find("svg");void 0!==i&&(e=e.attr("id",i)),void 0!==n&&(e=e.attr("class",n+" replaced-svg")),void 0!==o&&(e=e.attr("width",o)),e=(e=void 0!==r?e.attr("height",r):e).removeAttr("xmlns:a"),t.replaceWith(e);},"xml");});},_showBrand:function(){C(".js-show-category").on("click",function(){C(this).toggleClass("is-active"),C(".js-show-category-list").slideToggle();}),C(".js-show-docs-pdp").on("click",function(){C(this).toggleClass("is-active"),C(".js-show-docs-docs-pdp-content").slideToggle();});},_panier:function(){C(".panier-btn").on("click",function(){C(".panier").toggleClass("active"),$<_?C("body").toggleClass("overflow-hidden"):C(".header-logo--wp").toggleClass("shrunk");}),C(document).click(function(e){!C(e.target).closest(".panier").length&&C(".panier").hasClass("active")&&(C(".panier").removeClass("active"),C("body").removeClass("overflow-hidden"));});},_chooseAction:function(){C(".choose-action--header").on("click",function(e){e.preventDefault(),e.stopPropagation(),C(this).parents(".choose-action").toggleClass("active");});},_navScroll:function(){var n,o;C(".nav-scroll .nav-link").length&&C(".nav-scroll .nav-link").first().addClass("active"),C(".nav-scroll").on("click",'.nav-link[href^="#"]',function(e){var t=C("header").outerHeight(!0);"#"!=C(this).attr("href")&&(e.preventDefault(),C("html, body").animate({scrollTop:C(C(this).attr("href")).offset().top-t},1e3));}),window.location.href.indexOf("resultat-recherche")<0&&localStorage.removeItem("navProductTabSearchId"),C(".nav-scrollable-mobile").length&&(n=C(".nav-scrollable-mobile").offset().top,o=C(".nav-scrollable-viewport").offset().top,C("#js-show-filter-result-page").on("click",function(){C(".nav-scrollable-mobile").removeClass("is-scroll"),setTimeout(function(){n=C(".nav-scrollable-mobile").offset().top,o=C(".nav-scrollable-viewport").offset().top;},500);}),C(window).on("load scroll",function(){n=C(".nav-scrollable-mobile").offset().top;var e=C(".nav-scrollable-mobile").height(),t=(o=C(".nav-scrollable-viewport").offset().top,C(".nav-scrollable-viewport").outerHeight(!0)),i=C(window).height(),i=C(window).scrollTop()+i;n<i&&i+e<o+t?C(".nav-scrollable-mobile").addClass("is-scroll"):C(".nav-scrollable-mobile").removeClass("is-scroll");}));},_clickByHash:function(){C(document).on("click",'a[href^="#"]',function(e){e.preventDefault();e=C("header").outerHeight(!0);"#"!=C(this).attr("href")&&C("html, body").animate({scrollTop:C(C(this).attr("href")).offset().top-1.3*e},1e3),C(this).hasClass("nav-link")&&(C(".nav-scroll .nav-link").removeClass("active"),C(this).addClass("active"));});},_productGridSwitcher:function(){var e="col-sm-6 col-md-4 col-12 mb-3",t="col-12",i=C(".js-layout-switcher");C(".js-convert").on("click",function(){if(C(".js-convert").removeClass("active"),C(this).addClass("active"),!C(this).hasClass("js-to-grid"))return C(this).hasClass("js-to-list")?(C(".js-to-list").addClass("active"),i.removeClass("equal-cols"),i.find(".col-12").removeClass(e).addClass(t),i.find(".card-custom").removeClass("card-row").addClass("card-list"),!1):void 0;C(".js-to-grid").addClass("active"),i.addClass("equal-cols"),i.find(".col-12").removeClass(t).addClass(e),i.find(".card-custom").removeClass("card-list").addClass("card-row");}),i.length&&C(window).on("laod resize",function(){if((_=C(window).width())<k)return i.find(".col-12").removeClass(t).addClass(e),i.find(".card-custom").removeClass("card-list").addClass("card-row"),C(".js-convert").removeClass("active"),C(".js-to-grid").addClass("active"),!1;}),C('select[id*="edit-items-per-page"]').on("change",function(){C('input[id*="edit-submit-category-products-list"]').trigger("click");});},_accordion:function(){C(".accordion .accordion__heading").on("click",function(){C(this).next(".accordion__body").slideToggle(),C(this).parent(".accordion__item").toggleClass("is-active");}),C(".footer__nav button.f-heading-accordion.has-child").click(function(){return C(this).parent(".f-heading").parent(".f-block").toggleClass(" active "),C(".footer__nav button.f-heading-accordion").not(this).parent(".f-heading").parent(".f-block").removeClass(" active "),C(".footer__nav .f-links").stop().slideUp(),C(".footer__nav .f-block.active .f-links").stop().slideDown(),!1;});},_footerLinks:function(){C(".footer-nav-heading").on("click",function(e){var t=C(this);t.parents(".footer-nav-link").toggleClass("is-opened"),t.next(".footer-links").slideToggle();});},_slider:function(){_=C(window).width();var e=C(".four-items"),o="col-sm-6 col-md-4 col-lg-3 col-12 mb-3",t=e.length;function r(e){e=_<$&&k<=_&&2<e||_<T&&$<=_&&3<e||T<_&&4<e;return e;}function s(e){return _<k&&1<e||_<$&&k<=_&&2<e||$<=_&&3<e;}t&&e.each(function(e,t){var i,n=C(t).children().length;C(t).slick({infinite:!1,arrows:!0,adaptiveHeight:!0,dots:!0,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:T,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:$,settings:{slidesToShow:2,slidesToScroll:2}}]}),r(n)?(C(t).slick("init"),C(t).removeClass("row"),C(t).find(".col-sm-6").removeClass(o)):(C(t).slick("unslick"),C(t).addClass("row"),C(t).children().addClass(o),C(t).find(".card-row").attr("style","")),C(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){_=C(window).width(),r(n),r(n)?(C(t).slick("init"),C(t).removeClass("row"),C(t).find(".col-sm-6").removeClass(o)):(C(t).slick("unslick"),C(t).addClass("row"),C(t).children().addClass(o),C(t).find(".card-row").attr("style",""));},500);});});var i,n,a,l=C(".slider-succes-story"),c={infinite:!1,infinite:!1,arrows:!0,dots:!1,slidesToShow:3,slidesToScroll:3,autoplay:!0,autoplaySpeed:2e3,responsive:[{breakpoint:$,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:k,settings:{slidesToShow:1,slidesToScroll:1,dots:!0}}]},c=(l.length&&(i="col-12 col-sm-6 col-md-4",n=l.children().length,l.slick(c),s(n)?(l.slick("init"),l.removeClass("row"),l.find(".col-sm-6").removeClass(i)):(l.slick("unslick"),l.addClass("row"),l.children().addClass(i),l.find(".col-sm-6").attr("style","")),C(window).on("resize",function(e){clearTimeout(a),a=setTimeout(function(){_=C(window).width(),s(n)?(l.slick("init"),l.removeClass("row"),l.find(".col-sm-6").removeClass(i)):(l.slick("unslick"),l.addClass("row"),l.children().addClass(i),l.find(".col-sm-6").attr("style",""));},500);})),{infinite:!1,arrows:!0,dots:!0,slidesToShow:3,slidesToScroll:3,autoplay:!0,autoplaySpeed:2e3,responsive:[{breakpoint:$,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:k,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1}
14}]});C(".slider-articles").each(function(){var t,i,n,o;t=C(this),n="col-12 col-sm-6 col-md-4",o=t.children().length,t.slick(c),s(o)?(t.slick("init"),t.removeClass("row"),t.find(".col-sm-6").removeClass(n)):(t.slick("unslick"),t.addClass("row"),t.children().addClass(n),t.find(".col-sm-6").attr("style","")),C(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){_=C(window).width(),s(o)?(t.slick("init"),t.removeClass("row"),t.find(".col-sm-6").removeClass(n)):(t.slick("unslick"),t.addClass("row"),t.children().addClass(n),t.find(".col-sm-6").attr("style",""));},500);});});var d,t=C(".slider-space-push"),u=(t.length&&(d="col-12 col-sm-6 col-md-4",t.each(function(e,t){var i,n=C(t).children().length;C(t).slick({infinite:!1,infinite:!1,arrows:!0,dots:!0,slidesToShow:3,slidesToScroll:3,autoplay:!0,autoplaySpeed:2e3,responsive:[{breakpoint:S,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:x,settings:{slidesToShow:1,slidesToScroll:1}}]}),s(n)?(C(t).slick("init"),C(t).removeClass("row"),C(t).find(".col-sm-6").removeClass(d)):(C(t).slick("unslick"),C(t).addClass("row"),C(t).children().addClass(d),C(t).find(".col-sm-6").attr("style","")),C(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){_=C(window).width(),s(n)?(C(t).slick("init"),C(t).removeClass("row"),C(t).find(".col-sm-6").removeClass(d)):(C(t).slick("unslick"),C(t).addClass("row"),C(t).children().addClass(d),C(t).find(".col-sm-6").attr("style",""));},500);});})),C(".slider-recruitement-step")),e=u.children().length;{function h(e,t){var i=(u.innerWidth()-u.width())/2,n=e.find(".b-recruitement-step--body").position().top+5,i=e.find(".b-recruitement-step--text").position().left+i-10,e=e.find(".b-recruitement-step--body").height();t.css({left:i,top:n+e});}1<e&&(u.slick({infinite:!1,infinite:!1,arrows:!0,dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:2e3}).on("afterChange",function(e,t,i,n){i=C(t.$slides[i]),t=C(t.$dots[0]);h(i,t);}),p=C(".slick-slide.slick-current"),f=u.find(".slick-dots"),h(p,f),C(window).on("resize",function(e){clearTimeout(void 0),v=setTimeout(function(){h(p,f);},500);}));}var p,f,t=C(".slider-testimonial-step"),e=t.children().length;{function h(e,t){var i=e.find(".b-testimonial-step--body").position().top+5,e=e.find(".b-testimonial-step--body").height();t.css({top:i+e});}1<e&&(t.slick({infinite:!1,arrows:!0,dots:!0,slidesToShow:2,slidesToScroll:2,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0}},{breakpoint:560,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]}).on("afterChange",function(e,t,i,n){i=C(t.$slides[i]),t=C(t.$dots[0]);h(i,t);}),p=C(".slick-slide.slick-current"),f=t.find(".slick-dots"),h(p,f),C(window).on("resize",function(e){clearTimeout(void 0),v=setTimeout(function(){h(p,f);},500);}));}var g,m,v,y=C(".slider-latest-jobs");function w(e){var t,i="";C(e).on("click",function(){".load-card"==e&&(i=C(this).prev().find(".col-12.d-none")),".load-docs"==e&&(i=C(this).parent(".collapse").find(".doc-list.d-none")),t=i.length,i.each(function(e,t){e<4&&C(t).removeClass("d-none d-sm-block");}),t<=4&&C(this).remove();});}y.length&&(g="col-12 col-sm-6 col-md-4",m=y.children().length,y.slick({infinite:!1,infinite:!1,arrows:!0,dots:!0,slidesToShow:3,slidesToScroll:3,autoplay:!0,autoplaySpeed:2e3,responsive:[{breakpoint:$,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:k,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]}),s(m)?(y.slick("init"),y.removeClass("row"),y.find(".col-sm-6").removeClass(g)):(y.slick("unslick"),y.addClass("row"),y.children().addClass(g),y.find(".col-sm-6").attr("style","")),C(window).on("resize",function(e){clearTimeout(v),v=setTimeout(function(){_=C(window).width(),s(m)?(y.slick("init"),y.removeClass("row"),y.find(".col-sm-6").removeClass(g)):(y.slick("unslick"),y.addClass("row"),y.children().addClass(g),y.find(".col-sm-6").attr("style",""));},500);})),w(".load-card"),w(".load-docs");e=C(".slider-mobile"),t=e.length;function b(e){return _<k&&2<e||_<$&&k<=_&&4<e||T<_&&6<e;}t&&e.each(function(e,t){var i,n=C(t).children().length;C(t).slick({infinite:!1,arrows:!1,adaptiveHeight:!0,dots:!0,slidesToShow:6,slidesToScroll:1,responsive:[{breakpoint:$,settings:{slidesToShow:4}},{breakpoint:k,settings:{slidesToShow:3}}]}),b(n)?C(t).slick("init"):C(t).slick("unslick"),C(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){_=C(window).width(),b(n),b(n)?C(t).slick("init"):C(t).slick("unslick");},500);});});}},C(document).ready(function(){e.init();});})(jQuery),((d)=>{var u=768,h=1024,p=1280,f=d(window).width();({init:function(){this._counter();},_counter:function(){var t,i,e=d(".counter-section"),n=d(window).height();e.length&&(t=!1,i=e.offset().top-n,d(window).on("load scroll",function(){var e=d(document).scrollTop();i<e&&!1===t&&(t=!0,d(".counter").each(function(){var e=d(this);jQuery({Counter:0}).animate({Counter:e.text()},{duration:2e3,easing:"swing",step:function(){e.text(Math.ceil(this.Counter));}});}));}));},_learnMore:function(){var t,e;f<u&&(t=Drupal.t("Lire la suite"),e=Drupal.t("moins"),d(".more p").each(function(){var e=d(this).html();100<e.length&&(e=e.substr(0,100)+'<span class="moreellipses">...&nbsp;</span><span class="morecontent"><span>'+e.substr(99,e.length-100)+'</span>&nbsp;&nbsp;<a href="" class="morelink">'+t+"</a></span>",d(this).html(e));}),d(".page-filter .more:not(.poi-desc)").each(function(){var e=d(this).html();100<e.length&&(e=e.substr(0,100)+'<span class="moreellipses">...&nbsp;</span><span class="morecontent"><span>'+e.substr(99,e.length-100)+'</span>&nbsp;&nbsp;<a href="" class="morelink">'+t+"</a></span>",d(this).html(e));}),d(".morelink").click(function(){return d(this).hasClass("less")?(d(this).removeClass("less"),d(this).html(t)):(d(this).addClass("less"),d(this).html(e)),d(this).parent().prev().toggle(),d(this).prev().toggle(),!1;}));},_sideBarFixed:function(){var e,t=d(".header-simple--top").outerHeight()+d(".header-simple--mid").outerHeight(),i=(d(".header-simple--cookies.show-cookies").length&&(t+=d(".header-simple--cookies.show-cookies").outerHeight()),d(".header-simple--notif").length&&(t+=d(".header-simple--notif").outerHeight()),d("#toolbar-administration").length&&(t+=39),d("#toolbar-item-administration-tray").hasClass("is-active")&&975<f&&(t+=39),d(".sidebar-bar-pdp"));i.length&&(e={containerSelector:"#DESCRIPTION",additionalMarginTop:t,sidebarBehavior:"stick-to-top",disableOnResponsiveLayouts:!0,minWidth:0},i.theiaStickySidebar(e),d(window).on("resize",function(){e.minWidth=d(".sidebar-bar-pdp").width(),i.theiaStickySidebar(e);}));},_setMinHeightMainContent:function(){var e=d(".header-simple").outerHeight(),t=d(".footer").outerHeight(),i=d(window).height();0<i-e-t&&d(".layout-content").css("min-height",i-e-t);},_showFilterSearch:function(){d("#js-show-filter-result-page").on("click",function(){d(this).toggleClass("is-active"),d(".pagination-filter--box").slideToggle(),d(".pagination-toolbar").slideToggle();});},_productSelectGamme:function(){function e(e,i,n){var o;d(e+' input[type="radio"]').each(function(e,t){o=(o=d(t).is(":checked")?d(this).attr("id"):o)||n,d(i).text(o);}),d(e+' input[type="radio"]').click(function(){d(this).is(":checked")&&(o=d(this).attr("id"),d(i).text(o));});}e("#color-product-group","#color-product","No color passed"),e("#gang-product-group","#gang-product","No gang passed");},_svg:function(){d("img.img-svg").each(function(){var t=jQuery(this),i=t.attr("id"),n=t.attr("class"),e=t.attr("src"),o=t.attr("width"),r=t.attr("height");d.get(e,function(e){e=jQuery(e).find("svg");void 0!==i&&(e=e.attr("id",i)),void 0!==n&&(e=e.attr("class",n+" replaced-svg")),void 0!==o&&(e=e.attr("width",o)),e=(e=void 0!==r?e.attr("height",r):e).removeAttr("xmlns:a"),t.replaceWith(e);},"xml");});},_showBrands:function(){d(".js-show-brand").on("click",function(){d(this).toggleClass("is-active"),d(".js-show-brand-list").slideToggle();});},_panier:function(){d(".panier-btn").on("click",function(){d(".panier").toggleClass("active"),h<f?d("body").toggleClass("overflow-hidden"):d(".header-logo--wp").toggleClass("shrunk");});},_chooseAction:function(){d(".choose-action--header").on("click",function(e){e.preventDefault(),e.stopPropagation(),d(this).parents(".choose-action").toggleClass("active");});},_navScroll:function(){var n,o;d(".nav-scroll .nav-link").length&&d(".nav-scroll .nav-link").first().addClass("active"),d(".nav-scroll").on("click",'.nav-link[href^="#"]',function(e){var t=d("header").outerHeight(!0);"#"!=d(this).attr("href")&&(e.preventDefault(),d("html, body").animate({scrollTop:d(d(this).attr("href")).offset().top-t},1e3));}),window.location.href.indexOf("resultat-recherche")<0&&localStorage.removeItem("navProductTabSearchId"),d(".nav-scrollable-mobile").length&&(n=d(".nav-scrollable-mobile").offset().top,o=d(".nav-scrollable-viewport").offset().top,d("#js-show-filter-result-page").on("click",function(){d(".nav-scrollable-mobile").removeClass("is-scroll"),setTimeout(function(){n=d(".nav-scrollable-mobile").offset().top,o=d(".nav-scrollable-viewport").offset().top;},500);}),d(window).on("load scroll",function(){n=d(".nav-scrollable-mobile").offset().top;var e=d(".nav-scrollable-mobile").height(),t=(o=d(".nav-scrollable-viewport").offset().top,d(".nav-scrollable-viewport").outerHeight(!0)),i=d(window).height(),i=d(window).scrollTop()+i;n<i&&i+e<o+t?d(".nav-scrollable-mobile").addClass("is-scroll"):d(".nav-scrollable-mobile").removeClass("is-scroll");}));},_clickByHash:function(){d(document).on("click",'a[href^="#"]',function(e){e.preventDefault();e=d("header").outerHeight(!0);"#"!=d(this).attr("href")&&d("html, body").animate({scrollTop:d(d(this).attr("href")).offset().top-1.3*e},1e3),d(this).hasClass("nav-link")&&(d(".nav-scroll .nav-link").removeClass("active"),d(this).addClass("active"));});},_productGridSwitcher:function(){var e="col-sm-6 col-md-4 col-12 mb-3",t="col-12",i=d(".js-layout-switcher");d(".js-convert").on("click",function(){if(d(".js-convert").removeClass("active"),d(this).addClass("active"),!d(this).hasClass("js-to-grid"))return d(this).hasClass("js-to-list")?(d(".js-to-list").addClass("active"),i.removeClass("equal-cols"),i.find(".col-12").removeClass(e).addClass(t),i.find(".card-custom").removeClass("card-row").addClass("card-list"),!1):void 0;d(".js-to-grid").addClass("active"),i.addClass("equal-cols"),i.find(".col-12").removeClass(t).addClass(e),i.find(".card-custom").removeClass("card-list").addClass("card-row");}),i.length&&d(window).on("laod resize",function(){if((f=d(window).width())<u)return i.find(".col-12").removeClass(t).addClass(e),i.find(".card-custom").removeClass("card-list").addClass("card-row"),d(".js-convert").removeClass("active"),d(".js-to-grid").addClass("active"),!1;}),d('select[id*="edit-items-per-page"]').on("change",function(){d('input[id*="edit-submit-category-products-list"]').trigger("click");});},_accordion:function(){d(".accordion .accordion__heading").on("click",function(){d(this).next(".accordion__body").slideToggle(),d(this).parents(".accordion__item").toggleClass("is-active");}),d(".footer__nav button.f-heading-accordion").click(function(){return d(this).parent(".f-heading").parent(".f-block").toggleClass(" active "),d(".footer__nav button.f-heading-accordion").not(this).parent(".f-heading").parent(".f-block").removeClass(" active "),d(".footer__nav .f-links").stop().slideUp(),d(".footer__nav .f-block.active .f-links").stop().slideDown(),!1;});},_footerLinks:function(){d(".footer-nav-heading").on("click",function(e){var t=d(this);t.parents(".footer-nav-link").toggleClass("is-opened"),t.next(".footer-links").slideToggle();});},_slider:function(){f=d(window).width();var e=d(".four-items"),o="col-sm-6 col-md-4 col-lg-3 col-12 mb-3",t=e.length;function r(e){return f<h&&u<=f&&2<e||f<p&&h<=f&&3<e||p<f&&4<e;}var i,n=d(".comparator-products"),s=n.children().length;function a(e){var t,i="";d(e).on("click",function(){".load-card"==e&&(i=d(this).prev().find(".col-12.d-none")),".load-docs"==e&&(i=d(this).parent(".collapse").find(".doc-list.d-none")),t=i.length,i.each(function(e,t){e<4&&d(t).removeClass("d-none d-sm-block");}),t<=4&&d(this).remove();});}n.slick({infinite:!1,arrows:!0,adaptiveHeight:!0,dots:!0,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:p,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:h,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:u,settings:{slidesToShow:1,slidesToScroll:1}}]}),r(s)?(n.slick("init"),n.removeClass("row"),n.find(".alert").removeClass("col")):(n.slick("unslick"),n.addClass("row"),n.children().addClass("col"),n.find(".card-row").attr("style","")),d(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){f=d(window).width(),r(s),r(s)?(n.slick("init"),n.removeClass("row"),n.find(".alert").removeClass("col")):(n.slick("unslick"),n.addClass("row"),n.children().addClass("col"),n.find(".card-row").attr("style",""));},500);}),d(".description-comparator").slick({infinite:!1,arrows:!0,adaptiveHeight:!0,dots:!0,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:p,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:h,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:u,settings:{slidesToShow:1,slidesToScroll:1}}]}),t&&e.each(function(e,t){var i,n=d(t).children().length;d(t).slick({infinite:!1,arrows:!0,adaptiveHeight:!0,dots:!0,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:p,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:h,settings:{slidesToShow:2,slidesToScroll:2}}]}),r(n)?(d(t).slick("init"),d(t).removeClass("row"),d(t).find(".col-sm-6").removeClass(o)):(d(t).slick("unslick"),d(t).addClass("row"),d(t).children().addClass(o),d(t).find(".card-row").attr("style","")),d(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){f=d(window).width(),r(n),r(n)?(d(t).slick("init"),d(t).removeClass("row"),d(t).find(".col-sm-6").removeClass(o)):(d(t).slick("unslick"),d(t).addClass("row"),d(t).children().addClass(o),d(t).find(".card-row").attr("style",""));},500);});}),a(".load-card"),a(".load-docs");var t=d(".slider-for"),l=(t.length&&(e=t.children().length,l={slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!1,fade:!0,asNavFor:".slider-nav",responsive:[{breakpoint:u,settings:{dots:1<e}}]},t.slick(l),t.slickLightbox({itemSelector:"a.link-zoom"}),1===e)&&t.removeClass("mb-6").addClass("mb-4"),d(".slider-nav")),e=(1<l.children().length?l.slick({slidesToShow:6,slidesToScroll:1,infinite:!1,arrows:!0,dots:!1,focusOnSelect:!0,asNavFor:".slider-for",responsive:[{breakpoint:p,settings:{slidesToShow:4}},{breakpoint:h,settings:{slidesToShow:3}},{breakpoint:u,settings:{slidesToShow:2}}]}):l.remove(),d(".slider-mobile")),t=e.length;function c(e){return f<u&&2<e||f<h&&u<=f&&4<e||p<f&&6<e;}t&&e.each(function(e,t){var i,n=d(t).children().length;d(t).slick({infinite:!1,arrows:!1,adaptiveHeight:!0,dots:!0,slidesToShow:6,slidesToScroll:1,responsive:[{breakpoint:h,settings:{slidesToShow:4}},{breakpoint:u,settings:{slidesToShow:2}}]}),c(n)?d(t).slick("init"):d(t).slick("unslick"),d(window).on("resize",function(e){clearTimeout(i),i=setTimeout(function(){f=d(window).width(),c(n),c(n)?d(t).slick("init"):d(t).slick("unslick");},500);});});}}).init();})(jQuery),window.matchMedia||(window.matchMedia=(()=>{var t,e,i,n=window.styleMedia||window.media;return n||(t=document.createElement("style"),e=document.getElementsByTagName("script")[0],i=null,t.type="text/css",t.id="matchmediajs-test",e.parentNode.insertBefore(t,e),i="getComputedStyle" in window&&window.getComputedStyle(t,null)||t.currentStyle,n={matchMedium:function(e){e="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=e:t.textContent=e,"1px"===i.width;}}),function(e){return {matches:n.matchMedium(e||"all"),media:e||"all"};};})()),((a,l,e)=>{function t(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e:"function"==typeof define&&define.amd&&define("picturefill",function(){return e;}),"object"==typeof a&&(a.picturefill=e);}function n(e){for(var t,i,n,o,r=e||{},s=r.elements||c.getAllElements(),a=0,l=s.length;a<l;a++)if(i=(t=s[a]).parentNode,o=n=void 0,"IMG"===t.nodeName.toUpperCase()&&(t[c.ns]||(t[c.ns]={}),r.reevaluate||!t[c.ns].evaluated)){if(i&&"PICTURE"===i.nodeName.toUpperCase()){if(c.removeVideoShim(i),!1===(n=c.getMatch(t,i)))continue;}else n=void 0;(i&&"PICTURE"=
14==i.nodeName.toUpperCase()||!c.sizesSupported&&t.srcset&&d.test(t.srcset))&&c.dodgeSrcset(t),n?(o=c.processSourceSet(n),c.applyBestCandidate(o,t)):(o=c.processSourceSet(t),void 0!==t.srcset&&!t[c.ns].srcset||c.applyBestCandidate(o,t)),t[c.ns].evaluated=!0;}}if(a.HTMLPictureElement)return t(function(){});l.createElement("picture");var i,o,r,s,c=a.picturefill||{},d=/\s+\+?\d+(e\d+)?w/;function u(){clearTimeout(i),i=setTimeout(h,60);}function h(){n({reevaluate:!0});}function p(e,t,i){t&&e.setAttribute("width",parseInt(t/i,10));}c.ns="picturefill",c.srcsetSupported="srcset" in e,c.sizesSupported="sizes" in e,c.curSrcSupported="currentSrc" in e,c.trim=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"");},c.makeUrl=(s=l.createElement("a"),function(e){return s.href=e,s.href;}),c.restrictsMixedContent=function(){return "https:"===a.location.protocol;},c.matchesMedia=function(e){return a.matchMedia&&a.matchMedia(e).matches;},c.getDpr=function(){return a.devicePixelRatio||1;},c.getWidthFromLength=function(e){if(!e||-1<e.indexOf("%")!=0||!(0<parseFloat(e)||-1<e.indexOf("calc(")))return !1;e=e.replace("vw","%"),c.lengthEl||(c.lengthEl=l.createElement("div"),c.lengthEl.style.cssText="border:0;display:block;font-size:1em;
14left:0;margin:0;padding:0;position:absolute;visibility:hidden",c.lengthEl.className="helper-from-picturefill-js"),c.lengthEl.style.width="0px";try{c.lengthEl.style.width=e;}catch(e){}return l.body.appendChild(c.lengthEl),(e=c.lengthEl.offsetWidth)<=0&&(e=!1),l.body.removeChild(c.lengthEl),e;},c.detectTypeSupport=function(e,t){var i=new a.Image();return i.onerror=function(){c.types[e]=!1,n();},i.onload=function(){c.types[e]=1===i.width,n();},i.src=t,"pending";},c.types=c.types||{},c.initTypeDetects=function(){c.types["image/jpeg"]=!0,c.types["image/gif"]=!0,c.types["image/png"]=!0,c.types["image/svg+xml"]=l.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),c.types["image/webp"]=c.detectTypeSupport("image/webp","data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=");},c.verifyTypeSupport=function(e){var t,e=e.getAttribute("type");return null===e||""===e||("string"==typeof (t=c.types[e])&&"pending"!==t?(c.types[e]=c.detectTypeSupport(e,t),"pending"):"function"==typeof t?(t(),"pending"):t);},c.parseSize=function(e){e=/(\([^)]+\))?\s*(.+)/g.exec(e);return {media:e&&e[1],length:e&&e[2]};},c.findWidthFromSourceSize=function(e){for(var t,i=c.trim(e).split(/\s*,\s*/),n=0,o=i.length;n<o;n++){var r=i[n],r=c.parseSize(r),s=r.length,r=r.media;if(s&&(!r||c.matchesMedia(r))&&(t=c.getWidthFromLength(s)))break;}return t||Math.max(a.innerWidth||0,l.documentElement.clientWidth);},c.parseSrcset=function(e){for(var t=[];""!==e;){var i,n=(e=e.replace(/^\s+/g,"")).search(/\s/g),o=null;-1!==n?(","!==(i=e.slice(0,n)).slice(-1)&&""!==i||(i=i.replace(/,+$/,""),o=""),e=e.slice(n+1),null===o&&(e=-1!==(n=e.indexOf(","))?(o=e.slice(0,n),e.slice(n+1)):(o=e,""))):(i=e,e=""),(i||o)&&t.push({url:i,descriptor:o});}return t;},c.parseDescriptor=function(e,t){var t=t||"100vw",e=e&&e.replace(/(^\s+|\s+$)/g,""),i=c.findWidthFromSourceSize(t);if(e)for(var n=e.split(" "),o=n.length-1;0<=o;o--){var r,s=n[o],a=s&&s.slice(s.length-1);"h"!==a&&"w"!==a||c.sizesSupported?"x"===a&&(r=(a=s&&parseFloat(s,10))&&!isNaN(a)?a:1):r=parseFloat(parseInt(s,10)/i);}return r||1;},c.getCandidatesFromSourceSet=function(e,t){for(var i=c.parseSrcset(e),n=[],o=0,r=i.length;o<r;o++){var s=i[o];n.push({url:s.url,resolution:c.parseDescriptor(s.descriptor,t)});}return n;},c.dodgeSrcset=function(e){e.srcset&&(e[c.ns].srcset=e.srcset,e.srcset="",e.setAttribute("data-pfsrcset",e[c.ns].srcset));},c.processSourceSet=function(e){var t=e.getAttribute("srcset"),i=e.getAttribute("sizes"),n=[];return n=(t="IMG"===e.nodeName.toUpperCase()&&e[c.ns]&&e[c.ns].srcset?e[c.ns].srcset:t)?c.getCandidatesFromSourceSet(t,i):n;},c.backfaceVisibilityFix=function(e){var t=e.style||{},i="webkitBackfaceVisibility" in t,n=t.zoom;i&&(t.zoom=".999",e.offsetWidth,t.zoom=n);},c.setIntrinsicSize=(r={},function(e,t){var i;e[c.ns]&&!a.pfStopIntrinsicSize&&(void 0===e[c.ns].dims&&(e[c.ns].dims=e.getAttribute("width")||e.getAttribute("height")),e[c.ns].dims||(t.url in r?p(e,r[t.url],t.resolution):((i=l.createElement("img")).onload=function(){if(r[t.url]=i.width,!r[t.url])try{l.body.appendChild(i),r[t.url]=i.width||i.offsetWidth,l.body.removeChild(i);}catch(e){}e.src===t.url&&p(e,r[t.url],t.resolution),e=null,i.onload=null,i=null;},i.src=t.url)));}),c.applyBestCandidate=function(e,t){var i;e.sort(c.ascendingSort);for(var n,o=e[(n=e.length)-1],r=0;r<n;r++)if((i=e[r]).resolution>=c.getDpr()){o=i;break;}o&&(o.url=c.makeUrl(o.url),t.src!==o.url&&(c.restrictsMixedContent()&&"http:"===o.url.substr(0,"http:".length).toLowerCase()?void 0!==window.console&&console.warn("Blocked mixed content image "+o.url):(t.src=o.url,c.curSrcSupported||(t.currentSrc=t.src),c.backfaceVisibilityFix(t))),c.setIntrinsicSize(t,o));},c.ascendingSort=function(e,t){return e.resolution-t.resolution;},c.removeVideoShim=function(e){var t=e.getElementsByTagName("video");if(t.length){for(var i=t[0],n=i.getElementsByTagName("source");n.length;)e.insertBefore(n[0],i);i.parentNode.removeChild(i);}},c.getAllElements=function(){for(var e=[],t=l.getElementsByTagName("img"),i=0,n=t.length;i<n;i++){var o=t[i];("PICTURE"===o.parentNode.nodeName.toUpperCase()||null!==o.getAttribute("srcset")||o[c.ns]&&null!==o[c.ns].srcset)&&e.push(o);}return e;},c.getMatch=function(e,t){for(var i,n=t.childNodes,o=0,r=n.length;o<r;o++){var s=n[o];if(1===s.nodeType){if(s===e)return i;
14if("SOURCE"===s.nodeName.toUpperCase()){null!==s.getAttribute("src")&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`.");var a=s.getAttribute("media");if(s.getAttribute("srcset")&&(!a||c.matchesMedia(a))){a=c.verifyTypeSupport(s);if(!0===a){i=s;break;}if("pending"===a)return !1;}}}}return i;},c.initTypeDetects(),n(),o=setInterval(function(){return n(),/^loaded|^i|^c/.test(l.readyState)?void clearInterval(o):void 0;},250),a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u),n._=c,t(n);})(window,window.document,new window.Image()),((e,t)=>{"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(e.jQuery);})(this,function(p){function t(e,t){if(this.el=e,this.$el=p(e),this.s=p.extend({},i,t),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw "When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart" in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=p(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(p(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this;}var i;i={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1},t.prototype.init=function(){var e=this,t=(e.s.preload>e.$items.length&&(e.s.preload=e.$items.length),window.location.hash);0<t.indexOf("lg="+this.s.galleryId)&&(e.index=parseInt(t.split("&slide=")[1],10),p("body").addClass("lg-from-hash"),p("body").hasClass("lg-on")||(setTimeout(function(){e.build(e.index);}),p("body").addClass("lg-on"))),e.s.dynamic?(e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||0,p("body").hasClass("lg-on")||setTimeout(function(){e.build(e.index),p("body").addClass("lg-on");})):e.$items.on("click.lgcustom",function(t){try{t.preventDefault(),t.preventDefault();}catch(e){t.returnValue=!1;}e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||e.$items.index(this),p("body").hasClass("lg-on")||(e.build(e.index),p("body").addClass("lg-on"));});},t.prototype.build=function(e){var t=this;t.structure(),p.each(p.fn.lightGallery.modules,function(e){t.modules[e]=new p.fn.lightGallery.modules[e](t.el);}),t.slide(e,!1,!1,!1),t.s.keyPress&&t.keyPress(),1<t.$items.length?(t.arrow(),setTimeout(function(){t.enableDrag(),t.enableSwipe();},50),t.s.mousewheel&&t.mousewheel()):t.$slide.on("click.lg",function(){t.$el.trigger("onSlideClick.lg");}),t.counter(),t.closeGallery(),t.$el.trigger("onAfterOpen.lg"),t.$outer.on("mousemove.lg click.lg touchstart.lg",function(){t.$outer.removeClass("lg-hide-items"),clearTimeout(t.hideBartimeout),t.hideBartimeout=setTimeout(function(){t.$outer.addClass("lg-hide-items");},t.s.hideBarsDelay);}),t.$outer.trigger("mousemove.lg");},t.prototype.structure=function(){var e="",t="",i=0,n="",o=this;for(p("body").append('<div class="lg-backdrop"></div>'),p(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),i=0;i<this.$items.length;i++)e+='<div class="lg-item"></div>';this.s.controls&&1<this.$items.length&&(t='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>
14"),".lg-sub-html"===this.s.appendSubHtmlTo&&(n='<div class="lg-sub-html"></div>'),t='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+e+'</div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"></span></div>'+t+n+"</div></div>",p("body").append(t),this.$outer=p(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),o.setTop(),p(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){o.setTop();},100);}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&1<this.$items.length&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()&&((n=this.$outer.find(".lg-inner")).css("transition-timing-function",this.s.cssEasing),n.css("transition-duration",this.s.speed+"ms")),setTimeout(function(){p(".lg-backdrop").addClass("in");}),setTimeout(function(){o.$outer.addClass("lg-visible");},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=p(window).scrollTop();},t.prototype.setTop=function(){var e,t,i;"100%"!==this.s.height&&(t=((e=p(window).height())-parseInt(this.s.height,10))/2,i=this.$outer.find(".lg"),e>=parseInt(this.s.height,10)?i.css("top",t+"px"):i.css("top","0px"));},t.prototype.doCss=function(){for(var e=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],t=document.documentElement,i=0,i=0;i<e.length;i++)if(e[i] in t.style)return !!!0;return !1;},t.prototype.isVideo=function(e,t){var i,n,o,r=this.s.dynamic?this.s.dynamicEl[t].html:this.$items.eq(t).attr("data-html");return e?(i=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),n=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),o=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),e=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i),i?{youtube:i}:n?{vimeo:n}:o?{dailymotion:o}:e?{vk:e}:void 0):r?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(t+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);},t.prototype.counter=function(){this.s.counter&&p(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>");},t.prototype.addHtml=function(e){var t,i,n,o=null;this.s.dynamic?this.s.dynamicEl[e].subHtmlUrl?t=this.s.dynamicEl[e].subHtmlUrl:o=this.s.dynamicEl[e].subHtml:(i=this.$items.eq(e)).attr("data-sub-html-url")?t=i.attr("data-sub-html-url"):(o=i.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!o&&(o=i.attr("title")||i.find("img").first().attr("alt"))),t||(null!=o?"."!==(n=o.substring(0,1))&&"#"!==n||(o=(this.s.subHtmlSelectorRelative&&!this.s.dynamic?i.find(o):p(o)).html()):o=""),".lg-sub-html"===this.s.appendSubHtmlTo?t?this.$outer.find(this.s.appendSubHtmlTo).load(t):this.$outer.find(this.s.appendSubHtmlTo).html(o):t?this.$slide.eq(e).load(t):this.$slide.eq(e).append(o),null!=o&&(""===o?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[e]);},t.prototype.preload=function(e){for(var t=1,i=1,t=1;t<=this.s.preload&&!(t>=this.$items.length-e);t++)this.loadContent(e+t,!1,0);for(i=1;i<=this.s.preload&&!(e-i<0);i++)this.loadContent(e-i,!1,0);},t.prototype.loadContent=function(t,e,i){function n(e){for(var t=[],i=[],n=0;n<e.length;n++){var o=e[n].split(" ");""===o[0]&&o.splice(0,1),i.push(o[0]),t.push(o[1]);}for(var r=p(window).width(),s=0;s<t.length;s++)if(parseInt(t[s],10)>r){a=i[s];break;}}var a,o,r,s,l=this,c=!1,d=l.s.dynamic?(l.s.dynamicEl[t].poster&&(c=!0,o=l.s.dynamicEl[t].poster),s=l.s.dynamicEl[t].html,a=l.s.dynamicEl[t].src,l.s.dynamicEl[t].responsive&&n(l.s.dynamicEl[t].responsive.split(",")),r=l.s.dynamicEl[t].srcset,l.s.dynamicEl[t].sizes):(l.$items.eq(t).attr("data-poster")&&(c=!0,o=l.$items.eq(t).attr("data-poster")),s=l.$items.eq(t).attr("data-html"),a=l.$items.eq(t).attr("href")||l.$items.eq(t).attr("data-src"),l.$items.eq(t).attr("data-responsive")&&n(l.$items.eq(t).attr("data-responsive").split(",")),r=l.$items.eq(t).attr("data-srcset"),l.$items.eq(t).attr("data-sizes")),u=!1,h=(l.s.dynamic?l.s.dynamicEl[t].iframe&&(u=!0):"true"===l.$items.eq(t).attr("data-iframe")&&(u=!0),l.isVideo(a,t));if(!l.$slide.eq(t).hasClass("lg-loaded")){if(u?l.$slide.eq(t).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+l.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+a+'"  allowfullscreen="true"></iframe></div></div>'):c?(u="",u=h&&h.youtube?"lg-has-youtube":h&&h.vimeo?"lg-has-vimeo":"lg-has-html5",l.$slide.eq(t).prepend('<div class="lg-video-cont '+u+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+o+'" /></div></div>')):h?(l.$slide.eq(t).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),l.$el.trigger("hasVideo.lg",[t,a,s])):l.$slide.eq(t).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+a+'" /></div>'),l.$el.trigger("onAferAppendSlide.lg",[t]),u=l.$slide.eq(t).find(".lg-object"),d&&u.attr("sizes",d),r){u.attr("srcset",r);try{picturefill({elements:[u[0]]});}catch(e){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.");}}".lg-sub-html"!==this.s.appendSubHtmlTo&&l.addHtml(t),l.$slide.eq(t).addClass("lg-loaded");}l.$slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){var e=0;i&&!p("body").hasClass("lg-from-hash")&&(e=i),setTimeout(function(){l.$slide.eq(t).addClass("lg-complete"),l.$el.trigger("onSlideItemLoad.lg",[t,i||0]);},e);}),h&&h.html5&&!c&&l.$slide.eq(t).addClass("lg-complete"),!0===e&&(l.$slide.eq(t).hasClass("lg-complete")?l.preload(t):l.$
14slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){l.preload(t);}));},t.prototype.slide=function(e,t,i,n){var o,r,s,a,l,c=this.$outer.find(".lg-current").index(),d=this;d.lGalleryOn&&c===e||(o=this.$slide.length,r=d.lGalleryOn?this.s.speed:0,d.lgBusy||(this.s.download&&((s=d.s.dynamic?!1!==d.s.dynamicEl[e].downloadUrl&&(d.s.dynamicEl[e].downloadUrl||d.s.dynamicEl[e].src):"false"!==d.$items.eq(e).attr("data-download-url")&&(d.$items.eq(e).attr("data-download-url")||d.$items.eq(e).attr("href")||d.$items.eq(e).attr("data-src")))?(p("#lg-download").attr("href",s),d.$outer.removeClass("lg-hide-download")):d.$outer.addClass("lg-hide-download")),this.$el.trigger("onBeforeSlide.lg",[c,e,t,i]),d.lgBusy=!0,clearTimeout(d.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){d.addHtml(e);},r),this.arrowDisable(e),n||(e<c?n="prev":c<e&&(n="next")),t?(this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),2<o?(a=e-1,l=e+1,(0===e&&c===o-1||e===o-1&&0===c)&&(l=0,a=o-1)):(a=0,l=1),"prev"===n?d.$slide.eq(l).addClass("lg-next-slide"):d.$slide.eq(a).addClass("lg-prev-slide"),d.$slide.eq(e).addClass("lg-current")):(d.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===n?(this.$slide.eq(e).addClass("lg-prev-slide"),this.$slide.eq(c).addClass("lg-next-slide")):(this.$slide.eq(e).addClass("lg-next-slide"),this.$slide.eq(c).addClass("lg-prev-slide")),setTimeout(function(){d.$slide.removeClass("lg-current"),d.$slide.eq(e).addClass("lg-current"),d.$outer.removeClass("lg-no-trans");},50)),d.lGalleryOn?(setTimeout(function(){d.loadContent(e,!0,0);},this.s.speed+50),setTimeout(function(){d.lgBusy=!1,d.$el.trigger("onAfterSlide.lg",[c,e,t,i]);},this.s.speed)):(d.loadContent(e,!0,d.s.backdropDuration),d.lgBusy=!1,d.$el.trigger("onAfterSlide.lg",[c,e,t,i])),d.lGalleryOn=!0,this.s.counter&&p("#lg-counter-current").text(e+1)),d.index=e);},t.prototype.goToNextSlide=function(e){var t=this,i=t.s.loop;e&&t.$slide.length<3&&(i=!1),t.lgBusy||(t.index+1<t.$slide.length?(t.index++,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,e,!1,"next")):i?(t.index=0,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,e,!1,"next")):t.s.slideEndAnimatoin&&!e&&(t.$outer.addClass("lg-right-end"),setTimeout(function(){t.$outer.removeClass("lg-right-end");},400)));},t.prototype.goToPrevSlide=function(e){var t=this,i=t.s.loop;e&&t.$slide.length<3&&(i=!1),t.lgBusy||(0<t.index?(t.index--,t.$el.trigger("onBeforePrevSlide.lg",[t.index,e]),t.slide(t.index,e,!1,"prev")):i?(t.index=t.$items.length-1,t.$el.trigger("onBeforePrevSlide.lg",[t.index,e]),t.slide(t.index,e,!1,"prev")):t.s.slideEndAnimatoin&&!e&&(t.$outer.addClass("lg-left-end"),setTimeout(function(){t.$outer.removeClass("lg-left-end");},400)));},t.prototype.keyPress=function(){var t=this;1<this.$items.length&&p(window).on("keyup.lg",function(e){1<t.$items.length&&(37===e.keyCode&&(e.preventDefault(),t.goToPrevSlide()),39===e.keyCode)&&(e.preventDefault(),t.goToNextSlide());}),p(window).on("keydown.lg",function(e){!0===t.s.escKey&&27===e.keyCode&&(e.preventDefault(),t.$outer.hasClass("lg-thumb-open")?t.$outer.removeClass("lg-thumb-open"):t.destroy());});},t.prototype.arrow=function(){var e=this;this.$outer.find(".lg-prev").on("click.lg",function(){e.goToPrevSlide();}),this.$outer.find(".lg-next").on("click.lg",function(){e.goToNextSlide();});},t.prototype.arrowDisable=function(e){!this.s.loop&&this.s.hideControlOnEnd&&(e+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),0<e?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"));},t.prototype.setTranslate=function(e,t,i){this.s.useLeft?e.css("left",t):e.css({transform:"translate3d("+t+"px, "+i+"px, 0px)"});},t.prototype.touchMove=function(e,t){t-=e;15<Math.abs(t)&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),t,0),this.setTranslate(p(".lg-prev-slide"),-this.$slide.eq(this.index).width()+t,0),this.setTranslate(p(".lg-next-slide"),this.$slide.eq(this.index).width()+t,0));},t.prototype.touchEnd=function(e){var t=this;"lg-slide"!==t.s.mode&&t.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){t.$outer.removeClass("lg-dragging"),e<0&&Math.abs(e)>t.s.swipeThreshold?t.goToNextSlide(!0):0<e&&Math.abs(e)>t.s.swipeThreshold?t.goToPrevSlide(!0):Math.abs(e)<5&&t.$el.trigger("onSlideClick.lg"),t.$slide.removeAttr("style");}),setTimeout(function(){t.$outer.hasClass("lg-dragging")||"lg-slide"===t.s.mode||t.$outer.removeClass("lg-slide");},t.s.speed+100);},t.prototype.enableSwipe=function(){var t=this,i=0,n=0,o=!1;t.s.enableSwipe&&t.doCss()&&(t.$slide.on("touchstart.lg",function(e){t.$outer.hasClass("lg-zoomed")||t.lgBusy||(e.preventDefault(),t.manageSwipeClass(),i=e.originalEvent.targetTouches[0].pageX);}),t.$slide.on("touchmove.lg",function(e){t.$outer.hasClass("lg-zoomed")||(e.preventDefault(),n=e.originalEvent.targetTouches[0].pageX,t.touchMove(i,n),o=!0);}),t.$slide.on("touchend.lg",function(){t.$outer.hasClass("lg-zoomed")||(o?(o=!1,t.touchEnd(n-i)):t.$el.trigger("onSlideClick.lg"));}));},t.prototype.enableDrag=function(){var t=this,i=0,n=0,o=!1,r=!1;t.s.enableDrag&&t.doCss()&&(t.$slide.on("mousedown.lg",function(e){t.$outer.hasClass("lg-zoomed")||(p(e.target).hasClass("lg-object")||p(e.target).hasClass("lg-video-play"))&&(e.preventDefault(),t.lgBusy||(t.manageSwipeClass(),i=e.pageX,o=!0,t.$outer.scrollLeft+=1,--t.$outer.scrollLeft,t.$outer.removeClass("lg-grab").addClass("lg-grabbing"),t.$el.trigger("onDragstart.lg")));}),p(window).on("mousemove.lg",function(e){o&&(r=!0,n=e.pageX,t.touchMove(i,n),t.$el.trigger("onDragmove.lg"));}),p(window).on("mouseup.lg",function(e){r?(r=!1,t.touchEnd(n-i),t.$el.trigger("onDragend.lg")):(p(e.target).hasClass("lg-object")||p(e.target).hasClass("lg-video-play"))&&t.$el.trigger("onSlideClick.lg"),o&&(o=!1,t.$outer.removeClass("lg-grabbing").addClass("lg-grab"));}));},t.prototype.manageSwipeClass=function(){var e=this.index+1,t=this.index-1;this.s.loop&&2<this.$slide.length&&(0===this.index?t=this.$slide.length-1:this.index===this.$slide.length-1&&(e=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),-1<t&&this.$slide.eq(t).addClass("lg-prev-slide"),this.$slide.eq(e).addClass("lg-next-slide");},t.prototype.mousewheel=function(){var t=this;t.$outer.on("mousewheel.lg",function(e){e.deltaY&&(0<e.deltaY?t.goToPrevSlide():t.goToNextSlide(),e.preventDefault());});},t.prototype.closeGallery=function(){var t=this,i=!1;this.$outer.find(".lg-close").on("click.lg",function(){t.destroy();}),t.s.closable&&(t.$outer.on("mousedown.lg",function(e){i=!!(p(e.target).is(".lg-outer")||p(e.target).is(".lg-item ")||p(e.target).is(".lg-img-wrap"));}),t.$outer.on("mouseup.lg",function(e){!(p(e.target).is(".lg-outer")||p(e.target).is(".lg-item ")||p(e.target).is(".lg-img-wrap")&&i)||t.$outer.hasClass("lg-dragging")||t.destroy();}));},t.prototype.destroy=function(e){var t=this;e||(t.$el.trigger("onBeforeClose.lg"),p(window).scrollTop(t.prevScrollTop)),e&&(t.s.dynamic||this.$items.off("click.lg click.lgcustom"),p.removeData(t.el,"lightGallery")),this.$el.off(".lg.tm"),p.each(p.fn.lightGallery.modules,function(e){t.modules[e]&&t.modules[e].destroy();}),this.lGalleryOn=!1,clearTimeout(t.hideBartimeout),this.hideBartimeout=!1,p(window).off(".lg"),p("body").removeClass("lg-on lg-from-hash"),t.$outer&&t.$outer.removeClass("lg-visible"),p(".lg-backdrop").removeClass("in"),setTimeout(function(){t.$outer&&t.$outer.remove(),p(".lg-backdrop").remove(),e||t.$el.trigger("onCloseAfter.lg");},t.s.backdropDuration+50);},p.fn.lightGallery=function(e){return this.each(function(){if(p.data(this,"lightGallery"))try{p(this).data("lightGallery").init();}catch(e){console.error("lightGallery has not initiated properly");}else p.data(this,"lightGallery",new t(this,e));});},p.fn.lightGallery.modules={};}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(t){function e(e){return this.core=t(e).data("lightGallery"),this.$el=t(e),!(this.core.$items.length<2)&&(this.core.s=t.extend({},i,this.core.s),this.interval=!1,this.fromAuto=!0,this.canceledOnTouch=!1,this.fourceAutoplayTemp=this.core.s.fourceAutoplay,this.core.doCss()||(this.core.s.progressBar=!1),this.init(),this);}var i;i={autoplay:!1,pause:5e3,progressBar:!0,fourceAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar"},e.prototype.init=function(){var e=this;e.core.s.autoplayControls&&e.controls(),e.core.s.progressBar&&e.core.$outer.find(".lg").append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),e.progress(),e.core.s.autoplay&&e.$el.one("onSlideItemLoad.lg.tm",function(){e.startlAuto();}),e.$el.on("onDragstart.lg.tm touchstart.lg.tm",function(){e.interval&&(e.cancelAuto(),e.canceledOnTouch=!0);}),e.$el.on("onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm",function(){!e.interval&&e.canceledOnTouch&&(e.startlAuto(),e.canceledOnTouch=!1);});},e.prototype.progress=function(){var e,t,i=this;i.$el.on("onBeforeSlide.lg.tm",function(){i.core.s.progressBar&&i.fromAuto&&(e=i.core.$outer.find(".lg-progress-bar"),t=i.core.$outer.find(".lg-progress"),i.interval)&&(t.removeAttr("style"),e.removeClass("lg-start"),setTimeout(function(){t.css("transition","width "+(i.core.s.speed+i.core.s.pause)+"ms ease 0s"),e.addClass("lg-start");},20)),i.fromAuto||i.core.s.fourceAutoplay||i.cancelAuto(),i.fromAuto=!1;});},e.prototype.controls=function(){var e=this;t(this.core.s.appendAutoplayControlsTo).append('<span class="lg-autoplay-button lg-icon"></span>'),e.core.$outer.find(".lg-autoplay-button").on("click.lg",function(){t(e.core.$outer).hasClass("lg-show-autoplay")?(e.cancelAuto(),e.core.s.fourceAutoplay=!1):e.interval||(e.startlAuto(),e.core.s.fourceAutoplay=e.fourceAutoplayTemp);});},e.prototype.startlAuto=function(){var e=this;e.core.$outer.find(".lg-progress").css("transition","width "+(e.core.s.speed+e.core.s.pause)+"ms ease 0s"),e.core.$outer.addClass("lg-show-autoplay"),e.core.$outer.find(".lg-progress-bar").addClass("lg-start"),e.interval=setInterval(function(){e.core.index+1<e.core.$items.length?e.core.index++:e.core.index=0,e.fromAuto=!0,e.core.slide(e.core.index,!1,
14!1,"next");},e.core.s.speed+e.core.s.pause);},e.prototype.cancelAuto=function(){clearInterval(this.interval),this.interval=!1,this.core.$outer.find(".lg-progress").removeAttr("style"),this.core.$outer.removeClass("lg-show-autoplay"),this.core.$outer.find(".lg-progress-bar").removeClass("lg-start");},e.prototype.destroy=function(){this.cancelAuto(),this.core.$outer.find(".lg-progress-bar").remove();},t.fn.lightGallery.modules.autoplay=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(t){function e(e){return this.core=t(e).data("lightGallery"),this.$el=t(e),this.core.s=t.extend({},i,this.core.s),this.init(),this;}var i;i={fullScreen:!0},e.prototype.init=function(){this.core.s.fullScreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(this.core.$outer.find(".lg-toolbar").append('<span class="lg-fullscreen lg-icon"></span>'),this.fullScreen());},e.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen();},e.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen();},e.prototype.fullScreen=function(){var e=this;t(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",function(){e.core.$outer.toggleClass("lg-fullscreen-on");}),this.core.$outer.find(".lg-fullscreen").on("click.lg",function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?e.exitFullscreen():e.requestFullscreen();});},e.prototype.destroy=function(){this.exitFullscreen(),t(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg");},t.fn.lightGallery.modules.fullscreen=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(s){function e(e){return this.core=s(e).data("lightGallery"),this.$el=s(e),this.core.s=s.extend({},t,this.core.s),this.core.s.pager&&1<this.core.$items.length&&this.init(),this;}var t;t={pager:!1},e.prototype.init=function(){var n,e,t,i=this,o="";if(i.core.$outer.find(".lg").append('<div class="lg-pager-outer"></div>'),i.core.s.dynamic)for(var r=0;r<i.core.s.dynamicEl.length;r++)o+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+i.core.s.dynamicEl[r].thumb+'" /></div></span>';else i.core.$items.each(function(){o+=i.core.s.exThumbImage?'<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+s(this).attr(i.core.s.exThumbImage)+'" /></div></span>':'<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+s(this).find("img").attr("src")+'" /></div></span>';});(e=i.core.$outer.find(".lg-pager-outer")).html(o),(n=i.core.$outer.find(".lg-pager-cont")).on("click.lg touchend.lg",function(){var e=s(this);i.core.index=e.index(),i.core.slide(i.core.index,!1,!0,!1);}),e.on("mouseover.lg",function(){clearTimeout(t),e.addClass("lg-pager-hover");}),e.on("mouseout.lg",function(){t=setTimeout(function(){e.removeClass("lg-pager-hover");});}),i.core.$el.on("onBeforeSlide.lg.tm",function(e,t,i){n.removeClass("lg-pager-active"),n.eq(i).addClass("lg-pager-active");});},e.prototype.destroy=function(){},s.fn.lightGallery.modules.pager=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(a){function e(e){return this.core=a(e).data("lightGallery"),this.core.s=a.extend({},t,this.core.s),this.$el=a(e),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHe
14ight="100%"),this.left=0,this.init(),this;}var t;t={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},e.prototype.init=function(){var e=this;this.core.s.thumbnail&&1<this.core.$items.length&&(this.core.s.showThumbByDefault&&setTimeout(function(){e.core.$outer.addClass("lg-thumb-open");},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress());},e.prototype.build=function(){function t(e,t,i){var n,e=o.core.isVideo(e,i)||{},i="";e.youtube||e.vimeo||e.dailymotion?e.youtube?n=o.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+e.youtube[1]+"/"+o.core.s.youtubeThumbSize+".jpg":t:e.vimeo?o.core.s.loadVimeoThumbnail?(n="//i.vimeocdn.com/video/error_"+s+".jpg",i=e.vimeo[1]):n=t:e.dailymotion&&(n=o.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+e.dailymotion[1]:t):n=t,r+='<div data-vimeo-id="'+i+'" class="lg-thumb-item" style="width:'+o.core.s.thumbWidth+"px; height: "+o.core.s.thumbHeight+"; margin-right: "+o.core.s.thumbMargin+'px"><img src="'+n+'" /></div>';}var e,o=this,r="",s="";switch(this.core.s.vimeoThumbSize){case "thumbnail_large":s="640";break;case "thumbnail_medium":s="200x150";break;case "thumbnail_small":s="100x75";}if(o.core.$outer.addClass("lg-has-thumb"),o.core.$outer.find(".lg").append('<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>'),o.$thumbOuter=o.core.$outer.find(".lg-thumb-outer"),o.thumbOuterWidth=o.$thumbOuter.width(),o.core.s.animateThumb&&o.core.$outer.find(".lg-thumb").css({width:o.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&o.$thumbOuter.css("height",o.core.s.thumbContHeight+"px"),o.core.s.dynamic)for(var i=0;i<o.core.s.dynamicEl.length;i++)t(o.core.s.dynamicEl[i].src,o.core.s.dynamicEl[i].thumb,i);else o.core.$items.each(function(e){o.core.s.exThumbImage?t(a(this).attr("href")||a(this).attr("data-src"),a(this).attr(o.core.s.exThumbImage),e):t(a(this).attr("href")||a(this).attr("data-src"),a(this).find("img").attr("src"),e);});o.core.$outer.find(".lg-thumb").html(r),(e=o.core.$outer.find(".lg-thumb-item")).each(function(){var t=a(this),e=t.attr("data-vimeo-id");e&&a.getJSON("//www.vimeo.com/api/v2/video/"+e+".json?callback=?",{format:"json"},function(e){t.find("img").attr("src",e[0][o.core.s.vimeoThumbSize]);});}),e.eq(o.core.index).addClass("active"),o.core.$el.on("onBeforeSlide.lg.tm",function(){e.removeClass("active"),e.eq(o.core.index).addClass("active");}),e.on("click.lg touchend.lg",function(){var e=a(this);setTimeout(function(){(!o.thumbClickable||o.core.lgBusy)&&o.core.doCss()||(o.core.index=e.index(),o.core.slide(o.core.index,!1,!0,!1));},50);}),o.core.$el.on("onBeforeSlide.lg.tm",function(){o.animateThumb(o.core.index);}),a(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){o.animateThumb(o.core.index),o.thumbOuterWidth=o.$thumbOuter.width();},200);});},e.prototype.setTranslate=function(e){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+e+"px, 0px, 0px)"});},e.prototype.animateThumb=function(e){var t,i=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){switch(this.core.s.currentPagerPosition){case "left":t=0;break;case "middle":t=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case "right":t=this.thumbOuterWidth-this.core.s.thumbWidth;}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*e-1-t,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(i.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||i.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||i.css("left",-this.left+"px"),this.setTranslate(this.left);}},e.prototype.enableThumbDrag=function(){var t=this,i=0,n=0,o=!1,r=!1,s=0;t.$thumbOuter.addClass("lg-grab"),t.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(e){t.thumbTotalWidth>t.thumbOuterWidth&&(e.preventDefault(),i=e.pageX,o=!0,t.core.$outer.scrollLeft+=1,--t.core.$outer.scrollLeft,t.thumbClickable=!1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"));}),a(window).on("mousemove.lg.thumb",function(e){o&&(s=t.left,r=!0,n=e.pageX,t.$thumbOuter.addClass("lg-dragging"),(s=(s-=n-i)>t.thumbTotalWidth-t.thumbOuterWidth?t.thumbTotalWidth-t.thumbOuterWidth:s)<0&&(s=0),t.setTranslate(s));}),a(window).on("mouseup.lg.thumb",function(){(!r||(r=!1,t.$thumbOuter.removeClass("lg-dragging"),t.left=s,Math.abs(n-i)<t.core.s.swipeThreshold))&&(t.thumbClickable=!0),o&&(o=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"));});},e.prototype.enableThumbSwipe=function(){var t=this,i=0,n=0,o=!1,r=0;t.core.$outer.find(".lg-thumb").on("touchstart.lg",function(e){t.thumbTotalWidth>t.thumbOuterWidth&&(e.preventDefault(),i=e.originalEvent.targetTouches[0].pageX,t.thumbClickable=!1);}),t.core.$outer.find(".lg-thumb").on("touchmove.lg",function(e){t.thumbTotalWidth>t.thumbOuterWidth&&(e.preventDefault(),n=e.originalEvent.targetTouches[0].pageX,o=!0,t.$thumbOuter.addClass("lg-dragging"),r=t.left,(r=(r-=n-i)>t.thumbTotalWidth-t.thumbOuterWidth?t.thumbTotalWidth-t.thumbOuterWidth:r)<0&&(r=0),t.setTranslate(r));}),t.core.$outer.find(".lg-thumb").on("touchend.lg",function(){t.thumbTotalWidth>t.thumbOuterWidth&&o?(o=!1,t.$thumbOuter.removeClass("lg-dragging"),Math.abs(n-i)<t.core.s.swipeThreshold&&(t.thumbClickable=!0),t.left=r):t.thumbClickable=!0;});},e.prototype.toogle=function(){var e=this;e.core.s.toogleThumb&&(e.core.$outer.addClass("lg-can-toggle"),e.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>'),e.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){e.core.$outer.toggleClass("lg-thumb-open");}));},e.prototype.thumbkeyPress=function(){var t=this;a(window).on("keydown.lg.thumb",function(e){38===e.keyCode?(e.preventDefault(),t.core.$outer.addClass("lg-thumb-open")):40===e.keyCode&&(e.preventDefault(),t.core.$outer.removeClass("lg-thumb-open"));});},e.prototype.destroy=function(){this.core.s.thumbnail&&1<this.core.$items.length&&(a(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"));},a.fn.lightGallery.modules.Thumbnail=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(l){function e(e){return this.core=l(e).data("lightGallery"),this.$el=l(e),this.core.s=l.extend({},t,this.core.s),this.videoLoaded=!1,this.init(),this;}var t;t={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},e.prototype.init=function(){function t(i){if(i.find(".lg-object").hasClass("lg-has-poster")&&i.find(".lg-object").is(":visible"))if(i.hasClass("lg-has-vi
14deo")){var e=i.find(".lg-youtube").get(0),t=i.find(".lg-vimeo").get(0),n=i.find(".lg-dailymotion").get(0),o=i.find(".lg-html5").get(0);if(e)e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(t)try{$f(t).api("play");}catch(i){console.error("Make sure you have included froogaloop2 js");}else if(n)n.contentWindow.postMessage("play","*");else{if(o)if(a.core.s.videojs)try{videojs(o).play();}catch(i){console.error("Make sure you have included videojs");}else o.play();}i.addClass("lg-video-playing");}else{i.addClass("lg-video-playing lg-has-video");var r,e=function(e,t){if(i.find(".lg-video").append(a.loadVideo(e,"",!1,a.core.index,t)),t)if(a.core.s.videojs)try{videojs(a.core.$slide.eq(a.core.index).find(".lg-html5").get(0),a.core.s.videojsOptions,function(){this.play();});}catch(e){console.error("Make sure you have included videojs");}else a.core.$slide.eq(a.core.index).find(".lg-html5").get(0).play();},t=a.core.s.dynamic?(r=a.core.s.dynamicEl[a.core.index].src,a.core.s.dynamicEl[a.core.index].html):(r=a.core.$items.eq(a.core.index).attr("href")||a.core.$items.eq(a.core.index).attr("data-src"),a.core.$items.eq(a.core.index).attr("data-html")),n=(e(r,t),i.find(".lg-object"));i.find(".lg-video").append(n),i.find(".lg-video-object").hasClass("lg-html5")||(i.removeClass("lg-complete"),i.find(".lg-video-object").on("load.lg error.lg",function(){i.addClass("lg-complete");}));}}var a=this;a.core.$el.on("hasVideo.lg.tm",function(e,t,i,n){if(a.core.$slide.eq(t).find(".lg-video").append(a.loadVideo(i,"lg-object",!0,t,n)),n)if(a.core.s.videojs)try{videojs(a.core.$slide.eq(t).find(".lg-html5").get(0),a.core.s.videojsOptions,function(){a.videoLoaded||this.play();});}catch(e){console.error("Make sure you have included videojs");}else a.videoLoaded||a.core.$slide.eq(t).find(".lg-html5").get(0).play();}),a.core.$el.on("onAferAppendSlide.lg.tm",function(e,t){t=a.core.$slide.eq(t).find(".lg-video-cont");t.hasClass("lg-has-iframe")||(t.css("max-width",a.core.s.videoMaxWidth),a.videoLoaded=!0);});a.core.doCss()&&1<a.core.$items.length&&(a.core.s.enableSwipe||a.core.s.enableDrag)?a.core.$el.on("onSlideClick.lg.tm",function(){var e=a.core.$slide.eq(a.core.index);t(e);}):a.core.$slide.on("click.lg",function(){t(l(this));}),a.core.$el.on("onBeforeSlide.lg.tm",function(e,t,i){var t=a.core.$slide.eq(t),n=t.find(".lg-youtube").get(0),o=t.find(".lg-vimeo").get(0),r=t.find(".lg-dailymotion").get(0),s=t.find(".lg-vk").get(0),t=t.find(".lg-html5").get(0);if(n)n.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(o)try{$f(o).api("pause");}catch(e){console.error("Make sure you have included froogaloop2 js");}else if(r)r.contentWindow.postMessage("pause","*");else{if(t)if(a.core.s.videojs)try{videojs(t).pause();}catch(e){console.error("Make sure you have included videojs");}else t.pause();}s&&l(s).attr("src",l(s).attr("src").replace("&autoplay","&noplay"));n=a.core.s.dynamic?a.core.s.dynamicEl[i].src:a.core.$items.eq(i).attr("href")||a.core.$items.eq(i).attr("data-src"),o=a.core.isVideo(n,i)||{};(o.youtube||o.vimeo||o.dailymotion||o.vk)&&a.core.$outer.addClass("lg-hide-download");}),a.core.$el.on("onAfterSlide.lg.tm",function(e,t){a.core.$slide.eq(t).removeClass("lg-video-playing");});},e.prototype.loadVideo=function(e,t,i,n,o){var r="",s=1,a="",e=this.core.isVideo(e,n)||{};return i&&(s=this.videoLoaded?0:1),e.youtube?(a="?wmode=opaque&autoplay="+s+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(a=a+"&"+l.param(this.core.s.youtubePlayerParams)),r='<iframe class="lg-video-object lg-youtube '+t+'" width="560" height="315" src="//www.youtube.com/embed/'+e.youtube[1]+a+'" frameborder="0" allowfullscreen></iframe>'):e.vimeo?(a="?autoplay="+s+"&api=1",this.core.s.vimeoPlayerParams&&(a=a+"&"+l.param(this.core.s.vimeoPlayerParams)),r='<iframe class="lg-video-object lg-vimeo '+t+'" width="560" height="315"  src="//player.vimeo.com/video/'+e.vimeo[1]+a+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):e.dailymotion?(a="?wmode=opaque&autoplay="+s+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(a=a+"&"+l.param(this.core.s.dailymotionPlayerParams)),r='<iframe class="lg-video-object lg-dailymotion '+t+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+e.dailymotion[1]+a+'" frameborder="0" allowfullscreen></iframe>'):e.html5?r=o="."!==(n=o.substring(0,1))&&"#"!==n?o:l(o).html():e.vk&&(a="&autoplay="
14+s,this.core.s.vkPlayerParams&&(a=a+"&"+l.param(this.core.s.vkPlayerParams)),r='<iframe class="lg-video-object lg-vk '+t+'" width="560" height="315" src="http://vk.com/video_ext.php?'+e.vk[1]+a+'" frameborder="0" allowfullscreen></iframe>'),r;},e.prototype.destroy=function(){this.videoLoaded=!1;},l.fn.lightGallery.modules.video=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(d){function e(e){return this.core=d(e).data("lightGallery"),this.core.s=d.extend({},n,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=d(window).width()/2,this.pageY=d(window).height()/2+d(window).scrollTop()),this;}var t,i,n;n={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:(t=!1,i=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),t=!!(i&&parseInt(i[2],10)<54)||t)},e.prototype.init=function(){function n(e,t,i,n){var o=t.prop("offsetWidth"),i=r.core.s.dynamic?r.core.s.dynamicEl[i].width||t[0].naturalWidth||o:r.core.$items.eq(i).attr("data-width")||t[0].naturalWidth||o;r.core.$outer.hasClass("lg-zoomed")?s=1:o<i&&(s=i/o||2),n?(r.pageX=d(window).width()/2,r.pageY=d(window).height()/2+d(window).scrollTop()):(r.pageX=e.pageX||e.originalEvent.targetTouches[0].pageX,r.pageY=e.pageY||e.originalEvent.targetTouches[0].pageY),a(),setTimeout(function(){r.core.$outer.removeClass("lg-grabbing").addClass("lg-grab");},10);}var r=this,e='<span id="lg-zoom-in" class="lg-icon"></span><span id="lg-zoom-out" class="lg-icon"></span>',s=(r.core.s.actualSize&&(e+='<span id="lg-actual-size" class="lg-icon"></span>'),r.core.s.useLeftForZoom?r.core.$outer.addClass("lg-use-left-for-zoom"):r.core.$outer.addClass("lg-use-transition-for-zoom"),this.core.$outer.find(".lg-toolbar").append(e),r.core.$el.on("onSlideItemLoad.lg.tm.zoom",function(e,t,i){var n=r.core.s.enableZoomAfter+i;d("body").hasClass("lg-from-hash")&&i?n=0:d("body").removeClass("lg-from-hash"),r.zoomabletimeout=setTimeout(function(){r.core.$slide.eq(t).addClass("lg-zoomable");},n+30);}),1),t=function(e){var t=r.core.$outer.find(".lg-current .lg-image"),i=(d(window).width()-t.prop("offsetWidth"))/2,n=(d(window).height()-t.prop("offsetHeight"))/2+d(window).scrollTop(),i=(e-1)*(r.pageX-i),n=(e-1)*(r.pageY-n);t.css("transform","scale3d("+e+", "+e+", 1)").attr("data-scale",e),(r.core.s.useLeftForZoom?t.parent().css({left:-i+"px",top:-n+"px"}):t.parent().css("transform","translate3d(-"+i+"px, -"+n+"px, 0)")).attr("data-x",i).attr("data-y",n);},a=function(){1<s?r.core.$outer.addClass("lg-zoomed"):r.resetZoom(),t(s=s<1?1:s);},o=!1;r.core.$el.on("onAferAppendSlide.lg.tm.zoom",function(e,t){var i=r.core.$slide.eq(t).find(".lg-image");i.on("dblclick",function(e){n(e,i,t);}),i.on("touchstart",function(e){o?(clearTimeout(o),o=null,n(e,i,t)):o=setTimeout(function(){o=null;},300),e.preventDefault();});}),d(window).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",function(){r.pageX=d(window).width()/2,r.pageY=d(window).height()/2+d(window).scrollTop(),t(s);}),d("#lg-zoom-out").on("click.lg",function(){r.core.$outer.find(".lg-current .lg-image").length&&(s-=r.core.s.scale,a());}),d("#lg-zoom-in").on("click.lg",function(){r.core.$outer.find(".lg-current .lg-image").length&&(s+=r.core.s.scale,a());}),d("#lg-actual-size").on("click.lg",function(e){n(e,r.core.$slide.eq(r.core.index).find(".lg-image"),r.core.index,!0);}),r.core.$el.on("onBeforeSlide.lg.tm",function(){s=1,r.resetZoom();}),r.zoomDrag(),r.zoomSwipe();},e.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed"),this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y"),this.core.$slide.find(".lg-image").removeAttr("style data-scale"),this.pageX=d(window).width()/2,this.pageY=d(window).height()/2+d(window).scrollTop();},e.prototype.zoomSwipe=function(){var n=this,o={},r={},s=!1,a=!1,l=!1;n.core.$slide.on("touchstart.lg",function(e){var t;n.core.$outer.hasClass("lg-zoomed")&&(t=n.core.$slide.eq(n.core.index).find(".lg-object"),l=t.prop("offsetHeight")*t.attr("data-scale")>n.core.$outer.find(".lg").height(),(a=t.prop("offsetWidth")*t.attr("data-scale")>n.core.$outer.find(".lg").width())||l)&&(e.preventDefault(),o={x:e.originalEvent.targetTouches[0].pageX,y:e.originalEvent.targetTouches[0].pageY});}),n.core.$slide.on("touchmove.lg",function(e){var t,i;n.core.$outer.hasClass("lg-zoomed")&&(i=n.core.$slide.eq(n.core.index).find(".lg-img-wrap"),e.preventDefault(),s=!0,r={x:e.originalEvent.targetTouches[0].pageX,y:e.originalEvent.targetTouches[0].pageY}
14,n.core.$outer.addClass("lg-zoom-dragging"),e=l?-Math.abs(i.attr("data-y"))+(r.y-o.y):-Math.abs(i.attr("data-y")),t=a?-Math.abs(i.attr("data-x"))+(r.x-o.x):-Math.abs(i.attr("data-x")),15<Math.abs(r.x-o.x)||15<Math.abs(r.y-o.y))&&(n.core.s.useLeftForZoom?i.css({left:t+"px",top:e+"px"}):i.css("transform","translate3d("+t+"px, "+e+"px, 0)"));}),n.core.$slide.on("touchend.lg",function(){n.core.$outer.hasClass("lg-zoomed")&&s&&(s=!1,n.core.$outer.removeClass("lg-zoom-dragging"),n.touchendZoom(o,r,a,l));});},e.prototype.zoomDrag=function(){var n=this,o={},r={},s=!1,a=!1,l=!1,c=!1;n.core.$slide.on("mousedown.lg.zoom",function(e){var t=n.core.$slide.eq(n.core.index).find(".lg-object");c=t.prop("offsetHeight")*t.attr("data-scale")>n.core.$outer.find(".lg").height(),l=t.prop("offsetWidth")*t.attr("data-scale")>n.core.$outer.find(".lg").width(),n.core.$outer.hasClass("lg-zoomed")&&d(e.target).hasClass("lg-object")&&(l||c)&&(e.preventDefault(),o={x:e.pageX,y:e.pageY},s=!0,n.core.$outer.scrollLeft+=1,--n.core.$outer.scrollLeft,n.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"));}),d(window).on("mousemove.lg.zoom",function(e){var t,i;s&&(i=n.core.$slide.eq(n.core.index).find(".lg-img-wrap"),a=!0,r={x:e.pageX,y:e.pageY},n.core.$outer.addClass("lg-zoom-dragging"),e=c?-Math.abs(i.attr("data-y"))+(r.y-o.y):-Math.abs(i.attr("data-y")),t=l?-Math.abs(i.attr("data-x"))+(r.x-o.x):-Math.abs(i.attr("data-x")),n.core.s.useLeftForZoom?i.css({left:t+"px",top:e+"px"}):i.css("transform","translate3d("+t+"px, "+e+"px, 0)"));}),d(window).on("mouseup.lg.zoom",function(e){s&&(s=!1,n.core.$outer.removeClass("lg-zoom-dragging"),!a||o.x===r.x&&o.y===r.y||(r={x:e.pageX,y:e.pageY},n.touchendZoom(o,r,l,c)),a=!1),n.core.$outer.removeClass("lg-grabbing").addClass("lg-grab");});},e.prototype.touchendZoom=function(e,t,i,n){var o=this.core.$slide.eq(this.core.index).find(".lg-img-wrap"),r=this.core.$slide.eq(this.core.index).find(".lg-object"),s=-Math.abs(o.attr("data-x"))+(t.x-e.x),a=-Math.abs(o.attr("data-y"))+(t.y-e.y),l=(this.core.$outer.find(".lg").height()-r.prop("offsetHeight"))/2,c=Math.abs(r.prop("offsetHeight")*Math.abs(r.attr("data-scale"))-this.core.$outer.find(".lg").height()+l),d=(this.core.$outer.find(".lg").width()-r.prop("offsetWidth"))/2,r=Math.abs(r.prop("offsetWidth")*Math.abs(r.attr("data-scale"))-this.core.$outer.find(".lg").width()+d);(15<Math.abs(t.x-e.x)||15<Math.abs(t.y-e.y))&&(n&&(a<=-c?a=-c:-l<=a&&(a=-l)),i&&(s<=-r?s=-r:-d<=s&&(s=-d)),n?o.attr("data-y",Math.abs(a)):a=-Math.abs(o.attr("data-y")),i?o.attr("data-x",Math.abs(s)):s=-Math.abs(o.attr("data-x")),this.core.s.useLeftForZoom?o.css({left:s+"px",top:a+"px"}):o.css("transform","translate3d("+s+"px, "+a+"px, 0)"));},e.prototype.destroy=function(){this.core.$el.off(".lg.zoom"),d(window).off(".lg.zoom"),this.core.$slide.off(".lg.zoom"),this.core.$el.off(".lg.tm.zoom"),this.resetZoom(),clearTimeout(this.zoomabletimeout),this.zoomabletimeout=!1;},d.fn.lightGallery.modules.zoom=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(i){function e(e){return this.core=i(e).data("lightGallery"),this.core.s=i.extend({},t,this.core.s),this.core.s.hash&&(this.oldHash=window.location.hash,this.init()),this;}var t;t={hash:!0},e.prototype.init=function(){var t,n=this;n.core.$el.on("onAfterSlide.lg.tm",function(e,t,i){history.replaceState?history.replaceState(null,null,window.location.pathname+"#lg="+n.core.s.galleryId+"&slide="+i):window.location.hash="lg="+n.core.s.galleryId+"&slide="+i;}),i(window).on("hashchange.lg.hash",function(){t=window.location.hash;var e=parseInt(t.split("&slide=")[1],10);-1<t.indexOf("lg="+n.core.s.galleryId)?n.core.slide(e,!1,!1):n.core.lGalleryOn&&n.core.destroy();});},e.prototype.destroy=function(){this.core.s.hash&&(this.oldHash&&this.oldHash.indexOf("lg="+this.core.s.galleryId)<0?history.replaceState?history.replaceState(null,null,this.oldHash):window.location.hash=this.oldHash:history.replaceState?history.replaceState(null,document.title,window.location.pathname+window.location.search):window.location.hash="",this.core.$el.off(".lg.hash"));},i.fn.lightGallery.modules.hash=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery);})(function(o){function e(e){return this.core=o(e).data("lightGallery"),this.core.s=o.extend({},t,this.core.s),this.core.s.share&&this.init(),this;}var t;t={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"},e.prototype.init=function(){var n=this,e='<span id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">',e=(e=(e=(e+=n.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">
14'+this.core.s.facebookDropdownText+"</span></a></li>":"")+(n.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":""))+(n.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":""))+(n.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"")+"</ul></span>";this.core.$outer.find(".lg-toolbar").append(e),this.core.$outer.find(".lg").append('<div id="lg-dropdown-overlay"></div>'),o("#lg-share").on("click.lg",function(){n.core.$outer.toggleClass("lg-dropdown-active");}),o("#lg-dropdown-overlay").on("click.lg",function(){n.core.$outer.removeClass("lg-dropdown-active");}),n.core.$el.on("onAfterSlide.lg.tm",function(e,t,i){setTimeout(function(){o("#lg-share-facebook").attr("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n.getSahreProps(i,"facebookShareUrl")||window.location.href)),o("#lg-share-twitter").attr("href","https://twitter.com/intent/tweet?text="+n.getSahreProps(i,"tweetText")+"&url="+encodeURIComponent(n.getSahreProps(i,"twitterShareUrl")||window.location.href)),o("#lg-share-googleplus").attr("href","https://plus.google.com/share?url="+encodeURIComponent(n.getSahreProps(i,"googleplusShareUrl")||window.location.href)),o("#lg-share-pinterest").attr("href","http://www.pinterest.com/pin/create/button/?url="+encodeURIComponent(n.getSahreProps(i,"pinterestShareUrl")||window.location.href)+"&media="+encodeURIComponent(n.getSahreProps(i,"src"))+"&description="+n.getSahreProps(i,"pinterestText"));},100);});},e.prototype.getSahreProps=function(e,t){var i;return this.core.s.dynamic?this.core.s.dynamicEl[e][t]:(i=this.core.$items.eq(e).attr("href"),e=this.core.$items.eq(e).data(t),"src"===t&&i||e);},e.prototype.destroy=function(){},o.fn.lightGallery.modules.share=e;}),((e)=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery);})(function(d){function t(e){var t,i=e||window.event,n=g.call(arguments,1),o=0,r=0,s=0,a=0,l=0,c=0;if((e=d.event.fix(i)).type="mousewheel","detail" in i&&(s=-1*i.detail),"wheelDelta" in i&&(s=i.wheelDelta),"wheelDeltaY" in i&&(s=i.wheelDeltaY),"wheelDeltaX" in i&&(r=-1*i.wheelDeltaX),"axis" in i&&i.axis===i.HORIZONTAL_AXIS&&(r=-1*s,s=0),o=0===s?r:s,"deltaY" in i&&(o=s=-1*i.deltaY),"deltaX" in i&&(r=i.deltaX,0===s)&&(o=-1*r),0!==s||0!==r)return 1===i.deltaMode?(o*=t=d.data(this,"mousewheel-line-height"),s*=t,r*=t):2===i.deltaMode&&(o*=t=d.data(this,"mousewheel-page-height"),s*=t,r*=t),a=Math.max(Math.abs(s),Math.abs(r)),(!f||a<f)&&h(i,f=a)&&(f/=40),h(i,a)&&(o/=40,r/=40,s/=40),o=Math[1<=o?"floor":"ceil"](o/f),r=Math[1<=r?"floor":"ceil"](r/f),s=Math[1<=s?"floor":"ceil"](s/f),m.settings.normalizeOffset&&this.getBoundingClientRect&&(t=this.getBoundingClientRect(),l=e.clientX-t.left,c=e.clientY-t.top),e.deltaX=r,e.deltaY=s,e.deltaFactor=f,e.offsetX=l,e.offsetY=c,e.deltaMode=0,n.unshift(e,o,r,s),p&&clearTimeout(p),p=setTimeout(u,200),(d.event.dispatch||d.event.handle).apply(this,n);}function u(){f=null;}function h(e,t){return m.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0;}var p,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel" in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(d.event.fixHooks)for(var n=e.length;n;)d.event.fixHooks[e[--n]]=d.event.mouseHooks;var m=d.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t;d.data(this,"mousewheel-line-height",m.getLineHeight(this)),d.data(this,"mousewheel-page-height",m.getPageHeight(this));},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null;d.removeData(this,"mousewheel-line-height"),d.removeData(this,"mousewheel-page-height");},getLineHeight:function(e){var e=d(e),t=e["offsetParent" in d.fn?"offsetParent":"parent"]();return t.length||(t=d("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16;},getPageHeight:function(e){return d(e).height();},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};d.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel");},unmousewheel:function(e){return this.unbind("mousewheel",e);}});});;
15;
16!function(l,o,n){"use strict";var r,e,u=Object.assign,t=Array.prototype,i=Object.prototype,c=i.toString,a=t.splice,f=t.some,s="undefined"!=typeof Symbol&&Symbol,d="touchevents",h="jQuery"in l,p="cash"in l,m="add",v="remove",
16y="has",g="get",b="set",w="width",E="clientWidth",S="scroll",x="iterator",C="Observer",N="EventListener",O="body",z="html",T=/-([a-z])/g,P=/^--/,I=l.localStorage,M={},A=Math.pow(2,53)-1,j=(L.prototype.init=function(n,t){t=new L(n,t);return U(n)?(n.idblazy||(n.idblazy=t),n.idblazy):t},L);function L(n,t){if(this.name="dblazy",n){if(H(n))return n;var e=n;if(nn(n)){if(!(e=In(Hn(t,n),n)).length)return}else if(G(n))return this.ready(n);!e.nodeType&&e!==l||(e=[e]);for(var r=this.length=e.length,i=0;i<r;i++)this[i]=e[i]}}function B(n){var t=this,e=(t=H(t)?t:r(t)).length;return G(n)&&(e&&1!==e?t.each(n):n(t[0],0)),t}function R(n,t){function e(){return setTimeout(n,t||0,r)}return ln(function(){"loading"!==o.readyState?e():o.addEventListener("DOMContentLoaded",e)}),this}function k(n){var t="[object "+n+"]";return function(n){return c.call(n)===t}}e=j.prototype,((r=e.init).fn=r.prototype=e).length=0,e.splice=a,s&&(e[s[x]]=t[s[x]]);var D,W,q=(D="length",function(n){return X(n)?void 0:n[D]}),_=(W=q,function(n){n=W(n);return"number"==typeof n&&0<=n&&n<=A});function F(n){return Z(n)?Object.keys(n):[]}function H(n){return n instanceof j}function Q(n){return!nn(n)&&(n&&(Array.isArray(n)||_(n)))}function $(n){return!0===n||!1===n||"[object Boolean]"===c.call(n)}function U(n){return n&&(n instanceof Element||n.querySelector)}function V(n){return!isNaN(n)&&parseInt(Number(n))===n&&!isNaN(parseInt(n,10))}function J(n,t){return V(n)||(n=parseInt(n)),n||t||0}var G=k("Function");function K(n){if(X(n)||tn(n)||!1===n)return!0;var t=q(n);return"number"==typeof t&&(Q(n)||nn(n))?0===t:0===q(F(n))}function X(n){return null===n}function Y(n){return!isNaN(parseFloat(n))&&isFinite(n)}function Z(n){if(!n||"object"!=typeof n)return!1;n=Object.getPrototypeOf(n);return X(n)||n===i}function nn(n){return n&&"string"==typeof n}function tn(n){return void 0===n}function en(n){return!!n&&n===n.window}function rn(n){return-1!==[9,11].indexOf(!!n&&n.nodeType)}function on(n){return n&&(n.querySelector||-1!==[1,9,11].indexOf(!!n&&n.nodeType))}function un(n){return on(n)||en(n)}function cn(n){return n&&"getAttribute"in n}function an(){return"bigPipePlaceholderIds"in n}function fn(){return!an()||K(n.bigPipePlaceholderIds)}function ln(n,t){fn()&&setTimeout(n,t||101)}function sn(n){var t={};return"matchMedia"in l&&(t=l.matchMedia("(hover: none), (pointer: coarse)"),n&&t.addEventListener("change",n)),"ontouchstart"in l||l.DocumentTouch&&o instanceof l.DocumentTouch||t.matches||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints}function dn(n,t){var e={};
16return n&&n.length&&Dn(n).forEach(function(n){e[n.name]=n.value},t||this),e}function hn(n,t,e){if(G(n)||nn(n)||$(n)||Y(n))return[];if(Q(n)&&!tn(n.length)){var r=n.length;if(!r||1===r&&" "===n[0])return[]}if(Z(n)&&K(n))return[];var i;if("[object Object]"===c.call(n)){for(var o in n)if(pn(n,o)&&"length"!==o&&"name"!==o&&!1===t.call(e,n[o],o,n))break}else n&&(n instanceof HTMLCollection&&(n=Dn(n)),n instanceof NamedNodeMap?(i=dn(n,e),t.call(e,i,0,n)):(i=n.length)&&1===i&&!tn(n[0])?t.call(e,n[0],0,n):n.forEach(t,e));return n}function pn(n,t){return i.hasOwnProperty.call(n,t)}function mn(n){return nn(n)?-1!==(n=n.trim()).indexOf(",")?n.split(",").map(function(n){return n.trim()}):/\s/.test(n)?n.split(" ").map(function(n){return n.trim()}):[n]:Q(n)?n:[n]}function vn(n,t,e,r){return cn(n)?n[t+"Attribute"](e,r):""}function yn(n,t,r,e){var i=this,o=tn(r),u=!Z(t)&&(o||$(e)),c=nn(e)?e:"",a=Qn(n);if(tn(t)&&U(a))return dn(a.attributes);if(u&&nn(t)){t=t.trim(),o&&(r="");var f=r;return mn(t).every(function(n){return!vn(a,y,n)||!(f=vn(a,g,n))}),f}return B.call(n,function(e){if(!cn(e))return u?"":i;Z(t)?hn(t,function(n,t){vn(e,b,c+t,n)}):X(r)?hn(mn(t),function(n){n=c+n;vn(e,y,n)&&vn(e,v,n)}):"src"===t?e.src=r:"href"===t?e.href=r:vn(e,b,t,r)})}function gn(n,r,i){return B.call(n,function(n,t){var e;cn(n)&&(e=n.classList,G(r)&&(r=r(vn(n,g,"class"),t)),t=mn(r),e&&(tn(i)?t.map(function(n){e.toggle(n)}):e[i].apply(e,t)))})}function bn(n,t){return gn(n,t,m)}function wn(n,t){return gn(n,t,v)}function En(t,n){var e=0;return U(t)&&U(n)?t!==n&&t.contains(n):Q(t)?-1!==t.indexOf(n):(nn(t)&&nn(n)&&(t=t.toLowerCase(),hn(mn(n=n.toLowerCase()),function(n){-1!==t.indexOf(n)&&e++})),0<e)}function Sn(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function xn(t,n){var e=0;return nn(t)&&hn(mn(n),function(n){t.startsWith(n)&&e++}),0<e}function Cn(n){return n.replace(/\s+/g," ").trim()}function Nn(n,t){return U(n)&&nn(t)?n.closest(t):null}function On(n,t){if(U(n)){if(nn(t))return t=Pn(t),!!n.matches&&n.matches(t);if(U(t))return n===t}return n===t}function zn(t,n){return!(!t||!t.nodeName)&&f.call(mn(n),function(n){return t.nodeName.toLowerCase()===n.toLowerCase()})}function Tn(n,t,e){e=tn(e)&&nn(t);return nn(n=n||o)&&(n=Qn(n,!0)),on(n)?(n=Hn(n,t=Pn(t)),e?n.querySelector(t):Wn(t,n)):e?null:[]}function Pn(n){var t=n;return nn(n)&&xn(n,">")&&(t=":scope "+n),t}function In(n,t){return Tn(n,t,1)}function Mn(n){return U(n)&&n.currentStyle||!tn(o.documentMode)}function An(){return l.devicePixelRatio||1}function jn(){return l.innerWidth||o.documentElement[E]||l.screen[w]}function Ln(){return{width:jn(),height:l.innerHeight||o.documentElement.clientHeight}}function Bn(n,t,e,r,i,o){return Fn(n,t,e,r,i,o,m)}function Rn(n,t,e,r,i,o){return Fn(n,t,e,r,i,o,v)}function kn(n){return n.decoded||n.complete}function Dn(n){return t.slice.call(n)}function Wn(n,t){t=t||o;var e=mn(n);return nn(n)&&(e=t.querySelectorAll(n)),Dn(e)}function qn(n,t){return(t||xn(n,["blazy.","bio."])?n:n.split(".")[0]).trim()}var _n={_opts:function(n){var t=!1,e=n||!1;return Z(n)&&(t=(e=u({capture:!1,passive:!0},n)).once||!1),{one:t,options:e}},add:function(t,n,e,r,i){var o=this._opts(r),r=o.options,u=qn(n,i),i=e;o.one&&Mn()&&(i=function n(){t[v+N](u,n),e.apply(this,arguments)}),G(i)&&(o={name:n,callback:i,type:u},M[n]=i,M[u]=o,t[m+N](u,i,r))},remove:function(n,t,e,r,i){r=this._opts(r).options,i=qn(t,i),e=M[t]||e;G(e)&&(n[v+N](i,e,r),delete M[t],delete M[i])}};function Fn(n,e,t,r,i,o,u){var c,a=r,f=Mn();nn(n)&&G(e)?(i=t,r=e,e=n,n=[l]):nn(t)?(c=En(e,["touchstart",S,"wheel"]),tn(i)&&(i=!f&&{capture:!c,passive:c}),r=function(n){!function(n,t,e){var r=n.target;if(On(r,e))t.call(r,n);else for(;r&&r!==this;){if(On(r,e)){t.call(r,n);break}r=r.parentElement||r.parentNode}}(n,a,t)}):G(t)&&(o=i,i=a,r=t);return B.call(n,function(t){un(t)&&hn(mn(e),function(n){_n[u](t,n,r,i,o)})})}function Hn(n,t){return n=Qn(n=n||o,!0)||o,t&&(On(n,t)||On(t,O)||On(t,z))&&(n=o),on(n)&&n.children&&n.children.length||rn(n)?n:o}function Qn(n,t){if(nn(n))return n===O?o.body:n===z?o:o.querySelector(n);if(t&&On(n,z))return o;var e=h&&n instanceof l.jQuery,t=p&&n instanceof l.cash;return n&&(H(n)||e||t)?n[0]:n}function $n(n){return P.test(n)}function Un(n){return U(n)?n.getBoundingClientRect():{}}function Vn(n,t,e){if(U(n)){var r=n[e];if(tn(t))return r;for(;r;){if(On(r,t)||zn(r,t))return r;r=r[e]}}return null}function Jn(n,t){return Vn(n,t,"parentElement")}function Gn(n,t,e){return Vn(n,t,e+"ElementSibling")}function Kn(n,t){return Gn(n,t,"previous")}r.isTag=k,r.isArr=Q,r.isBool=$,r.isDoc=rn,r.isElm=U,r.isFun=G,r.isEmpty=K,r.isInt=V,r.isNull=X,r.isNum=Y,r.isObj=Z,r.isStr=nn,r.isUnd=tn,r.isEvt=un,r.isQsa=on,r.isIo="Intersection"+C in l,r.isMo="Mutation"+C in l,r.isRo="Resize"+C in l,r.isNativeLazy="loading"in HTMLImageElement.prototype,r.isAmd="function"==typeof define&&define.amd,r.isWin=en,r.isBigPipe=an,r.wwoBigPipeDone=fn,r.wwoBigPipe=ln,r.isTouch=sn,r.touchOrNot=function n(){var t=o.documentElement,e=sn(n);wn(t,[d,"no-"+d]),bn(t,e?d:"no-"+d)},r._er=-1,r._ok=1,r.chain=function(n,t){return B.call(n,t)},r.each=hn,r.extend=u,e.extend=function(n,t){return(t=t||!1)?u(n,e):u(e,n)},r.hasProp=pn,r.parse=function(n){try{return 0===n.length||"1"===n?{}:JSON.parse(n)}catch(n){return{}}},r.toArray=mn,r.toInt=J,r.attr=yn.bind(r),r.hasAttr=function(t,n){var e=0;return cn(t)&&nn(n)&&hn(mn(n),function(n){vn(t,y,n)&&e++}),0<e},r.nodeMapAttr=dn,r.removeAttr=function(n,t,e){return yn(n,t,null,e||"")}.bind(r),r.hasClass=function(n,t){var e,r=0;return cn(n)&&nn(t)&&(e=yn(n,"class"),hn(mn(t),function(t){hn(mn(e),function(n){n&&n===t&&r++})})),0<r},r.toggleClass=gn,r.addClass=bn,r.removeClass=wn,r.contains=En,r.escape=Sn,r.startsWith=xn,r.trimSpaces=Cn,r.closest=Nn,r.is=On,r.equal=zn,r.find=Tn,r.findAll=In,r.remove=function(n){var t;!U(n)||(t=Jn(n))&&t.removeChild(n)},r.ie=Mn,r.pixelRatio=An,r.windowWidth=jn,r.windowSize=Ln,r.activeWidth=function(t,n){var e=n.up||!1,r=F(t),i=r[0],o=r[r.length-1],u=n.ww||jn(),n=u*An(),c=e?u:n;return tn(r=r.filter(function(n){return e?J(n,0)<=c:J(n,0)>=c}).map(function(n){return t[n]})[e?"pop":"shift"]())?t[o<=c?o:i]:r},r.on=Bn,r.off=Rn,r.one=function(n,t,e,r){return Bn(n,t,e,{once:!0},r)},r.trigger=function(n,t,i,o){return nn(n)&&(i=t,t=n,n=[l]),B.call(n,function(r){un(r)&&hn(mn(t),function(n){var t=tn(i)?new Event(n):(e={bubbles:!0,cancelable:!0,detail:Z(i)?i:{}},Z(o)&&(e=u(e,o)),new CustomEvent(n,e));r.dispatchEvent(t);var e=qn(n);M[e]&&M[e].type===n&&Q(i)&&M[e].callback.apply(null,[t].concat(i))})})},r.getScript=function(n,e,t){var r=o.createElement("script"),i=o.getElementsByTagName("script")[0];r.async=1,r.id=t,r.onload=r.onreadystatechange=function(n,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r=null,!t&&e&&l.setTimeout(e,0))},r.src=n,i.parentNode.insertBefore(r,i)},r.isDecoded=kn,r.ready=R.bind(r),r.decode=function(e){return kn(e)?Promise.resolve(e):"decode"in e?(e.decoding="async",e.decode()):new Promise(function(n,t){e.onload=function(){n(e)},e.onerror=t()})},r.throttle=function(t,e,r){e=e||50;var i=0;return function(){var n=+new Date;n-i<e||(i=n,t.apply(r,arguments))}},r.resize=function(a,n,t){if(!this.isRo||tn(n))return l.onresize=function(){clearTimeout(n),n=setTimeout(a,200)},a;var e=new ResizeObserver(function(n){var o=this,u=Ln(),c=sn(t||a);hn(n,function(n){var t,e,r,i=((t=n).contentBoxSize&&(r=t.contentBoxSize[0])&&(e=r.inlineSize,i=r.blockSize),i||(e=(r=t.contentRect||Un(t.target)).width,i=r.height),{width:Math.floor(e),height:Math.floor(i)}),i={width:i.width,height:i.height,window:u,touch:c}
16;a.apply(null,[o,i,n])})}),r=Wn(n);return r.length&&hn(r,function(n){U(n)&&e.observe(n)}),a},r.template=function(n,t){for(var e in t)pn(t,e)&&(n=n.replace(new RegExp(Sn("$"+e),"g"),t[e]));return Cn(n)},r.context=Hn,r.slice=Dn,r.toElm=Qn,r.toElms=Wn,r.camelCase=function(n){return n.replace(T,function(n,t){return t.toUpperCase()})},r.isVar=$n,r.computeStyle=function(n,t,e){if(!U(n))return null;var r=getComputedStyle(n,null);return tn(t)?r:e||$n(t)?r.getPropertyValue(t)||null:r[t]||n.style[t]},r.rect=Un,r.empty=function(n){return B.call(n,function(n){if(U(n))for(;n.firstChild;)n.removeChild(n.firstChild)})},r.parent=Jn,r.next=function(n,t){return Gn(n,t,"next")},r.prev=Kn,r.index=function(e,n){var r=0,i=!0;if(U(e)&&(tn(n)||hn(mn(n),function(n,t){if(U(n)){if(i=!1,On(e,n))return r=t,!1}else if(nn(n)){n=Nn(e,n);if(U(n))return e=n,!1}}),i))for(;!X(e=Kn(e));)r++;return r},r.keys=F,r._op=vn,r.storage=function(t,e,n,r){if(I){if(tn(e))return I.getItem(t);if(X(e))I.removeItem(t);else try{I.setItem(t,e)}catch(n){I.removeItem(t),r&&I.setItem(t,e)}}return n||!1},C={chain:function(n){return B.call(this,n)},each:function(n){return hn(this,n)},ready:function(n){return R.call(this,n)}},e.extend(C),r.matches=On,r.forEach=hn,r.bindEvent=Bn.bind(r),r.unbindEvent=Rn.bind(r),"undefined"!=typeof exports?module.exports=r:l.dBlazy=r}(this,this.document,drupalSettings);
17;
18!function(r,n,e){"use strict";var o=n.once||e.once;function u(n,e,t){t=r.context(t,e);return o(n,e,t)}r.once=r.extend(function(n,e,t,o,c){var i=[];return r.wwoBigPipeDone()?r.isStr(n)&&r.isUnd(o)?u(n,e,t):(r.isUnd(t)?0:(i=u(e,t,o)).length&&r.each(i,n,c),i):i},o),r.once.counter=0,r.filter=function(t,n,o){return n.filter(function(n){var e=r.is(n,t);return e&&o&&o(n),e})},r.once.unload=r.once.counter>=(r.isBigPipe()?1:0),r.once.removeSafely=function(n,e,t){var o,c,i=[];return r.wwoBigPipeDone()&&(o=r.once.unload,t=r.context(t,e),o&&this.find(n,t).length&&(i=this.remove(n,e,t),e=e,c=[],r.contains(e,":not")&&(e=e.split(":not"),r.each(e,function(n){var e;r.contains(n,"(")&&(e=n.split("(").pop().split(")")[0],r.contains(e,",")?(n=e.split(","),r.each(n,function(n){n=n.replace(".",""),c.push(n)})):e&&(e=e.replace(".",""),c.push(e)))})),i.length&&c.length&&r.removeClass(i,c))),i},n.behaviors.blazyOnce={attach:function(n){r.wwoBigPipe(function(){1<r.once.counter&&r.once.counter--})},detach:function(n,e,t){"unload"===t&&r.wwoBigPipe(function(){r.once.counter++})}}}(dBlazy,Drupal,this);
19;
20!function(i,s){"use strict";function a(t,e,n){return t?("undefined"!=typeof DOMPurify?(r=DOMPurify.sanitize(t,e),r=i.isObj(e)&&e.RETURN_DOM?(n=!0,r):c(r)):function r(t){t=t.children;i.each(t,function(t){var n,e;n=t,e=i.nodeMapAttr(n.attributes),i.each(e,function(t,e){return!!o(e,t)&&void n.removeAttribute(e)}),r(t)})}(r=c(t)),n?r.childNodes:r.innerHTML):"";var r}function o(t,e){t=t.toLowerCase(),e=e.replace(/\s+/g,"").toLowerCase();return!(!["src","href","xlink:href"].includes(t)||!e.includes("script:")&&!e.includes("data:text/html"))||t.startsWith("on")}function c(t){return(new DOMParser).parseFromString(t,"text/html").body||s.createElement("body")}i.create=function(t,e,n){var r=s.createElement(t);return(i.isStr(e)||i.isObj(e))&&(i.isStr(e)?r.className=e:i.attr(r,e)),n&&(n=n.trim(),r.innerHTML=a(n),"template"===t&&(r=r.content.firstChild||r)),r},i.sanitizer={isDangerous:o,sanitize:a,toNode:c},i.sanitize=a}(dBlazy,this.document);
21;
22!function(c,n){"use strict";var t=Array.prototype.some,u="remove",h="width",l="height",e="after",r="before",i="begin",o="Top",s="Left",f="Height",a="scroll";function d(t,n,r){var i=this,e=c.isUnd(r),u=c.isObj(n),o=!u&&e;if(o&&c.isStr(n)){var s=c.toElm(t),f=[h,l,"top","right","bottom","left"],e=c.computeStyle(s,n),s=c.toInt(e,0);return-1===f.indexOf(n)?e:s}return c.chain(t,function(e){if(!c.isElm(e))return o?"":i;function t(t,n){c.isFun(t)&&(t=t()),(c.contains(n,"-")||c.isVar(n))&&(n=c.camelCase(n)),e.style[n]=c.isStr(t)?t:t+"px"}u?c.each(n,t):c.isNull(r)?c.each(c.toArray(n),function(t){e.style.removeProperty(t)}):c.isStr(n)&&t(r,n)})}function m(t){t=c.rect(t);return{top:(t.top||0)+n.body[a+o],left:(t.left||0)+n.body[a+s]}}function p(t,n){return d(t,h,n)}function g(t,n){return d(t,l,n)}function v(t,n,e){var r,i=0;return c.isElm(t)&&(i=t["offset"+e],n&&(r=c.computeStyle(t),t=function(t){return c.toInt(r["margin"+t],0)},i+=e===f?t(o)+t("Bottom"):t(s)+t("Right"))),i}function y(t,n){return v(t,n,"Width")}function A(t,n){return v(t,n,f)}function C(t,n,e){c.isElm(t)&&t["insertAdjacent"+(c.isElm(n)?"Element":"HTML")](e,n)}function E(t,n){C(t,n,e+"end")}function b(t,n){C(t,n,r+i)}function x(t,n){c.isElm(t)&&(c.isElm(n)?t.appendChild(n):C(t,n,r+"end"))}function S(t,n){C(t,n,e+i)}function H(t,n){c.isUnd(n)&&(n=!0);return c.chain(t,function(t){return c.isElm(t)&&t.cloneNode(n)})}var w={css:function(t,n){return d(this,t,n)},hasAttr:function(n){return t.call(this,function(t){return c.hasAttr(t,n)})},attr:function(t,n,e){return c.isNull(n)?this.removeAttr(t,e):c.attr(this,t,n,e)},removeAttr:function(t,n){return c.removeAttr(this,t,n)},hasClass:function(n){return t.call(this,function(t){return c.hasClass(t,n)})},toggleClass:function(t,n){return c.toggleClass(this,t,n)},addClass:function(t){return this.toggleClass(t,"add")},removeClass:function(t){return arguments.length?this.toggleClass(t,u):this.attr("class","")},empty:function(){return c.empty(this)},first:function(t){return c.isUnd(t)?this[0]:t},after:function(t){return E(this[0],t)},before:function(t){return b(this[0],t)},append:function(t){return x(this[0],t)},prepend:function(t){return S(this[0],t)},remove:function(){this.each(c.remove)},closest:function(t){return c.closest(this[0],t)},equal:function(t){return c.equal(this[0],t)},find:function(t,n){return c.find(this[0],t,n)},findAll:function(t){return c.findAll(this[0],t)},clone:function(t){return H(this,t)},computeStyle:function(t){return c.computeStyle(this[0],t)},offset:function(){return m(this[0])},parent:function(t){return c.parent(this[0],t)},prev:function(t){return c.prev(this[0],t)},next:function(t){return c.next(this[0],t)},index:function(t){return c.index(this[0],t)},width:function(t){return p(this[0],t)},height:function(t){return g(this[0],t)},outerWidth:function(t){return y(this[0],t)},outerHeight:function(t){return A(this[0],t)},on:function(t,n,e,r,i){return c.on(this,t,n,e,r,i,"add")},off:function(t,n,e,r,i){return c.off(this,t,n,e,r,i,u)},one:function(t,n,e){return c.one(this,t,n,e)},trigger:function(t,n,e){return c.trigger(this,t,n,e)}};c.fn.extend(w),c.css=d,c.offset=m,c.clone=H,c.after=E,c.before=b,c.append=x,c.prepend=S,c.width=p,c.height=g,c.outerWidth=y,c.outerHeight=A}(dBlazy,this.document);
23;
24!function(e,r,i){"use strict";function u(t){return t.target||t}function a(t,n){return e.hasClass(u(t),n)}e.debounce=function(t,n,i,e){return i?r.debounce(function(){t.call(i,n)},e||201,!0):r.debounce.call(this,t)},e.matchMedia=function(t,n){return!!i.matchMedia&&(e.isUnd(n)&&(n="max"),i.matchMedia("("+n+"-device-width: "+t+")").matches)},e.isBg=function(t,n){return a(t,n&&n.bgClass||"b-bg")},e.isBlur=function(t){return a(t,"b-blur")},e.isGrid=function(t){return e.isElm(e.closest(u(t),".grid"))},e.isHtml=function(t){return a(t,"b-html")},e.image={alt:function(t,n){var i=e.find(t,"img:not(.b-blur)"),i=e.attr(i,"alt");return n=n||"Video preview",i||(t=e.find(t,".media"),i=e.attr(t,"title")),i?r.checkPlain(i):r.t(n)},ratio:function(t){var n=e.toInt(t.width,640);return(e.toInt(t.height,360)/n*100).toFixed(2)},scale:function(t,n,i,e){e=Math.min(i/t,e/n);return{width:t*e,height:n*e,ratio:e}},dimension:function(t,n){return{width:t,height:n}},hack:function(t,n){return{paddingBottom:t,height:n}}}}(dBlazy,Drupal,this);
25;
26!function(i){"use strict";function o(t,n,a){return i.chain(t,function(e){i.isElm(e)&&i.each(i.toArray(n),function(t){var n,r="data-"+t;i.hasAttr(e,r)&&(n=i.attr(e,r),i.attr(e,t,n),a&&i.removeAttr(e,r))})})}function e(t,a,u,c){i.isUnd(c)&&(c=!0);return i.chain(t,function(t){var n,r,e;i.isElm(t)&&(n=t.parentNode,r=i.equal(n,"picture"),e=null,c?e=r?n:t:r&&(e=n),i.isElm(e)&&(e=e.getElementsByTagName("source"),a=a||(r?"srcset":"src"),e.length&&o(e,a,u)))})}i.mapAttr=o,i.fn.mapAttr=function(t,n){return o(this,t,n)},i.mapSource=e,i.fn.mapSource=function(t,n,r){return e(this,t,n,r)}}(dBlazy);
27;
28!function(r,o,s){"use strict";function e(t){return t?t.target||t:null}function u(t){t=t||0;var i=r.windowSize();return{top:0-t,left:0-t,bottom:i.height+t,right:i.width+t,width:i.width,height:i.height}}function f(t){t=e(t);return t&&r.isNull(t.offsetParent)}r.viewport={vp:{top:0,right:0,bottom:0,left:0},ww:0,opts:{},init:function(t){var i=this;return i.opts=t||{},i.vp=u(i.opts.offset),i.vp},isResized:function(t,i){return i&&"contentRect"in i&&(!!i.contentRect||!!t.resizeTrigger)||!1},isHidden:f,isVisible:function(t,i){if(!t)return!1;var n=e(t);return r.isIo&&"isIntersecting"in t?t.isIntersecting||0<t.intersectionRatio:(n=n,i=i,n=r.isElm(n)?r.rect(n):n,i=i||u(),n.right>=i.left&&n.bottom>=i.top&&n.left<=i.right&&n.top<=i.bottom)},onresizing:function(t,i){var n=t.elms,e=t.options||{};r.isFun(e.resizing)&&e.resizing(t,n,i)},update:function(t){t=t||i.opts;var i=this,n=t.offset||0,e=s.documentElement;return i.vp.bottom=(o.innerHeight||e.clientHeight)+n,i.vp.right=(o.innerWidth||e.clientWidth)+n,i.windowData(t)},visibleParent:function(t){for(var t=e(t),i=r.parent(t),n=i;i;){if(r.isElm(i)&&!f(i)){n=i;break}i=i.parentElement||i.parentNode}return n},windowData:function(t,i){t=t||n.opts;var n=this,e=t.offset||0,r=t.mobileFirst||!1;return i&&n.init(t),n.ww=n.vp.right-e,{vp:n.vp,ww:n.ww,up:r}}}}(dBlazy,this,this.document);
29;
30!function(l,s){"use strict";var u="data-",e="srcset",d=u+"src",f=[e,"src"],b=0;function r(s,e,r){var t=l.closest(s,r.parent)||s,a=e===l._ok||!0===e,o=r.successClass,i=r.errorClass,c="is-"+o,n="is-"+i;return l.addClass(s,a?o:i),l.addClass(t,a?c:n),a?(i=s,c=e,n=t,a=r,(l.isFun(a.success)||l.isObj(a.success))&&a.success(i,c,n,a),0<b&&b--,l.hasAttr(s,d)&&l.removeAttr(s,f,u)):(s=s,e=e,t=t,r=r,(l.isFun(r.error)||l.isObj(r.error))&&r.error(s,e,t,r),b=++b),b}l._defaults={error:!1,offset:100,root:s,success:!1,selector:".b-lazy",separator:"|",container:!1,containerClass:!1,errorClass:"b-error",loadInvisible:!1,successClass:"b-loaded",visibleClass:!1,validateDelay:25,saveViewportOffsetDelay:50,srcset:"data-srcset",src:d,bgClass:"b-bg",isMedia:!1,parent:".media",disconnect:!1,intersecting:!1,observing:!1,resizing:!1,mobileFirst:!1,rootMargin:"0px",threshold:[0]}
30,l.isCompleted=function(s){if(l.isElm(s)){if(l.equal(s,"img"))return l.isDecoded(s);if(l.equal(s,"iframe"))return"complete"===(s.contentDocument||s.contentWindow.document).readyState}return!1},l.selector=function(s,e){var r=s.selector;return e&&l.isBool(e)&&(e=":not(."+s.successClass+")"),r+(e=e||"")},l.status=r}(dBlazy,this.document);
31;
32!function(f,u){"use strict";var i=f.viewport;f.observer={elms:[],scope:{},withIo:!1,init:function(n,t,e,r){var i,o=this,s=n.options||{},a=n._queue||[],u="windowData"in n?n.windowData():{},l=f.viewport;n._raf||(n._raf=[]);var c={rootMargin:s.rootMargin||"0px",threshold:s.threshold||0};function v(e){var r;return a.length||(r=requestAnimationFrame(h),n._raf.push(r)),a.push(e),!1}function h(){var e,r,i;e=a,r=t,i=n,f.each(e,r.bind(i)),e.length=0}o.elms=e=f.toArray(n.elms||e),o.scope=n,o.withIo=n.withIo||r,r&&(n.ioObserver=f.isIo?new IntersectionObserver(v,c):t.call(n,e));return n.roObserver=function(){return i=this,u=f.isUnd(u.ww)?l.windowData(s,!0):n.windowData(),f.isRo?new ResizeObserver(v):t.call(n,e)}(),n.resizeTrigger=i,u},visibleParent:function(e){var r=i;return r&&r.isHidden(e)?r.visibleParent(e):null},hiddenChild:function(e,r){var i=this.scope.ioObserver;if(i&&!f.is(e,r)){r=f.find(e,r);if(f.isElm(r))return i.unobserve(e),r}return null},observe:function(){function e(i){i&&t&&t.length&&f.each(t,function(e){var r;i!==s||(r=n.visibleParent(e))&&i.observe(r),i.observe(e)})}var n=this,r=n.scope,t=n.elms,i=n.withIo,o=r.options||{},s=r.ioObserver,a=r.roObserver;return f.isIo&&(s||a)?(i&&e(s),e(a)):"Blazy"in u&&(r.bLazy=new Blazy(o)),r},unload:function(e){e=(e=e||this.scope)._raf||[];e.length&&f.each(e,function(e){cancelAnimationFrame(e)})}}}(dBlazy,this);
33;
34!function(s){"use strict";function n(n){return s.chain(n,function(n){var a,i="loading",e=s.parent(n,".media")||n,n=[n,s.closest(n,".is-"+i),s.closest(n,'[class*="'+i+'"]')];setTimeout(function(){a=s.next(e,".b-loader"),s.isElm(a)&&s.remove(a)},1500),s.each(n,function(n){var a;s.isElm(n)&&(a=n.className,s.contains(a,i)&&(n.className=a.replace(/(\S+)loading/g,"")))})})}s.unloading=n,s.fn.unloading=function(){return n(this)}}(dBlazy);
35;
36!function(i,e){"use strict";var s="Bio",t=i.dBlazy;t.isAmd?define([s,t,i],e):"object"==typeof exports?module.exports=e(s,t,i):i[s]=e(s,t,i)}(this||module||{},function(s,h,f){"use strict";h.isAmd&&(f=window);var t,o,n=f.document,r=n,v="bio",p={},a=0,e=0,l=0,d="b-bg",b="is-b-visible",u=v+".intersecting "+v+":intersecting",g=".media",y="addClass",m="removeClass",c=!1,z=25,C=0,w=h.observer,L=h.viewport;function i(i){var e=h.extend({},o,this);return e.name=s,e.options=t=h.extend({},h._defaults,i||{}),d=t.bgClass||d,z=t.validateDelay||z,g=t.parent||g,r=t.root||r,setTimeout(function(){e.reinit()}),e}function x(i,e){var s=this,t=s.options,o=t.selector,n=s.count,r=s.ioObserver,d=t.visibleClass||e||!1;a===n-1&&(h.trigger(f,v+":done",{options:t}),d||s.destroyQuietly()),r&&((o=w.hiddenChild(i,o))&&(i=o),s.isLoaded(i)&&!e&&(t.isMedia&&!d&&r.unobserve(i),a++)),i.bhit&&!e||(s.lazyLoad(i,p),h.isFun(t.intersecting)&&t.intersecting(i,t),h.trigger(i,u,{options:t}),l++,i.bhit=!0)}function A(i){var n=this,r=n.options,d=L.vp||{},a=L.ww||0,e=i[0],l=h.isBlur(e),e=L.isResized(n,e),u=r.visibleClass,c=h.isBool(u)&&u;if(e)p=L.update(r),L.onresizing(n,p),0<C&&(e={winData:p,entries:n.elms,currentWidth:a,oldWidth:C,enlarged:C<a},C!==a?h.trigger(f,v+":resizing",e):h.trigger(f,v+":resized",e),n.resizeTick++);else if(n.destroyed&&!u)return;h.each(i,function(i){var e=i.target||i,s=L.isResized(n,i),t=L.isVisible(i,d),o=h.closest(e,g)||e;l=l&&!h.hasClass(o,"is-b-animated"),t?(n.isLoaded(e)||h[y](o,b),x.call(n,e),n.isLoaded(e)&&((l||c)&&h[y](o,b),c||setTimeout(function(){h[m](o,b)},601))):h[m](o,b),u&&h.isStr(u)&&h[t?y:m](o,u),s&&0<C&&!l&&C!==a&&n.resizing(e,p),h.isFun(r.observing)&&r.observing(i,t,r)}),C=a}return(o=i.prototype).constructor=i,o.count=0,o.erCount=0,o.resizeTick=0,o.destroyed=!1,o.options={},o.lazyLoad=function(i,e){},o.loadImage=function(i,e,s){},o.resizing=function(i,e){},o.prepare=function(){},o.windowData=function(){return h.isUnd(p.vp)?L.windowData(this.options,!0):p}
36,o.load=function(i,e,s){var t=this;i=i&&h.toArray(i),h.isUnd(s)||(t.options=h.extend({},t.options,s||{})),e=e||t.options.loadInvisible,h.each(i,function(i){(t.isValid(i)||h.isElm(i)&&e)&&x.call(t,i,e)})},o.isLoaded=function(i){return h.hasClass(i,this.options.successClass)},o.isValid=function(i){return h.isElm(i)&&!this.isLoaded(i)},o.revalidate=function(i){(!0===i||this.count!==l)&&e<l&&(this.elms=h.findAll(r,h.selector(this.options))).length&&(this.observe(!0),e++)},o.destroyQuietly=function(i){var e=this.options;this.destroyed||!i&&!h.isUnd(Drupal.io)||(e=h.find(n,h.selector(e,":not(."+e.successClass+")")),h.isElm(e)||this.destroy(i))},o.destroy=function(i){var e=this,s=e.options,t=e.ioObserver,s=a===e.count-1&&s.disconnect;e.destroyed||0<e.erCounted&&!i||(s||i)&&(t&&t.disconnect(),w.unload(),e.count=0,e.elms=[],e.ioObserver=null,e.destroyed=!0)},o.observe=function(i){var e=this.elms;i=i||this.destroyed,c&&!i||(p=w.init(this,A,e,!0),this.destroyed=!1,w.observe(),c=!0)},o.reinit=function(){this.destroyed=!0,a=0,function(i){i.prepare();var e=h.findAll(r,h.selector(i.options));i.elms=e,i.count=e.length,i._raf=[],i._queue=[],i.withIo=!0,i.observe(!0)}(this)},i});
37;
38!function(t,e){"use strict";var a="BioMedia",n=t.dBlazy,r=t.Bio;"function"==typeof define&&define.amd?define([a,n,r],e):"object"==typeof exports?module.exports=e(a,n,r):t[a]=e(a,n,r)}(this,function(a,p,n){"use strict";var r,i,o=document,t="data-",f="src",m="srcset",h=t+f,s=t+"b-html",g=[m,f],b=0,c=!1,l=p.multimedia||!1;function e(t){var e=n.apply(p.extend({},i,p.extend({},r,this)),arguments);return e.name=a,e}function A(t,e){var a,n;p.isHtml(t)&&p.hasAttr(t,s)&&(n=!1,(a=p.attr(t,s))&&(n=!0,a=a.replace("data:text/plain;base64,",""),a=atob(a),p.append(t,a),p.removeAttr(t,s)),b=p.status(t,n,e))}function v(t,e,a,n){return c||(u(t,"defer",function(t){p.attr(t,"loading","lazy")}),c=!0),p.status(e,a,n)}function u(t,e,a){t=t.options;if(!p.isNativeLazy)return 1;e=e||"a";e=p.selector(t,'[data-src][loading*="'+e+'"]:not(.b-blur)'),e=p.findAll(o,e);return e.length&&p.each(e,function(t){p.mapAttr(t,["srcset","src"],!0),p.mapSource(t,!1,!0,!1),p.isFun(a)&&a(t)}),e}return i=Bio.prototype,(r=e.prototype=Object.create(i)).constructor=e,r.lazyLoad=function(t,e){var a=this,n=a.options,r=t.parentNode,i=p.isBg(t),o=p.equal(r,"picture"),s=p.equal(t,"img"),c=p.equal(t,"audio"),u=p.equal(t,"video"),d=p.hasAttr(t,h);o?(d&&(p.mapSource(t,m,!0),p.mapAttr(t,f,!0)),b=v(a,t,!0,n)):u||c?(p.isBg(r)&&a.loadImage(r,!0,e),u=t,c=!0,r=n,p.mapSource(u,f,!0),u.load(),l&&l.init(u),b=p.status(u,c,r)):s||i?(a.loadImage(t,i,e),i&&p.isHtml(t)&&A(t,n)):p.hasAttr(t,f)?(p.attr(t,h)&&p.mapAttr(t,f,!0),b=v(a,t,!0,n)):A(t,n),a.erCount=b},r.loadImage=function(t,a,n){function e(t,e){b=a&&p.isFun(p.bg)?(p.bg(t,n),p.status(t,e,o)):v(i,t,e,o)}var r,i=this,o=i.options,s=new Image,c=p.hasAttr(t,m),u=p.hasAttr(t,h),d=u?h:f,l=u?"data-srcset":m;"decode"in s&&(s.decoding="async"),a&&p.isFun(p.bgUrl)?s.src=p.bgUrl(t,n):(u&&p.mapAttr(t,g,!1),s.src=p.attr(t,d)),c&&(s.srcset=p.attr(t,l),(r=p.attr(t,"sizes"))&&(s.sizes=r)),p.decode(s).then(function(){e(t,!0)}).catch(function(){e(t,c),c||(t.bhit=!1)})},r.resizing=function(t,e){var a=p.isBg(t,this.options);a&&this.loadImage(t,a,e)},r.prepare=function(){var e,t,a;u(this),p.webp&&(e=this,p.webp.isSupported()||(t=function(t){return t=t||"",p.selector(e.options,"["+t+'srcset*=".webp"]')},(a=p.findAll(o,t())).length||(a=p.findAll(o,t("data-"))),a.length&&p.webp.run(a)))},e});
39;
40!function(o,e,t,l,s){"use strict";var a="data",r="b-checked",u=".b-blur",c=".media",i="successClass",d=(n="blazy")+":done",n=function(){},g={};e.blazy={context:s,name:"Drupal.blazy",init:null,instances:[],resizeTick:0,resizeTrigger:!1,blazySettings:t.blazy||{},ioSettings:t.blazyIo||{},options:{},clearCompat:n,clearScript:n,checkResize:n,resizing:n,revalidate:n,isIo:function(){return!0},isBlazy:function(){return!o.isIo&&"Blazy"in l},isFluid:function(t,n){return o.equal(t.parentNode,"picture")&&o.hasAttr(n,"data-b-ratios")},isLoaded:function(t){return o.hasClass(t,this.options[i])},globals:function(){var t=this,n={isMedia:!0,success:t.clearing.bind(t),error:t.clearing.bind(t),resizing:t.resizing.bind(t),selector:".b-lazy",parent:c,errorClass:"b-error",successClass:"b-loaded"};
40return o.extend(t.blazySettings,t.ioSettings,n)},extend:function(t){g=o.extend({},g,t)},merge:function(t){var n=this;return n.options=o.extend({},n.globals(),n.options,t||{}),n.options},run:function(t){return new BioMedia(t)},mount:function(t){var n=this;return n.merge(),t&&o.each(g,function(t){o.isFun(t)&&t.call(n)}),o.extend(n,g)},selector:function(t){t=t||"";var n=this.options;return n.selector+t+":not(."+n[i]+")"},clearing:function(t){var n,i=this;if(o.hasClass(t,i.options.errorClass)&&!o.hasClass(t,r))return o.addClass(t,r),o.isFun(o.unloading)&&o.unloading(t),void o.trigger(t,"blazy:error",[i]);n=o.hasClass(t,"b-responsive")&&o.hasAttr(t,a+"-pfsrc"),l.picturefill&&n&&l.picturefill({reevaluate:!0,elements:[t]}),l.setTimeout(function(){o.isHtml(t)&&e.attachBehaviors(t),o.isFun(o.unloading)&&o.unloading(t)},300),i.clearCompat(t),i.clearScript(t),o.trigger(t,d,{options:i.options})},windowData:function(){return this.init?this.init.windowData():{}},load:function(n){var i=this;l.setTimeout(function(){var t=o.findAll(n||s,i.selector());t.length&&o.each(t,i.update.bind(i))},100)},update:function(t,n,i){function e(){o.hasAttr(t,"data-b-bg")&&o.isFun(o.bg)?o.bg(t,i||s.windowData()):s.init&&(o.hasClass(t,r.substring(1))||(t=o.find(t,r)||t),s.init.load(t,!0,a))}var s=this,a=s.options,r=a.selector;(n=n||!1)?l.setTimeout(e,100):e()},rebind:function(t,i,e){var n=o.findAll(t,this.options.selector+":not("+u+")"),s=n.length;s||(n=o.findAll(t,"img:not("+u+")")),n.length&&o.each(n,function(t){var n=s?d:"load";o.one(t,n,i,s),e&&e.observe(t)})},pad:function(n,i,t){var e=this,s=o.closest(n,c)||n;setTimeout(function(){var t=Math.round(n.naturalHeight/n.naturalWidth*100,2);e.isFluid(n,s)&&(s.style.paddingBottom=t+"%"),o.isFun(i)&&i.call(e,n,s,t)},t||0)}}}(dBlazy,Drupal,drupalSettings,this,this.document);
41;
42!function(c,n,e){"use strict";var d="blazy",i=d,l="is-"+d,r=".blazy:not(."+l+")",o="body",s="b-root",u="image",b="#drupal-modal, .is-b-scroll";function t(a,t,n){var e,i=this,r=1<i.resizeTick,o=i.instances;o.length&&r&&(e=function(a){a.dblazy&&a.dbuniform&&(a.dblazy!==t.dblazy||a.dbpicture||(c.trigger(a,d+":uniform"+a.dblazy,{pad:n}),a.dbpicture=!0))},c.each(o,function(a){c.debounce(e,a,i)},i))}n.blazy=c.extend(n.blazy||{},{clearScript:function(a){this.pad(a,t)},fixDataUri:function(){var a=c.findAll(e,this.selector('[src^="image"]'));a.length&&c.each(a,function(a){var t=c.attr(a,"src");c.contains(t,["base64","svg+xml"])&&c.attr(a,"src",t.replace(u,"data:"+u))})}}),n.behaviors.blazy={attach:function(a){var t=n.blazy;t.context=c.context(a),c.once(function(a){var t=this,n=c.parse(c.attr(a,"data-"+d)),e=c.hasClass(a,d+"--field b-grid "+d+"--uniform"),i=(1e4*Math.random()).toFixed(0),r=d+":uniform"+i,o=c.findAll(a,".media--ratio");t.merge(n),t.revalidate=t.revalidate||c.hasClass(a,d+"--revalidate"),a.dblazy=i,a.dbuniform=e,t.instances.push(a),e&&o.length&&c.on(a,r,function(a){var t=a.detail.pad||0;10<t&&c.each(o,function(a){a.style.paddingBottom=t+"%"})}),c.addClass(a,l)}.bind(t),i,r,a),c.once(function(a){var t=this,n={mobileFirst:!1};e.documentElement.isSameNode(a)||(n.root=a);a=(n=t.merge(n)).container;a&&!c.contains(b,a)&&(b+=", "+a.trim()),n.container=b,t.merge(n),t.fixDataUri(),t.init=t.run(t.options)}.bind(t),s,o,a)},detach:function(a,t,n){"unload"===n&&(c.once.removeSafely(i,r,a),c.once.removeSafely(s,o,a))}}}(dBlazy,Drupal,(drupalSettings,this.document));
43;
44!function(o,a){"use strict";var i,r="blazy",t="data-",l=t+"b-ratios",c=t+"b-ratio",d="picture",n=".media--ratio",u={};function e(t){t=o.aniElement&&o.aniElement(t);o.animate&&o.isElm(t)&&!o.hasClass(t,"is-b-animated")&&o.animate(t)}function s(t,i,a){var n;if(t=t.target||t,a=!!o.isBool(a)&&a,o.isElm(t)){if(n=o.parse(o.attr(t,l)),o.isEmpty(n))return e=t,s=o.attr(e,c),void(!o.hasAttr(e,"style")&&s&&(e.style.paddingBottom=s+"%"));var e,s=o.isElm(o.find(t,d))&&a,a=o.extend(u,{up:s}),s=o.closest(t,"."+r);t.dblazy=o.isElm(s)&&s.dblazy,(a=o.activeWidth(n,a))&&!o.isUnd(a)&&(t.style.paddingBottom=a+"%")}}function m(){var t=this;t.mount(!0),i=t.options,o.isNull(t.init)&&(t.init=t.run(i)),function(){var t=this,i=t.context,a=o.findAll(i,n);a.length&&(o.each(a,s.bind(t)),t.checkResize(a,s,i))}.call(t)}a.blazy=o.extend(a.blazy||{},{clearCompat:function(t){var i=o.isBg(t)&&(this.isBlazy()||o.ie);this.pad(t,e,i?50:0)},checkResize:function(i,a,t,n){var e=this,s=e.init;return o.on("bio:resizing.compat",function(t){t=t&&t.detail?t.detail:{};u=t.winData||e.windowData(),e.resizeTick=s&&s.resizeTick||0,o.isFun(a)&&o.each(i,function(t,i){t=t.target||t;return a.call(e,t,i,!0)})}),n&&o.isFun(n)&&e.rebind(t,n,e.roObserver),e.destroyed=!1,u}}),a.behaviors.blazyCompat={attach:function(t){var i=a.blazy;i.context=o.context(t),o.once(m.call(i))}}}(dBlazy,Drupal);
45;
46/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
47/*!
48* tabbable 6.3.0
49* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
50*/
51!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not
51(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}
51(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}}));
52
53;
54/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
55(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
56/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
57loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}
57function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
58/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
59(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);;
60((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){this.messageWrapper.querySelectorAll('[data-drupal-message-id]').forEach((message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
61(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;
61once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,element:el};Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element?.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl[originalUrl])drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=JSON.parse(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl[ajax.url])if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
61$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl[ajax.url]&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
61d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}if(!(xmlhttprequest.status===0&&Drupal.beforeUnloadCalled))throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
61$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&typeof settings.isInProgress==='function'&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);;
62!function(c,s,n){"use strict";var i,r,u=s.blazy||{},t=(s.Ajax||{}).prototype;t&&(t.success=(r=t.success,function(t,e){var o,a=u.init;return clearTimeout(i),i=setTimeout(function(){t&&t.length&&(c.once.unload=!0,a&&(o=u.options,c.find(n,c.selector(o,!0))&&(c.once.removeSafely("b-root","body",n),s.attachBehaviors(n.body))),c.trigger("blazy:ajaxSuccess",[a,t,e]))},100),r.apply(this,arguments)}))}(dBlazy,Drupal,this.document);
63;
64Drupal.behaviors.ajaxbreadcrumb={attach:function(context,settings){jQuery(".breadcrumb .item-original-link").click(function(){var urlItem=jQuery(this).attr('href');var idItem=jQuery(this).attr('id');jQuery.ajax({type:'POST',url:urlItem,data:{"idItem":idItem},traditional:true,success:function(response){var args={"idItem":idItem};var form='';jQuery.each(args,function(key,value){form+='<input type="hidden" name="'+key+'" value="'+value+'">';});jQuery('<form action="'+urlItem+'" method="POST">'+form+'</form>').appendTo('body').submit();}});return false;});}};;
65/* @license MIT https://github.com/js-cookie/js-cookie/blob/main/LICENSE */
66/*! js-cookie v3.0.5 | MIT */
67!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self, function () { var n = e.Cookies, o = e.Cookies = t(); o.noConflict = function () { return e.Cookies = n, o } }()) }(this, (function () { "use strict"; function e(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var o in n) e[o] = n[o] } return e } var t = function t(n, o) { function r(t, r, i) { if ("undefined" != typeof document) { "number" == typeof (i = e({}, o, i)).expires && (i.expires = new Date(Date.now() + 864e5 * i.expires)), i.expires && (i.expires = i.expires.toUTCString()), t = encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape); var c = ""; for (var u in i) i[u] && (c += "; " + u, !0 !== i[u] && (c += "=" + i[u].split(";")[0])); return document.cookie = t + "=" + n.write(r, t) + c } } return Object.create({ set: r, get: function (e) { if ("undefined" != typeof document && (!arguments.length || e)) { for (var t = document.cookie ? document.cookie.split("; ") : [], o = {}, r = 0; r < t.length; r++) { var i = t[r].split("="), c = i.slice(1).join("="); try { var u = decodeURIComponent(i[0]); if (o[u] = n.read(c, u), e === u) break } catch (e) { } }
67 return e ? o[e] : o } }, remove: function (t, n) { r(t, "", e({}, n, { expires: -1 })) }, withAttributes: function (n) { return t(this.converter, e({}, this.attributes, n)) }, withConverter: function (n) { return t(e({}, this.converter, n), this.attributes) } }, { attributes: { value: Object.freeze(o) }, converter: { value: Object.freeze(n) } }) }({ read: function (e) { return '"' === e[0] && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent) }, write: function (e) { return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent) } }, { path: "/" }); return t }));;
68/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
69(function($,Drupal,drupalSettings,cookies){Drupal.behaviors.legrand_access_b2b_b2c={attach:function(context,settings){if(window.location.href===drupalSettings.legrand_ecat_b2b_b2c.current_path&&cookies.get('is_b2c')!==undefined&&JSON.parse(cookies.get('is_b2c')).b2c===true)window.location.replace(drupalSettings.legrand_ecat_b2b_b2c.current_path+drupalSettings.legrand_ecat_b2b_b2c.b2c_prefix);else{var date=new Date();date.setDate(date.getDate()+365);var expires="; expires="+date.toGMTString();document.cookie="is_b2c="+encodeURIComponent(JSON.stringify(drupalSettings.legrand_ecat_b2b_b2c.b2c_cookie))+expires+"; path=/";}$('.yCmsComponent.yCmsComponent-space-link').on('click',function(){if($(this).find("span").text(drupalSettings.legrand_ecat_b2b_b2c.b2b_button_text))document.cookie="is_b2c"+'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';});}};}(jQuery,Drupal,drupalSettings,window.Cookies));;
70(function($,Drupal,drupalSettings,once){Drupal.behaviors.legrand_notification_bar={attach:function(context,settings){if(localStorage.getItem("set_notification")==null)$(once('rules-header-simple--notif','.header-simple--notif')).load(Drupal.url('notification-bar/get-content'),function(){$("#hide-notif").click(function(){var $lrHeaderCookies=jQuery(".header-simple .header-simple--notif");$lrHeaderCookies.toggleClass("hide-notif");$(".header-simple").removeClass("header-notif-top");localStorage.setItem("set_notification",true);if($(window).width()>=560)$(".page-bim ol.breadcrumb").css('padding-top','2.5rem');});});}};})(jQuery,Drupal,drupalSettings,once);;
71Drupal.behaviors.main_menu_hide_view_all={attach:function(context,settings){if(!jQuery('#edit-field-view-all-value').is(':checked'))jQuery('#edit-field-link-view-all-wrapper').hide();jQuery('#edit-field-view-all-value').on('change',function(e){if(!jQuery('#edit-field-view-all-value').is(':checked'))jQuery('#edit-field-link-view-all-wrapper').hide();else jQuery('#edit-field-link-view-all-wrapper').show();});}};;
72(function($,Drupal,drupalSettings){Drupal.behaviors.downloadDocuments={attach:function(context,settings){$('.search-download-document',context).on('click',function(e){e.preventDefault();const current_link=$(this);const href=current_link.attr('data-href');const loader=$('<div id="loader-doc"></div>');$('.layout-content').append(loader);$.ajax({url:window.location.origin+'/'+href,type:'GET',beforeSend:function(){$('.search-download-document').each(function(){$(this).on('click',function(){$(this).addClass('disabled');});});},success:function(response){const a=document.createElement("a");a.href=window.location.origin+'/'+href;a.target='_blank';a.click();$("#loader-doc").remove();current_link.removeClass('disabled');},error:function(xhr){current_link.removeClass('disabled');$("#loader-doc").remove();}});});}};})(jQuery,Drupal,drupalSettings);;
73(function($,Drupal,drupalSettings){let ww=$(window).width();let resultSearch=$('.searchComponent');let searchComponentTracker=$('.searchComponent--tracker');let inputSearch=$('#js-site-search-input');let formSearch=$('#search-header-form');let searchBox=$('.header-search-box');ww=$(window).width();let wh=$(window).height();let headerHeight=$('.header-simple').outerHeight(true);let gridBreakpoints={xs:0,sm:768,md:1024,lg:1280,xl:1600};let initialized;let latestSearchValue='';let activeAutocompleteAjax=null;let autocompleteRequestId=0;let searchShouldBeOpen=false;Drupal.behaviors.searchAutocomplete={attach:function(context,settings){if(inputSearch.length)searchAutocomplete(context);}};function clearSuggestions(){searchShouldBeOpen=false;if($('#suggestion-modal').length)$('#suggestion-modal').hide().empty();resultSearch.removeClass('is-active');if($('.search-overlay').length===1)$('.search-overlay').fadeOut(function(){$(this).remove();});}function svg(){let svgImg=$('img.img-svg');svgImg.each(function(){var $img=jQuery(this);var imgID=$img.attr('id');var imgClass=$img.attr('class');var imgURL=$img.attr('src');var imgWidth=$img.attr('width');var imgHeight=$img.attr('height');$.get(imgURL,function(data){var $svg=jQuery(data).find('svg');if(imgID!==undefined)$svg=$svg.attr('id',imgID);if(imgClass!==undefined)$svg=$svg.attr('class',imgClass+' replaced-svg');
73if(imgWidth!==undefined)$svg=$svg.attr('width',imgWidth);if(imgHeight!==undefined)$svg=$svg.attr('height',imgHeight);$svg=$svg.removeAttr('xmlns:a');$img.replaceWith($svg);},'xml');});}function searchHeight(){var inputSearchWidth=formSearch.outerWidth(true);var inputSearchHeight=formSearch.outerHeight(true);headerHeight=$('.header-simple--top').outerHeight(true)+$('.header-simple--mid').outerHeight(true);wh=$(window).height();ww=$(window).width();if($('.select-country').length&&$('.select-country').is(':visible'))headerHeight+=$('.select-country').outerHeight(true);if($('#toolbar-administration').length)headerHeight+=(ww>975)?($('#toolbar-bar').outerHeight(true)+$('#toolbar-item-administration-tray').outerHeight(true)):$('#toolbar-bar').outerHeight(true);var topSearch;var leftSearch=$('.header-search-input-wp').offset().left;var rt=ww-(leftSearch+inputSearchWidth);if(ww>=gridBreakpoints.md)topSearch=headerHeight-12;else{topSearch=$('.header-simple--mid').outerHeight(true)+inputSearchHeight+-6;if($('#toolbar-administration').length)topSearch+=$('#toolbar-bar').outerHeight(true);}var css;resultSearch.attr('style','');var input=$('.header-search-input')[0];function getViewportWidth(){return window.innerWidth;}function debounce(fn,delay=150){let t;return (...args)=>{clearTimeout(t);t=setTimeout(()=>fn.apply(null,args),delay);};}function onResize(){const width=getViewportWidth();let css={};if(width>=300&&width<=2600){const rect=input.getBoundingClientRect();const el=document.querySelector('.search-header-form');const maxWidth=window.getComputedStyle(el).maxWidth;if(maxWidth==="230px"){if($('.searchComponent').hasClass('is-active'))$('.search-header-form').css('max-width','1167.32px');$('.searchComponent').css('left','347.333px');$('.searchComponent').css('width','1167.32px');$('.searchComponent').css('top','166.389px');$('.searchComponent').css('height','34px');}else if(ww<760)css={top:'130px',height:rect.height+'px'};else css={left:rect.left+'px',width:rect.width+'px',top:rect.bottom+'px',height:rect.height+'px'};}resultSearch.css(css);}onResize();$(window).off('resize.searchAuto').on('resize.searchAuto',debounce(onResize,50));}if(ww>760)window.addEventListener("scroll",function(){$('.searchComponent').css('top','52.9805px');if(window.pageYOffset<=0)$('.searchComponent').css('top','85px');});else window.addEventListener("scroll",function(){const isAtTop=window.pageYOffset<=0;const isHeaderSearchActive=$('.header-search').hasClass('is-active');if(!isAtTop&&!isHeaderSearchActive){resultSearch.removeClass('is-active');if($('.search-overlay').length===1)$('.search-overlay').fadeOut(function(){$(this).remove();});return;}if(searchShouldBeOpen&&inputSearch.is(':focus')){resultSearch.addClass('is-active');console.log('grg');if($('.search-overlay').length===0)$('<div class="search-overlay"></div>').prependTo('.layout-content').fadeIn();}});function suggestedProductsAjax($keywords){if($keywords){let loader=$('<div class="loader-suggestion"></div>');$('#suggestion-products').append(loader);var sanitizedKeywords=$keywords.replace(/\//g,'_SLASH_');$.ajax({url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"call/ajax/suggested/products/"+encodeURIComponent(sanitizedKeywords),dataType:"json",success:function(res){$("#suggestion-products").html(res.html);if($("#all-products-search-link").length){var urlSearchPage=$("#all-products-search-link").attr("href");urlSearchPage=urlSearchPage.split('?')[0];$("#all-products-search-link").attr("href",urlSearchPage+"?search="+$('#js-site-search-input').val()+"&current_tab=tab-A");}if(res.count==1)$('#all-products-search-col').addClass('col-sm-4');if(res.count==2){$('#all-products-search-col').addClass('col-sm-8');$('#all-products-search-bg').find('.row  .col-12').addClass('col-sm-6');}if(res.count>2){$('#all-products-search-bg').addClass('bg-outside-right');$('#all-products-search-bg').find('.row  .col-12').addClass('col-sm-4');}searchHeight();},complete:function(){closeSearchBar();$(".loader-suggestion").remove();},error:function(xhr,ajaxOptions,thrownError){console.log(xhr.status);console.log(thrownError);}});}}function suggestedDocumentsAjax($keywords){if($keywords){var sanitizedKeywords=$keywords.replace(/\//g,'_SLASH_');$.ajax({url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"call/ajax/suggested/documents/"+encodeURIComponent(sanitizedKeywords),dataType:"json",success:function(response){if(response[0].data!==un
73defined&&response[0].selector=="#suggestion-documents")$('#suggestion-documents').replaceWith(response[0].data);else if(response[1].data!==undefined&&response[1].selector=="#suggestion-documents")$('#suggestion-documents').replaceWith(response[1].data);else if(response[2].data!==undefined&&response[2].selector=="#suggestion-documents")$('#suggestion-documents').replaceWith(response[2].data);else{if(response[3].data!==undefined&&response[3].selector=="#suggestion-documents")$('#suggestion-documents').replaceWith(response[3].data);}if($("#all-documents-search-link").length){var urlSearchDocuments=$("#all-documents-search-link").attr("href");urlSearchDocuments=urlSearchDocuments.split('?')[0];$("#all-documents-search-link").attr("href",urlSearchDocuments+"?search="+$('#js-site-search-input').val()+"&current_tab=tab-B");}searchHeight();Drupal.attachBehaviors();},error:function(xhr,ajaxOptions,thrownError){console.log(xhr.status);console.log(thrownError);}});}}function suggestedWebpagesAjax($keywords){if($keywords){const isEcatProjectEnabled=drupalSettings.isEcatEnabled;let tab="";if(isEcatProjectEnabled===false)tab="&current_tab=tab-A";else tab="&current_tab=tab-D";var sanitizedKeywords=$keywords.replace(/\//g,'_SLASH_');$.ajax({url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"call/ajax/suggested/webpages/"+encodeURIComponent(sanitizedKeywords),dataType:"json",success:function(response){$("#suggestion-webpages").html(response.html);if(response.count_faq===0)$('#all-faq-search-link, #webpages-faq-diviser').css('display','none');if($("#all-webpages-search-link").length){var urlSearchWebpage=$("#all-webpages-search-link").attr("href");urlSearchWebpage=urlSearchWebpage.split('?')[0];$("#all-webpages-search-link").attr("href",urlSearchWebpage+"?search="+$('#js-site-search-input').val()+tab);}if($("#all-faq-search-link").length){var urlSearchFaq=$("#all-faq-search-link").attr("href");urlSearchFaq=urlSearchFaq.split('?')[0];$("#all-faq-search-link").attr("href",urlSearchFaq+"?search="+$('#js-site-search-input').val()+"&current_tab=tab-C");}searchHeight();},complete:function(){closeSearchBar();},error:function(xhr,ajaxOptions,thrownError){console.log(xhr.status);console.log(thrownError);}});}}var closeBtnFalg=false;function closeSearchBar(){if(!closeBtnFalg){closeBtnFalg=true;$(".js-search-close").on('click',function(){searchShouldBeOpen=false;searchBox.removeClass('is-active');resultSearch.removeClass('is-active');clearSuggestions();$(".header-simple").removeClass('expanded search-expanded header-shrunk');$('.header-logo--wp').removeClass('shrunk');inputSearch.val('');inputSearch.blur();latestSearchValue='';autocompleteRequestId=0;if($('.search-overlay').length===1)$('.search-overlay').fadeOut(function(){$(this).remove();});});}}function searchAutocomplete(context){if(!initialized){initialized=true;$(".js-header-icon-search").on('click',function(){$('.panier').removeClass('active');$(".header-simple").removeClass('expanded');$(".hamburger").removeClass("is-active");searchBox.addClass('is-active');if(ww<=gridBreakpoints.md)$('.header-logo--wp').addClass('shrunk');inputSearch.focus();});inputSearch.on('focus',function(){searchBox.addClass('is-active');});$(document).click(function(event){var $target=$(event.target);if(!$target.closest('.header-search-box').length&&!$target.closest('#suggestion-modal').length&&searchBox.hasClass('is-active')&&!inputSearch.is(':focus')){searchShouldBeOpen=false;searchBox.removeClass('is-active');resultSearch.removeClass('is-active');$(".header-simple").removeClass('expanded search-expanded header-shrunk');$('.header-logo--wp').removeClass('shrunk');inputSearch.val('');inputSearch.blur();latestSearchValue='';autocompleteRequestId=0;if($('.search-overlay').length===1)$('.search-overlay').fadeOut(function(){$(this).remove();});}});$('#search-header-form .submit-search').on('click',function(e){localStorage.setItem('current_tab','tab-A');var lengthSearch=inputSearch.val().length;if(lengthSearch<3){e.preventDefault();return false;}});closeSearchBar();if($(window).width()<765)$('#suggestion-modal-bg').on('click',function(e){e.stopPropagation();$('.js-search-close').trigger('click');});$('.search-header-form #js-site-search-input').on('keydown',function(event){if($(this).val().length<3)if(event.keyCode===13){event.preventDefault();return false;}});$('.search-header-form #js-site-search-input').on("keyup",delay(suggestionsTrigger,100));$('.search-header-form #js-site-search-input').on("paste",delay(suggestionsTrigger,100));function suggestionsTrigger(e){if(e.type==='keyup'){let keycodeSearch=[8,16,32,46,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,96,97,98,99,100,101,102,103,104,105];if($.inArray(e.keyCode,keycodeSearch)<0)return;}if($('#js-site-search-input').val().length>1){const autocomplete_check=drupalSettings.common_blocks_module.autocomplete_check;if(autocomplete_check==1){const currentValue=$('#js-site-search-input').val();latestSearchValue=currentValue;const requestId=++autocompleteRequestId;let search_url=drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+'ecat-search/autocomplete/acquia_search?q='+$('#js-site-search-input').val();if(activeAutocompleteAjax&&activeAutocompleteAjax.ajax)activeAutocompleteAjax.ajax.abort();const projectAjaxObject=Drupal.ajax({url:search_url});activeAutocompleteAjax=projectAjaxObject;projectAjaxObject.commands.insert=function(ajax,response,status){if(requestId!==autocompleteRequestId||$('#js-site-search-input').val()!==latestSearchValue)return;$('#suggestion-modal').replaceWith(response.data);const hasSuggestions=$('#suggestion-modal').find('li').length>0||$('#suggestion-modal').find('[data-autocomplete-item]').length>0;if(hasSuggestions){searchShouldBeOpen=true;resultSearch.addClass('is-active');$('#suggestion-modal').show();searchHeight();if($('.search-overlay').length===0)$('<div class="search-overlay"></div>').prependTo('.layout-content').fadeIn();}else{clearSuggestions();if($('.search-overlay').length===1)$('.search-overlay').fadeOut(function(){$(this).remove();});}};projectAjaxObject.commands.destroyObject=function(ajax,response,status){Drupal.ajax.instances[this.instanceIndex]=null;};projectAjaxObject.execute();}else{}}else{clearSuggestions();if(activeAutocompleteAjax&&activeAutocompleteAjax.ajax)activeAutocompleteAjax.ajax.abort();}}function SuggestionProduct(){return;}function delay(callback,ms){var timer=0;return function(){let input=this,args=arguments;clearTimeout(timer);timer=setTimeout(function(){callback.apply(input,args);},ms||0);};}}}})(jQuery,Drupal,drupalSettings);;
74(function(Drupal,once){Drupal.behaviors.searchSubmitFix={attach:function(context){once('searchSubmitFix',context.querySelectorAll('.js-search-close')).forEac
74h(function(element){element.addEventListener('click',function(e){e.preventDefault();const form=element.closest('form');const input=context.querySelector('#js-site-search-input');const value=input?input.value.trim():'';if(value.length>=3){localStorage.setItem('current_tab','tab-A');form.submit();}});});}};})(Drupal,once);;
75Drupal.behaviors.lwf_youtube_iframe_player={attach:function(context,settings){var togglePlayer=document.querySelectorAll('.toggler-player');var playersClass=document.querySelectorAll('.ytb-player');var video_ids=[];var players=[];togglePlayer.forEach(function(el,i){if(el.dataset.src!=''){var video_id=el.dataset.src.split('embed/')[1];var ampersandPosition=video_id.indexOf('&');if(ampersandPosition!=-1)video_id=video_id.substring(0,ampersandPosition);video_ids.push(video_id);players.push('player-'+video_id);playersClass[i].setAttribute('id',players[i]);}});var tag=document.createElement('script');tag.src="https://www.youtube.com/iframe_api";var firstScriptTag=document.getElementsByTagName('script')[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);window.onYouTubeIframeAPIReady=function(){for(var i=0;i<video_ids.length;i++)new YT.Player(players[i],{height:'360',width:'640',videoId:video_ids[i],events:{'onReady':onPlayerReady}});};function onPlayerReady(event){var iframeObject=event.target;var iframeElement=iframeObject.getIframe();var videoContainer=iframeElement.parentElement.parentElement;var play=videoContainer.querySelector(".toggler-player");play.addEventListener("click",function(){iframeObject.seekTo(0);iframeObject.playVideo();setTimeout(function(){videoContainer.querySelector(".video-embed-player").style.display='none';videoContainer.querySelector(".video-embed").style.display='block';},500);});}}};;
76(function($,Drupal){'use strict';Drupal.behaviors.selected_values={attach:function(context,settings){$('select#edit-brand').on('change',function(){var brand_id=$(this).val();var brand_title=$('select#edit-brand option[value="'+brand_id+'"]').text();$('input[name="brand_name"]').val(brand_title);});$('select#edit-product-line').on('change',function(){var product_id=$(this).val();var product_title=$('select#edit-product-line option[value="'+product_id+'"]').text();$('input[name="product_name"]').val(product_title);});}};})(jQuery,Drupal);;
77!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e();}(this,function(){"use strict";var g="undefined"!=typeof document&&document.documentMode,v=function(t){return window&&window[t];},h=["data-iesrc","data-alt","data-src","data-srcset","data-background-image","data-toggle-class"],p={rootMargin:"0px",threshold:0,enableAutoReload:!1,load:function(t){if("picture"===t.nodeName.toLowerCase()){var e=t.querySelector("img"),r=!1;null===e&&(e=document.createElement("img"),r=!0),g&&t.getAttribute("data-iesrc")&&(e.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(e.alt=t.getAttribute("data-alt")),r&&t.append(e);}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var a=t.children,o=void 0,i=0;i<=a.length-1;i++)(o=a[i].getAttribute("data-src"))&&(a[i].src=o);t.load();}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var n=",";if(t.getAttribute("data-background-delimiter")&&(n=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(n).join("'),url('")+"')";else{if(t.getAttribute("data-background-image-set")){var d=t.getAttribute("data-background-image-set").split(n),u=d[0].substr(0,d[0].indexOf(" "))||d[0];u=-1===u.indexOf("url(")?"url("+u+")":u,1===d.length?t.style.backgroundImage=u:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+u+"; background-image: -webkit-image-set("+d+"); background-image: image-set("+d+")");}}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"));},loaded:function(){}};function k(t){t.setAttribute("data-loaded",!0);}var y=function(t){return "true"===t.getAttribute("data-loaded");},w=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t);};return function(){var r,a,e,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=Object.assign({},p,t),n=i.root,d=i.rootMargin,u=i.threshold,g=i.enableAutoReload,s=i.load,c=i.loaded,l=void 0,b=void 0;v("IntersectionObserver")&&(l=new IntersectionObserver((r=s,a=c,function(t,e){t.forEach(function(t){(0<t.intersectionRatio||t.isIntersecting)&&(e.unobserve(t.target),y(t.target)||(r(t.target),k(t.target),a(t.target)));});}),{root:n,rootMargin:d,threshold:u})),v("MutationObserver")&&g&&(b=new MutationObserver((e=s,function(t){t.forEach(function(t){y(t.target)&&"attributes"===t.type&&-1<h.indexOf(t.attributeName)&&e(t.target);});})));for(var f,m=w(o,n),A=0;A<m.length;A++)(f=m[A]).getAttribute("data-placeholder-background")&&(f.style.background=f.getAttribute("data-placeholder-background"));return {observe:function(){for(var t=w(o,n),e=0;e<t.length;e++)y(t[e])||(l?(b&&g&&b.observe(t[e],{subtree:!0,attributes:!0,attributeFilter:h}),l.observe(t[e])):(s(t[e]),k(t[e]),c(t[e])));},triggerLoad:function(t){y(t)||(s(t),k(t),c(t));},observer:l,mutationObserver:b};};});;
78(function(){'use strict';Drupal.behaviors.image_lazy_loader={attach:function(context){if(typeof window.lozad==='function'){Drupal.behaviors.image_lazy_loader.observer=lozad();Drupal.behaviors.image_lazy_loader.observer.observe();}}};})(jQuery);;
79(function($,Drupal){Drupal.behaviors.LayoutBuilderCustomizer={attach:function attach(context){$(once("layout-builder
79-customizer","#layout-builder .js-layout-builder-block",context)).hover(function(){$(this).toggleClass("layout-builder-customizer--links");});}};})(jQuery,Drupal);;
80(function($){Drupal.behaviors.customTelInput={attach:function(context,settings){$('.iti__country-list li[data-country-code="eh"]',context).remove();}};})(jQuery);;
81Drupal.behaviors.legrand_common_helper={attach:function(context,settings){let current_url=window.location;let event="";let searchFilterLabel="";let searchAddQuery="";let param_search_news=new URLSearchParams(current_url.search.slice(1)).get('combine_search_news');let param_search_training=new URLSearchParams(current_url.search.slice(1)).get('combine_search_training');let param_search_faq=new URLSearchParams(current_url.search.slice(1)).get('combine_search_faq');let param_search_zip_poi=new URLSearchParams(current_url.search.slice(1)).get('search_address_poi');let param_search_zip_poi_map=new URLSearchParams(current_url.search.slice(1)).get('search_address_poi_map');let param_acquia_search=new URLSearchParams(current_url.search.slice(1)).get('search');if(param_search_news){event="searchAddQuery";searchAddQuery=param_search_news;}else if(param_search_training){event="searchAddQuery";searchAddQuery=param_search_training;}else if(param_search_faq){event="searchAddQuery";searchAddQuery=param_search_faq;}else if(param_search_zip_poi){event="searchAddQuery";searchAddQuery=param_search_zip_poi;}else if(param_search_zip_poi_map){event="searchAddQuery";searchAddQuery=param_search_zip_poi_map;}else{if(param_acquia_search){event="searchAddQuery";searchAddQuery=param_acquia_search;}}let params_news_type=new URLSearchParams(current_url.search.slice(1)).getAll('field_news_type_target_id[]');let params_ref_type=new URLSearchParams(current_url.search.slice(1)).getAll('field_type_reference_target_id[]');let params_train_type=new URLSearchParams(current_url.search.slice(1)).getAll('field_training_type_target_id[]');let params_download_type=new URLSearchParams(current_url.search.slice(1)).getAll('field_document_type_target_id[]');let params_add_filter_poi=new URLSearchParams(current_url.search.slice(1)).getAll('additional_filters_target_id[]');let params_add_filter_poi_map=new URLSearchParams(current_url.search.slice(1)).getAll('additional_filters_target_id_map[]');let params_filter_acquia=new URLSearchParams(current_url.search.slice(1)).get('datasource[]');let pageType='';if(params_news_type.length||params_ref_type.length||params_train_type.length||params_download_type.length){let selected_type=jQuery("input[type=checkbox]:checked").map(function(){return jQuery(this).attr("id");}).get();event="searchFilterLabel";searchFilterLabel=selected_type.join("/");}else if(params_add_filter_poi.length||params_add_filter_poi_map.length){let selected_area=jQuery("input[type=checkbox]:checked").map(function(){return jQuery(this).next("label").text();}).get();let params_areas=selected_area.filter(function(elem,index,self){return index===self.indexOf(elem);});event="searchFilterLabel";searchFilterLabel=params_areas.join("/");pageType='Search Product Page - New';}else{if(params_filter_acquia){event="searchFilterLabel";if(params_filter_acquia==="entity:node"){searchFilterLabel="webpages";pageType='Search Webpage  - New';}else if(params_filter_acquia==="entity:file"){searchFilterLabel="documents";pageType='Search Document Page  - New';}else searchFilterLabel="all";}}if(event)dataLayer.push({'event':event,'searchFilterLabel':searchFilterLabel,'searchFilterQuery':searchAddQuery,'pageType':pageType,'viewType':'List'});jQuery('#cta--find-store').click(function(){dataLayer.push({'event':'clickCTAFindStore','pageType':'POI – Where to buy','viewType':'Block'});});jQuery('#cta--list-store').click(function(){dataLayer.push({'event':'clickCTAListStore','pageType':'POI – Where to buy','viewType':'Block'});});jQuery('#cta--about-project').click(function(){dataLayer.push({'event':'clickCTAProject','pageType':'Project page','viewType':'Block'});});jQuery('#cta--ask-question').click(function(){dataLayer.push({'event':'clickCTAAsqQuestion','pageType':'FAQ','viewType':'Block'});});jQuery('#cta--access-faq').click(function(){dataLayer.push({'event':'clickCTAFaq','pageType':'FAQ','viewType':'Block'});});jQuery('#cta--access-training').click(function(){dataLayer.push({'event':'clickCTATraining'});});jQuery('#cta--ask-training').click(function(){dataLayer.push({'event':'clickCTAAsqNewTraining'});});jQuery('#cta--access-contact').click(function(){dataLayer.push({'event':'clickCTAContact','pageType':'Contact','viewType':'Block'});});jQuery('#cta--press-external').click(function(){dataLayer.push({'event':'clickCTANewsRoom'});});}};;
82(function($,Drupal,drupalSettings,once){var productSourceRelated='';var categoryName='';var product_name='';var selectedDocuments=[];Drupal.behaviors.legrand_common_helper={attach:function(context,settings){function getDataLayerValue(key){let dataLayer=window.dataLayer||[];for(let i=dataLayer.length-1;i>=0;i--)if(dataLayer[i]&&Object.prototype.hasOwnProperty.call(dataLayer[i],key))return dataLayer[i][key];return '';}let current_url=decodeURIComponent(window.location.href);$(once('gtm-add-doc-to-project-list','.add-documents-to-project',context)).on('click',function(){selectedDocuments=[];$('#DOCUMENTATION input[type=checkbox]').not('[id*="_all"]').each(function(){if($(this).prop('checked'))selectedDocuments.push({f
82ileName:$(this).parents('.document-list').find('.doc-item').text().trim(),docType:$(this).parents('.document-list').find('.document-type span').text().trim()});});});$(once('gtm-related-product-item','.related-product-item',context)).on('click',function(){productSourceRelated=$(this).closest('.card-product').find('.text-product-ref').data('sku');categoryName=$(this).closest('.card-product').find('.text-product-ref').data('category-name');product_name=$(this).closest('.card-product').find('.text-product-ref').data('title');selectedDocuments=[];});$(once('gtm-product-detail-item','.product-detail-item',context)).on('click',function(){productSourceRelated='';categoryName='';product_name='';selectedDocuments=[];});$(once('gtm-add-to-project-list','.add-to-project-list',context)).on('click',function(){if(selectedDocuments.length>0){var fileNames=selectedDocuments.map(function(doc){return doc.fileName;}).join(', ');var docTypes=selectedDocuments.map(function(doc){return doc.docType;}).filter(function(docType,index,all){return all.indexOf(docType)===index;}).join(', ');var demosku=$(this).closest('.card-product').find('.text-product-ref').data('sku');dataLayer.push({'event':'addToProjectList','ressourceType':'Document','ressourceSKU':$(".product-detail-item").parents('#product-detail-section').data('product-sku'),'ressourceCategory':docTypes,'productname':$(".product-detail-item").parents('#product-detail-section').data('title'),'file_name':fileNames,'pageUrl':current_url,'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});selectedDocuments=[];return;}var sku='';var product_Name='';if($('#is-product-detail').length>0&&productSourceRelated==''){sku=$(".product-detail-item").parents('#product-detail-section').data('product-sku');categoryName=$(".product-detail-item").parents('#product-detail-section').data('category-name');product_Name=$(".product-detail-item").parents('#product-detail-section').data('title');}let ressourceSKU=sku?sku:productSourceRelated;var productName='';productName=product_Name?product_Name:product_name;dataLayer.push({'event':'addToProjectList','ressourceType':'Products','ressourceSKU':ressourceSKU,'ressourceCategory':categoryName,'productName':productName,'pageUrl':current_url,'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('.deleteProduct-seo',context).click(function(){var sku=jQuery(this).data('sku');let category=jQuery(this).data('category');dataLayer.push({'event':'removeFromProjectList','ressourceType':'Product','ressourceSKU':sku,'ressourceCategory':category,'productName':$(this).data('product-name'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('.delete-cart',context).click(function(){var sku=jQuery(this).data('cart');var productName=$(this).data('productName');dataLayer.push({'event':'removeFromProjectList','ressourceType':'Product','ressourceSKU':sku,'productName':productName,'productName':$(this).data('product-name'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('.deleteDoc-seo',context).click(function(){var sku=jQuery(this).parents('.row-doc').data('sku');sku=sku??$('.delete-cart').data('sku');const productName=$(this).closest('.panel').find('.card-text .text-dark').text().trim();dataLayer.push({'event':'removeFromProjectList','ressourceType':'Document','ressourceSKU':sku,'productName':productName,'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$(document).on('click','#download-pdf',function(){var quantityProds=$('.totalAllproducts').attr('count-product');var qauntityDoc=$('.totalAllDoc').attr('totalalldoc');dataLayer.push({'event':'downloadProjectList','productQuantity':quantityProds,'documentQuantity':qauntityDoc,'ressourceSKU':$('[data-resource-sku]').attr('data-resource-sku'),'productName':$('[data-product-name]').attr('data-product-name'),'ressourceCategory':$('[data-resource-category]').attr('data-resource-category'),'documentType':$('[data-document-type]').attr('data-document-type'),'file_name':$('[data-file-name]').attr('data-file-name'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('#send-email-zip-link',context).click(function(){var resourceSKU=$(this).attr('data-resource-sku');var productName=$(this).attr('data-product-name');var resourceCategory=$(this).attr('data-resource-category');dataLayer.push({'event':'downloadProjectList','ressourceType':'Product','ressourceSKU':resourceSKU,'productName':productName,'ressourceCategory':resourceCategory,'documentType':$(this).attr('data-document-type'),'file_name':$(this).attr('data-file-name'),'productQuantity':$(this).attr('data-product-quantity'),'documentQuantity':$(this).attr('data-document-quantity'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('#data-filter input',context).click(function(){var filterResults=$('.card-product').length;dataLayer.push({'event':'productAddFilter','productFilterLabel':jQuery('label[for="'+this.id+'"]').text(),'productFilterValue':jQuery(this).is(':checked'),'filter_results':jQuery('.card-product').length,'productCategory':getDataLayerValue('productCategory').split('/')[0].trim(),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$(once('rules-suggestion-list','#suggestion-list a',context)).click(function(){let firstInput=$(this).find('.autocomplete-suggestion-user-input').text();let lastInput=$(this).find('.autocomplete-suggestion-suggestion-suffix').text();dataLayer.push({'event':'clickSearchSuggestion','textSuggestion':firstInput+lastInput});});const productListingFormIds=['#views-exposed-form-category-products-list-block-1','#views-exposed-form-acquia-search-search-products','#views-exposed-form-catalog-category-view-block-1'];if($(productListingFormIds.join(', ')).length){$(once('gtm-product-sort','select[id*="edit-sort-by"]',context)).on('change',function(){dataLayer.push({'event':'productSort','sortValue':jQuery(this).find("option:selected").text(),'pageUrl':window.location.origin+window.location.pathname,'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$(once('gtm-product-items-per-page','select[id*="edit-items-per-page"]',context)).on('change',function(){dataLayer.push({'event':'productShow','showValue':jQuery(this).find("option:selected").text(),'productCategory':getDataLayerValue('productCategory').split('/')[0].trim(),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});}$('.compare-check',context).click(function(){var sku=jQuery(this).closest('.card-product').find('.text-product-ref').data("sku");
82dataLayer.push({'event':'productCompare','ressourceSKU':sku,'productCategory':getDataLayerValue('productCategory'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('.slider-nav .slider-nav-item',context).click(function(){dataLayer.push({'event':'productCarrousel','ressourceSKU':jQuery('#sku-product').text()});});$('.link-zoom',context).click(function(){dataLayer.push({'event':'productZoom','ressourceSKU':jQuery('#sku-product').text()});});$('#pdp-find-store',context).click(function(){dataLayer.push({'event':'productFind','ressourceSKU':jQuery('#sku-product').text()});});$('#pdp-tabs .nav-item',context).click(function(){dataLayer.push({'event':'productTab','ressourceSKU':jQuery('#sku-product').text(),'anchor_link':$(this).text().trim(),'productCategory':getDataLayerValue('productCategory'),'pageCountry':getDataLayerValue('pageCountry'),'pageLanguage':getDataLayerValue('pageLanguage'),'pageTitle':getDataLayerValue('pageTitle'),'pageType':getDataLayerValue('pageType')});});$('#DOCUMENTATION .nav-link',context).click(function(){dataLayer.push({'event':'documentationTab','ressourceSKU':jQuery('#sku-product').text()});});$('.doc-item',context).click(function(){dataLayer.push({'event':'documentDownload','ressourceSKU':jQuery('#sku-product').text(),'ressourceCategory':jQuery(this).parents('.document-list').find('.document-type span').text()});});jQuery.fn.webformGTMTrackingGetInTouch=function(req){const data=req;if(data['last_name']!==''&&data['company_name']!==''&&data['email']!==''&&data['gdpr_consent_text']==1)window.dataLayer.push({event:'get_in_touch_form_submit'});};jQuery.fn.webformGTMTrackingWarrantyRegistration=function(req){const data=req;if(data['customer_name']!==''&&data['address_located']!==''&&data['email']!==''&&data['gdpr_consent_text']==1)window.dataLayer.push({event:'register_warrantly'});};}};})(jQuery,Drupal,drupalSettings,once);;
83(function($,Drupal,drupalSettings,cookies){var gridBreakpoints={xs:0,sm:768,md:1024,lg:1280,xl:1600};var ww=$(window).width();var timerSLider=500;getSectionBlockProducts();const comparatorCookie=cookies.get('comparator_products');let products=comparatorCookie?comparatorCookie.split(/,/):new Array();let checkboxSelector='.compare-check';jQuery('.btn-comparator-footer').on('click',function(event){event.preventDefault();});$(checkboxSelector).each(function(){const checkboxCookie=cookies.get($(this).attr('id'));if(checkboxCookie&&checkboxCookie=="true")$(this).prop('checked',checkboxCookie);});$('.custom-checkbox').mouseout(function(){$(this).find('.tooltiptext').attr('style','');}).mouseover(function(){if(products.length>=4){var checkbox=$(this).find('.compare-check');if(!checkbox.is(':checked')){var tooltip=$(this).find('.tooltiptext');if(tooltip.offset().left<0)tooltip.css({'visibility':'visible','opacity':'1','left':'100%'});else if(tooltip.offset().left+tooltip.width()>$(window).width())tooltip.css({'visibility':'visible','opacity':'1','left':'auto','right':'0'});else tooltip.css({'visibility':'visible','opacity':'1'});}}});$('.btn-comparator-footer').on('click',function(e){e.preventDefault();$(this).toggleClass('is-shrink');if($(this).hasClass('is-shrink'))cookies.set('comparator_block_shrink','true',{path:'/'});else cookies.set('comparator_block_shrink','false',{path:'/'});});appendDeleteEvent();$('body').delegate('.compare-check','change',function(e){e.preventDefault();let productId=$(this).closest('.custom-checkbox').find('.custom-control-label').attr('for');productId=productId.substr(productId.indexOf("_")+1);$(`input[id=customCheck_${productId}]`).prop('checked',this.checked);if(this.checked){if(products.length<=3){addProductToCookie(productId);cookies.set($(this).attr('id'),$(this).prop('checked'),{path:'/'});ajaxCallBack(productId,products.length-1);ajaxThumbnailCallBack(productId,products.length-1);}}else{deleteProductFromCookie(productId);deleteCheckboxCookie($(this).attr('id'));$('#comparator-list-products').find(`.comparator-item[data-id='${productId}']`).remove();appendComparatorEmptyCards();incrementComparatorCounter();ajaxOutCallBack();removeProductCardFromThumbnailSection(productId);
83$('#comparator-products-thumbnails').find(`.comparator-item-thumbnail[data-id='${productId}']`).remove();appendComparatorEmptyThumbnails();}});$("body").delegate(".comparator-product-delete","click",function(){let productId=$(this).parents('.comparator-item').attr('data-id');deleteProductFromCookie(productId);let checkbox=$('body').find(`.card-product[data-id='${productId}']`).find('.compare-check');checkbox.prop('checked',false);deleteCheckboxCookie('customCheck_'+productId);decrementComparatorCounter();ajaxOutCallBack();removeProductCardFromThumbnailSection(productId);$('#comparator-list-products').find(`.comparator-item[data-id='${productId}']`).remove();appendComparatorEmptyCards();$('#comparator-products-thumbnails').find(`.comparator-item-thumbnail[data-id='${productId}']`).remove();appendComparatorEmptyThumbnails();});jQuery('#btn-empty-comparator').click(function(e){e.preventDefault();$('#comparator-counter').text('0');$('.comparator-item').remove();$('.compare-check').prop('checked',false);cookies.set('comparator_products','',{path:'/'});deleteCheckboxesCookies();ajaxOutCallBack();location.reload();});function deleteCheckboxesCookies(){let cookiesArray=document.cookie.split(';');for(let i=0;i<cookiesArray.length;++i){let cookieName=cookiesArray[i].split('=')[0].trim();if(cookieName.substring(0,11)==="customCheck")cookies.set(cookieName,null,{path:'/'});}}function deleteProductFromCookie(product){let index=products.indexOf(product);if(index!=-1)products.splice(index,1);cookies.set('comparator_products',products.join(','),{path:'/'});}function addProductToCookie(product){if(jQuery.inArray(product,products)==-1){products.push(product);cookies.set('comparator_products',products,{path:'/'});}}function deleteCheckboxCookie(id){cookies.set(id,null,{path:'/'});}function incrementComparatorCounter(){let count=$("#comparator-list-products .comparator-item").length;$('#comparator-counter').text(count);}function decrementComparatorCounter(){let count=$("#comparator-list-products .comparator-item").length;$('#comparator-counter').text(count-1);}function appendComparatorEmptyThumbnails(){let comparatorThumbnailsCounter=$("#comparator-products-thumbnails .comparator-item-thumbnail").length;let cardSelector='#comparator-products-thumbnails .thumbnail-empty-card';let comparatorListThumbnails='#comparator-products-thumbnails';let emptyThumbnail='<div class="col thumbnail-empty-card"><div class="comparator-thubmnail comparator-thubmnail-empty"><span class="icon-empty-comparator"></span></div></div>';let emptyOneThumbnail=emptyThumbnail;let emptyTwoThumbnails=emptyThumbnail+emptyThumbnail;let emptyThreeThumbnails=emptyThumbnail+emptyThumbnail+emptyThumbnail;switch(comparatorThumbnailsCounter){case 1:$(cardSelector).remove();$(comparatorListThumbnails).append(emptyThreeThumbnails);break;case 2:$(cardSelector).remove();$(comparatorListThumbnails).append(emptyTwoThumbnails);break;case 3:$(cardSelector).remove();$(comparatorListThumbnails).append(emptyOneThumbnail);break;case 4:$(cardSelector).remove();break;}}function appendComparatorEmptyCards(){let comparatorItemsCounter=$("#comparator-list-products .comparator-item").length;let cardSelector='#comparator-list-products .comparator-empty-card';let comparatorListProducts='#comparator-list-products';let emptyCard='<div class="col comparator-empty-card"><div class="card-custom card-product card-row card card-empty-comparator"><span class="icon-empty-comparator"></span></div></div>';let emptyOneCard=emptyCard;let emptyTwoCards=emptyCard+emptyCard;let emptyThreeCards=emptyCard+emptyCard+emptyCard;switch(comparatorItemsCounter){case 1:$(cardSelector).remove();$(comparatorListProducts).append(emptyThreeCards);break;case 2:$(cardSelector).remove();$(comparatorListProducts).append(emptyTwoCards);break;case 3:$(cardSelector).remove();$(comparatorListProducts).append(emptyOneCard);break;case 4:$(comparatorListProducts).append(emptyOneCard);$(cardSelector).remove();break;}}function removeProductCardFromThumbnailSection(id){$('#comparator-products-thumbnails').find(`.comparator-thubmnail[data-id='${id}']`).remove();}function ajaxOutCallBack(){$.ajax({url:Drupal.url('compare-product-delete'),type:'GET',dataType:'json',success:function(response){appendComparatorEmptyCards();}});}function reorderCards(){var items=$('.comparator-item');items.sort(function(a,b){return parseInt($(a).data('position'))-parseInt($(b).data('position'));});items.appendTo('#comparator-list-products');}function reorderThumbnails(){var items=$('.comparator-item-thumbnail');items.sort(function(a,b){return parseInt($(a).data('position'))-parseInt($(b).data('position'));});
83items.appendTo('#comparator-products-thumbnails');}function showOnlyDifferences(){$('#show_differencies').on('change',function(){if($(this).is(":checked"))$('.table-comparator-technique .row-child').each(function(index,item){let td=$(item).find('.comparator-value');if(td.length===2)if($(td).eq(0).text().trim()===$(td).eq(1).text().trim()){$(this).closest('.row-parent').fadeOut();$(this).closest('.row-parent').addClass("faded");comparatorTableColumnsReorder();}if(td.length===3)if($(td).eq(0).text().trim()===$(td).eq(1).text().trim()&&$(td).eq(0).text().trim()===$(td).eq(2).text().trim()){$(this).closest('.row-parent').fadeOut();$(this).closest('.row-parent').addClass("faded");comparatorTableColumnsReorder();}if(td.length===4)if($(td).eq(0).text().trim()===$(td).eq(1).text().trim()&&$(td).eq(0).text().trim()===$(td).eq(2).text().trim()&&$(td).eq(0).text().trim()===$(td).eq(3).text().trim()){$(this).closest('.row-parent').fadeOut();$(this).closest('.row-parent').addClass("faded");comparatorTableColumnsReorder();}});else $('.table-comparator-technique .row-parent').each(function(index,item){$(item).removeClass('faded');$(item).fadeIn();comparatorTableColumnsReorder();});});}function comparatorTableColumnsReorder(){$('.table-comparator-technique .row-child, .table-comparator-technique .row-parent').css('background-color','#fff');$('.table-comparator-technique .row-parent:not(.faded)').each(function(i,el){if(i%2===0)$(this).css('background-color','#fff');else{$(this).css('background-color','#ECF4F8');$(this).find('.row-child').css('background-color','#ECF4F8');}});}function ajaxCallBack(product_id,position){const langCode=drupalSettings.path.pathPrefix;const ajaxSettings={url:drupalSettings.path.baseUrl+langCode+'compare-product/'+product_id+'/'+position};const ProductAjaxObject=Drupal.ajax(ajaxSettings);ProductAjaxObject.commands.insert=function(ajax,response,status){$('#comparator-list-products').append(response.data);incrementComparatorCounter();appendComparatorEmptyCards();};ProductAjaxObject.commands.destroyObject=function(ajax,response,status){Drupal.ajax.instances[this.instanceIndex]=null;};ProductAjaxObject.execute();}function ajaxThumbnailCallBack(product_id,position){const langCode=drupalSettings.path.pathPrefix;const ajaxSettings={url:drupalSettings.path.baseUrl+langCode+'product-thumbnail/'+product_id+'/'+position};const ProductThumbnailAjaxObject=Drupal.ajax(ajaxSettings);ProductThumbnailAjaxObject.commands.insert=function(ajax,response,status){$('#comparator-products-thumbnails').append(response.data);appendComparatorEmptyThumbnails();};ProductThumbnailAjaxObject.commands.destroyObject=function(ajax,response,status){Drupal.ajax.instances[this.instanceIndex]=null;};ProductThumbnailAjaxObject.execute();}function ComparatorSectionBlockDisplay(){const langCode=drupalSettings.path.pathPrefix;let pathname=window.location.pathname;let countComparatorElements=$("#comparator-counter").text();if(countComparatorElements=="0"||pathname=='/'+langCode+'member/login'||pathname.indexOf("/layout")>=0||$(".comparator-products").length)jQuery('#comparator-all-pages-block').fadeOut();else jQuery('#comparator-all-pages-block').fadeIn();}$(document).ajaxComplete(function(event,xhr,settings){reorderCards();reorderThumbnails();appendComparatorEmptyCards();appendComparatorEmptyThumbnails();ComparatorSectionBlockDisplay();if(products.length<=1)$('#compare-link').addClass('disabled');else $('#compare-link').removeClass('disabled');if(products.length>=4)$('.compare-check').each(function(){if(!$(this).prop('checked')){$(this).addClass('checked-test');$(this).attr('disabled',true);}});else $('.compare-check').attr('disabled',false);});$(document).ready(function(){ComparatorSectionBlockDisplay();const comparatorBlockStateCookie=cookies.get('comparator_block_shrink');if(comparatorBlockStateCookie=='true')$('.comparator-footer, .btn-comparator-footer').addClass('is-shrink');else{if(comparatorBlockStateCookie=='false')$('.comparator-footer, .btn-comparator-footer').removeClass('is-shrink');}let i;for(i=0;i<products.length;++i)if(products[i]!=='null'){ajaxCallBack(products[i],i);ajaxThumbnailCallBack(products[i],i);}});function getSectionBlockProducts(){if($('#comparator-products-sections').length){var cookie_products=getCookie("comparator_products");if(cookie_products!==undefined&&cookie_products!=="")$.ajax({url:Drupal.url("comparator-section-block-products")+'?product_ids='+decodeURIComponent(cookie_products),type:'GET',dataType:'json',success:function(response){let command=response.find((o)=>o.command==='insert');jQuery(command.selector).append(command.data);stickyComparator();appendDeleteEvent();appendSliderEvent();showOnlyDifferences();Drupal.behaviors.addProductToProjectFromSearchResultsPage.attach();}});else $('#comparator-products-sections').html(`
84         <div class="container pt-lg-6">
85          <div class="d-sm-flex justify-content-between">
86            <div>
87              <h1 class="h2 font-family-medium mb-sm-1"> `+Drupal.t('Compare Products')+` </h1>
88              <div class="h5 font-family-light mb-sm-4 mb-3"><em> `+drupalSettings.empty_comparator+` </em></div>
89            </div>
90          </div>
91        </div>
92        `);}}function deleteCardFormProducts(){var $sliderComparator=$('.comparator-products');var $sliderFourItems=$('.slider-four-items');var $classColumnComparator='col';$('.comparator-products .alert').on('closed.bs.alert',function(){var targetCard=$(this).data('card-target');$('.table-comparator-technique').find('[data-product-id="'+targetCard+'"]').remove();$sliderFourItems.slick('unslick');$sliderFourItems.find('[data-product-id="'+targetCard+'"]').remove();$sliderComparator.slick('unslick');setTimeout(function(){$sliderFourItemsLenght=$sliderFourItems.children().length;$sliderFourItems.slick({infinite:false,arrows:false,adaptiveHeight:true,dots:false,slidesToShow:4,slidesToScroll:4,swipe:false,asNavFor:'.comparator-products',responsive:[{breakpoint:gridBreakpoints.lg,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:gridBreakpoints.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:gridBreakpoints.sm,settings:{slidesToShow:1,slidesToScroll:1}}]});if(!hasSliderFourFiredWithMobile($sliderFourItemsLenght)){$sliderFourItems.slick('unslick');$sliderFourItems.addClass('row');$sliderFourItems.children().addClass('col');$sliderFourItems.find('.card-row').attr('style','');}else{$sliderFourItems.slick('init');$sliderFourItems.removeClass('row');$sliderFourItems.find('.col').removeClass('col');}$sliderComparatorLenght=$sliderComparator.children('.alert').length;$sliderComparator.on('init',function(event,slick){$('.table-comparator-technique').find('.comparator-value').hide();slick.$slides.each(function(index,item){if($(item).hasClass('slick-active'))$('.table-comparator-technique').find('[data-product-id="'+$(item).data('card-target')+'"]').show();});});$sliderComparator.slick({infinite:false,arrows:false,adaptiveHeight:true,dots:false,slidesToShow:4,slidesToScroll:4,asNavFor:'.slider-four-items',responsive:[{breakpoint:gridBreakpoints.lg,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:gridBreakpoints.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:gridBreakpoints.sm,settings:{slidesToShow:1,slidesToScroll:1}}]}).on('setPosition',function(event,slick){if(slick.$slideTrack.height()>0)slick.$slides.css('height',slick.$slideTrack.height()+'px');});if(!hasSliderFourFiredWithMobile($sliderComparatorLenght)){$sliderComparator.slick('unslick');$sliderComparator.addClass('row');$sliderComparator.children().addClass($classColumnComparator);$sliderComparator.find('.card-row').attr('style','');$sliderComparator.find('.alert').attr('style','');$('.table-comparator-technique').find('.comparator-value').show();}else{$sliderComparator.slick('init');$sliderComparator.removeClass('row');$sliderComparator.find('.alert').removeClass($classColumnComparator);}},50);});}function stickyComparator(){if($('.comparator').length){var scrollTop=$(window).scrollTop();var timer=250;var comparatorHeight=$('.comparator').height();var scroll=$('.comparator').offset().top-comparatorHeight-$('.header-simple--top').outerHeight();if($('.select-country').length)scroll-=$('.select-country').outerHeight();if(scroll<0)scroll=20;var fireStickyComparator=(ww>
92gridBreakpoints.lg)?true:false;var adminMenuBar=0;var headerHeight=$('.header-simple--mid').height();if($('.header-simple--cookies').length&&$('.header-simple--cookies').hasClass('show-cookies'))headerHeight+=$('.header-simple--cookies.show-cookies').height();if($('.header-simple--notif').length&&!$('.header-simple--notif').hasClass('.hide-notif'))headerHeight+=$('.header-simple--notif').height();if($('#toolbar-administration').length){headerHeight+=39;adminMenuBar+=39;}if($('#toolbar-item-administration-tray').length){headerHeight+=39;adminMenuBar+=39;}$("#hide-notif").on('click',function(){headerHeight-=$('.header-simple--notif').height();stickyComparator();});$("#accept-cookies").on('click',function(){headerHeight-=$('.header-simple--cookies.show-cookies').height();stickyComparator();});function stickyComparator(){if(scrollTop>scroll&&fireStickyComparator){$('.comparator').addClass('is-sticky').css('top',headerHeight);$('body').css('padding-top',comparatorHeight);}else{$('.comparator').removeClass('is-sticky').removeAttr('style');$('body').css('padding-top',adminMenuBar);}}stickyComparator();$(window).on('scroll',function(){scrollTop=$(window).scrollTop();stickyComparator();});var resizeTimer;$(window).on('resize',function(){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){scrollTop=$(window).scrollTop();ww=$(window).width();fireStickyComparator=(ww>gridBreakpoints.lg)?true:false;stickyComparator();},timer);});}}function hasSliderFourFiredWithMobile(sliderfourItemsLenght){var fireFourSliderWithMobile;if(ww<gridBreakpoints.sm&&sliderfourItemsLenght>1)fireFourSliderWithMobile=true;else if(ww<gridBreakpoints.md&&ww>=gridBreakpoints.sm&&sliderfourItemsLenght>2)fireFourSliderWithMobile=true;else if(ww<gridBreakpoints.lg&&ww>=gridBreakpoints.md&&sliderfourItemsLenght>3)fireFourSliderWithMobile=true;else if(ww>gridBreakpoints.lg&&sliderfourItemsLenght>4)fireFourSliderWithMobile=true;else fireFourSliderWithMobile=false;return fireFourSliderWithMobile;}function sliderComparatorProducts(){var $sliderComparator=$('.comparator-products');if($sliderComparator.length){var $classColumnComparator='col';var $sliderComparatorLenght=$sliderComparator.children('.alert').length;$sliderComparator.find('.alert').on('closed.bs.alert',function(){var targetCard=$(this).data('card-target');$('.table-comparator-technique').find('[data-product-id="'+targetCard+'"]').remove();$('.slider-four-items').find('[data-product-id="'+targetCard+'"]').remove();alertComparatorLength=$('.comparator-products .alert').length;stickyComparator();});$sliderComparator.on('init',function(event,slick){$('.table-comparator-technique').find('.comparator-value').hide();slick.$slides.each(function(index,item){if($(item).hasClass('slick-active'))$('.table-comparator-technique').find('[data-product-id="'+$(item).data('card-target')+'"]').show();});});$sliderComparator.slick({infinite:false,arrows:false,adaptiveHeight:true,dots:false,slidesToShow:4,slidesToScroll:4,asNavFor:'.slider-four-items',responsive:[{breakpoint:gridBreakpoints.lg,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:gridBreakpoints.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:gridBreakpoints.sm,settings:{slidesToShow:1,slidesToScroll:1}}]}).on('afterChange',function(event,slick,currentSlide,nextSlide){$('.table-comparator-technique').find('.comparator-value').hide();slick.$slides.each(function(index,item){if($(item).hasClass('slick-active'))$('.table-comparator-technique').find('[data-product-id="'+$(item).data('card-target')+'"]').show();});}).on('setPosition',function(event,slick){if(slick.$slideTrack.height()>0)slick.$slides.css('height',slick.$slideTrack.height()+'px');});if(!hasSliderFourFiredWithMobile($sliderComparatorLenght)){$sliderComparator.slick('unslick');$sliderComparator.addClass('row');$sliderComparator.children().addClass($classColumnComparator);$sliderComparator.find('.card-row').attr('style','');$sliderComparator.find('.alert').attr('style','');$('.table-comparator-technique').find('.comparator-value').show();}else{$sliderComparator.slick('init');$sliderComparator.on('init',function(event,slick){$('.table-comparator-technique').find('.comparator-value').hide();slick.$slides.each(function(index,item){if($(item).hasClass('slick-active'))$('.table-comparator-technique').find('[data-product-id="'+$(item).data('card-target')+'"]').show();});});$sliderComparator.removeClass('row');$sliderComparator.find('.alert').removeClass($classColumnComparator);}var resizeTimerFour;$(window).on('resize',function(e){clearTimeout(resizeTimerFour);resizeTimerFour=setTimeout(function(){ww=$(window).width();hasSliderFourFiredWithMobile($sliderComparatorLenght);
92if(!hasSliderFourFiredWithMobile($sliderComparatorLenght)){$sliderComparator.slick('unslick');$sliderComparator.addClass('row');$sliderComparator.children().addClass($classColumnComparator);$sliderComparator.find('.card-row').attr('style','');$('.table-comparator-technique').find('.comparator-value').show();}else{$sliderComparator.slick('init',function(event,slick){$('.table-comparator-technique').find('.comparator-value').hide();slick.$slides.each(function(index,item){if($(item).hasClass('slick-active'))$('.table-comparator-technique').find('[data-product-id="'+$(item).data('card-target')+'"]').show();});});$sliderComparator.removeClass('row');$sliderComparator.find('.alert').removeClass($classColumnComparator);}},timerSLider);});}}function sliderFourItems(){var $sliderFourItems=$('.slider-four-items');if($sliderFourItems.length){var $sliderFourItemsLenght=$sliderFourItems.children().length;$sliderFourItems.slick({infinite:false,arrows:false,adaptiveHeight:true,dots:false,slidesToShow:4,slidesToScroll:4,swipe:false,asNavFor:'.comparator-products',responsive:[{breakpoint:gridBreakpoints.lg,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:gridBreakpoints.md,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:gridBreakpoints.sm,settings:{slidesToShow:1,slidesToScroll:1}}]});if(!hasSliderFourFiredWithMobile($sliderFourItemsLenght)){$sliderFourItems.slick('unslick');$sliderFourItems.addClass('row');$sliderFourItems.children().addClass('col');$sliderFourItems.find('.card-row').attr('style','');}else{$sliderFourItems.slick('init');$sliderFourItems.removeClass('row');$sliderFourItems.find('.col').removeClass('col');}var resizeTimerFourItems;$(window).on('resize',function(e){clearTimeout(resizeTimerFourItems);resizeTimerFourItems=setTimeout(function(){ww=$(window).width();hasSliderFourFiredWithMobile($sliderFourItemsLenght);if(!hasSliderFourFiredWithMobile($sliderFourItemsLenght)){$sliderFourItems.slick('unslick');$sliderFourItems.addClass('row');$sliderFourItems.children().addClass('col');$sliderFourItems.find('.card-row').attr('style','');}else{$sliderFourItems.slick('init');$sliderFourItems.removeClass('row');$sliderFourItems.find('.col').removeClass('col');}},timerSLider);});}}function appendSliderEvent(){sliderComparatorProducts();deleteCardFormProducts();sliderFourItems();}function appendDeleteEvent(){jQuery(".comparator-delete").click(function(){let productId=$(this).closest('.card-comparator').attr('data-id');deleteProductFromCookie(productId);let count=$('.comparator-products .card-comparator').length;$('#products-counter').text(count-1);deleteCheckboxCookie('customCheck_'+productId);if((count-1)==0||(count-1)==1)window.location.reload();});}function getCookie(name){const value=`; ${document.cookie}`;const parts=value.split(`; ${name}=`);if(parts.length===2)return parts.pop().split(';').shift();}})(jQuery,Drupal,drupalSettings,window.Cookies);;
93(function($,Drupal,drupalSettings){Drupal.behaviors.legrand_ecat_share={attach:function(context,settings){var isDefaultMenuOpen=$('.first-level.header-mega-menu-item.is-default');if(isDefaultMenuOpen.length>0){var $navTracker=$('.js-nav-tracker'),positionX=isDefaultMenuOpen.offset().left+(isDefaultMenuOpen.width()/2)-($navTracker.width()/2);$navTracker.css('left',positionX).addClass('active');var headerHeight=$('.header-simple').outerHeight(true);var windowHeight=$(window).height();var megaMenuHeight=isDefaultMenuOpen.find('.header-mega-menu-desktop').outerHeight(true);var megaMenuHeightCalculated=windowHeight-headerHeight;if(windowHeight<megaMenuHeight+headerHeight)isDefaultMenuOpen.find('.header-mega-menu-desktop').css({'max-height':megaMenuHeightCalculated,'overflow-y':'scroll'});}if(window.location.hash==='#documentation-section')scrollToID('documentation-section',1000);function scrollToID(id,speed){var offSet=$('.header-logo--wp').height()*2;var obj=$('#'+id);if(obj.length){var offs=obj.offset();var targetOffset=offs.top-offSet;$('html,body').animate({scrollTop:targetOffset},speed);}}$("#TECHNICAL-DOCUMENTATION input[type=checkbox]").change(function(){var a=$("#TECHNICAL-DOCUMENTATION input[type=checkbox]");if(a.filter(":checked").length===0){$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");}});$('#shareDoc',context).click(function(e){e.preventDefault();var checkedDocuments="";var i=0;$('input[name="documentSelect"]',context).each(function(){if($(this).prop('checked')){checkedDocuments+=$(this).parent().attr("data-href")+"\n";i=i+1;}});let titleDoc=((i>1)?Drupal.t("Document")+"s:":Drupal.t("Document")+":");$(("[class^='a2a_button_']")).on('click',function(){$('input[type="checkbox"]').prop("checked",false);});if(i>1){$("#share_modal_prod",context).css('display','none');$("#share-modal-data",context).css('display','flex');$("#share-modal-data",context).attr("data-a2a-url",checkedDocuments);$("#share-modal-data",context).attr("data-a2a-title",titleDoc);}else{$("#share_modal_prod",context).css('display','flex');$("#share-modal-data",context).css('display','none');$("#share_modal_prod",context).attr("data-a2a-url",checkedDocuments);$("#share_modal_prod",context).attr("data-a2a-title",titleDoc);$("#share-teams",context).click(function(){$(this).attr("href","https://teams.microsoft.com/share?href="+checkedDocuments);$(this).parent(".teams-share-button").data("href",checkedDocuments);window.open('https://teams.microsoft.com/share?href='+checkedDocuments,'ms-teams-share-popup','width=700,height=600');return false;});$("#share_modal_prod",context).find("[class^=a2a_button_").click(function(){$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");$("#TECHNICAL-DOCUMENTATION input[type=checkbox]").prop('checked',fal
93se);});}$("[id^=share-sugg-doc-",context).find("[class^=a2a_button_").click(function(){if(!$(e.target).is($(this).find(".close")))$(".close").trigger('click');});$('#share-modal .close').trigger('click');});$('#is-product-detail').on('click','#shareProd',function(e){const linkProduct=$("#share_modal_prod",context).attr("data-a2a-url");const titleProduct=$("#share_modal_prod",context).attr("data-a2a-title");$("#share_modal_prod",context).attr("data-a2a-url",linkProduct);$("#share_modal_prod",context).attr("data-a2a-title",titleProduct);$("#share_modal_prod",context).css('display','flex');$("#share-modal-data",context).css('display','none');$("#share-teams",context).click(function(){$(this).attr("href","https://teams.microsoft.com/share?href="+linkProduct);$(this).parent(".teams-share-button").data("href",linkProduct);window.open('https://teams.microsoft.com/share?href='+linkProduct,'ms-teams-share-popup','width=700,height=600');return false;});$('input[type="checkbox"]').prop("checked",false);$('#share-modal .close').trigger('click');});$("[id^=share-modal-",context).find("[class^=a2a_button_").click(function(e){$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");if(!$(e.target).is($(this).find(".close"))){$(".close").trigger('click');$("#TECHNICAL-DOCUMENTATION input[type=checkbox]").prop('checked',false);}});$("[id^=share-sugg-doc-",context).find("[class^=a2a_button_").click(function(e){if(!$(e.target).is($(this).find(".close")))$(".close").trigger('click');});$("[id^=share-modal-csv",context).find("[class^=a2a_button_").click(function(e){if(!$(e.target).is($(this).find(".close")))$(".close").trigger('click');});$('.share-product-list',context).click(function(e){let product_url=$(this).data("url-ptoduct");$(".teams-share-button",context).attr("data-href",$(this).data("url-ptoduct"));$("#share_modal_prod",context).attr("data-a2a-url",$(this).data("url-ptoduct"));$("#share_modal_prod",context).attr("data-a2a-title",$(this).data("title-product"));$("#share_modal_prod",context).css('display','flex');$("#share-modal-data",context).css('display','none');$("#share-teams",context).click(function(){$(this).attr("href","https://teams.microsoft.com/share?href="+product_url);$(this).parent(".teams-share-button").data("href",product_url);window.open('https://teams.microsoft.com/share?href='+product_url,'ms-teams-share-popup','width=700,height=600');return false;});$('#share-modal .close').trigger('click');$('input[type="checkbox"]').prop("checked",false);});$('#shareProducts',context).click(function(e){e.preventDefault();var checkedProducts="";var i=0;$('input[name="productSelected"]',context).each(function(){if($(this).prop('checked')){checkedProducts+=$(this).parents('.product-row').find(".card-product").attr("data-href")+"\n";i=i+1;}});let title_products=((i>1)?Drupal.t("Product")+"s:":Drupal.t("Product")+":");if(i>1){$('.checked-products',context).addClass('d-none');$("#share_modal_prod",context).css('display','none');$("#share-modal-data",context).css('display','flex');$("#share-modal-data",context).attr("data-a2a-url",checkedProducts);$("#share-modal-data",context).attr("data-a2a-title",title_products);}else{$("#share_modal_prod",context).attr("data-a2a-url",checkedProducts);$("#share_modal_prod",context).attr("data-a2a-title",title_products);$("#share_modal_prod",context).css('display','flex');$("#share-modal-data",context).css('display','none');$("#share-teams",context).click(function(){$(this).attr("href","https://teams.microsoft.com/share?href="+checkedProducts);$(this).parent(".teams-share-button").data("href",checkedProducts);window.open('https://teams.microsoft.com/share?href='+checkedProducts,'ms-teams-share-popup','width=700,height=600');return false;});$('#share-modal .close').trigger('click');}$(("[class^='a2a_button_']")).on('click',function(){$('input[type="checkbox"]').prop("checked",false);});});$('.social-modal a').click(function(){setTimeout(function(){$('#share-modal .close').trigger('click');},500);});function navScroll(){var ww=$(window).width();if($('.nav-scroll .nav-link',context).length)$('.nav-scroll .nav-link',context).first().addClass('active');$('.nav-scroll',context).on('click','.nav-link[href^="#"]',function(e){e.preventDefault();var $headerHeight=$('header').outerHeight(true);if($('#toolbar-administration').length)$headerHeight+=39;if($('#toolbar-item-administration-tray').hasClass('is-active')&&ww>975)$headerHeight+=39;if($(this).attr("href")!='#'){e.preventDefault();$("html, body").animate({scrollTop:$($(this).attr("href")).offset().top-($headerHeight)});}});if(window.location.href.indexOf(drupalSettings.legrand_ecat.search_page_url)<0)localStorage.removeItem('navProductTabSearchId');if($('.nav-scrollable-mobile').length){var navScrollableViewportTop=$('.nav-scrollable-viewport').offset().top;$('#js-show-filter-result-page').on('click',function(){$('.nav-scrollable-mobile').removeClass('is-scroll');setTimeout(function(){navScrollableViewportTop=$('.nav-scrollable-viewport').offset().top;},500);});
93var navScrollableViewportHeight=$('.nav-scrollable-viewport').outerHeight(true);var wh=$(window).height();$(window).on('scroll',function(){var scrollTop=$(window).scrollTop();if(scrollTop>navScrollableViewportTop&&wh+scrollTop<navScrollableViewportTop+navScrollableViewportHeight)$('.nav-scrollable-mobile').addClass('is-scroll');else $('.nav-scrollable-mobile').removeClass('is-scroll');});}}navScroll();}};$('.page-root-ecat .faq-accordion .panel a').on('click',function(){if($(this).hasClass('collapsed'))$(this).addClass('accordion-open');else $(this).removeClass('accordion-open');});}(jQuery,Drupal,drupalSettings));;
94/* @license MIT https://raw.githubusercontent.com/js-cookie/js-cookie/v3.0.5/LICENSE */
95!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o;};}());}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o];}return e;}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof (i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c;}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break;}catch(e){}}return e?o[e]:o;}},remove:function(t,n){r(t,"",e({},n,{expires:-1}));},withAttributes:function(n){return t(this.converter,e({},this.attributes,n));},withConverter:function(n){return t(e({},this.converter,n),this.attributes);}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}});}({read:function(e){return '"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent);}},{path:"/"});return t;}));;
96/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
97(function($,Drupal,drupalSettings,once,cookies){let productSourceRelated='';Drupal.behaviors.importProjectCsv={attach:function(context,settings){function updateSubmitButtonState(){let hasError=$('#edit-my-file .dz-error').length>0;let hasPreview=$('#edit-my-file .dz-preview').length===0;$('#edit-submit').prop('disabled',hasError||hasPreview);}if(window.location.pathname.includes('projects')){let observer=new MutationObserver(updateSubmitButtonState);observer.observe($('#edit-my-file',context)[0],{childList:true,subtree:true});updateSubmitButtonState();}$('#overrideExistingProject').on('click','#cancel',function(){$('#overrideExistingProject').modal('hide');});$('#importProjectError').on('click','#cancel',function(){$('#importProjectError').modal('hide');location.reload();});$('#overrideExistingProject').on('click','#cancel',function(){$('#overrideExistingProject').modal('hide');});$('#importProjectError').on('click','#cancel',function(){$('#importProjectError').modal('hide');location.reload();});$(document,context).on('click','#importProjectFileButton',function(){$('#importProjectError').hide();$('#edit-my-file--2').click();$('#importProject').hide();});$(document,context).on('change','input[id*="edit-my-file"]',function(){var fileName=$(this)[0].files[0].name;if(fileName.split('.')[1].toLowerCase()!=='csv'){var msg=drupalSettings.legrand_ecat_project.file_error;$('#importProject').modal('hide');$('#importProjectError').modal('show');$('#importProjectError').on('shown.bs.modal',function(){$(this).find('.error-body').html(msg);});$('#importProject').on('shown.bs.modal',function(){$('#importProjectError').modal('hide');});}jQuery('.confirm-upload-message').text($('.confirm-upload-message').text().replace("@projectname",fileName));var recentUploadedProjectName;if(localStorage.getItem('projectName')==null)localStorage.setItem('projectName',fileName);else{recentUploadedProjectName=localStorage.getItem('projectName');jQuery('.confirm-upload-message').text($('.confirm-upload-message').text().replace(recentUploadedProjectName,fileName));localStorage.setItem('projectName',fileName);}$('.filename-label').text(fileName);$('#body-import-project').hide();$('.import-project-csv').hide();$('.confirm-upload-message').removeClass('d-none');});$.fn.projectAlreadyExist=function(fileName,fileExtension){$('#overrideProject').attr('data-file-name',fileName[1]);$('#overrideProject').attr('data-file-extension',fileExtension[1]);$('#importProject').modal('hide');$('#overrideExistingProject').modal('show');$('#overrideProject').click(function(){fileName=$(this).data('file-name');fileExtension=$(this).data('file-extension');let replaceUrl='/legrand-ecat-project/replace/'+fileName+'/'+fileExtension;const replaceProjectAjaxObject=Drupal.ajax({url:replaceUrl});replaceProjectAjaxObject.execute();});};$.fn.importProjectCsvSuccess=function(projectName){$('#overrideExistingProject').modal('hide');$('#importProject').modal('hide');$('#importProjectProgression').modal('show');$('#importProjectProgression').on('shown.bs.modal',function(){setTimeout(function(){$('.progress-bar').attr('aria-valuenow',100).css('width','100%');$('.import-progress').text('100%');},3000);});setTimeout(function(){$('#importProjectProgression').modal('hide');$('#importProject').modal('hide');
97var isClicked=$('#cancelimportProjectProgression').data('clicked');if(isClicked=='no')$('#importProjectSuccess').modal('show');else $('#importProjectSuccess').modal('hide');},5000);$('#importProjectFileButton').click(function(){let url=encodeURI(window.location.origin+'/project/'+projectName);$(this).attr('href',url);});$('#importProjectSuccess').on('hidden.bs.modal',function(){location.reload();});};$('#importProjectProgression').on('hidden.bs.modal',function(){$('.import-progress').text('0%');$('.progress-bar').attr('aria-valuenow',0).css('width','0%');});$('#cancelimportProjectProgression',context).click(function(){$(this).data('clicked','yes');var refObj=getCookieProject();let keys=Object.keys(refObj);delete refObj[keys[keys.length-1]];setDocCookie(JSON.stringify(refObj));$('#importProjectSuccess').modal('hide');});$('#cancelimportProjectProgression').data('clicked','no');$('#importProject').on('shown.bs.modal',function(){$('.confirm-upload-message').addClass('d-none');$('#file-body-name span').text('');$('#body-import-project').show();$('input[id*="edit-my-file"]').val('');$('.import-project-csv').show();});$.fn.importProjectCsvServerError=function(serverError){$('#importProject').modal('hide');$('#importProjectServerError').modal('show');if(serverError[1]!==null)var msg=serverError[1];$('#importProjectServerError').on('shown.bs.modal',function(){if(msg!==undefined)$(this).find('.server-error-msg').html(msg);});$('#importProject').on('shown.bs.modal',function(){$('#importProjectServerError').modal('hide');});};$.fn.importProjectCsvError=function(wrongReferences,wrongQuantities,refError,quantityError,existingProducts,totalOfLines,importedProductsTotal,productsWithWrongQuantities,projectName){$('#overrideExistingProject').modal('hide');let output=productsWithWrongQuantities[1].map((i,v)=>({reference:i,quantity:wrongQuantities[1][v]}));var htmlResults='';output.forEach(function(item,index){htmlResults+="> "+item.reference+"<br />";});let output1=wrongReferences[1].map((i,v)=>({reference:i}));var htmlResults1='';output1.forEach(function(item,index){htmlResults1+="> "+item.reference+"<br />";});$('#importProject').modal('hide');if(jQuery.isEmptyObject(existingProducts[1])==false)$('#importProjectError').find('#myProjects').removeClass('d-none');$('#importProjectError').modal('show');if(wrongReferences[1].length>0){var msg1=refError[1];var args1=htmlResults1;}if(wrongQuantities[1].length>0){var msg2=quantityError[1];var args2=htmlResults;}$('#importProjectError').on('shown.bs.modal',function(){$(this).find('.error-msg').html(msg1);jQuery('.error-msg').text($('.error-msg').text().replace("@totalProducts",totalOfLines[1]));jQuery('.error-msg').text($('.error-msg').text().replace("@importedProducts",importedProductsTotal[1]));$(this).find('.error-body').html(args1);$(this).find('.error-quantity-msg').html(msg2);$(this).find('.error-quantity-body').html(args2);});$('#myProjects').click(function(){let url=encodeURI(window.location.origin+'/project/'+projectName[1]);$(this).attr('href',url);});$('#importProjectError .close').on('click',function(){location.reload();});$(document).on('click',function(event){var $target=$(event.target);if(!$target.closest('#importProjectError.in .modal-dialog').length&&$('#importProjectError.in .modal-dialog').is(":visible"))location.reload();});$('#importProject').on('shown.bs.modal',function(){$('#importProjectError').modal('hide');});};}};Drupal.behaviors.projectGenerateCsv={attach:function(context,settings){$('.export-project-csv',context).click(function(e){e.preventDefault();let products_counter=$(this).parents('.choose-action').data('products-counter');let documents_counter=$(this).parents('.choose-action').data('documents-counter');if(products_counter===0&&documents_counter!==0){$('#accessEmptyProjectWithDocuments').modal('show');return;}let projectNameCsv=$(this).attr('data-project-name-csv');var $modal=$('#generate-modal-csv'),$bar=$modal.find('.progress-bar');setTimeout(function(){$bar.addClass('animate');$bar.attr('aria-valuenow','100');$bar.find('span').text(''+Drupal.t('100% complete'));},1500);$modal.modal("show");$.ajax({url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+'exportcsv/'+projectNameCsv+'?'+Date.now(),success:function(response){jQuery('#download-csv-file').attr('href',response.filename);let successMessage=Drupal.t('The project @projectname have been successfully exported to CSV file.');if(response.success_message.length>0)successMessage=response.success_message;jQuery('#success_message').text(successMessage.replace("@projectname",projectNameCsv));$modal.modal("hide");$bar.removeClass('animate');$bar.attr('aria-valuenow','0');$bar.find('span').text(''+Drupal.t('0% complete'));jQuery('#export-modal-csv').modal("show");$("#share_modal_csv",context).attr("data-a2a-url",response.filename);$("#share_modal_csv",context).attr("data-a2a-title",projectNameCsv);$('#share-csv-file',context).click(function(){jQuery('#export-modal-csv').modal("hide");jQuery('#share-modal-csv').modal("show");});$('#download-csv-file',context).click(function(){jQuery('#export-modal-csv').modal("hide");});$('.a2a_button_whatsapp, .a2a_button_email',context).click(function(){jQuery('#share-modal-csv').modal("hide");});},error:function(response){let errorMessage=Drupal.t('An error occurred while you were downloading the project. Please try again!');
97if(drupalSettings.legrand_ecat_projet.error_message.length>0)errorMessage=drupalSettings.legrand_ecat_projet.error_message;jQuery('#generate-modal-csv').modal("hide");jQuery('#error-message').text(errorMessage);jQuery('#error-modal-csv').modal("show");}});});}};Drupal.behaviors.projectCreateAjaxLink={attach:function(context,settings){$("#staticBackdropC input").keypress(function(event){if(event.keyCode===13)$("#listing-add-project-link").click();});function IsValidValue(event){var regex=new RegExp("^[^\\/\\\\#*+]+$");var key=String.fromCharCode(!event.charCode?event.which:event.charCode);if(!regex.test(key)){event.preventDefault();return false;}}let inputEl=document.querySelectorAll(".project-name");inputEl.forEach((el)=>{el.addEventListener('paste',(e)=>{const pastedText=e.clipboardData.getData('text');el.value=pastedText.replace(/[&\/\\\\#*]/g,"");e.preventDefault();});});$("#add-project input").keypress(function(event){IsValidValue(event);if(event.keyCode===13)$("#add-project-link").click();});$("#staticBackdrop .modal-content").click(function(e){e.stopPropagation();if($(context).find('.alert-warning').length>0)$('.alert-warning').remove();if($(context).find('input[name="project-name"]').val()==='0'){$('<div class="alert alert-warning alert-dismissible" role="alert">'+Drupal.t('Please enter a different Value.')+'</div>').insertBefore('#list-projects');$(context).find('.modal-header')[0].scrollIntoView(true);}if($(context).find('input[name="project-name"]').length>0&&$(context).find('input[name="project-name"]').val()!=0)$("#add-project-link").click();});$('#add-project-link',context).click(function(e){e.preventDefault();const project_name=$(context).find('input[name="project-name"]').val();if(project_name.length>0&&project_name!==0&&project_name!=='.'&&project_name!=='$'){const ajaxSettings={async:false,url:window.location.origin+drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+'legrand-ecat-project/create/'+$(context).find('input[name="project-name"]').val()};ajaxCallBack(ajaxSettings);$(context).find('input[name="project-name"]').val('');setTimeout(function(){$('#parent-project',context).hide();$('.add-project-link-parent',context).show();},80);}});$('#add-project-link-hide-field',context).click(function(e){e.preventDefault();$('#parent-project',context).hide();$('.add-project-link-parent',context).show();});$('.add-project-link-parent #add-project-link').click(function(e){e.preventDefault();if($('#parent-project',context).is(":hidden")){$('#parent-project',context).show();$('.add-project-link-parent',context).hide();}else{if($('#parent-project',context).is(":visible")){$('.add-project-link-parent',context).hide();$('#parent-project',context).show();}}});}};Drupal.behaviors.projectCreateListingAjaxLink={attach:function(context,settings){$('#staticBackdropC').on('show.bs.modal',function(){removeAlertprojectCreate();});$('#listing-add-project-link',context).click(function(e){e.preventDefault();removeAlertprojectCreate();const project_name=$(context).find('input[name="project-name-list"]').val();$(context).find('input[name="project-name"]').val('');if(project_name.length>0&&project_name!=0&&project_name!='.'&&project_name!='$'){const ajaxSettings={url:window.location.origin+drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+'legrand-ecat-project/create/'+project_name};ajaxCallBack(ajaxSettings,'#list-projects-page');$('.listing-projects.close').trigger('click');$(context).find('input[name="project-name-list"]').val('');$('.no-result-project-list').remove();}else{$(context).find('input[name="project-name-list"]').val('');$('<div class="alert alert-warning alert-dismissible" role="alert">'+Drupal.t('Please enter a different Value.')+'</div>').insertBefore('#staticBackdropC #add-project');}});$('.close').on('click',function(){$(this).closest('.modal').modal('hide');});$('.choose-action--header',context).unbind("click").on('click',function(e){let products_counter=$(this).parents('.choose-action').data('products-counter');let documents_counter=$(this).parents('.choose-action').data('documents-counter');if(products_counter===0&&documents_counter===0)$('#accessEmptyProject').modal('show');else $(this).parents('.choose-action').toggleClass('active');});$('.project-detalis-link',context).click(function(e){if($(this).attr('href')==='#'){e.preventDefault();$('#accessEmptyProject').modal('show');}});}};Drupal.behaviors.projectDeleteAjaxLink={attach:function(context,settings){$('.delete-project-link',context).each(function(){$(this).click(function(e){e.preventDefault();const ajaxSettings={url:'/legrand-ecat-project/delete/'+$(this).attr('data-project')};ajaxCallBack(ajaxSettings);});});}};Drupal.behaviors.addProdutToprojectAjaxLink={attach:function(context,settings){let checkBoxes=$('#list-projects  input[type=checkbox]');$('#list-projects input[type=checkbox]').on('click',function(){checkBoxes.prop('checked',fal
97se);$(this).prop('checked',true);});$("#quantity").bind('blur',function(e){e.preventDefault();let max=parseInt($(this).attr('max'));let min=parseInt($(this).attr('min'));if($(this).val()>max)$(this).val(max);if($(this).val()<min)$(this).val(min);});$('.related-product-item').on('click',function(e){productSourceRelated=$(this).closest('.card-product').attr('data-id');});$('#add-product-to-project',context).click(function(e){e.preventDefault();let quantity=0;const projects=[];$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");$('#DOCUMENTATION input[type=checkbox]',context).each(function(){if($(this).prop('checked'))$(this).prop('checked',false);});quantity=$('#quantity').val();$('#list-projects input[type=checkbox]',context).each(function(){if($(this).prop('checked'))projects.push($(this).attr('id'));});var stringDocs="documents";var stringProducts="product";type=documents.length>0?stringDocs:stringProducts;if(projects.length>0){if($('#is-product-detail').length>0&&productSourceRelated=='')productSourceRelated=$('#is-product-detail').attr('data-id');$.ajax({async:false,url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"legrand-ecat-project/add_to_project",data:{async:false,"projects":projects,"documents":documents,"quantity":quantity??1,"type":(sourcePage!=''?'searchPage':type),"sourcePage":sourcePage,"product_sku":productSourceRelated},success:function(response){let countdoc=quantity??1;$('#staticBackdrop').hide();if(type==="documents"){type=Drupal.t("documents");countdoc=documents.length;}else{if(type==="product")type=Drupal.t("product");}ajaxCartRefresh();$('#staticBackdrop').modal('hide');var html='<strong> '+countdoc+'</strong>'+' '+type;$('#exampleModal .modal-body .h4 span').html(html);$('#exampleModal .modal-body .h2').text(projects[0]);$('#exampleModal').modal('show');projects.splice(0,documents.length);documents.splice(0,documents.length);projects.pop();$('#list-projects input[type=checkbox]',context).each(function(){if($(this).prop('checked'))$(this).prop('checked',false);});},error:function(xhr){alert('NOK');}});}else{if($(context).find('input[name="project-name"]').val().length>0&&$(context).find('input[name="project-name"]').val()!=0){let countdoc="1";if(type==="documents"){type=documents.length>1?"documents":"document";countdoc=documents.length;}let project_field=($(context).find('input[name="project-name"]').val());const ajaxSettings={url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+'legrand-ecat-project/create/'+project_field};if(sourcePage!='')quantity=1;else quantity=$('#quantity').val();ajaxCallBack(ajaxSettings);$.ajax({async:false,url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"legrand-ecat-project/add_to_project",data:{async:false,"projects":[project_field],"documents":documents,"sourcePage":sourcePage,"product_sku":productSourceRelated,"quantity":quantity??1,"type":(sourcePage!=''?'searchPage':type)},success:function(response){projects.pop();$('#exampleModal .modal-body .h2').text(project_field);var html='<strong> '+countdoc+'</strong>'+' '+type;$('#exampleModal .modal-body .h4 span').html(html);$('#staticBackdrop').modal('hide');$('#exampleModal').modal('show');countdoc=0;project_field='';documents.splice(0,documents.length);$('#DOCUMENTATION input[type=checkbox]',context).each(function(){if($(this).prop('checked'))$(this).prop('checked',false);});$('#list-projects input[type=checkbox]',context).each(function(){if($(this).prop('checked'))$(this).prop('checked',false);});ajaxCartRefresh();},error:function(xhr){alert('NOK');}});$(context).find('input[name="project-name"]').val('');}}$('#parent-project',context).hide();$('.add-project-link-parent',context).show();});}};Drupal.behaviors.editProjectNameAjaxLink={attach:function(context,settings){$(once("#list-projects-page",".col-sm-4")).each(function(){const card=this;$('#edit-project-name',card).click(function(e){e.preventDefault();const old_value=$('#project-name',card).find('.title-divider').text();const textElement=document.createElement("INPUT");textElement.setAttribute("type","text");textElement.setAttribute("name","project-name");textElement.setAttribute("value",old_value);textElement.setAttribute("id","create-project-name");textElement.setAttribute("maxlength","30");$('#project-name',card).html(textElement);$('#project-name input[name=project-name]',card).select();$('#project-name input[name=project-name]',card).keypress(function(){var regex=new RegExp("^[^\\/\\\\#*.$]+$");var key=String.fromCharCode(!event.charCode?event.which:event.charCode);
97if(!regex.test(key)){event.preventDefault();return false;}});let inputEl=document.querySelector("input#create-project-name");inputEl.addEventListener('paste',()=>{const pastedText=e.clipboardData.getData('text');inputEl.value=pastedText.replace(/[&\/\\\\#*]/g,"");e.preventDefault();});$('#project-name input[name=project-name]',card).focusout(function(){var new_value=$(this).val();if(new_value===old_value||new_value==0){$('#project-name',card).html('<h3 class="title-divider mb-3">'+old_value+'</h3>');return false;}$.ajax({url:'/legrand-ecat-project/edit/'+new_value+'*'+old_value});$('#project-name',card).html('<h3 class="title-divider mb-3">'+new_value+'</h3>');let project_details=$('.project-detalis-link',card);let href=project_details.attr('href');project_details.attr('href',href.replace(old_value,new_value));const elements=$('#project-name, .export-project-csv, .download-zip-email',card);elements.filter('#project-name, .download-zip-email').attr('data-project-name',new_value);elements.filter('.export-project-csv').attr('data-project-name-csv',new_value);});});});}};Drupal.behaviors.addProductToProjectFromSearchResultsPage={attach:function(context){$('.getProductRef',context).each(function(){if(!$(this).data('handler-attached')){$(this).data('handler-attached',true);$(this).on('click',function(e){e.preventDefault();const productSourceRelated=$(this).attr('data-product-id');const sourcePage="searchResultsProduct";ajaxProjectListRefresh();});}});}};Drupal.behaviors.addDocumentToProjectFromSearchResultsPage={attach:function(context){$('.add-document-search-to-project',context).each(function(){$(this).click(function(e){e.preventDefault();documents.splice(0,documents.length);let documentID=$(this).attr('data-document-id');let productSku=$(this).attr('data-product-id');documents.push(documentID+"_"+productSku);sourcePage="searchResultsDocument";});});}};Drupal.behaviors.addReplacedProductToListProjetAjaxLink={attach:function(context,settings){$('.add-update-product-project',context).click(function(e){e.preventDefault();let project=$(this).attr('data-project');let productSku=$(this).attr('data-product');let deleted_product=$(this).attr('data-deleted');let quantity=$(this).parents('.card-bottom').find('.new-quantity').val();let loader=$('<div id="loader-doc"></div>');$('.layout-content').append(loader);$.ajax({async:false,url:drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+"legrand-ecat-project/add_to_project",data:{"project_name":project,"quantity":quantity,"product":productSku,"deleted_product":deleted_product,"type":'replaced'},success:function(response){ajaxCartRefresh();ajaxProjectRefresh();},complete:function(){setTimeout(function(){$("#loader-doc").remove();},300);},error:function(xhr){$("#loader-doc").remove();alert('NOK');}});});}};const documents=[];var type='';var selected=[];var typePage="";var sourcePage="";Drupal.behaviors.addDocumentToprojectAjaxLink={attach:function(context,settings){var documentID='';$(once('rules-documentation-input','#DOCUMENTATION input')).not('[id*="_all"]').click(function(){if($(this).is(":checked")){$('.add-documents-to-project').removeClass("disabled").removeAttr("tabindex","-1");$('#download-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#shareDoc').removeClass("disabled").removeAttr("tabindex","-1");var isAllChecked=0;var href=$(this).parents('.align-items-center').find('a').attr('href');var fileName=$(this).parents('.align-items-center').find('a').text();$(this).parents('.tab-pane').find('input').not('[id*="_all"]').each(function(){if(!this.checked)isAllChecked=1;});selected.push({fileName,link:href});typePage="pdp";if(isAllChecked==0)$(this).parents('.tab-pane').find('input[id*="_all"]').prop("checked",true);}else{var LastfileName=$(this).parents('.align-items-center').find('a').text();selected=$.grep(selected,function(item){return item.fileName!==LastfileName;});if(selected.length===0){$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");}$(this).parents('.tab-pane').find('input[id*="_all"]').prop("checked",false);}totalSizeDoc();});if(selected.length==0){$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf.apply-disable').addClass("disabled").attr("tabindex","-1");$('#shareDoc.apply-disable').addClass("disabled").attr("tabindex","-1");}$('.add-documents-to-project').on('click',function(e){e.preventDefault();const data_document=$(this).attr('data-document');const data_product=$(this).attr('data-product');documents.splice(0,documents.length);if((typeof data_document!=='undefined')&&(typeof data_product!=='undefined')){let doc_prod=data_document+"_"+data_product;documents.push(doc_prod);}$('#DOCUMENTATION input[type=checkbox]',context).not('[id*="_all"]').each(function(){if($(this).prop('checked')){const $link=$(this).parents('.align-items-center').find('a');let documentID=$link.attr('id-doc-value');const linkHref=$link.attr('href');if(documentID==="0")if(linkHref.includes('/rohs/pdf/'))documentID='rohs_'+linkHref.split('/').pop();else{if(linkHref.includes('/reach/pdf/'))documentID='reach_'+linkHref.split('/').pop();}if(documentID)documents.push(documentID);}});});
97$('#DOCUMENTATION input[id*="_all"]').click(function(){$(this).parents('.tab-pane').find('input[type="checkbox"]').prop("checked",this.checked);$(this).parents('.tab-pane').find('input[type="checkbox"]').not('[id*="_all"]').each(function(index,item){if(this.checked){$('.add-documents-to-project').removeClass("disabled").removeAttr("tabindex","-1");$('#download-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#shareDoc').removeClass("disabled").removeAttr("tabindex","-1");const $link=$(this).parents('.align-items-center').find('a');let documentID=$link.attr('id-doc-value');const linkHref=$link.attr('href');if(documentID==="0")if(linkHref.includes('/rohs/pdf/'))documentID='rohs_'+linkHref.split('/').pop();else{if(linkHref.includes('/reach/pdf/'))documentID='reach_'+linkHref.split('/').pop();}if(documentID)documents.push(documentID);var href=$(this).parents('.align-items-center').find('a').attr('href').replace(/\s/g,"%20");var fileName=$(this).parents('.align-items-center').find('a').text();selected.push({fileName,link:href});typePage="pdp";}else documents=documents.filter((id)=>id!==documentID);});if(!this.checked){$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");selected=[];}totalSizeDoc();});$('#download-pdf').unbind().click(function(e){e.preventDefault();var totalDocSize=0;var maxSizeAllowed=512;$('div input').not('[id*="_all"]').each(function(index,item){var size=$(this).parents('.align-items-center').find('.data-doc-size').data('doc-size');if(this.checked&&typeof (size)==='number')totalDocSize+=parseFloat(size);});let zipName="";let langCode=drupalSettings.path.pathPrefix;var mylink=this;if(totalDocSize>maxSizeAllowed){if(!($('.alert-danger').length)){$("#download-pdf").addClass("disabled").attr("tabindex","-1");$('<div class="alert alert-danger alert-dismissible" role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+Drupal.t("Max size allowed")+'  : '+maxSizeAllowed+'Mo.</div>').insertAfter('#DOCUMENTATION h3.title-divider');}}else{$('.alert-danger').remove();$("#download-pdf").removeClass("disabled").removeAttr("tabindex","-1");}if(selected.length>0){if($('.alert-warning').length)$('.alert-warning').remove();var loader=$('<div id="loader-doc"></div>');$('.layout-content').append(loader);if(typePage=="detailProjet"){var url=window.location.pathname;zipName=url.split("/").pop();}else zipName=$('#sku-product').attr('data-sku-product');if(zipName.includes("%20"))zipName=zipName.replaceAll(/%20/g,'_');var arr=[],uniqueSelected=[];$.each(selected,function(index,value){if($.inArray(value.link,arr)==-1){arr.push(value.link);uniqueSelected.push(value);}});selected=uniqueSelected;var base_url=drupalSettings.path.baseUrl;if(jQuery.inArray(base_url,['/ecatalogue/','/datacenter/'])!=-1)var url_pdf_generator=base_url+langCode+'pdf-generator';else var url_pdf_generator='/'+langCode+'pdf-generator';function cleanupAfterDownload(mylink){$(mylink).removeAttr('is_clicked');$(mylink).removeClass('disabled');$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");$("#loader-doc").remove();selected.splice(0,selected.length);$('input[type="checkbox"]').prop("checked",false);documents.length=0;}if(selected.length===1&&(selected[0].link.includes('/reach/pdf/')||selected[0].link.includes('/rohs/pdf/'))){window.location.href=url_pdf_generator+"?"+$.param({urls:selected,type:zipName});cleanupAfterDownload(mylink);return;}$.ajax({url:url_pdf_generator,type:"get",data:{urls:selected,type:zipName},beforeSend:function(){$(mylink).attr('is_clicked',true);$(mylink).addClass('disabled');},success:function(response){if(response.type=='zip'){var a=document.createElement("a");a.href=response.uri;a.download=decodeURI(response.fileName);a.click();}else window.location.href=response.data;$(mylink).removeAttr('is_clicked');$(mylink).removeClass('disabled');$('.add-documents-to-project.apply-disable').addClass("disabled").attr("tabindex","-1");$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");$("#loader-doc").remove();selected.splice(0,selected.length);$('input[type="checkbox"]').prop("checked",false);documents.length=0;},error:function(xhr){$("#loader-doc").remove();}});}else $('<div class="alert alert-warning alert-dismissible" role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+Drupal.t('Veillez sélectionnez un fichier.')+'</div>').insertBefore('#containerAll');});$('#shareDoc').click(function(){documents.length=0;});}};function totalSizeDoc(){var totalDocSize=0;var countChecked=0;$('div input').not('[id*="_all"]').each(function(index,item){var size=$(this).parents('.align-items-center').find('.data-doc-size').data('doc-size');if(this.checked&&typeof (size)==='number'){totalDocSize+=parseFloat(size);countChecked++;}if(countChecked>1)$('#total-size-docs-label').show();else $('#total-size-docs-label').hide();$('#total-size-docs').text(totalDocSize.toFixed(2));});}function formatBytes(bytes,decimals=2){if(bytes===0)return '0 Bytes';
97const k=1024;const dm=decimals<0?0:decimals;const sizes=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'];const i=Math.floor(Math.log(bytes)/Math.log(k));return parseFloat((bytes/Math.pow(k,i)).toFixed(dm))+' '+sizes[i];}function totalSizeProducts(){var totalProductsSize=0;var countChecked=0;$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').each(function(){var size=$(this).parents('.product-row').find('.card-product').data('product-size');if(this.checked&&typeof (size)==='number'){totalProductsSize+=parseFloat(size);countChecked++;}if(countChecked>=1){$('#total-size-products-label').text('('+formatBytes(totalProductsSize)+')');$('#total-size-products-label').show();}else $('#total-size-products-label').hide();});}Drupal.behaviors.documentsINprojectAction={attach:function(context,settings){var tabDocument=$('body').find('#accordionExample');if(tabDocument.length>0){selected=[];$('input[id*="_all"]').click(function(){var parentCheckbox=jQuery(this);var id_check_all=parentCheckbox.attr("id");var collapses=id_check_all.split('_');var collapse_id=collapses[2];parentCheckbox.parents('.panel-default').children("#collapse"+collapse_id).find('input[type="checkbox"]').prop("checked",this.checked);parentCheckbox.parents('.panel-default').children("#collapse"+collapse_id).find('input[type="checkbox"]').not('[id*="_all"]').each(function(index,item){if(this.checked){var href=$(this).parents('.align-items-center').find('.document-name-print').attr('data-document-link');var fileName=$(this).parents('.align-items-center').find('.document-name-print').text();selected.push({fileName,link:href});typePage="detailProjet";$('#download-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#shareDoc').removeClass("disabled").removeAttr("tabindex","-1");}else{documents.splice(0,documents.length);selected.splice(0,documents.length);$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");}});if(!this.checked)selected=[];totalSizeDoc();});$(once('rules-accordion-checkbox','#accordionExample input[type="checkbox"]')).not('[id*="_all"]').click(function(){var checkbox_id=$(this).attr("id");var split_check_id=checkbox_id.split("_");var currentProdSKU=split_check_id[1];var idStartWith=split_check_id[0]+"_"+split_check_id[1]+"_"+split_check_id[2]+"_";var checkAllId=split_check_id[0]+"_"+split_check_id[1]+"_"+split_check_id[2]+"_"+'all';var isAllChecked=0;$('input[id*="'+idStartWith+'"]').each(function(){if($(this).is(":checked")){var prod_sku=$(this).parents().eq(5).attr("product-sku");var countdoc=$(this).parents('.panel-default[product-sku="'+prod_sku+'"]').attr("countdoc");if(prod_sku===currentProdSKU){isAllChecked+=1;if(isAllChecked===parseInt(countdoc))$(this).parents('.panel-default').find('input[id="'+checkAllId+'"]').prop("checked",true);}}if(!this.checked)$(this).parents('.panel-default').find('input[id="'+checkAllId+'"]').prop("checked",false);});if(isAllChecked>0){$('#download-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#shareDoc').removeClass("disabled").removeAttr("tabindex","-1");}else{$('#download-pdf').addClass("disabled").attr("tabindex","-1");$('#shareDoc').addClass("disabled").attr("tabindex","-1");}if($(this).is(":checked")){var href=$(this).parents('.align-items-center').find('.document-name-print').attr('data-document-link');var fileName=$(this).parents('.align-items-center').find('.document-name-print').text();selected.push({fileName,link:href});typePage="detailProjet";}else{var LastfileName=$(this).parents('.align-items-center').find('.document-name-print').text();selected=$.grep(selected,function(item){return item.fileName!==LastfileName;});}totalSizeDoc();});}}};function getCookieProject(){return drupalSettings.project_list?drupalSettings.project_list:null;}function setDocCookie(value){$.ajax({type:'POST',url:'/save_project_ajax',data:{'json_data':value},success:function(msg){console.log('saved');}});}function number_format(number,decimals,dec_point,thousands_sep){var n=!isFinite(+number)?0:+number,prec=!isFinite(+decimals)?0:Math.abs(decimals),sep=(typeof thousands_sep==='undefined')?',':thousands_sep,dec=(typeof dec_point==='undefined')?'.':dec_point,s='',toFixedFix=function(){var k=Math.pow(10,prec);return ''+Math.round(n*k)/k;};s=(prec?toFixedFix():''+Math.round(n)).split('.');if(s[0].length>3)s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,sep);if((s[1]||'').length<prec){s[1]=s[1]||'';s[1]+=new Array(prec-s[1].length+1).join('0');}return s.join(dec);}Drupal.behaviors.projectDeleteDocumentAjaxLink={attach:function(context,settings){$('.deleteDoc',context).each(function(){$(this).click(function(e){e.preventDefault();var docObj=getCookieProject();var url=window.location.pathname;var projectName=decodeURI(url.split("/").pop());var checkbox=$(this);var parentCookie=checkbox.closest('.panel-default');var docID=checkbox.parents('.row-doc').find('.docID').data('id-doc-value');var row=checkbox.parents('.row-doc');var docLink=row.find('#checkBox').data('href');var docKey;if(docID&&docID!==0)docKey=docID.toString();else if(docLink&&docLink.includes('rohs/pdf/')){var rohsId=docLink.split('/').pop();docKey='rohs_'+rohsId;}else{if(docLink&&docLink.includes('reach/pdf/')){var reachId=docLink.split('/').pop();docKey='reach_'+reachId;}}var sku=parentCookie.attr('product-sku');var index;if(parentCookie.hasClass('isDocument')){index=docObj[projectName]['documents'][sku].indexOf(docKey);if(index!==-1)docObj[projectName]['documents'][sku].splice(index,1);}else{index=docObj[projectName]['products'][sku]['documents'].indexOf(docKey);if(index!==-1)docObj[projectName]['products'][sku]['documents'].splice(index,1);}docObj=JSON.stringify(docObj);setDocCookie(docObj);var countDoc=parentCookie.attr('countDoc')-1;var allTotal=Math.max(0,parseInt($('.totalAllDoc').text(),10)-1);parentCookie.find('#count').html(countDoc);$('.totalAllDoc').html(allTotal);$('.totalAllDoc').attr('totalAllDoc',allTotal);parentCookie.attr('countDoc',countDoc);if(countDoc==0&&parentCookie.attr('product-sku')==sku)parentCookie.remove();else checkbox.parents('.row-doc').remove();if(allTotal==0)$('.actionDocumentTab').hide();});});}};Drupal.behaviors.projectDeleteProductAjaxLink={attach:function(context,settings){$('.deleteProduct',context).each(function(){$(this).click(function(e){e.preventDefault();var docObj=getCookieProject();var url=window.location.pathname;var projectName=decodeURI(url.split("/").pop());var sku=$(this).parents('.product-row').children('.card-product').attr('product-sku');var totalDocuments=0;if(docObj[projectName]['products'][sku]['documents']!==undefined)totalDocuments=docObj[projectName]['products'][sku]['documents'].length;var allTotal=$('.totalAllproducts').attr('count-product')-1;$('.totalAllproducts').html(allTotal);$('.totalAllproducts').attr('count-product',allTotal);var totalAllDoc=$('.totalAllDoc').attr('totalAllDoc')-totalDocuments;$('.totalAllDoc').html(totalAllDoc);$('.totalAllDoc').attr('totalAllDoc',totalAllDoc);if($(this).parents('.product-row').find('.totalPrice').attr('totalPrice')){var totalPriceProduct=$(this).parents('.product-row').find('.totalPrice').attr('totalPrice').replace(/\s/g,'');var total=$('.totalPriceAllProducts').attr('totalPriceAllProducts').replace(/\s/g,'');var totalAllPriceProducts=parseFloat(total)-parseFloat(totalPriceProduct);$('.totalPriceAllProducts').html(formatPrice(totalAllPriceProducts));$('.totalPriceAllProducts').attr('totalPriceAllProducts',totalAllPriceProducts);}delete docObj[projectName]['products'][sku];docObj=JSON.stringify(docObj);setDocCookie(docObj);$(this).parents('.product-row').remove();let projects_json=JSON.parse(docObj);let is_empty=jQuery.isEmptyObject(projects_json[projectName]["products"]);if(is_empty)$('.project-total-price').remove();if($('.totalAllproducts').attr('count-product')==0){$('.actionProductTab').remove();$('#check-all-products').closest('.custom-checkbox').remove();if(totalAllDoc<1){$('.choose-action.choose-action-outline-secondary').remove();$('.actionDocumentTab').hide();}}const container=document.querySelector("#accordionExample");
97if(totalDocuments>0){const divProduct=container.querySelectorAll('div.isProduct[product-sku="'+sku+'"]');divProduct[0].remove();}});});}};Drupal.behaviors.updateQuantityProduct={attach:function(context,settings){let url=window.location.pathname;let projectName=decodeURIComponent(url.split("/").pop());let cookiesProject=getCookieProject();let currentObjProject;Object.keys(cookiesProject).forEach(function(key){if(key==projectName){currentObjProject=cookiesProject[key];return;}});$('.quantity_update .new-quantity',context).change(function(e){let qty=parseInt($(this).val());let defaultValue=$(this).attr('data-initial-value').replace(/\s/g,'');let totalPriceAllProducts=$('.totalPriceAllProducts').attr('totalPriceAllProducts');if(totalPriceAllProducts!==undefined)totalPriceAllProducts=totalPriceAllProducts.replace(/\s/g,'');if($(this).parents('.product-row').find('.current-price').attr('data-current-price')){let currentPrice=$(this).parents('.product-row').find('.current-price').attr('data-current-price').replace(/\s/g,'');if(currentPrice){currentPrice=parseFloat(currentPrice.replace(',','.'));let currentProductTotal=currentPrice*defaultValue;totalPriceAllProducts=parseFloat(totalPriceAllProducts)-currentProductTotal;let totalProduct=parseFloat(currentPrice)*qty;totalPriceAllProducts=totalPriceAllProducts+totalProduct;$(this).parents('.product-row').find('.totalPrice').attr('totalPrice',totalProduct);$('.totalPriceAllProducts').html(formatPrice(totalPriceAllProducts));$(this).parents('.product-row').find('.totalPrice').html(formatPrice(totalProduct));$('.totalPriceAllProducts').attr('totalPriceAllProducts',totalPriceAllProducts);}}if(qty>=99999)qty=99999;$(this).attr('data-initial-value',qty);url=window.location.pathname;projectName=decodeURIComponent(url.split("/").pop());let docObj=JSON.stringify(cookiesProject);docObj=JSON.parse(docObj);let sku=$(this).parents('.product-row').find('.card-product').attr('product-sku');
97Object.keys(currentObjProject['products']).forEach(function(product){if(sku===product){currentObjProject['products'][product]['quantity']=qty;return;}});Object.keys(docObj).forEach(function(key){if(key==projectName){docObj[key]=currentObjProject;return;}});docObj=JSON.stringify(docObj);setDocCookie(docObj);});}};Drupal.behaviors.ManageCartAjaxLink={attach:function(context,settings){$('.delete-cart',context).click(function(e){e.preventDefault();let project_name=$(this).attr('data-project');let typeCart=$(this).attr('data-type');let ref=$(this).attr('data-cart');let productName=$(this).attr('data-product-name');const ajaxSettings={url:'/legrand-ecat-project/'+project_name+'/'+typeCart+'/'+ref};ajaxCallBack(ajaxSettings,'#cart');return false;});}};Drupal.behaviors.downloadProduct={attach:function(context,settings){var productsIDs=[];$('#check-all-products').change(function(e){e.preventDefault();if(this.checked){$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').prop('checked',true);$('#download-product-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#trigger-download-options-modal').removeClass("disabled").removeAttr("tabindex","-1");$('#shareProducts').removeClass("disabled").removeAttr("tabindex","-1");}else{$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').prop('checked',false);$('#download-product-pdf').addClass("disabled").attr("tabindex","-1");$('#trigger-download-options-modal').addClass("disabled").attr("tabindex","-1");$('#shareProducts').addClass("disabled").attr("tabindex","-1");}totalSizeProducts();});$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').click(function(){var isAllChecked=1;var checked=0;$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').each(function(){if(this.checked){checked++;productsIDs.push($(this).parents('.product-row').children('.card-product').attr('product-id'));}else isAllChecked=0;});if(checked>0){$('#download-product-pdf').removeClass("disabled").removeAttr("tabindex","-1");$('#trigger-download-options-modal').removeClass("disabled").removeAttr("tabindex","-1");$('#shareProducts').removeClass("disabled").removeAttr("tabindex","-1");}else{$('#download-product-pdf').addClass("disabled").attr("tabindex","-1");$('#trigger-download-options-modal').addClass("disabled").attr("tabindex","-1");$('#shareProducts').addClass("disabled").attr("tabindex","-1");}if(isAllChecked==1)$('#check-all-products').prop("checked",true);else $('#check-all-products').prop("checked",false);totalSizeProducts();});$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').click(function(){if($(this).is(":checked")){var isAllChecked=0;$(this).parents('.tab-pane').find('input').not('[id*="_all"]').each(function(){if(!this.checked)isAllChecked=1;});var fileName=$(this).parents('.align-items-center').find('a').text();var href=$(this).parents('.align-items-center').find('a').attr('href');selected.push({fileName,link:href});typePage="pdp";if(isAllChecked==0)$(this).parents('.tab-pane').find('input[id*="_all"]').prop("checked",true);}else{var LastfileName=$(this).parents('.align-items-center').find('a').text();selected=$.grep(selected,function(item){return item.fileName!==LastfileName;});$(this).parents('.tab-pane').find('input[id*="_all"]').prop("checked",false);}totalSizeDoc();totalSizeProducts();});$('#trigger-download-options-modal',context).click(function(e){e.preventDefault();const nbrSelectedProducts=jQuery('.product-row .productSelected_check').filter(':has(:checkbox:checked)').length;if(nbrSelectedProducts<1)$('<div id="war_alert" class="alert alert-warning alert-dismissible" role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+Drupal.t('Please select a product.')+'</div>').insertBefore('#containerAll');else{$('#war_alert').alert('close');jQuery('#download-preferences').modal("show");}});$('#download-product-pdf',context).click(function(e){e.preventDefault();let is_in_modal=$(this).parents('#download-preferences').length;if(is_in_modal){let modal=$(this).parents("#download-preferences");let showPricesCheckbox=modal.find('#show-prices-checkbox');let showPricesCheckboxState=showPricesCheckbox.is(':checked');let showTechnicalCharacteristicsCheckbox=modal.find('#show-technical-characteristics-checkbox');let showTechnicalCharacteristicsCheckboxState=showTechnicalCharacteristicsCheckbox.is(':checked');let dontAskMeAnymore=modal.find('#dont-ask-anymore-check');let dontAskMeAnymoreState=dontAskMeAnymore.is(':checked');let downloadOptions={'showPrices':showPricesCheckboxState,'showTechnicalCharacteristics':showTechnicalCharacteristicsCheckboxState,'dontAskMeAnymore':dontAskMeAnymoreState};cookies.set('product_download_options',JSON.stringify(downloadOptions),{path:'/',expires:1});jQuery('#download-preferences').modal("hide");var base_url=drupalSettings.path.baseUrl;if(jQuery.inArray(base_url,['/ecatalogue/','/datacenter/'])!=-1)var url_path=base_url+'global-update-user-preferences';else var url_path='/global-update-user-preferences';$.ajax({url:url_path,data:{"prices_status":showPricesCheckboxState,"technical_status":showTechnicalCharacteristicsCheckboxState}});}else{let cookie=jQuery.cookie('product_download_options');let arrayCookie=JSON.parse(cookie);let showPricesCheckboxState=arrayCookie['showPrices'];let showTechnicalCharacteristicsCheckboxState=arrayCookie['showTechnicalCharacteristics'];let dontAskMeAnymoreState=arrayCookie['dontAskMeAnymore'];let downloadOptions={'showPrices':showPricesCheckboxState,'showTechnicalCharacteristics':showTechnicalCharacteristicsCheckboxState,'dontAskMeAnymore':dontAskMeAnymoreState};jQuery.cookie('product_download_options',JSON.stringify(downloadOptions),{path:'/',expires:1});var base_url=drupalSettings.path.baseUrl;if(jQuery.inArray(base_url,['/ecatalogue/','/datacenter/'])!=-1)var url_path=base_url+'global-update-user-preferences';else var url_path='/global-update-user-preferences';$.ajax({url:url_path,data:{"prices_status":showPricesCheckboxState,"technical_status":showTechnicalCharacteristicsCheckboxState}});}const nbrSelectedProducts=jQuery('.product-row .productSelected_check').filter(':has(:checkbox:checked)').length;if(nbrSelectedProducts>0){$('.product-row .productSelected_check input[type="checkbox"]').not('[id*="_all"]').each(function(){if(this.checked)productsIDs.push($(this).parents('.product-row').children('.card-product').attr('product-id'));});productsIDs=[...new Set(productsIDs)];}var lang=drupalSettings.path.currentLanguage||'';if(nbrSelectedProducts===1){$('.alert-danger').remove();window.open((lang?'/'+lang:'')+'/legrand-ecat/generatepdf/'+productsIDs[0],'_blank');}else if(nbrSelectedProducts>1){$('.alert-danger').remove();var pathname=window.location.pathname;var projectName=pathname.split("/").pop();var url=(lang?'/'+lang:'')+'/legrand-ecat/generatepdf/'+productsIDs.join(',')+'/'+projectName;let loader=$('<div id="loader-doc"></div>');$('.layout-content').append(loader);$.ajax({url,success:function(response){var a=document.createElement("a");a.href=response.data;a.download=response.fileName;a.click();$("#loader-doc").remove();},error:function(xhr){$("#loader-doc").remove();}});}else setTimeout(function(){$('#war_alert').alert('close');},2500);productsIDs.splice(0,productsIDs.length);$('input[type="checkbox"]').not('#show-prices-checkbox, #show-technical-characteristics-checkbox, #dont-ask-anymore-check').prop("checked",false);$(this).addClass('disabled');$('#shareProducts').addClass('disabled');$('#trigger-download-options-modal').addClass('disabled');});}};var ajaxSended=false;Drupal.behaviors.downloadProjectZip={attach:function(context,settings){$(document).click(function(event){var $target=$(event.target);if(!$target.closest('.choose-action').length&&$('.choose-action').hasClass('active'))$('.choose-action').removeClass('active');});var id_project="";$(once('rules-download-zip-email','.download-zip-email')).click(function(){$('.client_email').show();$('.client_email').val("");$('.zip-popup-desc').show();$('#send-email-zip-link').show();$('.zip-message').hide();var resourceSKU=$(this).attr('data-resource-sku');var productName=$(this).attr('data-product-name');var resourceCategory=$(this).attr('data-resource-category');var documentType=$(this).attr('data-document-type');var fileName=$(this).attr('data-file-name');var productQuantity=$(this).attr('data-product-quantity');var documentQuantity=$(this).attr('data-document-quantity');var documentQuantity=$(this).attr('data-document-quantity');$('#send-email-zip-link').attr('data-resource-sku',resourceSKU).attr('data-product-name',productName).attr('data-resource-category',resourceCategory).attr('data-document-type',documentType).attr('data-file-name',fileName).attr('data-product-quantity',productQuantity).attr('data-document-quantity',documentQuantity);let is_detail=$(this).attr('data-is-detail');let is_cart=$(this).attr('data-is-cart');if(typeof is_detail!==typeof undefined)id_project=$(this).attr('data-project-name');else if(typeof is_cart!==typeof undefined)id_project=$(this).data('project-name');else id_project=$(this).attr('data-project-name');jQuery('#staticBackdropbeta').modal("show");});$(once('rules-send-email-zip-link','#send-email-zip-link')).click(function(){var client_email=$('.client_email').val();if(client_email.length===0){$('.custom-form').remove();$('.client_email').after('<div class="custom-form"><div class="form-item--error-message"> '+Drupal.t('The email is required.')+' </div></div>');return false;}if(!isEmail(client_email)){$('.custom-form').remove();$('.client_email').after('<div class="custom-form"><div class="form-item--error-message"> '+Drupal.t('Please enter a valid email address.')+' </div></div>');return false;}var langCode=drupalSettings.path.pathPrefix;if(!ajaxSended){ajaxSended=true;$.ajax({url:"/"+langCode+"legrand-ecat-project-zip-download",type:"get",data:{project_name:id_project,client_email},success:function(response){ajaxSended=false;$('.client_email').hide();$('#send-email-zip-link').hide();$('.zip-popup-desc').hide();$('.custom-form').remove();$('.zip-message .h4').text(Drupal.t("An email will be sent with download link of the project in a few minutes."));$('.zip-message').show();},error:function(xhr){ajaxSended=false;$('.client_email').hide();$('#send-email-zip-link').hide();$('.custom-form').remove();$('.zip-popup-desc').hide();$('.zip-message .h4').text(Drupal.t("An error occurred while downloading the zip. please try again later."));$('.zip-message').show();}});}});}};function ajaxCallBack(ajaxSettings,selector){selector=selector||'#list-projects';const projectAjaxObject=Drupal.ajax(ajaxSettings);projectAjaxObject.commands.insert=function(ajax,response,status){$(selector).children().remove();$(selector).append(response.data);Drupal.attachBehaviors();};projectAjaxObject.commands.destroyObject=function(ajax,response,status){Drupal.ajax.instances[this.instanceIndex]=null;};projectAjaxObject.execute();}function ajaxCartRefresh(){const ajaxSettings={url:'/legrand-ecat-project/refresh'};ajaxCallBack(ajaxSettings,'#cart');}function ajaxProjectListRefresh(){const ajaxSettings={url:'/legrand-ecat-project/project-list/refresh'};ajaxCallBack(ajaxSettings,'#list-projects');}function ajaxProjectRefresh(){var pathname=window.location.pathname;var projectName=pathname.split("/").pop();const ajaxSettings={url:'/legrand-ecat-project/refresh/'+projectName};ajaxCallBack(ajaxSettings,'#detail-project');}function isEmail(email){var regex=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;return regex.test(email);}let init;Drupal.behaviors.anonymous_popup={attach:function(context,settings){PopupAnonymous();}};function PopupAnonymous(){if(!init){init=true;if($("#anonymous-popup").length)$('#anonymous-popup').modal("show");}}function removeAlertprojectCreate(){if($('#staticBackdropC').find('.alert-warning').length>0)$('#staticBackdropC').find('.alert-warning').remove();}function formatPrice(price){if(!price||price==0)return '';var decimalSeparator=drupalSettings.legrand_ecat.priceFormat.decimalSeparator;var thousandSeparator=drupalSettings.legrand_ecat.priceFormat.thous
97andSeparator;var currencyPosition=drupalSettings.legrand_ecat.priceFormat.currencyPosition;var currencyWithSpace=drupalSettings.legrand_ecat.priceFormat.currencyWithSpace;var currencyDisplayOption=drupalSettings.legrand_ecat.priceFormat.currencyDisplayOption;var currencySymbol=drupalSettings.legrand_ecat.priceFormat.currencySymbol;var currencyText=drupalSettings.legrand_ecat.priceFormat.currencyText;var formattedPrice=number_format(price,2,decimalSeparator,thousandSeparator);var currency;if(currencyDisplayOption=="symbol_text")currency=currencySymbol+' '+currencyText;else if(currencyDisplayOption=="text")currency=currencyText;else{if(currencyDisplayOption=="symbol")currency=currencySymbol;}if(currencyPosition=='after')formattedPrice=formattedPrice+currencyWithSpace+currency;else{if(currencyPosition=='before')formattedPrice=currency+currencyWithSpace+formattedPrice;}return formattedPrice;}})(jQuery,Drupal,drupalSettings,once,window.Cookies);;
98(function($,Drupal){'use strict';Drupal.behaviors.lg_wf_icons={attach:function(context,settings){var html='<ul id="icons_list">';var cssClass='';$(".icons_list > option").each(function(){var el=$(this);var option_value=el.val();el.addClass(option_value);cssClass=option_value;if($(this).prop('selected'))cssClass+=' is-active';if(option_value!='no')html+='<li data-value="'+option_value+'" class="'+cssClass+'">'+el.text()+'</li>';});html+='</ul>';if(!$('#icons_list').length)$(html).insertBefore('.icons_list');$('#icons_list').on('click','li',function(){$(this).toggleClass('is-active');var val=$(this).data('value');var option=$('.icons_list option[value='+val+']');if(option.prop('selected'))option.removeAttr('selected');else option.attr('selected','selected');return false;});}};})(jQuery,Drupal);;
99(function($,Drupal,drupalSettings){jQuery('.simple-banner a').find('img').attr('loading','eager');jQuery("#tarteaucitronAlertBig").find("span").attr("rel","preload");var list=$("#links-lang");var listItems=list.children('li').get();listItems.sort(function(a,b){var textA=$(a).find('.language-link').text().toUpperCase();var textB=$(b).find('.language-link').text().toUpperCase();return (textA<textB)?-1:(textA>textB)?1:0;});$.each(listItems,function(index,item){list.append(item);});}(jQuery,Drupal,drupalSettings));;
100(function($){let selectors=["a.btn","a.btn-second","a.card_link","a.btn-abs-more","a.footer-link ","a.policy-link","a.footer-social_link",".block-collection--body a",".bg-nav-brand a"];let selectorsString=selectors.join(',');function getDataLayerValue(key){let dataLayer=window.dataLayer||[];for(let i=dataLayer.length-1;i>=0;i--)if(dataLayer[i]&&Object.prototype.hasOwnProperty.call(dataLayer[i],key))return dataLayer[i][key];return '';}let currentHost=window.location.host;$(selectorsString).on('click',function(){let hrefValue=$(this).attr('href');if(hrefValue==='#'||hrefValue==='')return false;let click_url=decodeURIComponent($(this).prop('href'));let anchor_link=this.title||this.textContent;let current_url=decodeURIComponent(window.location.href);anchor_link=anchor_link.trim();const pageData=dataLayer.find((x)=>x.pageCountry)||{};if(currentHost!==this.host)window.dataLayer.push({event:'external_link_click',anchor_link,click_url,pageUrl:current_url,mediaType:anchor_link,pageCountry:getDataLayerValue('pageCountry'),pageLanguage:getDataLayerValue('pageLanguage'),pageTitle:getDataLayerValue('pageTitle'),pageType:getDataLayerValue('pageType')});else{let position='body';if($(this).closest('footer, .footer').length)position='footer';else if($(this).closest('.hero-banner, .hero, .banner').length)position='hero_banner';else{if($(this).closest('.col-sm-6.col-md-4').length||$(this).closest('.block-collection--body').length)position='product_card';}window.dataLayer.push({event:'cta_click',anchor_link,click_url,pageUrl:window.location.href,position,pageCountry:getDataLayerValue('pageCountry'),pageLanguage:getDataLayerValue('pageLanguage'),pageTitle:getDataLayerValue('pageTitle'),pageType:getDataLayerValue('pageType')});}if(this.hasAttribute('download')){let file=click_url.split('/');file=(file[file.length-1]).split('.');let file_name=file[0];let file_extension=file[1];window.dataLayer.push({event:'download',anchor_link,click_url,file_name,file_extension});}});$(".social-link").on('click',function(){let hrefValue=$(this).attr('href');if(hrefValue==='#'||hrefValue==='')return false;let click_url=decodeURIComponent(this.href);let anchor_link=this.title||this.textContent;anchor_link=anchor_link.trim();window.dataLayer.push({event:'social_media_share',anchor_link,click_url});});$('.header-mega-menu-desktop > .menu-item-list-wp > .menu-item-list > .header-menu-item-desktop > .node-title > .header-nav-link a, .second-level > .header-nav-link > a, .header-mega-menu-items > .header-mega-menu-item > .header-menu-sub-action > a').on('click',function(){let click_url=decodeURIComponent(this.href);let anchor_link=this.title||this.textContent;window.dataLayer.push({event:'menu_level_1',anchor_link,click_url});});$('.header-mega-menu-desktop > .menu-item-list-wp > .menu-item-list > .header-menu-item-desktop > .last-item > .header-nav-link a, .header-menu-third-level-wp .node-title a, .header-mega-menu-items > .header-mega-menu-item > a.last-item-link').on('click',function(){let click_url=decodeURIComponent(this.href);let anchor_link=this.title||this.textContent;window.dataLayer.push({event:'menu_level_2',anchor_link,click_url});});
100$('.header-menu-fourth-level-wp .last-item a, .two-sub-cat-last-items a, .last-item-level-4 > a').on('click',function(){let click_url=decodeURIComponent(this.href);let anchor_link=this.title||this.textContent;window.dataLayer.push({event:'menu_level_3',anchor_link,click_url});});$('.social--sticky-link').on('click',function(){let target_url=decodeURIComponent(this.href);let anchor_link=this.title||this.textContent;window.dataLayer.push({event:'menu_sticky',anchor_link,target_url});});$('.panier-btn').on('click',function(){window.dataLayer.push({event:'add_to_wishlist'});});}(jQuery));;
101jQuery(document).ready(function(){jQuery('.trigger-popup').on('click',function(){ppms.cm.api('openConsentForm');});});;
102(function($,Drupal){Drupal.behaviors.myCustomBehavior={attach:function(context,settings){$('.header-menu-third-level-wp').css({'display':'none'});$('.menu-item-list--fourth-level').css({'visibility':'hidden'});$('.header-menu-item-desktop-level-4').css('display','none');$('.header-menu-fourth-level-wp').css('width','290px');$('.header-menu-fourth-level-wp').css('display','none');$('.node-title').attr('aria-expanded','false');$('.header-mega-menu-item.second-level').attr('aria-expanded','false');$('.second-level-clossing-cross-container').css('display','block');$('.inner-level-clossing-cross-container').css('display','none');if($('#toolbar-administration').length>0)$('.first-level.header-mega-menu-item.header-menu-parent',context).hover(function(){if(!$(this).hasClass('active'))return;const $adminBar=$('#toolbar-administration');const $header=$('header');const adminBarHeight=($adminBar.length&&$adminBar.is(':visible'))?$adminBar.outerHeight(true):0;var initialHeaderOffset=78.66667175292969;const headerHeight=$header.length?$header.outerHeight(true):0;const totalTopOffset=initialHeaderOffset+headerHeight;const viewportHeight=$(window).height();const $maintenanceBar=$('.maintenance_and_notification');let maintenanceHeight=0;if($maintenanceBar.length>0&&$maintenanceBar.is(':visible'))maintenanceHeight=$maintenanceBar.outerHeight(true);let availableHeight=viewportHeight-totalTopOffset-adminBarHeight-maintenanceHeight;$('.header-mega-menu-desktop--default',context).attr('style',function(i,style){style=style||'';style=style.replace(/max-height:\s*[^;]+;?/g,'');return style+` max-height: ${availableHeight}px !important; overflow-y: auto;`;});});$('.header-single-menu-item').click(function(){$('.menu-item-list-wp').css('display','revert-layer');let megaMenu=$(this).nextAll('.header-mega-menu-desktop').first();if(megaMenu.length){let currentVisibility=megaMenu.css('visibility');let newVisibility=currentVisibility==='visible'?'hidden':'visible';megaMenu.css('visibility',newVisibility);if(newVisibility==='visible'&&$('.overlay').length===0){$('<div class="overlay"></div>').prependTo('.layout-content');$('.overlay').fadeIn();}else{if(newVisibility==='hidden'&&$('.overlay').length===1){$('.menu-item-list-wp').css('display','revert-layer');$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);$('.overlay').fadeOut(function(){$(this).remove();});}}}$('.menu-item-list--fourth-level').css('visibility','hidden');$('.header-menu-third-level-wp').css('display','none');$('.header-menu-fourth-level-wp').css('display','none');$('.inner-level-clossing-cross-container').css('display','none');$('.header-mega-menu-item-list .second-level').removeClass('li-active');});$('.first-level').each(function(){$(this).on('mouseleave',function(){$('.menu-item-list-wp').css('display','revert-layer');var $bigCustomMenu=$('.header-mega-menu-desktop--custom');if($bigCustomMenu.css('visibility')!=='visible')$('.overlay').fadeOut(function(){$(this).remove();});var $bigDefaultMenu=$('.header-mega-menu-desktop--default');if($bigDefaultMenu.css('visibility')!=='visible')$('.overlay').fadeOut(function(){$(this).remove();});});});$('.header-single-menu-item').each(function(){$(this).on('mouseenter',function(){$('.menu-item-list-wp').css('display','revert-layer');var parentLi=$(this).closest('li');if(!parentLi.hasClass('active')){$('.menu-item-list--fourth-level').css('visibility','hidden');$('.header-menu-third-level-wp').css('display','none');$('.header-menu-fourth-level-wp').css('display','none');$('.inner-level-clossing-cross-container').css('display','none');$('.header-mega-menu-desktop').css('visibility','hidden');$('.overlay').fadeOut(function(){$(this).remove();});$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);}});});$('.four-level-menu-second-item').on('mouseover',function(){});$('.four-level-menu-second-item').click(function(){$('.header-menu-fourth-level-wp').css('width','0p
102x');$('.header-mega-menu-item-list .second-level').removeClass('li-active');$(this).addClass('li-active');var targetId=$(this).data('target');$('.header-menu-third-level-wp').css('display','none');$('.header-menu-item-desktop .node-title').removeClass('li-active');$('.menu-item-list--fourth-level').css('visibility','visible');$(targetId).css('display','block');$('.header-menu-item-desktop-level-4').css('display','none');$('.second-level-clossing-cross-container').css('display','none');$('.inner-level-clossing-cross-container').css('display','block');const $ssl=$('.header-menu-third-level-wp');const $ffl=$('.header-menu-fourth-level-wp');const $aal=$('.menu-item-list--fourth-level');const $maintenanceBartl=$('.maintenance_and_notification');if($ssl.hasClass('scroll-active')||$ffl.hasClass('scroll-active'))return;const newviewportHeight=$(window).height();const secondoffsetTop=$aal.offset().top;let secondmaintenanceHeight=0;if($maintenanceBartl.length>0&&$maintenanceBartl.is(':visible'))secondmaintenanceHeight=$maintenanceBartl.outerHeight(true);const secondavailableHeight=newviewportHeight-secondoffsetTop-secondmaintenanceHeight;const secondlevelcontentHeight=$aal.prop('scrollHeight');if(secondlevelcontentHeight>secondavailableHeight){$ssl.addClass('scroll-active');$ffl.addClass('scroll-active');$ssl.css({'max-height':secondavailableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});$ffl.find('li.last-item > span > a').css({'padding-right':'8px','word-wrap':'break-word'});$ffl.css({'max-height':secondavailableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});}else{$ssl.removeClass('scroll-active');$ffl.removeClass('scroll-active');}});$('.header-menu-item-desktop .node-title').hover(function(){});$('.header-menu-item-desktop .node-title').click(function(){$('.header-menu-item-desktop .node-title').removeClass('li-active');$(this).addClass('li-active');$('.header-menu-item-desktop-level-4').hide();var targetClass=$(this).data('target');targetClass=targetClass.replace('#','');$(this).closest('.header-menu-third-level-wp').next('.header-menu-fourth-level-wp').find('.'+targetClass).show();$(this).closest('.header-menu-third-level-wp').next('.header-menu-fourth-level-wp').css('width','290px');$(this).closest('.header-menu-third-level-wp').next('.header-menu-fourth-level-wp').css('display','block');const $ffl=$('.header-menu-fourth-level-wp');const $aal=$('.menu-item-list--fourth-level');const $maintenanceBartl=$('.maintenance_and_notification');if($ffl.hasClass('scroll-active'))return;const newviewportHeight=$(window).height();const secondoffsetTop=$aal.offset().top;let secondmaintenanceHeight=0;if($maintenanceBartl.length>0&&$maintenanceBartl.is(':visible'))secondmaintenanceHeight=$maintenanceBartl.outerHeight(true);const secondavailableHeight=newviewportHeight-secondoffsetTop-secondmaintenanceHeight;const secondlevelcontentHeight=$aal.prop('scrollHeight');if(secondlevelcontentHeight>secondavailableHeight){$ffl.addClass('scroll-active');$ffl.find('li.last-item > span > a').css({'padding-right':'8px','word-wrap':'break-word'});$ffl.css({'max-height':secondavailableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});}else $ffl.removeClass('scroll-active');});$('.header-mega-menu-item.four-level-menu-second-item').on('classChange',function(){if($(this).hasClass('li-active'))$(this).attr('aria-expanded','true');else $(this).attr('aria-expanded','false');});$('.node-title').on('classChange',function(){if($(this).hasClass('li-active'))$(this).attr('aria-expanded','true');else $(this).attr('aria-expanded','false');});$('.two-sub-cat-first-item').on('mouseover',function(){$('.header-menu-item-desktop .two-sub-cat-first-item').removeClass('li-active');});$('.level-3-products .see-all-list').hover(function(){var fourthLevelWp=$(this).closest('.header-menu-third-level-wp .active').next('.header-menu-fourth-level-wp');if(fourthLevelWp.css('display')!=='block')$('.node-title').removeClass('roll-over');});var $megamenu=$('.header-mega-menu-desktop');var $megaMenus=$('.header-mega-menu-desktop');$megamenu.on('mouseleave',function(event){event.stopImmediatePropagation();});$(document).on('click',function(event){$megaMenus.each(function(){var $megaMenu=$(this);if(!$(event.target).closest($megaMenu).length&&$megaMenu.css('visibility')==='visible'){$('.menu-item-list-wp').css('display','none');$megaMenu.css('visibility','hidden');$('.overlay').fadeOut(function(){$('.first-level').removeClass('active');$(this).remove();});$megaMenu.find('.menu-item-list--fourth-level').css('visibility','hidden');$('.header-menu-third-level-wp').css('display','none');$('.header-menu-fourth-level-wp').css('display','none');$('.inner-level-clossing-cross-container').css('display','none');$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);}});});var _addClass=$.fn.addClass;var _removeClass=$.fn.removeClass;$.fn.addClass=function(){var result=_addClass.apply(this,arguments);this.trigger('classChange');return result;};$.fn.removeClass=function(){var result=_removeClass.apply(this,arguments);this.trigger('classChange');return result;};function toggleSearch(){const $win=$(window);const isMobile=$win.width()<=768;const $searchBox=$('.header-search-box');const $searchInput=$('#js-site-search-input');const $iconSearch=$('.icon-search');const $iconClose=$('.icon-close');$win.off('.toggleSearch');$searchInput.off('.toggleSearch');$iconSearch.off('.toggleSearch');$iconClose.off('.toggleSearch');$(document).off('.toggleSearch');const showSearchIcon=()=>$iconSearch.show();const hideSearchIcon=()=>$iconSearch.hide();const showCloseIcon=()=>$iconClose.show();const hideCloseIcon=()=>$iconClose.hide();const updateIconsFromInput=()=>{const hasText=($searchInput.val()||'').trim().length>0;$('.js-search-close').attr('aria-hidden','false');if(hasText){showSearchIcon();showCloseIcon();}else{showSearchIcon();hideCloseIcon();}};const openSearch=({initial=false}={})=>
102{if(!isMobile){$searchBox.addClass('is-active');showSearchIcon();hideCloseIcon();return;}$searchBox.addClass('is-active');if(isMobile&&initial){showSearchIcon();hideCloseIcon();}else updateIconsFromInput();};const closeSearch=()=>{$searchBox.removeClass('is-active');hideCloseIcon();showSearchIcon();};if(isMobile){openSearch({initial:true});$searchInput.on('input.toggleSearch',updateIconsFromInput);setTimeout(updateIconsFromInput,0);$('.js-search-close').off('.toggleSearch').on('click.toggleSearch',function(){$searchInput.val('');closeSearch();});$iconSearch.on('click.toggleSearch',function(e){const hasText=($searchInput.val()||'').trim().length>0;if(hasText){e.preventDefault();$searchInput.closest('form')[0].submit();return;}if(!$searchBox.hasClass('is-active'))openSearch();});$win.on('scroll.toggleSearch',function(){const top=$win.scrollTop();if(top>=300)closeSearch();else if(!$searchBox.hasClass('is-active'))openSearch();else updateIconsFromInput();});$(document).on('click.toggleSearch',function(){});}else{$searchInput.on('input.toggleSearch',updateIconsFromInput);$iconSearch.on('click.toggleSearch',function(e){const hasText=($searchInput.val()||'').trim().length>0;if(hasText){e.preventDefault();$searchInput.closest('form')[0].submit();return;}if(!$searchBox.hasClass('is-active'))openSearch();});$('.js-search-close').off('.toggleSearch').on('click.toggleSearch',function(){$searchInput.val('');closeSearch();});}}$(function(){toggleSearch();});if($(window).width()>=769){$('.menu-close-icon').on('click',function(e){$('.header-mega-menu-desktop--default').css('visibility','hidden');$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);$('.overlay').fadeOut(function(){$('.first-level').removeClass('active');$(this).remove();});});$('.second-level-menu-close-icon').on('click',function(e){$('.menu-item-list-wp').css('display','none');$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);$('.header-mega-menu-desktop--custom').css('visibility','hidden');$('.menu-item-list.menu-item-list--fourth-level').css('visibility','hidden');$('.overlay').fadeOut(function(){$('.first-level').removeClass('active');$(this).remove();});});$('.inner-level-menu-close-icon').on('click',function(e){$('.menu-item-list-wp').css('display','none');$('.second-level-clossing-cross-container').css('display','block');$('.first-level-scrollable-div').scrollTop(0);$('.header-mega-menu-desktop--custom').css('visibility','hidden');$('.menu-item-list.menu-item-list--fourth-level').css('visibility','hidden');$('.overlay').fadeOut(function(){$('.first-level').removeClass('active');$(this).remove();});});const $el=$('.first-level-scrollable-div');const $sl=$('.header-menu-third-level-wp');const $fl=$('.header-menu-fourth-level-wp');const $maintenanceBar=$('.maintenance_and_notification');const offsetTop=$el.offset().top;const viewportHeight=$(window).height();let maintenanceHeight=0;if($maintenanceBar.length>0&&$maintenanceBar.is(':visible'))maintenanceHeight=$maintenanceBar.outerHeight(true);const availableHeight=viewportHeight-offsetTop-maintenanceHeight;const contentHeight=$el.prop('scrollHeight');if(contentHeight>availableHeight){$el.addClass('scroll-active');$sl.addClass('scroll-active');$fl.addClass('scroll-active');$el.css({'max-height':availableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});$el.find('li.four-level-menu-second-item > span > a').css({'word-wrap':'break-word','padding-right':'70px'});$sl.css({'max-height':availableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});$fl.find('li.last-item > span > a').css({'padding-right':'8px','word-wrap':'break-word'});$fl.css({'max-height':availableHeight+'px','overflow-y':'auto','overflow-x':'hidden'});}else{$el.removeClass('scroll-active');$sl.removeClass('scroll-active');$fl.removeClass('scroll-active');}}}};})(jQuery,Drupal);;

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