PageSourceSearch

https://www.flavor-hit.com/themes/v1_spicealley_302/assets/cache/bottom-edb5bd1423.js

js flavor-hit.com collected 2026-10-06 12:49:43 UTC 778,803 bytes, 1,913 lines download raw bytes

vendor: 5,108 bytes, lines 1-11
1(()=>{var e,t,n={263:function(e,t){var n;
2/*!
3 * jQuery JavaScript Library v3.7.1
4 * https://jquery.com/
5 *
6 * Copyright OpenJS Foundation and other contributors
7 * Released under the MIT license
8 * https://jquery.org/license
9 *
10 * Date: 2023-08-28T13:37Z
11 */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,l=i.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function j(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var k="3.7.1",C=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=j(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:k,constructor:T,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=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(k+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]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=T.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!C.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var E=i.pop,D=i.sort,P=i.splice,q="[\\x20\\t\\r\\n\\f]",N=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function _(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(O,_)};var $=b,H=u;!function(){var e,t,n,o,a,c,u,d,p,h,m=H,v=T.expando,y=0,b=0,x=ee(),w=ee(),j=ee(),k=ee(),C=function(e,t){return e===t&&(
vendor: 10,352 bytes, line 11
11a=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="(?:\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",_="\\["+q+"*("+O+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+q+"*\\]",L=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+_+")*)|.*)\\)|)",R=new RegExp(q+"+","g"),M=new RegExp("^"+q+"*,"+q+"*"),I=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),F=new RegExp(q+"|>"),W=new RegExp(L),Q=new RegExp("^"+O+"$"),B={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+_),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,J=new RegExp("\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\([^\\r\\n\\f])","g"),G=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))},Y=function(){ce()},K=pe((function(e){return!0===e.disabled&&A(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(i=s.call($.childNodes),$.childNodes),i[$.childNodes.length].nodeType}catch(e){m={apply:function(e,t){H.apply(e,s.call(t))},call:function(e){H.apply(e,s.call(arguments,1))}}}function Z(e,t,n,r){var o,i,a,s,u,l,f,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(ce(t),t=t||c,d)){if(11!==y&&(u=X.exec(e)))if(o=u[1]){if(9===y){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(h&&(a=h.getElementById(o))&&Z.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(u[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(k[e+" "]||p&&p.test(e))){if(f=e,h=t,1===y&&(F.test(e)||I.test(e))){for((h=V.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=v)),i=(l=le(e)).length;i--;)l[i]=(s?"#"+s:":scope")+" "+de(l[i]);f=l.join(",")}try{return m.apply(n,h.querySelectorAll(f)),n}catch(t){k(e,!0)}finally{s===v&&t.removeAttribute("id")}}}return ye(e.replace(N,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[v]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return A(t,"input")&&t.type===e}}function oe(e){return function(t){return(A(t,"input")||A(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ce(e){var n,r=e?e.ownerDocument||e:$;return r!=c&&9===r.nodeType&&r.documentElement?(u=(c=r).documentElement,d=!T.isXMLDoc(c),h=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&$!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",Y),g.getById=ne((function(e){return u.appendChild(e).id=T.expando,!c.getElementsByName||!c.getElementsByName(T.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return c.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(J,G);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,G);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},p=[],ne((function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+q+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+q+"*name"+q+"*="+q+"*(?:''|\"\")")})),g.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),C=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==$&&Z.contains($,e)?-1:t===c||t.ownerDocument==$&&Z.contains($,t)?1:o?l.call(o,e)-l.call(o,t):0:4&n?-1:1)},c):c}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ce(e),d&&!k[t+" "]&&(!p||!p.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){k(t,!0)}return Z(t,c,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=c&&ce(e),T.contains(e,t)},Z.attr=function(e,n){(e.ownerDocument||e)!=c&&ce(e);var r=t.attrHandle[n.toLowerCase()],o=r&&f.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==o?o:e.getAttribute(n)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!g.sortStable,o=!g.sortStable&&s.call(e,0),D.call(e,C),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)P.call(e,n[r],1)}return o=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(s.apply(this)))},(t=T.expr={cacheLength:50,createPseudo:te,match:B,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(J,G),e[3]=(e[3]||e[4]||e[5]||"").replace(J,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return B.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=le(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(J,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return A(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+q+")"+e+"("+q+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Z.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(R," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,l,d,p,f,h=i!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!c&&!s,x=!1;if(m){if(i){for(;h;){for(d=t;d=d[h];)if(s?A(d,g):1===d.nodeType)return!1;f=h="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&b){for(x=(p=(u=(l=m[v]||(m[v]={}))[e]||[])[0]===y&&u[1])&&u[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(x=p=0)||f.pop();)if(1===d.nodeType&&++x&&d===t){l[e]=[y,p,x];break}}else if(b&&(x=p=(u=(l=t[v]||(t[v]={}))[e]||[])[0]===y&&u[1]),!1===x)for(;(d=++p&&d&&d[h]||(x=p=0)||f.pop())&&(!(s?A(d,g):1===d.nodeType)||!++x||(b&&((l=d[v]||(d[v]={}))[e]=[y,x]),d!==t)););return(x-=o)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return o[v]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=l.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(N,"$1"));return r[v]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(J,G),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}})),lang:te((function(e){return Q.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(J,G).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}
vendor: 11,693 bytes, line 11
11)),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return A(e,"input")&&!!e.checked||A(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return z.test(e.nodeName)},button:function(e){return A(e,"input")&&"button"===e.type||A(e,"button")},text:function(e){var t;return A(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ue(){}function le(e,n){var r,o,i,a,s,c,u,l=w[e+" "];if(l)return n?0:l.slice(0);for(s=e,c=[],u=t.preFilter;s;){for(a in r&&!(o=M.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),r=!1,(o=I.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(N," ")}),s=s.slice(r.length)),t.filter)!(o=B[a].exec(s))||u[a]&&!(o=u[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?Z.error(e):w(e,c).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var u,l,d=[y,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=t[v]||(t[v]={}),o&&A(t,o))t=t[r]||t;else{if((u=l[i])&&u[0]===y&&u[1]===s)return d[2]=u[2];if(l[i]=d,d[2]=e(t,n,c))return!0}return!1}}function fe(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function me(e,t,n,r,o,i){return r&&!r[v]&&(r=me(r)),o&&!o[v]&&(o=me(o,i)),te((function(i,a,s,c){var u,d,p,f,h=[],g=[],v=a.length,y=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Z(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:he(y,h,e,s,c);if(n?n(b,f=o||(i?e:v||r)?[]:a,s,c):f=b,r)for(u=he(f,g),r(u,[],s,c),d=u.length;d--;)(p=u[d])&&(f[g[d]]=!(b[g[d]]=p));if(i){if(o||e){if(o){for(u=[],d=f.length;d--;)(p=f[d])&&u.push(b[d]=p);o(null,f=[],u,c)}for(d=f.length;d--;)(p=f[d])&&(u=o?l.call(i,p):h[d])>-1&&(i[u]=!(a[u]=p))}}else f=he(f===a?f.splice(v,f.length):f),o?o(null,a,f,c):m.apply(a,f)}))}function ge(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],c=s||t.relative[" "],u=s?1:0,d=pe((function(e){return e===r}),c,!0),p=pe((function(e){return l.call(r,e)>-1}),c,!0),f=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?d(e,t,o):p(e,t,o));return r=null,i}];u<a;u++)if(o=t.relative[e[u].type])f=[pe(fe(f),o)];else{if((o=t.filter[e[u].type].apply(null,e[u].matches))[v]){for(i=++u;i<a&&!t.relative[e[i].type];i++);return me(u>1&&fe(f),u>1&&de(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(N,"$1"),o,u<i&&ge(e.slice(u,i)),i<a&&ge(e=e.slice(i)),i<a&&de(e))}f.push(o)}return fe(f)}function ve(e,r){var o,i=[],a=[],s=j[e+" "];if(!s){for(r||(r=le(e)),o=r.length;o--;)(s=ge(r[o]))[v]?i.push(s):a.push(s);s=j(e,function(e,r){var o=r.length>0,i=e.length>0,a=function(a,s,u,l,p){var f,h,g,v=0,b="0",x=a&&[],w=[],j=n,k=a||i&&t.find.TAG("*",p),C=y+=null==j?1:Math.random()||.1,S=k.length;for(p&&(n=s==c||s||p);b!==S&&null!=(f=k[b]);b++){if(i&&f){for(h=0,s||f.ownerDocument==c||(ce(f),u=!d);g=e[h++];)if(g(f,s||c,u)){m.call(l,f);break}p&&(y=C)}o&&((f=!g&&f)&&v--,a&&x.push(f))}if(v+=b,o&&b!==v){for(h=0;g=r[h++];)g(x,w,s,u);if(a){if(v>0)for(;b--;)x[b]||w[b]||(w[b]=E.call(l));w=he(w)}m.apply(l,w),p&&!a&&w.length>0&&v+r.length>1&&T.uniqueSort(l)}return p&&(y=C,n=j),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,n,r,o){var i,a,s,c,u,l="function"==typeof e&&e,p=!o&&le(e=l.selector||e);if(r=r||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(J,G),n)||[])[0]))return r;l&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=B.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[c=s.type]);)if((u=t.find[c])&&(o=u(s.matches[0].replace(J,G),V.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&de(a)))return m.apply(r,o),r;break}}return(l||ve(e,p))(o,n,!d,r,!n||V.test(e)&&se(n.parentNode)||n),r}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=v.split("").sort(C).join("")===v,ce(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))})),T.find=Z,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,Z.compile=ve,Z.select=ye,Z.setDocument=ce,Z.tokenize=le,Z.escape=T.escapeSelector,Z.getText=T.text,Z.isXML=T.isXMLDoc,Z.selectors=T.expr,Z.support=T.support,Z.uniqueSort=T.uniqueSort}();var L=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},R=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},M=T.expr.match.needsContext,I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return v(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return l.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&M.test(e)?T(e):e||[],!1).length}});var W,Q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||W,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[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 T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(r[1])&&T.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,W=T(b);var B=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!M.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?l.call(T(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return U(e,"nextSibling")},prev:function(e){return U(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return R((e.parentNode||{}).firstChild,e)},children:function(e){return R(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),this.length>1&&(z[e]||T.uniqueSort(o),B.test(e)&&o.reverse()),this.pushStack(o)}}));var X=/[^\x20\t\r\n\f]+/g;function V(e){return e}function J(e){throw e}function G(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(X)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){v(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==j(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self
11-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(u)?o?u.call(r,a(i,t,V,o),a(i,t,J,o)):(i++,u.call(r,a(i,t,V,o),a(i,t,J,o),a(i,t,V,t.notifyWith))):(n!==V&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,l.error),e+1>=i&&(n!==J&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?l():(T.Deferred.getErrorHook?l.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(l.error=T.Deferred.getStackHook()),r.setTimeout(l))}}return T.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:V,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:V)),t[2][3].add(a(0,r,v(n)?n:J))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(G(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)G(o[n],a(n),i.reject);return i.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&Y.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var K=T.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),r.removeEventListener("load",Z),T.ready()}T.fn.ready=function(e){return K.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||K.resolveWith(b,[T]))}}),T.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",Z),r.addEventListener("load",Z));var ee=function(e,t,n,r,o,i,a){var s=0,c=e.length,u=null==n;if("object"===j(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):c?t(e[0],n):i},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(ne,re)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=T.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[oe(t)]=n;else for(r in t)o[oe(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(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(oe):(t=oe(t))in r?[t]:t.match(X)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var se=new ae,ce=new ae,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,le=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(le,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e)}(n)}catch(e){}ce.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return ce.hasData(e)||se.hasData(e)},data:function(e,t,n){return ce.access(e,t,n)},removeData:function(e,t){ce.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=ce.get(i),1===i.nodeType&&!se.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=oe(r.slice(5)),de(i,r,o[r]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){ce.set(this,e)})):ee(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=ce.get(i,e))||void 0!==(n=de(i,e))?n:void 0;this.each((function(){ce.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ce.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){T.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:T.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});
vendor: 9,904 bytes, line 11
11var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return T.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===T.css(e,"display")};function be(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),l=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+c)&&fe.exec(T.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)T.style(e,t,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,T.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var xe={};function we(e){var t,n=e.ownerDocument,r=e.nodeName,o=xe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[r]=o,o)}function je(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=se.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ye(r)&&(o[i]=we(r))):"none"!==n&&(o[i]="none",se.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return je(this,!0)},hide:function(){return je(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?T(this).show():T(this).hide()}))}});var ke,Ce,Te=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ae=/^$|^module$|\/(?:java|ecma)script/i;ke=b.createDocumentFragment().appendChild(b.createElement("div")),(Ce=b.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),ke.appendChild(Ce),g.checkClone=ke.cloneNode(!0).cloneNode(!0).lastChild.checked,ke.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ke.cloneNode(!0).lastChild.defaultValue,ke.innerHTML="<option></option>",g.option=!!ke.lastChild;var Ee={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 De(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?T.merge([e],n):n}function Pe(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,g.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var qe=/<|&#?\w+;/;function Ne(e,t,n,r,o){for(var i,a,s,c,u,l,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===j(i))T.merge(p,i.nodeType?[i]:i);else if(qe.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(Se.exec(i)||["",""])[1].toLowerCase(),c=Ee[s]||Ee._default,a.innerHTML=c[1]+T.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;T.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(u=ge(i),a=De(d.appendChild(i),"script"),u&&Pe(a),n)for(l=0;i=a[l++];)Ae.test(i.type||"")&&n.push(i);return d}var Oe=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function $e(){return!1}function He(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)He(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=$e;else if(!o)return e;return 1===i&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function Le(e,t,n){n?(se.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,T.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=_e)}})):void 0===se.get(e,t)&&T.event.add(e,t,_e)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,u,l,d,p,f,h,m,g=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(me,o),n.guid||(n.guid=T.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(X)||[""]).length;u--;)f=m=(s=Oe.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=T.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=T.event.special[f]||{},l=T.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=c[f])||((p=c[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),T.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,u,l,d,p,f,h,m,g=se.hasData(e)&&se.get(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(X)||[""]).length;u--;)if(f=m=(s=Oe.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},p=c[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)l=p[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,d.remove&&d.remove.call(e,l));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||T.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)T.event.remove(e,f+t[u],n,r,!0);T.isEmptyObject(c)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=T.event.fix(e),u=(se.get(this,"events")||Object.create(null))[c.type]||[],l=T.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=T.event.handlers.call(this,c,u),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&A(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&A(t,"input")&&se.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?_e:$e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:$e,isPropagationStopped:$e,isImmediatePropagationStopped:$e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=T.event.fix(e);
vendor: 4,069 bytes, line 11
11r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var r;if(Le(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(o,t))}}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return He(this,e,t,n,r)},one:function(e,t,n,r){return He(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=$e),this.each((function(){T.event.remove(this,e,n,t)}))}});var Re=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function We(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 Be(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);ce.hasData(e)&&(i=ce.access(e),a=T.extend({},i),ce.set(t,a))}}function ze(e,t,n,r){t=c(t);var o,i,a,s,u,l,d=0,p=e.length,f=p-1,h=t[0],m=v(h);if(m||p>1&&"string"==typeof h&&!g.checkClone&&Me.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),ze(i,t,n,r)}));if(p&&(i=(o=Ne(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(De(o,"script"),We)).length;d<p;d++)u=o,d!==f&&(u=T.clone(u,!0,!0),s&&T.merge(a,De(u,"script"))),n.call(e[d],u,d);if(s)for(l=a[a.length-1].ownerDocument,T.map(a,Qe),d=0;d<s;d++)u=a[d],Ae.test(u.type||"")&&!se.access(u,"globalEval")&&T.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):w(u.textContent.replace(Ie,""),u,l))}return e}function Ue(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(De(r)),r.parentNode&&(n&&ge(r)&&Pe(De(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s,c,u,l=e.cloneNode(!0),d=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=De(l),r=0,o=(i=De(e)).length;r<o;r++)s=i[r],c=a[r],u=void 0,"input"===(u=c.nodeName.toLowerCase())&&Te.test(s.type)?c.checked=s.checked:"input"!==u&&"textarea"!==u||(c.defaultValue=s.defaultValue);if(t)if(n)for(i=i||De(e),a=a||De(l),r=0,o=i.length;r<o;r++)Be(i[r],a[r]);else Be(e,l);return(a=De(l,"script")).length>0&&Pe(a,!d&&De(e,"script")),l},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)
vendor: 10,907 bytes, line 11
11o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[ce.expando]&&(n[ce.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(De(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return ee(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&&!Re.test(e)&&!Ee[(Se.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(De(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(De(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var Xe=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Ve=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ge=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ye=new RegExp(he.join("|"),"i");function Ke(e,t,n){var r,o,i,a,s=Ve.test(t),c=e.style;return(n=n||Je(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(N,"$1")||void 0),""!==a||ge(e)||(a=T.style(e,t)),!g.pixelBoxStyles()&&Xe.test(a)&&Ye.test(t)&&(r=c.width,o=c.minWidth,i=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=o,c.maxWidth=i)),void 0!==a?a+"":a}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(u).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),me.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,u=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var et=["Webkit","Moz","ms"],tt=b.createElement("div").style,nt={};function rt(e){var t=T.cssProps[e]||nt[e];return t||(e in tt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,it={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function st(e,t,n){var r=fe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(e,n+he[a],!0,o)),r?("content"===n&&(c-=T.css(e,"padding"+he[a],!0,o)),"margin"!==n&&(c-=T.css(e,"border"+he[a]+"Width",!0,o))):(c+=T.css(e,"padding"+he[a],!0,o),"padding"!==n?c+=T.css(e,"border"+he[a]+"Width",!0,o):s+=T.css(e,"border"+he[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c+u}function ut(e,t,n){var r=Je(e),o=(!g.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=Ke(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(o?"border":"content"),i,r,a)+"px"}function lt(e,t,n,r,o){return new lt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),c=Ve.test(t),u=e.style;if(c||(t=rt(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=fe.exec(n))&&o[1]&&(n=be(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Ve.test(t)||(t=rt(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ke(e,t,r)),"normal"===o&&t in at&&(o=at[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Ge(e,it,(function(){return ut(e,t,r)}))},set:function(e,n,r){var o,i=Je(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),c=r?ct(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),c&&(o=fe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),st(0,n,c)}}})),T.cssHooks.marginLeft=Ze(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Ge(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+he[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=st)})),T.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Je(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=lt.prototype.init,T.fx.step={};var dt,pt,ft=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function mt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,T.fx.interval),T.fx.tick())}function gt(){return r.setTimeout((function(){dt=void 0})),dt=Date.now()}function vt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=he[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function yt(e,t,n){for(var r,o=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function bt(e,t,n){var r,o,i=0,a=bt.prefilters.length,s=T.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=dt||gt(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.o
vendor: 1,609 bytes, line 11
11pts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=oe(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=bt.prefilters[i].call(u,e,l,u.opts))return v(r.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return T.map(l,yt,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(bt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(X);for(var n,r=0,o=e.length;r<o;r++)n=e[r],bt.tweeners[n]=bt.tweeners[n]||[],bt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,u,l,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ye(e),g=se.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],ft.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 23,644 bytes, line 11
11!g||void 0===g[r])continue;m=!0}f[r]=g&&g[r]||T.style(e,r)}if((c=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=se.get(e,"display")),"none"===(l=T.css(e,"display"))&&(u?l=u:(je([e],!0),u=e.style.display||u,l=T.css(e,"display"),je([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===T.css(e,"float")&&(c||(p.done((function(){h.display=u})),null==u&&(l=h.display,u="none"===l?"":l)),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]}))),c=!1,f)c||(g?"hidden"in g&&(m=g.hidden):g=se.access(e,"fxshow",{display:u}),i&&(g.hidden=!m),m&&je([e],!0),p.done((function(){for(r in m||je([e]),se.remove(e,"fxshow"),f)T.style(e,r,f[r])}))),c=yt(m?g[r]:0,r,p),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=bt(this,T.extend({},e),i);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ht.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,o)}})),T.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),dt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){pt||(pt=!0,mt())},T.fx.stop=function(){pt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,wt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.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,o=t&&t.match(X);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||T.find.attr;wt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=wt[a],wt[a]=o,o=null!=n(e,t,r)?a:null,wt[a]=i),o}}));var jt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function Ct(e){return(e.match(X)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){T(this).addClass(e.call(this,t,Tt(this)))})):(t=St(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+Ct(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Ct(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){T(this).removeClass(e.call(this,t,Tt(this)))})):arguments.length?(t=St(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+Ct(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Ct(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,Tt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each((function(){if(s)for(i=T(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=Tt(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Ct(Tt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(At,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Ct(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=T.inArray(T.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Et=r.location,Dt={guid:Date.now()},Pt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var qt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var i,a,s,c,u,l,d,p,h=[n||b],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!qt.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(c=d.delegateType||m,qt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?c:d.bindType||m,(l=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&l.apply(a,t),(l=u&&a[u])&&l.apply&&ie(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!ie(n)||u&&v(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Nt),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Nt),T.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,_t=/\r?\n/g,$t=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||Ot.test(e)?r(e,o):Lt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==j(t))r(e,t);else for(o in t)Lt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)Lt(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Ht.test(this.nodeName)&&!$t.test(e)&&(this.checked||!Te.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(_t,"\r\n")}})):{name:t.name,value:n.replace(_t,"\r\n")}})).get()}});var Rt=/%20/g,Mt=/#.*$/,It=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Bt={},zt={},Ut="*/".concat("*"),Xt=b.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(X)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Jt(e,t,n,r){var o={},i=e===zt;function a(s){var c;return o[s]=!0,T.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Gt(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Xt.href=Et.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,T.ajaxSettings),t):Gt(T.ajaxSettings,e)},ajaxPrefilter:Vt(Bt),ajaxTransport:Vt(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,u,l,d,p,f=T.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?T(h):T.event,g=T.Deferred(),v=T.Callbacks("once memory"),y=f.statusCode||{},x={},w={},j="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Ft.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||j;return n&&n.abort(t),C(0,t),this}};if(g.promise(k),f.url=((e||f.url||Et.href)+"").replace(Qt,Et.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(X)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Xt.protocol+"//"+Xt.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),Jt(Bt,f,t,k),u)return k;for(d in(l=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Wt.test(f.type),o=f.url.replace(Mt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Rt,"+")):(p=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(Pt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(It,"$1"),p=(Pt.test(o)?"&":"?")+"_="+Dt.guid+++p),f.url=o+p),f.ifModified&&(T.lastModified[o]&&k.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&k.setRequestHeader("If-None-Match",T.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,k,f)||u))return k.abort();if(j="abort",v.add(f.complete),k.done(f.success),k.fail(f.error),n=Jt(zt,f,t,k)){if(k.readyState=1,l&&m.trigger("ajaxSend",[k,f]),u)return k;f.async&&f.timeout>0&&(s=r.setTimeout((function(){k.abort("timeout")}),f.timeout));try{u=!1,n.send(x,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,c){var d,p,b,x,w,j=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,k,a)),!d&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.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 "+c+" to "+i}}}return{state:"success",data:t}}(f,x,k,d),d?(f.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=k.getResponseHeader("etag"))&&(T.etag[o]=w)),204===e||"HEAD"===f.type?j="nocontent":304===e?j="notmodified":(j=x.state,p=x.data,d=!(b=x.error))):(b=j,!e&&j||(j="error",e<0&&(e=0))),k.status=e,k.statusText=(t||j)+"",d?g.resolveWith(h,[p,j,k]):g.rejectWith(h,[k,j,b]),k.statusCode(y),y=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,f,d?p:b]),v.fireWith(h,[k,j]),l&&(m.trigger("ajaxComplete",[k,f]),--T.active||T.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Kt=T.ajaxSettings.xhr();g.cors=!!Kt&&"withCredentials"in Kt,g.ajax=Kt=!!Kt,T.ajaxTransport((function(e){var t,n;if(g.cors||Kt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Yt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt,en=[],tn=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=en.pop()||T.expando+"_"+Dt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(tn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&tn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(tn,"$1"+o):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?T(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,en.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Zt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Zt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=I.exec(e))?[t.createElement(o[1])]:(o=Ne([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=Ct(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,u=T.css(e,"position"),l=T(e),d={};"static"===u&&(e.style.position="relative"),s=l.offset(),i=T.css(e,"to
11p"),c=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),v(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):l.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||me}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return ee(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ze(g.pixelPosition,(function(e,n){if(n)return n=Ke(e,t),Xe.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var nn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=A,T.isFunction=v,T.isWindow=y,T.camelCase=oe,T.type=j,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(nn,"$1")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var rn=r.jQuery,on=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=on),e&&r.jQuery===T&&(r.jQuery=rn),T},void 0===o&&(r.jQuery=r.$=T),T}))},98:(e,t,n)=>{var r,o;
12/*!
13 * jQuery Migrate - v3.5.2 - 2024-07-17T22:31Z
14 * Copyright OpenJS Foundation and other contributors
15 */!function(){"use strict";r=[n(263)],o=function(e){return function(e,t){function n(e,t){var n,r=/^(\d+)\.(\d+)\.(\d+)/,o=r.exec(e)||[],i=r.exec(t)||[];for(n=1;n<=3;n++){if(+o[n]>+i[n])return 1;if(+o[n]<+i[n])return-1}return 0}function r(t){return n(e.fn.jquery,t)>=0}e.migrateVersion="3.5.2";var o=Object.create(null);e.migrateDisablePatches=function(){var e;
15for(e=0;e<arguments.length;e++)o[arguments[e]]=!0},e.migrateEnablePatches=function(){var e;for(e=0;e<arguments.length;e++)delete o[arguments[e]]},e.migrateIsPatchEnabled=function(e){return!o[e]},t.console&&t.console.log&&(e&&r("3.0.0")&&!r("5.0.0")||t.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),e.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(e.migrateMute?"":" with logging active")+", version "+e.migrateVersion));var i={};e.migrateDeduplicateWarnings=!0,e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0);function a(n,r){var o=t.console;!e.migrateIsPatchEnabled(n)||e.migrateDeduplicateWarnings&&i[r]||(i[r]=!0,e.migrateWarnings.push(r+" ["+n+"]"),o&&o.warn&&!e.migrateMute&&(o.warn("JQMIGRATE: "+r),e.migrateTrace&&o.trace&&o.trace()))}function s(e,t,n,r,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return a(r,o),n},set:function(e){a(r,o),n=e}})}function c(t,n,r,o,i){var s=t[n];t[n]=function(){return i&&a(o,i),(e.migrateIsPatchEnabled(o)?r:s||e.noop).apply(this,arguments)}}function u(e,t,n,r,o){if(!o)throw new Error("No warning message provided");return c(e,t,n,r,o)}function l(e,t,n,r){return c(e,t,n,r)}e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===t.document.compatMode&&a("quirks","jQuery is not compatible with Quirks Mode");var d,p={},f=e.fn.init,h=e.find,m=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in l(e.fn,"init",(function(t){var n=Array.prototype.slice.call(arguments);return e.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof t&&"#"===t&&(a("selector-empty-id","jQuery( '#' ) is not a valid selector"),n[0]=[]),f.apply(this,n)}),"selector-empty-id"),e.fn.init.prototype=e.fn,l(e,"find",(function(e){var n=Array.prototype.slice.call(arguments);if("string"==typeof e&&m.test(e))try{t.document.querySelector(e)}catch(r){e=e.replace(g,(function(e,t,n,r){return"["+t+n+'"'+r+'"]'}));try{t.document.querySelector(e),a("selector-hash","Attribute selector with '#' must be quoted: "+n[0]),n[0]=e}catch(e){a("selector-hash","Attribute selector with '#' was not fixed: "+n[0])}}return h.apply(this,n)}),"selector-hash"),h)Object.prototype.hasOwnProperty.call(h,d)&&(e.find[d]=h[d]);u(e.fn,"size",(function(){return this.length}),"size","jQuery.fn.size() is deprecated and removed; use the .length property"),u(e,"parseJSON",(function(){return JSON.parse.apply(null,arguments)}),"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),u(e,"holdReady",e.holdReady,"holdReady","jQuery.holdReady is deprecated"),u(e,"unique",e.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),s(e.expr,"filters",e.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),s(e.expr,":",e.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),r("3.1.1")&&u(e,"trim",(function(e){return null==e?"":(e+"").replace(v,"$1")}),"trim","jQuery.trim is deprecated; use String.prototype.trim");r("3.2.0")&&(u(e,"nodeName",(function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}),"nodeName","jQuery.nodeName is deprecated"),u(e,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray"));r("3.3.0")&&(u(e,"isNumeric",(function(e){var t=typeof e;return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))}),"isNumeric","jQuery.isNumeric() is deprecated"),e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()})),u(e,"type",(function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[Object.prototype.toString.call(e)]||"object":typeof e}),"type","jQuery.type is deprecated"),u(e,"isFunction",(function(e){return"function"==typeof e}),"isFunction","jQuery.isFunction() is deprecated"),u(e,"isWindow",(function(e){return null!=e&&e===e.window}),"isWindow","jQuery.isWindow() is deprecated"));if(e.ajax){var y=e.ajax,b=/(=)\?(?=&|$)|\?\?/;l(e,"ajax",(function(){var e=y.apply(this,arguments);return e.promise&&(u(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),u(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),u(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e}),"jqXHR-methods"),r("4.0.0")||e.ajaxPrefilter("+json",(function(e){!1!==e.jsonp&&(b.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&b.test(e.data))&&a("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}))}var x=e.fn.removeAttr,w=e.fn.toggleClass,j=/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,k=/\S+/g;function C(e){return e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))}l(e.fn,"removeAttr",(function(t){var n=this,r=!1;return e.each(t.match(k),(function(t,o){j.test(o)&&n.each((function(){if(!1!==e(this).prop(o))return r=!0,!1})),r&&(a("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+o),n.prop(o,!1))})),x.apply(this,arguments)}),"removeAttr-bool"),l(e.fn,"toggleClass",(function(t){return void 0!==t&&"boolean"!=typeof t?w.apply(this,arguments):(a("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each((function(){var n=this.getAttribute&&this.getAttribute("class")||"";n&&e.data(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":e.data(this,"__className__")||"")})))}),"toggleClass-bool");var T,S,A=!1,E=/^[a-z]/,D=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;e.swap&&e.each(["height","width","reliableMarginRight"],(function(t,n){var r=e.cssHooks[n]&&e.cssHooks[n].get;r&&(e.cssHooks[n].get=function(){var e;return A=!0,e=r.apply(this,arguments),A=!1,e})}));l(e,"swap",(function(e,t,n,r){var o,i,s={};for(i in A||a("swap","jQuery.swap() is undocumented and deprecated"),t)s[i]=e.style[i],e.style[i]=t[i];for(i in o=n.apply(e,r||[]),t)e.style[i]=s[i];return o}
15),"swap"),r("3.4.0")&&"undefined"!=typeof Proxy&&(e.cssProps=new Proxy(e.cssProps||{},{set:function(){return a("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}}));r("4.0.0")?(S={animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},"undefined"!=typeof Proxy?e.cssNumber=new Proxy(S,{get:function(){return a("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return a("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):e.cssNumber=S):S=e.cssNumber;function P(e){return E.test(e)&&D.test(e[0].toUpperCase()+e.slice(1))}T=e.fn.css,l(e.fn,"css",(function(t,n){var r,o=this;return t&&"object"==typeof t&&!Array.isArray(t)?(e.each(t,(function(t,n){e.fn.css.call(o,t,n)})),this):("number"==typeof n&&(P(r=C(t))||S[r]||a("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+t+'", value )')),T.apply(this,arguments))}),"css-number");var q=e.data;if(l(e,"data",(function(t,n,r){var o,i,s;if(n&&"object"==typeof n&&2===arguments.length){for(s in o=e.hasData(t)&&q.call(this,t),i={},n)s!==C(s)?(a("data-camelCase","jQuery.data() always sets/gets camelCased names: "+s),o[s]=n[s]):i[s]=n[s];return q.call(this,t,i),n}return n&&"string"==typeof n&&n!==C(n)&&(o=e.hasData(t)&&q.call(this,t))&&n in o?(a("data-camelCase","jQuery.data() always sets/gets camelCased names: "+n),arguments.length>2&&(o[n]=r),o[n]):q.apply(this,arguments)}),"data-camelCase"),e.fx){var N,O,_=e.Tween.prototype.run,$=function(e){return e};l(e.Tween.prototype,"run",(function(){e.easing[this.easing].length>1&&(a("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),e.easing[this.easing]=$),_.apply(this,arguments)}),"easing-one-arg"),N=e.fx.interval,O="jQuery.fx.interval is deprecated",t.requestAnimationFrame&&Object.defineProperty(e.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||a("fx-interval",O),e.migrateIsPatchEnabled("fx-interval")&&void 0===N?13:N},set:function(e){a("fx-interval",O),N=e}})}var H=e.fn.load,L=e.event.add,R=e.event.fix;e.event.props=[],e.event.fixHooks={},s(e.event.props,"concat",e.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),l(e.event,"fix",(function(t){var n,r=t.type,o=this.fixHooks[r],i=e.event.props;if(i.length)for(a("event-old-patch","jQuery.event.props are deprecated and removed: "+i.join());i.length;)e.event.addProp(i.pop());if(o&&!o._migrated_&&(o._migrated_=!0,a("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(i=o.props)&&i.length))for(;i.length;)e.event.addProp(i.pop());return n=R.call(this,t),o&&o.filter?o.filter(n,t):n}),"event-old-patch"),l(e.event,"add",(function(e,n){return e===t&&"load"===n&&"complete"===t.document.readyState&&a("load-after-event","jQuery(window).on('load'...) called after load event occurred"),L.apply(this,arguments)}),"load-after-event"),e.each(["load","unload","error"],(function(t,n){l(e.fn,n,(function(){var e=Array.prototype.slice.call(arguments,0);return"load"===n&&"string"==typeof e[0]?H.apply(this,e):(a("shorthand-removed-v3","jQuery.fn."+n+"() is deprecated"),e.splice(0,0,n),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}),"shorthand-removed-v3")})),e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,n){u(e.fn,n,(function(e,t){return arguments.length>0?this.on(n,null,e,t):this.trigger(n)}),"shorthand-deprecated-v3","jQuery.fn."+n+"() event shorthand is deprecated")})),e((function(){e(t.document).triggerHandler("ready")})),e.event.special.ready={setup:function(){this===t.document&&a("ready-event","'ready' event is deprecated")}},u(e.fn,"bind",(function(e,t,n){return this.on(e,null,t,n)}),"pre-on-methods","jQuery.fn.bind() is deprecated"),u(e.fn,"unbind",(function(e,t){return this.off(e,null,t)}),"pre-on-methods","jQuery.fn.unbind() is deprecated"),u(e.fn,"delegate",(function(e,t,n,r){return this.on(t,e,n,r)}),"pre-on-methods","jQuery.fn.delegate() is deprecated"),u(e.fn,"undelegate",(function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}),"pre-on-methods","jQuery.fn.undelegate() is deprecated"),u(e.fn,"hover",(function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}),"pre-on-methods","jQuery.fn.hover() is deprecated");var M=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,I=function(e){var n=t.document.implementation.createHTMLDocument("");return n.body.innerHTML=e,n.body&&n.body.innerHTML},F=function(e){var t=e.replace(M,"<$1></$2>");t!==e&&I(e)!==I(t)&&a("self-closed-tags","HTML tags must be properly nested and closed: "+e)};u(e,"UNSAFE_restoreLegacyHtmlPrefilter",(function(){e.migrateEnablePatches("self
vendor: 4,659 bytes, line 15
15-closed-tags")}),"legacy-self-closed-tags",'jQuery.UNSAFE_restoreLegacyHtmlPrefilter deprecated; use `jQuery.migrateEnablePatches( "self-closed-tags" )`'),l(e,"htmlPrefilter",(function(e){return F(e),e.replace(M,"<$1></$2>")}),"self-closed-tags"),e.migrateDisablePatches("self-closed-tags");var W=e.fn.offset;if(l(e.fn,"offset",(function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?W.apply(this,arguments):(a("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)}),"offset-valid-elem"),e.ajax){var Q=e.param;l(e,"param",(function(t,n){var r=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&r&&(a("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=r),Q.call(this,t,n)}),"param-ajax-traditional")}if(u(e.fn,"andSelf",e.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),e.Deferred){var B=e.Deferred,z=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]];l(e,"Deferred",(function(t){var n=B(),r=n.promise();function o(){var t=arguments;return e.Deferred((function(o){e.each(z,(function(e,i){var a="function"==typeof t[e]&&t[e];n[i[1]]((function(){var e=a&&a.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[i[0]+"With"](this===r?o.promise():this,a?[e]:arguments)}))})),t=null})).promise()}return u(n,"pipe",o,"deferred-pipe","deferred.pipe() is deprecated"),u(r,"pipe",o,"deferred-pipe","deferred.pipe() is deprecated"),t&&t.call(n,n),n}),"deferred-pipe"),e.Deferred.exceptionHook=B.exceptionHook}return e}(e,window)}.apply(t,r),void 0===o||(e.exports=o)}()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>({247:"ccf615bf752e3a708933",736:"5fd077d4d21a6cb1e86b",794:"a3cc4722cb70e7390a3c"}[e]+"-chunk.js"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="prestashop-core-theme-js:",o.l=(n,r,i,a)=>{if(e[n])e[n].push(r);else{var s,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+i){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[r];var p=(t,r)=>{s.onerror=s.onload=null,clearTimeout(f);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e={792:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=i);var a=o.p+o.u(t),s=new Error;o.l(a,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,i,[a,s,c]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(c)c(o)}for(t&&t(n);u<a.length;u++)i=a[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkprestashop_core_theme_js=self.webpackChunkprestashop_core_theme_js||[];
15n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=o(263),t=o.n(e);void 0===t().migrateMute&&(t().migrateMute=!window.prestashop.debug);o(98);const n=prestashop;var r=o.n(n);
16/**
17 * Copyright since 2007 PrestaShop SA and Contributors
18 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
19 *
20 * NOTICE OF LICENSE
21 *
22 * This source file is subject to the Open Software License (OSL 3.0)
23 * that is bundled with this package in the file LICENSE.md.
24 * It is also available through the world-wide-web at this URL:
25 * https://opensource.org/licenses/OSL-3.0
26 * If you did not receive a copy of the license and are unable to
27 * obtain it through the world-wide-web, please send an email
28 * to [email protected] so we can send you a copy immediately.
29 *
30 * DISCLAIMER
31 *
32 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
33 * versions in the future. If you wish to customize PrestaShop for your
34 * needs please refer to https://devdocs.prestashop.com/ for more information.
35 *
36 * @author    PrestaShop SA and Contributors <[email protected]>
37 * @copyright Since 2007 PrestaShop SA and Contributors
38 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
39 */
40r().selectors={quantityWanted:"#quantity_wanted",product:{imageContainer:".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container, .quickview .js-images-container, .page-product:not(.modal-open) .row .js-images-container, .page-product:not(.modal-open) .product-container .js-images-container",container:".product-container, .js-product-container",availability:"#product-availability, .js-product-availability",actions:".product-actions, .js-product-actions",variants:".product-variants, .js-product-variants",refresh:".product-refresh, .js-product-refresh",miniature:".js-product-miniature",minimalQuantity:".product-minimal-quantity, .js-product-minimal-quantity",addToCart:".quickview .product-add-to-cart, .page-product:not(.modal-open) .row .product-add-to-cart, .page-product:not(.modal-open) .product-container .product-add-to-cart, .quickview .js-product-add-to-cart, .page-product:not(.modal-open) .row .js-product-add-to-cart, .page-product:not(.modal-open) .product-container .js-product-add-to-cart",prices:".quickview .product-prices, .page-product:not(.modal-open) .row .product-prices, .page-product:not(.modal-open) .product-container .product-prices, .quickview .js-product-prices, .page-product:not(.modal-open) .row .js-product-prices, .page-product:not(.modal-open) .product-container .js-product-prices",inputCustomization:'.product-actions input[name="id_customization"], .js-product-actions .js-product-customization-id',customization:".quickview .product-customization, .page-product:not(.modal-open) .row .product-customization, .page-product:not(.modal-open) .product-container .product-customization, .quickview .js-product-customization, .page-product:not(.modal-open) .row .js-product-customization, .page-product:not(.modal-open) .product-container .js-product-customization",variantsUpdate:".quickview .product-variants, .page-product:not(.modal-open) .row .product-variants, .page-product:not(.modal-open) .product-container .product-variants, .quickview .js-product-variants, .page-product:not(.modal-open) .row .js-product-variants, .page-product:not(.modal-open) .js-product-container .js-product-variants",discounts:".quickview .product-discounts, .page-product:not(.modal-open) .row .product-discounts, .page-product:not(.modal-open) .product-container .product-discounts, .quickview .js-product-discounts, .page-product:not(.modal-open) .row .js-product-discounts, .page-product:not(.modal-open) .product-container .js-product-discounts",additionalInfos:".quickview .product-additional-info, .page-product:not(.modal-open) .row .product-additional-info, .page-product:not(.modal-open) .product-container .product-additional-info, .quickview .js-product-additional-info, .page-product:not(.modal-open) .row .js-product-additional-info, .page-product:not(.modal-open) .js-product-container .js-product-additional-info",details:".quickview #product-details, #product-details, .quickview .js-product-details, .js-product-details",flags:".quickview .product-flags, .page-product:not(.modal-open) .row .product-flags, .page-product:not(.modal-open) .product-container .product-flags, .quickview .js-product-flags, .page-product:not(.modal-open) .row .js-product-flags, .page-product:not(.modal-open) .js-product-container .js-product-flags"},listing:{quickview:".quick-view, .js-quick-view"},checkout:{form:".checkout-step form",currentStep:"js-current-step",step:".checkout-step",stepTitle:".step-title, .js-step-title",confirmationSelector:"#payment-confirmation button, .js-payment-confirmation",conditionsSelector:'#conditions-to-approve input[type="checkbox"], .js-conditions-to-approve',conditionAlertSelector:".js-alert-payment-conditions",additionalInformatonSelector:".js-additional-information",optionsForm:".js-payment-option-form",termsCheckboxSelector:'#conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"], .js-conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"]',paymentBinary:".payment-binary, .js-payment-binary",deliveryFormSelector:"#js-delivery",summarySelector:"#js-checkout-summary",deliveryStepSelector:"#checkout-delivery-step",editDeliveryButtonSelector:".js-edit-delivery",deliveryOption:".delivery-option, .js-delivery-option",cartPaymentStepRefresh:".js-cart-payment-step-refresh",editAddresses:".js-edit-addresses",deliveryAddressRadios:"#delivery-addresses input[type=radio], #invoice-addresses input[type=radio], .js-address-selector input[type=radio]",addressItem:".address-item, .js-address-item",addressesStep:"#checkout-addresses-step",addressItemChecked:".address-item:has(input[type=radio]:checked), .js-address-item:has(input[type=radio]:checked)",addressError:".js-address-error",n
40otValidAddresses:"#not-valid-addresses, .js-not-valid-addresses",invoiceAddresses:"#invoice-addresses, .js-address-selector",addressForm:".js-address-form"},cart:{detailedTotals:".cart-detailed-totals, .js-cart-detailed-totals",summaryItemsSubtotal:".cart-summary-items-subtotal, .js-cart-summary-items-subtotal",summarySubTotalsContainer:".cart-summary-subtotals-container, .js-cart-summary-subtotals-container",summaryTotals:".cart-summary-totals, .js-cart-summary-totals",summaryProducts:".cart-summary-products, .js-cart-summary-products",detailedActions:".cart-detailed-actions, .js-cart-detailed-actions",voucher:".cart-voucher, .js-cart-voucher",overview:".cart-overview",summaryTop:".cart-summary-top, .js-cart-summary-top",productCustomizationId:"#product_customization_id, .js-product-customization-id",lineProductQuantity:".js-cart-line-product-quantity"}},t()((()=>{r().emit("selectorsInit")}));var i=Object.defineProperty,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(a)for(var n of a(t))c.call(t,n)&&u(e,n,t[n]);return e};function d(e){const t={};return window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,((e,n,r)=>{t[n]=void 0!==r?r:""})),void 0!==e?t[e]?t[e]:null:t}function p(){const e=d();if(e.updatedTransaction)return void window.location.reload();e.updatedTransaction=1;const t=Object.entries(e).map((e=>e.join("="))).join("&");window.location.href=`${window.location.pathname}?${t}`}r().checkPasswordScore=e=>{return t=void 0,n=null,r=function*(){const{zxcvbn:t,zxcvbnOptions:n}=yield o.e(736).then(o.bind(o,736)),r=yield o.e(247).then(o.bind(o,247)),i=yield o.e(794).then(o.bind(o,794)),a={translations:i.translations,graphs:r.adjacencyGraphs,dictionary:l(l({},r.dictionary),i.dictionary)};return n.setOptions(a),t(e)},new Promise(((e,o)=>{var i=e=>{try{s(r.next(e))}catch(e){o(e)}},a=e=>{try{s(r.throw(e))}catch(e){o(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,n)).next())}));var t,n,r},
41/**
42 * Copyright since 2007 PrestaShop SA and Contributors
43 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
44 *
45 * NOTICE OF LICENSE
46 *
47 * This source file is subject to the Open Software License (OSL 3.0)
48 * that is bundled with this package in the file LICENSE.md.
49 * It is also available through the world-wide-web at this URL:
50 * https://opensource.org/licenses/OSL-3.0
51 * If you did not receive a copy of the license and are unable to
52 * obtain it through the world-wide-web, please send an email
53 * to [email protected] so we can send you a copy immediately.
54 *
55 * DISCLAIMER
56 *
57 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
58 * versions in the future. If you wish to customize PrestaShop for your
59 * needs please refer to https://devdocs.prestashop.com/ for more information.
60 *
61 * @author    PrestaShop SA and Contributors <[email protected]>
62 * @copyright Since 2007 PrestaShop SA and Contributors
63 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
64 */
65t()((()=>{r().on("updateCart",(e=>{r().cart=e.resp.cart;const n=t()(".js-cart").data("refresh-url");if(!n)return;let o={};e&&e.reason&&(o={id_product_attribute:e.reason.idProductAttribute,id_product:e.reason.idProduct}),t().post(n,o).then((e=>{t()(r().selectors.cart.detailedTotals).replaceWith(e.cart_detailed_totals),t()(r().selectors.cart.summaryItemsSubtotal).replaceWith(e.cart_summary_items_subtotal),t()(r().selectors.cart.summarySubTotalsContainer).replaceWith(e.cart_summary_subtotals_container),t()(r().selectors.cart.summaryProducts).replaceWith(e.cart_summary_products),t()(r().selectors.cart.summaryTotals).replaceWith(e.cart_summary_totals),t()(r().selectors.cart.detailedActions).replaceWith(e.cart_detailed_actions),t()(r().selectors.cart.voucher).replaceWith(e.cart_voucher),t()(r().selectors.cart.overview).replaceWith(e.cart_detailed),t()(r().selectors.cart.summaryTop).replaceWith(e.cart_summary_top),t()(r().selectors.cart.productCustomizationId).val(0),t()(r().selectors.cart.lineProductQuantity).each(((e,n)=>{const r=t()(n);r.attr("value",r.val())})),t()(r().selectors.checkout.cartPaymentStepRefresh).length&&p(),r().emit("updatedCart",{eventType:"updateCart",resp:e})})).fail((e=>{r().emit("handleError",{eventType:"updateCart",resp:e})}))}));const e=t()("body");e.on("click",'[data-button-action="add-to-cart"]',(e=>{e.preventDefault();const n=t()(e.currentTarget.form),o=`${n.serialize()}&add=1&action=update`,i=n.attr("action"),a=t()(e.currentTarget);a.prop("disabled",!0);let s=e=>{e.parents(r().selectors.product.addToCart).first().find(r().selectors.product.minimalQuantity).addClass("error"),e.parent().find("label").addClass("error")};const c=n.find("input[min]");(e=>{let n=!0;return e.each(((e,r)=>{const o=t()(r),i=parseInt(o.attr("min"),10);i&&o.val()<i&&(s(o),n=!1)})),n})(c)?t().post(i,o,null,"json").then((e=>{e.hasError?r().emit("handleError",{eventType:"addProductToCart",resp:e}):r().emit("updateCart",{reason:{idProduct:e.id_product,idProductAttribute:e.id_product_attribute,idCustomization:e.id_customization,linkAction:"add-to-cart",cart:e.cart},resp:e})})).fail((e=>{r().emit("handleError",{eventType:"addProductToCart",resp:e})})).always((()=>{setTimeout((()=>{a.prop("disabled",!1)}),1e3)})):s(c)})),e.on("submit",'[data-link-action="add-voucher"]',(e=>{e.preventDefault();const n=t()(e.currentTarget),o=n.attr("action");0===n.find("[name=action]").length&&n.append(t()("<input>",{type:"hidden",name:"ajax",value:1})),0===n.find("[name=action]").length&&n.append(t()("<input>",{type:"hidden",name:"action",value:"update"})),t().post(o,n.serialize(),null,"json").then((n=>{n.hasError?t()(".js-error").show().find(".js-error-text").text(n.errors[0]):r().emit("updateCart",{reason:e.target.dataset,resp:n})})).fail((e=>{r().emit("handleError",{eventType:"updateCart",resp:e})}))}))}));
66/**
67 * Copyright since 2007 PrestaShop SA and Contributors
68 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
69 *
70 * NOTICE OF LICENSE
71 *
72 * This source file is subject to the Open Software License (OSL 3.0)
73 * that is bundled with this package in the file LICENSE.md.
74 * It is also available through the world-wide-web at this URL:
75 * https://opensource.org/licenses/OSL-3.0
76 * If you did not receive a copy of the license and are unable to
77 * obtain it through the world-wide-web, please send an email
78 * to [email protected] so we can send you a copy immediately.
79 *
80 * DISCLAIMER
81 *
82 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
83 * versions in the future. If you wish to customize PrestaShop for your
84 * needs please refer to https://devdocs.prestashop.com/ for more information.
85 *
86 * @author    PrestaShop SA and Contributors <[email protected]>
87 * @copyright Since 2007 PrestaShop SA and Contributors
88 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
89 */
90const{addressForm:f}=r().selectors.checkout,h=d("editAddress"),m=d("use_same_address");function g(){t()(r().selectors.checkout.editAddresses).on("click",(e=>{e.stopPropagation(),t()(r().selectors.checkout.addressesStep).trigger("click"),r().emit("editAddress")})),t()(r().selectors.checkout.deliveryAddressRadios).on("click",(function(){t()(r().selectors.checkout.addressItem).removeClass("selected"),t()(r().selectors.checkout.addressItemChecked).addClass("selected"),function(){const e=t()(`${f} form`),n=e.serialize(),o=new URLSearchParams(n);o.append("confirm-addresses",1),t().post(e.data("refresh-url"),o.toString()).fail((e=>{r().emit("handleError",{eventType:"updatedAddressForm",resp:e})}))}();const e=t()(r().selectors.checkout.addressError).prop("id").split("-").pop(),n=t()(r().selectors.checkout.notValidAddresses).val(),o=this.name.split("_").pop(),i=t()(`${r().selectors.checkout.addressError}[name=alert-${o}]`);v(!1,e,o),""!==n&&null===h&&n.split(",").indexOf(this.value)>=0?(i.show(),v(!0,this.value,o),t()(r().selectors.checkout.addressError).prop("id",`id-failure-address-${this.value}`)):i.hide();const a=t()(`${r().selectors.checkout.addressError}:visible`);y(a.length<=0)}))}t()(window).on("load",(()=>{let e=t()(`${r().selectors.checkout.addressError}:visible`);if(0===parseInt(m,10)&&t()(r().selectors.checkout.invoiceAddresses).trigger("click"),(null!==h||t()(`${r().selectors.checkout.addressForm}:visible`).length>1)&&e.hide(),e.length>0){const n=t()(r().selectors.checkout.addressError).prop("id").split("-").pop();e.each((function(){v(!0,n,t()(this).attr("name").split("-").pop())}))}e=t()(`${r().selectors.checkout.addressError}:visible`),y(e.length<=0)}));const v=function(e,n,r){const o=t()(`#id-address-${r}-address-${n} a.edit-address`),i=["text-info","address-item-invalid"];t()(`#${r}-addresses a.edit-address`).removeClass(i),o.toggleClass(i,e)},y=function(e){t()("button[name=confirm-addresses]").prop("disabled",!e)};
91/**
92 * Copyright since 2007 PrestaShop SA and Contributors
93 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
94 *
95 * NOTICE OF LICENSE
96 *
97 * This source file is subject to the Open Software License (OSL 3.0)
98 * that is bundled with this package in the file LICENSE.md.
99 * It is also available through the world-wide-web at this URL:
100 * https://opensource.org/licenses/OSL-3.0
101 * If you did not receive a copy of the license and are unable to
102 * obtain it through the world-wide-web, please send an email
103 * to [email protected] so we can send you a copy immediately.
104 *
105 * DISCLAIMER
106 *
107 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
108 * versions in the future. If you wish to customize PrestaShop for your
109 * needs please refer to https://devdocs.prestashop.com/ for more information.
110 *
111 * @author    PrestaShop SA and Contributors <[email protected]>
112 * @copyright Since 2007 PrestaShop SA and Contributors
113 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
114 */
115r().checkout=r().checkout||{},r().checkout.onCheckOrderableCartResponse=(e,t)=>!0===e.errors&&(r().emit("orderConfirmationErrors",{resp:e,paymentObject:t}),!0);class b{constructor(){this.confirmationSelector=r().selectors.checkout.confirmationSelector,this.conditionsSelector=r().selectors.checkout.conditionsSelector,this.conditionAlertSelector=r().selectors.checkout.conditionAlertSelector,this.additionalInformatonSelector=r().selectors.checkout.additionalInformatonSelector,this.optionsForm=r().selectors.checkout.optionsForm,this.termsCheckboxSelector=r().selectors.checkout.termsCheckboxSelector}init(){r().on("orderConfirmationErrors",(({resp:e,paymentObject:t})=>{""!==e.cartUrl&&(location.href=e.cartUrl)}));const e=t()("body");e.on("change",`${this.conditionsSelector} input[type="checkbox"]`,t().proxy(this.toggleOrderButton,this)),e.on("change",'input[name="payment-option"]',t().proxy(this.toggleOrderButton,this)),this.toggleOrderButton(),e.on("click",`${this.confirmationSelector}
115 button`,t().proxy(this.confirm,this)),this.getSelectedOption()||this.collapseOptions()}collapseOptions(){t()(`${this.additionalInformatonSelector}, ${this.optionsForm}`).hide()}getSelectedOption(){return t()('input[name="payment-option"]:checked').attr("id")}haveTermsBeenAccepted(){return t()(this.termsCheckboxSelector).prop("checked")}hideConfirmation(){t()(this.confirmationSelector).hide()}showConfirmation(){t()(this.confirmationSelector).show()}toggleOrderButton(){let e=!0;t()(`${this.conditionsSelector} input[type="checkbox"]`).each(((t,n)=>{n.checked||(e=!1)})),r().emit("termsUpdated",{isChecked:e}),this.collapseOptions();const n=this.getSelectedOption();if(n||(e=!1),t()(`#${n}-additional-information`).show(),t()(`#pay-with-${n}-form`).show(),t()(r().selectors.checkout.paymentBinary).hide(),t()(`#${n}`).hasClass("binary")){const r=this.getPaymentOptionSelector(n);this.hideConfirmation(),t()(r).show(),document.querySelectorAll(`${r} button, ${r} input`).forEach((t=>{e?t.removeAttribute("disabled"):t.setAttribute("disabled",!e)})),e?t()(r).removeClass("disabled"):t()(r).addClass("disabled")}else this.showConfirmation(),t()(`${this.confirmationSelector} button`).toggleClass("disabled",!e),t()(`${this.confirmationSelector} button`).attr("disabled",!e),e?t()(this.conditionAlertSelector).hide():t()(this.conditionAlertSelector).show()}getPaymentOptionSelector(e){return`.js-payment-${t()(`#${e}`).data("module-name")}`}showNativeFormErrors(){t()(`input[name=payment-option], ${this.termsCheckboxSelector}`).each((function(){this.reportValidity()}))}confirm(){return e=this,n=null,o=function*(){const e=this.getSelectedOption(),n=this.haveTermsBeenAccepted();if(void 0===e||!1===n)return void this.showNativeFormErrors();const o=yield t().post(window.prestashop.urls.pages.order,{ajax:1,action:"checkCartStillOrderable"});r().checkout.onCheckOrderableCartResponse(o,this)||(t()(`${this.confirmationSelector} button`).addClass("disabled"),t()(`#pay-with-${e}-form form`).submit())},new Promise(((t,r)=>{var i=e=>{try{s(o.next(e))}catch(e){r(e)}},a=e=>{try{s(o.throw(e))}catch(e){r(e)}},s=e=>e.done?t(e.value):Promise.resolve(e.value).then(i,a);s((o=o.apply(e,n)).next())}));var e,n,o}}
116/**
117 * Copyright since 2007 PrestaShop SA and Contributors
118 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
119 *
120 * NOTICE OF LICENSE
121 *
122 * This source file is subject to the Open Software License (OSL 3.0)
123 * that is bundled with this package in the file LICENSE.md.
124 * It is also available through the world-wide-web at this URL:
125 * https://opensource.org/licenses/OSL-3.0
126 * If you did not receive a copy of the license and are unable to
127 * obtain it through the world-wide-web, please send an email
128 * to [email protected] so we can send you a copy immediately.
129 *
130 * DISCLAIMER
131 *
132 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
133 * versions in the future. If you wish to customize PrestaShop for your
134 * needs please refer to https://devdocs.prestashop.com/ for more information.
135 *
136 * @author    PrestaShop SA and Contributors <[email protected]>
137 * @copyright Since 2007 PrestaShop SA and Contributors
138 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
139 */
140const x=r().selectors.checkout.currentStep,w=`.${x}`;class j{constructor(){this.$steps=t()(r().selectors.checkout.step),this.$steps.off("click"),this.$clickableSteps=t()(w).prevAll().addBack(),this.$clickableSteps.addClass("-clickable")}getClickableSteps(){return this.$clickableSteps}makeCurrent(e){this.$steps.removeClass("-current"),this.$steps.removeClass(x),e.makeCurrent()}static getClickedStep(e){return new k(t()(e.target).closest(r().selectors.checkout.step))}}class k{constructor(e){this.$step=e}isUnreachable(){return this.$step.hasClass("-unreachable")}makeCurrent(){this.$step.addClass("-current"),this.$step.addClass(x)}hasContinueButton(){return t()("button.continue",this.$step).length>0}disableAllAfter(){const e=this.$step.nextAll();e.addClass("-unreachable").removeClass("-complete"),t()(r().selectors.checkout.stepTitle,e).addClass("not-allowed")}enableAllBefore(){const e=this.$step.nextAll(`${r().selectors.checkout.step}.-clickable`);e.removeClass("-unreachable").addClass("-complete"),t()(r().selectors.checkout.stepTitle,e).removeClass("not-allowed")}}
141/**
142 * Copyright since 2007 PrestaShop SA and Contributors
143 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
144 *
145 * NOTICE OF LICENSE
146 *
147 * This source file is subject to the Open Software License (OSL 3.0)
148 * that is bundled with this package in the file LICENSE.md.
149 * It is also available through the world-wide-web at this URL:
150 * https://opensource.org/licenses/OSL-3.0
151 * If you did not receive a copy of the license and are unable to
152 * obtain it through the world-wide-web, please send an email
153 * to [email protected] so we can send you a copy immediately.
154 *
155 * DISCLAIMER
156 *
157 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
158 * versions in the future. If you wish to customize PrestaShop for your
159 * needs please refer to https://devdocs.prestashop.com/ for more information.
160 *
161 * @author    PrestaShop SA and Contributors <[email protected]>
162 * @copyright Since 2007 PrestaShop SA and Contributors
163 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
164 */
165function C(){g(),
166/**
167 * Copyright since 2007 PrestaShop SA and Contributors
168 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
169 *
170 * NOTICE OF LICENSE
171 *
172 * This source file is subject to the Open Software License (OSL 3.0)
173 * that is bundled with this package in the file LICENSE.md.
174 * It is also available through the world-wide-web at this URL:
175 * https://opensource.org/licenses/OSL-3.0
176 * If you did not receive a copy of the license and are unable to
177 * obtain it through the world-wide-web, please send an email
178 * to [email protected] so we can send you a copy immediately.
179 *
180 * DISCLAIMER
181 *
182 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
183 * versions in the future. If you wish to customize PrestaShop for your
184 * needs please refer to https://devdocs.prestashop.com/ for more information.
185 *
186 * @author    PrestaShop SA and Contributors <[email protected]>
187 * @copyright Since 2007 PrestaShop SA and Contributors
188 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
189 */function(){const e=t()("body"),{deliveryFormSelector:n}=r().selectors.checkout,{summarySelector:o}=r().selectors.checkout,{deliveryStepSelector:i}=r().selectors.checkout,{editDeliveryButtonSelector:a}=r().selectors.checkout;e.on("change",`${n} input`,(e=>{const i=t()(n),a=i.serialize(),s=t()(e.currentTarget).parents(r().selectors.checkout.deliveryOption);t().post(i.data("url-update"),a).then((e=>{t()(o).replaceWith(e.preview),t()(r().selectors.checkout.cartPaymentStepRefresh).length&&p(),r().emit("updatedDeliveryForm",{dataForm:i.serializeArray(),deliveryOption:s,resp:e})})).fail((e=>{r().trigger("handleError",{eventType:"updateDeliveryOptions",resp:e})}))})),e.on("click",a,(e=>{e.stopPropagation(),t()(i).trigger("click"),r().emit("editDelivery")}))}(),function(){const e=new b;e.init()}(),function(){const e=new j;e.getClickableSteps().on("click",(t=>{const n=j.getClickedStep(t);n.isUnreachable()||(e.makeCurrent(n),n.hasContinueButton()?n.disableAllAfter():n.enableAllBefore()),r().emit("changedCheckoutStep",{event:t})}))}(),function(){const e=r().selectors.checkout.form;t()(e).on("submit",(function(e){!0===t()(this).data("disabled")&&e.preventDefault(),t()(this).data("disabled",!0),t()('button[type="submit"]',this).addClass("disabled")}))}()}t()((()=>{1===t()("#checkout").length&&C()}));
190/**
191 * Copyright since 2007 PrestaShop SA and Contributors
192 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
193 *
194 * NOTICE OF LICENSE
195 *
196 * This source file is subject to the Open Software License (OSL 3.0)
197 * that is bundled with this package in the file LICENSE.md.
198 * It is also available through the world-wide-web at this URL:
199 * https://opensource.org/licenses/OSL-3.0
200 * If you did not receive a copy of the license and are unable to
201 * obtain it through the world-wide-web, please send an email
202 * to [email protected] so we can send you a copy immediately.
203 *
204 * DISCLAIMER
205 *
206 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
207 * versions in the future. If you wish to customize PrestaShop for your
208 * needs please refer to https://devdocs.prestashop.com/ for more information.
209 *
210 * @author    PrestaShop SA and Contributors <[email protected]>
211 * @copyright Since 2007 PrestaShop SA and Contributors
212 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
213 */
214let T=null;function S(e){r().emit("updateProductList",e),window.history.pushState(e,document.title,e.current_url)}function A(e,t){return"abort"!==t}function E(e){T===e&&(T=null)}t()((()=>{r().on("updateFacets",(e=>{!function(e){T&&T.abort();const n=e.indexOf("?")>=0?"&":"?",r=`${e+n}from-xhr`;T=t().ajax({url:r,dataType:"json",success:S,error:A,complete:E})}(e)}))})),
215/**
216 * Copyright since 2007 PrestaShop SA and Contributors
217 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
218 *
219 * NOTICE OF LICENSE
220 *
221 * This source file is subject to the Open Software License (OSL 3.0)
222 * that is bundled with this package in the file LICENSE.md.
223 * It is also available through the world-wide-web at this URL:
224 * https://opensource.org/licenses/OSL-3.0
225 * If you did not receive a copy of the license and are unable to
226 * obtain it through the world-wide-web, please send an email
227 * to [email protected] so we can send you a copy immediately.
228 *
229 * DISCLAIMER
230 *
231 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
232 * versions in the future. If you wish to customize PrestaShop for your
233 * needs please refer to https://devdocs.prestashop.com/ for more information.
234 *
235 * @author    PrestaShop SA and Contributors <[email protected]>
236 * @copyright Since 2007 PrestaShop SA and Contributors
237 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
238 */
239t()((()=>{t()("body").on("click",r().selectors.listing.quickview,(e=>{r().emit("clickQuickView",{dataset:t()(e.target).closest(r().selectors.product.miniature).data()}),e.preventDefault()}))}));var D=Object.defineProperty,P=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))q.call(t,n)&&O(e,n,t[n]);if(P)for(var n of P(t))N.call(t,n)&&O(e,n,t[n]);return e};
240/**
241 * Copyright since 2007 PrestaShop SA and Contributors
242 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
243 *
244 * NOTICE OF LICENSE
245 *
246 * This source file is subject to the Open Software License (OSL 3.0)
247 * that is bundled with this package in the file LICENSE.md.
248 * It is also available through the world-wide-web at this URL:
249 * https://opensource.org/licenses/OSL-3.0
250 * If you did not receive a copy of the license and are unable to
251 * obtain it through the world-wide-web, please send an email
252 * to [email protected] so we can send you a copy immediately.
253 *
254 * DISCLAIMER
255 *
256 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
257 * versions in the future. If you wish to customize PrestaShop for your
258 * needs please refer to https://devdocs.prestashop.com/ for more information.
259 *
260 * @author    PrestaShop SA and Contributors <[email protected]>
261 * @copyright Since 2007 PrestaShop SA and Contributors
262 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
263 */
264let $=null,H=null,L=!1;const R=[];let M=!1;function I(e){!function(e,n){const r=t()(`<div class="alert alert-danger ajax-error" role="alert">${n}</div>`);e.replaceWith(r)}(t()(".quickview #product-availability, .page-product:not(.modal-open) .row #product-availability, .page-product:not(.modal-open) .product-container #product-availability"),e)}function F(e,n,o){const i=t()(r().selectors.product.actions).last(),a=i.find(r().selectors.quantityWanted),s=i.find("form:first"),c=s.serialize();let u,l=d("preview");if("function"==typeof Event?u=new Event("updateRating"):(u=document.createEvent("Event"),u.initEvent("updateRating",!0,!0)),null!==l){const e=d("adtoken"),t=d("id_employee");l=`&preview=${l}&adtoken=${e}&id_employee=${t}`}else l="";if(null===o)return void I();if(e&&"keyup"===e.type&&a.val()===a.data("old-value"))return;a.data("old-value",a.val()),H&&clearTimeout(H);let p=30;"updatedProductQuantity"===n&&(p=750),H=setTimeout((()=>{""!==c&&($=t().ajax({url:o+(-1===o.indexOf("?")?"?":"&")+c+l,method:"POST",data:{quickview:t()(".modal.quickview.in, .modal.quickview.show").length,ajax:1,action:"refresh",quantity_wanted:"updatedProductCombination"===n?a.attr("min"):a.val()},dataType:"json",beforeSend(){null!==$&&$.abort()},error(e,n){"abort"!==n&&0===t()("section#main > .ajax-error").length&&I()},success(e){const o=t()("<div>").append(e.product_cover_thumbnails);t()(r().selectors.product.imageContainer).html()!==o.find(r().selectors.product.imageContainer).html()&&t()(r().selectors.product.imageContainer).replaceWith(e.product_cover_thumbnails),t()(r().selectors.product.prices).first().replaceWith(e.product_prices),t()(r().selectors.product.customization).first().replaceWith(e.product_customization),"updatedProductQuantity"!==n&&"updatedProductCombination"!==n||!e.id_customization?t()(r().selectors.product.inputCustomization).val(0):t()(r().selectors.cart.productCustomizationId).val(e.id_customization),t()(r().selectors.product.variantsUpdate).first().replaceWith(e.product_variants),t()(r().selectors.product.discounts).first().replaceWith(e.product_discounts),t()(r().selectors.product.additionalInfos).first().replaceWith(e.product_additional_info),t()(r().selectors.product.details).replaceWith(e.product_details),t()(r().selectors.product.flags).first().replaceWith(e.product_flags),function(e){let n=null;t()(e.product_add_to_cart).each(((e,r)=>!t()(r).hasClass("product-add-to-cart")||(n=t()(r),!1))),null===n&&I();const o=t()(r().selectors.product.addToCart),i="#product-availability",a=".product-minimal-quantity";W({$addToCartSnippet:n,$targetParent:o,targetSelector:".add"}),W({$addToCartSnippet:n,$targetParent:o,targetSelector:i}),W({$addToCartSnippet:n,$targetParent:o,targetSelector:a})}(e);const i=parseInt(e.product_minimal_quantity,10);document.dispatchEvent(u),isNaN(i)||"updatedProductQuantity"===n||(a.attr("min",i),a.val(i)),r().emit("updatedProduct",e,s.serializeArray())},complete(){$=null,H=null}}))}),p)}function W(e){const n=t()(e.$targetParent.find(e.targetSelector));if(n.length<=0)return;const r=e.$addToCartSnippet.find(e.targetSelector);r.length>0?n.replaceWith(r[0].outerHTML):n.html("")}t()((()=>{const e=t()(r().selectors.product.actions);t()("body").on("change touchspin.on.startspin",`${r().selectors.product.variants} *[name]`,(e=>{M=!0,r().emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),t()(e.find("form:first").serializeArray()).each(((e,{value:t,name:n})=>{R.push({value:t,name:n})})),window.addEventListener("popstate",(e=>{if(L=!0,(!e.state||e.state&&e.state.form&&0===e.state.form.length)&&!M)return;const n=t()(r().selectors.product.actions).find("form:first");e.state&&e.state.form?e.state.form.forEach((e=>{n.find(`[name="${e.name}"]`).val(e.value)}
264)):R.forEach((e=>{n.find(`[name="${e.name}"]`).val(e.value)})),r().emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),t()("body").on("click",r().selectors.product.refresh,((e,t)=>{e.preventDefault();let n="updatedProductCombination";void 0!==t&&t.eventType&&(n=t.eventType),r().emit("updateProduct",{eventType:n,event:e,resp:{},reason:{productUrl:r().urls.pages.product||""}})})),r().on("updateProduct",(e=>{const{eventType:n}=e,{event:o}=e;(function(){const e=t().Deferred(),n=t()(r().selectors.product.actions),o=t()(r().selectors.quantityWanted);if(null!==r()&&null!==r().urls&&null!==r().urls.pages&&""!==r().urls.pages.product&&null!==r().urls.pages.product)return e.resolve(r().urls.pages.product),e.promise();const i={};return t()(n.find("form:first").serializeArray()).each(((e,t)=>{i[t.name]=t.value})),t().ajax({url:n.find("form:first").attr("action"),method:"POST",data:_({ajax:1,action:"productrefresh",quantity_wanted:o.val()},i),dataType:"json",success(t){const n=t.productUrl;r().page.canonical=n,e.resolve(n)},error(t,n,r){e.reject({jqXHR:t,textStatus:n,errorThrown:r})}}),e.promise()})().done((e=>F(o,n,e))).fail((()=>{0===t()("section#main > .ajax-error").length&&I()}))})),r().on("updatedProduct",((e,n)=>{if(!e.product_url||!e.id_product_attribute)return;if(t()(".modal.quickview").length)return;let r=document.title;e.product_title&&(r=e.product_title,t()(document).attr("title",r)),L||window.history.pushState({id_product_attribute:e.id_product_attribute,form:n},r,e.product_url),L=!1})),r().on("updateCart",(e=>{if(!e||!e.reason||"add-to-cart"!==e.reason.linkAction)return;t()("#quantity_wanted").val(1)})),r().on("showErrorNextToAddtoCartButton",(e=>{e&&e.errorMessage&&I(e.errorMessage)}))})),t()((()=>{var e;e={country:".js-country",address:".js-address-form"},t()("body").on("change",e.country,(n=>{const o={id_country:t()(e.country).val(),id_address:t()(`${e.address} form`).data("id-address")},i=t()(`${e.address} form`).data("refresh-url"),a=`${e.address} input`,s=t()(n.target);t().post(i,o).then((n=>{const o=[];t()(a).each((function(){o[t()(this).prop("name")]=t()(this).val()})),t()(s.closest(e.address)).replaceWith(n.address_form),t()(a).each((function(){t()(this).val(o[t()(this).prop("name")])})),r().emit("updatedAddressForm",{target:t()(e.address),resp:n})})).fail((e=>{r().emit("handleError",{eventType:"updateAddressForm",resp:e})}))}))}));const Q=2147483647,B=36,z=/^xn--/,U=/[^\0-\x7F]/,X=/[\x2E\u3002\uFF0E\uFF61]/g,V={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=Math.floor,G=String.fromCharCode;function Y(e){throw new RangeError(V[e])}function K(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(X,".")).split("."),t).join(".");return r+o}function Z(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const ee=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},te=function(e,t,n){let r=0;for(e=n?J(e/700):e>>1,e+=J(e/t);e>455;r+=B)e=J(e/35);return J(r+36*e/(e+38))},ne=function(e){const t=[],n=e.length;let r=0,o=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&Y("not-basic"),t.push(e.charCodeAt(n));for(let c=a>0?a+1:0;c<n;){const a=r;for(let t=1,o=B;;o+=B){c>=n&&Y("invalid-input");const a=(s=e.charCodeAt(c++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:B;a>=B&&Y("invalid-input"),a>J((Q-r)/t)&&Y("overflow"),r+=a*t;const u=o<=i?1:o>=i+26?26:o-i;if(a<u)break;const l=B-u;t>J(Q/l)&&Y("overflow"),t*=l}const u=t.length+1;i=te(r-a,u,0==a),J(r/u)>Q-o&&Y("overflow"),o+=J(r/u),r%=u,t.splice(r++,0,o)}var s;return String.fromCodePoint(...t)},re=function(e){const t=[],n=(e=Z(e)).length;let r=128,o=0,i=72;for(const n of e)n<128&&t.push(G(n));const a=t.length;let s=a;
264for(a&&t.push("-");s<n;){let n=Q;for(const t of e)t>=r&&t<n&&(n=t);const c=s+1;n-r>J((Q-o)/c)&&Y("overflow"),o+=(n-r)*c,r=n;for(const n of e)if(n<r&&++o>Q&&Y("overflow"),n===r){let e=o;for(let n=B;;n+=B){const r=n<=i?1:n>=i+26?26:n-i;if(e<r)break;const o=e-r,a=B-r;t.push(G(ee(r+o%a,0))),e=J(o/a)}t.push(G(ee(e,0))),i=te(o,c,s===a),o=0,++s}++o,++r}return t.join("")},oe={version:"2.3.1",ucs2:{decode:Z,encode:e=>String.fromCodePoint(...e)},decode:ne,encode:re,toASCII:function(e){return K(e,(function(e){return U.test(e)?"xn--"+re(e):e}))},toUnicode:function(e){return K(e,(function(e){return z.test(e)?ne(e.slice(4).toLowerCase()):e}))}},ie=function(e){const n=t()(e);t().each(n,((e,t)=>{if(!t.checkValidity()){const e=t.value.split("@");oe.toASCII(e[0])===e[0]&&(t.value=oe.toASCII(t.value))}}))};
265/**
266 * Copyright since 2007 PrestaShop SA and Contributors
267 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
268 *
269 * NOTICE OF LICENSE
270 *
271 * This source file is subject to the Open Software License (OSL 3.0)
272 * that is bundled with this package in the file LICENSE.md.
273 * It is also available through the world-wide-web at this URL:
274 * https://opensource.org/licenses/OSL-3.0
275 * If you did not receive a copy of the license and are unable to
276 * obtain it through the world-wide-web, please send an email
277 * to [email protected] so we can send you a copy immediately.
278 *
279 * DISCLAIMER
280 *
281 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
282 * versions in the future. If you wish to customize PrestaShop for your
283 * needs please refer to https://devdocs.prestashop.com/ for more information.
284 *
285 * @author    PrestaShop SA and Contributors <[email protected]>
286 * @copyright Since 2007 PrestaShop SA and Contributors
287 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
288 */
289o.p=window.prestashop.core_js_public_path,window.$=t(),window.jQuery=t(),t()((()=>{t()(".ps-shown-by-js").show(),t()(".ps-hidden-by-js").hide(),ie('input[type="email"]')}))})()})();(function(){function onReady(fn){if(document.readyState!=='loading'){fn()}else{document.addEventListener('DOMContentLoaded',fn)}}
290function getConfig(){return window.fhSliderGroupsFilter||{blocked_indexes:[],blocked_signatures:[]}}
291function normalizeFilename(value){if(!value){return''}
292var text=String(value).split('?')[0].split('#')[0];var parts=text.split('/');return parts[parts.length-1].toLowerCase()}
293function textContains(haystack,needle){return String(haystack||'').toLowerCase().indexOf(String(needle||'').toLowerCase())!==-1}
294function itemMatchesSignature(node,signature){if(!node||!signature){return!1}
295var image=node.querySelector('img');var video=node.querySelector('video');var source=node.querySelector('source');var anchor=node.querySelector('a[href]');var imgSrc=image?(image.getAttribute('src')||image.getAttribute('data-src')||image.getAttribute('srcset')||''):'';var videoSrc=video?(video.getAttribute('src')||''):'';var sourceSrc=source?(source.getAttribute('data-src')||source.getAttribute('src')||''):'';var href=anchor?(anchor.getAttribute('href')||''):'';var title=anchor?(anchor.getAttribute('title')||''):'';var signatureImage=normalizeFilename(signature.image);if(signatureImage){var candidates=[normalizeFilename(imgSrc),normalizeFilename(videoSrc),normalizeFilename(sourceSrc)];if(candidates.indexOf(signatureImage)!==-1){return!0}}
296if(signature.url&&href&&href===signature.url){return!0}
297if(signature.title&&title&&textContains(title,signature.title)){return!0}
298return!1}
299function getPreInitSlideNodes(slider){return Array.prototype.filter.call(slider.children||[],function(child){return child&&child.nodeType===1})}
300function getPostInitSlideNodes(slider){return Array.prototype.slice.call(slider.querySelectorAll('.owl-stage .owl-item:not(.cloned)'))}
301function removeByIndexes(nodes,blockedIndexes){var removed=[];blockedIndexes.slice().sort(function(a,b){return b-a}).forEach(function(index){var node=nodes[index];if(!node||!node.parentNode){return}
302removed.push(index);node.parentNode.removeChild(node)});return removed.length>0}
303function removeBySignatures(nodes,signatures){var removed=!1;
303(signatures||[]).forEach(function(signature){for(var i=0;i<nodes.length;i++){var node=nodes[i];if(!node||!node.parentNode){continue}
304if(!itemMatchesSignature(node,signature)){continue}
305node.parentNode.removeChild(node);removed=!0;break}});return removed}
306function removeBlockedCaptions(blockedIndexes){var wrapper=document.querySelector('.tvmain-slider-content-wrapper');if(!wrapper){return}
307var sorted=blockedIndexes.slice().sort(function(a,b){return b-a});sorted.forEach(function(index){var byId=document.getElementById('tvmain-slider-img-'+index);if(byId&&byId.parentNode){byId.parentNode.removeChild(byId);return}
308var all=wrapper.querySelectorAll('.tvmain-slider-content-inner');if(all[index]&&all[index].parentNode){all[index].parentNode.removeChild(all[index])}})}
309function reindexCaptions(){var captions=document.querySelectorAll('.tvmain-slider-content-wrapper .tvmain-slider-content-inner');Array.prototype.forEach.call(captions,function(caption,index){caption.id='tvmain-slider-img-'+index;caption.setAttribute('data-index',String(index));if(index===0){caption.classList.add('active')}else{caption.classList.remove('active')}})}
310function refreshCarousel(slider){if(!window.jQuery){return}
311var $slider=window.jQuery(slider);if(!$slider.hasClass('owl-loaded')){return}
312try{$slider.trigger('refresh.owl.carousel')}catch(e){console.warn('[fhslidergroups] owl refresh failed',e)}}
313function keepSingleActiveCaption(){var captions=document.querySelectorAll('.tvmain-slider-content-wrapper .tvmain-slider-content-inner');Array.prototype.forEach.call(captions,function(caption,index){if(index===0){caption.classList.add('active')}else{caption.classList.remove('active')}})}
314function filterSlider(){var config=getConfig();if(!config.blocked_indexes||!config.blocked_indexes.length){return}
315var slider=document.getElementById('tvmain-slider');if(!slider||slider.dataset.fhsgFiltered==='1'){return}
316var blockedIndexes=config.blocked_indexes.map(function(value){return parseInt(value,10)}).filter(function(value){return!isNaN(value)&&value>=0});if(!blockedIndexes.length){slider.dataset.fhsgFiltered='1';return}
317var nodes=[];var removed=!1;if(!slider.classList.contains('owl-loaded')){nodes=getPreInitSlideNodes(slider);if(nodes.length){removed=removeByIndexes(nodes,blockedIndexes)}}
318if(!removed){nodes=getPostInitSlideNodes(slider);if(nodes.length){removed=removeBySignatures(nodes,config.blocked_signatures||[])}}
319if(!removed){return}
320removeBlockedCaptions(blockedIndexes);reindexCaptions();keepSingleActiveCaption();refreshCarousel(slider);slider.dataset.fhsgFiltered='1'}
321onReady(function(){filterSlider();setTimeout(filterSlider,150);setTimeout(filterSlider,600)})})();/*! jQuery UI - v1.10.3 - 2013-05-03
322* http://jqueryui.com
323* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
324(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id
vendor: 8,846 bytes, lines 324-329
324)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);;/*! jQuery UI - v1.10.3 - 2013-05-03
325* http://jqueryui.com
326* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
327(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
328* http://jqueryui.com
329* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
vendor: 6,139 bytes, line 330
330(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(a!==e)return a;var i,s,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=n.children()[0];return t("body").append(n),i=o.offsetWidth,n.css("overflow","scroll"),s=o.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),a=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,a="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:a?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var a,p,m,g,v,b,_=t(e.of),y=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(y),x=(e.collision||"flip").split(" "),k={};return b=n(_),_[0].preventDefault&&(e.at="left top"),p=b.width,m=b.height,g=b.offset,v=t.extend({},g),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=l.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=l.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=m:"center"===e.at[1]&&(v.top+=m/2),a=i(k.at,p,m),v.left+=a[0],v.top+=a[1],this.each(function(){var n,l,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),b=s(this,"marginTop"),D=u+f+s(this,"marginRight")+w.width,T=d+b+s(this,"marginBottom")+w.height,C=t.extend({},v),M=i(k.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?C.left-=u:"center"===e.my[0]&&(C.left-=u/2),"bottom"===e.my[1]?C.top-=d:"center"===e.my[1]&&(C.top-=d/2),C.left+=M[0],C.top+=M[1],t.support.offsetFractions||(C.left=h(C.left),C.top=h(C.top)),n={marginLeft:f,marginTop:b},t.each(["left","top"],function(i,s){t.ui.position[x[i]]&&t.ui.position[x[i]][s](C,{targetWidth:p,targetHeight:m,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:D,collisionHeight:T,offset:[a[0]+M[0],a[1]+M[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(l=function(t){var i=g.left-C.left,s=i+p-u,n=g.top-C.top,a=n+m-d,h={target:{element:_,left:g.left,top:g.top,width:p,height:m},element:{element:c,left:C.left,top:C.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>a?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>m&&m>r(n+a)&&(h.vertical="middle"),h.important=o(r(i),r(s))>o(r(n),r(a))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(C,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-o-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-o-a,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-o-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-o-a,t.top+p+f+m>c&&(0>s||r(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,t.top+p+f+m>u&&(i>0||u>r(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,a,o=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(o?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(a in s)e.style[a]=s[a];e.appendChild(r),i=o||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()})(jQuery);
vendor: 7,428 bytes, lines 330-333
330/*! jQuery UI - v1.10.3 - 2013-05-03
331* http://jqueryui.com
332* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
333(function(t){t.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,a,o,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",a=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),a===n?o=!0:a=n+a,r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=o&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(a=String.fromCharCode(e.keyCode),r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=a,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+n-o+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
vendor: 4,890 bytes, lines 333-336
333se").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
334* http://jqueryui.com
335* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
336(function(t){var e=0;t.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var a=t.ui.keyCode;switch(n.keyCode){case a.PAGE_UP:e=!0,this._move("previousPage",n);break;case a.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case a.UP:e=!0,this._keyEvent("previous",n);break;case a.DOWN:e=!0,this._keyEvent("next",n);break;case a.ENTER:case a.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s}
vendor: 5,096 bytes, lines 336-343
336)?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):undefined},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,i=++e;return function(s){i===e&&t.__response(s),t.pending--,t.pending||t.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var s=this;t.each(i,function(t,i){s._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<a>").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})})(jQuery);!function(){var e={902:function(){
337/**
338 * Copyright since 2007 PrestaShop SA and Contributors
339 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
340 *
341 * NOTICE OF LICENSE
342 *
343 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
344 * that is bundled with this package in the file LICENSE.md.
345 * It is also available through the world-wide-web at this URL:
346 * https://opensource.org/licenses/AFL-3.0
347 * If you did not receive a copy of the license and are unable to
348 * obtain it through the world-wide-web, please send an email
349 * to [email protected] so we can send you a copy immediately.
350 *
351 * DISCLAIMER
352 *
353 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
354 * versions in the future. If you wish to customize PrestaShop for your
355 * needs please refer to https://devdocs.prestashop.com/ for more information.
356 *
357 * @author    PrestaShop SA and Contributors <[email protected]>
358 * @copyright Since 2007 PrestaShop SA and Contributors
359 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
360 */
361!function(e){var t=0,n=function(t,n){this.options=n,this.$elementFilestyle=[],this.$element=e(t)};n.prototype={clear:function(){this.$element.val(""),this.$elementFilestyle.find(":text").val(""),this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle"),this.$elementFilestyle.remove()},disabled:function(e){if(!0===e)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else{if(!1!==e)return this.options.disabled;this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1)}},buttonBefore:function(e){if(!0===e)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else{if(!1!==e)return this.options.buttonBefore;this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()))}},icon:function(e){if(!0===e)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else{if(!1!==e)return this.options.icon;this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".icon-span-filestyle").remove())}},input:function(e){if(!0===e)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else{if(!1!==e)return this.options.input;if(this.options.input){this.options.input=!1,this.$elementFilestyle.find(":text").remove();var t=this.pushNameFiles();t.length>0&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"),this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn")}}},size:function(e){if(void 0===e)return this.options.size;var t=this.$elementFilestyle.find("label"),n=this.$elementFilestyle.find("input");t.removeClass("btn-lg btn-sm"),n.removeClass("input-lg input-sm"),"nr"!=e&&(t.addClass("btn-"+e),n.addClass("input-"+e))},placeholder:function(e){if(void 0===e)return this.options.placeholder;this.options.placeholder=e,this.$elementFilestyle.find("input").attr("placeholder",e)},buttonText:function(e){if(void 0===e)return this.options.buttonText;this.options.buttonText=e,this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(e){if(void 0===e)return this.options.buttonName;this.options.buttonName=e,this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(e){if(void 0===e)return this.options.iconName;this.$elementFilestyle.find(".icon-span-filestyle").attr({class:"icon-span-filestyle "+this.options.iconName})},htmlIcon:function(){return this.options.icon?'<span class="icon-span-filestyle '+this.options.iconName+'"></span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+("nr"==this.options.size?"":"input-"+this.options.size)+'" placeholder="'+this.options.placeholder+'" disabled> ':""},pushNameFiles:function(){var e="",t=[];void 0===this.$element[0].files?t[0]={name:this.$element[0]&&this.$element[0].value}:t=this.$element[0].files;for(var n=0;n<t.length;n++)e+=t[n].name.split("\\").pop()+", ";return""!==e?this.$elementFilestyle.find(":text").val(e.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),t},constructor:function(){var n,r,i=this,o=i.$element.attr("id");""!==o&&o||(o="filestyle-"+t,i.$element.attr({id:o}),t++),r='<span class="group-span-filestyle '+(i.options.input?"input-group-btn":"")+'"><label for="'+o+'" class="btn '+i.options.buttonName+" "+("nr"==i.options.size?"":"btn-"+i.options.size)+'" '+(i.options.disabled?'disabled="true"':"")+">"+i.htmlIcon()+'<span class="buttonText">'+i.options.buttonText+"</span></label></span>",n=i.options.buttonBefore?r+i.htmlInput():i.htmlInput()+r,i.$elementFilestyle=e('<div class="bootstrap-filestyle input-group">'+n+"</div>"),i.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress((function(e){if(13===e.keyCode||32===e.charCode)return i.$elementFilestyle.find("label").click(),!1})),i.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(i.$elementFilestyle),i.options.disabled&&i.$element.attr("disabled","true"),i.$element.change((function(){var e=i.pushNameFiles();0==i.options.input&&i.options.badge?0==i.$elementFilestyle.find(".badge").length?i.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>
361"):0==e.length?i.$elementFilestyle.find(".badge").remove():i.$elementFilestyle.find(".badge").html(e.length):i.$elementFilestyle.find(".badge").remove()})),window.navigator.userAgent.search(/firefox/i)>-1&&i.$elementFilestyle.find("label").click((function(){return i.$element.click(),!1}))}};var r=e.fn.filestyle;e.fn.filestyle=function(t,r){var i="",o=this.each((function(){if("file"===e(this).attr("type")){var o=e(this),s=o.data("filestyle"),a=e.extend({},e.fn.filestyle.defaults,t,"object"==typeof t&&t);s||(o.data("filestyle",s=new n(this,a)),s.constructor()),"string"==typeof t&&(i=s[t](r))}}));return void 0!==typeof i?i:o},e.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},e.fn.filestyle.noConflict=function(){return e.fn.filestyle=r,this},e((function(){e(".filestyle").each((function(){var t=e(this),n={input:"false"!==t.attr("data-input"),icon:"false"!==t.attr("data-icon"),buttonBefore:"true"===t.attr("data-buttonBefore"),disabled:"true"===t.attr("data-disabled"),size:t.attr("data-size"),buttonText:t.attr("data-buttonText"),buttonName:t.attr("data-buttonName"),iconName:t.attr("data-iconName"),badge:"false"!==t.attr("data-badge"),placeholder:t.attr("data-placeholder")};t.filestyle(n)}))}))}(window.jQuery)},290:function(){
362/**
363 * Copyright since 2007 PrestaShop SA and Contributors
364 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
365 *
366 * NOTICE OF LICENSE
367 *
368 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
369 * that is bundled with this package in the file LICENSE.md.
370 * It is also available through the world-wide-web at this URL:
371 * https://opensource.org/licenses/AFL-3.0
372 * If you did not receive a copy of the license and are unable to
373 * obtain it through the world-wide-web, please send an email
374 * to [email protected] so we can send you a copy immediately.
375 *
376 * DISCLAIMER
377 *
378 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
379 * versions in the future. If you wish to customize PrestaShop for your
380 * needs please refer to https://devdocs.prestashop.com/ for more information.
381 *
382 * @author    PrestaShop SA and Contributors <[email protected]>
383 * @copyright Since 2007 PrestaShop SA and Contributors
384 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
385 */
386!function(e){e.fn.scrollbox=function(t){return(t=e.extend({linear:!1,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:!0,onMouseOverPause:!0,paused:!1,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:!0,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:!1},t)).scrollOffset="vertical"===t.direction?"scrollTop":"scrollLeft",t.queue&&(t.queue=e("#"+t.queue)),this.each((function(){var n,r,i,o,s,a,l,c,u,f=e(this),d=null,p=null,h=!1,m=0,g=0;t.onMouseOverPause&&(f.bind("mouseover",(function(){h=!0})),f.bind("mouseout",(function(){h=!1}))),n=f.children(t.listElement+":first-child"),!1===t.infiniteLoop&&0===t.switchAmount&&(t.switchAmount=n.children().length),a=function(){var i,s,a,l,c;if(!h&&(i=n.children(t.listItemElement+":first-child"),l="auto"!==t.distance?t.distance:"vertical"===t.direction?i.outerHeight(!0):i.outerWidth(!0),t.linear?a=Math.min(f[0][t.scrollOffset]+t.step,l):(c=Math.max(3,parseInt(.3*(l-f[0][t.scrollOffset]),10)),a=Math.min(f[0][t.scrollOffset]+c,l)),f[0][t.scrollOffset]=a,a>=l)){for(s=0;s<t.switchItems;s++)t.queue&&t.queue.find(t.listItemElement).length>0?(n.append(t.queue.find(t.listItemElement)[0]),n.children(t.listItemElement+":first-child").remove()):n.append(n.children(t.listItemElement+":first-child")),++m;if(f[0][t.scrollOffset]=0,clearInterval(d),d=null,e.isFunction(t.afterForward)&&t.afterForward.call(f,{switchCount:m,currentFirstChild:n.children(t.listItemElement+":first-child")}),t.triggerStackable&&0!==g)return void r();if(!1===t.infiniteLoop&&m>=t.switchAmount)return;t.autoPlay&&(p=setTimeout(o,1e3*t.delay))}},l=function(){if(!h){var i,s,a,l,c;if(0===f[0][t.scrollOffset]){for(s=0;s<t.switchItems;s++)n.children(t.listItemElement+":last-child").insertBefore(n.children(t.listItemElement+":first-child"));i=n.children(t.listItemElement+":first-child"),l="auto"!==t.distance?t.distance:"vertical"===t.direction?i.height():i.width(),f[0][t.scrollOffset]=l}if(t.linear?a=Math.max(f[0][t.scrollOffset]-t.step,0):(c=Math.max(3,parseInt(.3*f[0][t.scrollOffset],10)),a=Math.max(f[0][t.scrollOffset]-c,0)),f[0][t.scrollOffset]=a,0===a){if(--m,clearInterval(d),d=null,e.is
386Function(t.afterBackward)&&t.afterBackward.call(f,{switchCount:m,currentFirstChild:n.children(t.listItemElement+":first-child")}),t.triggerStackable&&0!==g)return void r();t.autoPlay&&(p=setTimeout(o,1e3*t.delay))}}},r=function(){0!==g&&(g>0?(g--,p=setTimeout(o,0)):(g++,p=setTimeout(i,0)))},o=function(){clearInterval(d),d=setInterval(a,t.speed)},i=function(){clearInterval(d),d=setInterval(l,t.speed)},c=function(){t.autoPlay=!0,h=!1,clearInterval(d),d=setInterval(a,t.speed)},u=function(){h=!0},s=function(e){t.delay=e||t.delay,clearTimeout(p),t.autoPlay&&(p=setTimeout(o,1e3*t.delay))},t.autoPlay&&(p=setTimeout(o,1e3*t.startDelay)),f.bind("resetClock",(function(e){s(e)})),f.bind("forward",(function(){t.triggerStackable?null!==d?g++:o():(clearTimeout(p),o())})),f.bind("backward",(function(){t.triggerStackable?null!==d?g--:i():(clearTimeout(p),i())})),f.bind("pauseHover",(function(){u()})),f.bind("forwardHover",(function(){c()})),f.bind("speedUp",(function(e,n){"undefined"===n&&(n=Math.max(1,parseInt(t.speed/2,10))),t.speed=n})),f.bind("speedDown",(function(e,n){"undefined"===n&&(n=2*t.speed),t.speed=n})),f.bind("updateConfig",(function(n,r){t=e.extend(t,r)}))}))}}(jQuery)},355:function(){!function(e){"use strict";var t=0;function n(t,n){return e.map(t,(function(e){return function(e,t){return e+".touchspin_"+t}(e,n)}))}e.fn.TouchSpin=function(r){if("destroy"!==r){var i={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-default",buttonup_class:"btn btn-default",buttondown_txt:"-",buttonup_txt:"+"},o={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each((function(){var s,a,l,c,u,f,d,p,h=e(this),m=h.data(),g=0,v=!1;function y(){var e,t,n;""!==(e=h.val())?s.decimals>0&&"."===e||(t=parseFloat(e),isNaN(t)&&(t=""!==s.replacementval?s.replacementval:0),n=t,t.toString()!==e&&(n=t),t<s.min&&(n=s.min),t>s.max&&(n=s.max),n=function(e){switch(s.forcestepdivisibility){case"round":return(Math.round(e/s.step)*s.step).toFixed(s.decimals);case"floor":return(Math.floor(e/s.step)*s.step).toFixed(s.decimals);case"ceil":return(Math.ceil(e/s.step)*s.step).toFixed(s.decimals);default:return e}}(n),Number(e).toString()!==n.toString()&&(h.val(n),h.trigger("change"))):""!==s.replacementval&&(h.val(s.replacementval),h.trigger("change"))}function b(){if(s.booster){var e=Math.pow(2,Math.floor(g/s.boostat))*s.step;return s.maxboostedstep&&e>s.maxboostedstep&&(e=s.maxboostedstep,c=Math.round(c/e)*e),Math.max(s.step,e)}return s.step}function w(){y(),c=parseFloat(l.input.val()),isNaN(c)&&(c=0);var e=c,t=b();(c+=t)>s.max&&(c=s.max,h.trigger("touchspin.on.max"),C()),l.input.val(Number(c).toFixed(s.decimals)),e!==c&&h.trigger("change")}function x(){y(),c=parseFloat(l.input.val()),isNaN(c)&&(c=0);var e=c,t=b();(c-=t)<s.min&&(c=s.min,h.trigger("touchspin.on.min"),C()),l.input.val(c.toFixed(s.decimals)),e!==c&&h.trigger("change")}function S(){C(),g=0,v="down",h.trigger("touchspin.on.startspin"),h.trigger("touchspin.on.startdownspin"),d=setTimeout((function(){u=setInterval((function(){g++,x()}),s.stepinterval)}),s.stepintervaldelay)}function _(){C(),g=0,v="up",h.trigger("touchspin.on.startspin"),h.trigger("touchspin.on.startupspin"),p=setTimeout((function(){f=setInterval((function(){g++,w()}),s.stepinterval)}),s.stepintervaldelay)}function C(){switch(clearTimeout(d),clearTimeout(p),clearInterval(u),clearInterval(f),v){case"up":h.trigger("touchspin.on.stopupspin"),h.trigger("touchspin.on.stopspin");break;case"down":h.trigger("touchspin.on.stopdownspin"),h.trigger("touchspin.on.stopspin")}g=0,v=!1}!function(){if(h.data("alreadyinitialized"))return;if(h.data("alreadyinitialized",!0),t+=1,h.data("spinnerid",t),!h.is("input"))return void console.log("Must be an input.");s=e.extend({},i,m,(c={},e.each(o,(function(e,t){var n="bts-"+t;
386h.is("[data-"+n+"]")&&(c[e]=h.data(n))})),c),r),""!==s.initval&&""===h.val()&&h.val(s.initval),y(),function(){var t=h.val(),n=h.parent();""!==t&&(t=Number(t).toFixed(s.decimals));h.data("initvalue",t).val(t),h.addClass("form-control"),n.hasClass("input-group")?function(t){t.addClass("bootstrap-touchspin");var n,r,i=h.prev(),o=h.next(),l='<span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+"</span>",c='<span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+"</span>";i.hasClass("input-group-btn")?(n='<button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+"</button>",i.append(n)):(n='<span class="input-group-btn"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+"</button></span>",e(n).insertBefore(h));o.hasClass("input-group-btn")?(r='<button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button>",o.prepend(r)):(r='<span class="input-group-btn"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span>",e(r).insertAfter(h));e(l).insertBefore(h),e(c).insertAfter(h),a=t}(n):function(){var t;t=s.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+'</span><span class="input-group-btn-vertical"><button class="'+s.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+s.verticalupclass+'"></i></button><button class="'+s.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+s.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+'</span><span class="input-group-btn"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span></div>";a=e(t).insertBefore(h),e(".bootstrap-touchspin-prefix",a).after(h),h.hasClass("input-sm")?a.addClass("input-group-sm"):h.hasClass("input-lg")&&a.addClass("input-group-lg")}()}(),l={down:e(".bootstrap-touchspin-down",a),up:e(".bootstrap-touchspin-up",a),input:e("input",a),prefix:e(".bootstrap-touchspin-prefix",a).addClass(s.prefix_extraclass),postfix:e(".bootstrap-touchspin-postfix",a).addClass(s.postfix_extraclass)},function(){""===s.prefix&&l.prefix.hide();""===s.postfix&&l.postfix.hide()}(),h.on("keydown",(function(e){var t=e.keyCode||e.which;38===t?("up"!==v&&(w(),_()),e.preventDefault()):40===t&&("down"!==v&&(x(),S()),e.preventDefault())})),h.on("keyup",(function(e){var t=e.keyCode||e.which;(38===t||40===t)&&C()})),h.on("blur",(function(){y()})),l.down.on("keydown",(function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("down"!==v&&(x(),S()),e.preventDefault())})),l.down.on("keyup",(function(e){var t=e.keyCode||e.which;32!==t&&13!==t||C()})),l.up.on("keydown",(function(e){var t=e.keyCode||e.which;32!==t&&13!==t||("up"!==v&&(w(),_()),e.preventDefault())})),l.up.on("keyup",(function(e){var t=e.keyCode||e.which;32!==t&&13!==t||C()})),l.down.on("mousedown.touchspin",(function(e){l.down.off("touchstart.touchspin"),h.is(":disabled")||(x(),S(),e.preventDefault(),e.stopPropagation())})),l.down.on("touchstart.touchspin",(function(e){l.down.off("mousedown.touchspin"),h.is(":disabled")||(x(),S(),e.preventDefault(),e.stopPropagation())})),l.up.on("mousedown.touchspin",(function(e){l.up.off("touchstart.touchspin"),h.is(":disabled")||(w(),_(),e.preventDefault(),e.stopPropagation())})),l.up.on("touchstart.touchspin",(function(e){l.up.off("mousedown.touchspin"),h.is(":disabled")||(w(),_(),e.preventDefault(),e.stopPropagation())})),l.up.on("mouseout touchleave touchend touchcancel",(function(e){v&&(e.stopPropagation(),C())})),l.down.on("mouseout touchleave touchend touchcancel",(function(e){v&&(e.stopPropagation(),C())})),l.down.on("mousemove touchmove",(function(e){v&&(e.stopPropagation(),e.preventDefault())})),l.up.on("mousemove touchmove",(function(e){v&&(e.stopPropagation(),e.preventDefault())})),e(document).on(n(["mouseup","touchend","touchcancel"],t).join(" "),(function(e){v&&(e.preventDefault(),C())})),e(document).on(n(["mousemove","touchmove","scroll","scrollstart"],t).join(" "),(function(e){v&&(e.preventDefault(),C())})),h.on("mousewheel DOMMouseScroll",(function(e){if(s.mousewheel&&h.is(":focus")){var t=e.originalEvent.wheelDelta||-e.originalEvent.deltaY||-e.originalEvent.detail;e.stopPropagation(),e.preventDefault(),t<0?x():w()}})),h.on("touchspin.uponce",(function(){C(),w()})),h.on("touchspin.downonce",(function(){C(),x()})),h.on("touchspin.startupspin",(function(){_()})),h.on("touchspin.startdownspin",(function(){S()})),h.on("touchspin.stopspin",(function(){C()})),h.on("touchspin.updatesettings",(function(t,n){!function(t){(function(t){s=e.extend({},s,t)})(t),y();var n=l.input.val();""!==n&&(n=Number(l.input.val()),l.input.val(n.toFixed(s.decimals)))}(n)}
386)),l.input.css("display","block");var c}()}))}this.each((function(){var t=e(this).data();e(document).off(n(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],t.spinnerid).join(" "))}))}}(jQuery)},65:function(){
387/*!
388 * Bootstrap v4.0.0-alpha.5 (https://getbootstrap.com)
389 * Copyright 2011-2016 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
390 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
391 */
392if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t,n,r,i,o,s,a,l,c,u,f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=function(e){function t(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(e){return(e[0]||e).nodeType}function r(t){var n=this,r=!1;return e(this).one(s.TRANSITION_END,(function(){r=!0})),setTimeout((function(){r||s.triggerTransitionEnd(n)}),t),this}var i=!1,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},s={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");return t||(t=e.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},reflow:function(e){new Function("bs","return bs")(e.offsetHeight)},triggerTransitionEnd:function(t){e(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},typeCheckConfig:function(e,r,i){for(var o in i)if(i.hasOwnProperty(o)){var s,a=i[o],l=r[o];if(s=l&&n(l)?"element":t(l),!new RegExp(a).test(s))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+s+'" but expected type "'+a+'".')}}};return i=function(){if(window.QUnit)return!1;var e=document.createElement("bootstrap");for(var t in o)if(void 0!==e.style[t])return{end:o[t]};return!1}(),e.fn.emulateTransitionEnd=r,s.supportsTransitionEnd()&&(e.event.special[s.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),s}(jQuery),h=(t=jQuery,n="alert",i="."+(r="bs.alert"),o=t.fn[n],s={CLOSE:"close"+i,CLOSED:"closed"+i,CLICK_DATA_API:"click"+i+".data-api"},a="alert",l="fade",c="in",u=function(){function n(t){e(this,n),this._element=t}return n.prototype.close=function(e){e=e||this._element;var t=this._getRootElement(e);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},n.prototype._getRootElement=function(e){var n=p.getSelectorFromElement(e),r=!1;return n&&(r=t(n)[0]),r||(r=t(e).closest("."+a)[0]),r},n.prototype._triggerCloseEvent=function(e){var n=t.Event(s.CLOSE);return t(e).trigger(n),n},n.prototype._removeElement=function(e){return t(e).removeClass(c),p.supportsTransitionEnd()&&t(e).hasClass(l)?void t(e).one(p.TRANSITION_END,t.proxy(this._destroyElement,this,e)).emulateTransitionEnd(150):void this._destroyElement(e)},n.prototype._destroyElement=function(e){t(e).detach().trigger(s.CLOSED).remove()},n._jQueryInterface=function(e){return this.each((function(){var i=t(this),o=i.data(r);o||(o=new n(this),i.data(r,o)),"close"===e&&o[e](this)}))},n._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},d(n,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),n}(),t(document).on(s.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)),t.fn[n]=u._jQueryInterface,t.fn[n].
392Constructor=u,t.fn[n].noConflict=function(){return t.fn[n]=o,u._jQueryInterface},function(t){var n="button",r="bs.button",i="."+r,o=".data-api",s=t.fn[n],a="active",l="btn",c="focus",u='[data-toggle^="button"]',f='[data-toggle="buttons"]',p="input",h=".active",m=".btn",g={CLICK_DATA_API:"click"+i+o,FOCUS_BLUR_DATA_API:"focus"+i+o+" blur"+i+o},v=function(){function n(t){e(this,n),this._element=t}return n.prototype.toggle=function(){var e=!0,n=t(this._element).closest(f)[0];if(n){var r=t(this._element).find(p)[0];if(r){if("radio"===r.type)if(r.checked&&t(this._element).hasClass(a))e=!1;else{var i=t(n).find(h)[0];i&&t(i).removeClass(a)}e&&(r.checked=!t(this._element).hasClass(a),t(this._element).trigger("change")),r.focus()}}else this._element.setAttribute("aria-pressed",!t(this._element).hasClass(a));e&&t(this._element).toggleClass(a)},n.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},n._jQueryInterface=function(e){return this.each((function(){var i=t(this).data(r);i||(i=new n(this),t(this).data(r,i)),"toggle"===e&&i[e]()}))},d(n,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),n}();t(document).on(g.CLICK_DATA_API,u,(function(e){e.preventDefault();var n=e.target;t(n).hasClass(l)||(n=t(n).closest(m)),v._jQueryInterface.call(t(n),"toggle")})).on(g.FOCUS_BLUR_DATA_API,u,(function(e){var n=t(e.target).closest(m)[0];t(n).toggleClass(c,/^focus(in)?$/.test(e.type))})),t.fn[n]=v._jQueryInterface,t.fn[n].Constructor=v,t.fn[n].noConflict=function(){return t.fn[n]=s,v._jQueryInterface}}(jQuery),function(t){var n="carousel",r="bs.carousel",i="."+r,o=".data-api",s=t.fn[n],a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},c="next",u="prev",h={SLIDE:"slide"+i,SLID:"slid"+i,KEYDOWN:"keydown"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i,LOAD_DATA_API:"load"+i+o,CLICK_DATA_API:"click"+i+o},m="carousel",g="active",v="slide",y="right",b="left",w=".active",x=".active.carousel-item",S=".carousel-item",_=".next, .prev",C=".carousel-indicators",E="[data-slide], [data-slide-to]",T='[data-ride="carousel"]',k=function(){function o(n,r){e(this,o),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(r),this._element=t(n)[0],this._indicatorsElement=t(this._element).find(C)[0],this._addEventListeners()}return o.prototype.next=function(){this._isSliding||this._slide(c)},o.prototype.nextWhenVisible=function(){document.hidden||this.next()},o.prototype.prev=function(){this._isSliding||this._slide(u)},o.prototype.pause=function(e){e||(this._isPaused=!0),t(this._element).find(_)[0]&&p.supportsTransitionEnd()&&(p.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},o.prototype.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(t.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},o.prototype.to=function(e){var n=this;this._activeElement=t(this._element).find(x)[0];var r=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(h.SLID,(function(){return n.to(e)}));if(r===e)return this.pause(),void this.cycle();var i=e>r?c:u;this._slide(i,this._items[e])}},o.prototype.dispose=function(){t(this._element).off(i),t.removeData(this._element,r),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},o.prototype._getConfig=function(e){return e=t.extend({},a,e),p.typeCheckConfig(n,e,l),e},o.prototype._addEventListeners=function(){this._config.keyboard&&t(this._element).on(h.KEYDOWN,t.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(h.MOUSEENTER,t.proxy(this.pause,this)).on(h.MOUSELEAVE,t.proxy(this.cycle,this))},o.prototype._keydown=function(e){if(e.preventDefault(),!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}},o.prototype._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(S)),this._items.indexOf(e)},o.prototype._getItemByDirection=function(e,t){var n=e===c,r=e===u,i=this._getItemIndex(t),o=this._items.length-1;if((r&&0===i||n&&i===o)&&!this._config.wrap)return t;var s=(i+(e===u?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},o.prototype._triggerSlideEvent=function(e,n){var r=t.Event(h.SLIDE,{relatedTarget:e,direction:n});return t(this._element).trigger(r),r},o.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(w).removeClass(g);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&t(n).addClass(g)}},o.prototype._slide=function(e,n){var r=this,i=t(this._element).find(x)[0],o=n||i&&this._getItemByDirection(e,i),s=Boolean(this._interval),a=e===c?b:y;
392if(o&&t(o).hasClass(g))this._isSliding=!1;else if(!this._triggerSlideEvent(o,a).isDefaultPrevented()&&i&&o){this._isSliding=!0,s&&this.pause(),this._setActiveIndicatorElement(o);var l=t.Event(h.SLID,{relatedTarget:o,direction:a});p.supportsTransitionEnd()&&t(this._element).hasClass(v)?(t(o).addClass(e),p.reflow(o),t(i).addClass(a),t(o).addClass(a),t(i).one(p.TRANSITION_END,(function(){t(o).removeClass(a).removeClass(e),t(o).addClass(g),t(i).removeClass(g).removeClass(e).removeClass(a),r._isSliding=!1,setTimeout((function(){return t(r._element).trigger(l)}),0)})).emulateTransitionEnd(600)):(t(i).removeClass(g),t(o).addClass(g),this._isSliding=!1,t(this._element).trigger(l)),s&&this.cycle()}},o._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(r),i=t.extend({},a,t(this).data());"object"===(void 0===e?"undefined":f(e))&&t.extend(i,e);var s="string"==typeof e?e:i.slide;if(n||(n=new o(this,i),t(this).data(r,n)),"number"==typeof e)n.to(e);else if("string"==typeof s){if(void 0===n[s])throw new Error('No method named "'+s+'"');n[s]()}else i.interval&&(n.pause(),n.cycle())}))},o._dataApiClickHandler=function(e){var n=p.getSelectorFromElement(this);if(n){var i=t(n)[0];if(i&&t(i).hasClass(m)){var s=t.extend({},t(i).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),o._jQueryInterface.call(t(i),s),a&&t(i).data(r).to(a),e.preventDefault()}}},d(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return a}}]),o}();t(document).on(h.CLICK_DATA_API,E,k._dataApiClickHandler),t(window).on(h.LOAD_DATA_API,(function(){t(T).each((function(){var e=t(this);k._jQueryInterface.call(e,e.data())}))})),t.fn[n]=k._jQueryInterface,t.fn[n].Constructor=k,t.fn[n].noConflict=function(){return t.fn[n]=s,k._jQueryInterface}}(jQuery),function(t){var n="collapse",r="bs.collapse",i="."+r,o=t.fn[n],s={toggle:!0,parent:""},a={toggle:"boolean",parent:"string"},l={SHOW:"show"+i,SHOWN:"shown"+i,HIDE:"hide"+i,HIDDEN:"hidden"+i,CLICK_DATA_API:"click"+i+".data-api"},c="in",u="collapse",h="collapsing",m="collapsed",g="width",v="height",y=".card > .in, .card > .collapsing",b='[data-toggle="collapse"]',w=function(){function i(n,r){e(this,i),this._isTransitioning=!1,this._element=n,this._config=this._getConfig(r),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return i.prototype.toggle=function(){t(this._element).hasClass(c)?this.hide():this.show()},i.prototype.show=function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(c)){var n=void 0,o=void 0;if(this._parent&&((n=t.makeArray(t(y))).length||(n=null)),!(n&&(o=t(n).data(r),o&&o._isTransitioning))){var s=t.Event(l.SHOW);if(t(this._element).trigger(s),!s.isDefaultPrevented()){n&&(i._jQueryInterface.call(t(n),"hide"),o||t(n).data(r,null));var a=this._getDimension();t(this._element).removeClass(u).addClass(h),this._element.style[a]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(m).attr("aria-expanded",!0),this.setTransitioning(!0);var f=function(){t(e._element).removeClass(h).addClass(u).addClass(c),e._element.style[a]="",e.setTransitioning(!1),t(e._element).trigger(l.SHOWN)};if(!p.supportsTransitionEnd())return void f();var d="scroll"+(a[0].toUpperCase()+a.slice(1));t(this._element).one(p.TRANSITION_END,f).emulateTransitionEnd(600),this._element.style[a]=this._element[d]+"px"}}}},i.prototype.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(c)){var n=t.Event(l.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var r=this._getDimension(),i=r===g?"offsetWidth":"offsetHeight";this._element.style[r]=this._element[i]+"px",p.reflow(this._element),t(this._element).addClass(h).removeClass(u).removeClass(c),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(m).attr("aria-expanded",!1),this.setTransitioning(!0);var o=function(){e.setTransitioning(!1),t(e._element).removeClass(h).addClass(u).trigger(l.HIDDEN)};return this._element.style[r]="",p.supportsTransitionEnd()?void t(this._element).one(p.TRANSITION_END,o).emulateTransitionEnd(600):void o()}}},i.prototype.setTransitioning=function(e){this._isTransitioning=e},i.prototype.dispose=function(){t.removeData(this._element,r),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},i.prototype._getConfig=function(e){return(e=t.extend({},s,e)).toggle=Boolean(e.toggle),p.typeCheckConfig(n,e,a),e},i.prototype._getDimension=function(){return t(this._element).hasClass(g)?g:v},i.prototype._getParent=function(){var e=this,n=t(this._config.parent)[0],r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(r).each((function(t,n){e._addAriaAndCollapsedClass(i._getTargetFromElement(n),[n])})),n},i.prototype._addAriaAndCollapsedClass=function(e,n){if(e){var r=t(e).hasClass(c);e.setAttribute("aria-expanded",r),n.length&&t(n).toggleClass(m,!r).attr("aria-expanded",r)}},i._getTargetFromElement=function(e){var n=p.getSelectorFromElement(e);return n?t(n)[0]:null},i._jQueryInterface=function(e){return this.each((function(){var n=t(this),o=n.data(r),a=t.extend({},s,n.data(),"object"===(void 0===e?"undefined":f(e))&&e);if(!o&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),o||(o=new i(this,a),n.data(r,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method n
392amed "'+e+'"');o[e]()}}))},d(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),i}();t(document).on(l.CLICK_DATA_API,b,(function(e){e.preventDefault();var n=w._getTargetFromElement(this),i=t(n).data(r)?"toggle":t(this).data();w._jQueryInterface.call(t(n),i)})),t.fn[n]=w._jQueryInterface,t.fn[n].Constructor=w,t.fn[n].noConflict=function(){return t.fn[n]=o,w._jQueryInterface}}(jQuery),function(t){var n="dropdown",r="bs.dropdown",i="."+r,o=".data-api",s=t.fn[n],a={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,CLICK:"click"+i,CLICK_DATA_API:"click"+i+o,KEYDOWN_DATA_API:"keydown"+i+o},l="dropdown-backdrop",c="disabled",u="open",f=".dropdown-backdrop",h='[data-toggle="dropdown"]',m=".dropdown form",g='[role="menu"]',v='[role="listbox"]',y=".navbar-nav",b='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',w=function(){function n(t){e(this,n),this._element=t,this._addEventListeners()}return n.prototype.toggle=function(){if(this.disabled||t(this).hasClass(c))return!1;var e=n._getParentFromElement(this),r=t(e).hasClass(u);if(n._clearMenus(),r)return!1;if("ontouchstart"in document.documentElement&&!t(e).closest(y).length){var i=document.createElement("div");i.className=l,t(i).insertBefore(this),t(i).on("click",n._clearMenus)}var o={relatedTarget:this},s=t.Event(a.SHOW,o);return t(e).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(e).toggleClass(u),t(e).trigger(t.Event(a.SHOWN,o)),!1)},n.prototype.dispose=function(){t.removeData(this._element,r),t(this._element).off(i),this._element=null},n.prototype._addEventListeners=function(){t(this._element).on(a.CLICK,this.toggle)},n._jQueryInterface=function(e){return this.each((function(){var i=t(this).data(r);if(i||t(this).data(r,i=new n(this)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e].call(this)}}))},n._clearMenus=function(e){if(!e||3!==e.which){var r=t(f)[0];r&&r.parentNode.removeChild(r);for(var i=t.makeArray(t(h)),o=0;o<i.length;o++){var s=n._getParentFromElement(i[o]),l={relatedTarget:i[o]};if(t(s).hasClass(u)&&!(e&&"click"===e.type&&/input|textarea/i.test(e.target.tagName)&&t.contains(s,e.target))){var c=t.Event(a.HIDE,l);t(s).trigger(c),c.isDefaultPrevented()||(i[o].setAttribute("aria-expanded","false"),t(s).removeClass(u).trigger(t.Event(a.HIDDEN,l)))}}}},n._getParentFromElement=function(e){var n=void 0,r=p.getSelectorFromElement(e);return r&&(n=t(r)[0]),n||e.parentNode},n._dataApiKeydownHandler=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass(c))){var r=n._getParentFromElement(this),i=t(r).hasClass(u);if(!i&&27!==e.which||i&&27===e.which){if(27===e.which){var o=t(r).find(h)[0];t(o).trigger("focus")}return void t(this).trigger("click")}var s=t.makeArray(t(b));if((s=s.filter((function(e){return e.offsetWidth||e.offsetHeight}))).length){var a=s.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},d(n,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),n}();t(document).on(a.KEYDOWN_DATA_API,h,w._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,g,w._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,v,w._dataApiKeydownHandler).on(a.CLICK_DATA_API,w._clearMenus).on(a.CLICK_DATA_API,h,w.prototype.toggle).on(a.CLICK_DATA_API,m,(function(e){e.stopPropagation()})),t.fn[n]=w._jQueryInterface,t.fn[n].Constructor=w,t.fn[n].noConflict=function(){return t.fn[n]=s,w._jQueryInterface}}(jQuery),function(t){var n="modal",r="bs.modal",i="."+r,o=t.fn[n],s={backdrop:!0,keyboard:!0,focus:!0,show:!0},a={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},l={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,FOCUSIN:"focusin"+i,RESIZE:"resize"+i,CLICK_DISMISS:"click.dismiss"+i,KEYDOWN_DISMISS:"keydown.dismiss"+i,MOUSEUP_DISMISS:"mouseup.dismiss"+i,MOUSEDOWN_DISMISS:"mousedown.dismiss"+i,CLICK_DATA_API:"click"+i+".data-api"},c="modal-scrollbar-measure",u="modal-backdrop",h="modal-open",m="fade",g="in",v=".modal-dialog",y='[data-toggle="modal"]',b='[data-dismiss="modal"]',w=".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed",x=function(){function o(n,r){e(this,o),this._config=this._getConfig(r),this._element=n,this._dialog=t
392(n).find(v)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return o.prototype.toggle=function(e){return this._isShown?this.hide():this.show(e)},o.prototype.show=function(e){var n=this,r=t.Event(l.SHOW,{relatedTarget:e});t(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),t(document.body).addClass(h),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(l.CLICK_DISMISS,b,t.proxy(this.hide,this)),t(this._dialog).on(l.MOUSEDOWN_DISMISS,(function(){t(n._element).one(l.MOUSEUP_DISMISS,(function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)}))})),this._showBackdrop(t.proxy(this._showElement,this,e)))},o.prototype.hide=function(e){e&&e.preventDefault();var n=t.Event(l.HIDE);t(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),t(document).off(l.FOCUSIN),t(this._element).removeClass(g),t(this._element).off(l.CLICK_DISMISS),t(this._dialog).off(l.MOUSEDOWN_DISMISS),p.supportsTransitionEnd()&&t(this._element).hasClass(m)?t(this._element).one(p.TRANSITION_END,t.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())},o.prototype.dispose=function(){t.removeData(this._element,r),t(window).off(i),t(document).off(i),t(this._element).off(i),t(this._backdrop).off(i),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},o.prototype._getConfig=function(e){return e=t.extend({},s,e),p.typeCheckConfig(n,e,a),e},o.prototype._showElement=function(e){var n=this,r=p.supportsTransitionEnd()&&t(this._element).hasClass(m);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,r&&p.reflow(this._element),t(this._element).addClass(g),this._config.focus&&this._enforceFocus();var i=t.Event(l.SHOWN,{relatedTarget:e}),o=function(){n._config.focus&&n._element.focus(),t(n._element).trigger(i)};r?t(this._dialog).one(p.TRANSITION_END,o).emulateTransitionEnd(300):o()},o.prototype._enforceFocus=function(){var e=this;t(document).off(l.FOCUSIN).on(l.FOCUSIN,(function(n){document===n.target||e._element===n.target||t(e._element).has(n.target).length||e._element.focus()}))},o.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(l.KEYDOWN_DISMISS,(function(t){27===t.which&&e.hide()})):this._isShown||t(this._element).off(l.KEYDOWN_DISMISS)},o.prototype._setResizeEvent=function(){this._isShown?t(window).on(l.RESIZE,t.proxy(this._handleUpdate,this)):t(window).off(l.RESIZE)},o.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop((function(){t(document.body).removeClass(h),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(l.HIDDEN)}))},o.prototype._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},o.prototype._showBackdrop=function(e){var n=this,r=t(this._element).hasClass(m)?m:"";if(this._isShown&&this._config.backdrop){var i=p.supportsTransitionEnd()&&r;if(this._backdrop=document.createElement("div"),this._backdrop.className=u,r&&t(this._backdrop).addClass(r),t(this._backdrop).appendTo(document.body),t(this._element).on(l.CLICK_DISMISS,(function(e){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))})),i&&p.reflow(this._backdrop),t(this._backdrop).addClass(g),!e)return;if(!i)return void e();t(this._backdrop).one(p.TRANSITION_END,e).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(g);var o=function(){n._removeBackdrop(),e&&e()};p.supportsTransitionEnd()&&t(this._element).hasClass(m)?t(this._backdrop).one(p.TRANSITION_END,o).emulateTransitionEnd(150):o()}else e&&e()},o.prototype._handleUpdate=function(){this._adjustDialog()},o.prototype._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},o.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},o.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},o.prototype._setScrollbar=function(){var e=parseInt(t(w).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")},o.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},o.prototype._getScrollbarWidth=function(){var e=document.createElement("div");e.className=c,document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},o._jQueryInterface=function(e,n){return this.each((function(){var i=t(this).data(r),s=t.extend({},o.Default,t(this).data(),"object"===(void 0===e?"undefined":f(e))&&e);if(i||(i=new o(this,s),t(this).data(r,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method n
392amed "'+e+'"');i[e](n)}else s.show&&i.show(n)}))},d(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),o}();t(document).on(l.CLICK_DATA_API,y,(function(e){var n=this,i=void 0,o=p.getSelectorFromElement(this);o&&(i=t(o)[0]);var s=t(i).data(r)?"toggle":t.extend({},t(i).data(),t(this).data());"A"===this.tagName&&e.preventDefault();var a=t(i).one(l.SHOW,(function(e){e.isDefaultPrevented()||a.one(l.HIDDEN,(function(){t(n).is(":visible")&&n.focus()}))}));x._jQueryInterface.call(t(i),s,this)})),t.fn[n]=x._jQueryInterface,t.fn[n].Constructor=x,t.fn[n].noConflict=function(){return t.fn[n]=o,x._jQueryInterface}}(jQuery),function(t){var n="scrollspy",r="bs.scrollspy",i="."+r,o=t.fn[n],s={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate"+i,SCROLL:"scroll"+i,LOAD_DATA_API:"load"+i+".data-api"},c="dropdown-item",u="active",h='[data-spy="scroll"]',m=".active",g="li",v=".nav-link",y=".dropdown",b=".dropdown-item",w=".dropdown-toggle",x="offset",S="position",_=function(){function o(n,r){e(this,o),this._element=n,this._scrollElement="BODY"===n.tagName?window:n,this._config=this._getConfig(r),this._selector=this._config.target+" "+v+","+this._config.target+" "+b,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(l.SCROLL,t.proxy(this._process,this)),this.refresh(),this._process()}return o.prototype.refresh=function(){var e=this,n=this._scrollElement!==this._scrollElement.window?S:x,r="auto"===this._config.method?n:this._config.method,i=r===S?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.makeArray(t(this._selector)).map((function(e){var n=void 0,o=p.getSelectorFromElement(e);return o&&(n=t(o)[0]),n&&(n.offsetWidth||n.offsetHeight)?[t(n)[r]().top+i,o]:null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},o.prototype.dispose=function(){t.removeData(this._element,r),t(this._scrollElement).off(i),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},o.prototype._getConfig=function(e){if("string"!=typeof(e=t.extend({},s,e)).target){var r=t(e.target).attr("id");r||(r=p.getUID(n),t(e.target).attr("id",r)),e.target="#"+r}return p.typeCheckConfig(n,e,a),e},o.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},o.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o.prototype._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._scrollElement.offsetHeight;if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}if(this._activeTarget&&e<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}},o.prototype._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",");n=n.map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}));var r=t(n.join(","));r.hasClass(c)?(r.closest(y).find(w).addClass(u),r.addClass(u)):r.parents(g).find(v).addClass(u),t(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:e})},o.prototype._clear=function(){t(this._selector).filter(m).removeClass(u)},o._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(r),i="object"===(void 0===e?"undefined":f(e))&&e||null;if(n||(n=new o(this,i),t(this).data(r,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}}))},d(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),o}();t(window).on(l.LOAD_DATA_API,(function(){for(var e=t.makeArray(t(h)),n=e.length;n--;){var r=t(e[n]);_._jQueryInterface.call(r,r.data())}}
392)),t.fn[n]=_._jQueryInterface,t.fn[n].Constructor=_,t.fn[n].noConflict=function(){return t.fn[n]=o,_._jQueryInterface}}(jQuery),function(t){var n="tab",r="bs.tab",i="."+r,o=t.fn[n],s={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,CLICK_DATA_API:"click"+i+".data-api"},a="dropdown-menu",l="active",c="fade",u="in",f=".dropdown",h="ul:not(.dropdown-menu)",m="> .nav-item .fade, > .fade",g=".active",v="> .nav-item > .active, > .active",y='[data-toggle="tab"], [data-toggle="pill"]',b=".dropdown-toggle",w="> .dropdown-menu .active",x=function(){function n(t){e(this,n),this._element=t}return n.prototype.show=function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(l)){var n=void 0,r=void 0,i=t(this._element).closest(h)[0],o=p.getSelectorFromElement(this._element);i&&(r=(r=t.makeArray(t(i).find(g)))[r.length-1]);var a=t.Event(s.HIDE,{relatedTarget:this._element}),c=t.Event(s.SHOW,{relatedTarget:r});if(r&&t(r).trigger(a),t(this._element).trigger(c),!c.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=t(o)[0]),this._activate(this._element,i);var u=function(){var n=t.Event(s.HIDDEN,{relatedTarget:e._element}),i=t.Event(s.SHOWN,{relatedTarget:r});t(r).trigger(n),t(e._element).trigger(i)};n?this._activate(n,n.parentNode,u):u()}}},n.prototype.dispose=function(){t.removeClass(this._element,r),this._element=null},n.prototype._activate=function(e,n,r){var i=t(n).find(v)[0],o=r&&p.supportsTransitionEnd()&&(i&&t(i).hasClass(c)||Boolean(t(n).find(m)[0])),s=t.proxy(this._transitionComplete,this,e,i,o,r);i&&o?t(i).one(p.TRANSITION_END,s).emulateTransitionEnd(150):s(),i&&t(i).removeClass(u)},n.prototype._transitionComplete=function(e,n,r,i){if(n){t(n).removeClass(l);var o=t(n).find(w)[0];o&&t(o).removeClass(l),n.setAttribute("aria-expanded",!1)}if(t(e).addClass(l),e.setAttribute("aria-expanded",!0),r?(p.reflow(e),t(e).addClass(u)):t(e).removeClass(c),e.parentNode&&t(e.parentNode).hasClass(a)){var s=t(e).closest(f)[0];s&&t(s).find(b).addClass(l),e.setAttribute("aria-expanded",!0)}i&&i()},n._jQueryInterface=function(e){return this.each((function(){var i=t(this),o=i.data(r);if(o||(o=o=new n(this),i.data(r,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method named "'+e+'"');o[e]()}}))},d(n,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),n}();t(document).on(s.CLICK_DATA_API,y,(function(e){e.preventDefault(),x._jQueryInterface.call(t(this),"show")})),t.fn[n]=x._jQueryInterface,t.fn[n].Constructor=x,t.fn[n].noConflict=function(){return t.fn[n]=o,x._jQueryInterface}}(jQuery),function(t){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var n="tooltip",r="bs.tooltip",i="."+r,o=t.fn[n],s={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},a={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},l={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},c="in",u="out",h={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},m="fade",g="in",v=".tooltip-inner",y={element:!1,enabled:!1},b="hover",w="focus",x="manual",S=function(){function o(t,n){e(this,o),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}return o.prototype.enable=function(){this._isEnabled=!0},o.prototype.disable=function(){this._isEnabled=!1},o.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},o.prototype.toggle=function(e){if(e){var n=this.constructor.DATA_KEY,r=t(e.currentTarget).data(n);r||(r=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(t(this.getTipElement()).hasClass(g))return void this._leave(null,this);this._enter(null,this)}},o.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},o.prototype.show=function(){var e=this,n=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(n);var r=t.contains(this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!r)return;var i=this.getTipElement(),s=p.getUID(this.constructor.NAME);i.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&t(i).addClass(m);var a="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,l=this._getAttachment(a);t(i).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:l,element:i,target:this.element,classes:y,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),p.reflow(i),this._tether.position(),t(i).addClass(g);var c=function(){var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===u&&e._leave(null,e)};if(p.supportsTransitionEnd()&&t(this.tip).hasClass(m))return void t(this.tip).one(p.TRANSITION_END,c).emulateTransitionEnd(o._TRANSITION_DURATION);c()}},o.prototype.hide=function(e){var n=this,r=this.getTipElement(),i=t.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==c&&r.parentNode&&r.parentNode.removeChild(r),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),e&&e()};t(this.element).trigger(i),i.isDefaultPrevented()||(t(r).removeClass(g),p.supportsTransitionEnd()&&t(this.tip).hasClass(m)?t(r).one(p.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},o.prototype.isWithContent=function(){return Boolean(this.getTitle())},o.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},o.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(v),this.getTitle()),e.removeClass(m).removeClass(g),this.cleanupTether()},o.prototype.setElementContent=function(e,n){var r=this.config.html;"object"===(void 0===n?"undefined":f(n))&&(n.nodeType||n.jquery)?r?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[r?"html":"text"](n)},o.prototype.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},o.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},o.prototype._getAttachment=function(e){return l[e.toUpperCase()]},o.prototype._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(n!==x){var r=n===b?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=n===b?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(r,e.config.selector,t.proxy(e._enter,e)).on(i,e.config.selector,t.proxy(e._leave,e))}})),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},o.prototype._fixTitle=function(){var e=f(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},o.prototype._enter=function(e,n){var r=this.constructor.DATA_KEY;return(n=n||t(e.currentTarget).data(r))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusin"===e.type?w:b]=!0),t(n.getTipElement()).hasClass(g)||n._hoverState===c?void(n._hoverState=c):(clearTimeout(n._timeout),n._hoverState=c,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout((function(){n._hoverState===c&&n.show()}),n.config.delay.show)):void n.show())},o.prototype._leave=function(e,n){var r=this.constructor.DATA_KEY;if((n=n||t(e.currentTarget).data(r))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusout"===e.type?w:b]=!1),!n._isWithActiveTrigger())return clearTimeout(n._timeout),n._hoverState=u,n.config.delay&&n.config.delay.hide?void(n._timeout=setTimeout((function(){n._hoverState===u&&n.hide()}),n.config.delay.hide)):void n.hide()},o.prototype._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},o.prototype._getConfig=function(e){return(e=t.extend({},this.constructor.Default,t(this.element).data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),p.typeCheckConfig(n,e,this.constructor.DefaultType),e},o.prototype._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},o._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(r),i="object"===(void 0===e?"undefined":f(e))?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new o(this,i),t(this).data(r,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method n
vendor: 7,577 bytes, line 392
392amed "'+e+'"');n[e]()}}))},d(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return n}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return h}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return a}}]),o}();return t.fn[n]=S._jQueryInterface,t.fn[n].Constructor=S,t.fn[n].noConflict=function(){return t.fn[n]=o,S._jQueryInterface},S}(jQuery));!function(t){var n="popover",r="bs.popover",i="."+r,o=t.fn[n],s=t.extend({},h.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),a=t.extend({},h.DefaultType,{content:"(string|element|function)"}),l="fade",c="in",u=".popover-title",p=".popover-content",m={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},g=function(o){function h(){return e(this,h),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,o.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,o),h.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},h.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},h.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(u),this.getTitle()),this.setElementContent(e.find(p),this._getContent()),e.removeClass(l).removeClass(c),this.cleanupTether()},h.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},h._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(r),i="object"===(void 0===e?"undefined":f(e))?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new h(this,i),t(this).data(r,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}}))},d(h,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return n}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return m}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return a}}]),h}(h);t.fn[n]=g._jQueryInterface,t.fn[n].Constructor=g,t.fn[n].noConflict=function(){return t.fn[n]=o,g._jQueryInterface}}(jQuery)}()},58:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,s,c;if(a(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=l(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,s;if(a(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit
392("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},799:function(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},90:function(e){e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){t.exports=function(e){var t,n,r,i=-1;if(e.lines.length>1&&"flex-start"===e.style.alignContent)for(t=0;r=e.lines[++i];)r.crossStart=t,t+=r.cross;else if(e.lines.length>1&&"flex-end"===e.style.alignContent)for(t=e.flexStyle.crossSpace;r=e.lines[++i];)r.crossStart=t,t+=r.cross;else if(e.lines.length>1&&"center"===e.style.alignContent)for(t=e.flexStyle.crossSpace/2;r=e.lines[++i];)r.crossStart=t,t+=r.cross;else if(e.lines.length>1&&"space-between"===e.style.alignContent)for(n=e.flexStyle.crossSpace/(e.lines.length-1),t=0;r=e.lines[++i];)r.crossStart=t,t+=r.cross+n;else if(e.lines.length>1&&"space-around"===e.style.alignContent)for(t=(n=2*e.flexStyle.crossSpace/(2*e.lines.length))/2;r=e.lines[++i];)r.crossStart=t,t+=r.cross+n;else for(n=e.flexStyle.crossSpace/e.lines.length,t=e.flexStyle.crossInnerBefore;r=e.lines[++i];)r.crossStart=t,r.cross+=n,t+=r.cross}},{}],2:[function(e,t,n){t.exports=function(e){for(var t,n=-1;line=e.lines[++n];)for(t=-1;child=line.children[++t];){var r=child.style.alignSelf;"auto"===r&&(r=e.style.alignItems),"flex-start"===r?child.flexStyle.crossStart=line.crossStart:"flex-end"===r?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===r?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(e,t,n){t.exports=function(e,t){var n="row"===t||"row-reverse"===t,r=e.mainAxis;r?n&&"inline"===r||!n&&"block"===r||(e.flexStyle={main:e.flexStyle.cross,cross:e.flexStyle.main,mainOffset:e.flexStyle.crossOffset,crossOffset:e.flexStyle.mainOffset,mainBefore:e.flexStyle.crossBefore,mainAfter:e.flexStyle.crossAfter,crossBefore:e.flexStyle.mainBefore,crossAfter:e.flexStyle.mainAfter,mainInnerBefore:e.flexStyle.crossInnerBefore,mainInnerAfter:e.flexStyle.crossInnerAfter,crossInnerBefore:e.flexStyle.mainInnerBefore,crossInnerAfter:e.flexStyle.mainInnerAfter,mainBorderBefore:e.flexStyle.crossBorderBefore,mainBorderAfter:e.flexStyle.crossBorderAfter,crossBorderBefore:e.flexStyle.mainBorderBefore,crossBorderAfter:e.flexStyle.mainBorderAfter}):(e.flexStyle=n?{main:e.style.width,cross:e.style.height,mainOffset:e.style.offsetWidth,crossOffset:e.style.offsetHeight,mainBefore:e.style.marginLeft,mainAfter:e.style.marginRight,crossBefore:e.style.marginTop,crossAfter:e.style.marginBottom,mainInnerBefore:e.style.paddingLeft,mainInnerAfter:e.style.paddingRight,crossInnerBefore:e.style.paddingTop,crossInnerAfter:e.style.paddingBottom,mainBorderBefore:e.style.borderLeftWidth,mainBorderAfter:e.style.borderRightWidth,crossBorderBefore:e.style.borderTopWidth,crossBorderAfter:e.style.borderBottomWidth}:{main:e.style.height,cross:e.style.width,mainOffset:e.style.offsetHeight,crossOffset:e.style.offsetWidth,mainBefore:e.style.marginTop,mainAfter:e.style.marginBottom,crossBefore:e.style.marginLeft,crossAfter:e.style.marginRight,mainInnerBefore:e.style.paddingTop,mainInnerAfter:e.style.paddingBottom,crossInnerBefore:e.style.paddingLeft,crossInnerAfter:e.style.paddingRight,mainBorderBefore:e.style.borderTopWidth,mainBorderAfter:e.style.borderBottomWidth,crossBorderBefore:e.style.borderLeftWidth,crossBorderAfter:e.style.borderRightWidth},"content-box"===e.style.boxSizing&&("number"==typeof e.flexStyle.main&&(e.flexStyle.main+=e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),"number"==typeof e.flexStyle.cross&&(e.flexStyle.cross+=e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter))),e.mainAxis=n?"inline":"block",e.crossAxis=n?"block":"inl
vendor: 4,881 bytes, line 392
392ine","number"==typeof e.style.flexBasis&&(e.flexStyle.main=e.style.flexBasis+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),e.flexStyle.mainOuter=e.flexStyle.main,e.flexStyle.crossOuter=e.flexStyle.cross,"auto"===e.flexStyle.mainOuter&&(e.flexStyle.mainOuter=e.flexStyle.mainOffset),"auto"===e.flexStyle.crossOuter&&(e.flexStyle.crossOuter=e.flexStyle.crossOffset),"number"==typeof e.flexStyle.mainBefore&&(e.flexStyle.mainOuter+=e.flexStyle.mainBefore),"number"==typeof e.flexStyle.mainAfter&&(e.flexStyle.mainOuter+=e.flexStyle.mainAfter),"number"==typeof e.flexStyle.crossBefore&&(e.flexStyle.crossOuter+=e.flexStyle.crossBefore),"number"==typeof e.flexStyle.crossAfter&&(e.flexStyle.crossOuter+=e.flexStyle.crossAfter)}},{}],4:[function(e,t,n){var r=e("../reduce");t.exports=function(e){if(e.mainSpace>0){var t=r(e.children,(function(e,t){return e+parseFloat(t.style.flexGrow)}),0);t>0&&(e.main=r(e.children,(function(n,r){return"auto"===r.flexStyle.main?r.flexStyle.main=r.flexStyle.mainOffset+parseFloat(r.style.flexGrow)/t*e.mainSpace:r.flexStyle.main+=parseFloat(r.style.flexGrow)/t*e.mainSpace,r.flexStyle.mainOuter=r.flexStyle.main+r.flexStyle.mainBefore+r.flexStyle.mainAfter,n+r.flexStyle.mainOuter}),0),e.mainSpace=0)}}},{"../reduce":12}],5:[function(e,t,n){var r=e("../reduce");t.exports=function(e){if(e.mainSpace<0){var t=r(e.children,(function(e,t){return e+parseFloat(t.style.flexShrink)}),0);t>0&&(e.main=r(e.children,(function(n,r){return r.flexStyle.main+=parseFloat(r.style.flexShrink)/t*e.mainSpace,r.flexStyle.mainOuter=r.flexStyle.main+r.flexStyle.mainBefore+r.flexStyle.mainAfter,n+r.flexStyle.mainOuter}),0),e.mainSpace=0)}}},{"../reduce":12}],6:[function(e,t,n){var r=e("../reduce");t.exports=function(e){var t;e.lines=[t={main:0,cross:0,children:[]}];for(var n,i=-1;n=e.children[++i];)"nowrap"===e.style.flexWrap||0===t.children.length||"auto"===e.flexStyle.main||e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter>=t.main+n.flexStyle.mainOuter?(t.main+=n.flexStyle.mainOuter,t.cross=Math.max(t.cross,n.flexStyle.crossOuter)):e.lines.push(t={main:n.flexStyle.mainOuter,cross:n.flexStyle.crossOuter,children:[]}),t.children.push(n);e.flexStyle.mainLines=r(e.lines,(function(e,t){return Math.max(e,t.main)}),0),e.flexStyle.crossLines=r(e.lines,(function(e,t){return e+t.cross}),0),"auto"===e.flexStyle.main&&(e.flexStyle.main=Math.max(e.flexStyle.mainOffset,e.flexStyle.mainLines+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter)),"auto"===e.flexStyle.cross&&(e.flexStyle.cross=Math.max(e.flexStyle.crossOffset,e.flexStyle.crossLines+e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter)),e.flexStyle.crossSpace=e.flexStyle.cross-e.flexStyle.crossInnerBefore-e.flexStyle.crossInnerAfter-e.flexStyle.crossBorderBefore-e.flexStyle.crossBorderAfter-e.flexStyle.crossLines,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}},{"../reduce":12}],7:[function(e,t,n){function r(t){for(var n,r=-1;n=t.children[++r];)e("./flex-direction")(n,t.style.flexDirection);e("./flex-direction")(t,t.style.flexDirection),e("./order")(t),e("./flexbox-lines")(t),e("./align-content")(t),r=-1;for(var i;i=t.lines[++r];)i.mainSpace=t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter-i.main,e("./flex-grow")(i),e("./flex-shrink")(i),e("./margin-main")(i),e("./margin-cross")(i),e("./justify-content")(i,t.style.justifyContent,t);e("./align-items")(t)}t.exports=r},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(e,t,n){t.exports=function(e,t,n){var r,i,o,s=n.flexStyle.mainInnerBefore,a=-1;if("flex-end"===t)for(r=e.mainSpace,r+=s;o=e.children[++a];)o.flexStyle.mainStart=r,r+=o.flexStyle.mainOuter;else if("center"===t)for(r=e.mainSpace/2,r+=s;o=e.children[++a];)o.flexStyle.mainStart=r,r+=o.flexStyle.mainOuter;else if("space-between"===t)for(i=e.mainSpace/(e.children.length-1),r=0,r+=s;o=e.children[++a];)o.flexStyle.mainStart=r,r+=o.flexStyle.mainOuter+i;else if("space-around"===t)for(r=(i=2*e.mainSpace/(2*e.children.length))/2,r+=s;o=e.children[++a];)o.flexStyle.mainStart=r,r+=o.flexStyle.mainOuter+i;else for(r=0,r+=s;o=e.children[++a];)o.flexStyle.mainStart=r,r+=o.flexStyle.mainOuter}},{}],9:[function(e,t,n){t.exports=function(e){for(var t,n=-1;t=e.children[++n];){var r=0;"auto"===t.flexStyle.crossBefore&&++r,"auto"===t.flexStyle.crossAfter&&
392++r;var i=e.cross-t.flexStyle.crossOuter;"auto"===t.flexStyle.crossBefore&&(t.flexStyle.crossBefore=i/r),"auto"===t.flexStyle.crossAfter&&(t.flexStyle.crossAfter=i/r),"auto"===t.flexStyle.cross?t.flexStyle.crossOuter=t.flexStyle.crossOffset+t.flexStyle.crossBefore+t.flexStyle.crossAfter:t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}}},{}],10:[function(e,t,n){t.exports=function(e){for(var t,n=0,r=-1;t=e.children[++r];)"auto"===t.flexStyle.mainBefore&&++n,"auto"===t.flexStyle.mainAfter&&++n;if(n>0){for(r=-1;t=e.children[++r];)"auto"===t.flexStyle.mainBefore&&(t.flexStyle.mainBefore=e.mainSpace/n),"auto"===t.flexStyle.mainAfter&&(t.flexStyle.mainAfter=e.mainSpace/n),"auto"===t.flexStyle.main?t.flexStyle.mainOuter=t.flexStyle.mainOffset+t.flexStyle.mainBefore+t.flexStyle.mainAfter:t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter;e.mainSpace=0}}},{}],11:[function(e,t,n){var r=/^(column|row)-reverse$/;t.exports=function(e){e.children.sort((function(e,t){return e.style.order-t.style.order||e.index-t.index})),r.test(e.style.flexDirection)&&e.children.reverse()}},{}],12:[function(e,t,n){function r(e,t,n){for(var r=e.length,i=-1;++i<r;)i in e&&(n=t(n,e[i],i));return n}t.exports=r},{}],13:[function(e,t,n){function r(e){a(s(e))}var i=e("./read"),o=e("./write"),s=e("./readAll"),a=e("./writeAll");t.exports=r,t.exports.read=i,t.exports.write=o,t.exports.readAll=s,t.exports.writeAll=a},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(e,t,n){function r(e,t,n){var r=e[t],s=String(r).match(o);if(!s){var c=t.match(l);return c?"none"===e["border"+c[1]+"Style"]?0:a[r]||0:r}var u=s[1],f=s[2];return"px"===f?1*u:"cm"===f?.3937*u*96:"in"===f?96*u:"mm"===f?.3937*u*96/10:"pc"===f?12*u*96/72:"pt"===f?96*u/72:"rem"===f?16*u:i(r,n)}function i(e,t){s.style.cssText="border:none!important;clip:rect(0 0 0 0)!important;display:block!important;font-size:1em!important;height:0!important;margin:0!important;padding:0!important;position:relative!important;width:"+e+"!important",t.parentNode.insertBefore(s,t.nextSibling);var n=s.offsetWidth;return t.parentNode.removeChild(s),n}t.exports=r;var o=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,s=document.createElement("div"),a={medium:4,none:0,thick:6,thin:2},l=/^border(Bottom|Left|Right|Top)Width$/},{}],15:[function(e,t,n){function r(e){var t={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomStyle:"none",borderBottomWidth:0,borderLeftStyle:"none",borderLeftWidth:0,borderRightStyle:"none",borderRightWidth:0,borderTopStyle:"none",borderTopWidth:0,boxSizing:"content-box",display:"inline",flexBasis:"auto",flexDirection:"row",flexGrow:0,flexShrink:1,flexWrap:"nowrap",justifyContent:"flex-start",height:"auto",marginTop:0,marginRight:0,marginLeft:0,marginBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,paddingBottom:0,maxHeight:"none",maxWidth:"none",minHeight:0,minWidth:0,order:0,position:"static",width:"auto"};if(e instanceof Element){var n=e.hasAttribute("data-style"),r=n?e.getAttribute("data-style"):e.getAttribute("style")||"";n||e.setAttribute("data-style",r),s(t,window.getComputedStyle&&getComputedStyle(e)||{});var a=e.currentStyle||{};for(var l in i(t,a),o(t,r),t)t[l]=c(t,l,e);var u=e.getBoundingClientRect();t.offsetHeight=u.height||e.offsetHeight,t.offsetWidth=u.width||e.offsetWidth}return{element:e,style:t}}function i(e,t){for(var n in e)if(n in t)e[n]=t[n];else{var r=n.replace(/[A-Z]/g,"-$&").toLowerCase();r in t&&(e[n]=t[r])}"-js-display"in t&&(e.display=t["-js-display"])}function o(e,t){for(var n;n=a.exec(t);)e[n[1].toLowerCase().replace(/-[a-z]/g,(function(e){return e.slice(1).toUpperCase()}))]=n[2]}function s(e,t){for(var n in e)n in t&&!l.test(n)&&(e[n]=t[n])}t.exports=r;var a=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,l=/^(alignSelf|height|width)$/,c=e("./getComputedLength")},{"./getComputedLength":14}],16:[function(e,t,n){function r(e){var t=[];return i(e,t),t}function i(e,t){for(var n,r=o(e),a=[],l=-1;n=e.childNodes[++l];){var c=3===n.nodeType&&!/^\s*$/.test(n.nodeValue);if(r&&c){var u=n;(n=e.insertBefore(document.createElement("flex-item"),u)).appendChild(u)}if(n instanceof Element){var f=i(n,t);if(r){var d=n.style;d.display="inline-block",d.position="absolute",f.style=s(n).style,a.push(f)}}}var p={element:e,children:a};return r&&(p.style=s(e).style,t.push(p)),p}function o(e){var t=e instanceof Element,n=t&&e.getAttribute("data-style"),r=t&&e.currentStyle&&e.currentStyle["-js-display"];return a.test(n)||l.test(r)}t.exports=r;var s=e("../read"),a=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,l=/^(inline-)?flex$/i},{"../read":15}],17:[function(e,t,n){function r(e){o(e);var t=e.element.style,n="inline"===e.mainAxis?["main","cross"]:["cross","main"];t.boxSizing="content-box",t.display="block",t.position="relative",t.width=i(e.flexStyle[n[0]]-e.flexStyle[n[0]+"InnerBefore"]-e.flexStyle[n[0]+"InnerAfter"]-e.flexStyle[n[0]+"BorderBefore"]-e.flexStyle[n[0]+"BorderAfter"]),t.height=i(e.flexStyle[n[1]]-e.flexStyle[n[1]+"InnerBefore"]-e.flexStyle[n[1]+"InnerAfter"]-e.flexStyle[n[1]+"BorderBefore"]-e.flexStyle[n[1]+"BorderAfter"]);for(var r,s=-1;r=e.children[++s];){var a=r.element.style,l="inline"===r.mainAxis?["main","cross"]:["cross","main"];a.boxSizing="content-box",a.display="block",a.position="absolute","auto"!==r.flexStyle[l[0]]&&(a.width=i(r.flexStyle[l[0]]-r.flexStyle[l[0]+"InnerBefore"]-r.flexStyle[l[0]+"InnerAfter"]-r.flexStyle[l[0]+"BorderBefore"]-r.flexStyle[l[0]+"BorderAfter"])),"auto"!==r.flexStyle[l[1]]&&(a.height=i(r.flexStyle[l[1]]-r.flexStyle[l[1]+"InnerBefore"]-r.flexStyle[l[1]+"InnerAfter"]-r.flexStyle[l[1]+"BorderBefore"]-r.flexStyle[l[1]+"BorderAfter"])),a.top=i(r.flexStyle[l[1]+"Start"]),a.left=i(r.flexStyle[l[0]+"Start"]),a.marginTop=i(r.flexStyle[l[1]+"Before"]),a.marginRight=i(r.flexStyle[l[0]+"After"]),a.marginBottom=i(r.flexStyle[l[1]+"After"]),a.marginLeft=i(r.flexStyle[l[0]+"Before"])}}function i(e){return"string"==typeof e?e:Math.max(e,0)+"px"}t.exports=r;var o=e("../flexbox")},{"../flexbox":7}],18:[function(e,t,n){function r(e){for(var t,n=-1;t=e[++n];)i(t)}t.exports=r;var i=e("../write")},{"../write":17}]},{},[13])(13)},277:function(e,t,n){var r,i,o,s;
393/*!
394 * @fileOverview TouchSwipe - jQuery Plugin
395 * @version 1.6.18
396 *
397 * @author Matt Bryson http://www.github.com/mattbryson
398 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
399 * @see http://labs.rampinteractive.co.uk/touchSwipe/
400 * @see http://plugins.jquery.com/project/touchSwipe
401 * @license
402 * Copyright (c) 2010-2015 Matt Bryson
403 * Dual licensed under the MIT or GPL Version 2 licenses.
404 *
405 */s=function(e){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=c),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each((function(){var r=e(this),i=r.data(k);i||(i=new n(this,t),r.data(k,i))}))}function n(t,n){function A(t){if(!(!0===Se.data(k+"_intouch")||e(t.target).closest(n.excludedElements,Se).length>0)){var a=t.originalEvent?t.originalEvent:t;if(!a.pointerType||"mouse"!=a.pointerType||0!=n.fallbackToMouseEvents){var l,c=a.touches,u=c?c[0]:a;return _e=w,c?Ce=c.length:!1!==n.preventDefaultEvents&&t.preventDefault(),de=0,pe=null,he=null,we=null,me=0,ge=0,ve=0,ye=1,be=0,(f={})[r]=te(r),f[i]=te(i),f[o]=te(o),f[s]=te(s),xe=f,K(),Z(0,u),!c||Ce===n.fingers||n.fingers===y||W()?(Te=oe(),2==Ce&&(Z(1,c[1]),ge=ve=re(Ee[0].start,Ee[1].start)),(n.swipeStatus||n.pinchStatus)&&(l=L(a,_e))):l=!1,!1===l?(L(a,_e=_),l):(n.hold&&(Ne=setTimeout(e.proxy((function(){Se.trigger("hold",[a.target]),n.hold&&(l=n.hold.call(Se,a,a.target))}),this),n.longTapThreshold)),G(!0),null)}}var f}function O(t){var f,d,p,h,m=t.originalEvent?t.originalEvent:t;if(_e!==S&&_e!==_&&!X()){var b,w=m.touches,C=J(w?w[0]:m);if(ke=oe(),w&&(Ce=w.length),n.hold&&clearTimeout(Ne),_e=x,2==Ce&&(0==ge?(Z(1,w[1]),ge=ve=re(Ee[0].start,Ee[1].start)):(J(w[1]),ve=re(Ee[0].end,Ee[1].end),Ee[0].end,Ee[1].end,we=1>ye?l:a),ye=(ve/ge*1).toFixed(2),be=Math.abs(ge-ve)),Ce===n.fingers||n.fingers===y||!w||W()){if(pe=ie(C.start,C.end),function(e,t){if(!1!==n.preventDefaultEvents)if(n.allowPageScroll===c)e.preventDefault();else{var a=n.allowPageScroll===u;switch(t){case r:(n.swipeLeft&&a||!a&&n.allowPageScroll!=g)&&e.preventDefault();break;case i:(n.swipeRight&&a||!a&&n.allowPageScroll!=g)&&e.preventDefault();break;case o:(n.swipeUp&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault();break;case s:(n.swipeDown&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault()}}}(t,he=ie(C.last,C.end)),p=C.start,h=C.end,de=Math.round(Math.sqrt(Math.pow(h.x-p.x,2)+Math.pow(h.y-p.y,2))),me=ne(),d=de,(f=pe)!=c&&(d=Math.max(d,ee(f)),xe[f].distance=d),b=L(m,_e),!n.triggerOnTouchEnd||n.triggerOnTouchLeave){var E=!0;if(n.triggerOnTouchLeave){var T=function(t){var n=(t=e(t)).offset(),r={left:n.left,right:n.left+t.outerWidth(),top:n.top,bottom:n.top+t.outerHeight()};return r}(this);E=function(e,t){return e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}(C.end,T)}!n.triggerOnTouchEnd&&E?_e=D(x):n.triggerOnTouchLeave&&!E&&(_e=D(S)),_e!=_&&_e!=S||L(m,_e)}}else L(m,_e=_);!1===b&&L(m,_e=_)}}function I(e){var t=e.originalEvent?e.originalEvent:e,r=t.touches;if(r){if(r.length&&!X())return function(e){Ae=oe(),Oe=e.touches.length+1}(t),!0;if(r.length&&X())return!0}return X()&&(Ce=Oe),ke=oe(),me=ne(),M()||!B()?L(t,_e=_):n.triggerOnTouchEnd||!1===n.triggerOnTouchEnd&&_e===x?(!1!==n.preventDefaultEvents&&!1!==e.cancelable&&e.preventDefault(),L(t,_e=S)):!n.triggerOnTouchEnd&&U()?F(t,_e=S,p):_e===x&&L(t,_e=_),G(!1),null}function P(){Ce=0,ke=0,Te=0,ge=0,ve=0,ye=1,K(),G(!1)}function N(e){var t=e.originalEvent?e.originalEvent:e;n.triggerOnTouchLeave&&L(t,_e=D(S))}function j(){Se.off(ae,A),Se.off(fe,P),Se.off(le,O),Se.off(ce,I),ue&&Se.off(ue,N),G(!1)}function D(e){var t=e,r=V(),i=B(),o=M();return!r||o?t=_:!i||e!=x||n.triggerOnTouchEnd&&!n.triggerOnTouchLeave?!i&&e==S&&n.triggerOnTouchLeave&&(t=_):t=S,t}function L(e,t){var r,i=e.touches;return(!(!R()||!q())||q())&&(r=F(e,t,f)),(!(!H()||!W())||W())&&!1!==r&&(r=F(e,t,d)),Y()&&Q()&&!1!==r?r=F(e,t,h):me>n.longTapThreshold&&b>de&&n.longTap&&!1!==r?r=F(e,t,m):!(1!==Ce&&C||!(isNaN(de)||de<n.threshold)||!U())&&!1!==r&&(r=F(e,t,p)),t===_&&P(),t===S&&(i&&i.length||P()),r}function F(t,c,u){var g;if(u==f){if(Se.trigger("swipeStatus",[c,pe||null,de||0,me||0,Ce,Ee,he]),n.swipeStatus&&!1===(g=n.swipeStatus.call(Se,t,c,pe||null,de||0,me||0,Ce,Ee,he)))return!1;
405if(c==S&&R()){if(clearTimeout(Pe),clearTimeout(Ne),Se.trigger("swipe",[pe,de,me,Ce,Ee,he]),n.swipe&&!1===(g=n.swipe.call(Se,t,pe,de,me,Ce,Ee,he)))return!1;switch(pe){case r:Se.trigger("swipeLeft",[pe,de,me,Ce,Ee,he]),n.swipeLeft&&(g=n.swipeLeft.call(Se,t,pe,de,me,Ce,Ee,he));break;case i:Se.trigger("swipeRight",[pe,de,me,Ce,Ee,he]),n.swipeRight&&(g=n.swipeRight.call(Se,t,pe,de,me,Ce,Ee,he));break;case o:Se.trigger("swipeUp",[pe,de,me,Ce,Ee,he]),n.swipeUp&&(g=n.swipeUp.call(Se,t,pe,de,me,Ce,Ee,he));break;case s:Se.trigger("swipeDown",[pe,de,me,Ce,Ee,he]),n.swipeDown&&(g=n.swipeDown.call(Se,t,pe,de,me,Ce,Ee,he))}}}if(u==d){if(Se.trigger("pinchStatus",[c,we||null,be||0,me||0,Ce,ye,Ee]),n.pinchStatus&&!1===(g=n.pinchStatus.call(Se,t,c,we||null,be||0,me||0,Ce,ye,Ee)))return!1;if(c==S&&H())switch(we){case a:Se.trigger("pinchIn",[we||null,be||0,me||0,Ce,ye,Ee]),n.pinchIn&&(g=n.pinchIn.call(Se,t,we||null,be||0,me||0,Ce,ye,Ee));break;case l:Se.trigger("pinchOut",[we||null,be||0,me||0,Ce,ye,Ee]),n.pinchOut&&(g=n.pinchOut.call(Se,t,we||null,be||0,me||0,Ce,ye,Ee))}}return u==p?c!==_&&c!==S||(clearTimeout(Pe),clearTimeout(Ne),Q()&&!Y()?(Ie=oe(),Pe=setTimeout(e.proxy((function(){Ie=null,Se.trigger("tap",[t.target]),n.tap&&(g=n.tap.call(Se,t,t.target))}),this),n.doubleTapThreshold)):(Ie=null,Se.trigger("tap",[t.target]),n.tap&&(g=n.tap.call(Se,t,t.target)))):u==h?c!==_&&c!==S||(clearTimeout(Pe),clearTimeout(Ne),Ie=null,Se.trigger("doubletap",[t.target]),n.doubleTap&&(g=n.doubleTap.call(Se,t,t.target))):u==m&&(c!==_&&c!==S||(clearTimeout(Pe),Ie=null,Se.trigger("longtap",[t.target]),n.longTap&&(g=n.longTap.call(Se,t,t.target)))),g}function B(){var e=!0;return null!==n.threshold&&(e=de>=n.threshold),e}function M(){var e=!1;return null!==n.cancelThreshold&&null!==pe&&(e=ee(pe)-de>=n.cancelThreshold),e}function V(){return!(n.maxTimeThreshold&&me>=n.maxTimeThreshold)}
405function H(){var e=$(),t=z(),r=null===n.pinchThreshold||be>=n.pinchThreshold;return e&&t&&r}function W(){return!!(n.pinchStatus||n.pinchIn||n.pinchOut)}function R(){var e=V(),t=B(),n=$(),r=z();return!M()&&r&&n&&t&&e}function q(){return!!(n.swipe||n.swipeStatus||n.swipeLeft||n.swipeRight||n.swipeUp||n.swipeDown)}function $(){return Ce===n.fingers||n.fingers===y||!C}function z(){return 0!==Ee[0].end.x}function U(){return!!n.tap}function Q(){return!!n.doubleTap}function Y(){if(null==Ie)return!1;var e=oe();return Q()&&e-Ie<=n.doubleTapThreshold}function K(){Ae=0,Oe=0}function X(){var e=!1;return Ae&&oe()-Ae<=n.fingerReleaseThreshold&&(e=!0),e}function G(e){Se&&(!0===e?(Se.on(le,O),Se.on(ce,I),ue&&Se.on(ue,N)):(Se.off(le,O,!1),Se.off(ce,I,!1),ue&&Se.off(ue,N,!1)),Se.data(k+"_intouch",!0===e))}function Z(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,Ee[e]=n,n}function J(e){var t=void 0!==e.identifier?e.identifier:0,n=function(e){return Ee[e]||null}(t);return null===n&&(n=Z(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function ee(e){return xe[e]?xe[e].distance:void 0}function te(e){return{direction:e,distance:0}}function ne(){return ke-Te}function re(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+r*r))}function ie(e,t){if(a=t,(n=e).x==a.x&&n.y==a.y)return c;var n,a,l=function(e,t){var n=e.x-t.x,r=t.y-e.y,i=Math.atan2(r,n),o=Math.round(180*i/Math.PI);return 0>o&&(o=360-Math.abs(o)),o}(e,t);return 45>=l&&l>=0||360>=l&&l>=315?r:l>=135&&225>=l?i:l>45&&135>l?s:o}function oe(){return(new Date).getTime()}n=e.extend({},n);var se=C||T||!n.fallbackToMouseEvents,ae=se?T?E?"MSPointerDown":"pointerdown":"touchstart":"mousedown",le=se?T?E?"MSPointerMove":"pointermove":"touchmove":"mousemove",ce=se?T?E?"MSPointerUp":"pointerup":"touchend":"mouseup",ue=se?T?"mouseleave":null:"mouseleave",fe=T?E?"MSPointerCancel":"pointercancel":"touchcancel",de=0,pe=null,he=null,me=0,ge=0,ve=0,ye=1,be=0,we=0,xe=null,Se=e(t),_e="start",Ce=0,Ee={},Te=0,ke=0,Ae=0,Oe=0,Ie=0,Pe=null,Ne=null;try{Se.on(ae,A),Se.on(fe,P)}catch(t){e.error("events not supported "+ae+","+fe+" on jQuery.swipe")}this.enable=function(){return this.disable(),Se.on(ae,A),Se.on(fe,P),Se},this.disable=function(){return j(),Se},this.destroy=function(){j(),Se.data(k,null),Se=null},this.option=function(t,r){if("object"==typeof t)n=e.extend(n,t);else if(void 0!==n[t]){if(void 0===r)return n[t];n[t]=r}else{if(!t)return n;e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var r="left",i="right",o="up",s="down",a="in",l="out",c="none",u="auto",f="swipe",d="pinch",p="tap",h="doubletap",m="longtap",g="horizontal",v="vertical",y="all",b=10,w="start",x="move",S="end",_="cancel",C="ontouchstart"in window,E=window.navigator.msPointerEnabled&&!window.PointerEvent&&!C,T=(window.PointerEvent||window.navigator.msPointerEnabled)&&!C,k="TouchSwipe";e.fn.swipe=function(n){var r=e(this),i=r.data(k);if(i&&"string"==typeof n){if(i[n])return i[n].apply(i,Array.prototype.slice.call(arguments,1));e.error("Method "+n+" does not exist on jQuery.swipe")}else if(i&&"object"==typeof n)i.option.apply(i,arguments);else if(!(i||"object"!=typeof n&&n))return t.apply(this,arguments);return r},e.fn.swipe.version="1.6.18",e.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},e.fn.swipe.phases={PHASE_START:w,PHASE_MOVE:x,PHASE_END:S,PHASE_CANCEL:_},e.fn.swipe.directions={LEFT:r,RIGHT:i,UP:o,DOWN:s,IN:a,OUT:l},e.fn.swipe.pageScroll={NONE:c,HORIZONTAL:g,VERTICAL:v,AUTO:u},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:y}},n.amdO.jQuery?(i=[n(669)],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):s(e.exports?n(669):jQuery)},531:function(e,t,n){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return function(e,t){var n,r,s,a,l,c,u,f,d,p=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((a=e[r]).keys)for(n=t[p],s=0;s<a.keys.length;s++){if(null==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[s],a.keys[s-1]));n=n[a.keys[s]]}else n=a.param_no?t[a.param_no]:t[p++];if(i.not_type.test(a.type)&&i.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),i.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(i.number.test(a.type)&&(f=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=n:(!i.number.test(a.type)||f&&!a.sign?d="":(d=f?"+":"-",n=n.toString().replace(i.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+n).length,l=a.width&&u>0?c.repeat(u):"",m+=a.align?d+n+l:"0"===c?d+l+n:l+d+n)}return m}(function(e){if(a[e])return a[e];var t,n=e,r=[],o=0;for(;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],l=t[2],c=[];if(null===(c=i.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=i.key_access.exec(l)))s.push(c[1]);else{if(null===(c=i.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return a[e]=r}(e),arguments)}function s(e,t){return o.apply(null,[e].concat(t||[]))}var a=Object.create(null);t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()},682:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e){return"string"==typeof e}function s(e){return void 0===e}function a(e,t){t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}))}function l(e,t,n){return void 0===e&&(e=""),s(t)||s(t[e])?n?n+"-"+e:e:!1===t[e]?""
405:t[e]}function c(e,t){t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}))}function u(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&e.classList.contains(n)&&c(e,n)})),t.forEach((function(t){e.classList.contains(t)||a(e,t)}))}n.r(t);var f=[];function d(e){f.push(e)}function p(){for(var e;e=f.pop();)e()}var h=null;function m(e){void 0===e&&(e={});var t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function g(){if(h)return h;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;n===r&&(r=t.clientWidth),document.body.removeChild(t);var i=n-r;return h={width:i,height:i}}var v=function(){var e=0;return function(){return++e}}(),y={},b=null;function w(e,t){var n;t===document?(n=document,t=document.documentElement):n=t.ownerDocument;var r=n.documentElement,i=x(t),o=function(e){var t=b;t&&e.contains(t)||((t=document.createElement("div")).setAttribute("data-tether-id",v()),m(t.style,{top:0,left:0,position:"absolute"}),e.appendChild(t),b=t);var n=t.getAttribute("data-tether-id");s(y[n])&&(y[n]=x(t),d((function(){delete y[n]})));return y[n]}(e);return i.top-=o.top,i.left-=o.left,s(i.width)&&(i.width=document.body.scrollWidth-i.left-i.right),s(i.height)&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-r.clientTop,i.left=i.left-r.clientLeft,i.right=n.body.clientWidth-i.width-i.left,i.bottom=n.body.clientHeight-i.height-i.top,i}function x(e){var t=e.getBoundingClientRect(),n={};for(var r in t)n[r]=t[r];try{if(e.ownerDocument!==document){var i=e.ownerDocument.defaultView.frameElement;if(i){var o=x(i);n.top+=o.top,n.bottom+=o.top,n.left+=o.left,n.right+=o.left}}}catch(e){}return n}var S={position:function(e){var t=this,n=e.top,r=e.left,i=this.cache("element-bounds",(function(){return w(t.element)})),o=i.height,s=i.width,a=this.getTargetBounds(),c=n+o,f=r+s,p=[];n<=a.bottom&&c>=a.top&&["left","right"].forEach((function(e){var t=a[e];t!==r&&t!==f||p.push(e)})),r<=a.right&&f>=a.left&&["top","bottom"].forEach((function(e){var t=a[e];t!==n&&t!==c||p.push(e)}));var h=this.options,m=h.classes,g=h.classPrefix;return this.all.push(l("abutted",m,g)),["left","top","right","bottom"].forEach((function(e){t.all.push(l("abutted",m,g)+"-"+e)}
vendor: 13,328 bytes, lines 405-407
405)),p.length&&this.add.push(l("abutted",m,g)),p.forEach((function(e){t.add.push(l("abutted",m,g)+"-"+e)})),d((function(){!1!==t.options.addTargetClasses&&u(t.target,t.add,t.all),u(t.element,t.add,t.all)})),!0}},_=["left","top","right","bottom"];var C={position:function(e){var t=this,n=e.top,r=e.left,i=e.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",(function(){return w(t.bodyElement,t.element)})),c=a.height,f=a.width;if(0===f&&0===c&&!s(this.lastSize)){var p=this.lastSize;f=p.width,c=p.height}var h=this.cache("target-bounds",(function(){return t.getTargetBounds()})),g=h.height,v=h.width,y=this.options,b=y.classes,x=y.classPrefix,S=function(e,t,n){var r=[l("pinned",e,t),l("out-of-bounds",e,t)];return n.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&r.push(t),n&&r.push(n)})),r.forEach((function(e){["left","top","right","bottom"].forEach((function(t){r.push(e+"-"+t)}))})),r}(b,x,this.options.constraints),C=[],E=m({},i),T=m({},this.attachment);return this.options.constraints.forEach((function(e){var a,u,d=e.to,p=e.attachment,h=e.pin;if(s(p)&&(p=""),p.indexOf(" ")>=0){var m=p.split(" ");u=m[0],a=m[1]}else a=u=p;var y=function(e,t,n){if(!n)return null;if("scrollParent"===n?n=t.scrollParents[0]:"window"===n&&(n=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),n===document&&(n=n.documentElement),!s(n.nodeType)){var r=n,i=w(e,n),o=i,a=getComputedStyle(n);if(n=[o.left,o.top,i.width+o.left,i.height+o.top],r.ownerDocument!==document){var l=r.ownerDocument.defaultView;n[0]+=l.pageXOffset,n[1]+=l.pageYOffset,n[2]+=l.pageXOffset,n[3]+=l.pageYOffset}_.forEach((function(e,t){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?n[t]+=parseFloat(a["border"+e+"Width"]):n[t]-=parseFloat(a["border"+e+"Width"])}))}return n}(t.bodyElement,t,d);"target"!==u&&"both"!==u||(n<y[1]&&"top"===E.top&&(n+=g,E.top="bottom"),n+c>y[3]&&"bottom"===E.top&&(n-=g,E.top="top")),"together"===u&&(n=function(e,t,n,r,i,o){return"top"===e.top&&("bottom"===t.top&&o<n[1]?(o+=i,e.top="bottom",o+=r,t.top="top"):"top"===t.top&&o+r>n[3]&&o-(r-i)>=n[1]&&(o-=r-i,e.top="bottom",t.top="bottom")),"bottom"===e.top&&("top"===t.top&&o+r>n[3]?(o-=i,e.top="top",o-=r,t.top="bottom"):"bottom"===t.top&&o<n[1]&&o+(2*r-i)<=n[3]&&(o+=r-i,e.top="top",t.top="top")),"middle"===e.top&&(o+r>n[3]&&"top"===t.top?(o-=r,t.top="bottom"):o<n[1]&&"bottom"===t.top&&(o+=r,t.top="top")),o}(E,T,y,c,g,n)),"target"!==a&&"both"!==a||(r<y[0]&&"left"===E.left&&(r+=v,E.left="right"),r+f>y[2]&&"right"===E.left&&(r-=v,E.left="left")),"together"===a&&(r=function(e,t,n,r,i,o){return o<n[0]&&"left"===e.left?"right"===t.left?(o+=i,e.left="right",o+=r,t.left="left"):"left"===t.left&&(o+=i,e.left="right",o-=r,t.left="right"):o+r>n[2]&&"right"===e.left?"left"===t.left?(o-=i,e.left="left",o-=r,t.left="right"):"right"===t.left&&(o-=i,e.left="left",o+=r,t.left="left"):"center"===e.left&&(o+r>n[2]&&"left"===t.left?(o-=r,t.left="right"):o<n[0]&&"right"===t.left&&(o+=r,t.left="left")),o}(E,T,y,f,v,r)),"element"!==u&&"both"!==u||(n<y[1]&&"bottom"===T.top&&(n+=c,T.top="top"),n+c>y[3]&&"top"===T.top&&(n-=c,T.top="bottom")),"element"!==a&&"both"!==a||(r<y[0]&&("right"===T.left?(r+=f,T.left="left"):"center"===T.left&&(r+=f/2,T.left="left")),r+f>y[2]&&("left"===T.left?(r-=f,T.left="right"):"center"===T.left&&(r-=f/2,T.left="right"))),o(h)?h=h.split(",").map((function(e){return e.trim()})):!0===h&&(h=["top","left","right","bottom"]);var S,k=[],A=[];(r=function(e,t,n,r,i,o){return e<t[0]&&(r.indexOf("left")>=0?(e=t[0],i.push("left")):o.push("left")),e+n>t[2]&&(r.indexOf("right")>=0?(e=t[2]-n,i.push("right")):o.push("right")),e}(r,y,f,h=h||[],k,A),n=function(e,t,n,r,i,o){return e<t[1]&&(r.indexOf("top")>=0?(e=t[1],i.push("top")):o.push("top")),e+n>t[3]&&(r.indexOf("bottom")>=0?(e=t[3]-n,i.push("bottom")):o.push("bottom")),e}(n,y,c,h,k,A),k.length)&&(S=s(t.options.pinnedClass)?l("pinned",b,x):t.options.pinnedClass,C.push(S),k.forEach((function(e){C.push(S+"-"+e)})));!function(e,t,n,r,i){var o;e.length&&(o=s(i)?l("out-of-bounds",n,r):i,t.push(o),e.forEach((function(e){t.push(o+"-"+e)})))}(A,C,b,x,t.options.outOfBoundsClass),(k.indexOf("left")>=0||k.indexOf("right")>=0)&&(T.left=E.left=!1),(k.indexOf("top")>=0||k.indexOf("bottom")>=0)&&(T.top=E.top=!1),E.top===i.top&&E.left===i.left&&T.top===t.attachment.top&&T.left===t.attachment.left||(t.updateAttachClasses(T,E),t.trigger("update",{attachment:T,targetAttachment:E}))})),d((function(){!1!==t.options.addTargetClasses&&u(t.target,C,S),u(t.element,C,S)})),{top:n,left:r}}},E={position:function(e){var t=e.top,n=e.left;if(this.options.shift){var r,i,s=this.options.shift;if("function"==typeof s&&(s=s.call(this,{top:t,left:n})),o(s)){(s=s.split(" "))[1]=s[1]||s[0];var a=s;r=a[0],i=a[1],r=parseFloat(r,10),i=parseFloat(i,10)}else{var l=[s.top,s.left];r=l[0],i=l[1]}return{top:t+=r,left:n+=i}}}},T=function(){function e(){}var t=e.prototype;return t.on=function(e,t,n,r){return void 0===r&&(r=!1),s(this.bindings)&&(this.bindings={}),s(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r}),this},t.once=function(e,t,n){return this.on(e,t,n,!0)},t.off=function(e,t){var n=this;return s(this.bindings)||s(this.bindings[e])||(s(t)?delete this.bindings[e]:this.bindings[e].forEach((function(r,i){r.handler===t&&n.bindings[e].splice(i,1)}))),this},t.trigger=function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return!s(this.bindings)&&this.bindings[e]&&this.bindings[e].forEach((function(n,i){var o=n.ctx,s=n.handler,a=n.once,l=o||t;s.apply(l,r),a&&t.bindings[e].splice(i,1)})),this},e}(),k={center:"center",left:"right",right:"left"},A={middle:"middle",top:"bottom",bottom:"top"},O={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"};function I(){for(var e={top:0,left:0},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){var n=t.top,r=t.left;o(n)&&(n=parseFloat(n)),o(r)&&(r=parseFloat(r)),e.top+=n,e.left+=r})),e}function P(e){var t=e.left,n=e.top;return s(O[e.left])||(t=O[e.left]),s(O[e.top])||(n=O[e.top]),{left:t,top:n}}function N(e,t){return o(e.left)&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left)/100*t.width),o(e.top)&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top)/100*t.height),e}function j(e){var t=e.split(" ");return{top:t[0],left:t[1]}}function D(e){return e.offsetParent||document.documentElement}var L={modules:[C,S,E]};var F,B,M,V,H=function(){if(s(document))return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var r=t[n];if(void 0!==e.style[r])return r}}(),W=[],R=function(){W.forEach((function(e){e.position(!1)})),p()};function q(){return performance.now()}F=null,B=null,M=null,V=function e(){if(!s(B)&&B>16)return B=Math.min(B-16,250),void(M=setTimeout(e,250));!s(F)&&q()-F<10||(null!=M&&(clearTimeout(M),M=null),F=q(),R(),B=q()-F)},s(window)||s(window.addEventListener)||["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,V)}));var $=function(e){
406/*! tether 2.0.0 */
407var t,n;function f(t){var n;return(n=e.call(this)||this).position=n.position.bind(i(n)),W.push(i(n)),n.history=[],n.setOptions(t,!1),L.modules.forEach((function(e){s(e.initialize)||e.initialize.call(i(n))})),n.position(),n}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var h=f.prototype;return h.setOptions=function(e,t){var n=this;void 0===t&&(t=!0);var r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether",bodyElement:document.body};this.options=m(r,e);var i=this.options,a=i.element,l=i.target,c=i.targetModifier,u=i.bodyElement;if(this.element=a,this.target=l,this.targetModifier=c,"string"==typeof u&&(u=document.querySelector(u)),this.bodyElement=u,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(s(n[e]))throw new Error("Tether Error: Both element and target must be defined");s(n[e].jquery)?o(n[e])&&(n[e]=document.querySelector(n[e])):n[e]=n[e][0]})),this._addClasses(),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=j(this.options.targetAttachment),this.attachment=j(this.options.attachment),this.offset=j(this.options.offset),this.targetOffset=j(this.options.targetOffset),s(this.scrollParents)||this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=function(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var r=e;(r=r.parentNode)&&r&&1===r.nodeType;){var i=void 0;try{i=getComputedStyle(r)}catch(e){}if(s(i)||null===i)return n.push(r),n;var o=i,a=o.overflow,l=o.overflowX,c=o.overflowY;/(auto|scroll|overlay)/.test(a+c+l)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&n.push(r)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}(this.target),!1!==this.options.enabled&&this.enable(t)},h.getTargetBounds=function(){return s(this.targetModifier)?w(this.bodyElement,this.target):"visible"===this.targetModifier?function(e,t){if(t===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var n=w(e,t),r={height:n.height,width:n.width,top:n.top,left:n.left};return r.height=Math.min(r.height,n.height-(pageYOffset-n.top)),r.height=Math.min(r.height,n.height-(n.top+n.height-(pageYOffset+innerHeight))),r.height=Math.min(innerHeight,r.height),r.height-=2,r.width=Math.min(r.width,n.width-(pageXOffset-n.left)),r.width=Math.min(r.width,n.width-(n.left+n.width-(pageXOffset+innerWidth))),r.width=Math.min(innerWidth,r.width),r.width-=2,r.top<pageYOffset&&(r.top=pageYOffset),r.left<pageXOffset&&(r.left=pageXOffset),r}(this.bodyElement,this.target):"scroll-handle"===this.targetModifier?function(e,t){var n,r=t.scrollTop,i=t===document.body;i?(t=document.documentElement,n={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):n=w(e,t);var o=getComputedStyle(t),s=0;(t.scrollWidth>t.clientWidth||[o.overflow,o.overflowX].indexOf("scroll")>=0||!i)&&(s=15);var a=n.height-parseFloat(o.borderTopWidth)-parseFloat(o.borderBottomWidth)-s,l={width:15,height:.975*a*(a/t.scrollHeight),left:n.left+n.width-parseFloat(o.borderLeftWidth)-15},c=0;a<408&&i&&(c=-11e-5*Math.pow(a,2)-.00727*a+22.58),i||(l.height=Math.max(l.height,24));var u=r/(t.scrollHeight-a);return l.top=u*(a-l.height-c)+n.top+parseFloat(o.borderTopWidth),i&&(l.height=Math.max(l.height,24)),l}(this.bodyElement,this.target):void 0},h.clearCache=function(){this._cache={}},h.cache=function(e,t){return s(this._cache)&&(this._cache={}),s(this._cache[e])&&(this._cache[e]=t.call(this)),this._cache[e]},h.enable=function(e){var t=this;void 0===e&&(e=!0);var n=this.options,r=n.classes,i=n.classPrefix;!1!==this.options.addTargetClasses&&a(this.target,l("enabled",r,i)),a(this.element,l("enabled",r,i)),this.enabled=!0,this.scrollParents.forEach((function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)})),e&&this.position()},h.disable=function(){var e=this,t=this.options,n=t.classes,r=t.classPrefix;c(this.target,l("enabled",n,r)),c(this.element,l("enabled",n,r)),this.enabled=!1,s(this.scrollParents)||this.scrollParents.forEach((function(t){t&&t.removeEventListener&&t.removeEventListener("scroll",e.position)}))},h.destroy=function(){var e,t=this;this.disable(),this._removeClasses(),W.forEach((function(e,n){e===t&&W.splice(n,1)})),0===W.length&&(e=this.bodyElement,b&&e.removeChild(b),b=null)},h.updateAttachClasses=function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment;var r=this.options,i=r.classes,o=r.classPrefix;!s(this._addAttachClasses)&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),s(this._addAttachClasses)&&(this._addAttachClasses=[]),this.add=this._addAttachClasses,e.top&&this.add.push(l("element-attached",i,o)+"-"+e.top),e.left&&this.add.push(l("element-attached",i,o)+"-"+e.left),t.top&&this.add.push(l("target-attached",i,o)+"-"+t.top),t.left&&this.add.push(l("target-attached",i,o)+"-"+t.left),this.all=[],["left","top","bottom","right","middle","center"].forEach((function(e){n.all.push(l("element-attached",i,o)+"-"+e),n.all.push(l("target-attached",i,o)+"-"+e)})),d((function(){s(n._addAttachClasses)||(u(n.element,n._addAttachClasses,n.all),!1!==n.options.addTargetClasses&&u(n.target,n._addAttachClasses,n.all),delete n._addAttachClasses)}))},h.position=function(e){var t=this;if(void 0===e&&(e=!0),this.enabled){this.clearCache();var n=function(e,t){var n=e.left,r=e.top;return"auto"===n&&(n=k[t.left]),"auto"===r&&(r=A[t.top]),{left:n,top:r}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var r=this.cache("element-bounds",(function(){return w(t.bodyElement,t.element)})),i=r.width,o=r.height;if(0!==i||0!==o||s(this.lastSize))this.lastSize={width:i,height:o};else{var a=this.lastSize;i=a.width,o=a.height}var l=this.cache("target-bounds",(function(){return t.getTargetBounds()})),c=l,u=N(P(this.attachment),{width:i,height:o}
407),f=N(P(n),c),d=N(this.offset,{width:i,height:o}),h=N(this.targetOffset,c);u=I(u,d),f=I(f,h);for(var m=l.left+f.left-u.left,v=l.top+f.top-u.top,y=0;y<L.modules.length;++y){var b=L.modules[y].position.call(this,{left:m,top:v,targetAttachment:n,targetPos:l,elementPos:r,offset:u,targetOffset:f,manualOffset:d,manualTargetOffset:h,scrollbarSize:x,attachment:this.attachment});if(!1===b)return!1;s(b)||"object"!=typeof b||(v=b.top,m=b.left)}var x,S={page:{top:v,left:m},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-o+innerHeight,left:m-pageXOffset,right:pageXOffset-m-i+innerWidth}},_=this.target.ownerDocument,C=_.defaultView;if(C.innerHeight>_.documentElement.clientHeight&&(x=this.cache("scrollbar-size",g),S.viewport.bottom-=x.height),C.innerWidth>_.documentElement.clientWidth&&(x=this.cache("scrollbar-size",g),S.viewport.right-=x.width),-1!==["","static"].indexOf(_.body.style.position)&&-1!==["","static"].indexOf(_.body.parentElement.style.position)||(S.page.bottom=_.body.scrollHeight-v-o,S.page.right=_.body.scrollWidth-m-i),!s(this.options.optimizations)&&!1!==this.options.optimizations.moveElement&&s(this.targetModifier)){var E=this.cache("target-offsetparent",(function(){return D(t.target)})),T=this.cache("target-offsetparent-bounds",(function(){return w(t.bodyElement,E)})),O=getComputedStyle(E),j=T,F={};if(["Top","Left","Bottom","Right"].forEach((function(e){F[e.toLowerCase()]=parseFloat(O["border"+e+"Width"])})),T.right=_.body.scrollWidth-T.left-j.width+F.right,T.bottom=_.body.scrollHeight-T.top-j.height+F.bottom,S.page.top>=T.top+F.top&&S.page.bottom>=T.bottom&&S.page.left>=T.left+F.left&&S.page.right>=T.right){var B=E.scrollLeft,M=E.scrollTop;S.offset={top:S.page.top-T.top+M-F.top,left:S.page.left-T.left+B-F.left}}}return this.move(S),this.history.unshift(S),this.history.length>3&&this.history.pop(),e&&p(),!0}},h.move=function(e){var t=this;if(!s(this.element.parentNode)){var n,r,i,o={};for(var a in e)for(var l in o[a]={},e[a]){for(var c=!1,u=0;u<this.history.length;++u){var f=this.history[u];if(!(s(f[a])||(n=f[a][l],r=e[a][l],i=void 0,void 0===i&&(i=1),n+i>=r&&r>=n-i))){c=!0;break}}c||(o[a][l]=!0)}var p={top:"",left:"",right:"",bottom:""},h=function(e,n){var r,i;!1!==(!s(t.options.optimizations)?t.options.optimizations.gpu:null)?(e.top?(p.top=0,r=n.top):(p.bottom=0,r=-n.bottom),e.left?(p.left=0,i=n.left):(p.right=0,i=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),p[H]="translateX("+i+"px) translateY("+r+"px)","msTransform"!==H&&(p[H]+=" translateZ(0)")):(e.top?p.top=n.top+"px":p.bottom=n.bottom+"px",e.left?p.left=n.left+"px":p.right=n.right+"px")},g=!0;!s(this.options.optimizations)&&!1===this.options.optimizations.allowPositionFixed&&(g=!1);var v,y,b=!1;if((o.page.top||o.page.bottom)&&(o.page.left||o.page.right))p.position="absolute",h(o.page,e.page);else if(g&&(o.viewport.top||o.viewport.bottom)&&(o.viewport.left||o.viewport.right))p.position="fixed",h(o.viewport,e.viewport);else if(!s(o.offset)&&o.offset.top&&o.offset.left){p.position="absolute";var w=this.cache("target-offsetparent",(function(){return D(t.target)}));D(this.element)!==w&&d((function(){t.element.parentNode.removeChild(t.element),w.appendChild(t.element)})),h(o.offset,e.offset),b=!0}else p.position="absolute",h({top:!0,left:!0},e.page);if(!b)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var x=!0,S=this.element.parentNode;S&&1===S.nodeType&&"BODY"!==S.tagName&&(y=void 0,((y=(v=S).ownerDocument).fullscreenElement||y.webkitFullscreenElement||y.mozFullScreenElement||y.msFullscreenElement)!==v);){if("static"!==getComputedStyle(S).position){x=!1;break}S=S.parentNode}x||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var _={},C=!1;for(var E in p){var T=p[E];this.element.style[E]!==T&&(C=!0,_[E]=T)}C&&d((function(){m(t.element.style,_),t.trigger("repositioned")}))}},h._addClasses=function(){var e=this.options,t=e.classes,n=e.classPrefix;a(this.element,l("element",t,n)),!1!==this.options.addTargetClasses&&a(this.target,l("target",t,n))},h._removeClasses=function(){var e=this,t=this.options,n=t.classes,r=t.classPrefix;c(this.element,l("element",n,r)),!1!==this.options.addTargetClasses&&c(this.target,l("target",n,r)),this.all.forEach((function(t){e.element.classList.remove(t),e.target.classList.remove(t)}))},f}(T);$.modules=[],L.position=R;var z=m($,L);z.modules.push({initialize:function(){var e=this,t=this.options,n=t.classes,r=t.classPrefix;this.markers={},["target","element"].forEach((function(t){var i=document.createElement("div");i.className=l(t+"-marker",n,r);var o=document.createElement("div");o.className=l("marker-dot",n,r),i.appendChild(o),e[t].appendChild(i),e.markers[t]={dot:o,el:i}}))},position:function(e){var t={element:e.manualOffset,target:e.manualTargetOffset};for(var n in t){var r=t[n];for(var i in r){var s,a=r[i];(!o(a)||-1===a.indexOf("%")&&-1===a.indexOf("px"))&&(a+="px"),this.markers[n]&&(null==(s=this.markers[n].dot)?void 0:s.style[i])!==a&&(this.markers[n].dot.style[i]=a)}}return!0}}),t.default=z},924:function(e,t,n){var r,i;/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
408/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */!function(e){"use strict";if(!e.jQuery){var t=function(e,n){return new t.fn.init(e,n)};t.isWindow=function(e){return e&&e===e.window},t.type=function(e){return e?"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e:e+""},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isPlainObject=function(e){var n;if(!e||"object"!==t.type(e)||e.nodeType||t.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(n in e);return void 0===n||i.call(e,n)},t.each=function(e,t,n){var r=0,i=e.length,o=l(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(e.hasOwnProperty(r)&&!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(e[r],r,e[r]))break;return e},t.data=function(e,r,i){if(void 0===i){var o=e[t.expando],s=o&&n[o];if(void 0===r)return s;if(s&&r in s)return s[r]}else if(void 0!==r){var a=e[t.expando]||(e[t.expando]=++t.uuid);return n[a]=n[a]||{},n[a][r]=i,i}},t.removeData=function(e,r){var i=e[t.expando],o=i&&n[i];o&&(r?t.each(r,(function(e,t){delete o[t]})):delete n[i])},t.extend=function(){var e,n,r,i,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==t.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(o=arguments[l])for(i in o)o.hasOwnProperty(i)&&(e=a[i],a!==(r=o[i])&&(u&&r&&(t.isPlainObject(r)||(n=t.isArray(r)))?(n?(n=!1,s=e&&t.isArray(e)?e:[]):s=e&&t.isPlainObject(e)?e:{},a[i]=t.extend(u,s,r)):void 0!==r&&(a[i]=r)));return a},t.queue=function(e,n,r){if(e){n=(n||"fx")+"queue";var i,o,s,a=t.data(e,n);return r?(!a||t.isArray(r)?a=t.data(e,n,(s=o||[],(i=r)&&(l(Object(i))?function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];e.length=i}(s,"string"==typeof i?[i]:i):[].push.call(s,i)),s)):a.push(r),a):a||[]}},t.dequeue=function(e,n){t.each(e.nodeType?[e]:e,(function(e,r){n=n||"fx";var i=t.queue(r,n),o=i.shift();"inprogress"===o&&(o=i.shift()),o&&("fx"===n&&i.unshift("inprogress"),o.call(r,(function(){t.dequeue(r,n)})))}))},t.fn=t.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],n=function(e){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position.toLowerCase();)t=t.offsetParent;return t||document}(e),r=this.offset(),i=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:t(n).offset();return r.top-=parseFloat(e.style.marginTop)||0,r.left-=parseFloat(e.style.marginLeft)||0,n.style&&(i.top+=parseFloat(n.style.borderTopWidth)||0,i.left+=parseFloat(n.style.borderLeftWidth)||0),{top:r.top-i.top,left:r.left-i.left}}};var n={};t.expando="velocity"+(new Date).getTime(),t.uuid=0;for(var r={},i=r.hasOwnProperty,o=r.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)r["[object "+s[a]+"]"]=s[a].toLowerCase();t.fn.init.prototype=t.fn,e.Velocity={Utilities:t}}function l(e){var n=e.length,r=t.type(e);return"function"!==r&&!t.isWindow(e)&&(!(1!==e.nodeType||!n)||("array"===r||0===n||"number"==typeof n&&n>0&&n-1 in e))}}(window),function(o){"use strict";"object"==typeof e.exports?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)}((function(){"use strict";return function(e,t,n,r){var i,o=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return r}(),s=(i=0,t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(e){var t,n=(new Date).getTime();return t=Math.max(0,16-(n-i)),i=n+t,setTimeout((function(){e(n+t)}),t)}
vendor: 18,522 bytes, line 408
408),a=function(){var e=t.performance||{};if("function"!=typeof e.now){var n=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-n}}return e}();var l=function(){var e=Array.prototype.slice;try{return e.call(n.documentElement),e}catch(t){return function(t,n){var r=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof n&&(n=r),this.slice)return e.call(this,t,n);var i,o=[],s=t>=0?t:Math.max(0,r+t),a=(n<0?r+n:Math.min(n,r))-s;if(a>0)if(o=new Array(a),this.charAt)for(i=0;i<a;i++)o[i]=this.charAt(s+i);else for(i=0;i<a;i++)o[i]=this[s+i];return o}}}(),c=function(){return Array.prototype.includes?function(e,t){return e.includes(t)}:Array.prototype.indexOf?function(e,t){return e.indexOf(t)>=0}:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}};function u(e){return d.isWrapped(e)?e=l.call(e):d.isNode(e)&&(e=[e]),e}var f,d={isNumber:function(e){return"number"==typeof e},isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isWrapped:function(e){return e&&e!==t&&d.isNumber(e.length)&&!d.isString(e)&&!d.isFunction(e)&&!d.isNode(e)&&(0===e.length||d.isNode(e[0]))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},p=!1;if(e.fn&&e.fn.jquery?(f=e,p=!0):f=t.Velocity.Utilities,o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var h="swing",m={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t.navigator.userAgent),isAndroid:/Android/i.test(t.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(t.navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(t.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:400,easing:h,begin:r,complete:r,progress:r,display:r,visibility:r,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(e){f.data(e,"velocity",{isSVG:d.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(e){var t=(new Date).getTime();f.each(m.State.calls,(function(t,n){if(n){if(e!==r&&(n[2].queue!==e||!1===n[2].queue))return!0;n[5]={resume:!1}}})),f.each(m.State.delayedElements,(function(e,n){n&&S(n,t)}))},resumeAll:function(e){var t=(new Date).getTime();f.each(m.State.calls,(function(t,n){if(n){if(e!==r&&(n[2].queue!==e||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}})),f.each(m.State.delayedElements,(function(e,n){n&&_(n,t)}))}};t.pageYOffset!==r?(m.State.scrollAnchor=t,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop");var g=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},o=t(n,.5*r,i),s=t(n,.5*r,o),a=t(n,r,s),l=1/6*(i.dx+2*(o.dx+s.dx)+a.dx),c=1/6*(i.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*r,n.v=n.v+c*r,n}return function e(t,r,i){var o,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,f=1e-4;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,l.tension=t,l.friction=r,s=(o=null!==i)?(u=e(t,r))/i*.016:.016;a=n(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>f&&Math.abs(a.v)>f;);return o?function(e){return c[e*(c.length-1)|0]}:u}}();m.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(e,t){m.Easings[t[0]]=E.apply(null,t[1])}));var v=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<v.Lists.colors.length;e++){var t="color"===v.Lists.colors[e]?"0 0 0 1":"255 255 255 1";v.Hooks.templates[v.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,r,i;if(o)for(n in v.Hooks.templates)if(v.Hooks.templates.hasOwnProperty(n)){i=(r=v.Hooks.templates[n])[0].split(" ");var s=r[1].match(v.RegEx.valueSplit);"Color"===i[0]&&(i.push(i.shift()),s.push(s.shift()),v.Hooks.templates[n]=[i.join(" "),s.join(" ")])}for(n in v.Hooks.templates)if(v.Hooks.templates.hasOwnProperty(n))for(var a in i=(r=v.Hooks.templates[n])[0].split(" "))if(i.hasOwnProperty(a)){var l=n+i[a],c=a;v.Hooks.registered[l]=[n,c]}},getRoot:function(e){var t=v.Hooks.registered[e];return t?t[0]:e},getUnit:function(e,t){var n=(e.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&c(v.Lists.units)?n:""},fixColors:function(e){return e.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,(function(e,t,n){return v.Lists.colorNames.hasOwnProperty(n)?(t||"rgba(")+v.Lists.colorNames[n]+(t?"":",1)"):t+n}))},cleanRootPropertyValue:function(e,t){return v.RegEx.valueUnwrap.test(t)&&(t=t.match(v.RegEx.valueUnwrap)[1]),v.Values.isCSSNullValue(t)&&(t=v.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=v.Hooks.registered[e];if(n){var r=n[0],i=n[1];return(t=v.Hooks.cleanRootPropertyValue(r,t)).toString().match(v.RegEx.valueSplit)[i]}return t},injectValue:function(e,t,n){var r=v.Hooks.registered[e];if(r){var i,o=r[0],s=r[1];return(i=(n=v.Hooks.cleanRootPropertyValue(o,n)).toString().match(v.RegEx.valueSplit))[s]=t,i.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var r;return r=v.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(r=n.toString().match(v.RegEx.valueUnwrap))?r[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return m.State.isFirefox?"filter":"-webkit-filter";case"extract":var r=parseFloat(n);if(!r&&0!==r){var i=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);r=i?i[1]:0}return r;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(o<=8)switch(e){case"name":return"filter";case"extract":var r=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){o&&!(o>9)||m.State.isGingerbread||(v.Lists.transformsBase=v.Lists.transformsBase.concat(v.Lists.transforms3D));for(var e=0;e<v.Lists.transformsBase.length;e++)!function(){var t=v.Lists.transformsBase[e];v.Normalizations.registered[t]=function(e,n,i){switch(e){case"name":return"transform";case"extract":return x(n)===r||x(n).transformCache[t]===r?/^scale/i.test(t)?1:0:x(n).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(i);break;case"scal":case"scale":m.State.isAndroid&&x(n).transformCache[t]===r&&i<1&&(i=1),o=!/(\d)$/i.test(i);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(i)}return o||(x(n).transformCache[t]="("+i+")"),x(n).transformCache[t]}}}();for(var t=0;t<v.Lists.colors.length;t++)!function(){var e=v.Lists.colors[t];v.Normalizations.registered[e]=function(t,n,i){switch(t){case"name":return e;case"extract":var s;if(v.RegEx.wrappedValueAlreadyExtracted.test(i))s=i;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(i)?a=l[i]!==r?l[i]:l.black:v.RegEx.isHex.test(i)?a="rgb("+v.Values.hexToRgb(i).join(" ")+")":/^rgba?\(/i.test(i)||(a=l.black),s=(a||i).toString().match(v.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(i)?i:(o<=8?4===i.split(" ").length&&(i=i.split(/\s+/).slice(0,3).join(" ")):3===i.split(" ").length&&(i+=" 1"),(o<=8?"rgb":"rgba")+"("+i.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function n(e,t,n){if("border-box"===v.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(n||!1)){var r,i,o=0,s="width"===e?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(r=0;r<a.length;r++)i=parseFloat(v.getPropertyValue(t,a[r])),isNaN(i)||(o+=i);return n?-o:o}return 0}function i(e,t){return function(r,i,o){switch(r){case"name":return e;case"extract":return parseFloat(o)+n(e,i,t);case"inject":return parseFloat(o)-n(e,i,t)+"px"}}}v.Normalizations.registered.innerWidth=i("width",!0),v.Normalizations.registered.innerHeight=i("height",!0),v.Normalizations.registered.outerWidth=i("width"),v.Normalizations.registered.outerHeight=i("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||m.State.isAndroid&&!m.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(m.State.prefixMatches[e])return[m.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,r=t.length;n<r;n++){var i;if(i=0===n?e:t[n]+e.replace(/^\w/,(function(e){return e.toUpperCase()})),d.isString(m.State.prefixElement.style[i]))return m.State.prefixMatches[e]=i,[i,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t;return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return!e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){if(e)if(e.classList)e.classList.add(t);else if(d.isString(e.className))e.className+=(e.className.length?" ":"")+t;else{var n=e.getAttribute(o<=7?"className":"class")||"";e.setAttribute("class",n+(n?" ":"")+t)}},removeClass:function(e,t){if(e)if(e.classList)e.classList.remove(t);else if(d.isString(e.className))e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=e.getAttribute(o<=7?"className":"class")||"";e.setAttribute("class",n.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(e,n,i,s){function a(e,n){var i=0;if(o<=8)i=f.css(e,n);else{var l=!1;/^(width|height)$/.test(n)&&0===v.getPropertyValue(e,"display")&&(l=!0,v.setPropertyValue(e,"display",v.Values.getDisplayType(e)));var c,u=function(){l&&v.setPropertyValue(e,"display","none")};if(!s){if("height"===n&&"border-box"!==v.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetHeight-(parseFloat(v.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(v.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(v.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(v.getPropertyValue(e,"paddingBottom"))||0);return u(),d}if("width"===n&&"border-box"!==v.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var p=e.offsetWidth-(parseFloat(v.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(v.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(v.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(v.getPropertyValue(e,"paddingRight"))||0);return u(),p}}c=x(e)===r?t.getComputedStyle(e,null):x(e).computedStyle?x(e).computedStyle:x(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),""!==(i=9===o&&"filter"===n?c.getPropertyValue(n):c[n])&&null!==i||(i=e.style[n]),u()}if("auto"===i&&/^(top|right|bottom|left)$/i.test(n)){var h=a(e,"position");("fixed"===h||"absolute"===h&&/top|left/i.test(n))&&(i=f(e).position()[n]+"px")}return i}var l;if(v.Hooks.registered[n]){var c=n,u=v.Hooks.getRoot(c);i===r&&(i=v.getPropertyValue(e,v.Names.prefixCheck(u)[0])),v.Normalizations.registered[u]&&(i=v.Normalizations.registered[u]("extract",e,i)),l=v.Hooks.extractValue(c,i)}else if(v.Normalizations.registered[n]){var d,p;"transform"!==(d=v.Normalizations.registered[n]("name",e))&&(p=a(e,v.Names.prefixCheck(d)[0]),v.Values.isCSSNullValue(p)&&v.Hooks.templates[n]&&(p=v.Hooks.templates[n][1])),l=v.Normalizations.registered[n]("extract",e,p)}if(!/^[\d-]/.test(l)){var h=x(e);if(h&&h.isSVG&&v.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=e.getBBox()[n]}catch(e){l=0}else l=e.getAttribute(n);else l=a(e,v.Names.prefixCheck(n)[0])}return v.Values.isCSSNullValue(l)&&(l=0),m.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(e,n,r,i,s){var a=n;
408if("scroll"===n)s.container?s.container["scroll"+s.direction]=r:"Left"===s.direction?t.scrollTo(r,s.alternateValue):t.scrollTo(s.alternateValue,r);else if(v.Normalizations.registered[n]&&"transform"===v.Normalizations.registered[n]("name",e))v.Normalizations.registered[n]("inject",e,r),a="transform",r=x(e).transformCache[n];else{if(v.Hooks.registered[n]){var l=n,c=v.Hooks.getRoot(n);i=i||v.getPropertyValue(e,c),r=v.Hooks.injectValue(l,r,i),n=c}if(v.Normalizations.registered[n]&&(r=v.Normalizations.registered[n]("inject",e,r),n=v.Normalizations.registered[n]("name",e)),a=v.Names.prefixCheck(n)[0],o<=8)try{e.style[a]=r}catch(e){m.debug&&console.log("Browser does not support ["+r+"] for ["+a+"]")}else{var u=x(e);u&&u.isSVG&&v.Names.SVGAttribute(n)?e.setAttribute(n,r):e.style[a]=r}m.debug>=2&&console.log("Set "+n+" ("+a+"): "+r)}return[a,r]},flushTransformCache:function(e){var t="",n=x(e);if((o||m.State.isAndroid&&!m.State.isChrome)&&n&&n.isSVG){var r=function(t){return parseFloat(v.getPropertyValue(e,t))},i={translate:[r("translateX"),r("translateY")],skewX:[r("skewX")],skewY:[r("skewY")],scale:1!==r("scale")?[r("scale"),r("scale")]:[r("scaleX"),r("scaleY")],rotate:[r("rotateZ"),0,0]};f.each(x(e).transformCache,(function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(t+=e+"("+i[e].join(" ")+") ",delete i[e])}))}else{var s,a;f.each(x(e).transformCache,(function(n){if(s=x(e).transformCache[n],"transformPerspective"===n)return a=s,!0;9===o&&"rotateZ"===n&&(n="rotate"),t+=n+s+" "})),a&&(t="perspective"+a+" "+t)}v.setPropertyValue(e,"transform",t)}};v.Hooks.register(),v.Normalizations.register(),m.hook=function(e,t,n){var i;return e=u(e),f.each(e,(function(e,o){if(x(o)===r&&m.init(o),n===r)i===r&&(i=v.getPropertyValue(o,t));else{var s=v.setPropertyValue(o,t,n);"transform"===s[0]&&m.CSS.flushTransformCache(o),i=s}})),i};var y=function(){var e;function i(){return o?b.promise||null:s}var o,s,a,l,p,h,g=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(o=!1,a=0,l=this,s=this):(o=!0,a=1,l=g?arguments[0].elements||arguments[0].e:arguments[0]);var b={promise:null,resolver:null,rejecter:null};if(o&&m.Promise&&(b.promise=new m.Promise((function(e,t){b.resolver=e,b.rejecter=t}))),g?(p=arguments[0].properties||arguments[0].p,h=arguments[0].options||arguments[0].o):(p=arguments[a],h=arguments[a+1]),l=u(l)){var w,C=l.length,E=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!f.isPlainObject(h)){h={};for(var O=a+1;O<arguments.length;O++)d.isArray(arguments[O])||!/^(fast|normal|slow)$/i.test(arguments[O])&&!/^\d/.test(arguments[O])?d.isString(arguments[O])||d.isArray(arguments[O])?h.easing=arguments[O]:d.isFunction(arguments[O])&&(h.complete=arguments[O]):h.duration=arguments[O]}switch(p){case"scroll":w="scroll";break;case"reverse":w="reverse";break;case"pause":var I=(new Date).getTime();return f.each(l,(function(e,t){S(t,I)})),f.each(m.State.calls,(function(e,t){var n=!1;t&&f.each(t[1],(function(e,i){var o=h===r?"":h;return!0!==o&&t[2].queue!==o&&(h!==r||!1!==t[2].queue)||(f.each(l,(function(e,r){if(r===i)return t[5]={resume:!1},n=!0,!1})),!n&&void 0)}))})),i();case"resume":return f.each(l,(function(e,t){_(t)})),f.each(m.State.calls,(function(e,t){var n=!1;t&&f.each(t[1],(function(e,i){var o=h===r?"":h;return!0!==o&&t[2].queue!==o&&(h!==r||!1!==t[2].queue)||(!t[5]||(f.each(l,(function(e,r){if(r===i)return t[5].resume=!0,n=!0,!1})),!n&&void 0))}))})),i();case"finish":case"finishAll":case"stop":f.each(l,(function(e,t){x(t)&&x(t).delayTimer&&(clearTimeout(x(t).delayTimer.setTimeout),x(t).delayTimer.next&&x(t).delayTimer.next(),delete x(t).delayTimer),"finishAll"!==p||!0!==h&&!d.isString(h)||(f.each(f.queue(t,d.isString(h)?h:""),(function(e,t){d.isFunction(t)&&t()})),f.queue(t,d.isString(h)?h:"",[]))}));var P=[];return f.each(m.State.calls,(function(e,t){t&&f.each(t[1],(function(n,i){var o=h===r?"":h;if(!0!==o&&t[2].queue!==o&&(h!==r||!1!==t[2].queue))return!0;f.each(l,(function(n,r){if(r===i)if((!0===h||d.isString(h))&&(f.each(f.queue(r,d.isString(h)?h:""),
vendor: 4,931 bytes, line 408
408(function(e,t){d.isFunction(t)&&t(null,!0)})),f.queue(r,d.isString(h)?h:"",[])),"stop"===p){var s=x(r);s&&s.tweensContainer&&(!0===o||""===o)&&f.each(s.tweensContainer,(function(e,t){t.endValue=t.currentValue})),P.push(e)}else"finish"!==p&&"finishAll"!==p||(t[2].duration=1)}))}))})),"stop"===p&&(f.each(P,(function(e,t){A(t,!0)})),b.promise&&b.resolver(l)),i();default:if(!f.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&m.Redirects[p]){var N=(e=f.extend({},h)).duration,j=e.delay||0;return!0===e.backwards&&(l=f.extend(!0,[],l).reverse()),f.each(l,(function(t,n){parseFloat(e.stagger)?e.delay=j+parseFloat(e.stagger)*t:d.isFunction(e.stagger)&&(e.delay=j+e.stagger.call(n,t,C)),e.drag&&(e.duration=parseFloat(N)||(/^(callout|transition)/.test(p)?1e3:400),e.duration=Math.max(e.duration*(e.backwards?1-t/C:(t+1)/C),.75*e.duration,200)),m.Redirects[p].call(n,n,e||{},t,C,l,b.promise?b:r)})),i()}var D="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return b.promise?b.rejecter(new Error(D)):t.console&&console.log(D),i()}w="start"}var L={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},F=[];f.each(l,(function(e,i){d.isNode(i)&&function(e,i){var o,s=f.extend({},m.defaults,h),a={};switch(x(e)===r&&m.init(e),parseFloat(s.delay)&&!1!==s.queue&&f.queue(e,s.queue,(function(t,n){if(!0===n)return!0;m.velocityQueueEntryFlag=!0;var r=m.State.delayedElements.count++;m.State.delayedElements[r]=e;var i=function(e){return function(){m.State.delayedElements[e]=!1,t()}}(r);x(e).delayBegin=(new Date).getTime(),x(e).delay=parseFloat(s.delay),x(e).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:i}})),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=400;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}function u(u){var g,y,S,_,A,O,I;if(s.begin&&0===E)try{s.begin.call(l,l)}catch(e){setTimeout((function(){throw e}),1)}if("scroll"===w){var P,N,j,D=/^x$/i.test(s.axis)?"Left":"Top",B=parseFloat(s.offset)||0;s.container?d.isWrapped(s.container)||d.isNode(s.container)?(s.container=s.container[0]||s.container,j=(P=s.container["scroll"+D])+f(e).position()[D.toLowerCase()]+B):s.container=null:(P=m.State.scrollAnchor[m.State["scrollProperty"+D]],N=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===D?"Top":"Left")]],j=f(e).offset()[D.toLowerCase()]+B),a={scroll:{rootPropertyValue:!1,startValue:P,currentValue:P,endValue:j,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:D,alternateValue:N}},element:e},m.debug&&console.log("tweensContainer (scroll): ",a.scroll,e)}else if("reverse"===w){if(!(g=x(e)))return;if(!g.tweensContainer)return void f.dequeue(e,s.queue);for(var M in"none"===g.opts.display&&(g.opts.display="auto"),"hidden"===g.opts.visibility&&(g.opts.visibility="visible"),g.opts.loop=!1,g.opts.begin=null,g.opts.complete=null,h.easing||delete s.easing,h.duration||delete s.duration,s=f.extend({},g.opts,s),y=f.extend(!0,{},g?g.tweensContainer:null))if(y.hasOwnProperty(M)&&"element"!==M){var V=y[M].startValue;y[M].startValue=y[M].currentValue=y[M].endValue,y[M].endValue=V,d.isEmptyObject(h)||(y[M].easing=s.easing),m.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(y[M]),e)}a=y}else if("start"===w){(g=x(e))&&g.tweensContainer&&!0===g.isAnimating&&(y=g.tweensContainer);var H=function(i,l){var c,u=v.Hooks.getRoot(i),p=!1,h=l[0],b=l[1],w=l[2];if(g&&g.isSVG||"tween"===u||!1!==v.Names.prefixCheck(u)[1]||v.Normalizations.registered[u]!==r){(s.display!==r&&null!==s.display&&"none"!==s.display||s.visibility!==r&&"hidden"!==s.visibility)&&/opacity|filter/.test(i)&&!w&&0!==h&&(w=0),s._cacheValues&&y&&y[i]?(w===r&&(w=y[i].endValue+y[i].unitType),p=g.rootPropertyValueCache[u]):v.Hooks.registered[i]?w===r?(p=v.getPropertyValue(e,u),w=v.getPropertyValue(e,i,p)):p=v.Hooks.templates[u][1]:w===r&&(w=v.getPropertyValue(e,i));var x,S,_,C=!1,E=function(e,t){var n,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(e){return n=e,""})),n||(n=v.Values.getUnitType(e)),[r,n]};if(w!==h&&d.isString(w)&&d.isString(h)){c="";var T=0,k=0,A=[],O=[],I=0,P=0,N=0;for(w=v.Hooks.fixColors(w),h=v.Hooks.fixColors(h);T<w.length&&k<h.length;){var j=w[T],D=h[k];if(/[\d\.-]/.test(j)&&/[\d\.-]/.test(D)){for(var F=j,B=D,M=".",V=".";++T<w.length;){if((j=w[T])===M)M="..";else if(!/\d/.test(j))break;F+=j}for(;++k<h.length;){if((D=h[k])===V)V="..";else if(!/\d/.test(D))break;B+=D}var H=v.Hooks.getUnit(w,T),W=v.Hooks.getUnit(h,k);if(T+=H.length,k+=W.length,H===W)F===B?c+=F+H:(c+="{"+A.length+(P?"!":"")+"}"+H,A.push(parseFloat(F)),O.push(parseFloat(B)));else{var R=parseFloat(F),q=parseFloat(B);c+=(I<5?"calc":"")+"("+(R?"{"+A.length+(P?"!":"")+"}":"0")+H+" + "+(q?"{"+(A.length+(R?1:0))+(P?"!":"")+"}
408":"0")+W+")",R&&(A.push(R),O.push(0)),q&&(A.push(0),O.push(q))}}else{if(j!==D){I=0;break}c+=j,T++,k++,0===I&&"c"===j||1===I&&"a"===j||2===I&&"l"===j||3===I&&"c"===j||I>=4&&"("===j?I++:(I&&I<5||I>=4&&")"===j&&--I<5)&&(I=0),0===P&&"r"===j||1===P&&"g"===j||2===P&&"b"===j||3===P&&"a"===j||P>=3&&"("===j?(3===P&&"a"===j&&(N=1),P++):N&&","===j?++N>3&&(P=N=0):(N&&P<(N?5:4)||P>=(N?4:3)&&")"===j&&--P<(N?5:4))&&(P=N=0)}}T===w.length&&k===h.length||(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+h+'", "'+w+'"]'),c=r),c&&(A.length?(m.debug&&console.log('Pattern found "'+c+'" -> ',A,O,"["+w+","+h+"]"),w=A,h=O,S=_=""):c=r)}if(c||(w=(x=E(i,w))[0],_=x[1],h=(x=E(i,h))[0].replace(/^([+-\/*])=/,(function(e,t){return C=t,""})),S=x[1],w=parseFloat(w)||0,h=parseFloat(h)||0,"%"===S&&(/^(fontSize|lineHeight)$/.test(i)?(h/=100,S="em"):/^scale/.test(i)?(h/=100,S=""):/(Red|Green|Blue)$/i.test(i)&&(h=h/100*255,S=""))),/[\/*]/.test(C))S=_;else if(_!==S&&0!==w)if(0===h)S=_;else{o=o||function(){var r={myParent:e.parentNode||n.body,position:v.getPropertyValue(e,"position"),fontSize:v.getPropertyValue(e,"fontSize")},i=r.position===L.lastPosition&&r.myParent===L.lastParent,o=r.fontSize===L.lastFontSize;L.lastParent=r.myParent,L.lastPosition=r.position,L.lastFontSize=r.fontSize;var s=100,a={};if(o&&i)a.emToPx=L.lastEmToPx,a.percentToPxWidth=L.lastPercentToPxWidth,a.percentToPxHeight=L.lastPercentToPxHeight;else{var l=g&&g.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");m.init(l),r.myParent.appendChild(l),f.each(["overflow","overflowX","overflowY"],(function(e,t){m.CSS.setPropertyValue(l,t,"hidden")})),m.CSS.setPropertyValue(l,"position",r.position),m.CSS.setPropertyValue(l,"fontSize",r.fontSize),m.CSS.setPropertyValue(l,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(e,t){m.CSS.setPropertyValue(l,t,s+"%")})),m.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=L.lastPercentToPxWidth=(parseFloat(v.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=L.lastPercentToPxHeight=(parseFloat(v.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=L.lastEmToPx=(parseFloat(v.getPropertyValue(l,"paddingLeft"))||1)/s,r.myParent.removeChild(l)}return null===L.remToPx&&(L.remToPx=parseFloat(v.getPropertyValue(n.body,"fontSize"))||16),null===L.vwToPx&&(L.vwToPx=parseFloat(t.innerWidth)/100,L.vhToPx=parseFloat(t.innerHeight)/100),a.remToPx=L.remToPx,a.vwToPx=L.vwToPx,a.vhToPx=L.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),e),a}();var $=/margin|padding|left|right|width|text|word|letter/i.test(i)||/X$/.test(i)||"x"===i?"x":"y";switch(_){case"%":w*="x"===$?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:w*=o[_+"ToPx"]}switch(S){case"%":w*=1/("x"===$?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:w*=1/o[S+"ToPx"]}}switch(C){case"+":h=w+h;break;case"-":h=w-h;break;case"*":h*=w;break;case"/":h=w/h}a[i]={rootPropertyValue:p,startValue:w,currentValue:w,endValue:h,unitType:S,easing:b},c&&(a[i].pattern=c),m.debug&&console.log("tweensContainer ("+i+"): "+JSON.stringify(a[i]),e)}else m.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var W in p)if(p.hasOwnProperty(W)){var R=v.Names.camelCase(W),q=(S=p[W],_=void 0,A=void 0,O=void 0,I=void 0,d.isFunction(S)&&(S=S.call(e,i,C)),d.isArray(S)?(A=S[0],!d.isArray(S[1])&&/^[\d-]/.test(S[1])||d.isFunction(S[1])||v.RegEx.isHex.test(S[1])?I=S[1]:d.isString(S[1])&&!v.RegEx.isHex.test(S[1])&&m.Easings[S[1]]||d.isArray(S[1])?(O=_?S[1]:T(S[1],s.duration),I=S[2]):I=S[1]||S[2]):A=S,_||(O=O||s.easing),d.isFunction(A)&&(A=A.call(e,i,C)),d.isFunction(I)&&(I=I.call(e,i,C)),[A||0,O,I]);if(c(v.Lists.colors)){var $=q[0],z=q[1],U=q[2];if(v.RegEx.isHex.test($)){for(var Q=["Red","Green","Blue"],Y=v.Values.hexToRgb($),K=U?v.Values.hexToRgb(U):r,X=0;X<Q.length;X++){var G=[Y[X]];z&&G.push(z),K!==r&&G.push(K[X]),H(R+Q[X],G)}continue}}H(R,q)}a.element=e}a.element&&(v.Values.addClass(e,"velocity-animating"),F.push(a),(g=x(e))&&(""===s.queue&&(g.tweensContainer=a,g.opts=s),g.isAnimating=!0),E===C-1?(m.State.calls.push([F,l,s,null,b.resolver,null,0]),!1===m.State.isTicking&&(m.State.isTicking=!0,k())):E++)}if(!1!==m.mock&&(!0===m.mock?s.duration=s.delay=1:(s.duration*=parseFloat(m.mock)||1,s.delay*=parseFloat(m.mock)||1)),s.easing=T(s.easing,s.duration),s.begin&&!d.isFunction(s.begin)&&(s.begin=null),s.progress&&!d.isFunction(s.progress)&&(s.progress=null),s.c
408omplete&&!d.isFunction(s.complete)&&(s.complete=null),s.display!==r&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=m.CSS.Values.getDisplayType(e))),s.visibility!==r&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&m.State.isMobile&&!m.State.isGingerbread,!1===s.queue)if(s.delay){var g=m.State.delayedElements.count++;m.State.delayedElements[g]=e;var y=function(e){return function(){m.State.delayedElements[e]=!1,u()}}(g);x(e).delayBegin=(new Date).getTime(),x(e).delay=parseFloat(s.delay),x(e).delayTimer={setTimeout:setTimeout(u,parseFloat(s.delay)),next:y}}else u();else f.queue(e,s.queue,(function(e,t){if(!0===t)return b.promise&&b.resolver(l),!0;m.velocityQueueEntryFlag=!0,u()}));""!==s.queue&&"fx"!==s.queue||"inprogress"===f.queue(e)[0]||f.dequeue(e)}(i,e)})),(e=f.extend({},m.defaults,h)).loop=parseInt(e.loop,10);var B=2*e.loop-1;if(e.loop)for(var M=0;M<B;M++){var V={delay:e.delay,progress:e.progress};M===B-1&&(V.display=e.display,V.visibility=e.visibility,V.complete=e.complete),y(l,"reverse",V)}return i()}b.promise&&(p&&h&&!1===h.promiseRejectEmpty?b.resolver():b.rejecter())};(m=f.extend(y,m)).animate=y;var b=t.requestAnimationFrame||s;if(!m.State.isMobile&&n.hidden!==r){var w=function(){n.hidden?(b=function(e){return setTimeout((function(){e(!0)}),16)},k()):b=t.requestAnimationFrame||s};w(),n.addEventListener("visibilitychange",w)}return e.Velocity=m,e!==t&&(e.fn.velocity=y,e.fn.velocity.defaults=m.defaults),f.each(["Down","Up"],(function(e,t){m.Redirects["slide"+t]=function(e,n,i,o,s,a){var l=f.extend({},n),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===r&&(l.display="Down"===t?"inline"===m.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){for(var n in 0===i&&c&&c.call(s,s),p)if(p.hasOwnProperty(n)){d[n]=e.style[n];var r=v.getPropertyValue(e,n);p[n]="Down"===t?[r,0]:[0,r]}d.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in d)d.hasOwnProperty(t)&&(e.style[t]=d[t]);i===o-1&&(u&&u.call(s,s),a&&a.resolver(s))},m(e,p,l)}})),f.each(["In","Out"],(function(e,t){m.Redirects["fade"+t]=function(e,n,i,o,s,a){var l=f.extend({},n),c=l.complete,u={opacity:"In"===t?1:0};0!==i&&(l.begin=null),l.complete=i!==o-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===r&&(l.display="In"===t?"auto":"none"),m(this,u,l)}})),m}function x(e){var t=f.data(e,"velocity");return null===t?r:t}function S(e,t){var n=x(e);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-t+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function _(e,t){var n=x(e);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function C(e){return function(t){return Math.round(t*e)*(1/e)}}function E(e,n,r,i){var o=.1,s="Float32Array"in t;if(4!==arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;e=Math.min(e,1),r=Math.min(r,1),e=Math.max(e,0),r=Math.max(r,0);var l=s?new Float32Array(11):new Array(11);function c(e,t){return 1-3*t+3*e}function u(e,t){return 3*t-6*e}function f(e){return 3*e}function d(e,t,n){return((c(t,n)*e+u(t,n))*e+f(t))*e}function p(e,t,n){return 3*c(t,n)*e*e+2*u(t,n)*e+f(t)}function h(t){for(var n=0,i=1;10!==i&&l[i]<=t;++i)n+=o;--i;var s=n+(t-l[i])/(l[i+1]-l[i])*o,a=p(s,e,r);return a>=.001?function(t,n){for(var i=0;i<4;++i){var o=p(n,e,r);if(0===o)return n;n-=(d(n,e,r)-t)/o}return n}(t,s):0===a?s:function(t,n,i){var o,s,a=0;do{(o=d(s=n+(i-n)/2,e,r)-t)>0?i=s:n=s}while(Math.abs(o)>1e-7&&++a<10);return s}(t,n,n+o)}var m=!1;function g(){m=!0,e===n&&r===i||function(){for(var t=0;t<11;++t)l[t]=d(t*o,e,r)}()}var v=function(t){return m||g(),e===n&&r===i?t:0===t?0:1===t?1:d(h(t),n,i)};v.getControlPoints=function(){return[{x:e,y:n},{x:r,y:i}]};var y="generateBezier("+[e,n,r,i]+")";return v.toString=function(){return y},v}function T(e,t){var n=e;return d.isString(e)?m.Easings[e]||(n=!1):n=d.isArray(e)&&1===e.length?C.apply(null,e):d.isArray(e)&&2===e.length?g.apply(null,e.concat([t])):!(!d.isArray(e)||4!==e.length)&&E.apply(null,e),!1===n&&(n=m.Easings[m.defaults.easing]?m.defaults.easing:h),n}function k(e){if(e){var t=m.timestamp&&!0!==e?e:a.now(),n=m.State.calls.length;n>1e4&&(m.State.calls=function(e){for(var t=-1,n=e?e.length:0,r=[];++t<n;){var i=e[t];i&&r.push(i)}return r}(m.State.calls),n=m.State.calls.length);for(var i=0;i<n;i++)if(m.State.calls[i]){var s=m.State.calls[i],l=s[0],c=s[2],u=s[3],p=!u,h=null,g=s[5],y=s[6];if(u||(u=m.State.calls[i][3]=t-16),g){if(!0!==g.resume)continue;u=s[3]=Math.round(t-y-16),s[5]=null}y=s[6]=t-u;for(var w=Math.min(y/c.duration,1),S=0,_=l.length;S<_;S++){var C=l[S],E=C.element;if(x(E)){var T=!1;if(c.display!==r&&null!==c.display&&"none"!==c.display){if("flex"===c.display){f.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(e,t){v.setPropertyValue(E,"display",t)}))}v.setPropertyValue(E,"display",c.display)}
408for(var O in c.visibility!==r&&"hidden"!==c.visibility&&v.setPropertyValue(E,"visibility",c.visibility),C)if(C.hasOwnProperty(O)&&"element"!==O){var I,P=C[O],N=d.isString(P.easing)?m.Easings[P.easing]:P.easing;if(d.isString(P.pattern)){var j=1===w?function(e,t,n){var r=P.endValue[t];return n?Math.round(r):r}:function(e,t,n){var r=P.startValue[t],i=P.endValue[t]-r,o=r+i*N(w,c,i);return n?Math.round(o):o};I=P.pattern.replace(/{(\d+)(!)?}/g,j)}else if(1===w)I=P.endValue;else{var D=P.endValue-P.startValue;I=P.startValue+D*N(w,c,D)}if(!p&&I===P.currentValue)continue;if(P.currentValue=I,"tween"===O)h=I;else{var L;if(v.Hooks.registered[O]){L=v.Hooks.getRoot(O);var F=x(E).rootPropertyValueCache[L];F&&(P.rootPropertyValue=F)}var B=v.setPropertyValue(E,O,P.currentValue+(o<9&&0===parseFloat(I)?"":P.unitType),P.rootPropertyValue,P.scrollData);v.Hooks.registered[O]&&(v.Normalizations.registered[L]?x(E).rootPropertyValueCache[L]=v.Normalizations.registered[L]("extract",null,B[1]):x(E).rootPropertyValueCache[L]=B[1]),"transform"===B[0]&&(T=!0)}}c.mobileHA&&x(E).transformCache.translate3d===r&&(x(E).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&v.flushTransformCache(E)}}c.display!==r&&"none"!==c.display&&(m.State.calls[i][2].display=!1),c.visibility!==r&&"hidden"!==c.visibility&&(m.State.calls[i][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],w,Math.max(0,u+c.duration-t),u,h),1===w&&A(i)}}m.State.isTicking&&b(k)}function A(e,t){if(!m.State.calls[e])return!1;for(var n=m.State.calls[e][0],i=m.State.calls[e][1],o=m.State.calls[e][2],s=m.State.calls[e][4],a=!1,l=0,c=n.length;l<c;l++){var u=n[l].element;t||o.loop||("none"===o.display&&v.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&v.setPropertyValue(u,"visibility",o.visibility));var d=x(u);if(!0!==o.loop&&(f.queue(u)[1]===r||!/\.velocityQueueEntryFlag/i.test(f.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;f.each(v.Lists.transforms3D,(function(e,t){var n=/^scale/.test(t)?1:0,i=d.transformCache[t];d.transformCache[t]!==r&&new RegExp("^\\("+n+"[^.]").test(i)&&(p=!0,delete d.transformCache[t])})),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&v.flushTransformCache(u),v.Values.removeClass(u,"velocity-animating")}if(!t&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(i,i)}catch(e){setTimeout((function(){throw e}),1)}s&&!0!==o.loop&&s(i),d&&!0===o.loop&&!t&&(f.each(d.tweensContainer,(function(e,t){if(/^rotate/.test(e)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0){var n=t.startValue;t.startValue=t.endValue,t.endValue=n}/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)})),m(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&f.dequeue(u,o.queue)}m.State.calls[e]=!1;for(var h=0,g=m.State.calls.length;h<g;h++)if(!1!==m.State.calls[h]){a=!0;break}!1===a&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}))},263:function(e,t,n){var r=n(682),i=n(799);void 0===i.Tether&&(i.Tether=r),e.exports=r},669:function(e){"use strict";e.exports=jQuery}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";n(263),n(65),n(90),n(355),n(277);var e=prestashop,t=n.n(e),r=n(669),i=n.n(r);function o(e,t){const n=t.children().detach();t.empty().append(e.children().detach()),e.append(n)}function s(){t().responsive.mobile?i()("*[id^='_desktop_']").each(((e,t)=>{const n=i()(`#${t.id.replace("_desktop_","_mobile_")}`);n.length&&o(i()(t),n)})):i()("*[id^='_mobile_']").each(((e,t)=>{const n=i()(`#${t.id.replace("_mobile_","_desktop_")}`);n.length&&o(i()(t),n)})),t().emit("responsive update",{mobile:t().responsive.mobile})}t().themeSelectors={product:{tabs:".tabs .nav-link",activeNavClass:"js-product-nav-active",activeTabClass:"js-product-tab-active",activeTabs:".tabs .nav-link.active, .js-product-nav-active",imagesModal:".js-product-images-modal",thumb:".js-thumb",thumbContainer:".thumb-container, .js-thumb-container",arrows:".js-arrows",selected:".selected, .js-thumb-selected",modalProductCover:".
408js-modal-product-cover",cover:".js-qv-product-cover",customizationModal:".js-customization-modal"},listing:{searchFilterToggler:"#search_filter_toggler, .js-search-toggler",searchFiltersWrapper:"#search_filters_wrapper",searchFilterControls:"#search_filter_controls",searchFilters:"#search_filters",activeSearchFilters:"#js-active-search-filters",listTop:"#js-product-list-top",product:".js-product",list:"#js-product-list",listBottom:"#js-product-list-bottom",listHeader:"#js-product-list-header",searchFiltersClearAll:".js-search-filters-clear-all",searchLink:".js-search-link"},order:{returnForm:"#order-return-form, .js-order-return-form"},arrowDown:".arrow-down, .js-arrow-down",arrowUp:".arrow-up, .js-arrow-up",clear:".clear",fileInput:".js-file-input",contentWrapper:"#content-wrapper, .js-content-wrapper",footer:"#footer, .js-footer",modalContent:".js-modal-content",modal:"#modal, .js-checkout-modal",touchspin:".js-touchspin",checkout:{termsLink:".js-terms a",giftCheckbox:".js-gift-checkbox",imagesLink:".card-block .cart-summary-products p a, .js-show-details",carrierExtraContent:".carrier-extra-content, .js-carrier-extra-content",btn:".checkout a"},cart:{productLineQty:".js-cart-line-product-quantity",quickview:".quickview",touchspin:".bootstrap-touchspin",promoCode:"#promo-code",displayPromo:".display-promo",promoCodeButton:".promo-code-button",discountCode:".js-discount .code",discountName:"[name=discount_name]",actions:'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]'},notifications:{dangerAlert:"#notifications article.alert-danger",container:"#notifications .notifications-container"},passwordPolicy:{template:"#password-feedback",hint:".js-hint-password",container:".password-strength-feedback",strengthText:".password-strength-text",requirementScore:".password-requirements-score",requirementLength:".password-requirements-length",requirementScoreIcon:".password-requirements-score i",requirementLengthIcon:".password-requirements-length i",progressBar:".progress-bar",inputColumn:".js-input-column"}},i()(document).ready((()=>{t().emit("themeSelectorsInit")})),
409/**
410 * Copyright since 2007 PrestaShop SA and Contributors
411 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
412 *
413 * NOTICE OF LICENSE
414 *
415 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
416 * that is bundled with this package in the file LICENSE.md.
417 * It is also available through the world-wide-web at this URL:
418 * https://opensource.org/licenses/AFL-3.0
419 * If you did not receive a copy of the license and are unable to
420 * obtain it through the world-wide-web, please send an email
421 * to [email protected] so we can send you a copy immediately.
422 *
423 * DISCLAIMER
424 *
425 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
426 * versions in the future. If you wish to customize PrestaShop for your
427 * needs please refer to https://devdocs.prestashop.com/ for more information.
428 *
429 * @author    PrestaShop SA and Contributors <[email protected]>
430 * @copyright Since 2007 PrestaShop SA and Contributors
431 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
432 */
433t().responsive=t().responsive||{},t().responsive.current_width=window.innerWidth,t().responsive.min_width=768,t().responsive.mobile=t().responsive.current_width<t().responsive.min_width,i()(window).on("resize",(()=>{const e=t().responsive.current_width,n=t().responsive.min_width,r=window.innerWidth,i=e>=n&&r<n||e<n&&r>=n;t().responsive.current_width=r,t().responsive.mobile=t().responsive.current_width<t().responsive.min_width,i&&s()})),i()(document).ready((()=>{t().responsive.mobile&&s()})),i()(document).ready((()=>{1===i()("body#checkout").length&&(i()(t().themeSelectors.checkout.termsLink).on("click",(e=>{e.preventDefault();let n=i()(e.target).attr("href");n&&(n+="?content_only=1",i().get(n,(e=>{i()(t().themeSelectors.modal).find(t().themeSelectors.modalContent).html(i()(e).find(".page-cms").contents())})).fail((e=>{t().emit("handleError",{eventType:"clickTerms",resp:e})}))),i()(t().themeSelectors.modal).modal("show")})),i()(t().themeSelectors.checkout.giftCheckbox).on("click",(()=>{i()("#gift").slideToggle()})),i()(t().themeSelectors.checkout.imagesLink).on("click",(function(){const e=i()(this).find("i.material-icons");
433"expand_more"===e.text()?e.text("expand_less"):e.text("expand_more")}))),t().on("updatedDeliveryForm",(e=>{void 0!==e.deliveryOption&&0!==e.deliveryOption.length&&(i()(t().themeSelectors.checkout.carrierExtraContent).hide(),e.deliveryOption.next(t().themeSelectors.checkout.carrierExtraContent).slideDown())}))})),i()(document).ready((function(){i()("body#order-detail")&&i()(`${t().themeSelectors.order.returnForm} table thead input[type=checkbox]`).on("click",(function(){const e=i()(this).prop("checked");i()(`${t().themeSelectors.order.returnForm} table tbody input[type=checkbox]`).each(((t,n)=>{i()(n).prop("checked",e)}))}))}));n(924);
434/**
435 * Copyright since 2007 PrestaShop SA and Contributors
436 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
437 *
438 * NOTICE OF LICENSE
439 *
440 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
441 * that is bundled with this package in the file LICENSE.md.
442 * It is also available through the world-wide-web at this URL:
443 * https://opensource.org/licenses/AFL-3.0
444 * If you did not receive a copy of the license and are unable to
445 * obtain it through the world-wide-web, please send an email
446 * to [email protected] so we can send you a copy immediately.
447 *
448 * DISCLAIMER
449 *
450 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
451 * versions in the future. If you wish to customize PrestaShop for your
452 * needs please refer to https://devdocs.prestashop.com/ for more information.
453 *
454 * @author    PrestaShop SA and Contributors <[email protected]>
455 * @copyright Since 2007 PrestaShop SA and Contributors
456 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
457 */
458function a(e,t){if(void 0===t)return;const n=i()(e).siblings('source[type="image/webp"]'),r=i()(e).siblings('source[type="image/avif"]');void 0!==t.webp&&n.length&&n.attr("srcset",t.webp),void 0!==t.avif&&r.length&&r.attr("srcset",t.avif)}
459/**
460 * Copyright since 2007 PrestaShop SA and Contributors
461 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
462 *
463 * NOTICE OF LICENSE
464 *
465 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
466 * that is bundled with this package in the file LICENSE.md.
467 * It is also available through the world-wide-web at this URL:
468 * https://opensource.org/licenses/AFL-3.0
469 * If you did not receive a copy of the license and are unable to
470 * obtain it through the world-wide-web, please send an email
471 * to [email protected] so we can send you a copy immediately.
472 *
473 * DISCLAIMER
474 *
475 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
476 * versions in the future. If you wish to customize PrestaShop for your
477 * needs please refer to https://devdocs.prestashop.com/ for more information.
478 *
479 * @author    PrestaShop SA and Contributors <[email protected]>
480 * @copyright Since 2007 PrestaShop SA and Contributors
481 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
482 */
483class l{init(){i()(".js-product-miniature").each(((e,t)=>{if(i()(t).find(".color").length>5){let e=0;i()(t).find(".color").each(((t,n)=>{t>4&&(i()(n).hide(),e+=1)})),i()(t).find(".js-count").append(`+${e}`)}}))}}
484/**
485 * Copyright since 2007 PrestaShop SA and Contributors
486 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
487 *
488 * NOTICE OF LICENSE
489 *
490 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
491 * that is bundled with this package in the file LICENSE.md.
492 * It is also available through the world-wide-web at this URL:
493 * https://opensource.org/licenses/AFL-3.0
494 * If you did not receive a copy of the license and are unable to
495 * obtain it through the world-wide-web, please send an email
496 * to [email protected] so we can send you a copy immediately.
497 *
498 * DISCLAIMER
499 *
500 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
501 * versions in the future. If you wish to customize PrestaShop for your
502 * needs please refer to https://devdocs.prestashop.com/ for more information.
503 *
504 * @author    PrestaShop SA and Contributors <[email protected]>
505 * @copyright Since 2007 PrestaShop SA and Contributors
506 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
507 */
508i()(document).ready((()=>{const e=e=>{const t=i()(".js-qv-product-images"),n=i()(".js-qv-product-images li img").height()+20,r=t.position().top;t.velocity({translateY:"up"===e?r+n:r-n},(()=>{t.position().top>=0?i()(".arrow-up").css("opacity",".2"):t.position().top+t.height()<=i()(".js-qv-mask").height()&&i()(".arrow-down").css("opacity",".2")}))};t().on("clickQuickView",(n=>{const r={action:"quickview",id_product:n.dataset.idProduct,id_product_attribute:n.dataset.idProductAttribute};i().post(t().urls.pages.product,r,null,"json").then((n=>{i()("body").append(n.quickview_html);const r=i()(`#quickview-modal-${n.product.id}-${n.product.id_product_attribute}`);r.modal("show"),(n=>{const r=i()(t().themeSelectors.product.arrows),o=n.find(".js-qv-product-images");i()(t().themeSelectors.product.thumb).on("click",(e=>{i()(t().themeSelectors.product.thumb).hasClass("selected")&&i()(t().themeSelectors.product.thumb).removeClass("selected"),i()(e.currentTarget).addClass("selected"),i()(t().themeSelectors.product.cover).attr("src",i()(e.target).data("image-large-src")),i()(t().themeSelectors.product.cover).attr("alt",i()(e.target).attr("alt")),i()(t().themeSelectors.product.cover).attr("title",i()(e.target).attr("title")),a(i()(t().themeSelectors.product.cover),i()(e.target).data("image-large-sources"))})),o.find("li").length<=4?r.hide():r.on("click",(n=>{i()(n.target).hasClass("arrow-up")&&i()(".js-qv-product-images").position().top<0?(e("up"),i()(t().themeSelectors.arrowDown).css("opacity","1")):i()(n.target).hasClass("arrow-down")&&o.position().top+o.height()>i()(".js-qv-mask").height()&&(e("down"),i()(t().themeSelectors.arrowUp).css("opacity","1"))})),n.find(t().selectors.quantityWanted).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6}),i()(t().themeSelectors.touchspin).off("touchstart.touchspin")})(r),r.on("hidden.bs.modal",(()=>{r.remove()}))})).fail((e=>{t().emit("handleError",{eventType:"clickQuickView",resp:e})}))})),i()("body").on("click",t().themeSelectors.listing.searchFilterToggler,(()=>{i()(t().themeSelectors.listing.searchFiltersWrapper).removeClass("hidden-sm-down"),i()(t().themeSelectors.contentWrapper).addClass("hidden-sm-down"),i()(t().themeSelectors.footer).addClass("hidden-sm-down")})),i()(`${t().themeSelectors.listing.searchFilterControls} ${t().themeSelectors.clear}`).on("click",(()=>{i()(t().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),i()(t().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),i()(t().themeSelectors.footer).removeClass("hidden-sm-down")})),i()(`${t().themeSelectors.listing.searchFilterControls} .ok`).on("click",(()=>{i()(t().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),i()(t().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),i()(t().themeSelectors.footer).removeClass("hidden-sm-down")}));const n=function(e){if(void 0!==e.target.dataset.searchUrl)return e.target.dataset.searchUrl;if(void 0===i()(e.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search U
508RL");return i()(e.target).parent()[0].dataset.searchUrl};i()("body").on("change",`${t().themeSelectors.listing.searchFilters} input[data-search-url]`,(e=>{t().emit("updateFacets",n(e))})),i()("body").on("click",t().themeSelectors.listing.searchFiltersClearAll,(e=>{t().emit("updateFacets",n(e))})),i()("body").on("click",t().themeSelectors.listing.searchLink,(e=>{e.preventDefault(),t().emit("updateFacets",i()(e.target).closest("a").get(0).href)})),window.addEventListener("popstate",(e=>{e.state&&e.state.current_url&&(window.location.href=e.state.current_url)})),i()("body").on("change",`${t().themeSelectors.listing.searchFilters} select`,(e=>{const n=i()(e.target).closest("form");t().emit("updateFacets",`?${n.serialize()}`)})),t().on("updateProductList",(e=>{!function(e){i()(t().themeSelectors.listing.searchFilters).replaceWith(e.rendered_facets),i()(t().themeSelectors.listing.activeSearchFilters).replaceWith(e.rendered_active_filters),i()(t().themeSelectors.listing.listTop).replaceWith(e.rendered_products_top);const n=i()(e.rendered_products),r=i()(t().themeSelectors.listing.product);r.length>0?r.removeClass().addClass(r.first().attr("class")):r.removeClass().addClass(n.first().attr("class")),i()(t().themeSelectors.listing.list).replaceWith(n),i()(t().themeSelectors.listing.listBottom).replaceWith(e.rendered_products_bottom),e.rendered_products_header&&i()(t().themeSelectors.listing.listHeader).replaceWith(e.rendered_products_header),(new l).init()}(e),window.scrollTo(0,0)}))}));
509/**
510 * Copyright since 2007 PrestaShop SA and Contributors
511 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
512 *
513 * NOTICE OF LICENSE
514 *
515 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
516 * that is bundled with this package in the file LICENSE.md.
517 * It is also available through the world-wide-web at this URL:
518 * https://opensource.org/licenses/AFL-3.0
519 * If you did not receive a copy of the license and are unable to
520 * obtain it through the world-wide-web, please send an email
521 * to [email protected] so we can send you a copy immediately.
522 *
523 * DISCLAIMER
524 *
525 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
526 * versions in the future. If you wish to customize PrestaShop for your
527 * needs please refer to https://devdocs.prestashop.com/ for more information.
528 *
529 * @author    PrestaShop SA and Contributors <[email protected]>
530 * @copyright Since 2007 PrestaShop SA and Contributors
531 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
532 */
533class c{init(){const e=i()(".js-modal-arrows"),t=i()(".js-modal-product-images");i()("body").on("click",".js-modal-thumb",(e=>{i()(".js-modal-thumb").hasClass("selected")&&i()(".js-modal-thumb").removeClass("selected"),i()(e.currentTarget).addClass("selected"),i()(prestashop.themeSelectors.product.modalProductCover).attr("src",i()(e.target).data("image-large-src")),i()(prestashop.themeSelectors.product.modalProductCover).attr("title",i()(e.target).attr("title")),i()(prestashop.themeSelectors.product.modalProductCover).attr("alt",i()(e.target).attr("alt")),a(i()(prestashop.themeSelectors.product.modalProductCover),i()(e.target).data("image-large-sources"))})).on("click","aside#thumbnails",(e=>{"thumbnails"===e.target.id&&i()("#product-modal").modal("hide")})),i()(".js-modal-product-images li").length<=5?e.css("opacity",".2"):e.on("click",(e=>{i()(e.target).hasClass("arrow-up")&&t.position().top<0?(this.move("up"),i()(".js-modal-arrow-down").css("opacity","1")):i()(e.target).hasClass("arrow-down")&&t.position().top+t.height()>i()(".js-modal-mask").height()&&(this.move("down"),i()(".js-modal-arrow-up").css("opacity","1"))}))}move(e){const t=i()(".js-modal-product-images"),n=i()(".js-modal-product-images li img").height()+10,r=t.position().top;t.velocity({translateY:"up"===e?r+n:r-n},(()=>{t.position().top>=0?i()(".js-modal-arrow-up").css("opacity",".2"):t.position().top+t.height()<=i()(".js-modal-mask").height()&&i()(".js-modal-arrow-down").css("opacity",".2")}))}}
534/**
535 * Copyright since 2007 PrestaShop SA and Contributors
536 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
537 *
538 * NOTICE OF LICENSE
539 *
540 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
541 * that is bundled with this package in the file LICENSE.md.
542 * It is also available through the world-wide-web at this URL:
543 * https://opensource.org/licenses/AFL-3.0
544 * If you did not receive a copy of the license and are unable to
545 * obtain it through the world-wide-web, please send an email
546 * to [email protected] so we can send you a copy immediately.
547 *
548 * DISCLAIMER
549 *
550 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
551 * versions in the future. If you wish to customize PrestaShop for your
552 * needs please refer to https://devdocs.prestashop.com/ for more information.
553 *
554 * @author    PrestaShop SA and Contributors <[email protected]>
555 * @copyright Since 2007 PrestaShop SA and Contributors
556 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
557 */
558i()(document).ready((()=>{function e(){const e=i()(t().themeSelectors.product.cover),n=i()(t().themeSelectors.product.modalProductCover);let r=i()(t().themeSelectors.product.selected);const o=(r,i)=>{const o=i.find(t().themeSelectors.product.thumb);r.removeClass("selected"),o.addClass("selected"),n.prop("src",o.data("image-large-src")),e.prop("src",o.data("image-medium-src")),e.attr("title",o.attr("title")),n.attr("title",o.attr("title")),e.attr("alt",o.attr("alt")),n.attr("alt",o.attr("alt")),a(e,o.data("image-medium-sources")),a(n,o.data("image-large-sources"))};
558i()(t().themeSelectors.product.thumb).on("click",(e=>{r=i()(t().themeSelectors.product.selected),o(r,i()(e.target).closest(t().themeSelectors.product.thumbContainer))})),e.swipe({swipe:(e,n)=>{r=i()(t().themeSelectors.product.selected);const s=r.closest(t().themeSelectors.product.thumbContainer);"right"===n?s.prev().length>0?o(r,s.prev()):s.next().length>0&&o(r,s.next()):"left"===n&&(s.next().length>0?o(r,s.next()):s.prev().length>0&&o(r,s.prev()))},allowPageScroll:"vertical"})}function n(){i()("#main .js-qv-product-images li").length>2?(i()("#main .js-qv-mask").addClass("scroll"),i()(".scroll-box-arrows").addClass("scroll"),i()("#main .js-qv-mask").scrollbox({direction:"h",distance:113,autoPlay:!1}),i()(".scroll-box-arrows .left").click((()=>{i()("#main .js-qv-mask").trigger("backward")})),i()(".scroll-box-arrows .right").click((()=>{i()("#main .js-qv-mask").trigger("forward")}))):(i()("#main .js-qv-mask").removeClass("scroll"),i()(".scroll-box-arrows").removeClass("scroll"))}function r(){i()(t().themeSelectors.fileInput).on("change",(e=>{const t=i()(e.currentTarget)[0],n=t?t.files[0]:null;t&&n&&i()(t).prev().text(n.name)}))}!function(){const e=i()(t().selectors.quantityWanted);e.TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(e.attr("min"),10),max:1e6}),i()(t().themeSelectors.touchspin).off("touchstart.touchspin"),e.on("focusout",(()=>{(""===e.val()||e.val()<e.attr("min"))&&(e.val(e.attr("min")),e.trigger("change"))})),i()("body").on("change keyup",t().selectors.quantityWanted,(n=>{""!==e.val()&&(i()(n.currentTarget).trigger("touchspin.stopspin"),t().emit("updateProduct",{eventType:"updatedProductQuantity",event:n}))}))}(),r(),e(),n(),function(){const e=i()(t().themeSelectors.product.tabs);e.on("show.bs.tab",(e=>{const n=i()(e.target);n.addClass(t().themeSelectors.product.activeNavClass),i()(n.attr("href")).addClass(t().themeSelectors.product.activeTabClass)})),e.on("hide.bs.tab",(e=>{const n=i()(e.target);n.removeClass(t().themeSelectors.product.activeNavClass),i()(n.attr("href")).removeClass(t().themeSelectors.product.activeTabClass)}))}(),t().on("updatedProduct",(o=>{if(r(),e(),o&&o.product_minimal_quantity){const e=parseInt(o.product_minimal_quantity,10),n=t().selectors.quantityWanted;i()(n).trigger("touchspin.updatesettings",{min:e})}n(),i()(i()(t().themeSelectors.product.activeTabs).attr("href")).addClass("active").removeClass("fade"),i()(t().themeSelectors.product.imagesModal).replaceWith(o.product_images_modal);(new c).init()}))})),t().cart=t().cart||{},t().cart.active_inputs=null;const u='input[name="product-quantity-spin"]';let f=!1,d=!1,p="";const h=()=>{const e=i()(t().themeSelectors.checkout.btn);if((i()(t().themeSelectors.notifications.dangerAlert).length||""!==p&&!f)&&e.addClass("disabled"),""!==p){const n=`\n        <article class="alert alert-danger" role="alert" data-alert="danger">\n          <ul>\n            <li>${p}</li>\n          </ul>\n        </article>\n      `;i()(t().themeSelectors.notifications.container).html(n),p="",d=!1,f&&e.removeClass("disabled")}else!f&&d&&(f=!1,d=!1,i()(t().themeSelectors.notifications.container).html(""),e.removeClass("disabled"))},m=e=>{const{hasError:t,errors:n}=e;f=null!=t&&t;const r=null!=n?n:"";p=r instanceof Array?r.join(" "):r,d=!0};function g(){i().each(i()(u),((e,t)=>{i()(t).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt(i()(t).attr("min"),10),max:1e6})})),i()(t().themeSelectors.touchspin).off("touchstart.touchspin"),h()}const v=e=>!window.shouldPreventModal||(e.preventDefault(),!1);i()(document).ready((()=>{const e=t().themeSelectors.cart.productLineQty,n=[];t().on("updateCart",(()=>{i()(t().themeSelectors.cart.quickview).modal("hide")})),t().on("updatedCart",(()=>{window.shouldPreventModal=!1,i()(t().themeSelectors.product.customizationModal).on("show.bs.modal",(e=>{v(e)})),g()})),g();const r=i()("body");function o(e){const t=e.split("-");let n,r,i="";for(n=0;n<t.length;n+=1)r=t[n],0!==n&&(r=r.substring(0,1).toUpperCase()+r.substring(1)),i+=r;return i}function s(n,r){if(!function(e){return"on.startupspin"===e||"on.startdownspin"===e}(r))return{url:n.attr("href"),type:o(n.data("link-action"))};const i=function(n){const r=n.parents(t().themeSelectors.cart.touchspin).find(e);return r.is(":focus")?null:r}(n);if(!i)return!1;let s={};return s=function(e){return"on.startupspin"===e}(r)?{url:i.data("up-url"),type:"increaseProductQuantity"}:{url:i.data("down-url"),type:"decreaseProductQuantity"},s}const a=()=>{let e;for(;n.length>0;)e=n.pop(),e.abort()};
558i()(t().themeSelectors.product.customizationModal).on("show.bs.modal",(e=>{v(e)}));function l(e){const r=i()(e.currentTarget),o=r.data("update-url"),s=r.attr("value"),l=r.val();if(l!=parseInt(l,10)||l<0||isNaN(l))return window.shouldPreventModal=!1,void r.val(s);const c=l-s;var u,f;0!==c&&("0"===l?r.closest(".product-line-actions").find('[data-link-action="delete-from-cart"]').click():(r.attr("value",l),function(e,r,o){a(),window.shouldPreventModal=!0,i().ajax({url:e,method:"POST",data:r,dataType:"json",beforeSend(e){n.push(e)}}).then((e=>{m(e),o.val(e.quantity);const n=o&&o.dataset?o.dataset:e;t().emit("updateCart",{reason:n,resp:e})})).fail((e=>{t().emit("handleError",{eventType:"updateProductQuantityInCart",resp:e})}))}(o,(u=c,{ajax:"1",qty:Math.abs(u),action:"update",op:(f=u,f>0?"up":"down")}),r)))}r.on("click",t().themeSelectors.cart.actions,(e=>{a(),window.shouldPreventModal=!0,e.preventDefault();const r=i()(e.currentTarget),{dataset:o}=e.currentTarget,l=s(r,e.namespace);l&&i().ajax({url:l.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend(e){n.push(e)}}).then((e=>{const n=(s=r,i()(s.parents(t().themeSelectors.cart.touchspin).find("input")));var s;m(e),n.val(e.quantity),t().emit("updateCart",{reason:o,resp:e})})).fail((e=>{t().emit("handleError",{eventType:"updateProductInCart",resp:e,cartAction:l.type})}))})),r.on("touchspin.on.stopspin",u,
559/**
560 * Copyright since 2007 PrestaShop SA and Contributors
561 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
562 *
563 * NOTICE OF LICENSE
564 *
565 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
566 * that is bundled with this package in the file LICENSE.md.
567 * It is also available through the world-wide-web at this URL:
568 * https://opensource.org/licenses/AFL-3.0
569 * If you did not receive a copy of the license and are unable to
570 * obtain it through the world-wide-web, please send an email
571 * to [email protected] so we can send you a copy immediately.
572 *
573 * DISCLAIMER
574 *
575 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
576 * versions in the future. If you wish to customize PrestaShop for your
577 * needs please refer to https://devdocs.prestashop.com/ for more information.
578 *
579 * @author    PrestaShop SA and Contributors <[email protected]>
580 * @copyright Since 2007 PrestaShop SA and Contributors
581 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
582 */
583function(e,t=300){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}}(l)),r.on("focusout keyup",e,(e=>"keyup"===e.type?(13===e.keyCode&&(d=!0,l(e)),!1):(d||l(e),!1)));r.on("hidden.bs.collapse",t().themeSelectors.cart.promoCode,(()=>{i()(t().themeSelectors.cart.displayPromo).show(400)})),r.on("click",t().themeSelectors.cart.promoCodeButton,(e=>{e.preventDefault(),i()(t().themeSelectors.cart.promoCode).collapse("toggle")})),r.on("click",t().themeSelectors.cart.displayPromo,(e=>{i()(e.currentTarget).hide(400)})),r.on("click",t().themeSelectors.cart.discountCode,(e=>{e.stopPropagation();const n=i()(e.currentTarget);return i()(t().themeSelectors.cart.discountName).val(n.text()),i()(t().themeSelectors.cart.promoCode).collapse("show"),i()(t().themeSelectors.cart.displayPromo).hide(400),!1}))}));var y=n(58),b=n.n(y);
584/**
585 * Copyright since 2007 PrestaShop SA and Contributors
586 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
587 *
588 * NOTICE OF LICENSE
589 *
590 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
591 * that is bundled with this package in the file LICENSE.md.
592 * It is also available through the world-wide-web at this URL:
593 * https://opensource.org/licenses/AFL-3.0
594 * If you did not receive a copy of the license and are unable to
595 * obtain it through the world-wide-web, please send an email
596 * to [email protected] so we can send you a copy immediately.
597 *
598 * DISCLAIMER
599 *
600 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
601 * versions in the future. If you wish to customize PrestaShop for your
602 * needs please refer to https://devdocs.prestashop.com/ for more information.
603 *
604 * @author    PrestaShop SA and Contributors <[email protected]>
605 * @copyright Since 2007 PrestaShop SA and Contributors
606 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
607 */
608class w{constructor(e){this.el=e}init(){this.el.on("show.bs.dropdown",((e,t)=>
608{t?i()(`#${t}`).find(".dropdown-menu").first().stop(!0,!0).slideDown():i()(e.target).find(".dropdown-menu").first().stop(!0,!0).slideDown()})),this.el.on("hide.bs.dropdown",((e,t)=>{t?i()(`#${t}`).find(".dropdown-menu").first().stop(!0,!0).slideUp():i()(e.target).find(".dropdown-menu").first().stop(!0,!0).slideUp()})),this.el.find("select.link").each(((e,t)=>{i()(t).on("change",(function(){window.location=i()(this).val()}))}))}}
609/**
610 * Copyright since 2007 PrestaShop SA and Contributors
611 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
612 *
613 * NOTICE OF LICENSE
614 *
615 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
616 * that is bundled with this package in the file LICENSE.md.
617 * It is also available through the world-wide-web at this URL:
618 * https://opensource.org/licenses/AFL-3.0
619 * If you did not receive a copy of the license and are unable to
620 * obtain it through the world-wide-web, please send an email
621 * to [email protected] so we can send you a copy immediately.
622 *
623 * DISCLAIMER
624 *
625 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
626 * versions in the future. If you wish to customize PrestaShop for your
627 * needs please refer to https://devdocs.prestashop.com/ for more information.
628 *
629 * @author    PrestaShop SA and Contributors <[email protected]>
630 * @copyright Since 2007 PrestaShop SA and Contributors
631 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
632 */
633class x{init(){this.parentFocus(),this.togglePasswordVisibility()}parentFocus(){i()(".js-child-focus").on("focus",(function(){i()(this).closest(".js-parent-focus").addClass("focus")})),i()(".js-child-focus").on("focusout",(function(){i()(this).closest(".js-parent-focus").removeClass("focus")}))}togglePasswordVisibility(){i()('button[data-action="show-password"]').on("click",(function(){const e=i()(this).closest(".input-group").children("input.js-visible-password");"password"===e.attr("type")?(e.attr("type","text"),i()(this).text(i()(this).data("textHide"))):(e.attr("type","password"),i()(this).text(i()(this).data("textShow")))}))}}var S=n(531);
634/**
635 * Copyright since 2007 PrestaShop SA and Contributors
636 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
637 *
638 * NOTICE OF LICENSE
639 *
640 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
641 * that is bundled with this package in the file LICENSE.md.
642 * It is also available through the world-wide-web at this URL:
643 * https://opensource.org/licenses/AFL-3.0
644 * If you did not receive a copy of the license and are unable to
645 * obtain it through the world-wide-web, please send an email
646 * to [email protected] so we can send you a copy immediately.
647 *
648 * DISCLAIMER
649 *
650 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
651 * versions in the future. If you wish to customize PrestaShop for your
652 * needs please refer to https://devdocs.prestashop.com/ for more information.
653 *
654 * @author    PrestaShop SA and Contributors <[email protected]>
655 * @copyright Since 2007 PrestaShop SA and Contributors
656 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
657 */
658const{passwordPolicy:_}=prestashop.themeSelectors,C=(e,t,n)=>{return r=void 0,i=null,o=function*(){const{prestashop:r}=window,i=e.value,o=t.querySelector(_.requirementScoreIcon),s=yield r.checkPasswordScore(i),a=(e=>{switch(e){case 0:case 1:return{color:"bg-danger"};case 2:return{color:"bg-warning"};case 3:case 4:return{color:"bg-success"};default:throw new Error("Invalid password strength indicator.")}})(s.score),l=i.length,c=[];$(e).popover("dispose"),t.style.display=""===i?"none":"block",""!==s.feedback.warning&&s.feedback.warning in n&&c.push(n[s.feedback.warning]),s.feedback.suggestions.forEach((e=>{e in n&&c.push(n[e])})),$(e).popover({html:!0,placement:"top",content:c.join("<br/>")}).popover("show");const u=l>=parseInt(e.dataset.minlength,10)&&l<=parseInt(e.dataset.maxlength,10),f=parseInt(e.dataset.minscore,10)<=s.score;t.querySelector(_.requirementLengthIcon).classList.toggle("text-success",u),o.classList.toggle("text-success",f),e.classList.remove("border-success","border-danger"),e.classList.add(f&&u?"border-success":"border-danger"),e.classList.add("form-control","border");
658const d=20*s.score+20,p=t.querySelector(_.progressBar);p&&(p.style.width=`${d}%`,p.classList.remove("bg-success","bg-danger","bg-warning"),p.classList.add(a.color))},new Promise(((e,t)=>{var n=e=>{try{a(o.next(e))}catch(e){t(e)}},s=e=>{try{a(o.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(n,s);a((o=o.apply(r,i)).next())}));var r,i,o};var E=e=>{document.querySelectorAll(e).forEach((e=>{const t=null==e?void 0:e.querySelector(_.inputColumn),n=null==e?void 0:e.querySelector("input"),r=document.createElement("div"),i=document.querySelector(_.template);let o;if(i&&e&&t&&n&&(r.innerHTML=i.innerHTML,t.append(r),o=e.querySelector(_.container),o)){const e=document.querySelector(_.hint);if(e){const t=JSON.parse(e.innerHTML),r=o.querySelector(_.requirementLength),i=o.querySelector(_.requirementScore),s=null==r?void 0:r.querySelector("span"),a=null==i?void 0:i.querySelector("span");s&&r&&r.dataset.translation&&(s.innerText=(0,S.sprintf)(r.dataset.translation,n.dataset.minlength,n.dataset.maxlength)),a&&i&&i.dataset.translation&&(a.innerText=(0,S.sprintf)(i.dataset.translation,t[n.dataset.minscore])),n.addEventListener("keyup",(()=>C(n,o,t))),n.addEventListener("blur",(()=>{$(n).popover("dispose")}))}}return e?{element:e}:{error:new Error("The password policy elements are undefined.")}}))};
659/**
660 * Copyright since 2007 PrestaShop SA and Contributors
661 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
662 *
663 * NOTICE OF LICENSE
664 *
665 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
666 * that is bundled with this package in the file LICENSE.md.
667 * It is also available through the world-wide-web at this URL:
668 * https://opensource.org/licenses/AFL-3.0
669 * If you did not receive a copy of the license and are unable to
670 * obtain it through the world-wide-web, please send an email
671 * to [email protected] so we can send you a copy immediately.
672 *
673 * DISCLAIMER
674 *
675 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
676 * versions in the future. If you wish to customize PrestaShop for your
677 * needs please refer to https://devdocs.prestashop.com/ for more information.
678 *
679 * @author    PrestaShop SA and Contributors <[email protected]>
680 * @copyright Since 2007 PrestaShop SA and Contributors
681 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
682 */
683class T extends w{init(){let e;const n=this;this.el.find("li").on("mouseenter mouseleave",(t=>{if(this.el.parent().hasClass("mobile"))return;const n=i()(t.currentTarget).attr("class");if(e!==n){const n=Array.prototype.slice.call(t.currentTarget.classList).map((e=>"string"==typeof e&&`.${e}`));e=n.join(""),e&&0===i()(t.target).data("depth")&&i()(`${e} .js-sub-menu`).css({top:i()(`${e}`).height()+i()(`${e}`).position().top})}})),i()("#menu-icon").on("click",(()=>{i()("#mobile_top_menu_wrapper").toggle(),n.toggleMobileMenu()})),this.el.on("click",(e=>{this.el.parent().hasClass("mobile")||e.stopPropagation()})),t().on("responsive update",(()=>{i()(".js-sub-menu").removeAttr("style"),n.toggleMobileMenu()})),super.init()}toggleMobileMenu(){i()("#header").toggleClass("is-open"),i()("#mobile_top_menu_wrapper").is(":visible")?i()("#notifications, #wrapper, #footer").hide():i()("#notifications, #wrapper, #footer").show()}}n(902),n(290);
684/**
685 * Copyright since 2007 PrestaShop SA and Contributors
686 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
687 *
688 * NOTICE OF LICENSE
689 *
690 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
691 * that is bundled with this package in the file LICENSE.md.
692 * It is also available through the world-wide-web at this URL:
693 * https://opensource.org/licenses/AFL-3.0
694 * If you did not receive a copy of the license and are unable to
695 * obtain it through the world-wide-web, please send an email
696 * to [email protected] so we can send you a copy immediately.
697 *
698 * DISCLAIMER
699 *
700 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
701 * versions in the future. If you wish to customize PrestaShop for your
702 * needs please refer to https://devdocs.prestashop.com/ for more information.
703 *
704 * @author    PrestaShop SA and Contributors <[email protected]>
705 * @copyright Since 2007 PrestaShop SA and Contributors
706 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
707 */
708t().blockcart=t().blockcart||{},t().blockcart.showModal=e=>{function n(){return i()("#blockcart-modal")}let r=n();r.length&&r.remove(),i()("body").append(e),r=n(),r.modal("show").on("hidden.bs.modal",(e=>{t().emit("updateProduct",{reason:e.currentTarget.dataset,event:e})}))};
709/**
710 * Copyright since 2007 PrestaShop SA and Contributors
711 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
712 *
713 * NOTICE OF LICENSE
714 *
715 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
716 * that is bundled with this package in the file LICENSE.md.
717 * It is also available through the world-wide-web at this URL:
718 * https://opensource.org/licenses/AFL-3.0
719 * If you did not receive a copy of the license and are unable to
720 * obtain it through the world-wide-web, please send an email
721 * to [email protected] so we can send you a copy immediately.
722 *
723 * DISCLAIMER
724 *
725 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
726 * versions in the future. If you wish to customize PrestaShop for your
727 * needs please refer to https://devdocs.prestashop.com/ for more information.
728 *
729 * @author    PrestaShop SA and Contributors <[email protected]>
730 * @copyright Since 2007 PrestaShop SA and Contributors
731 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
732 */
733for(const e in b().prototype)t()[e]=b().prototype[e];i()(document).ready((()=>{const e=i()(".js-dropdown"),t=new x,n=i()('.js-top-menu ul[data-depth="0"]'),r=new w(e),o=new T(n),s=new l,a=new c;r.init(),t.init(),o.init(),s.init(),a.init(),E(".field-password-policy"),i()('.carousel[data-touch="true"]').swipe({swipe(e,t){"left"===t&&i()(this).carousel("next"),"right"===t&&i()(this).carousel("prev")},allowPageScroll:"vertical"})}))}()}();/*! For license information please see front.js.LICENSE.txt */
734(()=>{var e={906:()=>{},72:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},o=[],i=0;i<e.length;i++){var c=e[i],u=n.base?c[0]+n.base:c[0],l=a[u]||0,d="".concat(u," ").concat(l);a[u]=l+1;var p=r(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var v=s(f,n);n.byIndex=i,t.splice(i,0,{identifier:d,updater:v,references:1})}o.push(d)}return o}function s(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,s){var a=n(e=e||[],s=s||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var i=r(a[o]);t[i].references--}for(var c=n(e,s),u=0;u<a.length;u++){var l=r(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},659:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,s&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(72),t=r.n(e),n=r(825),s=r.n(n),a=r(659),o=r.n(a),i=r(56),c=r.n(i),u=r(540),l=r.n(u),d=r(113),p=r.n(d),f=r(906),v=r.n(f),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=o().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=l(),t()(v(),m),v()&&v().locals&&v().locals,$(window).ready((()=>{const e=$(".blockreassurance_product img.svg, .blockreassurance img.svg").map((function(){return $(this).attr("src")})).toArray();e.filter(((t,r)=>
734e.indexOf(t)===r)).forEach((function(e){const t=$(`.blockreassurance_product img.svg.invisible[src="${e}"], .blockreassurance img.svg.invisible[src="${e}"]`);0!==t.length&&$.ajax({url:e,type:"GET",success(r){if($.isXMLDoc(r)){let n=$(r).find("svg");n=n.attr("data-img-url",e),n=n.removeAttr("xmlns:a"),n.find("path[fill]").attr("fill",window.psr_icon_color),n.find("path:not([fill])").css("fill",window.psr_icon_color),t.each((function(){const e=$(this).attr("id"),t=$(this).attr("class");let r=n.clone();r=void 0!==e?r.attr("id",e):r,r=void 0!==t?r.attr("class",`${t} replaced-svg`):r.attr("class"," replaced-svg"),r.removeClass("invisible"),$(this).replaceWith(r)}))}}})}))}))})()})();/**
735 * Copyright since 2007 PrestaShop SA and Contributors
736 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
737 *
738 * NOTICE OF LICENSE
739 *
740 * This source file is subject to the Academic Free License version 3.0
741 * that is bundled with this package in the file LICENSE.md.
742 * It is also available through the world-wide-web at this URL:
743 * https://opensource.org/licenses/AFL-3.0
744 * If you did not receive a copy of the license and are unable to
745 * obtain it through the world-wide-web, please send an email
746 * to [email protected] so we can send you a copy immediately.
747 *
748 * @author    PrestaShop SA and Contributors <[email protected]>
749 * @copyright Since 2007 PrestaShop SA and Contributors
750 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
751 */
752function addNotification(productId,productAttributeId){if(typeof productId==='undefined'){var ids=$('div.js-mailalert > input[type=hidden]');productId=ids.eq(0).val();productIdAttribute=ids.eq(1).val()}
753$.ajax({type:'POST',url:$('div.js-mailalert').data('url'),data:'id_product='+productId+'&id_product_attribute='+productAttributeId+'&customer_email='+$('div.js-mailalert input[type=email]').val(),success:function(resp){resp=JSON.parse(resp);$('.js-mailalert-alerts').html('<article class="mt-1 alert alert-'+(resp.error?'danger':'success')+'" role="alert" data-alert="'+(resp.error?'error':'success')+'">'+resp.message+'</article>').show();if(!resp.error){$('div.js-mailalert > .js-mailalert-add, div.js-mailalert > input[type=email], div.js-mailalert .gdpr_consent_wrapper').hide()}}});return!1}
754$(document).on('ready',function(){const mailAlertSubmitButtonClass='.js-mailalert-add';const mailAlertWrapper=$('.js-mailalert');const mailAlertSubmitButton=mailAlertWrapper.find(mailAlertSubmitButtonClass);if(mailAlertWrapper.find('#gdpr_consent, .gdpr_consent').length){setTimeout(()=>{mailAlertSubmitButton.prop('disabled',!0);mailAlertWrapper.find('[name="psgdpr_consent_checkbox"]').on('change',function(e){e.stopPropagation();mailAlertSubmitButton.prop('disabled',!$(this).prop('checked'))})},0)}
755$(document).on('click',mailAlertSubmitButtonClass,function(e){e.preventDefault();addNotification($(this).data('product'),$(this).data('product-attribute'))});$(document).on('click','.js-remove-email-alert',function(){var self=$(this);var ids=self.attr('rel').replace('js-id-emailalerts-','');ids=ids.split('-');var id_product_mail_alert=ids[0];var id_product_attribute_mail_alert=ids[1];var parent=self.closest('li');$.ajax({url:self.data('url'),type:"POST",data:{'id_product':id_product_mail_alert,'id_product_attribute':id_product_attribute_mail_alert},success:function(result){if(result=='0'){parent.fadeOut("normal",function(){parent.remove()})}}})})});/**
756 * NOTICE OF LICENSE.
757 *
758 * This source file is subject to a commercial license from Copyright(c) LAPPSTAR
759 * Use, copy, modification or distribution of this source file without written
760 * license agreement from Copyright(c) LAPPSTAR is strictly forbidden.
761 *
762 * @author    LAPPSTAR
763 * @copyright Copyright(c) 2025 LAPPSTAR
764 * @license   Commercial license
765 */
766$(function(){var timer;let lappstarasController=null;let lappstarasIsSearching=!1;let lappstarasTimer=null;let lappstarasSearchRequestId=0;const keyUpDelay=400;$('.lappstaras-search .lappstaras-query').on('click',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type'),featuredProducts=$(baseForm).find('.lappstaras-search #lappstaras-featured-products'+searchType).val();if(featuredProducts>0&&$(this).val()===''){if(searchType==='top'){$(baseForm).addClass('active');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchcompleted');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchnoresults');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchresults');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-results-container').hide();$(baseForm).find('#lappstaras-search'+searchType+' #lappstaras-searchtop-overlay').show();$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-featured-products .lappstaras-title-section').addClass('lappstaras-active')}
767$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results').show()}});$('.lappstaras-search .lappstaras-query').on('keyup',function(e){const $form=$(this).closest('form');const baseForm=$(this).closest('.lappstaras-search-container');const searchType=$form.attr('search-type')||'';const value=$(this).val().trim();$(baseForm).addClass('active');clearTimeout(lappstarasTimer);if(lappstarasController){lappstarasController.abort();lappstarasIsSearching=!1}
768lappstarasPrepareSearch(baseForm,$form,searchType,!0,!0);lappstarasTimer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$form,searchType,!0,!0)},keyUpDelay)});$('.lappstaras-search#lappstaras-searchtop #lappstaras-category').on('change',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type'),searchString=$(baseForm).find('.lappstaras-search #lappstaras-query'+searchType).val();if(searchString){lappstarasPrepareSearch(baseForm,$(this).parents('form'),'top',!0,!0);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!0,!1)},0)}});$('.lappstaras-search').on('change',' #lappstaras-sort',function(){var baseForm=$(this).parents('.lappstaras-search-container');lappstarasPrepareSearch(baseForm,$(this).parents('form'),'',!1,!1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$('form#lappstaras-search-form'),'',!0,!1)},0)});$('.lappstaras-search').on('change','input[type="checkbox"]',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type');lappstarasPrepareSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!1,!1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!0,!1)},0)});$('.lappstaras-search').on('focusout','input.lappstaras-filter-prices',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type');lappstarasPrepareSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!1,!1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!0,!1)},keyUpDelay+2)});$('.lappstaras-search').on('click','.lappstaras-data-item',function(){var baseForm=$(this).parents('.lappstaras-search-container'),filterTarget=$(this).attr('filter-target'),filterInput=$('.lappstaras-search input[filter-target="'+filterTarget+'"'),searchType=$(this).parents('form').attr('search-type');filterInput.prop("checked",(filterInput.is(':checked')?!1:!0));lappstarasPrepareSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!1,!1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$(this).parents('form'),searchType,!0,!1)},0)});$('.lappstaras-search .lappstaras-active-filters').on('click','.close',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type');lappstarasPrepareSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!1,!1);lappstarasResetFilter(baseForm,$(this).parents('div.filter').attr('filter-target'),searchType)});$('.lappstaras-search .lappstaras-active-filters').on('click','.lappstaras-active-filters-items-remove',function(){var baseForm=$(this).parents('.lappstaras-search-container'),searchType=$(this).parents('form').attr('search-type');lappstarasPrepareSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!0,!1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$(this).parents('form'),(searchType?searchType:''),!0,!1)},keyUpDelay)});$('.lappstaras-search #lappstaras-searchtop-overlay').on('click',this,function(){var baseForm=$(this).parents('.lappstaras-search-container');lappstarasResetTopForm(baseForm)});$('.lappstaras-search').on('click','.lappstaras-items-showall',function(){var baseForm=$(this).parents('.lappstaras-search-container');$(this).parent('.lappstaras-sidebar-items').find('.lappstaras-items-showall').toggle();if($(this).parent('.lappstaras-sidebar-items').find('.lappstaras-items-showall-more').is(':visible')){$(this).parent('.lappstaras-sidebar-items').find('.lappstaras-item').removeClass('lappstaras-active')}else{$(this).parent('.lappstaras-sidebar-items').find('.lappstaras-item').addClass('lappstaras-active')}});$('.lappstaras-search .lappstaras-filters-button').on('click',this,function(){var baseForm=$(this).parents('.lappstaras-search-container');$(baseForm).find('.lappstaras-search .lappstaras-filters-container').addClass('lappstaras-active')});$('.lappstaras-search .lappstaras-filters-button-do').on('click',this,function(){var baseForm=$(this).parents('.lappstaras-search-container');$(baseForm).find('.lappstaras-search .lappstaras-filters-container').removeClass('lappstaras-active')});function lappstarasResetFilter(baseForm,filter,searchType){var filterType=filter.split('-');if(filterType[1]==='categories'){$(baseForm).find('#lappstaras-searchtop #lappstaras-category option').removeAttr('selected')}
769if(filterType[1]==='prices'){$(baseForm).find('.lappstaras-search .lappstaras-prices-min').val($('.lappstaras-search .lappstaras-prices-min').attr('min'));$(baseForm).find('.lappstaras-search .lappstaras-prices-max').val($('.lappstaras-search .lappstaras-prices-max').attr('max'))}
770$(baseForm).find('.lappstaras-search input[filter-target="'+filter+'"]').prop("checked",!1);lappstarasLiveSearch(baseForm,$('#lappstaras-searchtop-form'),searchType,!0,!1)}
771function lappstarasResetTopForm(baseForm){$(baseForm).removeClass('active');$(baseForm).find('#lappstaras-searchtop #lappstaras-category option').removeAttr('selected');$(baseForm).find('#lappstaras-searchtop #lappstaras-querytop').val('');$(baseForm).find('#lappstaras-searchtop .lappstaras-results').hide();$(baseForm).find('.lappstaras-searchtop-overlay').hide()}
772function lappstarasPrepareSearch(baseForm,elem,searchType,resetForm,preserveCategory){var paginationType=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search #lappstaras-paginationtype').val();$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searching');$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searchprogress');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-results-container').show();$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchcompleted');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchnoresults');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchfiltersresults');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchresults');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-section').removeClass('lappstaras-searchnoresults');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-section > span').removeClass('lappstaras-active');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-sidebar .lappstaras-title-section').removeClass('lappstaras-active');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-content .lappstaras-notification').remove();$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-active-filters').removeClass('lappstaras-active');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-featured-products .lappstaras-title-section').removeClass('lappstaras-active');if(searchType==='top'){$(baseForm).find('#lappstaras-search'+searchType+' #lappstaras-searchtop-overlay').show()}
773$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-placeholder-content:not(.lappstaras-pagination)').css('display','grid');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results').show();if(Number(paginationType)===1){$(baseForm).find('.lappstaras-search #lappstaras-pagenumber'+searchType).val(1)}
774if(resetForm===!0){if(preserveCategory===!1){$(baseForm).find('#lappstaras-searchtop #lappstaras-category option').removeAttr('selected')}$
775$(baseForm).find('.lappstaras-filters input[type="checkbox"]').prop("checked",!1);$(baseForm).find('.lappstaras-search .lappstaras-prices-min').val($(baseForm).find('.lappstaras-search .lappstaras-prices-min').attr('min'));$(baseForm).find('.lappstaras-search .lappstaras-prices-max').val($(baseForm).find('.lappstaras-search .lappstaras-prices-max').attr('max'))}}
776$(window).scroll(function(){var baseForm=$('.lappstaras-searchpage-container'),searchType=$(baseForm).find('form#lappstaras-search-form').attr('search-type'),pageNumber=$(baseForm).find('.lappstaras-search #lappstaras-pagenumber'+searchType).val(),placeHolderPagination=$(baseForm).find('.lappstaras-search #lappstaras-placeholderpagination'+searchType).html(),itemsContainer=$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-items');var lastItem=itemsContainer.find('.lappstaras-item').last();if(lastItem.length===0){lastItem=itemsContainer.children(':visible').last()}
777if(lastItem.length===0){lastItem=itemsContainer.children().last(
777)}
778if(baseForm.length>0){if(pageNumber!=='ended'){var searchWrapper=$(baseForm).find('#lappstaras-search'+searchType);if(!searchWrapper.hasClass('lappstaras-searching')){if(lappstarasIsOnScreen(lastItem)){searchWrapper.addClass('lappstaras-searching');itemsContainer.find('.lappstaras-placeholder-content.lappstaras-pagination').remove();itemsContainer.append(placeHolderPagination);itemsContainer.find('.lappstaras-placeholder-content.lappstaras-pagination').css('display','grid');$(baseForm).find('.lappstaras-search #lappstaras-pagenumber'+searchType).val((pageNumber*1)+1);clearTimeout(timer);timer=setTimeout(()=>{lappstarasLiveSearch(baseForm,$('form#lappstaras-search-form'),searchType,!1,!1)},keyUpDelay)}}}}});function lappstarasLiveSearch(baseForm,elem,searchType,scrollToTop,inWriting){if(lappstarasIsSearching){return}
779lappstarasController=new AbortController();const signal=lappstarasController.signal;lappstarasIsSearching=!0;var categories=[],processUrl=$(elem).attr('ajaxprocessurl'),pageNumber=$(baseForm).find('.lappstaras-search #lappstaras-pagenumber'+searchType).val(),maxProductsToShowByPage=$(baseForm).find('.lappstaras-search #lappstaras-maxproductstoshowbypage'+searchType).val(),searchString=$(baseForm).find('.lappstaras-search #lappstaras-query'+searchType).val(),category=$(baseForm).find('#lappstaras-searchtop.lappstaras-search #lappstaras-category').find(':selected').val(),priceMinInit=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-prices-min').attr('min'),priceMaxInit=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-prices-max').attr('max');priceMin=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-prices-min').val(),priceMax=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-prices-max').val(),sort=$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search #lappstaras-sort').find(':selected').val(),featuredProducts=$(baseForm).find('.lappstaras-search #lappstaras-featured-products'+searchType).val();if(category&&category>0&&searchType==='top'){categories.push(category)}
780$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-filter-categories:checked').each(function(i,v){categories.push($(this).val())});var attributes=[];$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-filter-attributes:checked').each(function(i,v){attributes.push($(this).val())});var features=[];$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-filter-features:checked').each(function(i,v){features.push($(this).val())});var manufacturers=[];$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-filter-manufacturers:checked').each(function(i,v){manufacturers.push($(this).val())});var suppliers=[];$(baseForm).find('#lappstaras-search'+searchType+'.lappstaras-search .lappstaras-filter-suppliers:checked').each(function(i,v){suppliers.push($(this).val())});var filters={'c':categories,'a':attributes,'f':features,'m':manufacturers,'su':suppliers,'sort':sort,'page':pageNumber};if((priceMinInit!==priceMin)||priceMaxInit!==priceMax&&priceMin>0&&priceMax>0){filters.p=[Math.min(priceMin,priceMax),Math.max(priceMin,priceMax)]}
781lappstarasSearchRequestId++;const currentRequestId=lappstarasSearchRequestId;fetch(processUrl,{method:'POST',signal,headers:{'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8'},body:$.param({ajax:!0,searchType:searchType,inWriting:(inWriting?1:0),searchString:searchString,filters:filters})}).then(response=>response.text()).then(data=>{if(currentRequestId!==lappstarasSearchRequestId)return;data=JSON.parse(data);if(data){if(Number(data.data.products_count)<Number(maxProductsToShowByPage)||!data.data.products_html){$(baseForm).find('.lappstaras-search #lappstaras-pagenumber'+searchType).val('ended')}
782$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searchcompleted');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchprogress');$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searching');if(searchType!=='top'){$(baseForm).find('.lappstaras-search .lappstaras-search-header').html(data.data.header_html)}
783$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-filters').html(data.data.sidebar);$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-sidebar .lappstaras-title-section').addClass('lappstaras-active');if(data.data.total<=0&&!data.data.filters.html){$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searchnoresults')}else if(data.data.total<=0&&data.data.filters.html){$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searchfiltersresults')}else{$(baseForm).find('#lappstaras-search'+searchType).addClass('lappstaras-searchresults')}
784if(data.data.filters){if(data.data.filters.html){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-active-filters').addClass('lappstaras-active');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-active-filters .lappstaras-active-filters-content').html(data.data.filters.html)}
785if(data.data.filters.filters){$(data.data.filters.filters).each(function(k,v){$(baseForm).find('#lappstaras-search'+searchType+' input[filter-target="'+v+'"]').prop('checked',!0)})}}
786if(!data.data.categories_html){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-categories').addClass('lappstaras-searchnoresults')}else{$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-categories > span').addClass('lappstaras-active')}
787if(!data.data.manufacturers_html){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-manufacturers').addClass('lappstaras-searchnoresults')}else{$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-manufacturers > span').addClass('lappstaras-active')}
788if(!data.data.suppliers_html){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-suppliers').addClass('lappstaras-searchnoresults')}else{$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-suppliers > span').addClass('lappstaras-active')}
789$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-categories .lappstaras-section-content').html(data.data.categories_html);$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-manufacturers .lappstaras-section-content').html(data.data.manufacturers_html);$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-suppliers .lappstaras-section-content').html(data.data.suppliers_html);
789if(pageNumber>1){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-results-container .lappstaras-items').append(data.data.products_html)}else{$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-results-container .lappstaras-items').html(data.data.products_html)}
790$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-count').html('('+data.data.count_html+')');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-filters-button-do span').html(data.data.count_show_html);$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-button').html(data.data.button_html);$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-pagination-container').html(data.data.pagination_html);if(data.data.url&&!searchType){window.history.pushState("","",data.data.url)}}
791$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-placeholder-content').css('display','none');if(!searchString&&searchType==='top'&&!featuredProducts){$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results').hide();$(baseForm).find('#lappstaras-search'+searchType+' #lappstaras-searchtop-overlay').hide()}
792if(!searchString&&searchType==='top'&&featuredProducts&&data.data.total<=0&&!data.data.filters.html){$(baseForm).find('#lappstaras-search'+searchType).removeClass('lappstaras-searchnoresults');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-results-container').hide();$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-notification').remove();$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-results .lappstaras-count').html('');$(baseForm).find('#lappstaras-search'+searchType+' .lappstaras-featured-products .lappstaras-title-section').addClass('lappstaras-active')}
793if(searchType==='top'){$(baseForm).find('#lappstaras-search'+searchType+' #lappstaras-statistic-save').val('1');if($(window).width()>1199){var subHeight=0,productsSuggestion=$(baseForm).find('.lappstaras-search .lappstaras-search-wrapper.lappstaras-searchtop-wrapper .lappstaras-results .lappstaras-items'),categoriesSuggestion=$(baseForm).find('.lappstaras-search .lappstaras-search-wrapper.lappstaras-searchtop-wrapper .lappstaras-results .lappstaras-categories.lappstaras-section'),manufacturersSuggestion=$(baseForm).find('.lappstaras-search .lappstaras-search-wrapper.lappstaras-searchtop-wrapper .lappstaras-results .lappstaras-manufacturers.lappstaras-section'),suppliersSuggestion=$(baseForm).find('.lappstaras-search .lappstaras-search-wrapper.lappstaras-searchtop-wrapper .lappstaras-results .lappstaras-suppliers.lappstaras-section');if(categoriesSuggestion.length>0){subHeight=((subHeight+categoriesSuggestion.height())*1)}
794if(manufacturersSuggestion.length>0){subHeight=((subHeight+manufacturersSuggestion.height())*1)}
795if(suppliersSuggestion.length>0){subHeight=((subHeight+suppliersSuggestion.height())*1)}
796var maxHeight=((($(window).height()*0.7)-subHeight)*1);if(maxHeight<190){maxHeight=190}
797productsSuggestion.css('max-height',maxHeight+'px')}}
798if(scrollToTop){$('html, body').scrollTop(0)}}).catch(err=>{if(err.name==='AbortError'){return}
799console.error('Erreur recherche :',err)}).finally(()=>{lappstarasController=null;lappstarasIsSearching=!1;if(currentRequestId!==lappstarasSearchRequestId)return})}
800function lappstarasIsOnScreen(elem){if(elem.length<=0){return}
801var $window=$(window);var viewport_top=$window.scrollTop();var viewport_height=$window.height();var viewport_bottom=viewport_top+viewport_height;var $elem=elem;var top=$elem.offset().top;var height=$elem.height();var bottom=top+height;return(top>=viewport_top&&top<viewport_bottom)||(bottom>viewport_top&&bottom<=viewport_bottom)||(height>viewport_height&&top<=viewport_top&&bottom>=viewport_bottom)}});/*
802 * ISC License
803 *
804 * Copyright (c) 2026 idnovate.com
805 * idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
806 *
807 * Permission to use, copy, modify, and/or distribute this software for any
808 * purpose with or without fee is hereby granted, provided that the above
809 * copyright notice and this permission notice appear in all copies.
810 *
811 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
812 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
813 * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
814 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
815 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
816 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
817 * PERFORMANCE OF THIS SOFTWARE.
818 *
819 * @author    idnovate
820 * @copyright 2026 idnovate.com
821 * @license   https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
822 */
823var cookiesPlusBlockedScripts=cookiesPlusBlockedScripts||[];var cookieGdpr={init:function(){var self=this;self.loadedScriptsCount=0;self.loadedScriptsTotal=0;self.consentsGiven=0;if(document.cookie.indexOf('cookiesplus=')===-1){if(typeof C_P_EXPIRY==='undefined'){console.log('%cC_P_EXPIRY is not defined','background: red; color: white');return}
824var expireTime=new Date();expireTime.setDate(expireTime.getDate()+C_P_EXPIRY);var expires="expires="+expireTime.toUTCString();var cookieString="cookiesplus={}; domain="+C_P_DOMAIN+"; "+expires+"; path=/; SameSite="+PS_COOKIE_SAMESITE+";";if(PS_COOKIE_SECURE===1){cookieString+=" Secure;"}
825document.cookie=cookieString}
826const cookies=document.cookie.split('; ');const occurrences=cookies.filter(cookie=>cookie.startsWith('cookiesplus='));if(occurrences.length>1){console.log('%cDuplicate cookies found for cookiesplus','background: red; color: white');occurrences.forEach(()=>{document.cookie='cookiesplus=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;'})}
827$('.cookiesplus-move').appendTo(document.body);let cookiesplusVars=cookieGdpr.tryParseJSONObject(decodeURIComponent(cookieGdpr.getCookiesPlusCookieValue('cookiesplus')));let consentRefused=!1;if(typeof cookiesplusVars.consents==='object'&&cookiesplusVars.consents!==null){cookiesplusFinalities=Object.keys(cookiesplusVars.consents).filter(v=>v.startsWith('cookiesplus-finality'));self.consentsGiven=!1;cookiesplusFinalities.forEach(function(key){self.consentsGiven=!0;if(cookiesplusVars.consents[key]==='on'){$("label[for='"+key+'-'+cookiesplusVars.consents[key]+"']").click()}else{consentRefused=!0}})
828if(cookiesplusVars.consent_hash){$('.cookiesplus-consent-hash a').attr('href',C_P_CONSENT_DOWNLOAD+'?hash='+cookiesplusVars.consent_hash+'&getPdf');$('.cookiesplus-consent-hash a').text(cookiesplusVars.consent_hash);$('.cookiesplus-consent-hash').show()}}
829cookieGdpr.removeCookies();cookieGdpr.loadJs();cookieGdpr.executeScriptsAndCss();if($('body#cms').length){id=$('body#cms').attr('class').match(/cms-[\w-]*\b/);if(id){id=parseInt(id[0].replace(/[^0-9]/gi,''));if((typeof C_P_CMS_PAGE!=='undefined'&&C_P_CMS_PAGE===id)||(typeof C_P_COOKIES_POLICIES!=='undefined'&&C_P_COOKIES_POLICIES===id)){return}}}
830if(typeof C_P_DISPLAY_AGAIN!=='undefined'&&C_P_DISPLAY_AGAIN>0&&consentRefused){var dateCookiesAccepted=new Date(cookiesplusVars.consent_date.replace(/\+/g,' '));var xDaysAgo=new Date();xDaysAgo.setDate(xDaysAgo.getDate()-C_P_DISPLAY_AGAIN);if(dateCookiesAccepted<xDaysAgo){cookieGdpr.displayModal()}}
831if(typeof cookiesplusVars.C_P_DISPLAY_MODAL==='undefined'||(typeof cookiesplusVars.C_P_DISPLAY_MODAL!=='undefined'&&cookiesplusVars.C_P_DISPLAY_MODAL==!0)){cookieGdpr.displayModal()}},displayModal:function(){if(typeof $.uniform!=="undefined"&&typeof $.uniform.update!=="undefined"){$.uniform.update(".cookiesplus-finality-checkbox");$.uniform.restore(".cookiesplus-finality-checkbox")}
832if(typeof C_P_FINALITIES_COUNT==='undefined'||C_P_FINALITIES_COUNT<=1){console.log('%cC_P_FINALITIES_COUNT is empty','background: red; color: white');return}
833if($('.cookiesplus-move.container').length==0){console.log('%cCookiesplus banner not found','background: red; color: white')}
834if($('.cookiesplus-move.container').length>1){console.log('%cCookiesplus banner is duplicated','background: red; color: white')}
835if(typeof C_P_NOT_AVAILABLE_OUTSIDE_EU!=='undefined'&&C_P_NOT_AVAILABLE_OUTSIDE_EU===0){console.log('%cC_P_NOT_AVAILABLE_OUTSIDE_EU','background: red; color: white');return}
836this.displayOverlay();$('.cookiesplus-actions .first-layer').show();$("#cookiesplus-modal").addClass("first-layer-visible");$('.cookiesplus-finalities').slideUp('fast');$('.cookiesplus-actions .second-layer').hide();$("#cookiesplus-modal").removeClass("second-layer-visible");$('#cookiesplus-modal .cookiesplus-close-and-save').show();$('#cookiesplus-modal .cookiesplus-close').hide();$('#cookiesplus-modal').css('display','block').hide().fadeIn('fast')},displayModalAdvanced:function(fromFirstLayer){if(typeof $.uniform!=="undefined"&&typeof $.uniform.update!=="undefined"){$.uniform.update(".cookiesplus-finality-checkbox");$.uniform.restore(".cookiesplus-finality-checkbox")}
836
837$('.cookiesplus-finality-content').each(function(){$(this).hide();$(this).parent().find('.cookiesplus-finality-chevron').removeClass('up').addClass('bottom')});this.displayOverlay();if(typeof C_P_NOT_AVAILABLE_OUTSIDE_EU!=='undefined'&&C_P_NOT_AVAILABLE_OUTSIDE_EU===0){$('#cookiesplus-modal-not-available').fadeIn('fast');$('#cookiesplus-overlay').click(function(){cookieGdpr.close()})}else{$('#cookiesplus-modal').css('display','block').hide().fadeIn('fast');$('.cookiesplus-actions .first-layer').hide();$("#cookiesplus-modal").removeClass("first-layer-visible");$('.cookiesplus-finalities').slideDown('fast');$('.cookiesplus-actions .second-layer').show();$("#cookiesplus-modal").addClass("second-layer-visible");if(!fromFirstLayer){$('#cookiesplus-modal .cookiesplus-close-and-save').hide();$('#cookiesplus-modal .cookiesplus-close-and-reject').hide();$('#cookiesplus-modal #cookiesplus-back').hide();$('#cookiesplus-modal .cookiesplus-close').show()}}},save:function(){return cookieGdpr.sendForm()},acceptAllCookies:function(){$('input:radio:not(:disabled)[name^=cookiesplus-finality-][value=on]').prop('checked',!0);return cookieGdpr.sendForm()},rejectAllCookies:function(){if($('.cookiesplus-text-encourage').length>0){if($('.cookiesplus-text-encourage').is(":visible")){$('input:radio:not(:disabled)[name^=cookiesplus-finality-][value=off]').prop('checked',!0);return cookieGdpr.sendForm()}else{$('.cookiesplus-text').hide();$('.cookiesplus-buttons').hide();$('.cookiesplus-text-encourage').show();$('.cookiesplus-buttons-encourage').show();return!1}}else{$('input:radio:not(:disabled)[name^=cookiesplus-finality-][value=off]').prop('checked',!0);return cookieGdpr.sendForm()}},rejectAllCookiesFromX:function(){$('input:radio:not(:disabled)[name^=cookiesplus-finality-][value=off]').prop('checked',!0);return cookieGdpr.sendForm()},displayOverlay:function(){if(typeof C_P_OVERLAY!=='undefined'&&C_P_OVERLAY==='1'){$('#cookiesplus-overlay').fadeIn('fast');$('#cookiesplus-overlay').css('background-color','rgba(0, 0, 0, '+C_P_OVERLAY_OPACITY+')')}
838$('#cookiesplus-overlay').off('click.shake');let isShaking=!1;$('#cookiesplus-overlay').on('click.shake',function(){if(isShaking)return;isShaking=!0;cookieGdpr.shake($('#cookiesplus-modal'),4,2,20,function(){isShaking=!1})})},close:function(){$('#cookiesplus-modal, #cookiesplus-modal-not-available, #cookiesplus-overlay').hide()},checkEvenDimensions:function(div){var styleObject=$(div).prop('style');styleObject.removeProperty('height');if($(div).height()%2===1){$(div).height(2*Math.round(($(div).height()-1)/2))}
839styleObject.removeProperty('width');$(div).css('width','');if($(div).width()%2===1){$(div).width(2*Math.round(($(div).width()-1)/2))}},shake:function(div,shakes,distance,duration,done){if(shakes>0){div.each(function(){var $el=$(this);var left=$el.css('left');$el.animate({left:"-="+distance},duration,function(){$el.animate({left:"+="+distance*2},duration,function(){$el.animate({left:left},duration,function(){cookieGdpr.shake($el,shakes-1,distance,duration,done)})})})})}else if(typeof done==='function'){done()}},sendForm:function(){this.consentsGiven=!0;let cookiesplusVars=cookieGdpr.tryParseJSONObject(decodeURIComponent(cookieGdpr.getCookiesPlusCookieValue('cookiesplus')));if(cookiesplusVars instanceof Array){cookiesplusVars=Object.assign({},cookiesplusVars)}
840cookiesplusVars.C_P_DISPLAY_MODAL=!1;cookiesplusVars.consents={};$('#cookiesplus-form input:checked').each(function(){cookiesplusVars.consents[$(this).attr('name')]=$(this).val()});cookiesplusVars.consent_date=C_P_DATE;var expireTime=new Date();expireTime.setDate(expireTime.getDate()+C_P_EXPIRY);var expires="expires="+expireTime.toUTCString();var cookieString="cookiesplus="+encodeURIComponent(JSON.stringify(cookiesplusVars))+"; domain="+C_P_DOMAIN+"; "+expires+"; path=/; SameSite="+PS_COOKIE_SAMESITE+";";if(PS_COOKIE_SECURE===1){cookieString+=" Secure;"}
841document.cookie=cookieString;cookieGdpr.removeCookies();if(typeof C_P_REFRESH!=='undefined'&&!C_P_REFRESH){$.ajax({type:"POST",cache:!1,async:!0,url:$('#cookiesplus-form').attr('action'),data:'saveCookiesPlusPreferences=&ajax=1&'+$('#cookiesplus-form').serialize(),dataType:'json',headers:{"cache-control":"no-cache"},success:function(data){if(data.consent_hash){$('.cookiesplus-consent-hash a').attr('href',C_P_CONSENT_DOWNLOAD+'?hash='+cookie
841splusVars.consent_hash+'&getPdf');$('.cookiesplus-consent-hash a').text(data.consent_hash);$('.cookiesplus-consent-hash').show();cookiesplusVars.consent_hash=data.consent_hash;var cookieString="cookiesplus="+encodeURIComponent(JSON.stringify(cookiesplusVars))+"; domain="+C_P_DOMAIN+"; "+expires+"; path=/; SameSite="+PS_COOKIE_SAMESITE+";";if(PS_COOKIE_SECURE===1){cookieString+=" Secure;"}
842document.cookie=cookieString}
843cookieGdpr.loadJs();cookieGdpr.executeScriptsAndCss();cookieGdpr.fireGTMEvents();cookieGdpr.fireMUETEvents()},error:function(XMLHttpRequest,textStatus,errorThrown){window.cookiesplus_debug===!0&&console.log(errorThrown)}});cookieGdpr.close();return!1}else{cookieGdpr.close();return!0}},removeCookies:function(){$('#cookiesplus-form input:checked').each(function(){if($(this).val()!=='on'){let nameAttr=$(this).attr('name');let finalityId=parseInt(nameAttr.split('-').pop());if(typeof C_P_COOKIE_CONFIG[finalityId]!=='undefined'&&typeof C_P_COOKIE_CONFIG[finalityId].cookies!=='undefined'){Object.keys(C_P_COOKIE_CONFIG[finalityId].cookies).forEach(function(key){if(C_P_COOKIE_CONFIG[finalityId].cookies[key].name.includes('#')){let cookieValue=C_P_COOKIE_CONFIG[finalityId].cookies[key].name;let hashIndex=cookieValue.indexOf("#");let prefix=cookieValue.substr(0,hashIndex);let suffix=cookieValue.substr(hashIndex+1);window.cookiesplus_debug===!0&&console.log('Removing cookies starting with '+prefix+' and ending with '+suffix);document.cookie.split(";").forEach(function(cookie){let cookieName=cookie.trim().split("=")[0];if(cookieName.indexOf(prefix)===0&&cookieName.endsWith(suffix)){var urlParts=location.hostname.split('.');for(var i=2;i<urlParts.length+1;i++){window.cookiesplus_debug===!0&&console.log('Removing cookie '+cookieName);document.cookie=cookieName+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/;';document.cookie=cookieName+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/; domain='+urlParts.slice(-i).join('.');document.cookie=cookieName+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/; domain=.'+urlParts.slice(-i).join('.')}}})}else{window.cookiesplus_debug===!0&&console.log('Removing cookie '+C_P_COOKIE_CONFIG[finalityId].cookies[key].name);var urlParts=location.hostname.split('.');for(var i=2;i<urlParts.length+1;i++){document.cookie=C_P_COOKIE_CONFIG[finalityId].cookies[key].name+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/;';document.cookie=C_P_COOKIE_CONFIG[finalityId].cookies[key].name+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/; domain='+urlParts.slice(-i).join('.');document.cookie=C_P_COOKIE_CONFIG[finalityId].cookies[key].name+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;Max-Age=0; path=/; domain=.'+urlParts.slice(-i).join('.')}}})}}})},loadJs:function(){if(!this.consentsGiven){return}
844const variableNames=this.getVariablesStartingWith('cookiesplus_js_');variableNames.forEach(variableName=>{try{const variableValue=window[variableName];if(variableValue){const parsedValue=cookieGdpr.tryParseJSONObject(variableValue);var hookModuleData=[];hookModuleData.id_module=parsedValue.id_module;hookModuleData.location=`#${parsedValue.divName}`;hookModuleData.finalities=parsedValue.finalities;hookModuleData.script=parsedValue.script;hookModuleData.js=cookieGdpr.tryParseJSONObject(parsedValue.js);hookModuleData.css=cookieGdpr.tryParseJSONObject(parsedValue.css);window.cookiesPlusBlockedScripts.push(hookModuleData)}}catch(e){console.error(`Error parsing variable ${variableName}:`,e)}});for(var i=0;i<cookiesPlusBlockedScripts.length;i++){let cookiesPlusBlockedScript=cookiesPlusBlockedScripts[i];let finalities=cookiesPlusBlockedScript.finalities.split(',');let allFinalitiesAccepted=!0;for(var j=0;j<finalities.length;j++){if(!$('#cookiesplus-form input#cookiesplus-finality-'+finalities[j]+'-on:checked').val()){allFinalitiesAccepted=!1;break}}
845if(allFinalitiesAccepted){if(!$.isEmptyObject(cookiesPlusBlockedScript.js)){Object.keys(cookiesPlusBlockedScript.js).forEach((key)=>{self.loadedScriptsTotal+=Object.keys(cookiesPlusBlockedScript.js).length;var s=document.createElement('script');s.setAttribute('src',cookiesPlusBlockedScript.js[key]);s.onload=()=>{self.loadedScriptsCount++};document.body.appendChild(s)})
846cookiesPlusBlockedScripts[i].js=[]}}}
847return!0},executeScriptsAndCss:function(){var self=this;if(!self.consentsGiven){return}
848cookieGdpr.tryParseJSONObject(decodeURIComponent(cookieGdpr.getCookiesPlusCookieValue('cookiesplus')))
849if(self.loadedScriptsCount===self.loadedScriptsTotal){self.executeScriptsAndCssLoaded();self.executeCustomScripts();self.fireFBPixel();self.replaceYTDomain()}else{setTimeout(function(){self.executeScriptsAndCss()},100)}},executeScriptsAndCssLoaded:function(){const variableNames=this.getVariablesStartingWith('cookiesplus_js_');
849variableNames.forEach(variableName=>{try{const variableValue=window[variableName];if(variableValue){const parsedValue=cookieGdpr.tryParseJSONObject(variableValue);var hookModuleData=[];hookModuleData.id_module=parsedValue.id_module;hookModuleData.location=`#${parsedValue.divName}`;hookModuleData.finalities=parsedValue.finalities;hookModuleData.script=parsedValue.script;hookModuleData.js=cookieGdpr.tryParseJSONObject(parsedValue.js);hookModuleData.css=cookieGdpr.tryParseJSONObject(parsedValue.css);window.cookiesPlusBlockedScripts.push(hookModuleData)}}catch(e){console.error(`Error parsing variable ${variableName}:`,e)}});for(var i=0;i<cookiesPlusBlockedScripts.length;i++){let cookiesPlusBlockedScript=cookiesPlusBlockedScripts[i];let finalities=cookiesPlusBlockedScript.finalities.split(',');let allFinalitiesAccepted=!0;for(var j=0;j<finalities.length;j++){if(!$('#cookiesplus-form input#cookiesplus-finality-'+finalities[j]+'-on:checked').val()){allFinalitiesAccepted=!1;break}}
850if(allFinalitiesAccepted){if(cookiesPlusBlockedScript.script){$(cookiesPlusBlockedScript.location).replaceWith(cookiesPlusBlockedScript.script);cookiesPlusBlockedScripts[i].script=[]}
851Object.keys(cookiesPlusBlockedScript.css).forEach(function(key){var s=document.createElement('link');s.setAttribute('rel','stylesheet');s.setAttribute('href',cookiesPlusBlockedScript.css[key]);document.head.appendChild(s)})
852cookiesPlusBlockedScripts[i].css=[]}}
853return!0},executeCustomScripts:function(){$('#cookiesplus-form input:checked').each(function(){if($(this).val()==='on'){if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].script){$('body').append('<div style="display: none;" id="cookiesplus-scripts-'+$(this).data('finality-id')+'"></div>');cookieGdpr.setInnerHTML(document.querySelector('#cookiesplus-scripts-'+$(this).data('finality-id')),C_P_COOKIE_CONFIG[$(this).data('finality-id')].script);C_P_COOKIE_CONFIG[$(this).data('finality-id')].script=[]}
854if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].body_code){$('body').append('<div style="display: none;" id="cookiesplus-body_code-'+$(this).data('finality-id')+'"></div>');cookieGdpr.setInnerHTML(document.querySelector('#cookiesplus-body_code-'+$(this).data('finality-id')),C_P_COOKIE_CONFIG[$(this).data('finality-id')].body_code);C_P_COOKIE_CONFIG[$(this).data('finality-id')].body_code=[]}}else if($(this).val()==='off'){if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].script_not){$('body').append('<div style="display: none;" id="cookiesplus-scripts-'+$(this).data('finality-id')+'"></div>');cookieGdpr.setInnerHTML(document.querySelector('#cookiesplus-scripts-'+$(this).data('finality-id')),C_P_COOKIE_CONFIG[$(this).data('finality-id')].script_not);C_P_COOKIE_CONFIG[$(this).data('finality-id')].script_not=[]}}});return!0},fireGTMEvents:function(){let consentUpdateObject={};$('#cookiesplus-form input:checked').each(function(){if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].gtm_consent_type){Object.keys(C_P_COOKIE_CONFIG[$(this).data('finality-id')].gtm_consent_type).forEach(key=>{if($(this).val()==='on'){window.cookiesplus_debug===!0&&console.log('GTM - Granting consent '+key);consentUpdateObject[key]='granted'}else{window.cookiesplus_debug===!0&&console.log('GTM - Denying consent '+key);consentUpdateObject[key]='denied'}})}});window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
855window.cookiesplus_debug===!0&&console.log('GTM - Consent update object:',consentUpdateObject);gtag('consent','update',consentUpdateObject);$('#cookiesplus-form input:checked').each(function(){if($(this).val()==='on'){if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].firingEvent){window.cookiesplus_debug===!0&&console.log('Firing event '+[C_P_COOKIE_CONFIG[$(this).data('finality-id')].firingEvent]);dataLayer.push({'event':[C_P_COOKIE_CONFIG[$(this).data('finality-id')].firingEvent]})}}});return!0},fireMUETEvents:function(){let consentUpdateObject={};$('#cookiesplus-form input:checked').each(function(){if(typeof C_P_COOKIE_CONFIG!=='undefined'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].muet_consent_type){Object.keys(C_P_COOKIE_CONFIG[$(this).data('finality-id')].muet_consent_type).forEach(key=>{if($(this).val()==='on'){window.cookiesplus_debug===!0&&console.log('MUET - Granting consent '+key);consentUpdateObject[key]='granted'}else{window.cookiesplus_debug===!0&&console.log('MUET - Denying consent '+key);consentUpdateObject[key]='denied'}})}});if(consentUpdateObject&&Object.keys(consentUpdateObject).length>0){window.uetq=window.uetq||[];window.cookiesplus_debug===!0&&console.log('MUET - Consent update object:',consentUpdateObject);window.uetq.push('consent',{consentUpdateObject})}
856return!0},fireFBPixel:function(){if(typeof C_P_COOKIE_CONFIG==='undefined'){return!1}
857let fbAllConsents=!1;$('#cookiesplus-form input:checked').each(function(){fbAllConsents=!0;
857if($(this).val()!=='on'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].fb){fbAllConsents=!1;return!1}});if(fbAllConsents){window.cookiesplus_debug===!0&&console.log('Firing FB Pixel');if(typeof fbq!=='undefined'){fbq('consent','grant')}}
858return!0},replaceYTDomain:function(){if(typeof C_P_COOKIE_CONFIG==='undefined'){return!1}
859let ytAllConsents=!1;$('#cookiesplus-form input:checked').each(function(){ytAllConsents=!0;if($(this).val()!=='on'&&C_P_COOKIE_CONFIG[$(this).data('finality-id')]&&C_P_COOKIE_CONFIG[$(this).data('finality-id')].yt){ytAllConsents=!1;return!1}});if(ytAllConsents){window.cookiesplus_debug===!0&&console.log('Replacing YT domain');$('iframe, script').each(function(){var src=$(this).attr('src');if(src&&src.includes('youtube-nocookie.com')){var newSrc=src.replace('youtube-nocookie.com','youtube.com');$(this).attr('src',newSrc)}});$('a').each(function(){var href=$(this).attr('href');if(href&&href.includes('youtube-nocookie.com')){var newHref=href.replace('youtube-nocookie.com','youtube.com');$(this).attr('href',newHref)}})}
860return!0},setInnerHTML:function(elm,html){elm.innerHTML=html;
860Array.from(elm.querySelectorAll("script")).forEach(function(oldScript){const newScript=document.createElement("script");Array.from(oldScript.attributes).forEach(function(attr){newScript.setAttribute(attr.name,attr.value)});newScript.appendChild(document.createTextNode(oldScript.innerHTML));oldScript.parentNode.replaceChild(newScript,oldScript)})},tryParseJSONObject:function(jsonString){try{var o=JSON.parse(jsonString);if(o&&typeof o==="object"){return o}}catch(e){}
861return{}},getCookiesPlusCookieValue:function(name){var match=document.cookie.match(RegExp('(?:^|;\\s*)'+name+'=([^;]*)'));return match?match[1]:null},getVariablesStartingWith:function(prefix){const globalObj=typeof window!=='undefined'?window:global;return Object.keys(globalObj).filter(key=>key.startsWith(prefix))}}
862function waitForJqueryAndInitCookies(){if(typeof jQuery!=='undefined'){$(document).ready(function(){if(window.cookiesplus_debug){debugger}
863cookieGdpr.init();$('.cookiesplus-displaymodal').on('click',function(){cookieGdpr.displayModal()})
864$('.cookiesplus-displaymodaladvanced').on('click',function(){cookieGdpr.displayModalAdvanced()})
865$('a[href*="#cookiesplus-displaymodaladvanced"]').click(function(e){e.preventDefault();cookieGdpr.displayModalAdvanced()})})}else{setTimeout(waitForJqueryAndInitCookies,100)}}
866waitForJqueryAndInitCookies();/**
867 * 2015-2024 Chronopost SAS
868 *
869 * NOTICE OF LICENSE
870 *
871 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
872 * that is bundled with this package in the file LICENSE.txt.
873 * It is also available through the world-wide-web at this URL:
874 * https://opensource.org/licenses/AFL-3.0
875 * If you did not receive a copy of the license and are unable to
876 * obtain it through the world-wide-web, please send an email
877 * to [email protected] so we can send you a copy immediately.
878 *
879 * @author    Chronopost SAS <[email protected]>
880 * @copyright 2015-2024 Chronopost SAS
881 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
882 */
883function chrAdminAjaxRequest(action,data,type='POST'){return new Promise((resolve,reject)=>{$.ajax({type:type,cache:!1,url:Chronopost.admin_ajax_endpoint,data:{ajax:!0,controller:'AdminChronopostAjax',action:action,ajaxData:data,token:Chronopost.csrf_token,},success:function(r){resolve(r)},error:function(r){reject(r)}})})}
884function chrAjaxRequest(data,type='POST'){return new Promise((resolve,reject)=>{$.ajax({type:type,cache:!1,url:Chronopost.ajax_endpoint,data:data,success:function(r){resolve(r)},error:function(r){reject(r)}})})};/**
885 * 2007-2025 PrestaShop
886 *
887 * NOTICE OF LICENSE
888 *
889 * This source file is subject to the Academic Free License (AFL 3.0)
890 * that is bundled with this package in the file LICENSE.txt.
891 * It is also available through the world-wide-web at this URL:
892 * http://opensource.org/licenses/afl-3.0.php
893 * If you did not receive a copy of the license and are unable to
894 * obtain it through the world-wide-web, please send an email
895 * to [email protected] so we can send you a copy immediately.
896 *
897 * DISCLAIMER
898 *
899 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
900 * versions in the future. If you wish to customize PrestaShop for your
901 * needs please refer to http://www.prestashop.com for more information.
902 *
903 *  @author PrestaShop SA <[email protected]>
904 *  @copyright  2007-2025 PrestaShop SA
905 *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
906 *  International Registered Trademark & Property of PrestaShop SA
907 */
908$(document).ready(function(){singleblock();$(window).resize(function(){singleblock()});function singleblock(){if(document.body.clientWidth<=575){$('.tvsingle-block-info-box').insertAfter('.tvsingle-block-image-info-wrapper .tv-single-block-image-wrapper-2')}else{$('.tvsingle-block-info-box').insertAfter('.tvsingle-block-image-info-wrapper .tv-single-block-image-wrapper-1')}}});$(window).on('load',function(){let count=document.querySelectorAll(".tvadvance-block-content-count")
909let arr=Array.from(count)
910arr.map(function(item){let startnumber=+0
911function counterup(){startnumber++
912item.innerHTML=startnumber
913if(startnumber==item.dataset.number){clearInterval(stop)}}
914let stop=setInterval(function(){counterup()},50)})});/**
915* 2007-2025 PrestaShop
916*
917* NOTICE OF LICENSE
918*
919* This source file is subject to the Academic Free License (AFL 3.0)
920* that is bundled with this package in the file LICENSE.txt.
921* It is also available through the world-wide-web at this URL:
922* http://opensource.org/licenses/afl-3.0.php
923* If you did not receive a copy of the license and are unable to
924* obtain it through the world-wide-web, please send an email
925* to [email protected] so we can send you a copy immediately.
926*
927* DISCLAIMER
928*
929* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
930* versions in the future. If you wish to customize PrestaShop for your
931* needs please refer to http://www.prestashop.com for more information.
932*
933*  @author PrestaShop SA <[email protected]>
934*  @copyright  2007-2025 PrestaShop SA
935*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
936*  International Registered Trademark & Property of PrestaShop SA
937*/
938var mobileViewSize=991;var blogHomePageSlider=767;$(document).ready(function(){leftRightSideSlider();function leftRightSideSlider(){$('.tvcmsblog-left-side .tvnews-wrapper-info-box').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:2,slideBy:1},992:{items:2,slideBy:1},1000:{items:3,slideBy:1},1199:{items:3,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}},});$('.tvblog-left-side-prev').click(function(e){e.preventDefault();$('.tvnews-wrapper-info-box .owl-nav .owl-prev').trigger('click')});$('.tvblog-left-side-next').click(function(e){e.preventDefault();$('.tvnews-wrapper-info-box .owl-nav .owl-next').trigger('click')})}
939$('.tvcmsblog-gallery-slider').each(function(){var slider_id=$(this).attr('data-slider-id');var parent_class='.tvcmsblog-gallery-slider.'+slider_id;$(parent_class+' .tvblog-wrapper-slider').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}},});$(parent_class+' .tvcmsblog-gallery-slider-prev').click(function(e){e.preventDefault();$(parent_class+' .owl-nav .owl-prev').trigger('click')});$(parent_class+' .tvcmsblog-gallery-slider-next').click(function(e){e.preventDefault();$(parent_class+' .owl-nav .owl-next').trigger('click')})});$('.tvcmsblog-video-slider').each(function(){var slider_id=$(this).attr('data-slider-id');var parent_class='.tvcmsblog-video-slider.'+slider_id;$(parent_class+' .tvblog-wrapper-slider').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}},});$(parent_class+' .tvblog-video-slider-prev').click(function(e){e.preventDefault();$(parent_class+' .owl-nav .owl-prev').trigger('click')});$(parent_class+' .tvblog-video-slider-next').click(function(e){e.preventDefault();$(parent_class+' .owl-nav .owl-next').trigger('click')})});$(window).resize(function(){blogHomePage()});blogHomePage();function blogHomePage(){if(mobileViewSize<=document.body.clientWidth){$('.tvnews-event-wrapper .tvblog-odd').each(function(){$(this).find('.tvnews-event-content-wrapper').insertBefore($(this).find('.tvblog-img-block'))})}else{$('.tvnews-event-wrapper .tvblog-odd').each(function(){$(this).find('.tvnews-event-content-wrapper').insertAfter($(this).find('.tvblog-img-block'))})}}});/**
940 * 2007-2025 PrestaShop
941 *
942 * NOTICE OF LICENSE
943 *
944 * This source file is subject to the Academic Free License (AFL 3.0)
945 * that is bundled with this package in the file LICENSE.txt.
946 * It is also available through the world-wide-web at this URL:
947 * http://opensource.org/licenses/afl-3.0.php
948 * If you did not receive a copy of the license and are unable to
949 * obtain it through the world-wide-web, please send an email
950 * to [email protected] so we can send you a copy immediately.
951 *
952 * DISCLAIMER
953 *
954 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
955 * versions in the future. If you wish to customize PrestaShop for your
956 * needs please refer to http://www.prestashop.com for more information.
957 *
958 *  @author    PrestaShop SA <[email protected]>
959 *  @copyright 2007-2025 PrestaShop SA
960 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
961 *  International Registered Trademark & Property of PrestaShop SA
962 */
963jQuery(document).ready(function($){var rtlVal=!1;
vendor: 12,570 bytes, lines 963-1014
963if($('body').hasClass('lang-rtl')){var rtlVal=!0}
964$('.tvcmscategory-chain-slider .tvcategory-chain-slider-content-box').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,rtl:rtlVal,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},575:{items:2,slideBy:1},769:{items:3,slideBy:1},992:{items:3,slideBy:1},1200:{items:3,slideBy:1},1600:{items:3,slideBy:1},1800:{items:3,slideBy:1}},});$('.tvcategory-chain-slider-prev').click(function(e){e.preventDefault();$('.tvcmscategory-chain-slider .owl-nav .owl-prev').trigger('click')});$('.tvcategory-chain-slider-next').click(function(e){e.preventDefault();$('.tvcmscategory-chain-slider .owl-nav .owl-next').trigger('click')});$('.tvcmscategory-chain-slider .tvcategory-chain-slider-pagination-wrapper').insertAfter('.tvcmscategory-chain-slider .tvcategory-chain-slider-content-box');$('.tvcmscategory-chain-slider .tvleft-right-title-toggle').on('click',function(e){e.preventDefault();if(document.body.clientWidth<=1199){if($(this).hasClass('open')){$(this).removeClass('open');$(this).parent().parent().find('.tvcategory-chain-slider-inner-info-box').removeClass('open').stop(!1).slideUp(500,"swing")}else{$(this).addClass('open');$(this).parent().parent().find('.tvcategory-chain-slider-inner-info-box').addClass('open').stop(!1).slideDown(500,"swing")}}
965e.stopPropagation()})});/**
966* 2007-2025 PrestaShop
967*
968* NOTICE OF LICENSE
969*
970* This source file is subject to the Academic Free License (AFL 3.0)
971* that is bundled with this package in the file LICENSE.txt.
972* It is also available through the world-wide-web at this URL:
973* http://opensource.org/licenses/afl-3.0.php
974* If you did not receive a copy of the license and are unable to
975* obtain it through the world-wide-web, please send an email
976* to [email protected] so we can send you a copy immediately.
977*
978* DISCLAIMER
979*
980* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
981* versions in the future. If you wish to customize PrestaShop for your
982* needs please refer to http://www.prestashop.com for more information.
983*
984*  @author    PrestaShop SA <[email protected]>
985*  @copyright 2007-2025 PrestaShop SA
986*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
987*  International Registered Trademark & Property of PrestaShop SA
988*/
989$(document).ready(function(){});/*
990* 2007-2025 PrestaShop
991*
992* NOTICE OF LICENSE
993*
994* This source file is subject to the Open Software License (OSL 3.0)
995* that is bundled with this package in the file LICENSE.txt.
996* It is also available through the world-wide-web at this URL:
997* http://opensource.org/licenses/osl-3.0.php
998* If you did not receive a copy of the license and are unable to
999* obtain it through the world-wide-web, please send an email
1000* to [email protected] so we can send you a copy immediately.
1001*
1002* DISCLAIMER
1003*
1004* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1005* versions in the future. If you wish to customize PrestaShop for your
1006* needs please refer to http://www.prestashop.com for more information.
1007*
1008*  @author PrestaShop SA <[email protected]>
1009*  @copyright  2007-2025 PrestaShop SA
1010*  @version  Release: $Revision$
1011*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1012*  International Registered Trademark & Property of PrestaShop SA
1013*/
1014!function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(n.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(n.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h,r-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],n.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},n.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},n.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,function(t){t<=e&&t>s&&(s=Number(t))}),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy(function(t){return this[t]},this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;
vendor: 5,706 bytes, line 1014
10143!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var n=-1,o=this.width(),r=this.coordinates();return this.settings.freeDrag||t.each(r,t.proxy(function(t,a){return"left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-o-30&&e<a-o+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",r[t+1]!==s?r[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?n=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(n=e=this.maximum())),n},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){if(e=this._items.length)for(i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))}
vendor: 7,997 bytes, line 1014
1014,n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):t=this.settings.rewind?(t%(h+=1)+h)%h:Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},n.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var s in this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],function(t){return t}).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(l)}),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,s){return t.inArray(i,this._states.tags[e.name])===s},this)))},n.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},n.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)})},t.fn.owlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in 
vendor: 8,113 bytes, line 1014
1014this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(s+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,s++));n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy(function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("src",r):o.is("source")?o.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("srcset",r):((n=new Image).onload=t.proxy(function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")},this),n.src=r)},this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var s=this;t(e).on("load",function(){s._core.settings.autoHeight&&s.update()}),t(e).resize(function(){s._core.settings.autoHeight&&(null!=s._intervalId&&clearTimeout(s._intervalId),s._intervalId=setTimeout(function(){s.update()},250))})};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,s=this._core.settings.lazyLoad,n=this._core.$stage.children().toArray().slice(e,i),o=[],r=0;t.each(n,function(e,i){o.push(t(i).height())}),(r=Math.max.apply(null,o))<=1&&s&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o,r=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",a=e.find("img"),h="src",l="",c=this._core.settings,p=function(i){n='<div class="owl-video-play-icon"></div>',s=c.lazyLoad?t("<div/>",{class:"owl-video-tn "+l,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(s),e.after(n)};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(h="data-src",l="owl-lazy"),a.length)return p(a.attr(h)),a.remove(),!1;"youtube"===i.type?(o="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",p(o)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,p(o)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,p(o)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),i.attr("width",o),"youtube"===n.type?i.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?i.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&i.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;
vendor: 2,077 bytes, line 1014
1014this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=n}
vendor: 8,386 bytes, line 1014
1014(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(s){this._call=e.setTimeout(t.proxy(this._next,this,s),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,s){var n;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-n,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,s),i-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s,n;n=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&n.navContainer?this._controls[e].html(""):this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=n}
vendor: 3,663 bytes, lines 1014-1039
1014(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,function(t,e){return t===s?e:null}).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=t("<support>").get(0).style,o="Webkit Moz O ms".split(" "),r={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},a=function(){return!!c("transform")},h=function(){return!!c("perspective")},l=function(){return!!c("animation")};function c(e,i){var r=!1,a=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+o.join(a+" ")+a).split(" "),function(t,e){if(n[e]!==s)return r=!i||e,!1}),r}function p(t){return c(t,!0)}(function(){return!!c("transition")})()&&(t.support.transition=new String(p("transition")),t.support.transition.end=r.transition.end[t.support.transition]),l()&&(t.support.animation=new String(p("animation")),t.support.animation.end=r.animation.end[t.support.animation]),a()&&(t.support.transform=new String(p("transform")),t.support.transform3d=h())}(window.Zepto||window.jQuery,window,document);/**
1015* 2007-2025 PrestaShop
1016*
1017* NOTICE OF LICENSE
1018*
1019* This source file is subject to the Academic Free License (AFL 3.0)
1020* that is bundled with this package in the file LICENSE.txt.
1021* It is also available through the world-wide-web at this URL:
1022* http://opensource.org/licenses/afl-3.0.php
1023* If you did not receive a copy of the license and are unable to
1024* obtain it through the world-wide-web, please send an email
1025* to [email protected] so we can send you a copy immediately.
1026*
1027* DISCLAIMER
1028*
1029* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1030* versions in the future. If you wish to customize PrestaShop for your
1031* needs please refer to http://www.prestashop.com for more information.
1032*
1033*  @author    PrestaShop SA <[email protected]>
1034*  @copyright 2007-2025 PrestaShop SA
1035*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1036*  International Registered Trademark & Property of PrestaShop SA
1037*
1038* Don't forget to prefix your containers with your own identifier
1039* to avoid any conflicts with others containers.
vendor: 43,494 bytes, lines 1040-1041
1040*/
1041(function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)})(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(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 i('<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},n.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},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,"undefined"!=typeof document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateADA=function(){var i=this;i.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):o===!0?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),s.options.vertical===!1?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),s.options.vertical===!1?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this,o=t.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};e.options.fade===!1?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(i.options.infinite===!1&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1===0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(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),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<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),e.options.centerMode!==!0&&e.options.swipeToSlide!==!0||(e.options.slidesToScroll=1),i("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),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(r.originalSettings.mobileFirst===!1?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!==0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),e.options.accessibility===!0&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),e.options.accessibility===!0&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>0&&(i=e.$slides.children().children(),i.removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){var e=this;e.shouldClick===!1&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".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(){i(this).attr("style",i(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])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;t.cssTransitions===!1?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;e.cssTransitions===!1?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&o.is(":focus")&&(e.focussed=!0,e.autoPlay())},0)}).on("blur.slick","*",function(t){i(this);e.options.pauseOnFocus&&(e.focussed=!1,e.autoPlay())})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var i=this;return i.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(i.options.centerMode===!0)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,n.options.vertical===!0&&n.options.centerMode===!0&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!==0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),n.options.centerMode===!0&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=n.options.vertical===!1?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,n.options.variableWidth===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,n.options.centerMode===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){var e=this;return e.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?i=e.slideCount:(t=e.options.slidesToScroll*-1,o=e.options.slidesToScroll*-1,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o,s,n=this;return s=n.options.centerMode===!0?Math.floor(n.$list.width()/2):0,o=n.swipeLeft*-1+s,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(e,s){var r,l,d;if(r=i(s).outerWidth(),l=s.offsetLeft,n.options.centerMode!==!0&&(l+=r/2),d=l+r,o<d)return t=s,!1}),e=Math.abs(i(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){var t=this;t.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(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]),t.options.accessibility===!0&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);if(i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),s!==-1){var n="slick-slide-control"+e.instanceUid+s;i("#"+n).length&&i(this).attr({"aria-describedby":n})}}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),i.options.accessibility===!0&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.accessibility===!0&&e.$dots.on("keydown.slick",e.keyHandler)),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===i.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||r.$slider.attr("data-sizes"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),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])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},n.src=t})}var t,o,s,n,r=this;if(r.options.centerMode===!0?r.options.infinite===!0?(s=r.currentSlide+(r.options.slidesToShow/2+1),n=s+r.options.slidesToShow+2):(s=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=2+(r.options.slidesToShow/2+1)+r.currentSlide):(s=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(s+r.options.slidesToShow),r.options.fade===!0&&(s>0&&s--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),"anticipated"===r.options.lazyLoad)for(var l=s-1,d=n,a=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)l<0&&(l=r.slideCount-1),t=t.add(a.eq(l)),t=t.add(a.eq(d)),l--,d++;e(t),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),e(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidesToShow*-1),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var i=this;i.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;if(!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(),t.options.accessibility===!0&&(t.initADA(),t.options.focusOnChange))){var o=i(t.$slides.get(t.currentSlide));o.attr("tabindex",0).focus()}},e.prototype.prev=e.prototype.slickPrev=function(){var i=this;i.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),r=document.createElement("img"),r.onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),l.options.adaptiveHeight===!0&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.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),e.options.focusOnSelect===!0&&i(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])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slideCount-1):i=e===!0?--i:i,!(o.slideCount<1||i<0||i>o.slideCount-1)&&(o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;i.options.vertical===!1?i.options.centerMode===!0&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),i.options.centerMode===!0&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),i.options.vertical===!1&&i.options.variableWidth===!1?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):i.options.variableWidth===!0?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();i.options.variableWidth===!1&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":"undefined"!=typeof arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),i.options.fade===!1?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=i.options.vertical===!0?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||i.options.useCSS===!0&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&i.animType!==!1&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&i.animType!==!1},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),n.options.centerMode===!0){var r=n.options.slidesToShow%2===0?1:0;e=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));return s||(s=0),t.slideCount<=t.options.slidesToShow?void t.slideHandler(s,!1,!0):void t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(a.animating===!0&&a.options.waitForAnimate===!0||a.options.fade===!0&&a.currentSlide===i))return e===!1&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,a.options.infinite===!1&&a.options.centerMode===!1&&(i<0||i>a.getDotCount()*a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):a.options.infinite===!1&&a.options.centerMode===!0&&(i<0||i>a.slideCount-a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!==0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!==0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=a.getNavTarget(),l=l.slick("getSlick"),l.slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide)),a.updateDots(),a.updateArrows(),a.options.fade===!0?(t!==!0?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight()):void(t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)))},e.prototype.startLoad=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?s.options.rtl===!1?"left":"right":o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(o.touchObject.edgeHit===!0&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&i.type.indexOf("mouse")!==-1))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(l.options.verticalSwiping===!0&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(l.options.rtl===!1?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),l.options.verticalSwiping===!0&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,l.options.infinite===!1&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),l.options.vertical===!1?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,l.options.verticalSwiping===!0&&(l.swipeLeft=e+o*s),l.options.fade!==!0&&l.options.touchMove!==!1&&(l.animating===!0?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;return t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,void(t.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".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","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i,e=this;i=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&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&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||"undefined"==typeof s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),"undefined"!=typeof t)return t;return o}});
1041/**
1042 * 2007-2025 PrestaShop
1043 *
1044 * NOTICE OF LICENSE
1045 *
1046 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
1047 * that is bundled with this package in the file LICENSE.txt.
1048 * It is also available through the world-wide-web at this URL:
1049 * https://opensource.org/licenses/AFL-3.0
1050 * If you did not receive a copy of the license and are unable to
1051 * obtain it through the world-wide-web, please send an email
1052 * to [email protected] so we can send you a copy immediately.
1053 *
1054 * DISCLAIMER
1055 *
1056 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1057 * versions in the future. If you wish to customize PrestaShop for your
1058 * needs please refer to http://www.prestashop.com for more information.
1059 *
1060 * @author    PrestaShop SA <[email protected]>
1061 * @copyright 2007-2025 PrestaShop SA
1062 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
1063 * International Registered Trademark & Property of PrestaShop SA
1064 */
1065!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){function t(t){var r,i,n,o=arguments.length,s=window[t],a=arguments,u=a[1];if(2>o)throw Error("Minimum 2 arguments must be given");if(e.isArray(u)){i={};for(var f in u){r=u[f];try{i[r]=JSON.parse(s.getItem(r))}catch(c){i[r]=s.getItem(r)}}return i}if(2!=o){try{i=JSON.parse(s.getItem(u))}catch(c){throw new ReferenceError(u+" is not defined in this storage")}for(var f=2;o-1>f;f++)if(i=i[a[f]],void 0===i)throw new ReferenceError([].slice.call(a,1,f+1).join(".")+" is not defined in this storage");if(e.isArray(a[f])){n=i,i={};for(var m in a[f])i[a[f][m]]=n[a[f][m]];return i}return i[a[f]]}try{return JSON.parse(s.getItem(u))}catch(c){return s.getItem(u)}}function r(t){var r,i,n=arguments.length,o=window[t],s=arguments,a=s[1],u=s[2],f={};if(2>n||!e.isPlainObject(a)&&3>n)throw Error("Minimum 3 arguments must be given or second parameter must be an object");if(e.isPlainObject(a)){for(var c in a)r=a[c],e.isPlainObject(r)?o.setItem(c,JSON.stringify(r)):o.setItem(c,r);return a}if(3==n)return"object"==typeof u?o.setItem(a,JSON.stringify(u)):o.setItem(a,u),u;try{i=o.getItem(a),null!=i&&(f=JSON.parse(i))}catch(m){}i=f;for(var c=2;n-2>c;c++)r=s[c],i[r]&&e.isPlainObject(i[r])||(i[r]={}),i=i[r];return i[s[c]]=s[c+1],o.setItem(a,JSON.stringify(f)),f}function i(t){var r,i,n=arguments.length,o=window[t],s=arguments,a=s[1];if(2>n)throw Error("Minimum 2 arguments must be given");if(e.isArray(a)){for(var u in a)o.removeItem(a[u]);return!0}if(2==n)return o.removeItem(a),!0;try{r=i=JSON.parse(o.getItem(a))}catch(f){throw new ReferenceError(a+" is not defined in this storage")}for(var u=2;n-1>u;u++)if(i=i[s[u]],void 0===i)throw new ReferenceError([].slice.call(s,1,u).join(".")+" is not defined in this storage");if(e.isArray(s[u]))for(var c in s[u])delete i[s[u][c]];else delete i[s[u]];return o.setItem(a,JSON.stringify(r)),!0}function n(t,r){var n=a(t);for(var o in n)i(t,n[o]);if(r)for(var o in e.namespaceStorages)u(o)}function o(r){var i=arguments.length,n=arguments,s=(window[r],n[1]);if(1==i)return 0==a(r).length;if(e.isArray(s)){for(var u=0;u<s.length;u++)if(!o(r,s[u]))return!1;return!0}try{var f=t.apply(this,arguments);e.isArray(n[i-1])||(f={totest:f});for(var u in f)if(!(e.isPlainObject(f[u])&&e.isEmptyObject(f[u])||e.isArray(f[u])&&!f[u].length)&&f[u])return!1;return!0}catch(c){return!0}}function s(r){var i=arguments.length,n=arguments,o=(window[r],n[1]);if(2>i)throw Error("Minimum 2 arguments must be given");if(e.isArray(o)){for(var a=0;a<o.length;a++)if(!s(r,o[a]))return!1;return!0}try{var u=t.apply(this,arguments);e.isArray(n[i-1])||(u={totest:u});for(var a in u)if(void 0===u[a]||null===u[a])return!1;return!0}catch(f){return!1}}function a(r){var i=arguments.length,n=window[r],o=arguments,s=(o[1],[]),a={};if(a=i>1?t.apply(this,o):n,a._cookie)for(var u in e.cookie())""!=u&&s.push(u.replace(a._prefix,""));else for(var f in a)s.push(f);return s}function u(t){if(!t||"string"!=typeof t)throw Error("First parameter must be a string");g?(window.localStorage.getItem(t)||window.localStorage.setItem(t,"{}"),window.sessionStorage.getItem(t)||window.sessionStorage.setItem(t,"{}")):(window.localCookieStorage.getItem(t)||window.localCookieStorage.setItem(t,"{}"),window.sessionCookieStorage.getItem(t)||window.sessionCookieStorage.setItem(t,"{}"));var r={localStorage:e.extend({},e.localStorage,{_ns:t}),sessionStorage:e.extend({},e.sessionStorage,{_ns:t})};return e.cookie&&(window.cookieStorage.getItem(t)||window.cookieStorage.setItem(t,"{}"),r.cookieStorage=e.extend({},e.cookieStorage,{_ns:t})),e.namespaceStorages[t]=r,r}function f(e){if(!window[e])return!1;var t="jsapi";try{return window[e].setItem(t,t),window[e].removeItem(t),!0}catch(r){return!1}}var c="ls_",m="ss_",g=f("localStorage"),h={_type:"",_ns:"",_callMethod:function(e,t){var r=[this._type],t=Array.prototype.slice.call(t),i=t[0];return this._ns&&r.push(this._ns),"string"==typeof i&&-1!==i.indexOf(".")&&(t.shift(),[].unshift.apply(t,i.split("."))),[].push.apply(r,t),e.apply(this,r)},get:function(){return this._callMethod(t,arguments)},set:function(){var t=arguments.length,i=arguments,n=i[0];if(1>t||!e.isPlainObject(n)&&2>t)throw Error("Minimum 2 arguments must be given or first parameter must be an object");
1065if(e.isPlainObject(n)&&this._ns){for(var o in n)r(this._type,this._ns,o,n[o]);return n}var s=this._callMethod(r,i);return this._ns?s[n.split(".")[0]]:s},remove:function(){if(arguments.length<1)throw Error("Minimum 1 argument must be given");return this._callMethod(i,arguments)},removeAll:function(e){return this._ns?(r(this._type,this._ns,{}),!0):n(this._type,e)},isEmpty:function(){return this._callMethod(o,arguments)},isSet:function(){if(arguments.length<1)throw Error("Minimum 1 argument must be given");return this._callMethod(s,arguments)},keys:function(){return this._callMethod(a,arguments)}};if(e.cookie){window.name||(window.name=Math.floor(1e8*Math.random()));var l={_cookie:!0,_prefix:"",_expires:null,_path:null,_domain:null,setItem:function(t,r){e.cookie(this._prefix+t,r,{expires:this._expires,path:this._path,domain:this._domain})},getItem:function(t){return e.cookie(this._prefix+t)},removeItem:function(t){return e.removeCookie(this._prefix+t)},clear:function(){for(var t in e.cookie())""!=t&&(!this._prefix&&-1===t.indexOf(c)&&-1===t.indexOf(m)||this._prefix&&0===t.indexOf(this._prefix))&&e.removeCookie(t)},setExpires:function(e){return this._expires=e,this},setPath:function(e){return this._path=e,this},setDomain:function(e){return this._domain=e,this},setConf:function(e){return e.path&&(this._path=e.path),e.domain&&(this._domain=e.domain),e.expires&&(this._expires=e.expires),this},setDefaultConf:function(){this._path=this._domain=this._expires=null}};g||(window.localCookieStorage=e.extend({},l,{_prefix:c,_expires:3650}),window.sessionCookieStorage=e.extend({},l,{_prefix:m+window.name+"_"})),window.cookieStorage=e.extend({},l),e.cookieStorage=e.extend({},h,{_type:"cookieStorage",setExpires:function(e){return window.cookieStorage.setExpires(e),this},setPath:function(e){return window.cookieStorage.setPath(e),this},setDomain:function(e){return window.cookieStorage.setDomain(e),this},setConf:function(e){return window.cookieStorage.setConf(e),this},setDefaultConf:function(){return window.cookieStorage.setDefaultConf(),this}})}e.initNamespaceStorage=function(e){return u(e)},g?(e.localStorage=e.extend({},h,{_type:"localStorage"}),e.sessionStorage=e.extend({},h,{_type:"sessionStorage"})):(e.localStorage=e.extend({},h,{_type:"localCookieStorage"}),e.sessionStorage=e.extend({},h,{_type:"sessionCookieStorage"})),e.namespaceStorages={},e.removeAllStorages=function(t){e.localStorage.removeAll(t),e.sessionStorage.removeAll(t),e.cookieStorage&&e.cookieStorage.removeAll(t),t||(e.namespaceStorages={})}});/*
1066* 2007-2025 PrestaShop
1067*
1068* NOTICE OF LICENSE
1069*
1070* This source file is subject to the Open Software License (OSL 3.0)
1071* that is bundled with this package in the file LICENSE.txt.
1072* It is also available through the world-wide-web at this URL:
1073* http://opensource.org/licenses/osl-3.0.php
1074* If you did not receive a copy of the license and are unable to
1075* obtain it through the world-wide-web, please send an email
1076* to [email protected] so we can send you a copy immediately.
1077*
1078* DISCLAIMER
1079*
1080* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1081* versions in the future. If you wish to customize PrestaShop for your
1082* needs please refer to http://www.prestashop.com for more information.
1083*
1084*  @author PrestaShop SA <[email protected]>
1085*  @copyright  2007-2025 PrestaShop SA
1086*  @version  Release: $Revision$
1087*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1088*  International Registered Trademark & Property of PrestaShop SA
1089*/
1090(function(jQuery){jQuery.fn.balance=function(options){var defaults={set_height:!1,same_height:!0,same_width:!1,limit_height:!1,limit_width:!1,max_height:100,max_width:100}
1091var options=jQuery.extend(defaults,options);$maxheight=$maxwidth=0;$class=jQuery(this);$class.each(function(){$maxheight=parseFloat(jQuery(this).height())>$maxheight?jQuery(this).height():$maxheight;$maxwidth=parseFloat(jQuery(this).width())>$maxwidth?jQuery(this).width():$maxwidth});if(options.same_height){$maxheight=options.limit_height?(options.max_height<=$maxheight?options.max_height:$maxheight):$maxheight;if(options.set_height){$class.css({'height':$maxheight+'px'})}else{$class.css({'min-height':$maxheight+'px'})}}
1092if(options.same_width){$maxwidth=options.limit_width?(options.max_width<=$maxwidth?options.max_width:$maxwidth):$maxwidth;$class.width($maxwidth)}}})(jQuery);/*
1093* 2007-2025 PrestaShop
1094*
1095* NOTICE OF LICENSE
1096*
1097* This source file is subject to the Open Software License (OSL 3.0)
1098* that is bundled with this package in the file LICENSE.txt.
1099* It is also available through the world-wide-web at this URL:
1100* http://opensource.org/licenses/osl-3.0.php
1101* If you did not receive a copy of the license and are unable to
1102* obtain it through the world-wide-web, please send an email
1103* to [email protected] so we can send you a copy immediately.
1104*
1105* DISCLAIMER
1106*
1107* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1108* versions in the future. If you wish to customize PrestaShop for your
1109* needs please refer to http://www.prestashop.com for more information.
1110*
1111*  @author PrestaShop SA <[email protected]>
1112*  @copyright  2007-2025 PrestaShop SA
1113*  @version  Release: $Revision$
1114*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1115*  International Registered Trademark & Property of PrestaShop SA
1116*/
1117!function(){var e=function(t,i){function s(){this.q=[],this.add=function(e){this.q.push(e)};var e,t;this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function o(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}function n(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new s,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+n+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+n+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[o(e,"position")]||(e.style.position="relative");var d,r,l=e.resizeSensor.childNodes[0],c=l.childNodes[0],h=e.resizeSensor.childNodes[1],a=(h.childNodes[0],function(){c.style.width=l.offsetWidth+10+"px",c.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,h.scrollLeft=h.scrollWidth,h.scrollTop=h.scrollHeight,d=e.offsetWidth,r=e.offsetHeight});a();var f=function(){e.resizedAttached&&e.resizedAttached.call()},u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},p=function(){e.offsetWidth==d&&e.offsetHeight==r||f(),a()};u(l,"scroll",p),u(h,"scroll",p)}var d=Object.prototype.toString.call(t),r="[object Array]"===d||"[object NodeList]"===d||"[object HTMLCollection]"===d||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var l=0,c=t.length;l<c;l++)n(t[l],i);else n(t,i);this.detach=function(){if(r)for(var i=0,s=t.length;i<s;i++)e.detach(t[i]);else e.detach(t)}};e.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=e:window.ResizeSensor=e}();/*
1118* 2007-2025 PrestaShop
1119*
1120* NOTICE OF LICENSE
1121*
1122* This source file is subject to the Open Software License (OSL 3.0)
1123* that is bundled with this package in the file LICENSE.txt.
1124* It is also available through the world-wide-web at this URL:
1125* http://opensource.org/licenses/osl-3.0.php
1126* If you did not receive a copy of the license and are unable to
1127* obtain it through the world-wide-web, please send an email
1128* to [email protected] so we can send you a copy immediately.
1129*
1130* DISCLAIMER
1131*
1132* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1133* versions in the future. If you wish to customize PrestaShop for your
1134* needs please refer to http://www.prestashop.com for more information.
1135*
1136*  @author PrestaShop SA <[email protected]>
1137*  @copyright  2007-2025 PrestaShop SA
1138*  @version  Release: $Revision$
1139*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1140*  International Registered Trademark & Property of PrestaShop SA
1141*/
1142!function(i){i.fn.theiaStickySidebar=function(t){function e(t,e){var a=o(t,e);
1142a||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),i(document).on("scroll."+t.namespace,function(t,e){return function(a){var n=o(t,e);n&&i(this).unbind(a)}}(t,e)),i(window).on("resize."+t.namespace,function(t,e){return function(a){var n=o(t,e);n&&i(this).unbind(a)}}(t,e)))}function o(t,e){return t.initialized===!0||!(i("body").width()<t.minWidth)&&(a(t,e),!0)}function a(t,e){t.initialized=!0;var o=i("#theia-sticky-sidebar-stylesheet-"+t.namespace);0===o.length&&i("head").append(i('<style id="theia-sticky-sidebar-stylesheet-'+t.namespace+'">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),e.each(function(){function e(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}function o(t){var e=t.height();return t.children().each(function(){e=Math.max(e,i(this).height())}),e}var a={};if(a.sidebar=i(this),a.options=t||{},a.container=i(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".theiaStickySidebar"),0==a.stickySidebar.length){var s=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;a.sidebar.find("script").filter(function(i,t){return 0===t.type.length||t.type.match(s)}).remove(),a.stickySidebar=i("<div>").addClass("theiaStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)}a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom"));var r=a.stickySidebar.offset().top,d=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),r-=a.stickySidebar.offset().top,d=a.stickySidebar.outerHeight()-d-r,0==r?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==d?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,e(),a.onScroll=function(a){if(a.stickySidebar.is(":visible")){if(i("body").width()<a.options.minWidth)return void e();if(a.options.disableOnResponsiveLayouts){var s=a.sidebar.outerWidth("none"==a.sidebar.css("float"));if(s+50>a.container.width())return void e()}var r=i(document).scrollTop(),d="static";if(r>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var c,p=a.paddingTop+t.additionalMarginTop,b=a.paddingBottom+a.marginBottom+t.additionalMarginBottom,l=a.sidebar.offset().top,f=a.sidebar.offset().top+o(a.container),h=0+t.additionalMarginTop,g=a.stickySidebar.outerHeight()+p+b<i(window).height();c=g?h+a.stickySidebar.outerHeight():i(window).height()-a.marginBottom-a.paddingBottom-t.additionalMarginBottom;var u=l-r+a.paddingTop,S=f-r-a.paddingBottom-a.marginBottom,y=a.stickySidebar.offset().top-r,m=a.previousScrollTop-r;"fixed"==a.stickySidebar.css("position")&&"modern"==a.options.sidebarBehavior&&(y+=m),"stick-to-top"==a.options.sidebarBehavior&&(y=t.additionalMarginTop),"stick-to-bottom"==a.options.sidebarBehavior&&(y=c-a.stickySidebar.outerHeight()),y=m>0?Math.min(y,h):Math.max(y,c-a.stickySidebar.outerHeight()),y=Math.max(y,u),y=Math.min(y,S-a.stickySidebar.outerHeight());var k=a.container.height()==a.stickySidebar.outerHeight();d=(k||y!=h)&&(k||y!=c-a.stickySidebar.outerHeight())?r+y-a.sidebar.offset().top-a.paddingTop<=t.additionalMarginTop?"static":"absolute":"fixed"}if("fixed"==d){var v=i(document).scrollLeft();a.stickySidebar.css({position:"fixed",width:n(a.stickySidebar)+"px",transform:"translateY("+y+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-v+"px",top:"0px"})}else if("absolute"==d){var x={};"absolute"!=a.stickySidebar.css("position")&&(x.position="absolute",x.transform="translateY("+(r+y-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",x.top="0px"),x.width=n(a.stickySidebar)+"px",x.left="",a.stickySidebar.css(x)}else"static"==d&&e();"static"!=d&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom}),a.previousScrollTop=r}},a.onScroll(a),i(document).on("scroll."+a.options.namespace,function(i){return function(){i.onScroll(i)}}(a)),i(window).on("resize."+a.options.namespace,function(i){return function(){i.stickySidebar.css({position:"static"}),i.onScroll(i)}}(a)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],function(i){return function(){i.onScroll(i)}}(a))})}function n(i){var t;try{t=i[0].getBoundingClientRect().width}catch(i){}return"undefined"==typeof t&&(t=i.width()),t}var s={containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"};return t=i.extend(s,t),t.additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||
11420,e(t,this),this}}(jQuery);/*
1143* 2007-2025 PrestaShop
1144*
1145* NOTICE OF LICENSE
1146*
1147* This source file is subject to the Open Software License (OSL 3.0)
1148* that is bundled with this package in the file LICENSE.txt.
1149* It is also available through the world-wide-web at this URL:
1150* http://opensource.org/licenses/osl-3.0.php
1151* If you did not receive a copy of the license and are unable to
1152* obtain it through the world-wide-web, please send an email
1153* to [email protected] so we can send you a copy immediately.
1154*
1155* DISCLAIMER
1156*
1157* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1158* versions in the future. If you wish to customize PrestaShop for your
1159* needs please refer to http://www.prestashop.com for more information.
1160*
1161*  @author PrestaShop SA <[email protected]>
1162*  @copyright  2007-2025 PrestaShop SA
1163*  @version  Release: $Revision$
1164*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1165*  International Registered Trademark & Property of PrestaShop SA
1166*/
1167"function"!==typeof Object.create&&(Object.create=function(d){function h(){}h.prototype=d;return new h});(function(d,h,l,m){var k={init:function(b,a){var c=this;c.elem=a;c.$elem=d(a);c.imageSrc=c.$elem.data("zoom-image")?c.$elem.data("zoom-image"):c.$elem.attr("src");c.options=d.extend({},d.fn.elevateZoom.options,b);c.options.tint&&(c.options.lensColour="none",c.options.lensOpacity="1");"inner"==c.options.zoomType&&(c.options.showLens=!1);c.$elem.parent().removeAttr("title").removeAttr("alt");c.zoomImage=c.imageSrc;c.refresh(1);d("#"+c.options.gallery+" a").click(function(a){c.options.galleryActiveClass&&(d("#"+c.options.gallery+" a").removeClass(c.options.galleryActiveClass),d(this).addClass(c.options.galleryActiveClass));a.preventDefault();d(this).data("zoom-image")?c.zoomImagePre=d(this).data("zoom-image"):c.zoomImagePre=d(this).data("image");c.swaptheimage(d(this).data("image"),c.zoomImagePre);return!1})},refresh:function(b){var a=this;setTimeout(function(){a.fetch(a.imageSrc)},b||a.options.refresh)},fetch:function(b){var a=this,c=new Image;c.onload=function(){a.largeWidth=c.width;a.largeHeight=c.height;a.startZoom();a.currentImage=a.imageSrc;a.options.onZoomedImageLoaded(a.$elem)};c.src=b},startZoom:function(){var b=this;b.nzWidth=b.$elem.width();b.nzHeight=b.$elem.height();b.isWindowActive=!1;b.isLensActive=!1;b.isTintActive=!1;b.overWindow=!1;b.options.imageCrossfade&&(b.zoomWrap=b.$elem.wrap('<div style="height:'+b.nzHeight+"px;width:"+b.nzWidth+'px;" class="zoomWrapper" />'),b.$elem.css("position","absolute"));b.zoomLock=1;b.scrollingLock=!1;b.changeBgSize=!1;b.currentZoomLevel=b.options.zoomLevel;b.nzOffset=b.$elem.offset();b.widthRatio=b.largeWidth/b.currentZoomLevel/b.nzWidth;b.heightRatio=b.largeHeight/b.currentZoomLevel/b.nzHeight;"window"==b.options.zoomType&&(b.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(b.options.zoomWindowBgColour)+";width: "+String(b.options.zoomWindowWidth)+"px;height: "+String(b.options.zoomWindowHeight)+"px;float: left;background-size: "+b.largeWidth/b.currentZoomLevel+"px "+b.largeHeight/b.currentZoomLevel+"px;display: none;z-index:100;border: "+String(b.options.borderSize)+"px solid "+b.options.borderColour+";background-repeat: no-repeat;position: absolute;");if("inner"==b.options.zoomType){var a=b.$elem.css("border-left-width");b.zoomWindowStyle="overflow: hidden;margin-left: "+String(a)+";margin-top: "+String(a)+";background-position: 0px 0px;width: "+String(b.nzWidth)+"px;height: "+String(b.nzHeight)+"px;float: left;display: none;cursor:"+b.options.cursor+";px solid "+b.options.borderColour+";background-repeat: no-repeat;position: absolute;"}"window"==b.options.zoomType&&(lensHeight=b.nzHeight<b.options.zoomWindowWidth/b.widthRatio?b.nzHeight:String(b.options.zoomWindowHeight/b.heightRatio),lensWidth=b.largeWidth<b.options.zoomWindowWidth?b.nzWidth:b.options.zoomWindowWidth/b.widthRatio,b.lensStyle="background-position: 0px 0px;width: "+String(b.options.zoomWindowWidth/b.widthRatio)+"px;height: "+String(b.options.zoomWindowHeight/b.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+b.options.lensOpacity+";filter: alpha(opacity = "+100*b.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+b.options.lensColour+";cursor:"+b.options.cursor+";border: "+b.options.lensBorderSize+"px solid "+b.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;");b.tintStyle="display: block;position: absolute;background-color: "+b.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+b.nzWidth+"px;height: "+b.nzHeight+"px;";b.lensRound="";"lens"==b.options.zoomType&&(b.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(b.options.borderSize)+"px solid "+b.options.borderColour+";width:"+String(b.options.lensSize)+"px;height:"+String(b.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;");"round"==b.options.lensShape&&(b.lensRound="border-top-left-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-top-right-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-bottom-left-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;border-bottom-right-radius: "+String(b.options.lensSize/2+b.options.borderSize)+"px;");b.zoomContainer=d('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;
1167left:'+b.nzOffset.left+"px;top:"+b.nzOffset.top+"px;height:"+b.nzHeight+"px;width:"+b.nzWidth+'px;"></div>');d("body").append(b.zoomContainer);b.options.containLensZoom&&"lens"==b.options.zoomType&&b.zoomContainer.css("overflow","hidden");"inner"!=b.options.zoomType&&(b.zoomLens=d("<div class='zoomLens' style='"+b.lensStyle+b.lensRound+"'>&nbsp;</div>").appendTo(b.zoomContainer).click(function(){b.$elem.trigger("click")}),b.options.tint&&(b.tintContainer=d("<div/>").addClass("tintContainer"),b.zoomTint=d("<div class='zoomTint' style='"+b.tintStyle+"'></div>"),b.zoomLens.wrap(b.tintContainer),b.zoomTintcss=b.zoomLens.after(b.zoomTint),b.zoomTintImage=d('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+b.nzWidth+"px; height: "+b.nzHeight+'px;" src="'+b.imageSrc+'">').appendTo(b.zoomLens).click(function(){b.$elem.trigger("click")})));isNaN(b.options.zoomWindowPosition)?b.zoomWindow=d("<div style='z-index:999;left:"+b.windowOffsetLeft+"px;top:"+b.windowOffsetTop+"px;"+b.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").click(function(){b.$elem.trigger("click")}):b.zoomWindow=d("<div style='z-index:999;left:"+b.windowOffsetLeft+"px;top:"+b.windowOffsetTop+"px;"+b.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(b.zoomContainer).click(function(){b.$elem.trigger("click")});b.zoomWindowContainer=d("<div/>").addClass("zoomWindowContainer").css("width",b.options.zoomWindowWidth);b.zoomWindow.wrap(b.zoomWindowContainer);"lens"==b.options.zoomType&&b.zoomLens.css({backgroundImage:"url('"+b.imageSrc+"')"});"window"==b.options.zoomType&&b.zoomWindow.css({backgroundImage:"url('"+b.imageSrc+"')"});"inner"==b.options.zoomType&&b.zoomWindow.css({backgroundImage:"url('"+b.imageSrc+"')"});b.$elem.bind("touchmove",function(a){a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])});b.zoomContainer.bind("touchmove",function(a){"inner"==b.options.zoomType&&b.showHideWindow("show");a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])});b.zoomContainer.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")});b.$elem.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")});b.options.showLens&&(b.zoomLens.bind("touchmove",function(a){a.preventDefault();b.setPosition(a.originalEvent.touches[0]||a.originalEvent.changedTouches[0])}),b.zoomLens.bind("touchend",function(a){b.showHideWindow("hide");b.options.showLens&&b.showHideLens("hide");b.options.tint&&"inner"!=b.options.zoomType&&b.showHideTint("hide")}));b.$elem.bind("mousemove",function(a){!1==b.overWindow&&b.setElements("show");if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),b.currentLoc=a;b.lastX=a.clientX;b.lastY=a.clientY});b.zoomContainer.bind("mousemove",function(a){!1==b.overWindow&&b.setElements("show");if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),b.currentLoc=a;b.lastX=a.clientX;b.lastY=a.clientY});"inner"!=b.options.zoomType&&b.zoomLens.bind("mousemove",function(a){if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),b.currentLoc=a;b.lastX=a.clientX;b.lastY=a.clientY});b.options.tint&&"inner"!=b.options.zoomType&&b.zoomTint.bind("mousemove",function(a){if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),b.currentLoc=a;b.lastX=a.clientX;b.lastY=a.clientY});"inner"==b.options.zoomType&&b.zoomWindow.bind("mousemove",function(a){if(b.lastX!==a.clientX||b.lastY!==a.clientY)b.setPosition(a),b.currentLoc=a;b.lastX=a.clientX;b.lastY=a.clientY});b.zoomContainer.add(b.$elem).mouseenter(function(){!1==b.overWindow&&b.setElements("show")}).mouseleave(function(){b.scrollLock||b.setElements("hide")});"inner"!=b.options.zoomType&&b.zoomWindow.mouseenter(function(){b.overWindow=!0;b.setElements("hide")}).mouseleave(function(){b.overWindow=!1});b.minZoomLevel=b.options.minZoomLevel?b.options.minZoomLevel:2*b.options.scrollZoomIncrement;b.options.scrollZoom&&b.zoomContainer.add(b.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(a){b.scrollLock=!0;clearTimeout(d.data(this,"timer"));d.data(this,"timer",setTimeout(function(){b.scrollLock=!1},250));var e=a.originalEvent.wheelDelta||-1*a.originalEvent.detail;a.stopImmediatePropagation();a.stopPropagation();a.preventDefault();0<e/120?b.currentZoomLevel>=b.minZoomLevel&&b.changeZoomLevel(b.currentZoomLevel-b.options.scrollZoomIncrement):b.options.maxZoomLevel?b.currentZoomLevel<=b.options.maxZoomLevel&&b.changeZoomLevel(parseFloat(b.currentZoomLevel)+b.options.scrollZoomIncrement):b.changeZoomLevel(parseFloat(b.currentZoomLevel)+b.options.scrollZoomIncrement);return!1})},setElements:function(b){if(!this.options.zoomEnabled)return!1;"show"==b&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show"));"hide"==b&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(b){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height();this.nzWidth=this.$elem.width();this.nzOffset=this.$elem.offset();this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0}));this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/
1168this.heightRatio),lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"lens"!=this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/
1169this.widthRatio,this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"}));this.zoomContainer.css({top:this.nzOffset.top});this.zoomContainer.css({left:this.nzOffset.left});this.mouseLeft=parseInt(b.pageX-this.nzOffset.left);
1169this.mouseTop=parseInt(b.pageY-this.nzOffset.top);"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize);"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize);0>=this.mouseLeft||0>this.mouseTop||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&(this.lensLeftPos=String(this.mouseLeft-this.zoomLens.width()/2),this.lensTopPos=String(this.mouseTop-this.zoomLens.height()/2)),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.tintpos=this.lensLeftPos=this.windowLeftPos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((b.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((b.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),this.changeBgSize=!1),this.setWindowPostition(b)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(b),"window"==this.options.zoomType&&this.setWindowPostition(b),"inner"==this.options.zoomType&&this.setWindowPostition(b),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(b){"show"!=b||this.isWindowActive||(this.options.zoomWindowFadeIn?this.zoomWindow.stop(!0,!0,!1).fadeIn(this.options.zoomWindowFadeIn):this.zoomWindow.show(),this.isWindowActive=!0);"hide"==b&&this.isWindowActive&&(this.options.zoomWindowFadeOut?this.zoomWindow.stop(!0,!0).fadeOut(this.options.zoomWindowFadeOut):this.zoomWindow.hide(),this.isWindowActive=!1)},showHideLens:function(b){"show"!=b||this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),this.isLensActive=!0);"hide"==b&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),this.isLensActive=!1)},showHideTint:function(b){"show"!=b||this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),this.isTintActive=!0);"hide"==b&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),this.isTintActive=!1)},setLensPostition:function(b){},setWindowPostition:function(b){var a=this;if(isNaN(a.options.zoomWindowPosition))a.externalContainer=d("#"+a.options.zoomWindowPosition),a.externalContainerWidth=a.externalContainer.width(),a.externalContainerHeight=a.externalContainer.height(),a.externalContainerOffset=a.externalContainer.offset(),a.windowOffsetTop=a.externalContainerOffset.top,a.windowOffsetLeft=a.externalContainerOffset.left;else switch(a.options.zoomWindowPosition){case 1:a.windowOffsetTop=a.options.zoomWindowOffety;a.windowOffsetLeft=+a.nzWidth;break;case 2:a.options.zoomWindowHeight>a.nzHeight&&(a.windowOffsetTop=-1*(a.options.zoomWindowHeight/2-a.nzHeight/2),a.windowOffsetLeft=a.nzWidth);break;case 3:a.windowOffsetTop=a.nzHeight-a.zoomWindow.height()-2*a.options.borderSize;a.windowOffsetLeft=a.nzWidth;break;case 4:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=a.nzWidth;break;case 5:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=a.nzWidth-a.zoomWindow.width()-2*a.options.borderSize;break;case 6:a.options.zoomWindowHeight>a.nzHeight&&(a.windowOffsetTop=a.nzHeight,a.windowOffsetLeft=-1*(a.options.zoomWindowWidth/2-a.nzWidth/2+2*a.options.borderSize));break;case 7:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=0;break;case 8:a.windowOffsetTop=a.nzHeight;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 9:a.windowOffsetTop=a.nzHeight-a.zoomWindow.height()-2*a.options.borderSize;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 10:a.options.zoomWindowHeight>a.nzHeight&&(a.windowOffsetTop=-1*(a.options.zoomWindowHeight/2-a.nzHeight/2),a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize));break;case 11:a.windowOffsetTop=a.options.zoomWindowOffety;a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 12:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=-1*(a.zoomWindow.width()+2*a.options.borderSize);break;case 13:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=0;break;case 14:a.options.zoomWindowHeight>a.nzHeight&&(a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize),a.windowOffsetLeft=-1*(a.options.zoomWindowWidth/2-a.nzWidth/2+2*a.options.borderSize));break;case 15:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=a.nzWidth-a.zoomWindow.width()-2*a.options.borderSize;break;case 16:a.windowOffsetTop=-1*(a.zoomWindow.height()+2*a.options.borderSize);a.windowOffsetLeft=a.nzWidth;break;default:a.windowOffsetTop=a.options.zoomWindowOffety,a.windowOffsetLeft=a.nzWidth}a.isWindowSet=!0;a.windowOffsetTop+=a.options.zoomWindowOffety;a.windowOffsetLeft+=a.options.zoomWindowOffetx;a.zoomWindow.css({top:a.windowOffsetTop});a.zoomWindow.css({left:a.windowOffsetLeft});"inner"==a.options.zoomType&&(a.zoomWindow.css({top:0}),a.zoomWindow.css({left:0}));a.windowLeftPos=String(-1*((b.pageX-a.nzOffset.left)*a.widthRatio-a.zoomWindow.width()/2));a.windowTopPos=String(-1*((b.pageY-a.nzOffset.top)*a.heightRatio-a.zoomWindow.height()/2));a.Etoppos&&(a.windowTopPos=0);a.Eloppos&&(a.windowLeftPos=0);a.Eboppos&&(a.windowTopPos=-1*(a.largeHeight/a.currentZoomLevel-a.zoomWindow.height()));a.Eroppos&&(a.windowLeftPos=-1*(a.largeWidth/a.currentZoomLevel-a.zoomWindow.width()));a.fullheight&&(a.windowTopPos=0);a.fullwidth&&(a.windowLeftPos=0);if("window"==a.options.zoomType||"inner"==a.options.zoomType)1==a.zoomLock&&(1>=a.widthRatio&&(a.windowLeftPos=0),1>=a.heightRatio&&(a.windowTopPos=0)),a.largeHeight<a.options.zoomWindowHeight&&(a.windowTopPos=0),a.largeWidth<a.options.zoomWindowWidth&&(a.windowLeftPos=0),a.options.easing?(a.xp||(a.xp=0),a.yp||(a.yp=0),a.loop||(a.loop=setInterval(function(){a.xp+=(a.windowLeftPos-a.xp
1169)/a.options.easingAmount;a.yp+=(a.windowTopPos-a.yp)/a.options.easingAmount;a.scrollingLock?(clearInterval(a.loop),a.xp=a.windowLeftPos,a.yp=a.windowTopPos,a.xp=-1*((b.pageX-a.nzOffset.left)*a.widthRatio-a.zoomWindow.width()/2),a.yp=-1*((b.pageY-a.nzOffset.top)*a.heightRatio-a.zoomWindow.height()/2),a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"!=a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"})),a.changeBgSize=!1),a.zoomWindow.css({backgroundPosition:a.windowLeftPos+"px "+a.windowTopPos+"px"}),a.scrollingLock=!1,a.loop=!1):(a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"!=a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"})),a.changeBgSize=!1),a.zoomWindow.css({backgroundPosition:a.xp+"px "+a.yp+"px"}))},16))):(a.changeBgSize&&(a.nzHeight>a.nzWidth?("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"}),a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})):("lens"==a.options.zoomType&&a.zoomLens.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}),a.largeHeight/a.newvaluewidth<a.options.zoomWindowHeight?a.zoomWindow.css({"background-size":a.largeWidth/a.newvaluewidth+"px "+a.largeHeight/a.newvaluewidth+"px"}):a.zoomWindow.css({"background-size":a.largeWidth/a.newvalueheight+"px "+a.largeHeight/a.newvalueheight+"px"})),a.changeBgSize=!1),a.zoomWindow.css({backgroundPosition:a.windowLeftPos+"px "+a.windowTopPos+"px"}))},setTintPosition:function(b){this.nzOffset=this.$elem.offset();this.tintpos=String(-1*(b.pageX-this.nzOffset.left-this.zoomLens.width()/2));this.tintposy=String(-1*(b.pageY-this.nzOffset.top-this.zoomLens.height()/2));this.Etoppos&&(this.tintposy=0);this.Eloppos&&(this.tintpos=0);this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize));this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize));this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(b,a){var c=this,e=new Image;c.options.loadingIcon&&(c.spinner=d("<div style=\"background: url('"+c.options.loadingIcon+"') no-repeat center;height:"+c.nzHeight+"px;width:"+c.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>'),c.$elem.after(c.spinner));c.options.onImageSwap(c.$elem);e.onload=function(){c.largeWidth=e.width;c.largeHeight=e.height;c.zoomImage=a;c.zoomWindow.css({"background-size":c.largeWidth+"px "+c.largeHeight+"px"});c.zoomWindow.css({"background-size":c.largeWidth+"px "+c.largeHeight+"px"});c.swapAction(b,a)};e.src=a},swapAction:function(b,a){var c=this,e=new Image;e.onload=function(){c.nzHeight=e.height;c.nzWidth=e.width;c.options.onImageSwapComplete(c.$elem);c.doneCallback()};e.src=b;c.currentZoomLevel=c.options.zoomLevel;c.options.maxZoomLevel=!1;"lens"==c.options.zoomType&&c.zoomLens.css({backgroundImage:"url('"+a+"')"});"window"==c.options.zoomType&&c.zoomWindow.css({backgroundImage:"url('"+a+"')"});"inner"==c.options.zoomType&&c.zoomWindow.css({backgroundImage:"url('"+a+"')"});c.currentImage=a;if(c.options.imageCrossfade){var f=c.$elem,g=f.clone();c.$elem.attr("src",b);c.$elem.after(g);g.stop(!0).fadeOut(c.options.imageCrossfade,function(){d(this).remove()});c.$elem.width("auto").removeAttr("width");c.$elem.height("auto").removeAttr("height");f.fadeIn(c.options.imageCrossfade);c.options.tint&&"inner"!=c.options.zoomType&&(f=c.zoomTintImage,g=f.clone(),c.zoomTintImage.attr("src",a),c.zoomTintImage.after(g),g.stop(!0).fadeOut(c.options.imageCrossfade,function(){d(this).remove()}),f.fadeIn(c.options.imageCrossfade),c.zoomTint.css({height:c.$elem.height()}),c.zoomTint.css({width:c.$elem.width()}));c.zoomContainer.css("height",c.$elem.height());c.zoomContainer.css("width",c.$elem.width());"inner"!=c.options.zoomType||c.options.constrainType||(c.zoomWrap.parent().css("height",c.$elem.height()),c.zoomWrap.parent().css("width",c.$elem.width()),c.zoomWindow.css("height",c.$elem.height()),c.zoomWindow.css("width",c.$elem.width()))}else c.$elem.attr("src",b),c.options.tint&&(c.zoomTintImage.attr("src",a),c.zoomTintImage.attr("height",c.$elem.height()),c.zoomTintImage.css({height:c.$elem.height()}),c.zoomTint.css({height:c.$elem.height()})),c.zoomContainer.css("height",c.$elem.height()),c.zoomContainer.css("width",c.$elem.width());c.options.imageCrossfade&&(c.zoomWrap.css("height",c.$elem.height()),c.zoomWrap.css("width",c.$elem.width()));c.options.constrainType&&("height"==c.options.constrainType&&(c.zoomContainer.css("height",c.options.constrainSize),c.zoomContainer.css("width","auto"),c.options.imageCrossfade?(c.zoomWrap.css("height",c.options.constrainSize),c.zoomWrap.css("width","auto"),c.constwidth=c.zoomWrap.width()):(c.$elem.css("height",c.options.constrainSize),c.$elem.css("width","auto"),c.constwidth=c.$elem.width()),"inner"==c.options.zoomType&&(c.zoomWrap.parent().css("height",c.options.constrainSize),c.zoomWrap.parent().css("width",c.constwidth),c.zoomWindow.css("height",c.options.constrainSize),c.zoomWindow.css("width",c.constwidth)),c.options.tint&&(c.tintContainer.css("height",c.options.constrainSize),c.tintContainer.css("width",c.constwidth),c.zoomTint.css("height",c.options.constrainSize),c.zoomTint.css("width",c.constwidth),c.zoomTintImage.css("height",c.options.constrainSize),c.zoomTintImage.css("width",c.constwidth))),"width"==c.options.constrainType&&(c.zoomContainer.css("height","auto"),c.zoomContainer.css("width",c.options.constrainSize),c.options.imageCrossfade?(c.zoomWrap.css("height","auto"),c.zoomWrap.css("width",c.options.constrainSize),c.constheight=c.zoomWrap.height()):(c.$elem.css("height","auto"),c.$elem.css("width",c.options.constrainSize),c.constheight=c.$elem.height()),"inner"==c.options.zoomType&&(c.zoomWrap.parent().css("height",c.constheight),c.zoomWrap.parent().css("width",c.options.constrainSize),c.zoomWindow.css("height",c.constheight),c.zoomWindow.css("width",c.options.constrainSize)),c.options.tint&&(c.tintContainer.css("height",c.constheight),c.tintContainer.css("width",c.options.constrainSize),c.zoomTint.css("height",c.constheight),c.zoomTint.css("width",c.options.constrainSize),c.zoomTintImage.css("height",c.constheight),c.zoomTintImage.css("width",c.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide();this.nzOffset=this.$elem.offset();this.nzWidth=this.$elem.width();this.nzHeight=this.$elem.height();this.currentZoomLevel=this.options.zoomLevel;this.widthRatio=this.largeWidth/this.nzWidth;this.heightRatio=this.largeHeight/this.nzHeight;"window"==this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var b=this;b.gallerylist=[];b.options.gallery?d("#"+b.options.gallery+" a").each(function(){var a="";d(this).data("zoom-image")?a=d(this).data("zoom-image"):d(this).data("image")&&(a=d(this).data("image"));a==b.zoomImage?b.gallerylist.unshift({href:""+a+"",title:d(this).find("img").attr("title")}):b.gallerylist.push({href:""+a+"",title:d(this).find("img").attr("title")})}):b.gallerylist.push({href:""+b.zoomImage+"",title:d(this).find("img").attr("title")});return b.gallerylist},changeZoomLevel:function(b){this.scrollingLock=!0;this.newvalue=parseFloat(b).toFixed(2);newvalue=parseFloat(b).toFixed(2);maxheightnewvalue=this.largeHeight/(this.options.zoomWindowHeight/this.nzHeight*this.nzHeight);maxwidthtnewvalue=this.largeWidth/(this.options.zoomWindowWidth/this.nzWidth*this.nzWidth);
1169"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight,this.newvalueheight=maxheightnewvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth,this.newvaluewidth=maxwidthtnewvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.fullwidth=!0,this.newvaluewidth=maxheightnewvalue):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1)));"inner"==this.options.zoomType&&(maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/
1170newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue>maxwidthtnewvalue?maxwidthtnewvalue:newvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1));scrcontinue=!1;"inner"==this.options.zoomType&&(this.nzWidth>this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0)),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0)));"inner"!=this.options.zoomType&&(scrcontinue=!0);scrcontinue&&(this.zoomLock=0,this.changeZoom=!0,this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&(this.currentZoomLevel=this.newvalueheight,"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)}};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop}})(jQuery,window,document);/*!
1171 * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
1172 * Copyright (c) 2016 Edson Hilios
1173 * 
1174 * Permission is hereby granted, free of charge, to any person obtaining a copy of
1175 * this software and associated documentation files (the "Software"), to deal in
1176 * the Software without restriction, including without limitation the rights to
1177 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
1178 * the Software, and to permit persons to whom the Software is furnished to do so,
1179 * subject to the following conditions:
1180 * 
1181 * The above copyright notice and this permission notice shall be included in all
1182 * copies or substantial portions of the Software.
1183 * 
1184 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1185 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1186 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1187 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1188 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1189 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1190 */
1191!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;
vendor: 4,096 bytes, lines 1191-1196
1191if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f<g;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||"",l=h[3]||"",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&("!"===k&&(m=e(l,m)),""===k&&m<10&&(m="0"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,"%")}}function e(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),Math.abs(b)>1?c:d}var f=[],g=[],h={precision:100,elapse:!1,defer:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var i={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&("function"==typeof d?(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.options.defer===!1&&this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var b,c=void 0!==a._data(this.el,"events"),d=new Date;b=this.finalDate.getTime()-d.getTime(),b=Math.ceil(b/1e3),b=!this.options.elapse&&b<0?0:Math.abs(b),this.totalSecsLeft!==b&&c&&(this.totalSecsLeft=b,this.elapsed=d>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-d.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}});/**
1192 * 2007-2025 PrestaShop
1193 *
1194 * NOTICE OF LICENSE
1195 *
1196 * This source file is subject to the Academic Free License (AFL 3.0)
1197 * that is bundled with this package in the file LICENSE.txt.
1198 * It is also available through the world-wide-web at this URL:
1199 * http://opensource.org/licenses/afl-3.0.php
1200 * If you did not receive a copy of the license and are unable to
1201 * obtain it through the world-wide-web, please send an email
1202 * to [email protected] so we can send you a copy immediately.
1203 *
1204 * DISCLAIMER
1205 *
1206 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1207 * versions in the future. If you wish to customize PrestaShop for your
1208 * needs please refer to http://www.prestashop.com for more information.
1209 *
1210 *  @author    PrestaShop SA <[email protected]>
1211 *  @copyright 2007-2025 PrestaShop SA
1212 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1213 *  International Registered Trademark & Property of PrestaShop SA
1214 *
1215 * Don't forget to prefix your containers with your own identifier
1216 * to avoid any conflicts with others containers.
1217 */
1218var mobileViewSize=991;var storage;var langId=document.getElementsByTagName("html")[0].getAttribute("lang");var currentFtrProdModule=tvthemename+"_ftrprod_"+langId;jQuery(document).ready(function($){storage=$.localStorage;function storageGet(key){return""+storage.get(currentFtrProdModule+key)}
1219function storageSet(key,value){storage.set(currentFtrProdModule+key,value)}
1220function storageClear(key){storage.remove(currentFtrProdModule+key)}
1221var StatusPopupAjax=!0;function footerproductslider(){var customFooterproductSlider=[['.tvcmsfooter-featured-product .tvmain-featured-product-wrapper-info-box','.tvfooter-featured-product-next','.tvfooter-featured-product-prev'],['.tvcmsfooter-new-product .tvmain-new-product-wrapper-info-box','.tvfooter-new-product-next','.tvfooter-new-product-prev'],['.tvcmsfooter-best-seller-product .tvmain-new-product-wrapper-info-box','.tvfooter-best-seller-product-next','.tvfooter-best-seller-product-prev'],];for(var i=0;i<customFooterproductSlider.length;i++){if($(customFooterproductSlider[i][0]).length){$(customFooterproductSlider[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},576:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}}});$(customFooterproductSlider[i][1]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-next').trigger('click')});$(customFooterproductSlider[i][2]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-prev').trigger('click')})}}}
1222var gettvcmsfooterproductsajax=function(){if(StatusPopupAjax&&$('.tvfooter-product-box-layout').length){var data=storageGet("");if(data!="null"){$('.tvfooter-product-box-layout').html(data);footerproductslider()}
1223StatusPopupAjax=!1;$.ajax({type:'POST',url:gettvcmsfooterproductlink,success:function(data){var dataCache=storageGet("");storageSet("",data);if(dataCache==='null'){$('.tvfooter-product-box-layout').html(data);footerproductslider();customImgLazyLoad('.tvfooter-product-box-layout')}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}}
1224themevoltyCallEventsPush(gettvcmsfooterproductsajax,null)});/**
1225 * 2007-2025 PrestaShop
1226 *
1227 * NOTICE OF LICENSE
1228 *
1229 * This source file is subject to the Open Software License (OSL 3.0)
1230 * that is bundled with this package in the file LICENSE.txt.
1231 * It is also available through the world-wide-web at this URL:
1232 * https://opensource.org/licenses/OSL-3.0
1233 * If you did not receive a copy of the license and are unable to
1234 * obtain it through the world-wide-web, please send an email
1235 * to [email protected] so we can send you a copy immediately.
1236 *
1237 * DISCLAIMER
1238 *
1239 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1240 * versions in the future. If you wish to customize PrestaShop for your
1241 * needs please refer to http://www.prestashop.com for more information.
1242 *
1243 * @author    PrestaShop SA <[email protected]>
1244 * @copyright 2007-2025 PrestaShop SA
1245 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
1246 * International Registered Trademark & Property of PrestaShop SA
1247 */
1248var storage;var langId=document.getElementsByTagName("html")[0].getAttribute("lang");var currentNewModule=tvthemename+"_new_"+langId;jQuery(document).ready(function($){storage=$.localStorage;function storageGet(key){return""+storage.get(currentNewModule+key)}
1249function storageSet(key,value){storage.set(currentNewModule+key,value)}
1250function storageClear(key){storage.remove(currentNewModule+key)}
1251var gettvcmsnewproductsajax=function(){if($('.tvcmsnew-product').length){var data=storageGet("");if(data!="null"){$('.tvcmsnew-product').html(data);makeNewProductSlider();productTime()}
1252$.ajax({type:'POST',url:gettvcmsnewproductslink,success:function(data){var dataCache=storageGet("");storageSet("",data);if(dataCache==='null'){$('.tvcmsnew-product').html(data);makeNewProductSlider();customImgLazyLoad('.tvcmsnew-product')}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}}
1253themevoltyCallEventsPush(gettvcmsnewproductsajax,null);function makeNewProductSlider(){var swiperClass=[['.tvcmsnew-product .tvnew-product-wrapper','.tvcmsnew-next','.tvcmsnew-prev','.tvcmsnew-product'],];for(var i=0;i<swiperClass.length;
1253i++){if($(swiperClass[i][0]).attr('data-has-image')=='true'){$(swiperClass[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},650:{items:2,slideBy:1},767:{items:2,slideBy:1},768:{items:2,slideBy:1},992:{items:2,slideBy:1},1025:{items:3,slideBy:1},1200:{items:3,slideBy:1},1350:{items:3,slideBy:1},1660:{items:3,slideBy:1},1800:{items:3,slideBy:1}}})}else{$(swiperClass[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},650:{items:3,slideBy:1},767:{items:3,slideBy:1},768:{items:3,slideBy:1},992:{items:3,slideBy:1},1025:{items:4,slideBy:1},1200:{items:4,slideBy:1},1350:{items:4,slideBy:1},1660:{items:4,slideBy:1},1800:{items:4,slideBy:1}}})}
1254$(swiperClass[i][1]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-next').trigger('click')});$(swiperClass[i][2]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-prev').trigger('click')});$(swiperClass[i][3]+' .tv-pagination-wrapper').insertAfter(swiperClass[i][3]+' .tvnew-product-content .tvall-block-box-shadows')}}});/**
1255* 2007-2025 PrestaShop
1256*
1257* NOTICE OF LICENSE
1258*
1259* This source file is subject to the Academic Free License (AFL 3.0)
1260* that is bundled with this package in the file LICENSE.txt.
1261* It is also available through the world-wide-web at this URL:
1262* http://opensource.org/licenses/afl-3.0.php
1263* If you did not receive a copy of the license and are unable to
1264* obtain it through the world-wide-web, please send an email
1265* to [email protected] so we can send you a copy immediately.
1266*
1267* DISCLAIMER
1268*
1269* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1270* versions in the future. If you wish to customize PrestaShop for your
1271* needs please refer to http://www.prestashop.com for more information.
1272*
1273*  @author    PrestaShop SA <[email protected]>
1274*  @copyright 2007-2025 PrestaShop SA
1275*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1276*  International Registered Trademark & Property of PrestaShop SA
1277*/
1278var fnTvcmsNewsLetterPopupStatus=!0;jQuery(document).ready(function($){if($.cookie("tvcmsnewsletterpopup")!="true"){var obj=$(document).find('#tvnewsletter-email-subscribe');var fnTvcmsNewsLetterPopup=function(){var height=$(window).scrollTop();if(height>49&&fnTvcmsNewsLetterPopupStatus){fnTvcmsNewsLetterPopupStatus=!1;setTimeout(function(){$("#tvcmsNewsLetterPopup").modal({show:!0})},3000)}}
1279$(window).scroll(function(){fnTvcmsNewsLetterPopup()});themevoltyCallEventsPush(fnTvcmsNewsLetterPopup);$(".tvcmsnewsletterpopup form").on("submit",function(e){e.preventDefault();var email=$("#tvcmsnewsletterpopupnewsletter-input").val();$.ajax({type:"POST",headers:{"cache-control":"no-cache"},async:!1,url:newletterUrl,data:{email:email},success:function(response){$(".tvcmsnewsletterpopupAlert").remove();if(response&&response.message){let alertClass="alert-info";if(response.type==="success"){alertClass="alert-success"}else if(response.type==="warning"){alertClass="alert-warning"}else if(response.type==="error"){alertClass="alert-danger"}
1280var alertBox=$("<div class='tvcmsnewsletterpopupAlert alert "+alertClass+"'></div>").text(response.message);$(".tvnewsletterpopup-input").before(alertBox)}},error:function(){$(".tvcmsnewsletterpopupAlert").remove();var alertBox=$("<div class='tvcmsnewsletterpopupAlert alert alert-danger'></div>").text("An error occurred. Please try again.");$(".tvnewsletterpopup-input").before(alertBox)}})});$('#tvcmsnewsletterpopupnewsletter-input').keypress(function(event){var keycode=(event.keyCode?event.keyCode:event.which);if(keycode=='13'){var email=$("#tvcmsnewsletterpopupnewsletter-input").val();$.ajax({type:"POST",headers:{"cache-control":"no-cache"},async:!1,url:newletterUrl,data:"name=marek&email="+email,success:function(data){if(data){$(".tvcmsnewsletterpopupAlert").text(data)}}});event.preventDefault()}});$("#tvcmsnewsletterpopup_newsletter_dont_show_again").prop("checked")==!1}
1281$(document).on('click','.tvcmsnewsletterpopup_newsletter_dont_show_again',function(){$.cookie("tvcmsnewsletterpopup","true");$('#tvcmsNewsLetterPopup').css('display','none');$('#tvcmsNewsLetterPopup').removeClass('in');$('.modal-backdrop.fade.in').remove();$('body').removeClass('modal-open')})});/**
1282 * 2007-2025 PrestaShop
1283 *
1284 * NOTICE OF LICENSE
1285 *
1286 * This source file is subject to the Open Software License (OSL 3.0)
1287 * that is bundled with this package in the file LICENSE.txt.
1288 * It is also available through the world-wide-web at this URL:
1289 * https://opensource.org/licenses/OSL-3.0
1290 * If you did not receive a copy of the license and are unable to
1291 * obtain it through the world-wide-web, please send an email
1292 * to [email protected] so we can send you a copy immediately.
1293 *
1294 * DISCLAIMER
1295 *
1296 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1297 * versions in the future. If you wish to customize PrestaShop for your
1298 * needs please refer to http://www.prestashop.com for more information.
1299 *
1300 * @author    PrestaShop SA <[email protected]>
1301 * @copyright 2007-2025 PrestaShop SA
1302 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
1303 * International Registered Trademark & Property of PrestaShop SA
1304 */
1305$(document).ready(function(){$(".tvcustomize-btn.fancybox").fancybox({afterLoad:function(){this.inner.append("<div class='cms-description'>"+document.getElementById("tvcmssizechart-popup").innerHTML+"</div>")}})});/**
1306 * 2007-2025 PrestaShop
1307 *
1308 * NOTICE OF LICENSE
1309 *
1310 * This source file is subject to the Open Software License (OSL 3.0)
1311 * that is bundled with this package in the file LICENSE.txt.
1312 * It is also available through the world-wide-web at this URL:
1313 * https://opensource.org/licenses/OSL-3.0
1314 * If you did not receive a copy of the license and are unable to
1315 * obtain it through the world-wide-web, please send an email
1316 * to [email protected] so we can send you a copy immediately.
1317 *
1318 * DISCLAIMER
1319 *
1320 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1321 * versions in the future. If you wish to customize PrestaShop for your
1322 * needs please refer to http://www.prestashop.com for more information.
1323 *
1324 * @author    PrestaShop SA <[email protected]>
1325 * @copyright 2007-2025 PrestaShop SA
1326 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
1327 * International Registered Trademark & Property of PrestaShop SA
1328 */
1329var storage;var langId=document.getElementsByTagName("html")[0].getAttribute("lang");var currentSpecialModule=tvthemename+"_special_"+langId;jQuery(document).ready(function($){storage=$.localStorage;function storageGet(key){return""+storage.get(currentSpecialModule+key)}
1330function storageSet(key,value){storage.set(currentSpecialModule+key,value)}
1331function storageClear(key){storage.remove(currentSpecialModule+key)}
1332var gettvcmsspecialproductsajax=function(){if($('.tvcmsspecial-product').length){var data=storageGet("");if(data!="null"){$('.tvcmsspecial-product').html(data);makeSpecialProductSlider();productTime()}
1333$.ajax({type:'POST',url:gettvcmsspecialproductslink,success:function(data){var dataCache=storageGet("");storageSet("",data);if(dataCache==='null'){$('.tvcmsspecial-product').html(data);makeSpecialProductSlider();customImgLazyLoad('.tvcmsspecial-product')}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}}
1334themevoltyCallEventsPush(gettvcmsspecialproductsajax,null);function makeSpecialProductSlider(){var swiperClass=[['.tvcmsspecial-product .tvspecial-product-wrapper','.tvcmsspecial-next','.tvcmsspecial-prev','.tvcmsspecial-product'],];for(var i=0;i<swiperClass.length;i++){if($(swiperClass[i][0]).attr('data-has-image')=='true'){$(swiperClass[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},650:{items:2,slideBy:1},767:{items:2,slideBy:1},768:{items:2,slideBy:1},992:{items:2,slideBy:1},1025:{items:3,slideBy:1},1200:{items:3,slideBy:1},1350:{items:3,slideBy:1},1660:{items:3,slideBy:1},1800:{items:3,slideBy:1}}})}else{$(swiperClass[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},650:{items:3,slideBy:1},767:{items:3,slideBy:1},768:{items:3,slideBy:1},992:{items:3,slideBy:1},1025:{items:4,slideBy:1},1200:{items:4,slideBy:1},1350:{items:4,slideBy:1},1660:{items:4,slideBy:1},1800:{items:4,slideBy:1}}})}
1335$(swiperClass[i][1]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-next').trigger('click')});$(swiperClass[i][2]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-prev').trigger('click')});$(swiperClass[i][3]+' .tv-pagination-wrapper').insertAfter(swiperClass[i][3]+' .tvspecial-product-content .tvall-block-box-sha
1335dows')}}});/**
1336* 2007-2025 PrestaShop
1337*
1338* NOTICE OF LICENSE
1339*
1340* This source file is subject to the Academic Free License (AFL 3.0)
1341* that is bundled with this package in the file LICENSE.txt.
1342* It is also available through the world-wide-web at this URL:
1343* http://opensource.org/licenses/afl-3.0.php
1344* If you did not receive a copy of the license and are unable to
1345* obtain it through the world-wide-web, please send an email
1346* to [email protected] so we can send you a copy immediately.
1347*
1348* DISCLAIMER
1349*
1350* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1351* versions in the future. If you wish to customize PrestaShop for your
1352* needs please refer to http://www.prestashop.com for more information.
1353*
1354*  @author    PrestaShop SA <[email protected]>
1355*  @copyright 2007-2025 PrestaShop SA
1356*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1357*  International Registered Trademark & Property of PrestaShop SA
1358*/
1359jQuery(document).ready(function($){$('.tvcmstestimonial .tvtestimonial-content-box').owlCarousel({loop:!1,dots:!0,nav:!1,autoplay:!1,loop:!0,autoplayTimeout:5000,autoplayHoverPause:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}},});$('.tvcmstestimonial .tvtestimonial-prev').on('click',function(){$('.tvcmstestimonial .owl-nav .owl-prev').trigger('click')});$('.tvcmstestimonial .tvtestimonial-next').on('click',function(){$('.tvcmstestimonial .owl-nav .owl-next').trigger('click')});var rtlVal=!1;if($('body').hasClass('lang-rtl')){var rtlVal=!0}
1360$('.tvcmstestimonial .tvcms-testimonial-pagination-wrapper').insertAfter('.tvcmstestimonial .tvtestimonial-content-box');function sidePanelTestimonialSlider(){$('.tvcms-left-testimonial .tvtestimonial-content-box').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1200:{items:1,slideBy:1},1600:{items:1,slideBy:1},1800:{items:1,slideBy:1}},});$('.tvcms-left-testimonial .tvtestimonial-prev').on('click',function(){$('.tvcms-left-testimonial .owl-nav .owl-prev').trigger('click')});$('.tvcms-left-testimonial .tvtestimonial-next').on('click',function(){$('.tvcms-left-testimonial .owl-nav .owl-next').trigger('click')})}
1361sidePanelTestimonialSlider();$(window).resize(function(){sidePanelTestimonialSlider()})});/*
1362* 2007-2025 PrestaShop
1363*
1364* NOTICE OF LICENSE
1365*
1366* This source file is subject to the Open Software License (OSL 3.0)
1367* that is bundled with this package in the file LICENSE.txt.
1368* It is also available through the world-wide-web at this URL:
1369* http://opensource.org/licenses/osl-3.0.php
1370* If you did not receive a copy of the license and are unable to
1371* obtain it through the world-wide-web, please send an email
1372* to [email protected] so we can send you a copy immediately.
1373*
1374* DISCLAIMER
1375*
1376* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1377* versions in the future. If you wish to customize PrestaShop for your
1378* needs please refer to http://www.prestashop.com for more information.
1379*
1380*  @author PrestaShop SA <[email protected]>
1381*  @copyright  2007-2025 PrestaShop SA
1382*  @version  Release: $Revision$
1383*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1384*  International Registered Trademark & Property of PrestaShop SA
1385*/
1386!function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";function t(i){var t=i.parent();i.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(i).remove()}function o(i){var t=i.parent(),o=t.find(".minicolors-panel"),a=i.data("minicolors-settings");!i.data("minicolors-initialized")||i.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(s(),t.addClass("minicolors-focus"),o.stop(!0,!0).fadeIn(a.showSpeed,function(){a.show&&a.show.call(i.get(0))}))}function s(){i(".minicolors-focus").each(function(){var t=i(this),o=t.find(".minicolors-input"),s=t.find(".minicolors-panel"),a=o.data("minicolors-settings");s.fadeOut(a.hideSpeed,function(){a.hide&&a.hide.call(o.get(0)),t.removeClass("minicolors-focus")})})}function a(i,t,o){var s,a,r,e,c=i.parents(".minicolors").find(".minicolors-input"),l=c.data("minicolors-settings"),h=i.find("[class$=-picker]"),d=i.offset().left,p=i.offset().top,u=Math.round(t.pageX-d),g=Math.round(t.pageY-p),m=o?l.animationSpeed:0;t.originalEvent.changedTouches&&(u=t.originalEvent.changedTouches[0].pageX-d,g=t.originalEvent.changedTouches[0].pageY-p),u<0&&(u=0),g<0&&(g=0),u>i.width()&&(u=i.width()),g>i.height()&&(g=i.height()),i.parent().is(".minicolors-slider-wheel")&&h.parent().is(".minicolors-grid")&&(s=75-u,a=75-g,r=Math.sqrt(s*s+a*a),(e=Math.atan2(a,s))<0&&(e+=2*Math.PI),r>75&&(r=75,u=75-75*Math.cos(e),g=75-75*Math.sin(e)),u=Math.round(u),g=Math.round(g)),i.is(".minicolors-grid")?h.stop(!0).animate({top:g+"px",left:u+"px"},m,l.animationEasing,function(){n(c,i)}):h.stop(!0).animate({top:g+"px"},m,l.animationEasing,function(){n(c,i)})}function n(i,t){function o(i,t){var o,s;return i.length&&t?(o=i.offset().left,s=i.offset().top,{x:o-t.offset().left+i.outerWidth()/2,y:s-t.offset().top+i.outerHeight()/2}):null}var s,a,n,e,l,h,d,p=i.val(),g=i.attr("data-opacity"),m=i.parent(),f=i.data("minicolors-settings"),v=m.find(".minicolors-input-swatch"),w=m.find(".minicolors-grid"),y=m.find(".minicolors-slider"),C=m.find(".minicolors-opacity-slider"),k=w.find("[class$=-picker]"),M=y.find("[class$=-picker]"),x=C.find("[class$=-picker]"),I=o(k,w),S=o(M,y),z=o(x,C);if(t.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(f.control){case"wheel":e=w.width()/2-I.x,l=w.height()/2-I.y,h=Math.sqrt(e*e+l*l),(d=Math.atan2(l,e))<0&&(d+=2*Math.PI),h>75&&(h=75,I.x=69-75*Math.cos(d),I.y=69-75*Math.sin(d)),a=u(h/.75,0,100),p=b({h:s=u(180*
vendor: 11,746 bytes, line 1386
1386d/Math.PI,0,360),s:a,b:n=u(100-Math.floor(S.y*(100/y.height())),0,100)}),y.css("backgroundColor",b({h:s,s:a,b:100}));break;case"saturation":p=b({h:s=u(parseInt(I.x*(360/w.width()),10),0,360),s:a=u(100-Math.floor(S.y*(100/y.height())),0,100),b:n=u(100-Math.floor(I.y*(100/w.height())),0,100)}),y.css("backgroundColor",b({h:s,s:100,b:n})),m.find(".minicolors-grid-inner").css("opacity",a/100);break;case"brightness":p=b({h:s=u(parseInt(I.x*(360/w.width()),10),0,360),s:a=u(100-Math.floor(I.y*(100/w.height())),0,100),b:n=u(100-Math.floor(S.y*(100/y.height())),0,100)}),y.css("backgroundColor",b({h:s,s:a,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-n/100);break;default:p=b({h:s=u(360-parseInt(S.y*(360/y.height()),10),0,360),s:a=u(Math.floor(I.x*(100/w.width())),0,100),b:n=u(100-Math.floor(I.y*(100/w.height())),0,100)}),w.css("backgroundColor",b({h:s,s:100,b:100}))}r(i,p,g=f.opacity?parseFloat(1-z.y/C.height()).toFixed(2):1)}else v.find("span").css({backgroundColor:p,opacity:g}),c(i,p,g)}function r(i,t,o){var s,a=i.parent(),n=i.data("minicolors-settings"),r=a.find(".minicolors-input-swatch");n.opacity&&i.attr("data-opacity",o),"rgb"===n.format?(s=g(t)?d(t,!0):w(h(t,!0)),o=""===i.attr("data-opacity")?1:u(parseFloat(i.attr("data-opacity")).toFixed(2),0,1),!isNaN(o)&&n.opacity||(o=1),t=i.minicolors("rgbObject").a<=1&&s&&n.opacity?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(o)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"):(g(t)&&(t=f(t)),t=l(t,n.letterCase)),i.val(t),r.find("span").css({backgroundColor:t,opacity:o}),c(i,t,o)}function e(t,o){var s,a,n,r,e,v,y,C,k,M,x=t.parent(),I=t.data("minicolors-settings"),S=x.find(".minicolors-input-swatch"),z=x.find(".minicolors-grid"),F=x.find(".minicolors-slider"),T=x.find(".minicolors-opacity-slider"),D=z.find("[class$=-picker]"),j=F.find("[class$=-picker]"),q=T.find("[class$=-picker]");switch(g(t.val())?(s=f(t.val()),(e=u(parseFloat(m(t.val())).toFixed(2),0,1))&&t.attr("data-opacity",e)):s=l(h(t.val(),!0),I.letterCase),s||(s=l(p(I.defaultValue,!0),I.letterCase)),a=function(i){var t=function(i){var t={h:0,s:0,b:0},o=Math.min(i.r,i.g,i.b),s=Math.max(i.r,i.g,i.b),a=s-o;t.b=s,t.s=0!==s?255*a/s:0,0!==t.s?i.r===s?t.h=(i.g-i.b)/a:i.g===s?t.h=2+(i.b-i.r)/a:t.h=4+(i.r-i.g)/a:t.h=-1;t.h*=60,t.h<0&&(t.h+=360);return t.s*=100/255,t.b*=100/255,t}(w(i));0===t.s&&(t.h=360);return t}(s),r=I.keywords?i.map(I.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],v=""!==t.val()&&i.inArray(t.val().toLowerCase(),r)>-1?l(t.val()):g(t.val())?d(t.val()):s,o||t.val(v),I.opacity&&(n=""===t.attr("data-opacity")?1:u(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(n)&&(n=1),t.attr("data-opacity",n),S.find("span").css("opacity",n),C=u(T.height()-T.height()*n,0,T.height()),q.css("top",C+"px")),"transparent"===t.val().toLowerCase()&&S.find("span").css("opacity",0),S.find("span").css("backgroundColor",s),I.control){case"wheel":k=u(Math.ceil(.75*a.s),0,z.height()/2),M=a.h*Math.PI/180,y=u(75-Math.cos(M)*k,0,z.width()),C=u(75-Math.sin(M)*k,0,z.height()),D.css({top:C+"px",left:y+"px"}),C=150-a.b/(100/z.height()),""===s&&(C=0),j.css("top",C+"px"),F.css("backgroundColor",b({h:a.h,s:a.s,b:100}));break;case"saturation":y=u(5*a.h/12,0,150),C=u(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),D.css({top:C+"px",left:y+"px"}),C=u(F.height()-a.s*(F.height()/100),0,F.height()),j.css("top",C+"px"),F.css("backgroundColor",b({h:a.h,s:100,b:a.b})),x.find(".minicolors-grid-inner").css("opacity",a.s/100);break;case"brightness":y=u(5*a.h/12,0,150),C=u(z.height()-Math.ceil(a.s/(100/z.height())),0,z.height()),D.css({top:C+"px",left:y+"px"}),C=u(F.height()-a.b*(F.height()/100),0,F.height()),j.css("top",C+"px"),F.css("backgroundColor",b({h:a.h,s:a.s,b:100})),x.find(".minicolors-grid-inner").css("opacity",1-a.b/100);break;default:y=u(Math.ceil(a.s/(100/z.width())),0,z.width()),C=u(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),D.css({top:C+"px",left:y+"px"}),C=u(F.height()-a.h/(360/F.height()),0,F.height()),j.css("top",C+"px"),z.css("backgroundColor",b({h:a.h,s:100,b:100}))}t.data("minicolors-initialized")&&c(t,v,n)}function c(i,t,o){var s,a,n,r=i.data("minicolors-settings"),e=i.data("minicolors-lastChange");if(!e||e.value!==t||e.opacity!==o){if(i.data("minicolors-lastChange",{value:t,opacity:o}),r.swatches&&0!==r.swatches.length){for(s=g(t)?d(t,!0):w(t),a=-1,n=0;n<r.swatches.length;++n)if(s.r===r.swatches[n].r&&s.g===r.swatches[n].g&&s.b===r.swatches[n].b&&s.a===r.swatches[n].a){a=n;break}i.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),-1!==a&&i.parent().find(".minicolors-swatches .minicolors-swatch").eq(n).addClass("selected")}r.change&&(r.changeDelay?(clearTimeout(i.data("minicolors-changeTimeout")),i.data("minicolors-changeTimeout",setTimeout(function(){r.change.call(i.get(0),t,o)},r.changeDelay))):r.change.call(i.get(0),t,o)),i.trigger("change").trigger("input")}}function l(i,t){return"uppercase"===t?i.toUpperCase():i.toLowerCase()}function h(i,t){return(i=i.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)?3!==i.length&&6!==i.length?"":(3===i.length&&t&&(i=i[0]+i[0]+i[1]+i[1]+i[2]+i[2]),"#"+i):""}function d(i,t){var o=i.replace(/[^\d,.]/g,"").split(",");return o[0]=u(parseInt(o[0],10),0,255),o[1]=u(parseInt(o[1],10),0,255),o[2]=u(parseInt(o[2],10),0,255),o[3]&&(o[3]=u(parseFloat(o[3],10),0,1)),t?o[3]?{r:o[0],g:o[1],b:o[2],a:o[3]}:{r:o[0],g:o[1],b:o[2]}:void 0!==o[3]&&o[3]<=1?"rgba("+o[0]+", "+o[1]+", "+o[2]+", "+o[3]+")":"rgb("+o[0]+", "+o[1]+", "+o[2]+")"}function p(i,t){return g(i)?d(i):h(i,t)}function u(i,t,o){return i<t&&(i=t),i>o&&(i=o),i}function g(i){var t=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!t||4!==t.length)}function m(i){return(i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&6===i.length?i[4]:"1"}function f(i){return(i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===i.length?"#"+("0"+parseInt(i[1],10).toString(16)).slice(-2)+("0"+parseInt(i[2],10).toString(16)).slice(-2)+("0"+parseInt(i[3],10).toString(16)).slice(-2):""}function v(t){var o=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return i.each(o,function(i,t){1===t.length&&(o[i]="0"+t)}),"#"+o.join("")}function b(i){return v(function(i){var t={},o=Math.round(i.h),s=Math.round(255*i.s/100),a=Math.round(255*i.b/100);if(0===s)t.r=t.g=t.b=a;else{var n=a,r=(255-s)*a/255,e=o%60*(n-r)/60;360===o&&(o=0),o<60?(t.r=n,t.b=r,t.g=r+e):o<120?(t.g=n,t.b=r,t.r=n-e):o<180?(t.g=n,t.r=r,t.b=r+e):o<240?(t.b=n,t.r=r,t.g=n-e):o<300?(t.b=n,t.g=r,t.r=r+e):o<360?(t.r=n,t.g=r,t.b=n-e):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}(i))}function w(i){return{r:(i=parseInt(i.indexOf("#")>-1?i.substring(1):i,16))>>16,g:(65280&i)>>8,b:255&i}}i.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default",swatches:[]}},i.extend(i.fn,{minicolors:function(a,n){switch(a){case"destroy":return i(this).each(function(){t(i(this))}),i(this);case"hide":return s(),i(this);case"opacity":return void 0===n?i(this).attr("data-opacity"):(i(this).each(function(){e(i(this).attr("data-opacity",n))}),i(this));case"rgbObject":return function(t){var o,s=i(t).attr("data-opacity");if(g(i(t).val()))o=d(i(t).val(),!0);else{var a=h(i(t).val(),!0);o=w(a)}if(!o)return null;void 0!==s&&i.extend(o,{a:parseFloat(s)});return o}(i(this));case"rgbString":case"rgbaString":return function(t,o){var s,a=i(t).attr("data-opacity");if(g(i(t).val()))s=d(i(t).val(),!0);else{var n=h(i(t).val(),!0);s=w(n)}if(!s)return null;void 0===a&&(a=1);return o?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(a)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"}(i(this),"rgbaString"===a);case"settings":return void 0===n?i(this).data("minicolors-settings"):(i(this).each(function(){var o=i(this).data("minicolors-settings")||{};t(i(this)),i(this).minicolors(i.extend(!0,o,n))}),i(this));case"show":return o(i(this).eq(0)),i(this);case"value":return void 0===n?i(this).val():(i(this).each(function(){"object"==typeof n&&null!==n?(n.opacity&&i(this).attr("data-opacity",u(n.opacity,0,1)),n.color&&i(this).val(n.color)):i(this).val(n),e(i(this))}),i(this));default:return"create"!==a&&(n=a),i(this).each(function(){!function(t,o){var s,a,n,r,c,l=i('<div class="minicolors" />'),p=i.minicolors.defaults;if(t.data("minicolors-initialized"))return;o=i.extend(!0,{},p,o),l.addClass("minicolors-theme-"+o.theme).toggleClass("minicolors-with-opacity",o.opacity),void 0!==o.position&&i.each(o.position.split(" "),function(){l.addClass("minicolors-position-"+this)});s="rgb"===o.format?o.opacity?"25":"20":o.keywords?"11":"7";t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",o).prop("size",s).wrap(l).after('<div class="minicolors-panel minicolors-slider-'+o.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),o.inline||(t.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),t.next(".minicolors-input-swatch").on("click",function(i){i.preventDefault(),t.focus()}));if((r=t.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),o.swatches&&0!==o.swatches.length)for(r.addClass("minicolors-with-swatches"),a=i('<ul class="minicolors-swatches"></ul>').appendTo(r),c=0;c<o.swatches.length;++c)n=g(n=o.swatches[c])?d(n,!0):w(h(n,!0)),i('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').appendTo(a).data("swatch-color",o.swatches[c]).find(".minicolors-swatch-color").css({backgroundColor:v(n),opacity:n.a}),o.swatches[c]=n;o.inline&&t.parent().addClass("minicolors-inline");e(t,!1),t.data("minicolors-initialized",!0)}(i(this),n)}),i(this)}}}),i([document]).on("mousedown.minicolors touchstart.minicolors",function(t){i(t.target).parents().add(t.target).hasClass("minicolors")||s()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var o=i(this);t.preventDefault(),i(t.delegateTarget).data("minicolors-target",o),a(o,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var o=i(t.delegateTarget).data("minicolors-target");o&&a(o,t)}).on("mouseup.minicolors touchend.minicolors",function(){i(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(t){t.preventDefault();var o=i(this),s=o.parents(".minicolors").find(".minicolors-input"),a=o.data("swatch-color");r(s,a,m(a)),e(s)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(t){var s=i(this).parent().find(".minicolors-input");t.preventDefault(),o(s)}).on("focus.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&o(t)}).on("blur.minicolors",".minicolors-input",function(){var t,o,s,a,n,r=i(this),e=r.data("minicolors-settings");r.data("minicolors-initialized")&&(t=e.keywords?i.map(e.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],n=""!==r.val()&&i.inArray(r.val().toLowerCase(),t)>-1?r.val():null===(s=g(r.val())?d(r.val(),!0):(o=h(r.val(),!0))?w(o):null)?e.defaultValue:"rgb"===e.format?e.o
1386pacity?d("rgba("+s.r+","+s.g+","+s.b+","+r.attr("data-opacity")+")"):d("rgb("+s.r+","+s.g+","+s.b+")"):v(s),a=e.opacity?r.attr("data-opacity"):1,"transparent"===n.toLowerCase()&&(a=0),r.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",a),r.val(n),""===r.val()&&r.val(p(e.defaultValue,!0)),r.val(l(r.val(),e.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var o=i(this);if(o.data("minicolors-initialized"))switch(t.keyCode){case 9:s();break;case 13:case 27:s(),o.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&e(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&setTimeout(function(){e(t,!0)},1)})});/*
1387* 2007-2025 PrestaShop
1388*
1389* NOTICE OF LICENSE
1390*
1391* This source file is subject to the Open Software License (OSL 3.0)
1392* that is bundled with this package in the file LICENSE.txt.
1393* It is also available through the world-wide-web at this URL:
1394* http://opensource.org/licenses/osl-3.0.php
1395* If you did not receive a copy of the license and are unable to
1396* obtain it through the world-wide-web, please send an email
1397* to [email protected] so we can send you a copy immediately.
1398*
1399* DISCLAIMER
1400*
1401* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1402* versions in the future. If you wish to customize PrestaShop for your
1403* needs please refer to http://www.prestashop.com for more information.
1404*
1405*  @author PrestaShop SA <[email protected]>
1406*  @copyright  2007-2025 PrestaShop SA
1407*  @version  Release: $Revision$
1408*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1409*  International Registered Trademark & Property of PrestaShop SA
1410*/
1411+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.toggle"),f="object"==typeof b&&b;e||d.data("bs.toggle",e=new c(this,f)),"string"==typeof b&&e[b]&&e[b]()})}var c=function(b,c){this.$element=a(b),this.options=a.extend({},this.defaults(),c),this.render()};c.VERSION="2.2.0",c.DEFAULTS={on:"On",off:"Off",onstyle:"primary",offstyle:"default",size:"normal",style:"",width:null,height:null},c.prototype.defaults=function(){return{on:this.$element.attr("data-on")||c.DEFAULTS.on,off:this.$element.attr("data-off")||c.DEFAULTS.off,onstyle:this.$element.attr("data-onstyle")||c.DEFAULTS.onstyle,offstyle:this.$element.attr("data-offstyle")||c.DEFAULTS.offstyle,size:this.$element.attr("data-size")||c.DEFAULTS.size,style:this.$element.attr("data-style")||c.DEFAULTS.style,width:this.$element.attr("data-width")||c.DEFAULTS.width,height:this.$element.attr("data-height")||c.DEFAULTS.height}},c.prototype.render=function(){this._onstyle="btn-"+this.options.onstyle,this._offstyle="btn-"+this.options.offstyle;var b="large"===this.options.size?"btn-lg":"small"===this.options.size?"btn-sm":"mini"===this.options.size?"btn-xs":"",c=a('<label class="btn">').html(this.options.on).addClass(this._onstyle+" "+b),d=a('<label class="btn">').html(this.options.off).addClass(this._offstyle+" "+b+" active"),e=a('<span class="toggle-handle btn btn-default">').addClass(b),f=a('<div class="toggle-group">').append(c,d,e),g=a('<div class="toggle btn" data-toggle="toggle">').addClass(this.$element.prop("checked")?this._onstyle:this._offstyle+" off").addClass(b).addClass(this.options.style);this.$element.wrap(g),a.extend(this,{$toggle:this.$element.parent(),$toggleOn:c,$toggleOff:d,$toggleGroup:f}),this.$toggle.append(f);var h=this.options.width||Math.max(c.outerWidth(),d.outerWidth())+e.outerWidth()/2,i=this.options.height||Math.max(c.outerHeight(),d.outerHeight());c.addClass("toggle-on"),d.addClass("toggle-off"),this.$toggle.css({width:h,height:i}),this.options.height&&(c.css("line-height",c.height()+"px"),d.css("line-height",d.height()+"px")),this.update(!0),this.trigger(!0)},c.prototype.toggle=function(){this.$element.prop("checked")?this.off():this.on()},c.prototype.on=function(a){return this.$element.prop("disabled")?!1:(this.$toggle.removeClass(this._offstyle+" off").addClass(this._onstyle),this.$element.prop("checked",!0),void(a||this.trigger()))},c.prototype.off=function(a){return this.$element.prop("disabled")?!1:(this.$toggle.removeClass(this._onstyle).addClass(this._offstyle+" off"),this.$element.prop("checked",!1),void(a||this.trigger()))},c.prototype.enable=function(){this.$toggle.removeAttr("disabled"),this.$element.prop("disabled",!1)},c.prototype.disable=function(){this.$toggle.attr("disabled","disabled"),this.$element.prop("disabled",!0)},c.prototype.update=function(a){this.$element.prop("disabled")?this.disable():this.enable(),this.$element.prop("checked")?this.on(a):this.off(a)},c.prototype.trigger=function(b){this.$element.off("change.bs.toggle"),b||this.$element.change(),this.$element.on("change.bs.toggle",a.proxy(function(){this.update()},this))},c.prototype.destroy=function(){this.$element.off("change.bs.toggle"),this.$toggleGroup.remove(),this.$element.removeData("bs.toggle"),this.$element.unwrap()};var d=a.fn.bootstrapToggle;a.fn.bootstrapToggle=b,a.fn.bootstrapToggle.Constructor=c,a.fn.toggle.noConflict=function(){return a.fn.bootstrapToggle=d,this},a(function(){a("input[type=checkbox][data-toggle^=toggle]").bootstrapToggle()}),a(document).on("click.bs.toggle","div[data-toggle^=toggle]",function(b){var c=a(this).find("input[type=checkbox]");c.bootstrapToggle("toggle"),b.preventDefault()})}(jQuery);/**
1412 * 2007-2025 PrestaShop
1413 *
1414 * NOTICE OF LICENSE
1415 *
1416 * This source file is subject to the Academic Free License (AFL 3.0)
1417 * that is bundled with this package in the file LICENSE.txt.
1418 * It is also available through the world-wide-web at this URL:
1419 * http://opensource.org/licenses/afl-3.0.php
1420 * If you did not receive a copy of the license and are unable to
1421 * obtain it through the world-wide-web, please send an email
1422 * to [email protected] so we can send you a copy immediately.
1423 *
1424 * DISCLAIMER
1425 *
1426 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1427 * versions in the future. If you wish to customize PrestaShop for your
1428 * needs please refer to http://www.prestashop.com for more information.
1429 *
1430 *  @author    PrestaShop SA <[email protected]>
1431 *  @copyright 2007-2025 PrestaShop SA
1432 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1433 *  International Registered Trademark & Property of PrestaShop SA
1434 */
1435var currentThemeName=tvthemename+"_";var isCallAjax=!0;var storage;var cssPath;var layoutPath;var demo_theme;var demo_theme_mode;var cssDataResult;var demo_theme_layout_Status=!1;var stopRefreshStatus=!1;var langId=document.getElementsByTagName("html")[0].getAttribute("lang");$(document).ready(function(e){function getUrlVars(){var vars=[],hash;var hashes=window.location.href.slice(window.location.href.indexOf('?')+1).split('&');for(var i=0;i<hashes.length;i++){hash=hashes[i].split('=');vars.push(hash[0]);vars[hash[0]]=hash[1]}
1436return vars}
1437storage=$.localStorage;cssPath=prestashop.urls.css_url;layoutPath=prestashop.urls.theme_assets+"../templates/_partials/";demo_theme=getUrlVars()["demo-theme"];demo_layout_hl=getUrlVars()["hl"];demo_layout_mhl=getUrlVars()["mhl"];demo_layout_fl=getUrlVars()["fl"];demo_layout_pdl=getUrlVars()["pdl"];demo_theme_layout_Status=(demo_layout_hl!=undefined||demo_layout_mhl!=undefined||demo_layout_fl!=undefined||demo_layout_pdl!=undefined);demo_theme_mode=getUrlVars()["demo-theme-mode"];cssDataResult='';if((demo_theme!=''&&demo_theme!=undefined)||(demo_theme_mode!=''&&demo_theme_mode!=undefined)||demo_theme_layout_Status){gettvcmsthemeoptions()}
1438function storageGet(key){return""+storage.get(currentThemeName+key)}
1439function storageSet(key,value){storage.set(currentThemeName+key,value)}
1440function setRequestTheme(demo_theme){if(demo_theme=="box-width"){storageSet("box-layout","box")}else if(demo_theme!=''&&demo_theme!=undefined){storageSet("theme",demo_theme);$('.tvselect-theme #select_theme input[value="'+storageGet("theme")+'"]').attr('checked','checked');var themeColorVal=$('input:checked',$('#select_theme')).attr('data-color');var themeColorVal2=$('input:checked',$('#select_theme')).attr('data-color-two');storageSet("theme_color",themeColorVal);storageSet("theme_color2",themeColorVal2);setCustomeTheme();setTimeout(function(){$('.tvtheme-control-icon').trigger('click')},500)}
1441if(demo_theme_layout_Status){setTimeout(function(){$('.tvtheme-layout-icon').trigger('click')},500)}
1442if(demo_theme_mode=='dark'){storageSet("theme-dark-mode",1)}else if(demo_theme_mode=='light'){storageSet("theme-dark-mode",0)}else if(demo_theme!=''&&demo_theme!=undefined){storageSet("theme-dark-mode",0)}}
1443function gettvcmsthemeoptions(){if(isCallAjax){var data=storageGet("setting");if(data!='null'){$('body').prepend(data);$('#themecolor1').minicolors();$('#themecolor2').minicolors();$('#themebgcolor2').minicolors();$('#themebodybgcolor').minicolors();$('#themeCustomTitleColor').minicolors();loadJs();setRequestTheme(demo_theme);getCustomSetting();getCustomFontSettingOnPageLoad()}
1444isCallAjax=!1;$.ajax({type:'POST',url:getThemeOptionsLink,success:function(data){var dataCache=storageGet("setting");storageSet("setting",data);if(dataCache==='null'){$('body').prepend(data);$('#themecolor1').minicolors();$('#themecolor2').minicolors();$('#themebgcolor2').minicolors();$('#themebodybgcolor').minicolors();$('#themeCustomTitleColor').minicolors();loadJs();setRequestTheme(demo_theme);getCustomSetting();getCustomFontSettingOnPageLoad()}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}}
1445themevoltyCallEventsPush(gettvcmsthemeoptions,null);function escapeRegExp(string){return string.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}
1446function replaceAll(str,find,replace){return str.replace(new RegExp(escapeRegExp(find),'g'),replace)}
1447function idealTextColor(bgColor){var nThreshold=105;var components=getRGBComponents(bgColor);var bgDelta=(components.R*0.299)+(components.G*0.587)+(components.B*0.114);return((255-bgDelta)<nThreshold)?"#000000":"#ffffff"}
1448function getRGBComponents(color){var r=color.substring(1,3);var g=color.substring(3,5);var b=color.substring(5,7);return{R:parseInt(r,16),G:parseInt(g,16),B:parseInt(b,16)}}
1449function moveDataInMobileView(desktopClass,mobileClass){if($(desktopClass).html()!=undefined&&$(mobileClass).html()!=undefined){var html=''+$(desktopClass).html();if(html!=''){$(mobileClass).html(html)}}}
1450function moveDataInDesktopView(desktopClass,mobileClass){if($(desktopClass).html()!=undefined&&$(mobileClass).html()!=undefined){var html=''+$(mobileClass).html();if(html!=''){$(desktopClass).html(html)}}}
1451function showView($find,$header){if(document.body.clientWidth<=mobileViewSize){var findHeaderLayout=".mh"+$find;var headerLayout=".mh"+$header;moveDataInMobileView(findHeaderLayout+' .tvmobileheader-offer-wrapper',headerLayout+' .tvmobileheader-offer-wrapper');moveDataInMobileView(findHeaderLayout+' #tvmobile-megamenu',headerLayout+' #tvmobile-megamenu');moveDataInMobileView(findHeaderLayout+' #tvcmsmobile-header-logo',headerLayout+' #tvcmsmobile-header-logo');moveDataInMobileView(findHeaderLayout+' #tvcmsmobile-search',headerLayout+' #tvcmsmobile-search');moveDataInMobileView(findHeaderLayout+' #tvmobile-cart',headerLayout+' #tvmobile-cart');moveDataInMobileView(findHeaderLayout+' #tvmobile-lang',headerLayout+' #tvmobile-lang');moveDataInMobileView(findHeaderLayout+' #tvmobile-curr',headerLayout+' #tvmobile-curr');moveDataInMobileView(findHeaderLayout+' #tvcmsmobile-account-button',headerLayout+' #tvcmsmobile-account-button');moveDataInMobileView(findHeaderLayout+' .tvcmsmobile-contact',headerLayout+' .tvcmsmobile-contact');moveDataInMobileView(findHeaderLayout+' .tvmobile-compare',headerLayout+' .tvmobile-compare');moveDataInMobileView(findHeaderLayout+' .tvmobile-wishlist',headerLayout+' .tvmobile-wishlist')}else{var findHeaderLayout=".header-"+$find;var headerLayout=".header-"+$header;moveDataInMobileView(findHeaderLayout+' .tvheader-offer-wrapper',headerLayout+' .tvheader-offer-wrapper');moveDataInMobileView(findHeaderLayout+' #tvcmsdesktop-logo',headerLayout+' #tvcmsdesktop-logo');moveDataInMobileView(findHeaderLayout+' #_desktop_cart_manage',headerLayout+' #_desktop_cart_manage');moveDataInMobileView(findHeaderLayout+' #tvdesktop-megamenu',headerLayout+' #tvdesktop-megamenu');moveDataInMobileView(findHeaderLayout+' #_desktop_search',headerLayout+' #_desktop_search');moveDataInMobileView(findHeaderLayout+' #tvcmsdesktop-account-button',headerLayout+' #tvcmsdesktop-account-button');moveDataInMobileView(findHeaderLayout+' .tvheader-compare',headerLayout+' .tvheader-compare');moveDataInMobileView(findHeaderLayout+' .ttvcms-wishlist-icon',headerLayout+' .ttvcms-wishlist-icon');moveDataInMobileView(findHeaderLayout+' .tvcmsdesktop-contact',headerLayout+' .tvcmsdesktop-contact');moveDataInMobileView(findHeaderLayout+' .tvheader-language',headerLayout+' .tvheader-language');moveDataInMobileView(findHeaderLayout+' .tvheader-currency',headerLayout+' .tvheader-currency')}
1452$(findHeaderLayout).hide()}
1453function setCustomHLayout(){if(document.body.clientWidth>mobileViewSize){var header=storageGet("theme-header-layout");var findHeaderLayout=$('.tvcmsdesktop-top-header-wrapper:visible').attr("data-header-layout");if((!$('.tvcmsdesktop-top-header-wrapper').hasClass('header-'+header))&&(header!==undefined)&&(header!='null')){if(stopRefreshStatus){$('html, body').animate({scrollTop:0},800)}
1454$.get(layoutPath+"desk-header-"+header+".tvtpl",function(dataResult){dataResult=replaceAll(dataResult,'{*','<!--');dataResult=replaceAll(dataResult,'*}','-->');$('#header').append(dataResult);showView(findHeaderLayout,header)})}else{$('.tvcmsdesktop-top-header-wrapper').hide();$('.tvcmsdesktop-top-header-wrapper.header-'+header).show()}}}
1455function setCustomMHLayout(){if(document.body.clientWidth<=mobileViewSize){var header=storageGet("theme-mobile-layout");var findHeaderLayout=$('.tvheader-mobile-layout:visible').attr("data-header-mobile-layout");if((!$('.tvheader-mobile-layout').hasClass('mh'+header))&&header!==undefined&&header!='null'){if(stopRefreshStatus){$('html, body').animate({scrollTop:0},800)}
1456$.get(layoutPath+"mobile-header-"+header+".tvtpl",function(dataResult){dataResult=replaceAll(dataResult,'{*','<!--');dataResult=replaceAll(dataResult,'*}','-->');$('#header').append(dataResult);showView(findHeaderLayout,header)})}else{$('.tvheader-mobile-layout').hide();$('.tvheader-mobile-layout.mh'+header).show()}}}
1457$(document).on("change",'input[name="header-mobile-layout"]',function(){storageSet("theme-mobile-layout",$(this).val());setCustomMHLayout()});$(document).on("change",'input[name="header-layout"]',function(){storageSet("theme-header-layout",$(this).val());setCustomHLayout()});function makeLayoutUrl(refresh){var currUrl=window.location.href.split('#')[0];currUrl=currUrl.split('?')[0];currUrl+=((currUrl.indexOf('?')>0)?"&":"?");var param='';
1457if(storageGet("theme-header-layout")!='null'){param+="hl="+storageGet("theme-header-layout")}
1458if(storageGet("theme-mobile-layout")!='null'){param+="&mhl="+storageGet("theme-mobile-layout")}
1459if(storageGet("theme-footer-layout")!='null'){param+="&fl="+storageGet("theme-footer-layout")}
1460if(storageGet("theme-product-layout")!='null'){if($('body#product').length==0&&(storageGet("theme-product-layout-redirect")=='true')){currUrl=$('article a.product-thumbnail').eq(1).attr('href');currUrl=currUrl.split('#')[0];currUrl=currUrl.split('?')[0];currUrl+=((currUrl.indexOf('?')>0)?"&":"?")}
1461param+="&pdl="+storageGet("theme-product-layout")}
1462if(refresh&stopRefreshStatus){location.href=currUrl+param}}
1463$(document).on("change",'input[name="footer-layout"]',function(){storageSet("theme-footer-layout",$(this).val());if(stopRefreshStatus){storageSet("theme-footer-layout-scroll",!0)}
1464makeLayoutUrl(!0)});$(document).on("change",'input[name="product-layout"]',function(){storageSet("theme-product-layout",$(this).val());if(stopRefreshStatus){storageSet("theme-product-layout-redirect",!0)}
1465makeLayoutUrl(!0)});function setCustomeTheme(){if((storageGet("theme_color")!=undefined&&storageGet("theme_color")!='')||(storageGet("theme_color2")!=undefined&&storageGet("theme_color2")!='')){if(cssDataResult==""){$.get(cssPath+"theme-custom.css",function(dataResult){cssDataResult=dataResult;setCustomCssValues(cssDataResult)})}else{setCustomCssValues(cssDataResult)}
1466setBodyTextClass()}}
1467function setBodyTextClass(){var TextColor1=idealTextColor(storageGet("theme_color"));var TextColor2=idealTextColor(storageGet("theme_color2"));$('body').removeClass("text1-light");$('body').removeClass("text1-dark");$('body').removeClass("text2-light");$('body').removeClass("text2-dark");if(TextColor1=="#ffffff"){$('body').addClass("text1-light")}else{$('body').addClass("text1-dark")}
1468if(TextColor2=="#ffffff"){$('body').addClass("text2-light")}else{$('body').addClass("text2-dark")}}
1469function setCustomCssValues(dataResult){var TextColor1=idealTextColor(storageGet("theme_color"));var TextColor2=idealTextColor(storageGet("theme_color2"));setBodyTextClass();dataResult=replaceAll(dataResult,'#maincolor1',storageGet("theme_color"));dataResult=replaceAll(dataResult,'#maincolor2',storageGet("theme_color2"));dataResult=replaceAll(dataResult,'#maincolortext1',TextColor1);dataResult=replaceAll(dataResult,'#maincolortext2',TextColor2);var AltTextColor1=(TextColor1=='#000000')?'#ffffff':"#000000";var AltTextColor2=(TextColor2=='#000000')?'#ffffff':"#000000";dataResult=replaceAll(dataResult,'#altcolortext1',AltTextColor1);dataResult=replaceAll(dataResult,'#altcolortext2',AltTextColor2);$('.tvcms-custom-theme .custom-css').remove('');$(".tvcms-custom-theme").append("<div class='custom-css'><style>"+dataResult+"</style><div>")}
1470$(document).on("change",'input[name="TVCMSCUSTOMSETTING_LIGHT_DARK_MODE_INPUT"]',function(){$('.tvcheck-popup').hide();$(this).parent().find('.tvcheck-popup').show();storageSet("theme-dark-mode",$(this).val());setDarkMode()});function manmamanageDefaultVal(){$(document).on('click','.lightModeWrapper',function(){if($('.dark-theme-css-r').find()){$('.dark-theme-css-r').remove()}});if(TVCMSCUSTOMSETTING_DARK_MODE_INPUT==1){storageSet("theme-dark-mode",1)}else if(TVCMSCUSTOMSETTING_DARK_MODE_INPUT==0){storageSet("theme-dark-mode",0)}else if(TVCMSCUSTOMSETTING_DARK_MODE_INPUT!=''&&TVCMSCUSTOMSETTING_DARK_MODE_INPUT!=undefined){storageSet("theme-dark-mode",0)}}
1471function setDarkMode(){if(storageGet("theme-dark-mode")==0){if($('body').hasClass('dark-mode-active')){$('body').removeClass('dark-mode-active')}
1472$('.tvtheme-theme-mode .lightModeWrapper .tvcheck-popup').show();$('.tvtheme-theme-mode .lightModeWrapper input').prop('checked',!0);$('.tvcms-custom-theme .dark-mode-css').remove('')}else{$('.tvtheme-theme-mode .darkModeWrapper .tvcheck-popup').show();if(!$('body').hasClass('dark-mode-active')){$('body').addClass('dark-mode-active')}
1473$('.tvtheme-theme-mode .darkModeWrapper input').prop('checked',!0);$.get(cssPath+"dark-theme.css",function(data){$('.tvcms-custom-theme .dark-mode-css').remove('');data=replaceAll(data,'url(..\/img\/','url('+prestashop.urls.img_url);$(".tvcms-custom-theme").append("<div class='dark-mode-css'><style>"+data+"</style><div>")})}}
1474if(TVCMSCUSTOMSETTING_DARK_MODE_INPUT==1){$('body').addClass('dark-mode-active')}
1475function setBoxLayoutTheme(){if(storageGet("theme-bg-status")=="pattern"){$('body').css('background-image',storageGet("theme-bg-pattern"));$('body').css('background-color','');$('.tvtheme-all-pattern-wrapper').addClass('open');$('.tvtheme-bgcolor-box').removeClass('open')}else{$('body').css('background-color',storageGet("theme-bg-color"));$('body').css('background-image',"");$('#themebgcolor2').val(storageGet("theme-bg-color"));$('#themebgcolor2').parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme-bg-color"))
1476$('.tvtheme-bgcolor-box').addClass('open');$('.tvtheme-all-pattern-wrapper').removeClass('open')}}
1477function setBoxLayout(obj){if($(obj).val()=="box"){$('.tv-main-div').addClass('tv-box-layout container');$('.tv-main-div').removeClass('tv-full-layout');$('.box-block').addClass('open');storageSet("box-layout","box");setBoxLayoutTheme()}else{$('.tv-main-div').addClass('tvcms-full-layout');$('.tv-main-div').removeClass('tv-box-layout container');$('.box-block').removeClass('open');storageSet("box-layout","wide")}}
1478function setBodyLayoutTheme(){if(storageGet("theme-body-bgcolor-effect")=='color'){$('.tv-main-div').css('background-color',storageGet("theme-body-bgcolor"));$('.tv-main-div').css('background-image',"");$('#themebodybgcolor').val(storageGet("theme-body-bgcolor"));$('#themebodybgcolor').parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme-body-bgcolor"));$('.tvbody-bgcolor-wrapper.tvtheme-body-bgcolor').addClass('open');$('.tvtheme-body-background-patten').removeClass('open')}else{$('.tv-main-div').css('background-image',storageGet('theme-body-bgimage'));$('.tvtheme-body-background-patten').addClass('open');$('.tvbody-bgcolor-wrapper.tvtheme-body-bgcolor').removeClass('open')}}
1479function setBodyLayout(obj){if($(obj).val()=="default"){$('.bg-block').removeClass('open');$('.tv-main-div').removeAttr('style');storageSet("theme-body-bgcolor-status","default")}else{setBodyLayoutTheme();$('.bg-block').addClass('open');storageSet("theme-body-bgcolor-status","custom")}}
1480$(document).on('change','.tvtheme-box-layout input[name="box-themes"]',function(){storageSet("theme-bg-status",$(this).val());setBoxLayoutTheme()});$(document).on('click','.tvtheme-background-layout input[name="body-themes"]',function(){storageSet("theme-body-bgcolor-effect",$(this).val());setBodyLayoutTheme()});
1480function getPattenSetting(obj){$(obj).addClass('active');$('.tvtheme-pattern-image').removeClass("active");$('.tvtheme-pattern-image').each(function(){if("url("+$(this).attr('data-background-image-url')+")"==storageGet("theme-bg-pattern")){$(this).addClass('active')}});$('body').css('background-image',"url("+storageGet("theme-bg-pattern")+")");$('body').css('background-color','')}
1481function getBgColorSetting(obj){$('body').css('background-color',storageGet("theme-bg-color"));$('body').css('background-image',"");obj.parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme-bg-color"))}
1482function getCustomSetting(){if(storageGet("themeControl")=='null'){resetCustomSetting()}
1483if(storageGet("theme").match(/theme_custom/g)){$('.tvselect-theme #select_theme input[value="'+storageGet("theme")+'"]').attr('data-color',storageGet("theme_color"));$('.tvselect-theme #select_theme input[value="'+storageGet("theme")+'"]').attr('data-color-two',storageGet("theme_color2"));$('.tvtheme-color-one').show();$('.tvtheme-color-two').show();$('#themecolor1').val(storageGet("theme_color"));$('#themecolor2').val(storageGet("theme_color2"));$('#themecolor1').parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme_color"));$('#themecolor2').parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme_color2"))}else{$('.tvtheme-color-one').hide();$('.tvtheme-color-two').hide()}
1484$('.tvselect-theme #select_theme input[value="'+storageGet("theme")+'"]').trigger('click');storageSet("theme-product-layout-redirect",!1);if($("#checkout").length==0){$('#headerLayout input[value="'+storageGet("theme-header-layout")+'"]').trigger('click');$('#headerMobileLayout input[value="'+storageGet("header-mobile-layout")+'"]').trigger('click');$('#footerLayout input[value="'+storageGet("theme-footer-layout")+'"]').trigger('click');$('#productLayout input[value="'+storageGet("theme-product-layout")+'"]').trigger('click')}
1485stopRefreshStatus=!0;if(storageGet("theme-footer-layout-scroll")=='true'){$('html, body').animate({scrollTop:$(document).height()},800)}
1486setCustomeTheme();setDarkMode();if(storageGet("box-layout")=="box"){var obj=$(".tvtheme-box-layout-option");setBoxLayout(obj);if(storageGet("theme-bg-status")=="pattern"){getPattenSetting($('.tvtheme-pattern-image'))}else{getBgColorSetting($('#themebgcolor2'))}
1487$('.box-block input[value="'+storageGet("theme-bg-status")+'"]').trigger('click');setBoxLayoutTheme();obj.trigger('click')}else{$('.box-block').removeClass('open')}
1488if(storageGet("theme-body-bgcolor-status")=="custom"){$('input[value="'+storageGet("theme-body-bgcolor-status")+'"]').trigger('click');$('.bg-block').addClass('open');$('.bg-block input[value="'+storageGet("theme-body-bgcolor-effect")+'"]').trigger('click');setBodyLayoutTheme()}
1489if(!storageGet("menu-sticky")){$('.tvtheme-menu-sticky-option').trigger('click')}}
1490$(document).on('click','#tvtheme-reset-layout svg',function(){storageSet("theme-bg-color",'#000');$('body').css('background-color','#000');$('#themebgcolor2').val('#000');$('.tvtheme-bgcolor-box .minicolors-swatch-color').css('background-color','#000')});$(document).on('click','#tvtheme-reset-bgcolor svg',function(){storageSet("theme-body-bgcolor","#f5f5f5");$('.tv-main-div').css('background-color','#f5f5f5');$('.tvbody-bgcolor-wrapper .minicolors-swatch-color').removeAttr('style');$('#themebodybgcolor').val('')});$(document).on('click','.tvselect-title-font-1 svg',function(){storageSet("theme-title-color","#333");if(storageGet("theme-title-color")!=undefined&&storageGet("theme-title-color")!=''){$.get(cssPath+"theme-custom-title-color.css",function(data){data=replaceAll(data,'#customTitleColor',storageGet("theme-title-color"));returnData=data;$('#themeCustomTitleColor').val('');$('#themeCustomTitleColor').parent().find('.minicolors-swatch-color').removeAttr('style');$('.tvcms-custom-color').html('<style>'+returnData+'</style>')})}});function resetCustomSetting(){storage.removeAll();storageSet("themeControl",!0);storageSet("theme","");storageSet("theme_color","");storageSet("theme_color2","");storageSet("box-layout","wide");storageSet("menu-sticky",!0);storageSet("themeColor1",'#fff');storageSet("themeColor2",'#ededed');storageSet("theme-bg-pattern","url("+prestashop.urls.img_url+"pattern/pattern14.png)");storageSet("theme-bg-color",'#000');storageSet("theme-bg-status","color");storageSet("theme-body-bgcolor-status","default");storageSet("theme-body-bgcolor-effect",'color');storageSet("theme-body-bgcolor","");storageSet("theme-body-bgimage","");storageSet("theme-custom-font-1","");storageSet("theme-custom-font-link-1","");storageSet("theme-custom-font-2","");storageSet("theme-custom-font-link-2","");storageSet("theme-title-color","");storageSet("theme-dark-mode",0);storageSet("theme-header-layout",null);storageSet("header-mobile-layout",null);storageSet("theme-footer-layout",null);storageSet("theme-product-layout",null);storageSet("theme-footer-layout-scroll",!1);storageSet("theme-product-layout-redirect",!1)}
1491function getCustomFontSettingOnPageLoad(){setCustomeFontTheme(1);setCustomeFontTheme(2);setCustomeFontTheme(3)}
1492function setCustomeFontTheme($dataCall){var returnData="";if(storageGet("theme-custom-font-1")!=undefined&&storageGet("theme-custom-font-1")!=''&&$dataCall==1){$('.tvselect-title-font-1-select').val(storageGet("theme-custom-font-1"));$.get(cssPath+"theme-custom-title-font.css",function(data){var link_1='';data=replaceAll(data,'#fontFamily1',storageGet("theme-custom-font-1"));link_1='@import url(\''+storageGet("theme-custom-font-link-1")+'\');';returnData+=link_1+' '+data;$('.tvcms-custom-font-1').html("<style>"+returnData+"</style>")})}else if(storageGet("theme-custom-font-1")==''){$('.tvcms-custom-font-1').html('')}
1493if(storageGet("theme-title-color")!=undefined&&storageGet("theme-title-color")!=''&&$dataCall==3){$.get(cssPath+"theme-custom-title-color.css",function(data){data=replaceAll(data,'#customTitleColor',storageGet("theme-title-color"));returnData=data;$('#themeCustomTitleColor').val(storageGet("theme-title-color"));$('#themeCustomTitleColor').parent().find('.minicolors-swatch-color').css('background-color',storageGet("theme-title-color"));$('.tvcms-custom-color').html('<style>'+returnData+'</style>')})}else if(storageGet("theme-title-color")==''){$('.tvcms-custom-color').html('')}
1494if(storageGet("theme-custom-font-2")!=undefined&&storageGet("theme-custom-font-2")!=''&&$dataCall==2){$('.tvselect-title-font-2-select').val(storageGet("theme-custom-font-2"));$.get(cssPath+"theme-custom-body-font.css",function(data){var link_2='';data=replaceAll(data,'#fontFamily2',storageGet("theme-custom-font-2"));link_2='@import url(\''+storageGet("theme-custom-font-link-2")+'\');';returnData=link_2+' '+data;$('.tvcms-custom-font-2').html('<style>'+returnData+'</style>')})}else if(storageGet("theme-custom-font-2")==''){$('.tvcms-custom-font-2').html('')}}
1495function loadJs(){$(".tvcms-custom-font-1").html('');$(".tvcms-custom-font-2").html('');$(".tvcms-custom-color").html('');$(document).on('change','.tvtheme-menu-sticky-option',function(e){if($(this).val()=="sticky"){storageSet("menu-sticky",!0);$('.tvcms-header-menu-offer-wrapper').addClass('tvcmsheader-sticky')}else{storageSet("menu-sticky",!1);$('.tvcms-header-menu-offer-wrapper').removeClass('tvcmsheader-sticky')}});$(document).on('click','.tvcmstheme-control .tvtheme-control-icon',function(e){var themeOptionWrapper=$('.tvcmstheme-control .tvtheme-control-wrapper');if(themeOptionWrapper.hasClass('open')){themeOptionWrapper.removeClass('open');$('.tvcmstheme-control').removeClass('open')}else{themeOptionWrapper.addClass('open');$('.tvcmstheme-control').addClass('open');$('.tvcmstheme-layout').removeClass('open');$('.tvcmstheme-layout .tvtheme-layout-wrapper').removeClass('open')}});$(document).on('click','.tvcmstheme-layout .tvtheme-layout-icon',function(e){var themeOptionWrapper=$('.tvcmstheme-layout .tvtheme-layout-wrapper');if(themeOptionWrapper.hasClass('open')){themeOptionWrapper.removeClass('open');$('.tvcmstheme-layout').removeClass('open')}else{themeOptionWrapper.addClass('open');$('.tvcmstheme-layout').addClass('open');$('.tvcmstheme-control').removeClass('open');$('.tvcmstheme-control .tvtheme-control-wrapper').removeClass('open');if(document.body.clientWidth<=mobileViewSize){if($('.tvcmstheme-layout button[data-target=#headerMobileLayout]').hasClass('collapsed')){$('.tvcmstheme-layout button[data-target=#headerMobileLayout]').trigger('click')}}else{if($('body#product .tvcmstheme-layout button[data-target=#productLayout]').hasClass('collapsed')&&(storageGet("theme-footer-layout-scroll")=='false')){$('body#product .tvcmstheme-layout button[data-target=#productLayout]').trigger('click')}else if(storageGet("theme-footer-layout-scroll")=='true'){$('.tvcmstheme-layout button[data-target=#footerLayout]').trigger('click');storageSet("theme-footer-layout-scroll",!1)}}}});$(document).on('change','.tvselect-theme #select_theme input',function(e){e.preventDefault();var themeVal=$(this).val();var themeColorVal=$(this).attr('data-color');var themeColorVal2=$(this).attr('data-color-two');storageSet("theme",themeVal);storageSet("theme_color",themeColorVal);storageSet("theme_color2",themeColorVal2);$('.tvtheme-color-one').hide().animate({height:0,opacity:0}
1495,200);$('.tvtheme-color-two').hide().animate({height:0,opacity:0},200);if(themeVal==""){$('.tvcms-custom-theme .custom-css').remove();$('.minicolors .themecolor1').hide();$('.minicolors .themecolor2').hide()}else if(themeVal.match(/theme_custom/g)){$('.tvtheme-color-one').show().animate({height:73,opacity:1},200);$('.tvtheme-color-two').show().animate({height:73,opacity:1},200);var theme_color=$('#themecolor1').val();var theme_color2=$('#themecolor2').val();storageSet("theme_color",theme_color);storageSet("theme_color2",theme_color2);setCustomeTheme()}else{setCustomeTheme()}});$(document).on('change','#themecolor1',function(e){var theme_color=$(this).val();storageSet("theme_color",theme_color);setCustomeTheme()});$(document).on('change','#themecolor2',function(e){var theme_color2=$(this).val();storageSet("theme_color2",theme_color2);setCustomeTheme()});$(document).on('change','input.box-layout-option',function(e){setBoxLayout(this)});$(document).on('change','input.body-layout-option',function(e){setBodyLayout(this)});$(document).on('click','.tvtheme-pattern-image',function(e){$('.tvtheme-pattern-image').removeClass('active');$(this).addClass('active');$('body').css('background-image',"url("+$(this).attr('data-background-image-url')+")");storageSet("theme-bg-pattern","url("+$(this).attr('data-background-image-url')+")");$('body').css('background-color','');storageSet("theme-bg-status","pattern")});$(document).on('change','#themebgcolor2',function(e){$('body').css('background-color',$(this).val());$('body').css('background-image',"");storageSet("theme-bg-status","color");storageSet("theme-bg-color",$(this).val())});$(document).on('change','#themebodybgcolor',function(e){$('.tv-main-div').removeAttr('style');$('.tv-main-div').css('background-color',$(this).val());storageSet("theme-body-bgcolor",$(this).val());storageSet("theme-body-bgcolor-effect",'color')});$(document).on('click','.tvtheme-body-pattern-image',function(e){$('.tvtheme-body-pattern-image').removeClass('active');$('.tv-main-div').removeAttr('style');$(this).addClass('active');var tmp=$(this).attr('data-background-image-url');$('.tv-main-div').css('background-image','url('+tmp+')');storageSet("theme-body-bgimage",'url('+tmp+')');storageSet("theme-body-bgcolor-effect",'pattern')});$(document).on('change','.tvselect-title-font-1 #select_title_font_1',function(e){var font_title=$(this).val();var font_link=$(this).find('option:selected').attr('data-font-link');storageSet("theme-custom-font-1",font_title);storageSet("theme-custom-font-link-1",font_link);setCustomeFontTheme(1)});$(document).on('change','.tvselect-title-font-2 #select_title_font_2',function(e){var font_title=$(this).val();var font_link=$(this).find('option:selected').attr('data-font-link');storageSet("theme-custom-font-2",font_title);storageSet("theme-custom-font-link-2",font_link);setCustomeFontTheme(2)});$(document).on('change','#themeCustomTitleColor',function(e){storageSet("theme-title-color",$(this).val());setCustomeFontTheme(3)});$(document).on('click','.tvtheme-control-reset, .tvtheme-layout-reset',function(e){e.preventDefault();resetCustomSetting();var currUrl=window.location.href.split('#')[0];currUrl=currUrl.split('?')[0];currUrl+=((currUrl.indexOf('?')>0)?"&":"?");location.href=currUrl})}});/**
1496 * 2007-2025 PrestaShop
1497 *
1498 * NOTICE OF LICENSE
1499 *
1500 * This source file is subject to the Academic Free License (AFL 3.0)
1501 * that is bundled with this package in the file LICENSE.txt.
1502 * It is also available through the world-wide-web at this URL:
1503 * http://opensource.org/licenses/afl-3.0.php
1504 * If you did not receive a copy of the license and are unable to
1505 * obtain it through the world-wide-web, please send an email
1506 * to [email protected] so we can send you a copy immediately.
1507 *
1508 * DISCLAIMER
1509 *
1510 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1511 * versions in the future. If you wish to customize PrestaShop for your
1512 * needs please refer to http://www.prestashop.com for more information.
1513 *
1514 *  @author PrestaShop SA <[email protected]>
1515 *  @copyright  2007-2025 PrestaShop SA
1516 *  @version  Release: jQueryRevisionjQuery
1517 *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1518 *  International Registered Trademark & Property of PrestaShop SA
1519 */
1520jQuery(document).ready(function($){function autoSetVideo(){var width=$("#tvmain-slider").find("a.tvimage img").attr("width");var height=$("#tvmain-slider").find("a.tvimage img").attr("height");var sliderWidth=$("#tvmain-slider").width();if(typeof width!=undefined&&typeof height!=undefined){var autoHeight=(sliderWidth*height)/width;$("#tvmain-slider").css("height",autoHeight+"px")}}
1521autoSetVideo();$(window).resize(function(){autoSetVideo()});var videoPlayStatus=!0;$('.tvslider-video-play').click(function(){var video=$('#tvmain-slider .owl-item.active .tvslider-video');if($('.tvslider-video-play').hasClass("active")){videoPlayStatus=!1;video.trigger('pause');$('.tvslider-video-play').html("<i class='material-icons'>play_arrow</i>");$('.tvslider-video-play').removeClass("active")}else{videoPlayStatus=!0;video.trigger('play');$('.tvslider-video-play').html("<i class='material-icons'>pause</i>");$('.tvslider-video-play').addClass("active")}});$('.tvslider-video-mute').click(function(){var video=$('#tvmain-slider .owl-item .tvslider-video');if($('.tvslider-video-mute').hasClass("active")){video.prop('muted',!0);$('.tvslider-video-mute').html("<i class='material-icons'>volume_off</i>");$('.tvslider-video-mute').removeClass("active")}else{video.prop('muted',!1);$('.tvslider-video-mute').html("<i class='material-icons'>volume_up</i>");$('.tvslider-video-mute').addClass("active")}});var tvMainSliderSpeed=jQuery('.tvcmsmain-slider-wrapper').attr('data-speed');var tvMainSliderPause='';if(jQuery('.tvcmsmain-slider-wrapper').attr('data-pause-hover')=='true'){tvMainSliderPause=!0}
1522var mainSliderHomePage=jQuery('.tv-main-slider #tvmain-slider');mainSliderHomePage.owlCarousel({loop:!0,dots:!0,nav:!1,autoplay:!0,smartSpeed:tvMainSmartSpeed,autoplayTimeout:tvMainSliderSpeed,autoplayHoverPause:tvMainSliderPause,responsive:{0:{items:1},320:{items:1,slideBy:1},575:{items:1,slideBy:1},600:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:1,slideBy:1},1024:{items:1,slideBy:1},1399:{items:1,slideBy:1},},});jQuery('.tvmain-slider-next-pre-btn .tvcmsmain-prev').click(function(e){e.preventDefault();jQuery('.tv-main-slider .owl-nav .owl-prev').trigger('click')});jQuery('.tvmain-slider-next-pre-btn .tvcmsmain-next').click(function(e){e.preventDefault();jQuery('.tv-main-slider .owl-nav .owl-next').trigger('click')});$('#tvmain-slider').removeClass('tvcms-hide-owl');mainSliderHomePage.on('translated.owl.carousel',function(event){mainSliderHomePageJs();if($('#tvmain-slider .owl-item.active').find('video').length>0){var video=$('#tvmain-slider .owl-item.active .tvslider-video');var src=""+video.attr('src');if(src.indexOf("undefined")==0){var dataSrc=video.find('source').attr('data-src');video.removeAttr('data-src');video.attr('src',dataSrc)}
1523var videoAll=$('#tvmain-slider .tvslider-video');videoAll.trigger('pause');if(videoPlayStatus){setTimeout(function(){video.trigger('play')},100);$('#tvmain-slider .owl-item.active .tvslider-video-play').addClass("active");$('#tvmain-slider .owl-item.active .tvslider-video-play').html("<i class='material-icons'>pause</i>")}}else{var video=$('#tvmain-slider .tvslider-video');setTimeout(function(){video.trigger('pause')},100);$('.tvslider-video-play').removeClass("active");$('.tvslider-video-play').html("<i class='material-icons'>play_arrow</i>")}});function mainSliderHomePageJs(){var num_index=jQuery('#tvmain-slider .owl-dots').find('.owl-dot.active').index();jQuery('.tvmain-slider-content-wrapper .tvmain-slider-content-inner').removeClass('active');jQuery('.tvmain-slider-content-wrapper .tvmain-slider-content-inner').eq(num_index).addClass('active');applyHeaderThemeFromActiveSlide()}
1524var currentSlideTheme='auto';var headerIsSticky=!1;var overlayActive=!1;function applyBodyHeaderClass(){var $body=jQuery('body');$body.removeClass('has-header-on-light has-header-on-dark');if(headerIsSticky||overlayActive){return}
1525if(currentSlideTheme==='light'){$body.addClass('has-header-on-light')}else if(currentSlideTheme==='dark'){$body.addClass('has-header-on-dark')}
1525}
1526function applyHeaderThemeFromActiveSlide(){var $active=jQuery('#tvmain-slider .owl-item.active').first();if(!$active.length){return}
1527var theme=null;$active.find('[data-header-theme]').each(function(){var t=jQuery(this).attr('data-header-theme');if(t&&(t==='light'||t==='dark'||t==='auto')){theme=t;return!1}});currentSlideTheme=(theme===null)?'auto':theme;applyBodyHeaderClass()}
1528function setupStickyHeaderWatcher(){var stickyEl=document.querySelector('.tvcmsheader-sticky');if(!stickyEl){return}
1529function syncStickyState(){var nowSticky=stickyEl.classList.contains('sticky');if(nowSticky!==headerIsSticky){headerIsSticky=nowSticky;applyBodyHeaderClass()}}
1530if(typeof MutationObserver!=='undefined'){var mo=new MutationObserver(syncStickyState);mo.observe(stickyEl,{attributes:!0,attributeFilter:['class']})}
1531var scrollTimer=null;jQuery(window).on('scroll.tvcmsHeaderTheme',function(){if(scrollTimer){return}
1532scrollTimer=setTimeout(function(){syncStickyState();scrollTimer=null},100)});syncStickyState()}
1533function setupOverlayWatcher(){var overlaySelectors=['.full-wrapper-backdrop','.tv-sub-menu','.menu-dropdown','.tv-account-dropdown','.tv-dropdown.open',];var selectorString=overlaySelectors.join(', ');function isElementVisible(el){if(!el||!el.offsetParent&&el.offsetWidth===0&&el.offsetHeight===0){if(el&&getComputedStyle(el).position!=='fixed'){return!1}}
1534var style=window.getComputedStyle(el);if(style.display==='none'||style.visibility==='hidden'){return!1}
1535if(parseFloat(style.opacity||'0')<0.01){return!1}
1536if(el.offsetWidth<5&&el.offsetHeight<5){return!1}
1537return!0}
1538function syncOverlayState(){var nodes=document.querySelectorAll(selectorString);var anyVisible=!1;for(var i=0;i<nodes.length;i++){if(isElementVisible(nodes[i])){anyVisible=!0;break}}
1539if(anyVisible!==overlayActive){overlayActive=anyVisible;applyBodyHeaderClass()}}
1540function syncOverlayStateRepeated(){syncOverlayState();setTimeout(syncOverlayState,100);setTimeout(syncOverlayState,350);setTimeout(syncOverlayState,550)}
1541if(typeof MutationObserver!=='undefined'){var mo=new MutationObserver(syncOverlayStateRepeated);mo.observe(document.body,{attributes:!0,attributeFilter:['class']})}
1542jQuery(document).on('mouseenter.tvcmsHeaderTheme','.menu-content > li.level-1, .container_tv_megamenu li.level-1, #tvdesktop-megamenu li.level-1',function(){syncOverlayStateRepeated()}).on('mouseleave.tvcmsHeaderTheme','.container_tv_megamenu, #tvdesktop-megamenu, .tvcmsmain-menu-wrapper',function(){syncOverlayStateRepeated()});jQuery(document).on('mouseenter.tvcmsHeaderTheme mouseleave.tvcmsHeaderTheme','.tv-account-wrapper, .tvheader-cart-btn-wrapper, .tvheader-language, .tvheader-currency',function(){syncOverlayStateRepeated()});syncOverlayState()}
1543setTimeout(function(){applyHeaderThemeFromActiveSlide();setupStickyHeaderWatcher();setupOverlayWatcher()},50);jQuery(document).on('click','.tvmain-slider-content-wrapper .tvmain-slider-content-inner',function(){var num_index=jQuery(this).attr('data-index');jQuery('.tvmain-slider-content-wrapper .tvmain-slider-content-inner').removeClass('active');jQuery(this).addClass('active');jQuery('#tvmain-slider .owl-dots .owl-dot').eq(num_index).trigger('click')})});(function($){'use strict';var featuredInitialized=!1;function buildSlider(){var $slider=$('.tvcmsfeatured-product .tvfeatured-product-wrapper');if(!$slider.length){return}
1544var hasImage=$slider.attr('data-has-image')==='true';$slider.owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:typeof tvMainSmartSpeed!=='undefined'?tvMainSmartSpeed:450,responsive:hasImage?{0:{items:1,slideBy:1},576:{items:1,slideBy:1},768:{items:2,slideBy:1},992:{items:2,slideBy:1},1200:{items:3,slideBy:1}}:{0:{items:1,slideBy:1},576:{items:2,slideBy:1},768:{items:2,slideBy:1},992:{items:3,slideBy:1},1200:{items:4,slideBy:1}}})}
1545function bindNavigation(){$(document).off('click.tvcmsfeaturedNext','.tvcmsfeatured-next').on('click.tvcmsfeaturedNext','.tvcmsfeatured-next',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-next').trigger('click')});$(document).off('click.tvcmsfeaturedPrev','.tvcmsfeatured-prev').on('click.tvcmsfeaturedPrev','.tvcmsfeatured-prev',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-prev').trigger('click')})}
1546function movePagination(){var $pagination=$('.tvcmsfeatured-product .tv-pagination-wrapper');var $target=$('.tvcmsfeatured-product .tvfeatured-product-content .tvall-block-box-sha
1546dows');if($pagination.length&&$target.length){$pagination.insertAfter($target.first())}}
1547function initFeaturedBlock(){var $container=$('.tvcmsfeatured-product');if(!$container.length||featuredInitialized){return}
1548featuredInitialized=!0;$.ajax({type:'POST',url:gettvcmsfeaturedproductslink,cache:!1,success:function(html){$container.html(html);buildSlider();bindNavigation();movePagination();if(typeof customImgLazyLoad==='function'){customImgLazyLoad('.tvcmsfeatured-product')}
1549if(typeof productTime==='function'){productTime()}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)},complete:function(){featuredInitialized=!1}})}
1550$(document).ready(function(){if(typeof themevoltyCallEventsPush==='function'){themevoltyCallEventsPush(initFeaturedBlock,null)}else{initFeaturedBlock()}})})(jQuery);/**
1551 * 2007-2025 PrestaShop
1552 *
1553 * NOTICE OF LICENSE
1554 *
1555 * This source file is subject to the Academic Free License (AFL 3.0)
1556 * that is bundled with this package in the file LICENSE.txt.
1557 * It is also available through the world-wide-web at this URL:
1558 * http://opensource.org/licenses/afl-3.0.php
1559 * If you did not receive a copy of the license and are unable to
1560 * obtain it through the world-wide-web, please send an email
1561 * to [email protected] so we can send you a copy immediately.
1562 *
1563 * DISCLAIMER
1564 *
1565 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1566 * versions in the future. If you wish to customize PrestaShop for your
1567 * needs please refer to http://www.prestashop.com for more information.
1568 *
1569 *  @author    PrestaShop SA <[email protected]>
1570 *  @copyright 2007-2025 PrestaShop SA
1571 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1572 *  International Registered Trademark & Property of PrestaShop SA
1573 */
1574var storage;var langId=document.getElementsByTagName("html")[0].getAttribute("lang");var currentCatProdModule=tvthemename+"_catprod_"+langId;var url=gettvcmscategoryproductlink;jQuery(document).ready(function($){storage=$.localStorage;function storageGet(key){return""+storage.get(currentCatProdModule+key)}
1575function storageSet(key,value){storage.set(currentCatProdModule+key,value)}
1576function hide_category(){var totalCategory=$('.tvtabcategory-product-sub-title-block li').size();totalCategory=totalCategory-2;var showCategory=7;if(document.body.clientWidth>=992&&document.body.clientWidth<=1199){showCategory=6}else if(document.body.clientWidth>=768&&document.body.clientWidth<=991){showCategory=6}
1577if(totalCategory>showCategory){tvsub_category_product_sub_title_block_hide(totalCategory,showCategory);tvsub_category_hide();$('.tvtabcategory-product-sub-title-block .tvtabcategory-show').on('click',function(event){tvsub_category_product_sub_title_block_show(totalCategory,showCategory);tvsub_category_show();event.stopPropagation()});$('.tvtabcategory-product-sub-title-block .tvtabcategory-hide').on('click',function(event){tvsub_category_product_sub_title_block_hide(totalCategory,showCategory)
1578tvsub_category_hide();event.stopPropagation()});function tvsub_category_product_sub_title_block_hide(totalCategory,showCategory){var i=1;$('.tvtabcategory-product-sub-title-block li').each(function(){if(i>showCategory){$(this).addClass('hide')}
1579i=i+1})}
1580function tvsub_category_product_sub_title_block_show(totalCategory,showCategory){$('.tvtabcategory-product-sub-title-block li').each(function(){$(this).removeClass('hide')})}
1581function tvsub_category_show(){$('.tvtabcategory-product-sub-title-block .show-hide').addClass('hide');$('.tvtabcategory-product-sub-title-block .tvtabcategory-hide').removeClass('hide')}
1582function tvsub_category_hide(){$('.tvtabcategory-hide').addClass('hide');$('.tvtabcategory-product-sub-title-block .tvtabcategory-show').removeClass('hide')}}}
1583hide_category();$('.tvtabcategory-product-sub-title-block ul').children('li:first-child').addClass('active');var category_id=$('.tvtabcategory-product-sub-title-block li.active a').attr('data-category-id');var num_of_prod=$('.tvtabcategory-product-sub-title-block li.active a').attr('data-num-prod');$('.tvtabcategory-product-sub-title-block li').on('click',function(e){e.preventDefault();if($(this).hasClass('show-hide')){return!0}
1584$('.tvtabcategory-product-sub-title-block li').each(function(){$(this).removeClass('active')});$(this).addClass('active');var category_id=$(this).find('a').attr('data-category-id');var num_of_prod=$(this).find('a').attr('data-num-prod');StatusAjax=!0;var param={"url":url,"category_id":category_id,"num_of_prod":num_of_prod};getDataUsingAjax(param);$('.tvtabcategory-all-product-wrapper .ajaxData').fadeOut(0);$('.tvtabcategory-all-product-wrapper .load'+$category_id).fadeIn(580)});var StatusAjax=!0;var getDataUsingAjax=function($param){if($('body').hasClass('page-index')&&StatusAjax){$url=$param.url;$category_id=$param.category_id;$num_of_prod=$param.num_of_prod;StatusAjax=!1;var data=""+storageGet($param.category_id);if(!$('.tvtabcategory-all-product-wrapper').hasClass("load"+$param.category_id)){if(data!="null"){$('.tvtabcategory-all-product-wrapper').addClass("load"+$param.category_id);$('.tvtabcategory-all-product-wrapper').append(data);callSlider();productTime()}}
1585$.ajax({type:'POST',url:$url,data:'category_id='+$param.category_id+'&num_of_prod='+$num_of_prod+'&token='+static_token,success:function(data){var dataCache=""+storageGet($param.category_id);var result="<div class='ajaxData load"+$param.category_id+"'>"+data+"</div>";storageSet($param.category_id,result);if(dataCache==='null'){$('.tvtabcategory-all-product-wrapper').addClass("load"+$param.category_id);$('.tvtabcategory-all-product-wrapper').append(result);callSlider()}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}}
1586var param={"url":url,"category_id":category_id,"num_of_prod":num_of_prod};themevoltyCallEventsPush(getDataUsingAjax,param);function callSlider(){$('.tvcmstabcategory-product-slider-main-title-wrapper .tvtabcategory-product-pagination').remove();$('.tvtabcategory-all-product-content-box .tvtabcategory-all-product-slider').owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},590:{items:3,slideBy:1},767:{items:3,slideBy:1},768:{items:3,slideBy:1},992:{items:3,slideBy:1},1025:{items:4,slideBy:1},1200:{items:4,slideBy:1},1350:{items:4,slideBy:1},1660:{items:4,slideBy:1},1800:{items:4,slideBy:1}}});$('.tvtabcategory-product-prev').click(function(e){e.preventDefault();$('.tvtabcategory-all-product-content-box .tvtabcategory-all-product-slider .owl-nav .owl-prev').trigger('click')});$('.tvtabcategory-product-next').click(function(e){e.preventDefault();$('.tvtabcategory-all-product-content-box .tvtabcategory-all-product-slider .owl-nav .owl-next').trigger('click')});$(".tvcmstabcategory-product-slider .tvtabcategory-product-pagination").insertAfter(' .tvtabcategory-all-product')}});
1587/**
1588 * 2007-2025 PrestaShop
1589 *
1590 * NOTICE OF LICENSE
1591 *
1592 * This source file is subject to the Academic Free License (AFL 3.0)
1593 * that is bundled with this package in the file LICENSE.txt.
1594 * It is also available through the world-wide-web at this URL:
1595 * http://opensource.org/licenses/afl-3.0.php
1596 * If you did not receive a copy of the license and are unable to
1597 * obtain it through the world-wide-web, please send an email
1598 * to [email protected] so we can send you a copy immediately.
1599 *
1600 * DISCLAIMER
1601 *
1602 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1603 * versions in the future. If you wish to customize PrestaShop for your
1604 * needs please refer to http://www.prestashop.com for more information.
1605 *
1606 *  @author PrestaShop SA <[email protected]>
1607 *  @copyright  2007-2025 PrestaShop SA
1608 *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1609 *  International Registered Trademark & Property of PrestaShop SA
1610 */
1611var storage;var currentThemeName=tvthemename+"_";var langId=document.getElementsByTagName("html")[0].getAttribute("lang");var currentMegaMenuModule=currentThemeName+"_mega_menu_"+langId;var dataCachem;jQuery(document).ready(function($){storage=$.localStorage;function storageGet(key){return""+storage.get(currentMegaMenuModule+key)}
1612function storageSet(key,value){storage.set(currentMegaMenuModule+key,value)}
1613function storageClear(key){storage.remove(currentMegaMenuModule+key)}
1614var isCallMenu=!1;var getMegaMenuAjax=function(){if(!isCallMenu){var data=storageGet("");dataCachem=data;storageClear("");if(data!=''&&data!='null'&&data!=='undefined'){if(document.body.clientWidth<=991){$('#tvmobile-megamenu').html(data)}else{$('#tvdesktop-megamenu').html(data)}
1615megaMenuSlider()}
1616$.ajax({type:'POST',url:gettvcmsmegamenulink,success:function(data){if(dataCachem===''||dataCachem==='null'||dataCachem==='undefined'){if(document.body.clientWidth<=991){$('#tvmobile-megamenu').html(data)}else{$('#tvdesktop-megamenu').html(data)}
1617megaMenuSlider()}
1618dataCachem=data},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}
1619isCallMenu=!0}
1620$(document).on('click','.tv-menu-horizontal .icon-drop-mobile',function(){$(this).next().toggle(100);$(this).toggleClass('opened')});$(window).resize(function(){megaMenuSlider()});if(document.body.clientWidth>991){getMegaMenuAjax()}
1621window.addEventListener("beforeunload",function(e){storageSet("",dataCachem);return''});function responsiveMenuPopup($this){if(document.body.clientWidth>991){var wrapWidthPopup=$($this).find('.tv-sub-menu').outerWidth(!0);if(wrapWidthPopup!==null&&wrapWidthPopup!==undefined){var posliWidth=$($this).offset();var menuLeft=posliWidth.left;var menuWidth=$('#header').width();if($('body').hasClass('lang-rtl')){menuLeft=(menuWidth-(menuLeft))}
1622var posWraper=$('.tvcms-header-menu').offset();var pos=$($this).offset();var xLeft=0;if((menuLeft+wrapWidthPopup)>menuWidth){xLeft=(menuLeft+wrapWidthPopup)-menuWidth;if(menuLeft>((menuLeft-xLeft)-152)){xLeft=((menuLeft-xLeft)-152)}
1623if(menuWidth=>991&&menuWidth<=1024&&xLeft<0){xLeft=0;if($('body').hasClass('lang-rtl')){$($this).find('.tv-sub-menu.menu-dropdown').css('left',xLeft)}else{$($this).find('.tv-sub-menu.menu-dropdown').css('right',xLeft)}}else{if($('body').hasClass('lang-rtl')){$($this).find('.tv-sub-menu.menu-dropdown').css('right',xLeft)}else{$($this).find('.tv-sub-menu.menu-dropdown').css('left',xLeft)}}}}}}
1624$(document).on('touchstart mouseover','.container_tv_megamenu ul.menu-content li.level-1',function(e){responsiveMenuPopup(this)});function megaMenuSlider(){$('.tv-mega-menu-slider .tv-megamenu-slider-wrapper').trigger('destroy.owl.carousel');$('.tv-mega-menu-slider .tv-megamenu-slider-wrapper').owlCarousel({loop:!1,dots:!1,autoplay:!1,autoplayTimeout:5000,autoplayHoverPause:!1,smartSpeed:tvMainSmartSpeed,nav:!1,items:1,singleItem:!0,responsive:{0:{items:1,slideBy:1},320:{items:1,slideBy:1},400:{items:1,slideBy:1},768:{items:1,slideBy:1},992:{items:2,slideBy:1},1200:{items:3,slideBy:1},1600:{items:3,slideBy:1},1800:{items:3,slideBy:1}},})}
1625$(document).on('click','.tvmega-menu-slider-prev',function(){$(this).parent().parent().parent().parent().find('.tv-megamenu-slider-wrapper .owl-nav .owl-prev').trigger('click')});$(document).on('click','.tvmega-menu-slider-next',function(){$(this).parent().parent().parent().parent().find('.tv-megamenu-slider-wrapper .owl-nav .owl-next').trigger('click')});$(document).on('click','.tvmobile-sliderbar-btn a',function(){if(document.body.clientWidth<=991){getMegaMenuAjax()}})});/**
1626* 2007-2025 PrestaShop
1627*
1628* NOTICE OF LICENSE
1629*
1630* This source file is subject to the Academic Free License (AFL 3.0)
1631* that is bundled with this package in the file LICENSE.txt.
1632* It is also available through the world-wide-web at this URL:
1633* http://opensource.org/licenses/afl-3.0.php
1634* If you did not receive a copy of the license and are unable to
1635* obtain it through the world-wide-web, please send an email
1636* to [email protected] so we can send you a copy immediately.
1637*
1638* DISCLAIMER
1639*
1640* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1641* versions in the future. If you wish to customize PrestaShop for your
1642* needs please refer to http://www.prestashop.com for more information.
1643*
1644*  @author    PrestaShop SA <[email protected]>
1645*  @copyright 2007-2025 PrestaShop SA
1646*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1647*  International Registered Trademark & Property of PrestaShop SA
1648*
1649* Don't forget to prefix your containers with your own identifier
1650* to avoid any conflicts with others containers.
1651*/
1652;/**
1653* 2007-2022 PrestaShop
1654*
1655* NOTICE OF LICENSE
1656*
1657* This source file is subject to the Academic Free License (AFL 3.0)
1658* that is bundled with this package in the file LICENSE.txt.
1659* It is also available through the world-wide-web at this URL:
1660* http://opensource.org/licenses/afl-3.0.php
1661* If you did not receive a copy of the license and are unable to
1662* obtain it through the world-wide-web, please send an email
1663* to [email protected] so we can send you a copy immediately.
1664*
1665* DISCLAIMER
1666*
1667* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1668* versions in the future. If you wish to customize PrestaShop for your
1669* needs please refer to http://www.prestashop.com for more information.
1670*
1671*  @author    PrestaShop SA <[email protected]>
1672*  @copyright 2007-2022 PrestaShop SA
1673*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1674*  International Registered Trademark & Property of PrestaShop SA
1675*
1676* Don't forget to prefix your containers with your own identifier
1677* to avoid any conflicts with others containers.
1678*/
1679;/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
1680(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&E(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},w=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(I?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
vendor: 16,714 bytes, line 1680
1680skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,p.bind({"onCancel.player beforeClose.player":c,"onUpdate.player":e,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(q(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},prev:function(a){var d=b.current;d&&(q(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==v)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),c<m&&(c=m,j=l(c/D)),j<u&&(j=u,c=l(j*D))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,p)));if(h.fitToView)if(g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height(),h.aspectRatio)for(;(a>z||y>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(p,j-10)),c=l(j*D),c<m&&(c=m,j=l(c/D)),c>n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&j<A&&c+x+q<z)&&(c+=q);g.width(c).height(j);e.width(c+x);a=e.width();y=e.height();e=(a>z||y>r)&&c>m&&j>u;c=h.aspectRatio?c<F&&j<B&&c<C&&j<A:(c<F||j<B)&&(c<C||j<A);f.extend(h,{dim:{width:w(a),height:w(y)},origWidth:C,origHeight:A,canShrink:e,canExpand:c,wPadding:x,hPadding:v,wrapSpace:y-k.outerHeight(!0),skinSpace:k.height()-j});!H&&(h.autoHeight&&j>u&&j<p&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=w(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=w(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:w(c.top-h*a.topRatio),left:w(c.left-j*a.leftRatio),width:w(f+j),height:w(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=w(l(e[g])-200),c[g]="+=200px"):(e[g]=w(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,el:f("html"),create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());
1680a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"===f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.o
1680pen(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body");var e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("<style type='text/css'>.fancybox-margin{margin-right:"+(d-a)+"px;}</style>").appendTo("head")})})(window,document,jQuery);/*!
1681 * jQuery Cookie Plugin
1682 * https://github.com/carhartl/jquery-cookie
1683 *
1684 * Copyright 2011, Klaus Hartl
1685 * Dual licensed under the MIT or GPL Version 2 licenses.
1686 * http://www.opensource.org/licenses/mit-license.php
1687 * http://www.opensource.org/licenses/GPL-2.0
1688 */
1689(function($){$.cookie=function(key,value,options){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(value))||value===null||value===undefined)){options=$.extend({},options);if(value===null||value===undefined){options.expires=-1}
1690if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setDate(t.getDate()+days)}
1691value=String(value);return(document.cookie=[encodeURIComponent(key),'=',options.raw?value:encodeURIComponent(value),options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''))}
1692options=value||{};var decode=options.raw?function(s){return s}:decodeURIComponent;var pairs=document.cookie.split('; ');for(var i=0,pair;pair=pairs[i]&&pairs[i].split('=');i++){if(decode(pair[0])===key)return decode(pair[1]||'');}
1693return null}})(jQuery);/*
1694 * 2007-2025 PrestaShop
1695 *
1696 * NOTICE OF LICENSE
1697 *
1698 * This source file is subject to the Open Software License (OSL 3.0)
1699 * that is bundled with this package in the file LICENSE.txt.
1700 * It is also available through the world-wide-web at this URL:
1701 * http://opensource.org/licenses/osl-3.0.php
1702 * If you did not receive a copy of the license and are unable to
1703 * obtain it through the world-wide-web, please send an email
1704 * to [email protected] so we can send you a copy immediately.
1705 *
1706 * DISCLAIMER
1707 *
1708 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1709 * versions in the future. If you wish to customize PrestaShop for your
1710 * needs please refer to http://www.prestashop.com for more information.
1711 *
1712 *  @author PrestaShop SA <[email protected]>
1713 *  @copyright  2007-2025 PrestaShop SA
1714 *  @version  Release: $Revision$
1715 *  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1716 *  International Registered Trademark & Property of PrestaShop SA
1717 */
1718$(document).ready(function(){prestashop.blockcart=prestashop.blockcart||{};var showModal=prestashop.blockcart.showModal||function(modal){var $body=$('body');$body.append(modal);$body.one('click','#blockcart-modal',function(event){if(event.target.id==='blockcart-modal'){$(event.target).remove()}})};prestashop.on('updateCart',function(event){var refreshURL=$('.blockcart').data('refresh-url');var requestData={};if(event&&event.reason){requestData={id_customization:event.reason.idCustomization,id_product_attribute:event.reason.idProductAttribute,id_product:event.reason.idProduct,action:event.reason.linkAction};$.post(refreshURL,requestData).then(function(resp){$('.blockcart').replaceWith($(resp.preview).find('.blockcart'));if(resp.modal){showModal(resp.modal);$('.loading-wake.add-to-cart').html('<svg class="add-cart" xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewB
1718ox="0 0 15 16" fill="none"><path d="M13.8333 15.5H1.16667C0.956704 15.5 0.75534 15.421 0.606874 15.2803C0.458407 15.1397 0.375 14.9489 0.375 14.75V1.25C0.375 1.05109 0.458407 0.860322 0.606874 0.71967C0.75534 0.579018 0.956704 0.5 1.16667 0.5H13.8333C14.0433 0.5 14.2447 0.579018 14.3931 0.71967C14.5416 0.860322 14.625 1.05109 14.625 1.25V14.75C14.625 14.9489 14.5416 15.1397 14.3931 15.2803C14.2447 15.421 14.0433 15.5 13.8333 15.5ZM13.0417 14V2H1.95833V14H13.0417ZM5.125 3.5V5C5.125 5.59674 5.37522 6.16903 5.82062 6.59099C6.26602 7.01295 6.87011 7.25 7.5 7.25C8.12989 7.25 8.73398 7.01295 9.17938 6.59099C9.62478 6.16903 9.875 5.59674 9.875 5V3.5H11.4583V5C11.4583 5.99456 11.0413 6.94839 10.299 7.65165C9.55663 8.35491 8.54982 8.75 7.5 8.75C6.45018 8.75 5.44337 8.35491 4.70104 7.65165C3.9587 6.94839 3.54167 5.99456 3.54167 5V3.5H5.125Z" fill="white"></path></svg><svg class="out-of-stock hide" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10Zm-4.906-3.68L18.32 7.094A8 8 0 0 1 7.094 18.32ZM5.68 16.906A8 8 0 0 1 16.906 5.68L5.68 16.906Z"/></svg>');$('.tvproduct-add-to-cart .add-cart').removeClass('tvcms-cart-loading');$('.tvproduct-add-to-cart').removeClass('loading-wake')}}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp})})}
1719if(event&&event.resp&&event.resp.hasError){prestashop.emit('showErrorNextToAddtoCartButton',{errorMessage:event.resp.errors.join('<br/>')})}})});/*! http://responsiveslides.com v1.54 by @viljamis */
1720(function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before(b);F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),n=b,setTimeout(function(){a.after(b)},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after(b);n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});
1720if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);/**
1721 * Copyright since 2007 PrestaShop SA and Contributors
1722 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
1723 *
1724 * NOTICE OF LICENSE
1725 *
1726 * This source file is subject to the Academic Free License version 3.0
1727 * that is bundled with this package in the file LICENSE.md.
1728 * It is also available through the world-wide-web at this URL:
1729 * https://opensource.org/licenses/AFL-3.0
1730 * If you did not receive a copy of the license and are unable to
1731 * obtain it through the world-wide-web, please send an email
1732 * to [email protected] so we can send you a copy immediately.
1733 *
1734 * @author    PrestaShop SA and Contributors <[email protected]>
1735 * @copyright Since 2007 PrestaShop SA and Contributors
1736 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
1737 */
1738jQuery(document).ready(function($){var homesliderConfig={speed:500,timeout:$('.homeslider-container').data('interval'),nav:!0,random:!1,pause:$('.homeslider-container').data('pause'),maxwidth:"",namespace:"homeslider",before:function(){},after:function(){}};$(".rslides").responsiveSlides(homesliderConfig)});/**
1739 * 2007-2025 PrestaShop
1740 *
1741 * NOTICE OF LICENSE
1742 *
1743 * This source file is subject to the Academic Free License (AFL 3.0)
1744 * that is bundled with this package in the file LICENSE.txt.
1745 * It is also available through the world-wide-web at this URL:
1746 * http://opensource.org/licenses/afl-3.0.php
1747 * If you did not receive a copy of the license and are unable to
1748 * obtain it through the world-wide-web, please send an email
1749 * to [email protected] so we can send you a copy immediately.
1750 *
1751 * DISCLAIMER
1752 *
1753 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1754 * versions in the future. If you wish to customize PrestaShop for your
1755 * needs please refer to http://www.prestashop.com for more information.
1756 *
1757 *  @author PrestaShop SA <[email protected]>
1758 *  @copyright  2007-2025 PrestaShop SA
1759 *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
1760 *  International Registered Trademark & Property of PrestaShop SA
1761 */
1762$(document).ready(function(){var $searchWidget=$('.tvcmsheader-search');var $searchBox=$searchWidget.find('input[type=text]');var searchURL=baseDir+'modules/tvcmsproductcompare/ajax.php';$(document).on('change','.tvcms-select-category',function(){$(this).find('option').removeClass('selected');$(this).find('option:selected').addClass('selected')});$(document).on('focusout','.tvsearch-top-wrapper .tvheader-top-search .tvcmssearch-words',function(){var obj=$(this).parent('tvsearch-header-display-wrappper').find('.tvsearch-result')});$(document).on('keyup','.tvcmsheader-search .tvsearch-header-display-wrappper .tvheader-top-search .tvheader-top-search-wrapper-info-box .tvcmssearch-words',function(){var obj=$(this).parent().parent().parent().parent().find('.tvsearch-result');obj.html('');obj.show();var search_words=$(this).val();var cat_id=$('.tvcms-select-category').find('.selected').val();if(search_words.length!=0){$.ajax({type:'POST',url:ajaxUrl,cache:!1,data:'search_words='+search_words+'&category_id='+cat_id+' &token='+static_token,success:function(data){obj.html('');obj.append(data);if(data!=''){$('body').addClass('search-open')}else{$('body').removeClass('search-open')}},error:function(jqXHR,textStatus,errorThrown){console.log(textStatus,errorThrown)}})}else{$('body').removeClass('search-open')}});$(document).on('click','.tvsearch-result .tvsearch-dropdown-close , .half-wrapper-backdrop',function(){$('.tvsearch-result').html('');$('.tvcmssearch-words').val('');$('body').removeClass('search-open')});$('body').keydown(function(e){if(e.which==27){$('.tvsearch-result').html('');$('.tvcmssearch-words').val('');$('body').removeClass('search-open')}});$(document).on('click','.tvsearch-result .tvsearch-more-search',function(){$(this).parent().parent().parent().parent().find('.tvheader-top-search-wrapper button').click()});$('#header .tvheader-sarch-display .tvsearch-close').hide();$(document).on('click','#header .tvheader-sarch-display .tvsearch-open',function(){removeDefaultDropdownSearch();$('#header .tvheader-sarch-display .tvsearch-open').hide();$('#header .tvheader-sarch-display .tvsearch-close').show();$('#header .tvsearch-header-display-wrappper').addClass('open');$('body').addClass('tvactive-search')});$(document).on('click','#header .tvsearch-close',function(){$('#header .tvheader-sarch-display .tvsearch-open').show();$('#header .tvheader-sarch-display .tvsearch-close').hide();$('#header .tvcmssearch-words').val('');$(this).parent().parent().parent().find('.tvsearch-result').html('');$('#header .tvsearch-header-display-wrappper').removeClass('open');$('body').removeClass('tvactive-search')});function removeDefaultDropdownSearch(){$('#header .tv-account-dropdown').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-myaccount-btn').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-account-dropdown').removeClass('open').hide();$('#header .tv-account-dropdown').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-myaccount-btn').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-account-dropdown').removeClass('open').hide();if(document.body.clientWidth<=mobileViewSize){$('#tvcms-mobile-view-header .tvmenu-button').removeClass('open');$('#tvcmsmobile-horizontal-menu #tv-top-menu').removeClass('open');$('.hexcms-header-cart .tvcmscart-show-dropdown').removeClass('open')}else{$('.tvcmsvertical-menu .tvallcategories-wrapper').removeClass('open');$('.tvcmsvertical-menu .tvverticalmenu-dropdown').removeClass('open').removeAttr('style')}}});(function(){function getAreas(root){var scope=root&&root.querySelectorAll?root:document;return Array.prototype.slice.call(scope.querySelectorAll('.product-add-to-cart'))}
1763function getMultipleData(area){var alertNode=area.querySelector('.catalogmultiples-alert[data-multiple]')||document.querySelector('.catalogmultiples-alert[data-multiple]');if(!alertNode){return null}
1764var multiple=parseInt(alertNode.getAttribute('data-multiple')||'0',10);if(!multiple||multiple<2){return null}
1765var message=(alertNode.textContent||'').trim();if(!message&&typeof catalogMultiplesFront!=='undefined'&&catalogMultiplesFront.message){message=catalogMultiplesFront.message}
1766return{multiple:multiple,message:message||('Cet article doit être acheté par multiple de '+multiple+'.')}}
1767function getQtyInput(area){return area.querySelector('#quantity_wanted, input[name="qty"], input[name="quantity_wanted"]')}
1768function getAddToCartButtons(area){return Array.prototype.slice.call(area.querySelectorAll('button[data-button-action="add-to-cart"], .product-add-to-cart button.add-to-cart, .product-add-to-cart .tvall-inner-btn.add-to-cart'))}
1769function ensureErrorNode(area){var node=area.querySelector('.catalogmultiples-error-inline');if(node){return node}
1770node=document.createElement('div');node.className='catalogmultiples-error-inline';var target=area.querySelector('.tvcart-btn-model')||area.querySelector('.tv-product-page-add-to-cart-wrapper')||area.querySelector('.add-to-cart')||area;target.appendChild(node);return node}
1771function setButtonState(buttons,disabled){buttons.forEach(function(button){button.classList.toggle('catalogmultiples-disabled',!!disabled);button.classList.toggle('disabled',!!disabled);button.setAttribute('aria-disabled',disabled?'true':'false');if(disabled){button.setAttribute('disabled','disabled');button.dataset.catalogmultiplesDisabled='1'}else{button.removeAttribute('disabled');delete button.dataset.catalogmultiplesDisabled}})}
1772function nextMultiple(qty,multiple){if(qty<=0){return multiple}
1773return Math.ceil(qty/multiple)*multiple}
1774function normalizeInitialQty(area,qtyInput,data){if(area.dataset.catalogmultiplesInitialized==='1'){return}
1775area.dataset.catalogmultiplesInitialized='1';var qty=parseInt(qtyInput.value||'0',10);if(!qty||qty<data.multiple){qtyInput.value=String(data.multiple);qtyInput.setAttribute('value',String(data.multiple));dispatchQtyEvents(qtyInput);return}
1776if((qty%data.multiple)!==0){var adjusted=nextMultiple(qty,data.multiple);qtyInput.value=String(adjusted);qtyInput.setAttribute('value',String(adjusted));dispatchQtyEvents(qtyInput)}}
1777function dispatchQtyEvents(qtyInput){qtyInput.dispatchEvent(new Event('change',{bubbles:!0}));qtyInput.dispatchEvent(new Event('input',{bubbles:!0}))}
1778function validateArea(area,autoAdjust){var data=getMultipleData(area);if(!data){return!0}
1779var qtyInput=getQtyInput(area);var buttons=getAddToCartButtons(area);if(!qtyInput||!buttons.length){return!0}
1780normalizeInitialQty(area,qtyInput,data);var qty=parseInt(qtyInput.value||'0',10);if(!qty||qty<1){qty=data.multiple;qtyInput.value=String(qty);qtyInput.setAttribute('value',String(qty))}
1781if(autoAdjust&&(qty%data.multiple)!==0){qty=nextMultiple(qty,data.multiple);qtyInput.value=String(qty);qtyInput.setAttribute('value',String(qty));dispatchQtyEvents(qtyInput)}
1782var ok=(qty%data.multiple)===0;var errorNode=ensureErrorNode(area);setButtonState(buttons,!ok);errorNode.textContent=ok?'':data.message;return ok}
1783function validateAll(autoAdjust,root){getAreas(root).forEach(function(area){validateArea(area,autoAdjust)})}
1784document.addEventListener('input',function(e){var area=e.target&&e.target.closest?e.target.closest('.product-add-to-cart'):null;if(!area){return}
1785if(e.target.matches('#quantity_wanted, input[name="qty"], input[name="quantity_wanted"]')){validateArea(area,!1)}});document.addEventListener('change',function(e){var area=e.target&&e.target.closest?e.target.closest('.product-add-to-cart'):null;if(!area){return}
1786if(e.target.matches('#quantity_wanted, input[name="qty"], input[name="quantity_wanted"]')){validateArea(area,!0)}});document.addEventListener('click',function(e){var btn=e.target.closest('button[data-button-action="add-to-cart"], .product-add-to-cart button.add-to-cart');if(!btn){return}
1787var area=btn.closest('.product-add-to-cart');if(area&&!validateArea(area,!0)){e.preventDefault();e.stopPropagation();e.stopImmediatePropagation();return!1}},!0);document.addEventListener('DOMContentLoaded',function(){validateAll(!0)});if(typeof prestashop!=='undefined'&&prestashop.on){prestashop.on('updatedProduct',function(){setTimeout(function(){validateAll(!0)},50)});prestashop.on('updatedCart',function(){setTimeout(function(){validateAll(!0)},50)});prestashop.on('clickQuickView',function(){setTimeout(function(){validateAll(!0)},200)})}
1788var observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){Array.prototype.forEach.call(mutation.addedNodes||[],function(node){if(!node||node.nodeType!==1){return}
1789if((node.matches&&node.matches('.product-add-to-cart, .quickview, .modal'))||(node.querySelector&&node.querySelector('.product-add-to-cart'))){validateAll(!0,node)}})})});observer.observe(document.documentElement,{childList:!0,subtree:!0})})();(function(){function onReady(fn){if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',fn)}else{fn()}}
1790onReady(function(){if(!window.fhPdfViewer||!window.fhPdfViewer.viewerUrl){return}
1791function ensureModal(){var existing=document.getElementById('fh-pdf-modal');if(existing){return existing}
1792var modal=document.createElement('div');modal.id='fh-pdf-modal';modal.setAttribute('aria-hidden','true');modal.innerHTML=''+'<div class="fh-pdf-backdrop"></div>'+'<div class="fh-pdf-dialog" role="dialog" aria-modal="true" aria-label="Visionneuse PDF">'+'  <button type="button" class="fh-pdf-close" aria-label="Fermer">×</button>'+'  <iframe class="fh-pdf-frame" src="about:blank" loading="lazy" referrerpolicy="same-origin"></iframe>'+'</div>';document.body.appendChild(modal);modal.addEventListener('click',function(e){if(e.target.classList.contains('fh-pdf-backdrop')||e.target.classList.contains('fh-pdf-close')){closeModal()}});document.addEventListener('keydown',function(e){if(e.key==='Escape'){closeModal()}});return modal}
1793function openModal(viewerSrc){var modal=ensureModal();var frame=modal.querySelector('.fh-pdf-frame');frame.src=viewerSrc;modal.classList.add('is-open');modal.setAttribute('aria-hidden','false');document.documentElement.classList.add('fh-pdf-no-scroll');document.body.classList.add('fh-pdf-no-scroll')}
1794function closeModal(){var modal=document.getElementById('fh-pdf-modal');if(!modal){return}
1795var frame=modal.querySelector('.fh-pdf-frame');if(frame){frame.src='about:blank'}
1796modal.classList.remove('is-open');modal.setAttribute('aria-hidden','true');document.documentElement.classList.remove('fh-pdf-no-scroll');document.body.classList.remove('fh-pdf-no-scroll')}
1797function getManagedPdfInfo(link){try{var rawHref=link.getAttribute('href');if(!rawHref){return null}
1798var url=new URL(rawHref,window.location.origin);var allowedPath=String((window.fhPdfViewer&&window.fhPdfViewer.allowedPath)||'/img/cms/etiquettes/');if(url.origin!==window.location.origin){return null}
1799if(!url.pathname||url.pathname.indexOf(allowedPath)!==0){return null}
1800if(!/\.pdf$/i.test(url.pathname)){return null}
1801var relativePath=decodeURIComponent(url.pathname.substring(allowedPath.length));relativePath=relativePath.replace(/^\/+/,'');if(!relativePath||!/\.pdf$/i.test(relativePath)){return null}
1802return{filename:relativePath}}catch(err){return null}}
1803document.addEventListener('click',function(e){var link=e.target.closest('a[href]');if(!link){return}
1804var pdfInfo=getManagedPdfInfo(link);if(!pdfInfo){return}
1805e.preventDefault();var safeFilename=String(pdfInfo.filename).replace(/\//g,'|');var sep=window.fhPdfViewer.viewerUrl.indexOf('?')===-1?'?':'&';
1805var viewerSrc=window.fhPdfViewer.viewerUrl+sep+'file='+encodeURIComponent(safeFilename)+'&v='+Date.now();openModal(viewerSrc)},!0)})})();(function(){'use strict';var cfg=(typeof window.flavorhitLoaderConfig==='object'&&window.flavorhitLoaderConfig!==null)?window.flavorhitLoaderConfig:{};var ENABLE_BUTTON=cfg.enableButton!==!1;var ENABLE_OVERLAY=cfg.enableOverlay!==!1;var DELAY_MS=typeof cfg.delayMs==='number'?cfg.delayMs:300;var FAILSAFE_MS=typeof cfg.failsafeMs==='number'?cfg.failsafeMs:15000;var LOADING_TEXT=typeof cfg.loadingText==='string'&&cfg.loadingText?cfg.loadingText:'Ajout en cours...';var USE_GIF=cfg.useGif===!0&&!!cfg.gifUrl;var GIF_URL=cfg.gifUrl||'';if(!ENABLE_BUTTON&&!ENABLE_OVERLAY){return}
1806var activeRequests=0;var overlayTimer=null;function ensureOverlay(){var overlay=document.getElementById('fh-loader-overlay');if(!overlay){overlay=document.createElement('div');overlay.id='fh-loader-overlay';overlay.setAttribute('aria-hidden','true');if(USE_GIF){overlay.classList.add('fh-loader-mode-gif');var img=document.createElement('img');img.src=GIF_URL;img.alt='Chargement en cours';img.className='fh-loader-gif';overlay.appendChild(img)}else{var spinner=document.createElement('div');spinner.className='fh-loader-spinner';spinner.setAttribute('role','status');spinner.setAttribute('aria-label','Chargement en cours');overlay.appendChild(spinner)}
1807document.body.appendChild(overlay)}
1808return overlay}
1809function showOverlay(){if(!ENABLE_OVERLAY)return;ensureOverlay().classList.add('fh-loader-visible')}
1810function hideOverlay(){var overlay=document.getElementById('fh-loader-overlay');if(overlay){overlay.classList.remove('fh-loader-visible')}}
1811function onRequestStart(){if(!ENABLE_OVERLAY)return;activeRequests++;if(activeRequests===1&&overlayTimer===null){overlayTimer=window.setTimeout(function(){overlayTimer=null;if(activeRequests>0){showOverlay()}},DELAY_MS)}}
1812function onRequestEnd(){if(!ENABLE_OVERLAY)return;activeRequests=Math.max(0,activeRequests-1);if(activeRequests===0){if(overlayTimer!==null){window.clearTimeout(overlayTimer);overlayTimer=null}
1813hideOverlay()}}
1814if(ENABLE_OVERLAY&&typeof XMLHttpRequest!=='undefined'){var origOpen=XMLHttpRequest.prototype.open;var origSend=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(){this._fhMonitored=!0;return origOpen.apply(this,arguments)};XMLHttpRequest.prototype.send=function(){if(this._fhMonitored){onRequestStart();var ended=!1;var endOnce=function(){if(ended)return;ended=!0;onRequestEnd()};this.addEventListener('loadend',endOnce);this.addEventListener('error',endOnce);this.addEventListener('abort',endOnce);window.setTimeout(endOnce,30000)}
1815return origSend.apply(this,arguments)}}
1816if(ENABLE_OVERLAY&&typeof window.fetch==='function'){var origFetch=window.fetch;window.fetch=function(){onRequestStart();var p=origFetch.apply(this,arguments);var release=function(){onRequestEnd()};if(p&&typeof p.then==='function'){p.then(release,release)}else{release()}
1817return p}}
1818var BTN_SELECTORS=['[data-button-action="add-to-cart"]','button.add-to-cart','.product-add-to-cart button[type="submit"]','form[action*="cart"] button[type="submit"]','.btn-add-to-cart','.add-to-cart'].join(',');function findClosestButton(el){if(!el)return null;if(el.closest)return el.closest(BTN_SELECTORS);var current=el;while(current&&current!==document){if(current.matches&&current.matches(BTN_SELECTORS))return current;current=current.parentElement}
1819return null}
1820function startButtonSpinner(btn){if(!btn||btn.classList.contains('fh-btn-loading'))return;var originalHtml=btn.innerHTML;var originalDisabled=btn.disabled;var startTimer=window.setTimeout(function(){if(btn._fhRestored)return;btn.classList.add('fh-btn-loading');btn.disabled=!0;btn._fhOriginalHtml=originalHtml;btn._fhOriginalDisabled=originalDisabled;btn.style.minWidth=btn.offsetWidth+'px';btn.innerHTML='<span class="fh-btn-spinner" aria-hidden="true"></span>'+'<span class="fh-btn-loading-text"></span>';var textEl=btn.querySelector('.fh-btn-loading-text');if(textEl)textEl.textContent=LOADING_TEXT},DELAY_MS);btn._fhStartTimer=startTimer;btn._fhRestored=!1}
1821function stopButtonSpinner(btn){if(!btn)return;btn._fhRestored=!0;if(btn._fhStartTimer){window.clearTimeout(btn._fhStartTimer);btn._fhStartTimer=null}
1822if(btn.classList.contains('fh-btn-loading')){btn.classList.remove('fh-btn-loading');if(typeof btn._fhOriginalHtml==='string'){btn.innerHTML=btn._fhOriginalHtml;delete btn._fhOriginalHtml}
1823btn.disabled=!!btn._fhOriginalDisabled;delete btn._fhOriginalDisabled;btn.style.minWidth=''}}
1824var lastClickedAddBtn=null;if(ENABLE_BUTTON){document.addEventListener('click',function(e){var btn=findClosestButton(e.target);if(!btn||btn.disabled)return;lastClickedAddBtn=btn;startButtonSpinner(btn);window.setTimeout(function(){stopButtonSpinner(btn)},FAILSAFE_MS)},!0)}
1825function bindPrestashop(){if(typeof window.prestashop==='undefined'||typeof window.prestashop.on!=='function'){return!1}
1826window.prestashop.on('updatedCart',function(){if(lastClickedAddBtn){stopButtonSpinner(lastClickedAddBtn);lastClickedAddBtn=null}
1827hideOverlay()});window.prestashop.on('handleError',function(){if(lastClickedAddBtn){stopButtonSpinner(lastClickedAddBtn);lastClickedAddBtn=null}
1828hideOverlay()});return!0}
1829if(!bindPrestashop()){document.addEventListener('DOMContentLoaded',function(){bindPrestashop()})}
1830window.addEventListener('beforeunload',function(){hideOverlay()})})();/*!
1831 * Validator v0.10.1 for Bootstrap 3, by @1000hz
1832 * Copyright 2016 Cina Saffary
1833 * Licensed under http://opensource.org/licenses/MIT
1834 *
1835 * https://github.com/1000hz/bootstrap-validator
1836 */
1837+function(a){"use strict";function b(b){return b.is('[type="checkbox"]')?b.prop("checked"):b.is('[type="radio"]')?!!a('[name="'+b.attr("name")+'"]:checked').length:a.trim(b.val())}function c(b){return this.each(function(){var c=a(this),e=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b),f=c.data("bs.validator");(f||"destroy"!=b)&&(f||c.data("bs.validator",f=new d(this,e)),"string"==typeof b&&f[b]())})}var d=function(c,e){this.options=e,this.$element=a(c),this.$inputs=this.$element.find(d.INPUT_SELECTOR),this.$btn=a('button[type="submit"], input[type="submit"]').filter('[form="'+this.$element.attr("id")+'"]').add(this.$element.find('input[type="submit"], button[type="submit"]')),e.errors=a.extend({},d.DEFAULTS.errors,e.errors);for(var f in e.custom)if(!e.errors[f])throw new Error("Missing default error message for custom validator: "+f);a.extend(d.VALIDATORS,e.custom),this.$element.attr("novalidate",!0),this.toggleSubmit(),this.$element.on("input.bs.validator change.bs.validator focusout.bs.validator",d.INPUT_SELECTOR,a.proxy(this.onInput,this)),this.$element.on("submit.bs.validator",a.proxy(this.onSubmit,this)),this.$element.find("[data-match]").each(function(){var c=a(this),d=c.data("match");a(d).on("input.bs.validator",function(){b(c)&&c.trigger("input.bs.validator")})})};d.INPUT_SELECTOR=':input:not([type="submit"], button):enabled:visible',d.FOCUS_OFFSET=20,d.DEFAULTS={delay:500,html:!1,disable:!0,focus:!0,custom:{},errors:{match:"Does not match",minlength:"Not long enough"},feedback:{success:"glyphicon-ok",error:"glyphicon-remove"}},d.VALIDATORS={"native":function(a){var b=a[0];return b.checkValidity?b.checkValidity():!0},match:function(b){var c=b.data("match");return!b.val()||b.val()===a(c).val()},minlength:function(a){var b=a.data("minlength");return!a.val()||a.val().length>=b}},d.prototype.onInput=function(b){var c=this,d=a(b.target),e="focusout"!==b.type;this.validateInput(d,e).done(function(){c.toggleSubmit()})},d.prototype.validateInput=function(c,d){var e=b(c),f=c.data("bs.validator.previous"),g=c.data("bs.validator.errors");if(f===e)return a.Deferred().resolve();c.data("bs.validator.previous",e),c.is('[type="radio"]')&&(c=this.$element.find('input[name="'+c.attr("name")+'"]'));var h=a.Event("validate.bs.validator",{relatedTarget:c[0]});if(this.$element.trigger(h),!h.isDefaultPrevented()){var i=this;return this.runValidators(c).done(function(b){c.data("bs.validator.errors",b),b.length?d?i.defer(c,i.showErrors):i.showErrors(c):i.clearErrors(c),g&&b.toString()===g.toString()||(h=b.length?a.Event("invalid.bs.validator",{relatedTarget:c[0],detail:b}):a.Event("valid.bs.validator",{relatedTarget:c[0],detail:g}),i.$element.trigger(h)),i.toggleSubmit(),i.$element.trigger(a.Event("validated.bs.validator",{relatedTarget:c[0]}))})}},d.prototype.runValidators=function(c){function e(a){return c.data(a+"-error")||c.data("error")||"native"==a&&c[0].validationMessage||h.errors[a]}var f=[],g=a.Deferred(),h=this.options;return c.data("bs.validator.deferred")&&c.data("bs.validator.deferred").reject(),c.data("bs.validator.deferred",g),a.each(d.VALIDATORS,a.proxy(function(a,d){if((b(c)||c.attr("required"))&&(c.data(a)||"native"==a)&&!d.call(this,c)){var g=e(a);!~f.indexOf(g)&&f.push(g)}},this)),!f.length&&b(c)&&c.data("remote")?this.defer(c,function(){var d={};d[c.attr("name")]=b(c),a.get(c.data("remote"),d).fail(function(a,b,c){f.push(e("remote")||c)}).always(function(){g.resolve(f)})}):g.resolve(f),g.promise()},d.prototype.validate=function(){var b=this;return a.when(this.$inputs.map(function(){return b.validateInput(a(this),!1)})).then(function(){b.toggleSubmit(),b.$btn.hasClass("disabled")&&b.focusError()}),this}
1837,d.prototype.focusError=function(){if(this.options.focus){var b=a(".has-error:first :input");a(document.body).animate({scrollTop:b.offset().top-d.FOCUS_OFFSET},250),b.focus()}},d.prototype.showErrors=function(b){var c=this.options.html?"html":"text",d=b.data("bs.validator.errors"),e=b.closest(".form-group"),f=e.find(".help-block.with-errors"),g=e.find(".form-control-feedback");d.length&&(d=a("<ul/>").addClass("list-unstyled").append(a.map(d,function(b){return a("<li/>")[c](b)})),void 0===f.data("bs.validator.originalContent")&&f.data("bs.validator.originalContent",f.html()),f.empty().append(d),e.addClass("has-error has-danger"),e.hasClass("has-feedback")&&g.removeClass(this.options.feedback.success)&&g.addClass(this.options.feedback.error)&&e.removeClass("has-success"))},d.prototype.clearErrors=function(a){var c=a.closest(".form-group"),d=c.find(".help-block.with-errors"),e=c.find(".form-control-feedback");d.html(d.data("bs.validator.originalContent")),c.removeClass("has-error has-danger"),c.hasClass("has-feedback")&&e.removeClass(this.options.feedback.error)&&b(a)&&e.addClass(this.options.feedback.success)&&c.addClass("has-success")},d.prototype.hasErrors=function(){function b(){return!!(a(this).data("bs.validator.errors")||[]).length}return!!this.$inputs.filter(b).length},d.prototype.isIncomplete=function(){function c(){return!b(a(this))}return!!this.$inputs.filter("[required]").filter(c).length},d.prototype.onSubmit=function(a){this.validate(),this.$btn.hasClass("disabled")&&a.preventDefault()},d.prototype.toggleSubmit=function(){this.options.disable&&this.$btn.toggleClass("disabled",this.isIncomplete()||this.hasErrors())},d.prototype.defer=function(b,c){return c=a.proxy(c,this,b),this.options.delay?(window.clearTimeout(b.data("bs.validator.timeout")),void b.data("bs.validator.timeout",window.setTimeout(c,this.options.delay))):c()},d.prototype.destroy=function(){return this.$element.removeAttr("novalidate").removeData("bs.validator").off(".bs.validator").find(".form-control-feedback").removeClass([this.options.feedback.error,this.options.feedback.success].join(" ")),this.$inputs.off(".bs.validator").removeData(["bs.validator.errors","bs.validator.deferred","bs.validator.previous"]).each(function(){var b=a(this),c=b.data("bs.validator.timeout");window.clearTimeout(c)&&b.removeData("bs.validator.timeout")}),this.$element.find(".help-block.with-errors").each(function(){var b=a(this),c=b.data("bs.validator.originalContent");b.removeData("bs.validator.originalContent").html(c)}),this.$element.find('input[type="submit"], button[type="submit"]').removeClass("disabled"),this.$element.find(".has-error, .has-danger").removeClass("has-error has-danger"),this};var e=a.fn.validator;a.fn.validator=c,a.fn.validator.Constructor=d,a.fn.validator.noConflict=function(){return a.fn.validator=e,this},a(window).on("load",function(){a('form[data-toggle="validator"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery);/*
1838 * 2007-2025 PrestaShop
1839 *
1840 * NOTICE OF LICENSE
1841 *
1842 * This source file is subject to the Open Software License (OSL 3.0)
1843 * that is bundled with this package in the file LICENSE.txt.
1844 * It is also available through the world-wide-web at this URL:
1845 * http://opensource.org/licenses/osl-3.0.php
1846 * If you did not receive a copy of the license and are unable to
1847 * obtain it through the world-wide-web, please send an email
1848 * to [email protected] so we can send you a copy immediately.
1849 *
1850 * DISCLAIMER
1851 *
1852 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
1853 * versions in the future. If you wish to customize PrestaShop for your
1854 * needs please refer to http://www.prestashop.com for more information.
1855 *
1856 *  @author PrestaShop SA <[email protected]>
1857 *  @copyright  2007-2025 PrestaShop SA
1858 *  @version  Release: $Revision$
1859 *  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
1860 *  International Registered Trademark & Property of PrestaShop SA
1861 */
1862var t;var customImgLazyLoad;var mobileViewSize=991;var themevoltyCallMasterEvents=[];var themevoltyCallEventsPushKey=1;var themevoltyCallEventsPushParam=[];var themevoltyCallEventsPushParamCalled=[];var themevoltyCallEventsPushStatus=!0;var themevoltyCallEventsPush=function($obj,$param){themevoltyCallMasterEvents.push($obj);themevoltyCallEventsPushParam[themevoltyCallEventsPushKey]=$param;themevoltyCallEventsPushParamCalled[themevoltyCallEventsPushKey]=!1;themevoltyCallEventsPushKey++}
1863var themevoltyCallEvents=function($ForceCall){if(themevoltyCallEventsPushStatus){var height=$(window).scrollTop();if(height>49||$ForceCall){$i=1;$.each(themevoltyCallMasterEvents,function(index,func){if(!themevoltyCallEventsPushParamCalled[$i]){themevoltyCallEventsPushParamCalled[$i]=!0;if(themevoltyCallEventsPushParam[$i]!=null){func(themevoltyCallEventsPushParam[$i])}else{func()}}
1864$i++})}}}
1865function changePositionLeftColumnMobileView(){if(document.body.clientWidth>1199){$('#left-column').insertBefore('#content-wrapper')}else{$('#left-column').insertAfter('#content-wrapper')}
1866if(document.body.clientWidth<=991){$('#left-column').show()}}
1867function changePositionProduct3Slider(){if(document.body.clientWidth<1025){$('.product-3 .tv-product-page-image').insertBefore('.product-3 .tv-product-details');$('.product-3 #block-reassurance').insertAfter('.product-3 .product-information')}else{$('.product-3 .tv-product-page-image').insertAfter('.product-3 .tv-product-details');$('.product-3 #block-reassurance').insertAfter('.product-3 .tvproduct-page-decs')}}
1868changePositionProduct3Slider();function moveDataInMobileView(desktopClass,mobileClass){if($(desktopClass).html()!=undefined&&$(mobileClass).html()!=undefined){var html=''+$(desktopClass).html();var targetHtml=''+$(mobileClass).html();if(html!=''&&targetHtml==''){$(mobileClass).html(html);$(desktopClass).html('')}}}
1869function moveDataInDesktopView(desktopClass,mobileClass){if($(desktopClass).html()!=undefined&&$(mobileClass).html()!=undefined){var html=''+$(mobileClass).html();var targetHtml=''+$(desktopClass).html();if(html!=''&&targetHtml==''){$(desktopClass).html(html);$(mobileClass).html('')}}}
1870function showView(){if(document.body.clientWidth<=mobileViewSize){moveDataInMobileView('#tvdesktop-megamenu','#tvmobile-megamenu');moveDataInMobileView('#tvcmsdesktop-logo','#tvcmsmobile-header-logo');moveDataInMobileView('#_desktop_search','#tvcmsmobile-search');moveDataInMobileView('#_desktop_cart_manage','#tvmobile-cart');moveDataInMobileView('.tvheader-language','#tvmobile-lang');moveDataInMobileView('.tvheader-currency','#tvmobile-curr');moveDataInMobileView('#tvcmsdesktop-account-button','#tvcmsmobile-account-button');moveDataInMobileView('.tvcmsdesktop-contact','.tvcmsmobile-contact');moveDataInMobileView('.tvheader-compare','.tvmobile-compare');moveDataInMobileView('.ttvcms-wishlist-icon','.tvmobile-wishlist')}else{moveDataInDesktopView('#tvcmsdesktop-logo','#tvcmsmobile-header-logo');moveDataInDesktopView('#_desktop_cart_manage','#tvmobile-cart');moveDataInDesktopView('#tvcmsdesktop-account-button','#tvcmsmobile-account-button');moveDataInDesktopView('#tvdesktop-megamenu','#tvmobile-megamenu');moveDataInDesktopView('#_desktop_search','#tvcmsmobile-search');moveDataInDesktopView('.tvheader-language','#tvmobile-lang');moveDataInDesktopView('.tvheader-currency','#tvmobile-curr');moveDataInDesktopView('.tvcmsdesktop-contact','.tvcmsmobile-contact');moveDataInDesktopView('.tvheader-compare','.tvmobile-compare');moveDataInDesktopView('.ttvcms-wishlist-icon','.tvmobile-wishlist')}}
1871function setSimmner(){if(document.body.clientWidth>991){$('.shimmercard-container').each(function(index,value){$shimmerThis=$(this);$data_repeat=$shimmerThis.attr('data-repeat');$shimmerThis.removeAttr('data-repeat');$shimmerHTML=($shimmerThis.parent().html());for(var i=0;i<$data_repeat-1;i++){$shimmerThis.parent().append($shimmerHTML)}})}else{$('.shimmercard-container').remove()}}
1872function productTime(){$('.tvproduct-timer').each(function(){var $this=$(this);var time=$(this).attr('data-end-time');if(!$this.hasClass("timeLoaded")){$this.countdown(time,function(event){$this.find('.tvproduct-timer-box .days').html(event.strftime('%D'));$this.find('.tvproduct-timer-box .hours').html(event.strftime('%H'));$this.find('.tvproduct-timer-box .minutes').html(event.strftime('%M'));$this.find('.tvproduct-timer-box .seconds').html(event.strftime('%S'))}).addClass("timeLoaded")}})}
1873function isFunction(fn){return typeof fn==='function'}
1874function ZoomProduct(){if(document.body.clientWidth>1024&&$('body#product').length){$(".product-cover img").elevateZoom({responsive:!0,zoomType:"inner",easing:!0});$('body').on('mouseenter','.product-cover .js-qv-product-cover',function(){$('.zoomContainer').remove();$(this).removeData('elevateZoom');$(this).attr('src',$(this).attr('data-image-large-src'));$(this).data('zoom-image',$(this).data('zoom-image'))})}}
1875$('body').on('mouseenter','.tvvertical-slider .js-thumb',function(e){e.preventDefault();$('.tvvertical-slider .js-thumb').removeClass('active');$(this).addClass('active');var img_val=$(this).attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+$(this).attr('data-image-large-src')+")")});
1875function RemoveExZoom(){if($(".zoomContainer").length){$('.zoomContainer').remove()}}
1876$(".tvproduct-play-icon .fancybox").fancybox({minHeight:500,});changePositionLeftColumnMobileView();showView();setSimmner();ZoomProduct();jQuery(document).ready(function($){$('.product-1 .tv-product-page-image,.product-1 .tv-product-page-content,.product-2 .tv-product-page-image,.product-2 .tv-product-page-content,.product-3 .tv-product-page-image,.product-3 .tv-product-page-content,.product-4 .tv-product-page-image,.product-4 .tv-product-page-content,.product-5 .tv-product-page-image,.product-5 .tv-product-page-content, .tvquickview-prod-img,.tvquickview-prod-details').theiaStickySidebar({additionalMarginTop:70});$('.tvcmsproduct-grid-list .tvproduct-grid').addClass('active');function removeClassesOfView(){$('#products').removeClass('grid grid-2 list list-2 catelog')}
1877$(document).on('click','.tvcmsproduct-grid-list .tvproduct-grid',function(){removeClassesOfView();$('#products').addClass('grid');$('.tvcmsproduct-grid-list .tvproduct-grid-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-catelog').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-grid').addClass('active')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-grid-2',function(){removeClassesOfView();$('#products').addClass('grid-2');$('.tvcmsproduct-grid-list .tvproduct-grid').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-catelog').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-grid-2').addClass('active')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-list',function(){removeClassesOfView();$('#products').addClass('list');$('.tvcmsproduct-grid-list .tvproduct-grid-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-catelog').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-grid').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list').addClass('active')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-list-2',function(){removeClassesOfView();$('#products').addClass('list-2');$('.tvcmsproduct-grid-list .tvproduct-grid-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-catelog').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-grid').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list-2').addClass('active')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-catelog',function(){removeClassesOfView();$('#products').addClass('catelog');$('.tvcmsproduct-grid-list .tvproduct-grid').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-grid-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-list-2').removeClass('active');$('.tvcmsproduct-grid-list .tvproduct-catelog').addClass('active')});customImgLazyLoad=function($class){}
1878customImgLazyLoad();function ProductPageVerSlider1(){if($('body').find(".product-1 .tvvertical-slider").length){var SlickSliderVertical=$('body').find(".product-1 .tvvertical-slider .product-images").not('.slick-initialized').slick({arrows:!0,dots:!1,infinite:!0,speed:300,prevArrow:$('.tvvertical-slider-pre'),nextArrow:$('.tvvertical-slider-next'),slidesToShow:6,slidesToScroll:1,variableWidth:!1,height:!0,centerMode:!1,focusOnSelect:!0,autoplay:!0,adaptiveHeight:!0,vertical:!0,responsive:[{breakpoint:1280,settings:{arrows:!0,slidesToShow:5,slidesToScroll:1,}},{breakpoint:769,settings:{arrows:!1,slidesToShow:1,slidesToScroll:1,vertical:!1,adaptiveHeight:!1,dots:!0,prevArrow:'',nextArrow:'',}}]});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}}
1879function ProductPageVerSlider2(){if($(".product-2 .tvvertical-slider").length){var SlickSliderVertical=$(".product-2 .tvvertical-slider .product-images").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,vertical:!1,adaptiveHeight:!1,dots:!0,prevArrow:'',nextArrow:'',infinite:!0,speed:300,variableWidth:!1,height:!0,centerMode:!1,focusOnSelect:!0,autoplay:!1,});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}
1880if(document.body.clientWidth>768){$('.product-2 .tvvertical-slider .product-images').slick('unslick')}else{if(!$(".product-2 .tvvertical-slider .product-images").hasClass('slick-initialized')){$('.product-2 .tvvertical-slider .product-images').slick(SlickSliderVertical)}}}
1881function ProductPageVerSlider3(){if($('body').find(".product-3 .tvvertical-slider").length){var SlickSliderVertical=$('body').find(".product-3 .tvvertical-slider .product-images").not('.slick-initialized').slick({dots:!1,infinite:!0,speed:300,prevArrow:$('.tvvertical-slider-pre'),nextArrow:$('.tvvertical-slider-next'),slidesToShow:5,slidesToScroll:1,variableWidth:!1,height:!0,centerMode:!1,focusOnSelect:!0,autoplay:!1,adaptiveHeight:!1,vertical:!1,responsive:[{breakpoint:1280,settings:{slidesToShow:3,slidesToScroll:1,}},{breakpoint:1025,settings:{slidesToShow:5,slidesToScroll:1,}},{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1,vertical:!1,adaptiveHeight:!1,dots:!0,prevArrow:'',nextArrow:'',}}]});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}}
1882function ProductPageVerSlider4(){if($('body').find(".product-4 .tvvertical-slider").length){var SlickSliderVertical=$('body').find(".product-4 .tvvertical-slider .product-images").not('.slick-initialized').slick({dots:!1,infinite:!0,speed:300,prevArrow:$('.tvvertical-slider-pre'),nextArrow:$('.tvvertical-slider-next'),slidesToShow:1,slidesToScroll:1,variableWidth:!1,height:!0,centerMode:!1,focusOnSelect:!0,autoplay:!1,adaptiveHeight:!1,vertical:!1,responsive:[{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1,vertical:!1,adaptiveHeight:!1,dots:!0,prevArrow:'',nextArrow:'',}}]});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}}
1883function ProductPageVerSlider5(){if($('body').find(".product-5 .tvvertical-slider").length){var SlickSliderVertical=$('body').find(".product-5 .tvvertical-slider .product-images").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,vertical:!1,adaptiveHeight:!1,dots:!0,prevArrow:'',nextArrow:'',infinite:!0,speed:300,variableWidth:!1,height:!0,centerMode:!1,focusOnSelect:!0,autoplay:!1,});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}
1884if(document.body.clientWidth>768){$('.product-5 .tvvertical-slider .product-images').slick('unslick')}else{if(!$(".product-5 .tvvertical-slider .product-images").hasClass('slick-initialized')){$('.product-5 .tvvertical-slider .product-images').slick(SlickSliderVertical)}}}
1885function ProductPageVerSlider6(){if($('body').find(".product-6 .tvvertical-slider").length){var SlickSliderVertical=$('body').find(".product-6 .tvvertical-slider .product-images").not('.slick-initialized').slick({dots:!1,infinite:!0,speed:300,prevArrow:$('.tvvertical-slider-pre'),nextArrow:$('.tvvertical-slider-next'),slidesToShow:3,slidesToScroll:1,variableWidth:!1,centerMode:!0,height:!0,focusOnSelect:!0,autoplay:!1,adaptiveHeight:!1,vertical:!1,responsive:[{breakpoint:991,settings:{slidesToShow:2,}},{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,centerMode:!1,prevArrow:'',nextArrow:'',}}]});SlickSliderVertical.on('afterChange',function(event){var img_val=SlickSliderVertical.find('.slick-slide.slick-current.slick-active img').attr('data-image-large-src');$('.product-cover img').attr('src',img_val);$('.zoomContainer img').attr('src',img_val);$('.zoomWindowContainer div').css("background-image","url("+img_val+")")});RemoveExZoom();ZoomProduct()}}
1886$(document).ajaxComplete(function(){setTimeout(function(){if($(".quickview .product-6").length>0){$(".quickview .product-6").parent().parent().addClass('quickprod-6');$(".quickview .quickprod-6").parent().parent().parent().css('width','55rem')}
1887ProductPageVerSlider1();ProductPageVerSlider2();ProductPageVerSlider3();ProductPageVerSlider4();ProductPageVerSlider5();ProductPageVerSlider6()},300)});function removeDefaultDropdown(){$('#header .tv-account-dropdown').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-myaccount-btn').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-account-dropdown').removeClass('open').hide();$('#header .tvcmsheader-search .tvsearch-open').show();$('#header .tvcmsheader-search .tvsearch-close').hide();$('#header .tvcmsheader-search .tvsearch-header-display-wrappper').removeClass('open');$('body').removeClass('tvactive-search');$('#header .tvmobile-search-icon .tvsearch-open').show();$('#header .tvmobile-search-icon .tvsearch-close').hide();$('#header .tv-account-dropdown').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-myaccount-btn').removeClass('open');$('#header').find('.tvcms-header-myaccount .tv-account-dropdown').removeClass('open').hide();$('.tvcms-header-language .tv-language-btn').removeClass('open');$('.tv-language-dropdown').removeClass('open').hide();$('.tvcms-header-currency .tv-currency-btn').removeClass('open');$('.tv-currency-dropdown').removeClass('open').hide();if(document.body.clientWidth<=mobileViewSize){$('#tvcms-mobile-view-header .tvmenu-button').removeClass('open');$('.hexcms-header-cart .tvcmscart-show-dropdown').removeClass('open');$('.tvcmsvertical-menu .tvallcategories-wrapper tvleft-right-title-toggle, .tvcmsvertical-menu .tvverticalmenu-dropdown').removeClass('open')}else{$('.tvcmsvertical-menu .tvallcategories-wrapper').removeClass('open');$('.tvcmsvertical-menu .tvverticalmenu-dropdown').removeClass('open').removeAttr('style')}}
1888$(".tv-menu-horizontal li.level-1").hover(function(){$('body').addClass('menu-open')},function(){$('body').removeClass('menu-open')});function removeClassesOfView(){$('#products').removeClass('grid grid-2 list list-2 catelog')}
1889$(document).on('click','.tvcmsproduct-grid-list .tvproduct-grid',function(){removeClassesOfView();$('#products').addClass('grid')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-grid-2',function(){removeClassesOfView();$('#products').addClass('grid-2')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-list',function(){removeClassesOfView();$('#products').addClass('list')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-list-2',function(){removeClassesOfView();$('#products').addClass('list-2')});$(document).on('click','.tvcmsproduct-grid-list .tvproduct-catelog',function(){removeClassesOfView();$('#products').addClass('catelog')});$(document).on('click','.tvmobile-sliderbar-btn a',function(){if(document.body.clientWidth<=991){removeDefaultDropdown();$('.tvmobile-slidebar').addClass('open');$('body').addClass('mobile-menu-open')}});$(document).on('click','.tvmobile-dropdown-close a , .full-wrapper-backdrop',function(){$('.tvmobile-slidebar').removeClass('open');$('body').removeClass('mobile-menu-open')});$('body').keydown(function(e){if(e.which==27){$('.tvmobile-slidebar').removeClass('open');$('body').removeClass('mobile-menu-open');$('.ttvcmscart-show-dropdown-right').removeClass('open');$('body').removeClass('classicCartOpen');$('body').removeClass('footerCartOpen')}});if($('.tvcategory-name-image').length>0){var slider=document.querySelector('.tvcategory-name-image');var mouseDown=!1;var startX,scrollLeft;var startDragging=function(e){mouseDown=!0;startX=e.pageX-slider.offsetLeft;scrollLeft=slider.scrollLeft};var stopDragging=function(event){mouseDown=!1};slider.addEventListener('mousemove',function(e){e.preventDefault();if(!mouseDown){return}
1890var x=e.pageX-slider.offsetLeft;var scroll=x-startX;slider.scrollLeft=scrollLeft-scroll});slider.addEventListener('mousedown',startDragging,!1);slider.addEventListener('mouseup',stopDragging,!1);slider.addEventListener('mouseleave',stopDragging,!1)}
1891var dropDownParentClass='';var dropDownClass='';var dropDownAllClose=!0;function tvDropDownOpen(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown){if(checkInsideDropDown&&$('ul.tv-account-dropdown:visible').find(dropdownClass).length>0){closeOtherDropdown=!1}
1892if(closeOtherDropdown==!0){removeDefaultDropdown()}
1893if(!$(dropdownClass).hasClass('open')){$('.dropdown-menu').css('height','');$(dropdownClass).addClass('open').stop(!1).slideDown(200,"swing");$(parentClass).addClass('open')}}
1894function tvDropDownClose(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown){$('.dropdown-menu').css('height','');$(dropdownClass).removeClass('open').stop(!1).slideUp(200,"swing");$(parentClass).removeClass('open')}
1895function tvDropDownCommon(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown){tvDropDown(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown);
1895tvDropDownHover(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}
1896function tvDropDown(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown){$(document).on('click',parentClass,function(e){if($(dropdownClass).hasClass('open')){tvDropDownClose(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}else{tvDropDownOpen(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}
1897if($(parentClass).hasClass('open')){$('body').addClass('dropdown-open')}else if(!$(parentClass).hasClass('open')){$('body').removeClass('dropdown-open')}
1898e.stopPropagation()});$(document).on('click','.half-wrapper-backdrop',function(e){tvDropDownClose(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown);$('body').removeClass('dropdown-open')})}
1899function tvDropDownHover(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown){$(document).on('mouseenter',parentClass,function(e){if(document.body.clientWidth>mobileViewSize){if(!checkInsideDropDown){tvDropDownOpen(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}else if($('ul.tv-account-dropdown:visible').find(dropdownClass).length==0){tvDropDownOpen(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}}
1900if($(parentClass).hasClass('open')){$('body').addClass('dropdown-open')}
1901e.stopPropagation()});$(document).on('mouseleave',parentClass,function(e){if(document.body.clientWidth>mobileViewSize){if(!checkInsideDropDown){tvDropDownClose(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}else if($('ul.tv-account-dropdown:visible').find(dropdownClass).length==0){tvDropDownClose(parentClass,dropdownClass,closeOtherDropdown,checkInsideDropDown)}}
1902if(!$(parentClass).hasClass('open')){$('body').removeClass('dropdown-open')}
1903e.stopPropagation()})}
1904dropDownParentClass='.tv-account-wrapper';dropDownClass='.tv-account-dropdown';$('.tv-account-dropdown').hide();tvDropDownCommon(dropDownParentClass,dropDownClass,!0,!1);dropDownParentClass='.tvcms-header-language .tvheader-language-btn-wrapper';dropDownClass='.tv-language-dropdown';$(dropDownClass).hide();dropDownAllClose=!0;tvDropDownCommon(dropDownParentClass,dropDownClass,dropDownAllClose,!0);dropDownParentClass='.tvheader-currency-wrapper';dropDownClass='.tv-currency-dropdown';$(dropDownClass).hide();dropDownAllClose=!0;tvDropDownCommon(dropDownParentClass,dropDownClass,dropDownAllClose,!0);function cartDropDownJs(){$(document).on('click','.tv-header-cart .tvheader-cart-wrapper a',function(){if(document.body.clientWidth<=mobileViewSize){if($('.tv-header-cart .tvcmscart-show-dropdown').hasClass('open')){$('.tv-header-cart .tvcmscart-show-dropdown').removeClass('open')}else{removeDefaultDropdown();$('.tv-header-cart .tvcmscart-show-dropdown').addClass('open')}}});$(document).on('mouseenter','#_desktop_cart .tvheader-cart-wrapper-popup',function(){if(document.body.clientWidth>mobileViewSize){removeDefaultDropdown();$('#_desktop_cart .tvcmscart-show-dropdown').addClass('open')}});$(document).on('mouseleave','#_desktop_cart .tvheader-cart-wrapper-popup',function(){if(document.body.clientWidth>mobileViewSize){$('#_desktop_cart .tvcmscart-show-dropdown').removeClass('open')}})}
1905cartDropDownJs();var swiperClass=[['.tvcmslike-product .tvlike-product-wrapper','.tvcmslike-next','.tvcmslike-prev','.tvcmslike-product'],['.tvcmscross-selling-product .tvcross-selling-product-wrapper','.tvcmscross-selling-next','.tvcmscross-selling-prev','.tvcmscross-selling-product'],['.tvcmssame-category-product .tvsame-category-product-wrapper','.tvcmssame-category-next','.tvcmssame-category-prev','.tvcmssame-category-product'],];for(var i=0;i<swiperClass.length;i++){if((swiperClass[i][0]).length){$(swiperClass[i][0]).owlCarousel({loop:!1,dots:!1,nav:!1,smartSpeed:tvMainSmartSpeed,responsive:{0:{items:1},320:{items:1,slideBy:1},330:{items:2,slideBy:1},400:{items:2,slideBy:1},480:{items:2,slideBy:1},650:{items:3,slideBy:1},767:{items:3,slideBy:1},768:{items:3,slideBy:1},992:{items:3,slideBy:1},1025:{items:4,slideBy:1},1200:{items:4,slideBy:1},1350:{items:4,slideBy:1},1660:{items:4,slideBy:1},1800:{items:4,slideBy:1}}});$(swiperClass[i][1]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-next').trigger('click')});$(swiperClass[i][2]).on('click',function(e){e.preventDefault();$('.'+$(this).attr('data-parent')+' .owl-nav .owl-prev').trigger('click')});$(swiperClass[i][3]+' .tv-pagination-wrapper').insertAfter(swiperClass[i][3]+' .tvproduct-wrapper-content-box')}}
1906$(document).on('click','.tvproduct-wrapper.catelog .tvproduct-catalog-btn-wrapper .tvproduct-cart-quentity-increment',function(){var obj=$(this).parent().parent().parent().parent();var qty=parseInt(obj.find('.tvproduct-cart-quentity').val())+1;obj.find('.tvproduct-cart-quentity').val(qty);$('.tvproduct-cart-btn form input[name=qty]').val(qty)});$(document).on('click','.tvproduct-wrapper.catelog .tvproduct-catalog-btn-wrapper .tvproduct-cart-quentity-decrement',function(){var obj=$(this).parent().parent().parent().parent();var qty=parseInt(obj.find('.tvproduct-cart-quentity').val())-1;if(qty>=1){obj.find('.tvproduct-cart-quentity').val(qty);obj.parent().find('.tvproduct-cart-btn form input[name=qty]').val(qty)}});$(document).on('blur','.tvproduct-wrapper.catelog .tvproduct-catalog-btn-wrapper .tvproduct-cart-quentity',function(){var obj=$(this).parent().parent().parent().parent();var qty=parseInt(obj.find('.tvproduct-cart-quentity').val());if(qty>1&&qty!=NaN){obj.find('.tvproduct-cart-quentity').val(qty);obj.parent().find('.tvproduct-cart-btn form input[name=qty]').val(qty)}else{qty=1;obj.find('.tvproduct-cart-quentity').val(qty);obj.parent().find('.tvproduct-cart-btn form input[name=qty]').val(qty)}});$('.footer-container .tvfooter-title-wrapper').on('click',function(e){if(document.body.clientWidth>mobileViewSize){e.stopPropagation()}});function bottomTotop(){var startMenuStickyHeight=250;var scrollHeight=$(document).scrollTop();if(scrollHeight>startMenuStickyHeight){$('.tvbottom-to-top').fadeIn('slow')}else{$('.tvbottom-to-top').fadeOut('slow')}}
1907$(window).on('scroll',function(){var menu_sticky=localStorage.getItem('menu-sticky')||'true';if(menu_sticky=='true'){menuStickyJs()}else{$('.tvcmsheader-sticky').removeClass('sticky');$('#wrapper').css('margin-top','0px')}
1908bottomTotop();bottomSticky()});
1908function menuStickyJs(){var checkMenuSticky=$('body').attr('data-menu-sticky');if(checkMenuSticky=='1'){var startMenuStickyHeight=250;var scrollHeight=$(document).scrollTop();if(document.body.clientWidth>mobileViewSize){if(scrollHeight>startMenuStickyHeight){$('.tvcmsheader-sticky').addClass('sticky')}else{$('.tvcmsheader-sticky').removeClass('sticky');$('#wrapper').css('margin-top','0px')}}else{if(scrollHeight>startMenuStickyHeight){$('.tvcmsmobile-header-search-logo-wrapper.tvcmsheader-sticky').addClass('sticky');$('.tvcmsmobile-header-menu-offer-text.tvcmsheader-sticky').addClass('sticky');$('.tvcmsheader-sticky').addClass('sticky');$('#wrapper').css('margin-top',$('.tvcmsmobile-header-search-logo-wrapper.tvcmsheader-sticky').height()+'px');$('#wrapper').css('margin-top',$('.tvcmsmobile-header-menu-offer-text.tvcmsheader-sticky').height()+'px')}else{$('.tvcmsmobile-header-search-logo-wrapper.tvcmsheader-sticky').removeClass('sticky');$('.tvcmsmobile-header-menu-offer-text.tvcmsheader-sticky').removeClass('sticky');$('.tvcmsheader-sticky').removeClass('sticky');$('#wrapper').css('margin-top','0px')}}}}
1909menuStickyJs();$(document).on('click','.tv_search_filter_wrapper .tvleft-right-title-wrapper',function(){if($('#search_filters_wrapper #search_filters').hasClass('open')){$('#search_filters_wrapper #search_filters').removeClass('open').stop(!1).slideUp(100,"swing")}else{$('#search_filters_wrapper #search_filters').addClass('open').stop(!1).slideDown(100,"swing")}});$(document).on('click','#search_filters .tvfilter-search-types-title',function(){if(document.body.clientWidth<=mobileViewSize){var search_type_id=$(this).attr('data-target');if($(search_type_id).hasClass('open')){$(this).removeClass('open');$(search_type_id).removeClass('open').stop(!1).slideUp(200,"swing")}else{$(this).addClass('open');$(search_type_id).addClass('open').stop(!1).slideDown(200,"swing")}}});$(document).on('click','.tvcms-left-column-wrapper .tv-left-pannal-btn-wrapper',function(e){e.preventDefault();if($('#left-column').hasClass('open')){$('#left-column').removeClass('open');$('.modal-backdrop.fade.in').remove()}else{$('#left-column').addClass('open');$('body').append('<div class="modal-backdrop fade in"></div>');e.stopPropagation()}});$(document).on('click','.tvcms-right-column-wrapper .tv-right-pannal-btn-wrapper',function(e){e.preventDefault();if($('#right-column').hasClass('open')){$('#right-column').removeClass('open');$('.modal-backdrop.fade.in').remove()}else{$('#right-column').addClass('open');$('body').append('<div class="modal-backdrop fade in"></div>');e.stopPropagation()}});$(document).on('click','#left-column .tvleft-column-close-btn, #right-column .tvright-column-close-btn',function(){if($(this).parent().parent().parent().hasClass('open')){$('.tv-left-right-panel-hide').removeClass('open');$('.modal-backdrop.fade.in').remove()}});$(document).on('click','.modal-backdrop.fade.in',function(){if($('#left-column.tv-left-right-panel-hide, #right-column.tv-left-right-panel-hide').hasClass('open')){$('#left-column.tv-left-right-panel-hide, #right-column.tv-left-right-panel-hide').removeClass('open');$('.modal-backdrop.fade.in').remove()}});function scrollToTop(){$('body,html').animate({scrollTop:0},500)}
1910$(document).on('click','.tvbottom-to-top-icon',function(){scrollToTop()});$(function(){'use strict';var popoverConfig={trigger:'hover',template:['<div class="popover tvtooltip" role="tooltip">','<div class="popover-arrow"></div>','<h3 class="popover-title"></h3>','<div class="popover-content"></div>','</div>'].join(''),placement:'top',container:'body',};initPopovers();$('[data-toggle="tvtooltip"]').on('click',function(){$("div[role=tooltip]").remove()});function initPopovers(){$('[data-toggle="tvtooltip"]').popover(popoverConfig);$('[data-toggle="tvtooltip"]').on('click',function(){$('[data-toggle="tvtooltip"]').popover('hide')})}
1911$(document).ajaxComplete(function(){initPopovers()})});$(document).on('click','a.tvcart-product-list-checkout-link, .tvcart-product-list-checkout',function(e){location.href=prestashop.urls.pages.order});$(document).on('click','.tvcms-header-menu .tvmain-menu-open',function(){if(document.body.clientWidth>=768){$(this).addClass('open');$('.tvcms-header-menu').find('.tvcmsheader-main-menu-wrapper').addClass('open');$('body').addClass('tvactive-search')}});$(document).on('click','.tvcms-header-menu .tvmain-menu-close',function(){if(document.body.clientWidth>=768){$(this).removeClass('open');$('.tvcms-header-menu').find('.tvcmsheader-main-menu-wrapper').removeClass('open');$('body').removeClass('tvactive-search')}});$(document).ajaxComplete(function(){productTime()});$(document).on('click','#product .product-variants li.input-container label',function(e){$(this).find('span').css('border-color','#000').css('box-shadow','none').css('color','#000');$(this).find('i').css('opacity','1').css('-webkit-transform','scale(1)').css('-moz-transform','scale(1)').css('-ms-transform','scale(1)').css('-o-transform','scale(1)')});function bottomSticky(){var startMenuStickyHeight=$('.tvprduct-image-info-wrapper').height();var scrollHeight=$(document).scrollTop();if(document.body.clientWidth>mobileViewSize){if(scrollHeight>startMenuStickyHeight){event.stopPropagation();$('#product .tvfooter-product-sticky-bottom').addClass('sticky');var getHtml=$('.tvproduct-page-wrapper .product-actions').html();var GetQty=$('#quantity_wanted').val();var getHtmlsBottom=$('.tvfooter-product-sticky-bottom #bottom_sticky_data').html();if(getHtmlsBottom==''){$('.tvfooter-product-sticky-bottom #bottom_sticky_data').append(getHtml);$('#bottom_sticky_data #new_comment_form_ok').css('display','none');$('#bottom_sticky_data #quantity_wanted').val(GetQty);$('#bottom_sticky_data #quantity_wanted').attr('value',GetQty);$('body').css('margin-bottom',$('.tvfooter-product-sticky-bottom.sticky').height()+'px')}}else if(scrollHeight<startMenuStickyHeight){$('#product .tvfooter-product-sticky-bottom').removeClass('sticky');var GetQty=$('#bottom_sticky_data #quantity_wanted').val();event.stopPropagation();var getHtmls=$('.tvfooter-product-sticky-bottom #bottom_sticky_data').html();if(getHtmls!=''){$('#quantity_wanted').val(GetQty);$('#quantity_wanted').attr('value',GetQty);$('.tvfooter-product-sticky-bottom #bottom_sticky_data').html('')}}}else{event.stopPropagation();$('#product .tvfooter-product-sticky-bottom').removeClass('sticky');var getHtmls=$('.tvfooter-product-sticky-bottom #bottom_sticky_data').html();if(getHtmls!=''){$('.tvfooter-product-sticky-bottom #bottom_sticky_data').html('')}}}
1912$(document).on('click','#bottom_sticky_data .btn.btn-touchspin.js-touchspin.bootstrap-touchspin-up',function(){event.stopPropagation();var obj=$(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent();var qty=parseInt(obj.find('#quantity_wanted').val())+1;$('.input-group.form-control').attr('value',qty);$('.input-group.form-control').val(qty)});$(document).on('click','#bottom_sticky_data .btn.btn-touchspin.js-touchspin.bootstrap-touchspin-down',function(){event.stopPropagation();var obj=$(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent();var qty=parseInt(obj.find('#quantity_wanted').val())-1;if(qty>=1){$('.input-group.form-control').attr('value',qty);$('.input-group.form-control').val(qty)}});$(document).on('click','.tvsticky-up-arrow',function(e){e.preventDefault();$('body,html').animate({scrollTop:0})});$(document).on('click','.ttvcmscart-show-dropdown-right .ttvclose-cart , .full-wrapper-backdrop',function(){$('.ttvcmscart-show-dropdown-right').removeClass('open');$('body').removeClass('classicCartOpen');$('body').removeClass('footerCartOpen')});$(document).on('click','.tvheader-cart-btn-wrapper',function(){removeDefaultDropdown();$('.ttvcmscart-show-dropdown-right').addClass('open');$('body').removeClass('footerCartOpen');$('body').addClass('classicCartOpen')});$('#product_comparison .product-desc').balance();$('#product_comparison .tvproduct-name').balance();$('#product_comparison .product-price-and-shipping').balance();$('#product_comparison .thumbnail-container').balance();$(window).on('resize',function(){changePositionLeftColumnMobileView();ProductPageVerSlider1();ProductPageVerSlider2();ProductPageVerSlider3();ProductPageVerSlider4();ProductPageVerSlider5();ProductPageVerSlider6();showView();changePositionProduct3Slider();cartDropDownJs();bottomSticky();$('#tvcms-mobile-view-header .tvcmsmobile-contact').show();$('.tvmain-menu-dropdown').removeClass('open')})});var loadBgImgStatus=!0;var loadBgImg=function(){if(loadBgImgStatus){loadBgImgStatus=!1;$("div[data-bg-url]").each(function(){var url=$(this).attr('data-bg-url');$(this).css("background-image",'url('+url+')')})}}
1913$(window).on('scroll',function(){themevoltyCallEvents(!0);loadBgImg()});$(window).on('load',function(){$('#tvcms-mobile-view-header .tvcmsmobile-contact').show();$('.tvcms-loading-overlay').fadeOut();if(document.body.clientWidth>mobileViewSize){themevoltyCallEvents(!1)}})

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