vendor: 18,300 bytes, lines 1-2
1/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var i=[],n=Object.getPrototypeOf,o=i.slice,r=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},a=i.push,s=i.indexOf,l={},c=l.toString,d=l.hasOwnProperty,p=d.toString,u=p.call(Object),h={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},_=e.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,i){var n,o,r=(i=i||_).createElement("script");if(r.text=e,t)for(n in g)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var y="3.6.0",b=function(e,t){return new b.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,i=w(e);return!f(e)&&!m(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}b.fn=b.prototype={jquery:y,constructor:b,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:i.sort,splice:i.splice},b.extend=b.fn.extend=function(){var e,t,i,n,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||f(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(c&&n&&(b.isPlainObject(n)||(o=Array.isArray(n)))?(i=a[t],r=o&&!Array.isArray(i)?[]:o||b.isPlainObject(i)?i:{},o=!1,a[t]=b.extend(c,r,n)):void 0!==n&&(a[t]=n));return a},b.extend({expando:"jQuery"+(y+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==c.call(e)||(t=n(e))&&("function"!=typeof(i=d.call(t,"constructor")&&t.constructor)||p.call(i)!==u))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){v(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(k(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var i=t||[];return null!=e&&(k(Object(e))?b.merge(i,"string"==typeof e?[e]:e):a.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,o=e.length;n<i;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,i){for(var n=[],o=0,r=e.length,a=!i;o<r;o++)!t(e[o],o)!==a&&n.push(e[o]);return n},map:function(e,t,i){var n,o,a=0,s=[];if(k(e))for(n=e.length;a<n;a++)null!=(o=t(e[a],a,i))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,i))&&s.push(o);return r(s)},guid:1,support:h}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=i[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var x=function(e){var t,i,n,o,r,a,s,l,c,d,p,u,h,f,m,_,g,v,w,y="sizzle"+1*new Date,b=e.document,k=0,x=0,$=le(),C=le(),T=le(),S=le(),L=function(e,t){return e===t&&(p=!0),0},D={}.hasOwnProperty,A=[],E=A.pop,M=A.push,P=A.push,N=A.slice,j=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",O="(?:\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",q="\\["+H+"*("+O+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+H+"*\\]",F=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",W=new RegExp(H+"+","g"),z=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),R=new RegExp("^"+H+"*,"+H+"*"),B=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),Y=new RegExp(H+"|>"),U=new RegExp(F),V=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),ie=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){u()},ae=ye((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(A=N.call(b.childNodes),b.childNodes),A[b.childNodes.length].nodeType}catch(t){P={apply:A.length?function(e,t){M.apply(e,N.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function se(e,t,n,o){var r,s,c,d,p,f,g,v=t&&t.ownerDocument,b=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==b&&9!==b&&11!==b)return n;if(!o&&(u(t),t=t||h,m)){if(11!==b&&(p=Z.exec(e)))if(r=p[1]){if(9===b){if(!(c=t.getElementById(r)))return n;if(c.id===r)return n.push(c),n}else if(v&&(c=v.getElementById(r))&&w(t,c)&&c.id===r)return n.push(c),n}else{if(p[2])return P.apply(n,t.getElementsByTagName(e)),n;if((r=p[3])&&i.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(r)),n}if(i.qsa&&!S[e+" "]&&(!_||!_.test(e))&&(1!==b||"object"!==t.nodeName.toLowerCase())){if(g=e,v=t,1===b&&(Y.test(e)||B.test(e))){for((v=ee.test(e)&&ge(t.parentNode)||t)===t&&i.scope||((d=t.getAttribute("id"))?d=d.replace(ne,oe):t.setAttribute("id",d=y)),s=(f=a(e)).length;s--;)f[s]=(d?"#"+d:":scope")+" "+we(f[s]);g=f.join(",")}try{return P.apply(n,v.querySelectorAll(g)),n}catch(t){S(e,!0)}finally{d===y&&t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,n,o)}function le(){var e=[];return function t(i,o){return e.push(i+" ")>n.cacheLength&&delete t[e.shift()],t[i+" "]=o}}function ce(e){return e[y]=!0,e}function de(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var i=e.split("|"),o=i.length;o--;)n.attrHandle[i[o]]=t}function ue(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function me(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _e(e){return ce((function(t){return t=+t,ce((function(i,n){for(var o,r=e([],i.length,t),a=r.length;a--;)i[o=r[a]]&&(i[o]=!(n[o]=i[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in i=se.support={},r=se.isXML=function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!K.test(t||i&&i.nodeName||"HTML")},u=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:b;return a!=h&&9===a.nodeType&&a.documentElement&&(f=(h=a).documentElement,m=!r(h),b!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),i.scope=de((function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),i.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),i.getElementsByTagName=de((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),i.getElementsByClassName=J.test(h.getElementsByClassName),i.getById=de((function(e){return f.appendChild(e).id=y,!h.getElementsByName||!h.getElementsByName(y).length})),i.getById?(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i=t.getElementById(e);return i?[i]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i,n,o,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(o=t.getElementsByName(e),n=0;r=o[n++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),n.find.TAG=i.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;i=r[o++];)1===i.nodeType&&n.push(i);return n}return r},n.find.CLASS=i.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],_=[],(i.qsa=J.test(h.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+y+"'></a><select id='"+y+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+H+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+y+"-]").length||_.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||_.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||_.push(".#.+[+~]"),e.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")}))),(i.matchesSelector=J.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){i.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",F)})),_=_.length&&new RegExp(_.join("|")),g=g.length&&new RegExp(g.join("|")),t=J.test(f.compareDocumentPosition),w=t||J.test(f.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return p=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===n?e==h||e.ownerDocument==b&&w(b,e)?-1:t==h||t.ownerDocument==b&&w(b,t)?1:d?j(d,e)-j(d,t):0:4&n?-1:1)}:function(e,t){if(e===t)return p=!0,0;var i,n=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e==h?-1:t==h?1:o?-1:r?1:d?j(d,e)-j(d,t):0;if(o===r)return ue(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)s.unshift(i);for(;a[n]===s[n];)n++;return n?ue(a[n],s[n]):a[n]==b?-1:s[n]==b?1:0}),h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(u(e),i.matchesSelector&&m&&!S[t+" "]&&(!g||!g.test(t))&&(!_||!_.test(t)))try{var n=v.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return 0<se(t,h,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&u(e),w(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&u(e);var o=n.attrHandle[t.toLowerCase()],r=o&&D.call(n.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==r?r:i.attributes||!m?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(ne,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],o=0,r=0;if(p=!i.detectDuplicates,d=!i.sortStable&&e.slice(0),e.sort(L),p){for(;t=e[r++];)t===e[r]&&(o=n.push(r));for(;o--;)e.splice(n[o],1)}return d=null,e},o=se.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=o(t);return i},(n=se.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&U.test(i)&&(t=a(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&$(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){var o=se.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===i:"!="===t?o!==i:"^="===t?i&&0===o.indexOf(i):"*="===t?i&&-1<o.indexOf(i):"$="===t?i&&o.slice(-i.length)===i:"~="===t?-1<(" "+o.replace(W," ")+" ").indexOf(i):"|="===t&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,i,l){var c,d,p,u,h,f,m=r!==a?"nextSibling":"previousSibling",_=t.parentNode,g=s&&t.nodeName.toLowerCase(),v=!l&&!s,w=!1;if(_){if(r){for(;m;){for(u=t;u=u[m];)if(s?u.nodeName.toLowerCase()===g:1===u.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?_.firstChild:_.lastChild],a&&v){for(w=(h=(c=(d=(p=(u=_)[y]||(u[y]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],u=h&&_.childNodes[h];u=++h&&u&&u[m]||(w=h=0)||f.pop();)if(1===u.nodeType&&++w&&u===t){d[e]=[k,h,w];break}}else if(v&&(w=h=(c=(d=(p=(u=t)[y]||(u[y]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===w)for(;(u=++h&&u&&u[m]||(w=h=0)||f.pop())&&((s?u.nodeName.toLowerCase()!==g:1!==u.nodeType)||!++w||(v&&((d=(p=u[y]||(u[y]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]=[k,w]),u!==t)););return(w-=o)===n||w%n==0&&0<=w/n}}},PSEUDO:function(e,t){var i,o=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[y]?o(t):1<o.length?(i=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,i){for(var n,r=o(e,t),a=r.length;a--;)e[n=j(e,r[a])]=!(i[n]=r[a])})):function(e){return o(e,0,i)}):o}},pseudos:{not:ce((function(e){var t=[],i=[],n=s(e.replace(z,"$1"));return n[y]?ce((function(e,t,i,o){for(var r,a=n(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))})):function(e,o,r){return t[0]=e,n(t,null,r,i),t[0]=null,!i.pop()}})),has:ce((function(e){return function(t){return 0<se(e,t).length}})),contains:ce((function(e){return e=e.replace(te,ie),function(t){return-1<(t.textContent||o(t)).indexOf(e)}})),lang:ce((function(e){return V.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ie).toLowerCase(),function(t){var i;do{if(i=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)}
vendor: 4,842 bytes, line 2
2,input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,i){return[i<0?i+t:i]})),even:_e((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:_e((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:_e((function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e})),gt:_e((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=fe(t);function ve(){}function we(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function ye(e,t,i){var n=t.dir,o=t.next,r=o||n,a=i&&"parentNode"===r,s=x++;return t.first?function(t,i,o){for(;t=t[n];)if(1===t.nodeType||a)return e(t,i,o);return!1}:function(t,i,l){var c,d,p,u=[k,s];if(l){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(d=(p=t[y]||(t[y]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[n]||t;else{if((c=d[r])&&c[0]===k&&c[1]===s)return u[2]=c[2];if((d[r]=u)[2]=e(t,i,l))return!0}return!1}}function be(e){return 1<e.length?function(t,i,n){for(var o=e.length;o--;)if(!e[o](t,i,n))return!1;return!0}:e[0]}function ke(e,t,i,n,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(i&&!i(r,n,o)||(a.push(r),c&&t.push(s)));return a}function xe(e,t,i,n,o,r){return n&&!n[y]&&(n=xe(n)),o&&!o[y]&&(o=xe(o,r)),ce((function(r,a,s,l){var c,d,p,u=[],h=[],f=a.length,m=r||function(e,t,i){for(var n=0,o=t.length;n<o;n++)se(e,t[n],i);return i}(t||"*",s.nodeType?[s]:s,[]),_=!e||!r&&t?m:ke(m,u,e,s,l),g=i?o||(r?e:f||n)?[]:a:_;if(i&&i(_,g,s,l),n)for(c=ke(g,h),n(c,[],s,l),d=c.length;d--;)(p=c[d])&&(g[h[d]]=!(_[h[d]]=p));if(r){if(o||e){if(o){for(c=[],d=g.length;d--;)(p=g[d])&&c.push(_[d]=p);o(null,g=[],c,l)}for(d=g.length;d--;)(p=g[d])&&-1<(c=o?j(r,p):u[d])&&(r[c]=!(a[c]=p))}}else g=ke(g===a?g.splice(f,g.length):g),o?o(null,a,g,l):P.apply(a,g)}))}function $e(e){for(var t,i,o,r=e.length,a=n.relative[e[0].type],s=a||n.relative[" "],l=a?1:0,d=ye((function(e){return e===t}),s,!0),p=ye((function(e){return-1<j(t,e)}),s,!0),u=[function(e,i,n){var o=!a&&(n||i!==c)||((t=i).nodeType?d(e,i,n):p(e,i,n));return t=null,o}];l<r;l++)if(i=n.relative[e[l].type])u=[ye(be(u),i)];else{if((i=n.filter[e[l].type].apply(null,e[l].matches))[y]){for(o=++l;o<r&&!n.relative[e[o].type];o++);return xe(1<l&&be(u),1<l&&we(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),i,l<o&&$e(e.slice(l,o)),o<r&&$e(e=e.slice(o)),o<r&&we(e))}u.push(i)}return be(u)}return ve.prototype=n.filters=n.pseudos,n.setFilters=new ve,a=se.tokenize=function(e,t){var i,o,r,a,s,l,c,d=C[e+" "];if(d)return t?0:d.slice(0);for(s=e,l=[],c=n.preFilter;s;){for(a in i&&!(o=R.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=B.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(z," ")}),s=s.slice(i.length)),n.filter)!(o=X[a].exec(s))||c[a]&&!(o=c[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return t?s.length:s?se.error(e):C(e,l).slice(0)},s=se.compile=function(e,t){var i,o,r,s,l,d,p=[],f=[],_=T[e+" "];if(!_){for(t||(t=a(e)),i=t.length;i--;)(_=$e(t[i]))[y]?p.push(_):f.push(_);(_=T(e,(o=f,s=0<(r=p).length,l=0<o.length,d=function(e,t,i,a,d){var p,f,_,g=0,v="0",w=e&&[],y=[],b=c,x=e||l&&n.find.TAG("*",d),$=k+=null==b?1:Math.random()||.1,C=x.length;for(d&&(c=t==h||t||d);v!==C&&null!=(p=x[v]);v++){if(l&&p){for(f=0,t||p.ownerDocument==h||(u(p),i=!m);_=o[f++];)if(_(p,t||h,i)){a.push(p);break}d&&(k=$)}s&&((p=!_&&p)&&g--,e&&w.push(p))}if(g+=v,s&&v!==g){for(f=0;_=r[f++];)_(w,y,t,i);if(e){if(0<g)for(;v--;)w[v]||y[v]||(y[v]=E.call(a));y=ke(y)}P.apply(a,y),d&&!e&&0<y.length&&1<g+r.length&&se.uniqueSort(a)}return d&&(k=$,c=b),w},s?ce(d):d))).selector=e}return _},l=se.select=function(e,t,i,o){var r,l,c,d,p,u="function"==typeof e&&e,h=!o&&a(e=u.selector||e);if(i=i||[],1===h.length){if(2<(l=h[0]=h[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&n.relative[l[1].type]){if(!(t=(n.find.ID(c.matches[0].replace(te,ie),t)||[])[0]))return i;u&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(r=X.needsContext.test(e)?0:l.length;r--&&(c=l[r],!n.relative[d=c.type]);)if((p=n.find[d])&&(o=p(c.matches[0].replace(te,ie),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(r,1),!(e=o.length&&we(l)))return P.apply(i,o),i;break}}return(u||s(e,h))(o,t,!m,i,!t||ee.test(e)&&ge(t.parentNode)||t),i},i.sortStable=y.split("").sort(L).join("")===y,i.detectDuplicates=!!p,u(
vendor: 5,738 bytes, line 2
2),i.sortDetached=de((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),i.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||pe(I,(function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),se}(e);b.find=x,b.expr=x.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=x.uniqueSort,b.text=x.getText,b.isXMLDoc=x.isXML,b.contains=x.contains,b.escapeSelector=x.escape;var $=function(e,t,i){for(var n=[],o=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&b(e).is(i))break;n.push(e)}return n},C=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},T=b.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,i){return f(t)?b.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?b.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?b.grep(e,(function(e){return-1<s.call(t,e)!==i})):b.filter(t,e,i)}b.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?b.find.matchesSelector(n,e)?[n]:[]:b.find.matches(e,b.grep(t,(function(e){return 1===e.nodeType})))},b.fn.extend({find:function(e){var t,i,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(b(e).filter((function(){for(t=0;t<n;t++)if(b.contains(o[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)b.find(e,o[t],i);return 1<n?b.uniqueSort(i):i},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&T.test(e)?b(e):e||[],!1).length}});var A,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(e,t,i){var n,o;if(!e)return this;if(i=i||A,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:E.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof b?t[0]:t,b.merge(this,b.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),L.test(n[1])&&b.isPlainObject(t))for(n in t)f(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=_.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==i.ready?i.ready(e):e(b):b.makeArray(e,this)}).prototype=b.fn,A=b(_);var M=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}b.fn.extend({has:function(e){var t=b(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(b.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,o=this.length,r=[],a="string"!=typeof e&&b(e);if(!T.test(e))for(;n<o;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&b.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(1<r.length?b.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?s.call(b(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return $(e,"parentNode")},parentsUntil:function(e,t,i){return $(e,"parentNode",i)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return $(e,"nextSibling")},prevAll:function(e){return $(e,"previousSibling")},nextUntil:function(e,t,i){return $(e,"nextSibling",i)},prevUntil:function(e,t,i){return $(e,"previousSibling",i)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},(function(e,t){b.fn[e]=function(i,n){var o=b.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=b.filter(n,o)),1<this.length&&(P[e]||b.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var j=/[^\x20\t\r\n\f]+/g;function I(e){return e}function H(e){throw e}function O(e,t,i,n){var o;try{e&&f(o=e.promise)?o.call(e).done(t).fail(i):e&&f(o=e.then)?o.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}b.Callbacks=function(e){var t,i;e="string"==typeof e?(t=e,i={},b.each(t.match(j)||[],(function(e,t){i[t]=!0})),i):b.extend({},e);var n,o,r,a,s=[],l=[],c=-1,d=function(){for(a=a||e.once,r=n=!0;l.length;c=-1)for(o=l.shift();++c<s.length;)!1===s[c].apply(o[0],o[1])&&e.stopOnFalse&&(c=s.length,o=!1);e.memory||(o=!1),n=!1,a&&(s=o?[]:"")},p={add:function(){return s&&(o&&!n&&(c=s.length-1,l.push(o)),function t(i){b.each(i,(function(i,n){f(n)?e.unique&&p.has(n)||s.push(n):n&&n.length&&"string"!==w(n)&&t(n)}))}(arguments),o&&!n&&d()),this},remove:function(){return b.each(arguments,(function(e,t){for(var i;-1<(i=b.inArray(t,s,i));)s.splice(i,1),i<=c&&c--})),this},has:function(e){return e?-1<b.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this}
vendor: 4,546 bytes, line 2
2,disable:function(){return a=l=[],s=o="",this},disabled:function(){return!s},lock:function(){return a=l=[],o||n||(s=o=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),n||d()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!r}};return p},b.extend({Deferred:function(t){var i=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return b.Deferred((function(t){b.each(i,(function(i,n){var o=f(e[n[4]])&&e[n[4]];r[n[1]]((function(){var e=o&&o.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(t,n,o){var r=0;function a(t,i,n,o){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<r)){if((e=n.apply(s,l))===i.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(c)?o?c.call(e,a(r,i,I,o),a(r,i,H,o)):(r++,c.call(e,a(r,i,I,o),a(r,i,H,o),a(r,i,I,i.notifyWith))):(n!==I&&(s=void 0,l=[e]),(o||i.resolveWith)(s,l))}},d=o?c:function(){try{c()}catch(e){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(e,d.stackTrace),r<=t+1&&(n!==H&&(s=void 0,l=[e]),i.rejectWith(s,l))}};t?d():(b.Deferred.getStackHook&&(d.stackTrace=b.Deferred.getStackHook()),e.setTimeout(d))}}return b.Deferred((function(e){i[0][3].add(a(0,e,f(o)?o:I,e.notifyWith)),i[1][3].add(a(0,e,f(t)?t:I)),i[2][3].add(a(0,e,f(n)?n:H))})).promise()},promise:function(e){return null!=e?b.extend(e,o):o}},r={};return b.each(i,(function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add((function(){n=s}),i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),a.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=a.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,i=t,n=Array(i),r=o.call(arguments),a=b.Deferred(),s=function(e){return function(i){n[e]=this,r[e]=1<arguments.length?o.call(arguments):i,--t||a.resolveWith(n,r)}};if(t<=1&&(O(e,a.done(s(i)).resolve,a.reject,!t),"pending"===a.state()||f(r[i]&&r[i].then)))return a.then();for(;i--;)O(r[i],s(i),a.reject);return a.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(t,i){e.console&&e.console.warn&&t&&q.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)},b.readyException=function(t){e.setTimeout((function(){throw t}))};var F=b.Deferred();function W(){_.removeEventListener("DOMContentLoaded",W),e.removeEventListener("load",W),b.ready()}b.fn.ready=function(e){return F.then(e).catch((function(e){b.readyException(e)})),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0)!==e&&0<--b.readyWait||F.resolveWith(_,[b])}}),b.ready.then=F.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?e.setTimeout(b.ready):(_.addEventListener("DOMContentLoaded",W),e.addEventListener("load",W));var z=function(e,t,i,n,o,r,a){var s=0,l=e.length,c=null==i;if("object"===w(i))for(s in o=!0,i)z(e,t,s,i[s],!0,r,a);else if(void 0!==n&&(o=!0,f(n)||(a=!0),c&&(a?(t.call(e,n),t=null):(c=t,t=function(e,t,i){return c.call(b(e),i)})),t))for(;s<l;s++)t(e[s],i,a?n:n.call(e[s],s,t(e[s],i)));return o?e:c?t.call(e):l?t(e[0],i):r},R=/^-ms-/,B=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function U(e){return e.replace(R,"ms-").replace(B,Y)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=b.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,o=this.cache(e);if("string"==typeof t)o[U(t)]=i;else for(n in t)o[U(n)]=t[n];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];
vendor: 4,653 bytes, line 2
2if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(U):(t=U(t))in n?[t]:t.match(j)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||b.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var K=new X,G=new X,Q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,i){var n,o;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(o=i)||"false"!==o&&("null"===o?null:o===+o+""?+o:Q.test(o)?JSON.parse(o):o)}catch(e){}G.set(e,t,i)}else i=void 0;return i}b.extend({hasData:function(e){return G.hasData(e)||K.hasData(e)},data:function(e,t,i){return G.access(e,t,i)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,i){return K.access(e,t,i)},_removeData:function(e,t){K.remove(e,t)}}),b.fn.extend({data:function(e,t){var i,n,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=G.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(i=a.length;i--;)a[i]&&0===(n=a[i].name).indexOf("data-")&&(n=U(n.slice(5)),Z(r,n,o[n]));K.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){G.set(this,e)})):z(this,(function(t){var i;if(r&&void 0===t)return void 0!==(i=G.get(r,e))||void 0!==(i=Z(r,e))?i:void 0;this.each((function(){G.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){G.remove(this,e)}))}}),b.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=K.get(e,t),i&&(!n||Array.isArray(i)?n=K.access(e,t,b.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=b.queue(e,t),n=i.length,o=i.shift(),r=b._queueHooks(e,t);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===t&&i.unshift("inprogress"),delete r.stop,o.call(e,(function(){b.dequeue(e,t)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return K.get(e,i)||K.access(e,i,{empty:b.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",i])}))})}}),b.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?b.queue(this[0],e):void 0===t?this:this.each((function(){var i=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&b.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){b.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,o=b.Deferred(),r=this,a=this.length,s=function(){--n||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=K.get(r[a],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(s));return s(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ne=_.documentElement,oe=function(e){return b.contains(e.ownerDocument,e)},re={composed:!0};ne.getRootNode&&(oe=function(e){return b.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===b.css(e,"display")};function se(e,t,i,n){var o,r,a=20,s=n?function(){return n.cur()}:function(){return b.css(e,t,"")},l=s(),c=i&&i[3]||(b.cssNumber[t]?"":"px"),d=e.nodeType&&(b.cssNumber[t]||"px"!==c&&+l)&&te.exec(b.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;a--;)b.style(e,t,d+c),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),d/=r;d*=2,b.style(e,t,d+c),i=i||[]}return i&&(d=+d||+l||0,o=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=o)),o}var le={};function ce(e,t){for(var i,n,o,r,a,s,l,c=[],d=0,p=e.length;d<p;d++)(n=e[d]).style&&(i=n.style.display,t?("none"===i&&(c[d]=K.get(n,"display")||null,c[d]||(n.style.display="")),""===n.style.display&&ae(n)&&(c[d]=(l=a=r=void 0,a=(o=n).ownerDocument,s=o.nodeName,(l=le[s])||(r=a.body.appendChild(a.createElement(s)),l=b.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),le[s]=l)))):"none"!==i&&(c[d]="none",K.set(n,"display",i)));for(d=0;d<p;d++)null!=c[d]&&(e[d].style.display=c[d]);return e}b.fn.extend({show:function(){return ce(this,!0)},hide:function(){return ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ae(this)?b(this).show():b(this).hide()}))}});var de,pe,ue=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i;de=_.createDocumentFragment().appendChild(_.createElement("div")),(pe=_.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),de.appendChild(pe),h.checkClone
vendor: 5,855 bytes, line 2
2=de.cloneNode(!0).cloneNode(!0).lastChild.checked,de.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!de.cloneNode(!0).lastChild.defaultValue,de.innerHTML="<option></option>",h.option=!!de.lastChild;var me={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 _e(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?b.merge([e],i):i}function ge(e,t){for(var i=0,n=e.length;i<n;i++)K.set(e[i],"globalEval",!t||K.get(t[i],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,h.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ve=/<|&#?\w+;/;function we(e,t,i,n,o){for(var r,a,s,l,c,d,p=t.createDocumentFragment(),u=[],h=0,f=e.length;h<f;h++)if((r=e[h])||0===r)if("object"===w(r))b.merge(u,r.nodeType?[r]:r);else if(ve.test(r)){for(a=a||p.appendChild(t.createElement("div")),s=(he.exec(r)||["",""])[1].toLowerCase(),l=me[s]||me._default,a.innerHTML=l[1]+b.htmlPrefilter(r)+l[2],d=l[0];d--;)a=a.lastChild;b.merge(u,a.childNodes),(a=p.firstChild).textContent=""}else u.push(t.createTextNode(r));for(p.textContent="",h=0;r=u[h++];)if(n&&-1<b.inArray(r,n))o&&o.push(r);else if(c=oe(r),a=_e(p.appendChild(r),"script"),c&&ge(a),i)for(d=0;r=a[d++];)fe.test(r.type||"")&&i.push(r);return p}var ye=/^([^.]*)(?:\.(.+)|)/;function be(){return!0}function ke(){return!1}function xe(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function $e(e,t,i,n,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof i&&(n=n||i,i=void 0),t)$e(e,s,i,n,t[s],r);return e}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=ke;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return b().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=b.guid++)),e.each((function(){b.event.add(this,t,o,n,i)}))}function Ce(e,t,i){i?(K.set(e,t,!1),b.event.add(e,t,{namespace:!1,handler:function(e){var n,r,a=K.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(b.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=o.call(arguments),K.set(this,t,a),n=i(this,t),this[t](),a!==(r=K.get(this,t))||n?K.set(this,t,!1):r={},a!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else a.length&&(K.set(this,t,{value:b.event.trigger(b.extend(a[0],b.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&b.event.add(e,t,be)}b.event={global:{},add:function(e,t,i,n,o){var r,a,s,l,c,d,p,u,h,f,m,_=K.get(e);if(V(e))for(i.handler&&(i=(r=i).handler,o=r.selector),o&&b.find.matchesSelector(ne,o),i.guid||(i.guid=b.guid++),(l=_.events)||(l=_.events=Object.create(null)),(a=_.handle)||(a=_.handle=function(t){return void 0!==b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(j)||[""]).length;c--;)h=m=(s=ye.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h&&(p=b.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=b.event.special[h]||{},d=b.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&b.expr.match.needsContext.test(o),namespace:f.join(".")},r),(u=l[h])||((u=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,f,a)||e.addEventListener&&e.addEventListener(h,a)),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),o?u.splice(u.delegateCount++,0,d):u.push(d),b.event.global[h]=!0)},remove:function(e,t,i,n,o){var r,a,s,l,c,d,p,u,h,f,m,_=K.hasData(e)&&K.get(e);if(_&&(l=_.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(h=m=(s=ye.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h){for(p=b.event.special[h]||{},u=l[h=(n?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=u.length;r--;)d=u[r],!o&&m!==d.origType||i&&i.guid!==d.guid||s&&!s.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(u.splice(r,1),d.selector&&u.delegateCount--,p.remove&&p.remove.call(e,d));a&&!u.length&&(p.teardown&&!1!==p.teardown.call(e,f,_.handle)||b.removeEvent(e,h,_.handle),delete l[h])}else for(h in l)b.event.remove(e,h+t[c],i,n,!0);b.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,i,n,o,r,a,s=new Array(arguments.length),l=b.event.fix(e),c=(K.get(this,"events")||Object.create(null))[l.type]||[],d=b.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(a=b.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,i=0;(r=o.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((b.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,o,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],a={},i=0;i<l;i++)void 0===a[o=(n=t[i]).selector+" "]&&(a[o]=n.needsContext?-1<b(o,this).index(c):b.find(o,this,null,[c]).length),a[o]&&r.push(n);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 2,294 bytes, line 2
2,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ue.test(t.type)&&t.click&&S(t,"input")&&Ce(t,"click",be),!1},trigger:function(e){var t=this||e;return ue.test(t.type)&&t.click&&S(t,"input")&&Ce(t,"click"),!0},_default:function(e){var t=e.target;return ue.test(t.type)&&t.click&&S(t,"input")&&K.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?be:ke,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&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=be,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=be,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=be,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.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},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},(function(e,t){b.event.special[e]={setup:function(){return Ce(this,e,xe),!1},trigger:function(){return Ce(this,e),!0},_default:function(){return!0},delegateType:t}}
vendor: 3,021 bytes, line 2
2)),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,o=e.handleObj;return n&&(n===this||b.contains(this,n))||(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}})),b.fn.extend({on:function(e,t,i,n){return $e(this,e,t,i,n)},one:function(e,t,i,n){return $e(this,e,t,i,n,1)},off:function(e,t,i){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,b(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=ke),this.each((function(){b.event.remove(this,e,i,t)}))}});var Te=/<script|<style|<link/i,Se=/checked\s*(?:[^=]|=\s*.checked.)/i,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ee(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var i,n,o,r,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(i=0,n=s[o].length;i<n;i++)b.event.add(t,o,s[o][i]);G.hasData(e)&&(r=G.access(e),a=b.extend({},r),G.set(t,a))}}function Pe(e,t,i,n){t=r(t);var o,a,s,l,c,d,p=0,u=e.length,m=u-1,_=t[0],g=f(_);if(g||1<u&&"string"==typeof _&&!h.checkClone&&Se.test(_))return e.each((function(o){var r=e.eq(o);g&&(t[0]=_.call(this,o,r.html())),Pe(r,t,i,n)}));if(u&&(a=(o=we(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=a),a||n)){for(l=(s=b.map(_e(o,"script"),Ae)).length;p<u;p++)c=o,p!==m&&(c=b.clone(c,!0,!0),l&&b.merge(s,_e(c,"script"))),i.call(e[p],c,p);if(l)for(d=s[s.length-1].ownerDocument,b.map(s,Ee),p=0;p<l;p++)c=s[p],fe.test(c.type||"")&&!K.access(c,"globalEval")&&b.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?b._evalUrl&&!c.noModule&&b._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):v(c.textContent.replace(Le,""),c,d))}return e}function Ne(e,t,i){for(var n,o=t?b.filter(t,e):e,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||b.cleanData(_e(n)),n.parentNode&&(i&&oe(n)&&ge(_e(n,"script")),n.parentNode.removeChild(n));return e}b.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,o,r,a,s,l,c,d=e.cloneNode(!0),p=oe(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(a=_e(d),n=0,o=(r=_e(e)).length;n<o;n++)s=r[n],"input"===(c=(l=a[n]).nodeName.toLowerCase())&&ue.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(i)for(r=r||_e(e),a=a||_e(d),n=0,o=r.length;n<o;n++)Me(r[n],a[n]);else Me(e,d);return 0<(a=_e(d,"script")).length&&ge(a,!p&&_e(e,"script")),d},cleanData:function(e){for(var t,i,n,o=b.event.special,r=0;void 0!==(i=e[r]);
vendor: 6,609 bytes, line 2
2r++)if(V(i)){if(t=i[K.expando]){if(t.events)for(n in t.events)o[n]?b.event.remove(i,n):b.removeEvent(i,n,t.handle);i[K.expando]=void 0}i[G.expando]&&(i[G.expando]=void 0)}}}),b.fn.extend({detach:function(e){return Ne(this,e,!0)},remove:function(e){return Ne(this,e)},text:function(e){return z(this,(function(e){return void 0===e?b.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 Pe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return Pe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Pe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Pe(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&&(b.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return b.clone(this,e,t)}))},html:function(e){return z(this,(function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!me[(he.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(b.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Pe(this,arguments,(function(t){var i=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(_e(this)),i&&i.replaceChild(t,this))}),e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){b.fn[e]=function(e){for(var i,n=[],o=b(e),r=o.length-1,s=0;s<=r;s++)i=s===r?this:this.clone(!0),b(o[s])[t](i),a.apply(n,i.get());return this.pushStack(n)}}));var je=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},He=function(e,t,i){var n,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in n=i.call(e),t)e.style[o]=r[o];return n},Oe=new RegExp(ie.join("|"),"i");function qe(e,t,i){var n,o,r,a,s=e.style;return(i=i||Ie(e))&&(""!==(a=i.getPropertyValue(t)||i[t])||oe(e)||(a=b.style(e,t)),!h.pixelBoxStyles()&&je.test(a)&&Oe.test(t)&&(n=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=i.width,s.width=n,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ne.appendChild(c).appendChild(d);var t=e.getComputedStyle(d);n="1%"!==t.top,l=12===i(t.marginLeft),d.style.right="60%",a=36===i(t.right),o=36===i(t.width),d.style.position="absolute",r=12===i(d.offsetWidth/3),ne.removeChild(c),d=null}}function i(e){return Math.round(parseFloat(e))}var n,o,r,a,s,l,c=_.createElement("div"),d=_.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===d.style.backgroundClip,b.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,i,n,o;return null==s&&(t=_.createElement("table"),i=_.createElement("tr"),n=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",i.style.cssText="border:1px solid",i.style.height="1px",n.style.height="9px",n.style.display="block",ne.appendChild(t).appendChild(i).appendChild(n),o=e.getComputedStyle(i),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===i.offsetHeight,ne.removeChild(t)),s}}))}();var We=["Webkit","Moz","ms"],ze=_.createElement("div").style,Re={};function Be(e){return b.cssProps[e]||Re[e]||(e in ze?e:Re[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=We.length;i--;)if((e=We[i]+t)in ze)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Ue=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function Ke(e,t,i){var n=te.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Ge(e,t,i,n,o,r){var a="width"===t?1:0,s=0,l=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(l+=b.css(e,i+ie[a],!0,o)),n?("content"===i&&(l-=b.css(e,"padding"+ie[a],!0,o)),"margin"!==i&&(l-=b.css(e,"border"+ie[a]+"Width",!0,o))):(l+=b.css(e,"padding"+ie[a],!0,o),"padding"!==i?l+=b.css(e,"border"+ie[a]+"Width",!0,o):s+=b.css(e,"border"+ie[a]+"Width",!0,o));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l}function Qe(e,t,i){var n=Ie(e),o=(!h.boxSizingReliable()||i)&&"border-box"===b.css(e,"boxSizing",!1,n),r=o,a=qe(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(je.test(a)){if(!i)return a;a="auto"}return(!h.boxSizingReliable()&&o||!h.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===b.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===b.css(e,"boxSizing",!1,n),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ge(e,t,i||(o?"border":"content"),r,n,a)+"px"}function Je(e,t,i,n,o){return new Je.prototype.init(e,t,i,n,o)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=qe(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=U(t),l=Ue.test(t),c=e.style;if(l||(t=Be(s)),a=b.cssHooks[t]||b.cssHooks[s],void 0===i)return a&&"get"in a&&void 0!==(o=a.get(e,!1,n))?o:c[t];"string"==(r=typeof i)&&(o=te.exec(i))&&o[1]&&(i=se(e,t,o),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=o&&o[3]||(b.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==i||
vendor: 5,742 bytes, line 2
20!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var o,r,a,s=U(t);return Ue.test(t)||(t=Be(s)),(a=b.cssHooks[t]||b.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,i)),void 0===o&&(o=qe(e,t,n)),"normal"===o&&t in Xe&&(o=Xe[t]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),b.each(["height","width"],(function(e,t){b.cssHooks[t]={get:function(e,i,n){if(i)return!Ye.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Qe(e,t,n):He(e,Ve,(function(){return Qe(e,t,n)}))},set:function(e,i,n){var o,r=Ie(e),a=!h.scrollboxSize()&&"absolute"===r.position,s=(a||n)&&"border-box"===b.css(e,"boxSizing",!1,r),l=n?Ge(e,t,n,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-Ge(e,t,"border",!1,r)-.5)),l&&(o=te.exec(i))&&"px"!==(o[3]||"px")&&(e.style[t]=i,i=b.css(e,t)),Ke(0,i,l)}}})),b.cssHooks.marginLeft=Fe(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(e,t){b.cssHooks[e+t]={expand:function(i){for(var n=0,o={},r="string"==typeof i?i.split(" "):[i];n<4;n++)o[e+ie[n]+t]=r[n]||r[n-2]||r[0];return o}},"margin"!==e&&(b.cssHooks[e+t].set=Ke)})),b.fn.extend({css:function(e,t){return z(this,(function(e,t,i){var n,o,r={},a=0;if(Array.isArray(t)){for(n=Ie(e),o=t.length;a<o;a++)r[t[a]]=b.css(e,t[a],!1,n);return r}return void 0!==i?b.style(e,t,i):b.css(e,t)}),e,t,1<arguments.length)}}),((b.Tween=Je).prototype={constructor:Je,init:function(e,t,i,n,o,r){this.elem=e,this.prop=i,this.easing=o||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(b.cssNumber[i]?"":"px")},cur:function(){var e=Je.propHooks[this.prop];return e&&e.get?e.get(this):Je.propHooks._default.get(this)},run:function(e){var t,i=Je.propHooks[this.prop];return this.options.duration?this.pos=t=b.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),i&&i.set?i.set(this):Je.propHooks._default.set(this),this}}).init.prototype=Je.prototype,(Je.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=b.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||!b.cssHooks[e.prop]&&null==e.elem.style[Be(e.prop)]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Je.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=Je.prototype.init,b.fx.step={};var Ze,et,tt,it,nt=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function rt(){et&&(!1===_.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(rt):e.setTimeout(rt,b.fx.interval),b.fx.tick())}function at(){return e.setTimeout((function(){Ze=void 0})),Ze=Date.now()}function st(e,t){var i,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(i=ie[n])]=o["padding"+i]=e;return t&&(o.opacity=o.width=e),o}function lt(e,t,i){for(var n,o=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),r=0,a=o.length;r<a;r++)if(n=o[r].call(i,t,e))return n}function ct(e,t,i){var n,o,r=0,a=ct.prefilters.length,s=b.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=Ze||at(),i=Math.max(0,c.startTime+c.duration-t),n=1-(i/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(n);return s.notifyWith(e,[c,n,i]),n<1&&a?i:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},i),originalProperties:t,originalOptions:i,startTime:Ze||at(),duration:i.duration,tweens:[],createTween:function(t,i){var n=b.Tween(e,c.opts,t,i,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var i=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)c.tweens[i].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),d=c.props;for(function(e,t){var i,n,o,r,a;for(i in e)if(o=t[n=U(i)],r=e[i],Array.isArray(r)&&(o=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(a=b.cssHooks[n])&&"expand"in a)for(i in r=a.expand(r),delete e[n],r)i in e||(e[i]=r[i],t[i]=o);else t[n]=o}(d,c.opts.specialEasing);r<a;r++)if(n=ct.prefilters[r].call(c,e,d,c.opts))return f(n.stop)&&(b._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return b.map(d,lt,c),f(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),b.fx.timer(b.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}b.Animation=b.extend(ct,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return se(i.elem,e,te.exec(t),i),i}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(j);for(var i,n=0,o=e.length;n<o;n++)i=e[n],ct.tweeners[i]=ct.tweeners[i]||[],ct.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,o,r,a,s,l,c,d,p="width"in t||"height"in t,u=this,h={},f=e.style,m=e.nodeType&&ae(e),_=K.get(e,"fxshow");for(n in i.queue||(null==(a=b._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,u.always((function(){u.always((function(){a.unqueued--,b.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[n],nt.test(o)){if(delete t[n],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 14,038 bytes, line 2
2!_||void 0===_[n])continue;m=!0}h[n]=_&&_[n]||b.style(e,n)}if((l=!b.isEmptyObject(t))||!b.isEmptyObject(h))for(n in p&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=_&&_.display)&&(c=K.get(e,"display")),"none"===(d=b.css(e,"display"))&&(c?d=c:(ce([e],!0),c=e.style.display||c,d=b.css(e,"display"),ce([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===b.css(e,"float")&&(l||(u.done((function(){f.display=c})),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,h)l||(_?"hidden"in _&&(m=_.hidden):_=K.access(e,"fxshow",{display:c}),r&&(_.hidden=!m),m&&ce([e],!0),u.done((function(){for(n in m||ce([e]),K.remove(e,"fxshow"),h)b.style(e,n,h[n])}))),l=lt(m?_[n]:0,n,u),n in _||(_[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),b.speed=function(e,t,i){var n=e&&"object"==typeof e?b.extend({},e):{complete:i||!i&&t||f(e)&&e,duration:e,easing:i&&t||t&&!f(t)&&t};return b.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in b.fx.speeds?n.duration=b.fx.speeds[n.duration]:n.duration=b.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){f(n.old)&&n.old.call(this),n.queue&&b.dequeue(this,n.queue)},n},b.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var o=b.isEmptyObject(e),r=b.speed(t,i,n),a=function(){var t=ct(this,b.extend({},e),r);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",r=b.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&ot.test(o)&&n(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(i),t=!1,r.splice(o,1));!t&&i||b.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,i=K.get(this),n=i[e+"queue"],o=i[e+"queueHooks"],r=b.timers,a=n?n.length:0;for(i.finish=!0,b.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish}))}}),b.each(["toggle","show","hide"],(function(e,t){var i=b.fn[t];b.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(st(t,!0),e,n,o)}})),b.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){b.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),b.timers=[],b.fx.tick=function(){var e,t=0,i=b.timers;for(Ze=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||b.fx.stop(),Ze=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){et||(et=!0,rt())},b.fx.stop=function(){et=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(t,i){return t=b.fx&&b.fx.speeds[t]||t,i=i||"fx",this.queue(i,(function(i,n){var o=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(o)}}))},tt=_.createElement("input"),it=_.createElement("select").appendChild(_.createElement("option")),tt.type="checkbox",h.checkOn=""!==tt.value,h.optSelected=it.selected,(tt=_.createElement("input")).value="t",tt.type="radio",h.radioValue="t"===tt.value;var dt,pt=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return z(this,b.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){b.removeAttr(this,e)}))}}),b.extend({attr:function(e,t,i){var n,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?b.prop(e,t,i):(1===r&&b.isXMLDoc(e)||(o=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?dt:void 0)),void 0!==i?null===i?void b.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,i,t))?n:(e.setAttribute(t,i+""),i):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=b.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&S(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,o=t&&t.match(j);if(o&&1===e.nodeType)for(;i=o[n++];)e.removeAttribute(i)}}),dt={set:function(e,t,i){return!1===t?b.removeAttr(e,i):e.setAttribute(i,i),i}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(e,t){var i=pt[t]||b.find.attr;pt[t]=function(e,t,n){var o,r,a=t.toLowerCase();return n||(r=pt[a],pt[a]=o,o=null!=i(e,t,n)?a:null,pt[a]=r),o}}));var ut=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function ft(e){return(e.match(j)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}b.fn.extend({prop:function(e,t){return z(this,b.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[b.propFix[e]||e]}))}}),b.extend({prop:function(e,t,i){var n,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&b.isXMLDoc(e)||(t=b.propFix[t]||t,o=b.propHooks[t]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(e,i,t))?n:e[t]=i:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):ut.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(b.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)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(e){var t,i,n,o,r,a,s,l=0;if(f(e))return this.each((function(t){b(this).addClass(e.call(this,t,mt(this)))}));if((t=_t(e)).length)for(;i=this[l++];)if(o=mt(i),n=1===i.nodeType&&" "+ft(o)+" "){for(a=0;r=t[a++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o!==(s=ft(n))&&i.setAttribute("class",s)}return this},removeClass:function(e){var t,i,n,o,r,a,s,l=0;if(f(e))return this.each((function(t){b(this).removeClass(e.call(this,t,mt(this)))}));if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;i=this[l++];)if(o=mt(i),n=1===i.nodeType&&" "+ft(o)+" "){for(a=0;r=t[a++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");o!==(s=ft(n))&&i.setAttribute("class",s)}return this},toggleClass:function(e,t){var i=typeof e,n="string"===i||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):f(e)?this.each((function(i){b(this).toggleClass(e.call(this,i,mt(this),t),t)})):this.each((function(){var t,o,r,a;if(n)for(o=0,r=b(this),a=_t(e);t=a[o++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==i||((t=mt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+ft(mt(i))+" ").indexOf(t))return!0;return!1}});var gt=/\r/g;b.fn.extend({val:function(e){var t,i,n,o=this[0];return arguments.length?(n=f(e),this.each((function(i){var o;1===this.nodeType&&(null==(o=n?e.call(this,i,b(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=b.map(o,(function(e){return null==e?"":e+""}))),(t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(gt,""):null==i?"":i:void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:ft(b.text(e))}},select:{get:function(e){var t,i,n,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(n=r<0?l:a?r:0;n<l;n++)if(((i=o[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!S(i.parentNode,"optgroup"))){if(t=b(i).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var i,n,o=e.options,r=b.makeArray(t),a=o.length;a--;)((n=o[a]).selected=-1<b.inArray(b.valHooks.option.get(n),r))&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<b.inArray(b(e).val(),t)}},h.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.focusin="onfocusin"in e;var vt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(t,i,n,o){var r,a,s,l,c,p,u,h,g=[n||_],v=d.call(t,"type")?t.type:t,w=d.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!vt.test(v+b.event.triggered)&&(-1<v.indexOf(".")&&(v=(w=v.split(".")).shift(),w.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[b.expando]?t:new b.Event(v,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=w.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:b.makeArray(i,[t]),u=b.event.special[v]||{},o||!u.trigger||!1!==u.trigger.apply(n,i))){if(!o&&!u.noBubble&&!m(n)){for(l=u.delegateType||v,vt.test(l+v)||(a=a.parentNode);a;a=a.parentNode)g.push(a),s=a;s===(n.ownerDocument||_)&&g.push(s.defaultView||s.parentWindow||e)}for(r=0;(a=g[r++])&&!t.isPropagationStopped();)h=a,t.type=1<r?l:u.bindType||v,(p=(K.get(a,"events")||Object.create(null))[t.type]&&K.get(a,"handle"))&&p.apply(a,i),(p=c&&a[c])&&p.apply&&V(a)&&(t.result=p.apply(a,i),!1===t.result&&t.preventDefault());return t.type=v,o||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(g.pop(),i)||!V(n)||c&&f(n[v])&&!m(n)&&((s=n[c])&&(n[c]=null),b.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,wt),n[v](),t.isPropagationStopped()&&h.removeEventListener(v,wt),b.event.triggered=void 0,s&&(n[c]=s)),t.result}},simulate:function(e,t,i){var n=b.extend(new b.Event,i,{type:e,isSimulated:!0});b.event.trigger(n,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each((function(){b.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var i=this[0];if(i)return b.event.trigger(e,t,i,!0)}}),h.focusin||b.each({focus:"focusin",blur:"focusout"},(function(e,t){var i=function(e){b.event.simulate(t,e.target,b.event.fix(e))};b.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,o=K.access(n,t);o||n.addEventListener(e,i,!0),K.access(n,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=K.access(n,t)-1;o?K.access(n,t,o):(n.removeEventListener(e,i,!0),K.remove(n,t))}}}));var yt=e.location,bt={guid:Date.now()},kt=/\?/;b.parseXML=function(t){var i,n;if(!t||"string"!=typeof t)return null;try{i=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=i&&i.getElementsByTagName("parsererror")[0],i&&!n||b.error("Invalid XML: "+(n?b.map(n.childNodes,(function(e){return e.textContent})).join("\n"):t)),i};var xt=/\[\]$/,$t=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;function St(e,t,i,n){var o;if(Array.isArray(t))b.each(t,(function(t,o){i||xt.test(e)?n(e,o):St(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,i,n)}));else if(i||"object"!==w(t))n(e,t);else for(o in t)St(e+"["+o+"]",t[o],i,n)}b.param=function(e,t){var i,n=[],o=function(e,t){var i=f(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,(function(){o(this.name,this.value)}));else for(i in e)St(i,e[i],t,o);return n.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&Tt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!ue.test(e))})).map((function(e,t){var i=b(this).val();return null==i?null:Array.isArray(i)?b.map(i,(function(e){return{name:t.name,value:e.replace($t,"\r\n")}})):{name:t.name,value:i.replace($t,"\r\n")}})).get()}});var Lt=/%20/g,Dt=/#.*$/,At=/([?&])_=[^&]*/,Et=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Nt={},jt={},It="*/".concat("*"),Ht=_.createElement("a");function Ot(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,o=0,r=t.toLowerCase().match(j)||[];if(f(i))for(;n=r[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function qt(e,t,i,n){var o={},r=e===jt;function a(s){var l;return o[s]=!0,b.each(e[s]||[],(function(e,s){var c=s(t,i,n);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Ft(e,t){var i,n,o=b.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((o[i]?e:n||(n={}))[i]=t[i]);return n&&b.extend(!0,e,n),e}Ht.href=yt.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(yt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML}
vendor: 6,168 bytes, line 2
2,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,b.ajaxSettings),t):Ft(b.ajaxSettings,e)},ajaxPrefilter:Ot(Nt),ajaxTransport:Ot(jt),ajax:function(t,i){"object"==typeof t&&(i=t,t=void 0),i=i||{};var n,o,r,a,s,l,c,d,p,u,h=b.ajaxSetup({},i),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?b(f):b.event,g=b.Deferred(),v=b.Callbacks("once memory"),w=h.statusCode||{},y={},k={},x="canceled",$={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Et.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(e,t){return null==c&&(e=k[e.toLowerCase()]=k[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)$.always(e[$.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),C(0,t),this}};if(g.promise($),h.url=((t||h.url||yt.href)+"").replace(Pt,yt.protocol+"//"),h.type=i.method||i.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(j)||[""],null==h.crossDomain){l=_.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=l.protocol+"//"+l.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=b.param(h.data,h.traditional)),qt(Nt,h,i,$),c)return $;for(p in(d=b.event&&h.global)&&0==b.active++&&b.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Dt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Lt,"+")):(u=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(At,"$1"),u=(kt.test(o)?"&":"?")+"_="+bt.guid+++u),h.url=o+u),h.ifModified&&(b.lastModified[o]&&$.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&$.setRequestHeader("If-None-Match",b.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||i.contentType)&&$.setRequestHeader("Content-Type",h.contentType),$.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]),h.headers)$.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,$,h)||c))return $.abort();if(x="abort",v.add(h.complete),$.done(h.success),$.fail(h.error),n=qt(jt,h,i,$)){if($.readyState=1,d&&m.trigger("ajaxSend",[$,h]),c)return $;h.async&&0<h.timeout&&(s=e.setTimeout((function(){$.abort("timeout")}),h.timeout));try{c=!1,n.send(y,C)}catch(t){if(c)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,i,a,l){var p,u,_,y,k,x=i;c||(c=!0,s&&e.clearTimeout(s),n=void 0,r=l||"",$.readyState=0<t?4:0,p=200<=t&&t<300||304===t,a&&(y=function(e,t,i){for(var n,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),i[r]}(h,$,a)),!p&&-1<b.inArray("script",h.dataTypes)&&b.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),y=function(e,t,i,n){var o,r,a,s,l,c={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],d.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 "+l+" to "+r}}}return{state:"success",data:t}}(h,y,$,p),p?(h.ifModified&&((k=$.getResponseHeader("Last-Modified"))&&(b.lastModified[o]=k),(k=$.getResponseHeader("etag"))&&(b.etag[o]=k)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=y.state,u=y.data,p=!(_=y.error))):(_=x,!t&&x||(x="error",t<0&&(t=0))),$.status=t,$.statusText=(i||x)+"",p?g.resolveWith(f,[u,x,$]):g.rejectWith(f,[$,x,_]),$.statusCode(w),w=void 0,d&&m.trigger(p?"ajaxSuccess":"ajaxError",[$,h,p?u:_]),v.fireWith(f,[$,x]),d&&(m.trigger("ajaxComplete",[$,h]),--b.active||b.event.trigger("ajaxStop")))}return $},getJSON:function(e,t,i){return b.get(e,t,i,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],(function(e,t){b[t]=function(e,i,n,o){return f(i)&&(o=o||n,n=i,i=void 0),b.ajax(b.extend({url:e,type:t,dataType:o,data:i,success:n},b.isPlainObject(e)&&e))}})),b.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),b._evalUrl=function(e,t,i){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){b.globalEval(e,t,i)}})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=b(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 f(e)?this.each((function(t){b(this).wrapInner(e.call(this,t))})):this.each((function(){var t=b(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(i){b(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},zt=b.ajaxSettings.xhr();
vendor: 8,936 bytes, line 2
2h.cors=!!zt&&"withCredentials"in zt,h.ajax=zt=!!zt,b.ajaxTransport((function(t){var i,n;if(h.cors||zt&&!t.crossDomain)return{send:function(o,r){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);i=function(e){return function(){i&&(i=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=i(),n=s.onerror=s.ontimeout=i("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){i&&n()}))},i=i("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(i)throw o}},abort:function(){i&&i()}}})),b.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),b.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 b.globalEval(e),e}}}),b.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),b.ajaxTransport("script",(function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=b("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&o("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){i&&i()}}}));var Rt,Bt=[],Yt=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||b.expando+"_"+bt.guid++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",(function(t,i,n){var o,r,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+o):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||b.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){a=arguments},n.always((function(){void 0===r?b(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=i.jsonpCallback,Bt.push(o)),a&&f(r)&&r(a[0]),a=r=void 0})),"script"})),h.createHTMLDocument=((Rt=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Rt.childNodes.length),b.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(h.createHTMLDocument?((n=(t=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,t.head.appendChild(n)):t=_),r=!i&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=we([e],t,r),r&&r.length&&b(r).remove(),b.merge([],o.childNodes)));var n,o,r},b.fn.load=function(e,t,i){var n,o,r,a=this,s=e.indexOf(" ");return-1<s&&(n=ft(e.slice(s)),e=e.slice(0,s)),f(t)?(i=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&b.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){r=arguments,a.html(n?b("<div>").append(b.parseHTML(e)).find(n):e)})).always(i&&function(e,t){a.each((function(){i.apply(this,r||[e.responseText,t,e])}))}),this},b.expr.pseudos.animated=function(e){return b.grep(b.timers,(function(t){return e===t.elem})).length},b.offset={setOffset:function(e,t,i){var n,o,r,a,s,l,c=b.css(e,"position"),d=b(e),p={};"static"===c&&(e.style.position="relative"),s=d.offset(),r=b.css(e,"top"),l=b.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(a=(n=d.position()).top,o=n.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),f(t)&&(t=t.call(e,i,b.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):d.css(p)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){b.offset.setOffset(this,e,t)}));var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],o={top:0,left:0};if("fixed"===b.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),o.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-b.css(n,"marginTop",!0),left:t.left-o.left-b.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||ne}))}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var i="pageYOffset"===t;b.fn[e]=function(n){return z(this,(function(e,n,o){var r;if(m(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[n];r?r.scrollTo(i?r.pageXOffset:o,i?o:r.pageYOffset):e[n]=o}),e,n,arguments.length)}})),b.each(["top","left"],(function(e,t){b.cssHooks[t]=Fe(h.pixelPosition,(function(e,i){if(i)return i=qe(e,t),je.test(i)?b(e).position()[t]+"px":i}))})),b.each({Height:"height",Width:"width"},(function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},(function(i,n){b.fn[n]=function(o,r){var a=arguments.length&&(i||"boolean"!=typeof o),s=i||(!0===o||!0===r?"margin":"border");return z(this,(function(t,i,o){var r;return m(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?b.css(t,i,s):b.style(t,i,o,s)}),t,a?o:void 0,a)}}))})),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){b.fn[t]=function(e){return this.on(t,e)}})),b.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.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){b.fn[t]=function(e,i){return 0<arguments.length?this.on(t,null,e,i):this.trigger(t)}}));var Ut=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;b.proxy=function(e,t){var i,n,r;if("string"==typeof t&&(i=e[t],t=e,e=i),f(e))return n=o.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(o.call(arguments)))}).guid=e.guid=e.guid||b.guid++,r},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=S,b.isFunction=f,b.isWindow=m,b.camelCase=U,b.type=w,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},b.trim=function(e){return null==e?"":(e+"").replace(Ut,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return b}));var Vt=e.jQuery,Xt=e.$;return b.noConflict=function(t){return e.$===b&&(e.$=Xt),t&&e.jQuery===b&&(e.jQuery=Vt),b},void 0===t&&(e.jQuery=e.$=b),b})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){e.ui=e.ui||{};e.ui.version="1.12.1",e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(i){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.ui.escapeSelector=(t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(t,"\\$1")});var t,i,n=0,o=Array.prototype.slice;e.cleanData=(i=e.cleanData,function(t){var n,o,r;for(r=0;null!=(o=t[r]);r++)try{(n=e._data(o,"events"))&&n.remove&&e(o).triggerHandler("remove")}catch(e){}i(t)}),e.widget=function(t,i,n){var o,r,a,s={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},o=e[l][t],r=e[l][t]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},e.extend(r,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(a=new i).options=e.widget.extend({}
vendor: 20,151 bytes, line 2
2,a.options),e.each(n,(function(t,n){e.isFunction(n)?s[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=e,this._superApply=o,t=n.apply(this,arguments),this._super=i,this._superApply=r,t}}():s[t]=n})),r.prototype=e.widget.extend(a,{widgetEventPrefix:o&&a.widgetEventPrefix||t},s,{constructor:r,namespace:l,widgetName:t,widgetFullName:c}),o?(e.each(o._childConstructors,(function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,r,i._proto)})),delete o._childConstructors):i._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var i,n,r=o.call(arguments,1),a=0,s=r.length;a<s;a++)for(i in r[a])n=r[a][i],r[a].hasOwnProperty(i)&&void 0!==n&&(e.isPlainObject(n)?t[i]=e.isPlainObject(t[i])?e.widget.extend({},t[i],n):e.widget.extend({},n):t[i]=n);return t},e.widget.bridge=function(t,i){var n=i.prototype.widgetFullName||t;e.fn[t]=function(r){var a="string"==typeof r,s=o.call(arguments,1),l=this;return a?this.length||"instance"!==r?this.each((function(){var i,o=e.data(this,n);return"instance"===r?(l=o,!1):o?e.isFunction(o[r])&&"_"!==r.charAt(0)?(i=o[r].apply(o,s))!==o&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("no such method '"+r+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")})):l=void 0:(s.length&&(r=e.widget.extend.apply(null,[r].concat(s))),this.each((function(){var t=e.data(this,n);t?(t.option(r||{}),t._init&&t._init()):e.data(this,n,new i(r,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,i){t._removeClass(i,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,o,r,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},n=t.split("."),t=n.shift(),n.length){for(o=a[t]=e.widget.extend({},this.options[t]),r=0;r<n.length-1;r++)o[n[r]]=o[n[r]]||{},o=o[n[r]];if(t=n.pop(),1===arguments.length)return void 0===o[t]?null:o[t];o[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=i}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,o;for(i in t)o=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&o&&o.length&&(n=e(o.get()),this._removeClass(o,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],n=this;function o(o,r){var a,s;for(s=0;s<o.length;s++)a=n.classesElementLookup[o[s]]||e(),a=t.add?e(e.unique(a.get().concat(t.element.get()))):e(a.not(t.element).get()),n.classesElementLookup[o[s]]=a,i.push(o[s]),r&&t.classes[o[s]]&&i.push(t.classes[o[s]])}return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&o(t.keys.match(/\S+/g)||[],!0),t.extra&&o(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,(function(n,o){-1!==e.inArray(t.target,o)&&(i.classesElementLookup[n]=e(o.not(t.target).get()))}))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var o="string"==typeof e||null===e,r={extra:o?t:i,keys:o?e:t,element:o?this.element:e,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(t,i,n){var o,r=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=o=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,o=this.widget()),e.each(n,(function(n,a){function s(){if(t||!0!==r.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof a?r[a]:a).apply(r,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+r.eventNamespace,d=l[2];d?o.on(c,d,s):i.on(c,s)}))},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i).off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout((function(){return("string"==typeof e?i[e]:e).apply(i,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var o,r,a=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(o in r)o in i||(i[o]=r[o]);return this.element.trigger(i,n),!(e.isFunction(a)&&!1===a.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,i){e.Widget.prototype["_"+t]=function(n,o,r){var a;"string"==typeof o&&(o={effect:o});var s=o?!0===o||"number"==typeof o?i:o.effect||i:t;"number"==typeof(o=o||{})&&(o={duration:o}),a=!e.isEmptyObject(o),o.complete=r,o.delay&&n.delay(o.delay),a&&e.effects&&e.effects.effect[s]?n[t](o):s!==t&&n[s]?n[s](o.duration,o.easing,r):n.queue((function(i){e(this)[t](),r&&r.call(n[0]),i()}))}}));var r;e.widget,e.fn.extend({uniqueId:(r=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++r)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")}))}});!function(){var t,i=Math.max,n=Math.abs,o=/left|center|right/,r=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,c=e.fn.position;function d(e,t,i){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?i/100:1)]}function p(t,i){return parseInt(e.css(t,i),10)||0}e.position={scrollbarWidth:function(){if(void 0!==t)return t;var i,n,o=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=o.children()[0];return e("body").append(o),i=r.offsetWidth,o.css("overflow","scroll"),i===(n=r.offsetWidth)&&(n=o[0].clientWidth),o.remove(),t=i-n},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),n=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),o="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:o?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),n=e.isWindow(i[0]),o=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:o,offset:!n&&!o?e(t).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);t=e.extend({},t);var l,u,h,f,m,_,g,v,w=e(t.of),y=e.position.getWithinInfo(t.within),b=e.position.getScrollInfo(y),k=(t.collision||"flip").split(" "),x={};return _=9===(v=(g=w)[0]).nodeType?{width:g.width(),height:g.height(),offset:{top:0,left:0}}:e.isWindow(v)?{width:g.width(),height:g.height(),offset:{top:g.scrollTop(),left:g.scrollLeft()}}:v.preventDefault?{width:0,height:0,offset:{top:v.pageY,left:v.pageX}}:{width:g.outerWidth(),height:g.outerHeight(),offset:g.offset()},w[0].preventDefault&&(t.at="left top"),u=_.width,h=_.height,f=_.offset,m=e.extend({},f),e.each(["my","at"],(function(){var e,i,n=(t[this]||"").split(" ");1===n.length&&(n=o.test(n[0])?n.concat(["center"]):r.test(n[0])?["center"].concat(n):["center","center"]),n[0]=o.test(n[0])?n[0]:"center",n[1]=r.test(n[1])?n[1]:"center",e=a.exec(n[0]),i=a.exec(n[1]),x[this]=[e?e[0]:0,i?i[0]:0],t[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]})),1===k.length&&(k[1]=k[0]),"right"===t.at[0]?m.left+=u:"center"===t.at[0]&&(m.left+=u/2),"bottom"===t.at[1]?m.top+=h:"center"===t.at[1]&&(m.top+=h/2),l=d(x.at,u,h),m.left+=l[0],m.top+=l[1],this.each((function(){var o,r,a=e(this),s=a.outerWidth(),c=a.outerHeight(),_=p(this,"marginLeft"),g=p(this,"marginTop"),v=s+_+p(this,"marginRight")+b.width,$=c+g+p(this,"marginBottom")+b.height,C=e.extend({},m),T=d(x.my,a.outerWidth(),a.outerHeight());"right"===t.my[0]?C.left-=s:"center"===t.my[0]&&(C.left-=s/2),"bottom"===t.my[1]?C.top-=c:"center"===t.my[1]&&(C.top-=c/2),C.left+=T[0],C.top+=T[1],o={marginLeft:_,marginTop:g},e.each(["left","top"],(function(i,n){e.ui.position[k[i]]&&e.ui.position[k[i]][n](C,{targetWidth:u,targetHeight:h,elemWidth:s,elemHeight:c,collisionPosition:o,collisionWidth:v,collisionHeight:$,offset:[l[0]+T[0],l[1]+T[1]],my:t.my,at:t.at,within:y,elem:a})})),t.using&&(r=function(e){var o=f.left-C.left,r=o+u-s,l=f.top-C.top,d=l+h-c,p={target:{element:w,left:f.left,top:f.top,width:u,height:h},element:{element:a,left:C.left,top:C.top,width:s,height:c},horizontal:r<0?"left":o>0?"right":"center",vertical:d<0?"top":l>0?"bottom":"middle"};u<s&&n(o+r)<u&&(p.horizontal="center"),h<c&&n(l+d)<h&&(p.vertical="middle"),i(n(o),n(r))>i(n(l),n(d))?p.important="horizontal":p.important="vertical",t.using.call(this,e,p)}),a.offset(e.extend(C,{using:r}))}))},e.ui.position={fit:{left:function(e,t){var n,o=t.within,r=o.isWindow?o.scrollLeft:o.offset.left,a=o.width,s=e.left-t.collisionPosition.marginLeft,l=r-s,c=s+t.collisionWidth-a-r;t.collisionWidth>a?l>0&&c<=0?(n=e.left+l+t.collisionWidth-a-r,e.left+=l-n):e.left=c>0&&l<=0?r:l>c?r+a-t.collisionWidth:r:l>0?e.left+=l:c>0?e.left-=c:e.left=i(e.left-s,e.left)},top:function(e,t){var n,o=t.within,r=o.isWindow?o.scrollTop:o.offset.top,a=t.within.height,s=e.top-t.collisionPosition.marginTop,l=r-s,c=s+t.collisionHeight-a-r;t.collisionHeight>a?l>0&&c<=0?(n=e.top+l+t.collisionHeight-a-r,e.top+=l-n):e.top=c>0&&l<=0?r:l>c?r+a-t.collisionHeight:r:l>0?e.top+=l:c>0?e.top-=c:e.top=i(e.top-s,e.top)}},flip:{left:function(e,t){var i,o,r=t.within,a=r.offset.left+r.scrollLeft,s=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,c=e.left-t.collisionPosition.marginLeft,d=c-l,p=c+t.collisionWidth-s-l,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,h="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];d<0?((i=e.left+u+h+f+t.collisionWidth-s-a)<0||i<n(d))&&(e.left+=u+h+f):p>0&&((o=e.left-t.collisionPosition.marginLeft+u+h+f-l)>0||n(o)<p)&&(e.left+=u+h+f)},top:function(e,t){var i,o,r=t.within,a=r.offset.top+r.scrollTop,s=r.height,l=r.isWindow?r.scrollTop:r.offset.top,c=e.top-t.collisionPosition.marginTop,d=c-l,p=c+t.collisionHeight-s-l,u="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,h="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,f=-2*t.offset[1];d<0?((o=e.top+u+h+f+t.collisionHeight-s-a)<0||o<n(d))&&(e.top+=u+h+f):p>0&&((i=e.top-t.collisionPosition.marginTop+u+h+f-l)>0||n(i)<p)&&(e.top+=u+h+f)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}();e.ui.position,e.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",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().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(t){var i=e(t.target),n=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){if(!this.previousFilter){var i=e(t.target).closest(".ui-menu-item"),n=e(t.currentTarget);i[0]===n[0]&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,n))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(t){this._delay((function(){!e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]))&&this.collapseAll(t)}))},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each((function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()}))},_keydown:function(t){var i,n,o,r,a=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:a=!1,n=this.previousFilter||"",r=!1,o=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),o===n?r=!0:o=n+o,i=this._filterMenuItems(o),(i=r&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(o=String.fromCharCode(t.keyCode),i=this._filterMenuItems(o)),i.length?(this.focus(t,i),this.previousFilter=o,this.filterTimer=this._delay((function(){delete this.previousFilter}),1e3)):delete this.previousFilter}a&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,i,n,o,r=this,a=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each((function(){var t=e(this),i=t.prev(),n=e("<span>").data("ui-menu-submenu-caret",!0);r._addClass(n,"ui-menu-icon","ui-icon "+a),i.attr("aria-haspopup","true").prepend(n),t.attr("aria-labelledby",i.attr("id"))})),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(t=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each((function(){var t=e(this);r._isDivider(t)&&r._addClass(t,"ui-menu-divider","ui-widget-content")})),o=(n=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i,n,o;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay((function(){this._close()}),this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var i,n,o,r,a,s;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,o=t.offset().top-this.activeMenu.offset().top-i-n,r=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=t.outerHeight(),o<0?this.activeMenu.scrollTop(r+o):o+s>a&&this.activeMenu.scrollTop(r+o-a+s))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay((function(){this._close(),this._open(e)}),this.delay))},_open:function(t){var i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay((function(){var n=i?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(t),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n}),this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
2se")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay((function(){this.focus(e,t)})))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},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(e,t,i){var n;this.active&&(n="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[t]()),this.focus(i,n)},nextPage:function(t){var i,n,o;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each((function(){return(i=e(this)).offset().top-n-o<0})),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var i,n,o;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each((function(){return(i=e(this)).offset().top-n+o>0})),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuItems:function(t){var i=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter((function(){return n.test(e.trim(e(this).children(".ui-menu-item-wrapper").text()))}))}});e.widget("ui.autocomplete",{version:"1.12.1",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},requestIndex:0,pending:0,_create:function(){var t,i,n,o=this.element[0].nodeName.toLowerCase(),r="textarea"===o,a="input"===o;this.isMultiLine=r||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[r||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return t=!0,n=!0,void(i=!0);t=!1,n=!1,i=!1;var r=e.ui.keyCode;switch(o.keyCode){case r.PAGE_UP:t=!0,this._move("previousPage",o);break;case r.PAGE_DOWN:t=!0,this._move("nextPage",o);break;case r.UP:t=!0,this._keyEvent("previous",o);break;case r.DOWN:t=!0,this._keyEvent("next",o);break;case r.ENTER:this.menu.active&&(t=!0,o.preventDefault(),this.menu.select(o));break;case r.TAB:this.menu.active&&this.menu.select(o);break;case r.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:i=!0,this._searchTimeout(o)}},keypress:function(n){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var o=e.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:this._move("previousPage",n);break;case o.PAGE_DOWN:this._move("nextPage",n);break;case o.UP:this._keyEvent("previous",n);break;case o.DOWN:this._keyEvent("next",n)}}},input:function(e){if(n)return n=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),this._change(e))}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,this.element[0]!==e.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")}))},menufocus:function(t,i){var n;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",(function(){e(t.target).trigger(t.originalEvent)}));n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:n}
vendor: 6,428 bytes, line 2
2)&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(n.value)},menuselect:function(t,i){var n=i.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay((function(){this.previous=o,this.selectedItem=n}))),!1!==this._trigger("select",t,{item:n})&&this._value(n.value),this.term=this._value(),this.close(t),this.selectedItem=n}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var i=this.menu.element[0];return t.target===this.element[0]||t.target===i||e.contains(i,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,i,n=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(i,n){n(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,o){n.xhr&&n.xhr.abort(),n.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){o(e)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay((function(){var t=this.term===this._value(),i=this.menu.element.is(":visible"),n=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;t&&(!t||i||n)||(this.selectedItem=null,this.search(null,e))}),this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return e.proxy((function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}),this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,(function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})}))},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var n=this;e.each(i,(function(e,i){n._renderItemData(t,i)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").append(e("<div>").text(i.label)).appendTo(t)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var n=new RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,(function(e){return n.test(e.label||e.value||e)}))}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),e("<div>").text(i).appendTo(this.liveRegion))}});var a;e.ui.autocomplete;function s(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
vendor: 5,173 bytes, line 2
2ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=l(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function l(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,c)}function c(){e.datepicker._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function d(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}e.extend(e.ui,{datepicker:{version:"1.12.1"}}),e.extend(s.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return d(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,o,r;o="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(r=this._newInst(e(t),o)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,r):o&&this._inlineDatepicker(t,r)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?l(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,o,r,a=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=e("<span class='"+this._appendClass+"'>"+a+"</span>"),t[s?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(o=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:r,alt:o,title:o}):e("<button type='button'></button>").addClass(this._triggerClass).html(r?e("<img/>").attr({src:r,alt:o,title:o}):o)),t[s?"before":"after"](i.trigger),i.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1})))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,o,r=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(t=function(e){for(i=0,n=0,o=0;o<e.length;o++)e[o].length>i&&(i=e[o].length,n=o);return n},r.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),e.input.attr("size",this._formatDate(e,r).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,o,r){var a,s,l,c,p,u=this._dialogInst;return u||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>
2"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",u)),d(u.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(u,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+c,l/2-150+p]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(t){var i,n=e(t),o=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(o.append.remove(),o.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),a===o&&(a=null))},_enableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,r.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,r.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,n){var o,r,a,s,l=this._getInst(t);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?e.extend({},e.datepicker._defaults):l?"all"===i?e.extend({},l.settings):this._get(l,i):null;o=i||{},"string"==typeof i&&((o={})[i]=n),l&&(this._curInst===l&&this._hideDatepicker(),r=this._getDateDatepicker(t,!0),a=this._getMinMaxDate(l,"min"),s=this._getMinMaxDate(l,"max"),d(l.settings,o),null!==a&&void 0!==o.dateFormat&&void 0===o.minDate&&(l.settings.minDate=this._formatDate(l,a)),null!==s&&void 0!==o.dateFormat&&void 0===o.maxDate&&(l.settings.maxDate=this._formatDate(l,s)),"disabled"in o&&(o.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),l),this._autoSize(l),this._setDate(l,r),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,n,o,r=e.datepicker._getInst(t.target),a=!0,s=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),a=!1;break;case 13:return(o=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",r.dpDiv))[0]&&e.datepicker._selectDay(t.target,r.selectedMonth,r.selectedYear,o[0]),(i=e.datepicker._get(r,"onSelect"))?(n=e.datepicker._formatDate(r),i.apply(r.input?r.input[0]:null,[n,r])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,"stepBigMonths"):-e.datepicker._get(r,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,"stepBigMonths"):+e.datepicker._get(r,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),a=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),a=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?1:-1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,"stepBigMonths"):-e.datepicker._get(r,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),a=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?-1:1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,"stepBigMonths"):+e.datepicker._get(r,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),a=t.ctrlKey||t.metaKey;break;default:a=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):a=!1;a&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,n,o=e.datepicker._getInst(t.target);if(e.datepicker._get(o,"constrainInput"))return i=e.datepicker._possibleChars(e.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(e){}return!0},_showDatepicker:function(t){var i,n,o,r,a,s,l;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(o=(n=e.datepicker._get(i,"beforeShow"))?n.apply(t,[t,i]):{})&&(d(i.settings,o),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each((function(){return!(r|="fixed"===e(this).css("position"))})),a={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),a=e.datepicker._checkOffset(i,a,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:a.left+"px",to
vendor: 22,965 bytes, line 2
2p:a.top+"px"}),i.inline||(s=e.datepicker._get(i,"showAnim"),l=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[s]?i.dpDiv.show(s,e.datepicker._get(i,"showOptions"),l):i.dpDiv[s||"show"](s?l:null),e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),e.datepicker._curInst=i)))},_updateDatepicker:function(t){this.maxRows=4,a=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,n=this._getNumberOfMonths(t),o=n[1],r=t.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&c.apply(r.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&t.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),t.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(i=t.yearshtml,setTimeout((function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null}),0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var o=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?o-a:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+s?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+o>l&&l>o?Math.abs(i.left+o-l):0),i.top-=Math.min(i.top,i.top+r>c&&c>r?Math.abs(r+s):0),i},_findPos:function(t){for(var i,n=this._getInst(t),o=this._get(n,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[o?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,o,r,a=this._curInst;!a||t&&a!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),o=function(){e.datepicker._tidyDialog(a)},e.effects&&(e.effects.effect[i]||e.effects[i])?a.dpDiv.hide(i,e.datepicker._get(a,"showOptions"),n,o):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,o),i||o(),this._datepickerShowing=!1,(r=this._get(a,"onClose"))&&r.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),n=e.datepicker._getInst(i[0]);(i[0].id===e.datepicker._mainDivId||0!==i.parents("#"+e.datepicker._mainDivId).length||i.hasClass(e.datepicker.markerClassName)||i.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!i.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===n)||e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,n){var o=e(t),r=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(r,i+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(t){var i,n=e(t),o=this._getInst(n[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(i=new Date,o.selectedDay=i.getDate(),o.drawMonth=o.selectedMonth=i.getMonth(),o.drawYear=o.selectedYear=i.getFullYear()),this._notifyChange(o),this._adjustDate(n)},_selectMonthYear:function(t,i,n){var o=e(t),r=this._getInst(o[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(o)},_selectDay:function(t,i,n,o){var r,a=e(t);e(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((r=this._getInst(a[0])).selectedDay=r.currentDay=e("a",o).html(),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var n,o=e(t),r=this._getInst(o[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,o,r=this._get(t,"altField");r&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),o=this.formatDate(i,n,this._getFormatConfig(t)),e(r).val(o))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var o,r,a,s,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,d="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),p=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,u=(n?n.dayNames:null)||this._defaults.dayNames,h=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,_=-1,g=-1,v=-1,w=!1,y=function(e){var i=o+1<t.length&&t.charAt(o+1)===e;return i&&o++,i},b=function(e){var t=y(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,o=new RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),r=i.substring(l).match(o);if(!r)throw"Missing number at position "+l;return l+=r[0].length,parseInt(r[0],10)},k=function(t,n,o){var r=-1,a=e.map(y(t)?o:n,(function(e,t){return[[t,e]]})).sort((function(e,t){return-(e[1].length-t[1].length)}));if(e.each(a,(function(e,t){var n=t[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return r=t[0],l+=n.length,!1})),-1!==r)return r+1;throw"Unknown name at position "+l},x=function(){if(i.charAt(l)!==t.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;o<t.length;o++)if(w)"'"!==t.charAt(o)||y("'")?x():w=!1;else switch(t.charAt(o)){case"d":g=b("d");break;case"D":k("D",p,u);break;case"o":v=b("o");break;case"m":_=b("m");break;case"M":_=k("M",h,f);break;case"y":m=b("y");break;case"@":m=(s=new Date(b("@"))).getFullYear(),_=s.getMonth()+1,g=s.getDate();break;case"!":m=(s=new Date((b("!")-this._ticksTo1970)/1e4)).getFullYear(),_=s.getMonth()+1,g=s.getDate();break;case"'":y("'")?x():w=!0;break;default:x()}if(l<i.length&&(a=i.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=d?0:-100)),v>-1)for(_=1,g=v;;){if(g<=(r=this._getDaysInMonth(m,_-1)))break;_++,g-=r}if((s=this._daylightSavingAdjust(new Date(m,_-1,g))).getFullYear()!==m||s.getMonth()+1!==_||s.getDate()!==g)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";var n,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,s=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){var i=n+1<e.length&&e.charAt(n+1)===t;return i&&n++,i},c=function(e,t,i){var n=""+t;if(l(e))for(;n.length<i;)n="0"+n;return n},d=function(e,t,i,n){return l(e)?n[t]:i[t]},p="",u=!1;if(t)for(n=0;n<e.length;n++)if(u)"'"!==e.charAt(n)||l("'")?p+=e.charAt(n):u=!1;else switch(e.charAt(n)){case"d":p+=c("d",t.getDate(),2);break;case"D":p+=d("D",t.getDay(),o,r);break;case"o":p+=c("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":p+=c("m",t.getMonth()+1,2);break;case"M":p+=d("M",t.getMonth(),a,s);break;case"y":p+=l("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":p+=t.getTime();break;case"!":p+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?p+="'":u=!0;break;default:p+=e.charAt(n)}return p},_possibleChars:function(e){var t,i="",n=!1,o=function(i){var n=t+1<e.length&&e.charAt(t+1)===i;return n&&t++,n};for(t=0;t<e.length;t++)if(n)"'"!==e.charAt(t)||o("'")?i+=e.charAt(t):n=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":o("'")?i+="'":n=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,o=this._getDefaultDate(e),r=o,a=this._getFormatConfig(e);try{r=this.parseDate(i,n,a)||o}catch(e){n=t?"":n}e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),e.currentDay=n?r.getDate():0,e.currentMonth=n?r.getMonth():0,e.currentYear=n?r.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,n){var o=null==i||""===i?n:"string"==typeof i?function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(e){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,o=n.getFullYear(),r=n.getMonth(),a=n.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=s.exec(i);l;){switch(l[2]||"d"){case"d":case"D":a+=parseInt(l[1],10);break;case"w":case"W":a+=7*parseInt(l[1],10);break;case"m":case"M":r+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(o,r));break;case"y":case"Y":o+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(o,r))}l=s.exec(i)}return new Date(o,r,a)}(i):"number"==typeof i?isNaN(i)?n:function(e){var t=new Date;return t.setDate(t.getDate()+e),t}(i):new Date(i.getTime());return(o=o&&"Invalid Date"===o.toString()?n:o)&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,o=e.selectedMonth,r=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),o===e.selectedMonth&&r===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map((function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])}))},_generateHTML:function(e){var t,i,n,o,r,a,s,l,c,d,p,u,h,f,m,_,g,v,w,y,b,k,x,$,C,T,S,L,D,A,E,M,P,N,j,I,H,O,q,F=new Date,W=this._daylightSavingAdjust(new Date(F.getFullYear(),F.getMonth(),F.getDate())),z=this._get(e,"isRTL"),R=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),Y=this._get(e,"navigationAsDateFormat"),U=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),X=this._get(e,"stepMonths"),K=1!==U[0]||1!==U[1],G=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Z=e.drawMonth-V,ee=e.drawYear;if(Z<0&&(Z+=12,ee--),J)for(t=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),t=Q&&t<Q?Q:t;this._daylightSavingAdjust(new Date(ee,Z,1))>t;)--Z<0&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,i=this._get(e,"prevText"),i=Y?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,Z-X,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(z?"e":"w")+"'>"+i+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(z?"e":"w")+"'>"+i+"</span></a>",o=this._get(e,"nextText"),o=Y?this.formatDate(o,this._daylightSavingAdjust(new Date(ee,Z+X,1)),this._getFormatConfig(e)):o,r=this._canAdjustMonth(e,1,ee,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(z?"w":"e")+"'>"+o+"</span></a>":B?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(z?"w":"e")+"'>"+o+"</span></a>",a=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?G:W,a=Y?this.formatDate(a,s,this._getFormatConfig(e)):a,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",c=R?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(z?l:"")+(this._isInRange(e,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(z?"":l)+"</div>":"",d=parseInt(this._get(e,"firstDay"),10),d=isNaN(d)?0:d,p=this._get(e,"showWeek"),u=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),_=this._get(e,"beforeShowDay"),g=this._get(e,"showOtherMonths"),v=this._get(e,"selectOtherMonths"),w=this._getDefaultDate(e),y="",k=0;k<U[0];k++){for(x="",this.maxRows=4,$=0;$<U[1];$++){if(C=this._daylightSavingAdjust(new Date(ee,Z,e.selectedDay)),T=" ui-corner-all",S="",K){if(S+="<div class='ui-datepicker-group",U[1]>1)switch($){case 0:S+=" ui-datepicker-group-first",T=" ui-corner-"+(z?"right":"left");break;case U[1]-1:S+=" ui-datepicker-group-last",T=" ui-corner-"+(z?"left":"right");break;default:S+=" ui-datepicker-group-middle",T=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===k?z?r:n:"")+(/all|right/.test(T)&&0===k?z?n:r:"")+this._generateMonthYearHeader(e,Z,ee,Q,J,k>0||$>0,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",L=p?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",b=0;b<7;b++)L+="<th scope='col'"+((b+d+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+u[D=(b+d)%7]+"'>"+h[D]+"</span></th>";for(S+=L+"</tr></thead><tbody>",A=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),E=(this._getFirstDayOfMonth(ee,Z)-d+7)%7,M=Math.ceil((E+A)/7),P=K&&this.maxRows>M?this.maxRows:M,this.maxRows=P,N=this._daylightSavingAdjust(new Date(ee,Z,1-E)),j=0;j<P;j++){for(S+="<tr>",I=p?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(N)+"</td>":"",b=0;b<7;b++)H=_?_.apply(e.input?e.input[0]:null,[N]):[!0,""],q=(O=N.getMonth()!==Z)&&!v||!H[0]||Q&&N<Q||J&&N>J,I+="<td class='"+((b+d+6)%7>=5?" ui-datepicker-week-end":"")+(O?" ui-datepicker-other-month":"")+(N.getTime()===C.getTime()&&Z===e.selectedMonth&&e._keyEvent||w.getTime()===N.getTime()&&w.getTime()===C.getTime()?" "+this._dayOverClass:"")+(q?" "+this._unselectableClass+" ui-state-disabled":"")+(O&&!g?"":" "+H[1]+(N.getTime()===G.getTime()?" "+this._currentClass:"")+(N.getTime()===W.getTime()?" ui-datepicker-today":""))+"'"+(O&&!g||!H[2]?"":" title='"+H[2].replace(/'/g,"'")+"'")+(q?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(O&&!g?" ":q?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===W.getTime()?" ui-state-highlight":"")+(N.getTime()===G.getTime()?" ui-state-active":"")+(O?" ui-priority-secondary":"")+"' href='#'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);S+=I+"</tr>"}++Z>11&&(Z=0,ee++),x+=S+="</tbody></table>"+(K?"</div>"+(U[0]>0&&$===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=x}return y+=c,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,i,n,o,r,a,s){var l,c,d,p,u,h,f,m,_=this._get(e,"changeMonth"),g=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),w="<div class='ui-datepicker-title'>",y="";if(r||!_)y+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=n&&n.getFullYear()===i,c=o&&o.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",d=0;d<12;d++)(!l||d>=n.getMonth())&&(!c||d<=o.getMonth())&&(y+="<option value='"+d+"'"+(d===t?" selected='selected'":"")+">"+s[d]+"</option>");y+="</select>"}if(v||(w+=y+(!r&&_&&g?"":" ")),!e.yearshtml)if(e.yearshtml="",r||!g)w+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(p=this._get(e,"yearRange").split(":"),u=(new Date).getFullYear(),h=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?u+parseInt(e,10):parseInt(e,10);return isNaN(t)?u:t},f=h(p[0]),m=Math.max(f,h(p[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=o?Math.min(m,o.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",w+=e.yearshtml,e.yearshtml=null}return w+=this._get(e,"yearSuffix"),v&&(w+=(!r&&_&&g?"":" ")+y),w+="</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),o=e.selectedMonth+("M"===i?t:0),r=Math.min(e.selectedDay,this._getDaysInMonth(n,o))+("D"===i?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,o,r)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),o=i&&t<i?i:t;return n&&o>n?n:o},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var o=this._getNumberOfMonths(e),r=this._daylightSavingAdjust(new Date(i,n+(t<0?t:o[0]*o[1]),1));return t<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(e,r)},_isInRange:function(e,t){var i,n,o=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),s=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(s+=n)),(!o||t.getTime()>=o.getTime())&&(!r||t.getTime()<=r.getTime())&&(!a||t.getFullYear()>=a)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var o=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),o,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)})):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new s,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.12.1";e.datepicker})),jQuery.cookie=function(e,t,i){if(arguments.length>1&&"[object Object]"!==String(t)){if(i=jQuery.extend({},i),null==t&&(i.expires=-1),"number"==typeof i.expires){var n=i.expires,o=i.expires=new Date;o.setDate(o.getDate()+n)}return t=String(t),document.cookie=[encodeURIComponent(e),"=",i.raw?t:encodeURIComponent(t),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}var r,a=(i=t||{}).raw?function(e){return e}:decodeURIComponent;
2return(r=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?a(r[1]):null},function(e){"use strict";function t(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}function i(e,i,n,o,r,a){return t(function(e,t){return e<<t|e>>>32-t}(t(t(i,e),t(o,a)),r),n)}function n(e,t,n,o,r,a,s){return i(t&n|~t&o,e,t,r,a,s)}function o(e,t,n,o,r,a,s){return i(t&o|n&~o,e,t,r,a,s)}function r(e,t,n,o,r,a,s){return i(t^n^o,e,t,r,a,s)}function a(e,t,n,o,r,a,s){return i(n^(t|~o),e,t,r,a,s)}function s(e,i){e[i>>5]|=128<<i%32,e[14+(i+64>>>9<<4)]=i;var s,l,c,d,p,u=1732584193,h=-271733879,f=-1732584194,m=271733878;for(s=0;s<e.length;s+=16)l=u,c=h,d=f,p=m,h=a(h=a(h=a(h=a(h=r(h=r(h=r(h=r(h=o(h=o(h=o(h=o(h=n(h=n(h=n(h=n(h,f=n(f,m=n(m,u=n(u,h,f,m,e[s],7,-680876936),h,f,e[s+1],12,-389564586),u,h,e[s+2],17,606105819),m,u,e[s+3],22,-1044525330),f=n(f,m=n(m,u=n(u,h,f,m,e[s+4],7,-176418897),h,f,e[s+5],12,1200080426),u,h,e[s+6],17,-1473231341),m,u,e[s+7],22,-45705983),f=n(f,m=n(m,u=n(u,h,f,m,e[s+8],7,1770035416),h,f,e[s+9],12,-1958414417),u,h,e[s+10],17,-42063),m,u,e[s+11],22,-1990404162),f=n(f,m=n(m,u=n(u,h,f,m,e[s+12],7,1804603682),h,f,e[s+13],12,-40341101),u,h,e[s+14],17,-1502002290),m,u,e[s+15],22,1236535329),f=o(f,m=o(m,u=o(u,h,f,m,e[s+1],5,-165796510),h,f,e[s+6],9,-1069501632),u,h,e[s+11],14,643717713),m,u,e[s],20,-373897302),f=o(f,m=o(m,u=o(u,h,f,m,e[s+5],5,-701558691),h,f,e[s+10],9,38016083),u,h,e[s+15],14,-660478335),m,u,e[s+4],20,-405537848),f=o(f,m=o(m,u=o(u,h,f,m,e[s+9],5,568446438),h,f,e[s+14],9,-1019803690),u,h,e[s+3],14,-187363961),m,u,e[s+8],20,1163531501),f=o(f,m=o(m,u=o(u,h,f,m,e[s+13],5,-1444681467),h,f,e[s+2],9,-51403784),u,h,e[s+7],14,1735328473),m,u,e[s+12],20,-1926607734),f=r(f,m=r(m,u=r(u,h,f,m,e[s+5],4,-378558),h,f,e[s+8],11,-2022574463),u,h,e[s+11],16,1839030562),m,u,e[s+14],23,-35309556),f=r(f,m=r(m,u=r(u,h,f,m,e[s+1],4,-1530992060),h,f,e[s+4],11,1272893353),u,h,e[s+7],16,-155497632),m,u,e[s+10],23,-1094730640),f=r(f,m=r(m,u=r(u,h,f,m,e[s+13],4,681279174),h,f,e[s],11,-358537222),u,h,e[s+3],16,-722521979),m,u,e[s+6],23,76029189),f=r(f,m=r(m,u=r(u,h,f,m,e[s+9],4,-640364487),h,f,e[s+12],11,-421815835),u,h,e[s+15],16,530742520),m,u,e[s+2],23,-995338651),f=a(f,m=a(m,u=a(u,h,f,m,e[s],6,-198630844),h,f,e[s+7],10,1126891415),u,h,e[s+14],15,-1416354905),m,u,e[s+5],21,-57434055),f=a(f,m=a(m,u=a(u,h,f,m,e[s+12],6,1700485571),h,f,e[s+3],10,-1894986606),u,h,e[s+10],15,-1051523),m,u,e[s+1],21,-2054922799),f=a(f,m=a(m,u=a(u,h,f,m,e[s+8],6,1873313359),h,f,e[s+15],10,-30611744),u,h,e[s+6],15,-1560198380),m,u,e[s+13],21,1309151649),f=a(f,m=a(m,u=a(u,h,f,m,e[s+4],6,-145523070),h,f,e[s+11],10,-1120210379),u,h,e[s+2],15,718787259),m,u,e[s+9],21,-343485551),u=t(u,l),h=t(h,c),f=t(f,d),m=t(m,p);return[u,h,f,m]}function l(e){var t,i="",n=32*e.length;for(t=0;t<n;t+=8)i+=String.fromCharCode(e[t>>5]>>>t%32&255);return i}function c(e){var t,i=[];for(i[(e.length>>2)-1]=void 0,t=0;t<i.length;t+=1)i[t]=0;var n=8*e.length;for(t=0;t<n;t+=8)i[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return i}function d(e){var t,i,n="";for(i=0;i<e.length;i+=1)t=e.charCodeAt(i),n+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return n}function p(e){return unescape(encodeURIComponent(e))}function u(e){return function(e){return l(s(c(e),8*e.length))}(p(e))}function h(e,t){return function(e,t){var i,n,o=c(e),r=[],a=[];for(r[15]=a[15]=void 0,o.length>16&&(o=s(o,8*e.length)),i=0;i<16;i+=1)r[i]=909522486^o[i],a[i]=1549556828^o[i];return n=s(r.concat(c(t)),512+8*t.length),l(s(a.concat(n),640))}(p(e),p(t))}function f(e,t,i){return t?i?h(t,e):function(e,t){return d(h(e,t))}(t,e):i?u(e):function(e){return d(u(e))}(e)}"function"==typeof define&&define.amd?define((function(){return f})):"object"==typeof module&&module.exports?module.exports=f:e.md5=f}(window),function(e,t,i){function n(e,t){return typeof e===t}function o(e){var t=x.className,i=y._config.classPrefix||"";if($&&(t=t.baseVal),y._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}y._config.enableClasses&&(t+=" "+i+e.join(" "+i),$?x.className.baseVal=t:x.className=t)}function r(e,t){if("object"==typeof e)for(var i in e)k(e,i)&&r(i,e[i]);else{var n=(e=e.toLowerCase()).split("."),a=y[n[0]];if(2==n.length&&(a=a[n[1]]),void 0!==a)return y;t="function"==typeof t?t():t,1==n.length?y[n[0]]=t:(!y[n[0]]||y[n[0]]instanceof Boolean||(y[n[0]]=new Boolean(y[n[0]])),y[n[0]][n[1]]=t),o([(t&&0!=t?"":"no-")+n.join("-")]),y._trigger(e,t)}return y}function a(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,i){return t+i.toUpperCase()})).replace(/^-/,"")}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):$?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function l(t,i,n){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,t,i);var r=e.console;if(null!==o)n&&(o=o.getPropertyValue(n));else if(r){r[r.error?"error":"log"].call(r,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!i&&t.currentStyle&&t.currentStyle[n];return o}function c(e,t){return!!~(""+e).indexOf(t)}function d(e,t){return function(){return e.apply(t,arguments)}}function p(e,i,n,o){var r,a,l,c,d="modernizr",p=s("div"),u=function(){var e=t.body;return e||((e=s($?"svg":"body")).fake=!0),e}();if(parseInt(n,10))for(;n--;)(l=s("div")).id=o?o[n]:d+(n+1),p.appendChild(l);return(r=s("style")).type="text/css",r.id="s"+d,(u.fake?u:p).appendChild(r),u.appendChild(p),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(t.createTextNode(e)),p.id=d,u.fake&&(u.style.background="",u.style.overflow="hidden",c=x.style.overflow,x.style.overflow="hidden",x.appendChild(u)),a=i(p,e),u.fake?(u.parentNode.removeChild(u),x.style.overflow=c,x.offsetHeight):p.parentNode.removeChild(p),!!a}function u(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function h(t,n){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(u(t[o]),n))return!0;return!1}if("CSSSupportsRule"in e){for(var r=[];o--;)r.push("("+u(t[o])+":"+n+")");return p("@supports ("+(r=r.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==l(e,null,"position")}))}return i}function f(e,t,o,r){function l(){p&&(delete E.style,delete E.modElem)}if(r=!n(r,"undefined")&&r,!n(o,"undefined")){var d=h(e,o);if(!n(d,"undefined"))return d}for(var p,u,f,m,_,g=["modernizr","tspan","samp"];!E.style&&g.length;)p=!0,E.modElem=s(g.shift()),E.style=E.modElem.style;for(f=e.length,u=0;f>u;u++)if(m=e[u],_=E.style[m],c(m,"-")&&(m=a(m)),E.style[m]!==i){if(r||n(o,"undefined"))return l(),"pfx"!=t||m;try{E.style[m]=o}catch(e){}if(E.style[m]!=_)return l(),"pfx"!=t||m}return l(),!1}function m(e,t,i,o,r){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+S.join(a+" ")+a).split(" ");return n(t,"string")||n(t,"undefined")?f(s,t,o,r):function(e,t,i){var o;for(var r in e)if(e[r]in t)return!1===i?e[r]:n(o=t[e[r]],"function")?d(o,i||t):o;return!1}(s=(e+" "+T.join(a+" ")+a).split(" "),t,i)}function _(e,t,n){return m(e,i,i,t,n)}var g=[],v=[],w={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){v.push({name:e,fn:t,options:i})},addAsyncTest:function(e){v.push({name:null,fn:e})}},y=function(){};y.prototype=w,y=new y;var b=w._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];w._prefixes=b;var k,x=t.documentElement,$="svg"===x.nodeName.toLowerCase(),C="Moz O ms Webkit",T=w._config.usePrefixes?C.toLowerCase().split(" "):[];w._domPrefixes=T,function(){var e={}.hasOwnProperty;k=n(e,"undefined")||n(e.call,"undefined")?function(e,t){return t in e&&n(e.constructor.prototype[t],"undefined")}:function(t,i){return e.call(t,i)}}(),w._l={},w.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),y.hasOwnProperty(e)&&setTimeout((function(){y._trigger(e,y[e])}),0)},w._trigger=function(e,t){if(this._l[e]){var i=this._l[e];setTimeout((function(){var e;
2for(e=0;e<i.length;e++)(0,i[e])(t)}),0),delete this._l[e]}},y._q.push((function(){w.addTest=r})),y.addTest("canvas",(function(){var e=s("canvas");return!(!e.getContext||!e.getContext("2d"))}));var S=w._config.usePrefixes?C.split(" "):[];w._cssomPrefixes=S;var L=function(t){var n,o=b.length,r=e.CSSRule;if(void 0===r)return i;if(!t)return!1;if((n=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in r)return"@"+t;for(var a=0;o>a;a++){var s=b[a];if(s.toUpperCase()+"_"+n in r)return"@-"+s.toLowerCase()+"-"+t}return!1};w.atRule=L;var D=w.testStyles=p;D("#modernizr { width: 50vw; }",(function(t){var i=parseInt(e.innerWidth/2,10),n=parseInt(l(t,null,"width"),10);y.addTest("cssvwunit",n==i)}));var A={elem:s("modernizr")};y._q.push((function(){delete A.elem}));var E={style:A.elem.style};y._q.unshift((function(){delete E.style})),w.testAllProps=m,w.prefixed=function(e,t,i){return 0===e.indexOf("@")?L(e):(-1!=e.indexOf("-")&&(e=a(e)),t?m(e,t,i):m(e,"pfx"))},w.testAllProps=_,y.addTest("flexbox",_("flexBasis","1px",!0)),y.addTest("touch",(function(){var i;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)i=!0;else{var n=["@media (",b.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");D(n,(function(e){i=9===e.offsetTop}))}return i})),function(){var e,t,i,o,r,a;for(var s in v)if(v.hasOwnProperty(s)){if(e=[],(t=v[s]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(o=n(t.fn,"function")?t.fn():t.fn,r=0;r<e.length;r++)1===(a=e[r].split(".")).length?y[a[0]]=o:(!y[a[0]]||y[a[0]]instanceof Boolean||(y[a[0]]=new Boolean(y[a[0]])),y[a[0]][a[1]]=o),g.push((o?"":"no-")+a.join("-"))}}(),o(g),delete w.addTest,delete w.addAsyncTest;for(var M=0;M<y._q.length;M++)y._q[M]();e.Modernizr=y}(window,document),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.Blazy=t()}(this,(function(){function e(e){var i=e._util;i.elements=function(e){for(var t=[],i=(e=e.root.querySelectorAll(e.selector)).length;i--;t.unshift(e[i]));return t}(e.options),i.count=i.elements.length,i.destroyed&&(i.destroyed=!1,e.options.container&&p(e.options.container,(function(e){c(e,"scroll",i.validateT)})),c(window,"resize",i.saveViewportOffsetT),c(window,"resize",i.validateT),c(window,"scroll",i.validateT)),t(e)}function t(e){for(var t=e._util,n=0;n<t.count;n++){var o,r=t.elements[n],s=r;o=e.options;var l=s.getBoundingClientRect();o.container&&_&&(s=s.closest(o.containerClass))?o=!!i(s=s.getBoundingClientRect(),f)&&i(l,{top:s.top-o.offset,right:s.right+o.offset,bottom:s.bottom+o.offset,left:s.left-o.offset}):o=i(l,f),(o||a(r,e.options.successClass))&&(e.load(r),t.elements.splice(n,1),t.count--,n--)}0===t.count&&e.destroy()}function i(e,t){return e.right>=t.left&&e.bottom>=t.top&&e.left<=t.right&&e.top<=t.bottom}function n(e,t,i){if(!a(e,i.successClass)&&(t||i.loadInvisible||0<e.offsetWidth&&0<e.offsetHeight))if(t=e.getAttribute(h)||e.getAttribute(i.src)){var n=(t=t.split(i.separator))[m&&1<t.length?1:0],l=e.getAttribute(i.srcset),u="img"===e.nodeName.toLowerCase(),f=(t=e.parentNode)&&"picture"===t.nodeName.toLowerCase();if(u||void 0===e.src){var _=new Image,g=function(){i.error&&i.error(e,"invalid"),s(e,i.errorClass),d(_,"error",g),d(_,"load",v)},v=function(){u?f||r(e,n,l):e.style.backgroundImage='url("'+n+'")',o(e,i),d(_,"load",v),d(_,"error",g)};f&&(_=e,p(t.getElementsByTagName("source"),(function(e){var t=i.srcset,n=e.getAttribute(t);n&&(e.setAttribute("srcset",n),e.removeAttribute(t))}))),c(_,"error",g),c(_,"load",v),r(_,n,l)}else e.src=n,o(e,i)}else"video"===e.nodeName.toLowerCase()?(p(e.getElementsByTagName("source"),(function(e){var t=i.src,n=e.getAttribute(t);n&&(e.setAttribute("src",n),e.removeAttribute(t))})),e.load(),o(e,i)):(i.error&&i.error(e,"missing"),s(e,i.errorClass))}function o(e,t){s(e,t.successClass),t.success&&t.success(e),e.removeAttribute(t.src),e.removeAttribute(t.srcset),p(t.breakpoints,(function(t){e.removeAttribute(t.src)}))}function r(e,t,i){i&&e.setAttribute("srcset",i),e.src=t}function a(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function s(e,t){a(e,t)||(e.className+=" "+t)}function l(e){f.bottom=(window.innerHeight||document.documentElement.clientHeight)+e,f.right=(window.innerWidth||document.documentElement.clientWidth)+e}function c(e,t,i){e.attachEvent?e.attachEvent&&e.attachEvent("on"+t,i):e.addEventListener(t,i,{capture:!1,passive:!0})}function d(e,t,i){e.detachEvent?e.detachEvent&&e.detachEvent("on"+t,i):e.removeEventListener(t,i,{capture:!1,passive:!0})}function p(e,t){if(e&&t)for(var i=e.length,n=0;
2n<i&&!1!==t(e[n],n);n++);}function u(e,t,i){var n=0;return function(){var o=+new Date;o-n<t||(n=o,e.apply(i,arguments))}}var h,f,m,_;return function(i){if(!document.querySelectorAll){var o=document.createStyleSheet();document.querySelectorAll=function(e,t,i,n,r){for(r=document.all,t=[],i=(e=e.replace(/\[for\b/gi,"[htmlFor").split(",")).length;i--;){for(o.addRule(e[i],"k:v"),n=r.length;n--;)r[n].currentStyle.k&&t.push(r[n]);o.removeRule(0)}return t}}var r=this,a=r._util={};a.elements=[],a.destroyed=!0,r.options=i||{},r.options.error=r.options.error||!1,r.options.offset=r.options.offset||100,r.options.root=r.options.root||document,r.options.success=r.options.success||!1,r.options.selector=r.options.selector||".b-lazy",r.options.separator=r.options.separator||"|",r.options.containerClass=r.options.container,r.options.container=!!r.options.containerClass&&document.querySelectorAll(r.options.containerClass),r.options.errorClass=r.options.errorClass||"b-error",r.options.breakpoints=r.options.breakpoints||!1,r.options.loadInvisible=r.options.loadInvisible||!1,r.options.successClass=r.options.successClass||"b-loaded",r.options.validateDelay=r.options.validateDelay||25,r.options.saveViewportOffsetDelay=r.options.saveViewportOffsetDelay||50,r.options.srcset=r.options.srcset||"data-srcset",r.options.src=h=r.options.src||"data-src",_=Element.prototype.closest,m=1<window.devicePixelRatio,(f={}).top=0-r.options.offset,f.left=0-r.options.offset,r.revalidate=function(){e(this)},r.load=function(e,t){var i=this.options;void 0===e.length?n(e,t,i):p(e,(function(e){n(e,t,i)}))},r.destroy=function(){var e=this._util;this.options.container&&p(this.options.container,(function(t){d(t,"scroll",e.validateT)})),d(window,"scroll",e.validateT),d(window,"resize",e.validateT),d(window,"resize",e.saveViewportOffsetT),e.count=0,e.elements.length=0,e.destroyed=!0},a.validateT=u((function(){t(r)}),r.options.validateDelay,r),a.saveViewportOffsetT=u((function(){l(r.options.offset)}),r.options.saveViewportOffsetDelay,r),l(r.options.offset),p(r.options.breakpoints,(function(e){if(e.width>=window.screen.width)return h=e.src,!1})),setTimeout((function(){e(r)}))}}));var console=console||{};console.log=console.log||function(){},console.info=console.info||function(){};var fun_pc=[],fun_pc_large=[],fun_tablet=[],fun_mobile=[];function _instanceof(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function _classCallCheck(e,t){if(!_instanceof(e,t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),e}app_shop.vars.xhr="",app_shop.getFile=function(e){$.getScript(app_shop.urls.prefix+e+".js")},app_shop.getOuterJS=function(e){for(var t in e)$.getScript(app_shop.urls.prefix+e[t]+".js",(function(){console.log("file: "+e[t])}))},app_shop.run=function(e,t,n,o){if($.isArray(t))for(i in t)app_shop.fnrun[t[i]]||(app_shop.fnrun[t[i]]=[]),app_shop.fnrun[t[i]].push({w:n,fn:e,a:o});else app_shop.fnrun[t]||(app_shop.fnrun[t]=[]),app_shop.fnrun[t].push({w:n,fn:e,a:o})},app_shop.runArr=function(e,t,i){if(e){var n,o;for(n=0,o=e.length;n<o;n++){var r=e[n].w,a=e[n].fn,s=e[n].a;i?r?$(r).length&&s&&(a(),console.log("mode "+t+":"+r)):s&&(a(),console.log("mode "+t+":"+r)):r?$(r).length&&(a(),console.log("mode "+t+":"+r)):(a(),console.log("mode "+t+":"+r))}}};var iaiGetAjax=function(){function e(t){_classCallCheck(this,e),this.data={},this.cache={},this.fn=[]}return _createClass(e,[{key:"projector",value:function(){this.data.Projector={format:"json",params:{}},this.fn.push(fn)}},{key:"basket",value:function(e){this.data.Basket={},this.fn.push(e)}},{key:"wishlist",value:function(e){this.data.Wishlist={},this.fn.push(e)}},{key:"comparers",value:function(e){this.data.Comparers={},this.fn.push(e)}},{key:"snippets",value:function(e,t){this.data.Snippets?console.log("Snippets data exist"):this.data.Snippets={format:"json",params:{mobile:t.mobile,tablet:t.tablet,pc:t.pc,request_uri:t.request_uri,additional_ajax:t.additional_ajax}},this.fn.push(e)}},{key:"toplayersAndWidgets",value:function(e,t){this.data.ToplayersAndWidgets?console.log("ToplayersAndWidgets data exist"):this.data.ToplayersAndWidgets={format:"json",params:{mobile:t.mobile,tablet:t.tablet,pc:t.pc,request_uri:t.request_uri,additional_ajax:t.additional_ajax}},this.fn.push(e)}},{key:"hotspot",value:function(e,t){}},{key:"hotspotMain",value:function(e,t){}},{key:"hotspotProjector",value:function(e,t){}},{key:"hotspotSearch",value:function(e,t){}},{key:"init",value:function(){var e="request="+JSON.stringify(this.data),t=this;$.ajax({type:"POST",url:"/ajax/get.php",dataType:"JSON",data:e,success:function(e){t.cache=e,t.fn.forEac
2h((function(e){e(t.cache)}))},error:function(){}})}}]),e}(),iaiGet=new iaiGetAjax;app_shop.fn.change_url=function(e){history.pushState&&history.pushState({foo:"bar"},"",decodeURIComponent(e))},app_shop.fn.evalJSFromHtml=function(e){var t=document.createElement("div");t.innerHTML=e;for(var i=t.getElementsByTagName("script"),n=[],o=0;o<i.length;++o)"SCRIPT"!==i[o].tagName||"ajaxLoad"!=i[o].className&&"ajaxLoad"!=i[o].parentNode.className||n.push(i[o]);$("body").append(n)},app_shop.fn.load=function(e,t,i,n){app_shop.vars.xhr&&4!=app_shop.vars.xhr.readystate&&app_shop.vars.xhr.abort(),$(t).addClass("load-content");for(var o=0;t.length>o;o++)$(t[o][0]).addClass("load-content");app_shop.vars.xhr=$.ajax({url:e+n,timeout:16e3,success:function(n,o){for(var r=0;t.length>r;r++)$(t[r][0]).removeClass("load-content").html($(n).find(t[r][1]).html());app_shop.fn.change_url(e),app_shop.fn.evalJSFromHtml(n),i&&i()},error:function(t){window.location.href=e}})},app_shop.fn.variety=function(e,t,i){return 1==e?t:i},app_shop.fn.setGrid=function(){1==app_shop.vars.view?$(".setMobileGrid").each((function(){var e=$
2(this).data("item");$(e).before('<del class="domHandler" data-item="'+e+'" style="display:none">'),$(this).append($(e))})):$(".domHandler").each((function(){var e=$(this).data("item");$(this).after($(e)),$(this).remove()}))},app_shop.fn.runAjaxFn=function(){app_shop.vars.view=$("#viewType").width();app_shop.vars.view;if(app_shop.runArr(app_shop.fnrun.all,"all",!0),!app_shop.vars.view)return!1;app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view,!0)},app_shop.runApp=function(){app_shop.vars.view=$("#viewType").width();var e=app_shop.vars.view;if(app_shop.runArr(app_shop.fnrun.all,"all"),!app_shop.vars.view)return!1;app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view),app_shop.fn.setGrid(),$(window).off("resize.view"),$(window).on("resize.view",(function(){app_shop.vars.view=$("#viewType").width(),app_shop.vars.view!=e&&(e=app_shop.vars.view,app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view),app_shop.fn.setGrid())})),app_shop.getOuterJS(app_shop.files),iaiGet.init()},app_shop.fn.getRwdSrc=function(e){var t=[e.data("src_mobile"),e.data("src_tablet"),e.data("src_desktop"),e.data("src_desktop")],i=t[app_shop.vars.view-1];return i||(t=t.join(" ").split(" ")).length&&(i=1==app_shop.vars.view?t[0]:t.pop()),i},app_shop.fn.rwdBanner=function(e,t){for(i in t)app_shop.run((function(){$(e).find("img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),t[i],e)},function(e){e.fn.iai_align=function(){return this.each((function(){if(e(this).data("align")){var t=e(this).data("align").split("|"),n="",o=0,r=e(this);for(i in t)if(option=t[i].split("#"),n=option[0],"px"==(option[1]||"px")){o=Math.max.apply(null,r.find(n).map((function(){return e(this).outerHeight()})).get());r.find(n).css("min-height",o)}else r.find(n).each((function(){e(this).wrap('<div style="display: table;width:100%;height:100%;table-layout: fixed;"><div style="display: table-cell;vertical-align: middle;min-height:100%">')}))}}))}}(jQuery),String.prototype.format=function(){var e,t=this;for(e in arguments)t=t.replace(/%[a-z]/,arguments[e]);return t},app_shop.fn.news_data=function(e){var t="";if(!e.data||!(t=e.data.split("-"))||t.length<3)return!1;var i=e.format||"%d-%m-%y";return e.month_names&&(t[1]=e.month_names[parseInt(t[1])-1]),i.format(t[2],t[1],t[0])},app_shop.run((function(){iaiGet.snippets((function(e){var t=e.Snippets.response.items;for(var i in t)switch(t[i].region){case"head":$("head").append(t[i].content);break;case"body_top":$("body").prepend(t[i].content);break;default:$("body").append(t[i].content)}}),{mobile:(1==app_shop.vars.view).toString(),tablet:(2==app_shop.vars.view).toString(),pc:(app_shop.vars.view>=3).toString(),request_uri:app_shop.vars.request_uri,additional_ajax:app_shop.vars.additional_ajax}),iaiGet.toplayersAndWidgets((function(json){var ToplayersAndWidgets=json.ToplayersAndWidgets.response.items;for(var key in ToplayersAndWidgets)"script"===key?eval(ToplayersAndWidgets[key]):$("body").append(ToplayersAndWidgets[key].content)}),{mobile:(1==app_shop.vars.view).toString(),tablet:(2==app_shop.vars.view).toString(),pc:(app_shop.vars.view>=3).toString(),request_uri:app_shop.vars.request_uri,additional_ajax:app_shop.vars.additional_ajax})}),"all"),app_shop.fn.setGrid=function(){switch(app_shop.vars.view){case 4:case 3:$(".domHandler").each((function(){var e=$
2(this).data("item");$(this).after($(e)),$(this).remove()}));break;case 2:case 1:$(".domHandler").length||$(".setMobileGrid").each((function(){var e=$(this).data("item");$(e).before('<del class="domHandler" data-item="'+e+'" style="display:none">'),$(this).append($(e))}))}},app_shop.txt.txt_77752_1=window.Literals.alerts.fileWeight,app_shop.txt.txt_77752_2=window.Literals.alerts.fileType,app_shop.txt.txt_77752_3=window.Literals.alerts.acceptablePhotoFormats,app_shop.txt.txt_77752_4=window.Literals.alerts.maxPhotoWeight;var hotspotAjaxWrapType="";app_shop.txt.txt_validation1=window.Literals.validation.minChar,app_shop.txt.txt_validation2=window.Literals.validation.maxChar,app_shop.txt.txt_validation3=window.Literals.validation.invalidEmail,app_shop.txt.txt_validation4=window.Literals.validation.isRequired,app_shop.txt.txt_validation5=window.Literals.validation.invalidNrb,app_shop.txt.txt_validation6=window.Literals.validation.invalidPhone;var iaical_dateFormat="yy-mm-dd",iaical_firstDay="1";iaical_monthNext=window.Literals.calendar.nextMonth,iaical_monthPrev=window.Literals.calendar.prevMonth;var iaical_daysShort=window.Literals.calendar.dayNamesShort,iaical_monthNames=window.Literals.calendar.monthNames,iaical_monthNames2=window.Literals.calendar.monthNamesShort,iaical_shortNames=window.Literals.calendar.monthNamesShort;function parseURLParams(e){var t={},i=e.indexOf("?")+1,n=e.indexOf("#")+1||e.length+1,o=e.slice(i,n-1);if(o===e||""===o)return t;for(var r=o.replace(/\+/g," ").split("&"),a=0;a<r.length;a++){var s=r[a].split("="),l=decodeURIComponent(s[0]),c=decodeURIComponent(s[1]);l in t||(t[l]=[]),t[l].push(2===s.length?c:null)}return t}jQuery.fn.load=function(e){$(window).on("load",e)},window.format_price=function(e,t){var i=e,n=(t=t||{}).mask||"### ##0,00";currency_grouping_separator&&(n=n.replace(",",currency_grouping_separator)),currency_decimal_separator&&(n=n.replace(".",currency_decimal_separator));var o=t.currency||"",r=t.currency_space?" ":"",a=!!t.currency_before_price;if(!n||isNaN(+i))return i;var s=(i="-"==n.charAt(0)?-i:+i)<0?i=-i:0,l=n.match(/[^\d\-\+#]/g),c=l&&l[l.length-1]||".",d=l&&l[1]&&l[0]||",";n=n.split(c);i=+(i=i.toFixed(n[1]&&n[1].length))+"";var p=n[1]&&n[1].lastIndexOf("0"),u=i.split(".");(!u[1]||u[1]&&u[1].length<=p)&&(i=(+i).toFixed(p+1));var h=n[0].split(d);n[0]=h.join("");var f=n[0]&&n[0].indexOf("0");if(f>-1)for(;u[0].length<n[0].length-f;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");(i=i.split("."))[0]=u[0];var m=h[1]&&h[h.length-1].length;if(m){for(var _=i[0],g="",v=_.length%m,w=0,y=_.length;w<y;w++)g+=_.charAt(w),!((w-v+1)%m)&&w<y-m&&(g+=d);i[0]=g}i[1]=n[1]&&i[1]?c+i[1]:"";e=(s?"-":"")+i[0]+i[1];return e=a?o+r+e:e+r+o},function(e){"use strict";var t='[data-toggle="dropdown"]',i=function(t){e(t).on("click.bs.dropdown",this.toggle)};function n(t){var i=t.attr("data-target");i||(i=(i=t.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&e(i);return n&&n.length?n:t.parent()}function o(i){i&&3===i.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),o=n(t),r={relatedTarget:this};o.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&e.contains(o[0],i.target)||(o.trigger(i=e.Event("hide.bs.dropdown",r)),i.isDefaultPrevented()||(t.attr("aria-expanded","false"),o.removeClass("open").trigger(e.Event("hidden.bs.dropdown",r)))))})))}i.VERSION="3.3.6",i.prototype.toggle=function(t){var i=e(this);if(!i.is(".disabled, :disabled")){var r=n(i),a=r.hasClass("open");if(o(),!a){"ontouchstart"in document.documentElement&&!r.closest(".
2navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",o);var s={relatedTarget:this};if(r.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=e(this);if(i.preventDefault(),i.stopPropagation(),!o.is(".disabled, :disabled")){var r=n(o),a=r.hasClass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&r.find(t).trigger("focus"),o.trigger("click");var s=r.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var r=e.fn.dropdown;e.fn.dropdown=function(t){return this.each((function(){var n=e(this),o=n.data("bs.dropdown");o||n.data("bs.dropdown",o=new i(this)),"string"==typeof t&&o[t].call(n)}))},e.fn.dropdown.Constructor=i,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=r,this},e(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",(function(e){e.stopPropagation()})).on("click.bs.dropdown.data-api",t,i.prototype.toggle).on("keydown.bs.dropdown.data-api",t,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,(function(){"use strict";function e(e){var t=this.constructor;return this.then((function(i){return t.resolve(e()).then((function(){return i}))}),(function(i){return t.resolve(e()).then((function(){return t.reject(i)}))}))}function t(){}function i(e){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],s(e,this)}function n(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn((function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var n;try{n=i(e._value)}catch(e){return void r(t.promise,e)}o(t.promise,n)}else(1===e._state?o:r)(t.promise,e._value)}))):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void a(e);if("function"==typeof n)return void s(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,a(e)}catch(t){r(e,t)}}function r(e,t){e._state=2,e._value=t,a(e)}function a(e){2===e._state&&0===e._deferreds.length&&i._immediateFn((function(){e._handled||i._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;o>t;t++)n(e,e._deferreds[t]);e._deferreds=null}function s(e,t){var i=!1;try{e((function(e){i||(i=!0,o(t,e))}),(function(e){i||(i=!0,r(t,e))}))}catch(e){if(i)return;i=!0,r(t,e)}}var l=setTimeout;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,i){var o=new this.constructor(t);return n(this,new function(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}(e,i,o)),o},i.prototype.finally=e,i.all=function(e){return new i((function(t,i){function n(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){n(e,t)}),i)}o[e]=a,0==--r&&t(o)}catch(e){i(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var o=Array.prototype.slice.call(e);if(0===o.length)return t([]);for(var r=o.length,a=0;o.length>a;a++)n(a,o[a])}))},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i((function(t){t(e)}))},i.reject=function(e){return new i((function(t,i){i(e)}))},i.race=function(e){return new i((function(t,i){for(var n=0,o=e.length;o>n;n++)e[n].then(t,i)}))},i._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){l(e,0)},i._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var c=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in c?c.Promise.prototype.finally||(c.Promise.prototype.finally=e):c.Promise=i})),app_shop.fn.replaceSelects=function(e,t,i){e.each((function(e){var n=$(this),o=e;$selectValue=n.val(),$selectName=n.attr("name"),$labelName="",n.data("label")&&($labelName="
2<b>"+n.data("label")+"</b>"),$ul=$('<div class="dropdown dropdownsearching form-group '+n.attr("class")+'"><ul class="dropdown-menu" aria-labelledby="'+t+o+'"></ul></div>'),n.children().each((function(e){var t=$(this);$li=$("<li>");var i=new Array;if($.each(t.data(),(function(e,t){var n="data-"+e+"="+t;i.push(n)})),i.length)var n=i.join(" ");else n="";$('<a data-index="'+e+'" '+n+">").attr("href","#"+t.attr("value")).attr("data-value",t.attr("value")).text(t.text()).addClass($selectValue==t.attr("value")?"selected":"").appendTo($li),$li.appendTo($ul.find("ul")),t.attr("class")&&$li.addClass(t.attr("class")),t.attr("data-price")&&$li.attr("data-price",t.attr("data-price"))})),$ul.prepend('<button id="'+t+o+'" class="form-control dropdown-toggle" data-indexcurrent="0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'+$labelName+"<span>"+n.find("option:selected").text()+"</span></button>").prepend('<input class="select_hidden searching_ajax" type="hidden" name="'+$selectName+'" value="'+$selectValue+'" />'),i&&$ul.find("li").on("click.option",(function(){i($(this))})),n.replaceWith($ul)}))},app_shop.fn.fontCallback=()=>{void 0!==app_shop.fn.fontCallbackMenu&&app_shop.fn.fontCallbackMenu()},function(e){e.fn.extend({dialog:function(t){return t=e.extend({content:"text",wrappContent:!1,removeContent:!0,width:!1,wrapperClass:!1,cover:!0,fixed:!0,fitToWindow:!0,coverColor:"#000",coverOpacity:"0.6",animate:!0,showCloseButton:!0,offsetApp:120,beforeShow:function(){},afterShow:function(){},afterCloseFn:function(){},txtCloseButton:"x",buttons:[]},t),$mousePosY=0,$mousePosX=0,$animateHeight=0,$animateWidth=0,$wrapperWidth=0,$wrapperHeight=0,$wrapperSubHeight=0,$cloneElement=0,this.each((function(){$element=e(this);var i,n,o,r=function(t){$cloneElement&&($cloneElement.hide(),$cloneElement.appendTo("body"),$cloneElement=0),e("#dialog_cover,#dialog_wrapper").remove(),e("body").removeClass("dialog_open")};r(),t.cover&&(e("body").append("<div id='dialog_cover'></div>"),e("#dialog_cover").css({height:e(document).height(),width:e(window).width(),position:"fixed",background:t.coverColor,opacity:t.coverOpacity,left:"0px",top:"0px","z-index":900}).click((function(){r(),t.afterCloseFn()}))),i=e('<div id="dialog_wrapper"><div id="dialog_wrapper_sub"></div></div>'),n=t.buttons,t.showCloseButton&&i.find("#dialog_wrapper_sub").before('<a id="dialog_close" href="#close">'+t.txtCloseButton+"</a>"),(!e.isEmptyObject(n)||e.isArray(n)&&n.length)&&(i.find("#dialog_wrapper_sub").after('<div id="ui-dialog_button"></div>'),e.each(n,(function(t,n){(n=e.isFunction(n)?{text:t,click:n}:n).className||(n.className="btn-small"),i.find("#ui-dialog_button").append(e('<button class="'+n.className+'">'+n.text+"</button>").on("click",n.click))}))),e("body").append(i),t.width&&e("#dialog_wrapper").css({width:t.width}),t.wrapperClass&&e("#dialog_wrapper").addClass(t.wrapperClass),e("#dialog_wrapper").css({top:"-1000px","z-index":"901"}),t.fixed?e("#dialog_wrapper").css({position:"fixed"}):e("#dialog_wrapper").css({position:"absolute"}),t.wrappContent?($cloneElement=$element.clone(!0),t.removeContent&&$element.remove(),$cloneElement.prependTo("#dialog_wrapper_sub"),$cloneElement.show(),e("#dialog_wrapper_sub div:first-child").show()):e("#dialog_wrapper_sub").html(t.content),t.clickAnimate||e("#dialog_close").click((function(){r(),t.afterCloseFn()})),t.beforeShow(),e("body").addClass("dialog_open"),o="#dialog_wrapper",$wrapperWidth=e(o).outerWidth(),$wrapperHeight=e(o).outerHeight(),$wrapperSubHeight=e("#dialog_wrapper_sub").height(),1==app_shop.vars.isMobileApp&&($wrapperHeight+=t.offsetApp),e(window).height()>e("#dialog_wrapper").outerHeight()?t.animate?t.fixed?e(o).css({"margin-left":-$wrapperWidth/2,left:"50%"}).animate({top:e(window).height()/2-$wrapperHeight/2}):e(o).css({"margin-left":-$wrapperWidth/2,left:"50%"}).animate({top:e(window).height()/2-$wrapperHeight/2+e(window).scrollTop()}):e(o).css({"margin-left":-$wrapperWidth/2,left:"50%",top:e(window).height()/2-$wrapperHeight/2+e(window).scrollTop()}):(t.fitToWindow&&e("#dialog_wrapper_sub").css({"max-height":e(window).height()-40-($wrapperHeight-$wrapperSubHeight),overflow:"auto"}).addClass("setMaxHeightWindow"),t.animate?t.fixed?e(o).css({"margin-left":-$wrapperW
2idth/2,left:"50%"}).animate({top:"20px"}):e(o).css({"margin-left":-$wrapperWidth/2,left:"50%"}).animate({top:20+e(window).scrollTop()}):e(o).css({"margin-left":-$wrapperWidth/2,left:"50%",top:20+e(window).scrollTop()})),e("#dialog_wrapper").addClass("active"),t.afterShow()}))}})}(jQuery);var google_map_style_array=[{featureType:"landscape",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",stylers:[{saturation:-100},{lightness:51},{visibility:"simplified"}]},{featureType:"road.highway",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"road.arterial",stylers:[{saturation:-100},{lightness:30},{visibility:"on"}]},{featureType:"road.local",stylers:[{saturation:-100},{lightness:40},{visibility:"on"}]},{featureType:"transit",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"administrative.province",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"},{lightness:-25},{saturation:-100}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]}];function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach((function(t){_defineProperty(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const Alertek={alert_cover:"",cloudID:"",Start:(e,t)=>{if($("#alert_cover").remove(),$("body").append(`<div id="alert_cover"class="alertek ${t?`${t}`:""}"style="display:none"onclick="Alertek.hide_alert();"><![CDATA[]]></div>`),t||$("#alert_cover").addClass("menu_messages_message"),Alertek.cloudID=$("#alert_cover"),e){if(Alertek.cloudID.html(e),!t){const e=parseInt($(window).height()/2-Alertek.cloudID.height()/2+$(window).scrollTop()),t=parseInt($(window).width()/2-Alertek.cloudID.width()/2);Alertek.cloudID.css({top:e,marginLeft:t,left:0})}Alertek.cloudID.fadeIn(500),setTimeout(Alertek.End,4e3)}},End:()=>{Alertek.cloudID.fadeOut(500)},Info:e=>{Alertek.Start(e,"--info")},Warning:e=>{Alertek.Start(e,"--warning")},Error:e=>{Alertek.Start(e,"--error")},Success:e=>{Alertek.Start(e,"--success")},show_alert:e=>{Alertek.Start(e)},hide_alert:()=>{Alertek.End()}};!function(e){e.fn.separateElements=function(t){var i=e.extend({numCol:4},t);return this.each((function(){$this=e(this),$this.find(".separator").remove(),$this.find("> *:nth-child("+i.numCol+"n)").after('<div class="clearfix separator">')}))}}(jQuery),function(e){e.fn.wrappTableLayout=function(t){var i=e.extend({numCol:4,wrapper:'<div class="table_row">',tableClass:"table_wrapper",cellClass:"table_cell",wrapp:!0},t);return this.each((function(){$this=e(this);var t=$this.find("> *");if($this.is("."+i.tableClass)&&($this.removeClass(i.tableClass),t.removeClass(i.cellClass),t.find("> *").unwrap(),t=$this.find("> *")),i.wrapp){$this.addClass(i.tableClass),t.addClass(i.cellClass);for(var n=0,o=t.length;n<o;n+=i.numCol)t.slice(n,n+i.numCol).wrapAll(i.wrapper)}}))}}(jQuery);var IAI_Ajax={Request:function(_url,pd,fun){$.ajax({type:"POST",url:_url,data:pd}).done((function(responseText){fun&&fun.onSuccess&&(fun.arg?eval(fun.onSuccess+"('"+responseText+"', '"+fun.arg+"');"):eval(fun.onSuccess+"('"+responseText+"');"))}))}};app_shop.fn.addFocused=function(e,t){const i=t?$(t):$(this);(i.next().hasClass("control-label")||i.next().hasClass("f-label"))&&(""!=i.val()?i.addClass("focused"):i.removeClass("focused"))},$.fn.textWidth=function(e,t){return $.fn.textWidth.fakeEl||($.fn.textWidth.fakeEl=$("<span>").hide().appendTo(document.body)),$.fn.textWidth.fakeEl.text(e||this.val()||this.text()).css("font",t||this.css("font")),$.fn.textWidth.fakeEl.width()};const loadImageFromInput=e=>new Promise(((t,i)=>{const n=(window.URL||window.webkitURL).createObjectURL(e),o=new Image;o.onload=()=>t({width:o.width,height:o.height}),o.onerror=i,o.src=n}));(function(){$.fn.fancyList=function(e){var t;return t=$.extend({forceMobile:!0,buildHTML:!0,fnClick:function(){},fnItemClick:function(){}},e),!!navigator.userAgent.match(/Mobile|webOS/i),isiOS=!!navigator.userAgent.match(/iP(hone|od|ad)/i),this.each((function(){var e,i,n,o,r,a;a=$(this),i=a.find("ul.options"),a.prepend('<select class="fancified">'),n=a.find("select.fancified"),i.find("li").each((function(e,t){var i=(t=$(t)).data("title")||t.html();return n.append('<option value="'+t.attr("data-value")+'">'+i+"</option>")})),n.addClass("fancified"),n.css({width:1,height:1,display:"block",position:"absolute",top:0,left:0,opacity:0}
2),o=a.find(".trigger"),(e=n.prop("disabled"))&&a.addClass("disabled"),r=function(){return o.find("span").length?o.find("span").text(n.find(":selected").text()):o.text(n.find(":selected").text())},a.mouseenter((function(){o.addClass("hover")})),a.mouseleave((function(){o.removeClass("hover")})),n.on("blur",(function(){return o.hasClass("hover")?n.focus():o.hasClass("open")?setTimeout((function(){return o.trigger("close")}),120):void 0})),o.on("close",(function(){return o.removeClass("open"),i.removeClass("open")})),o.on("click",(function(){var r;if(t.fnClick(o,n),!e){if(o.toggleClass("open"),o.hasClass("open")&&((r=o.parent()).offsetParent(),r.offset().top+r.outerHeight()+i.outerHeight()+20>$(window).height()?i.addClass("overflowing"):i.removeClass("overflowing")),i.toggleClass("open"),!isiOS)return n.focus();i.hasClass("open")?($("div.fancy-select div.trigger.open").removeClass("open"),$("div.fancy-select ul.options.open").removeClass("open"),i.addClass("open"),o.addClass("open")):($("div.fancy-select div.trigger.open").removeClass("open"),$("div.fancy-select ul.options.open").removeClass("open"))}})),n.on("enable",(function(){return n.prop("disabled",!1),a.removeClass("disabled"),e=!1,undefined()})),n.on("disable",(function(){return n.prop("disabled",!0),a.addClass("disabled"),e=!0})),n.on("change",(function(e){return e.originalEvent&&e.originalEvent.isTrusted?e.stopPropagation():r()})),n.on("keydown",(function(e){var t,n,r;if(r=e.which,(t=i.find(".hover")).removeClass("hover"),i.hasClass("open")){if(38===r?(e.preventDefault(),t.length&&t.index()>0?t.prev().addClass("hover"):i.find("li:last-child").addClass("hover")):40===r?(e.preventDefault(),t.length&&t.index()<i.find("li").length-1?t.next().addClass("hover"):i.find("li:first-child").addClass("hover")):27===r?(e.preventDefault(),o.trigger("click")):13===r||32===r?(e.preventDefault(),t.trigger("click")):9===r&&o.hasClass("open")&&o.trigger("close"),(n=i.find(".hover")).length)return i.scrollTop(0),i.scrollTop(n.position().top-12)}else if(13===r||32===r||38===r||40===r)return e.preventDefault(),o.trigger("click")})),i.on("click","li",(function(){return t.fnItemClick($(this)),o.removeClass("hover"),isiOS?n.val($(this).data("value")).trigger("change").trigger("blur").trigger("focus"):n.val($(this).data("value")).trigger("change").trigger("blur"),!1})),i.on("mouseenter","li",(function(){var e;return e=$(this),i.find(".hover").removeClass("hover"),e.addClass("hover")})),i.on("mouseleave","li",(function(){return i.find(".hover").removeClass("hover")}))}))}}).call(this),function(){var e;(e=window.jQuery||window.Zepto||window.$).fn.fancySelect=function(t){var i,n;return null==t&&(t={}),n=e.extend({forceiOS:!0,includeBlank:!1,optionTemplate:function(e){return e.text()},triggerTemplate:function(e){return e.text()}},t),i=!!navigator.userAgent.match(/iP(hone|od|ad)/i),this.each((function(){var t,o,r,a,s,l,c;if(!(a=e(this)).hasClass("fancified")&&"SELECT"===a[0].tagName)return a.addClass("fancified"),a.css({width:1,height:1,display:"block",position:"absolute",top:0,left:0,opacity:0}),a.wrap('<div class="fancy-select">'),c=a.parent(),a.data("class")&&c.addClass(a.data("class")),c.append('<div class="trigger">'),i&&!n.forceiOS||c.append('<ul class="options">'),s=c.find(".trigger"),r=c.find(".options"),(o=a.prop("disabled"))&&c.addClass("disabled"),l=function(){var e;return e=n.triggerTemplate(a.find(":selected")),s.html(e)},a.on("blur.fs",(function(){if(s.hasClass("open"))return setTimeout((function(){return s.trigger("close.fs")}),120)})),s.on("close.fs",(function(){return s.removeClass("open"),r.removeClass("open")})),s.on("click.fs",(function(){var t;if(!o)if(s.toggleClass("open"),i&&!n.forceiOS){if(s.hasClass("open"))return a.focus()}else if(s.hasClass("open")&&((t=s.parent()).offsetParent(),t.offset().top+t.outerHeight()+r.outerHeight()+20>e(window).height()+e(window).scrollTop()?r.addClass("overflowing"):r.removeClass("overflowing")),r.toggleClass("open"),!i)return a.focus()})),a.on("enable",(function(){return a.prop("disabled",!1),c.removeClass("disabled"),o=!1,t()})),a.on("disable",(function(){return a.prop("disabled",!0),c.addClass("disabled"),o=!0})),a.on("change.fs",(function(e){return e.originalEvent&&e.originalEvent.isTrusted?e.stopPropagation():l()})),a.on("keydown",(function(e){var t,i,n;if(n=e.which,(t=r.find(".hover")).removeClass("hover"),r.hasClass("open")){if(38===n?(e.preventDefault(),t.length&&t.index()>0?t.prev().addClass("hover"):r.find("li:last-child").addClass("hover")):40===n?(e.preventDefault(),t.length&&t.index()<r.find("li").length-1?t.next().addClass("hover"):r.find("li:first-child").addClass("hover")):27===n?(e.preventDefault(),s.trigger("click.fs")):13===n||32===n?(e.preventDefault(),t.trigger("click.fs")):9===n&&s.hasClass("open")&&s.trigger("close.fs"),(i=r.find(".hover")).length)return r.scrollTop(0),r.scrollTop(i.position().top-12)}else if(13===n||32===n||38===n||40===n)return e.preventDefault(),s.trigger("click.fs")})),r.on("click.fs","li",(function(t){var n;if(!(n=e(this)).is(".fs-disabled"))return a.val(n.data("raw-value")),i||a.trigger("blur.fs").trigger("focus.fs"),r.find(".selected").removeClass("selected"),n.addClass("selected"),s.addClass("selected"),a.val(n.data("raw-value")).trigger("change.fs").trigger("blur.fs").trigger("focus.fs")})),r.on("mouseenter.fs","li",(function(){var t;return t=e(this),r.find(".hover").removeClass("hover"),t.addClass("hover")})),r.on("mouseleave.fs","li",(function(){return r.find(".hover").removeClass("hover")})),t=function(){if(l(),!i||n.forceiOS)return a.find("option"),a.find("option").each((function(t,i){var o;if(!(i=e(i)).prop("disabled")&&(i.val()||n.includeBlank))return o=n.optionTemplate(i),i.prop("selected")?r.append('<li data-raw-value="'+i.val()+'" class="selected">'+o+"</li>"):i.is(".disabled")?r.append('<li class="fs-disabled" data-raw-value="'+i.val()+'">'+o+"</li>"):r.append('<li data-raw-value="'+i.val()+'">'+o+"</li>")}))},a.on("update.fs",(function(){return c.find(".options").empty(),t()})),t()}))}}.call(this),function(e){var t,i,n="center",o="left",r="right",a="auto";function s(t){this.$element=e(t),this.original_text=this.$element.html(),this.settings=e.extend({},e.fn.trunk8.defaults)}function l(){var t,n,o,r,s=this.data("trunk8"),l=s.settings,c=l.width,d=l.side,p=l.fill,u=i.getLineHeight(this)*l.lines,h=s.original_text,f=h.length,m="";if(this.html(h),c===a){if(this.height()<=u)return;for(t=0,n=f-1;t<=n;)o=t+(n-t>>1),r=i.eatStr(h,d,f-o,p),this.html(r),this.height()>u?n=o-1:(t=o+1,m=m.length>r.length?m:r);this.html(""),this.html(m),l.tooltip&&this.attr("title",h)}else isNaN(c)?e.error('Invalid width "'+c+'".'):(o=f-c,r=i.eatStr(h,d,o,p),this.html(r),l.tooltip&&this.attr("title",h))}s.prototype.updateSettings=function(t){this.settings=e.extend(this.settings,t)},t={init:function(t){return this.each((function(){var i=e(this),n=i.data("trunk8");n||i.data("trunk8",n=new s(this)),n.updateSettings(t),l.call(i)}))},update:function(t){return this.each((function(){var i=e(this);t&&(i.data("trunk8").original_text=t),l.call(i)}))},revert:function(){return this.each((function(){var t=e(this).data("trunk8").original_text;e(this).html(t)}))},getSettings:function(){return this.get(0).data("trunk8").settings}},i={eatStr:function(t,a,s,l){var c,d,p=t.length,u=i.eatStr.generateKey.apply(null,arguments);if(i.eatStr.cache[u])return i.eatStr.cache[u];
2if("string"==typeof t&&0!==p||e.error('Invalid source string "'+t+'".'),s<0||s>p)e.error('Invalid bite size "'+s+'".');else if(0===s)return t;switch("string"!=typeof(l+"")&&e.error("Fill unable to be converted to a string."),a){case r:return i.eatStr.cache[u]=e.trim(t.substr(0,p-s))+l;case o:return i.eatStr.cache[u]=l+e.trim(t.substr(s));case n:return c=p>>1,d=s>>1,i.eatStr.cache[u]=e.trim(i.eatStr(t.substr(0,p-c),r,s-d,""))+l+e.trim(i.eatStr(t.substr(p-c),o,d,""));default:e.error('Invalid side "'+a+'".')}},getLineHeight:function(t){var i,n=e(t),o=n.css("float"),r=n.css("position"),a=n.html(),s="line-height-test";return"none"!==o&&n.css("float","none"),"absolute"===r&&n.css("position","static"),n.html("i").wrap('<div id="'+s+'" />'),i=e("#"+s).innerHeight(),n.html(a).css({float:o,position:r}).unwrap(),i}},i.eatStr.cache={},i.eatStr.generateKey=function(){return Array.prototype.join.call(arguments,"")},e.fn.trunk8=function(i){return t[i]?t[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void e.error("Method "+i+" does not exist on jQuery.trunk8"):t.init.apply(this,arguments)},e.fn.trunk8.defaults={fill:"…",lines:1,side:r,tooltip:!0,width:a}}(jQuery);var responsiveSwitch=function(){var e=parseInt(window.responsiveSwitchBreakpoint)||1024,t="ResponsiveSwitch",i="content",n="data-rs",o="data-link-desktop",r="data-link-responsive",a="data-always-visible",s="rs-link",l="rs-link-to-desktop",c="rs-link-to-responsive",d="rs-link-inactive",p="rs-link-active";function u(){var o=document.querySelector('meta[name="viewport"]');return null==o.getAttribute(n)&&o.setAttribute(n,o.getAttribute(i)),o.getAttribute(i)==o.getAttribute(n)?(document.cookie=t+"=true;path=/",document.documentElement.clientWidth!=window.innerWidth?document.location.href=w():o.setAttribute(i,"width="+e+"px, initial-scale="+document.documentElement.clientWidth/e)):(document.cookie=t+"=false;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT",document.documentElement.clientWidth!=window.innerWidth?document.location.href=w():o.setAttribute(i,o.getAttribute(n))),!1}var h=!1;function f(){for(var t=document.querySelectorAll("."+s),i=0;i<t.length;i++){var n=t[i];null!=n&&(v(n,c),v(n,l),v(n,d),v(n,p),_()?(g(n,c),g(n,p),n.innerHTML=n.getAttribute(r)):document.documentElement&&(document.documentElement.clientWidth<e||"true"==n.getAttribute(a))?(g(n,l),g(n,p),n.innerHTML=n.getAttribute(o)):(g(n,d),n.innerHTML=""),h||n.addEventListener("click",(function(e){(e=e||window.event).preventDefault(),m()}),!1))}h=!0}function m(){u(),f()}function _(){return document.cookie.search(t+"=true")>-1}function g(e,t){e.className+=" "+t}function v(e,t){e.className=" "+e.className+" ",e.className=e.className.replace(" "+t+" ","")}function w(){var e=(new Date).getTime();return document.location.protocol+"//"+document.location.host+document.location.pathname+(window.location.search?window.location.search+"&":"?")+"rsTimestamp="+e+document.location.hash}return _()&&u(),document.addEventListener&&(document.addEventListener("DOMContentLoaded",f,!1),document.addEventListener("orientationchange",f,!1),window.addEventListener("resize",f,!1)),{toggle:m}}();function procesArrayFunctions(e){var t,i;for(t=0,i=e.length;t<i;t++){$(e[t][1]).length&&e[t][0]($(e[t][1]))}}$.fn.maxHeightO=function(){var e=0;return this.each((function(){e=Math.max(e,$(this).outerHeight())})),e},$.fn.maxHeight=function(){var e=0;return this.height("auto"),this.each((function(){e=Math.max(e,$(this).outerHeight())})),this.height(e),this};var setMobileClass=function(){$("[data-tablet-class]").each((function(){$(this).removeClass($(this).attr("data-tablet-class"))})),$("[data-mobile-class]").each((function(){$(this).addClass($(this).attr("data-mobile-class"))})),$("html").addClass("_mobile")},setTabletClass=function(){$("[data-mobile-class]").each((function(){$(this).removeClass($(this).attr("data-mobile-class"))})),$("[data-tablet-class]").each((function(){$(this).addClass($(this).attr("data-tablet-class"))})),$("html").removeClass("_mobile")};app_shop.fn.replaceSelects=function(e,t,i){e.each((function(e){var n=$(this),o=e;$selectValue=n.val(),$selectName=n.attr("name"),$labelName="",n.data("label")&&($labelName="
2<b>"+n.data("label")+"</b>"),$ul=$('<div class="dropdown dropdownsearching form-group '+n.attr("class")+'"><ul class="dropdown-menu" aria-labelledby="'+t+o+'"></ul></div>'),n.children().each((function(e){var t=$(this);$li=$("<li>");var i=new Array;if($.each(t.data(),(function(e,t){var n="data-"+e+"="+t;i.push(n)})),i.length)var n=i.join(" ");else n="";$('<a data-index="'+e+'" '+n+">").attr("href","#"+t.attr("value")).attr("data-value",t.attr("value")).text(t.text()).addClass($selectValue==t.attr("value")?"selected":"").appendTo($li),$li.appendTo($ul.find("ul")),t.attr("class")&&$li.addClass(t.attr("class")),t.attr("data-price")&&$li.attr("data-price",t.attr("data-price"))})),$ul.prepend('<button id="'+t+o+'" class="form-control dropdown-toggle" data-indexcurrent="0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'+$labelName+"<span>"+n.find("option:selected").text()+"</span></button>").prepend('<input class="select_hidden searching_ajax" type="hidden" name="'+$selectName+'" value="'+$selectValue+'" />'),i&&$ul.find("li").on("click.option",(function(){i($(this))})),n.replaceWith($ul)}))},app_shop.fn.dropdownClick=function(e){var t=e.find("a"),i=t.data("value"),n=t.html(),o=e.parents(".dropdown");o.find("input").val(i),o.find("button span").html(n),o.find(".selected").removeClass("selected"),t.addClass("selected")},app_shop.fn.dropdown=function(e,t,i){e.each((function(e){var n=$(this),o=e;$selectValue=n.val(),$selectName=n.attr("name"),$labelName="",n.data("label")&&($labelName="<b>"+n.data("label")+"</b>"),$ul=$('<div class="f-dropdown f-group '+n.attr("class")+'"><ul class="f-dropdown-menu" aria-labelledby="'+t+o+'"></ul></div>'),n.children().each((function(e){var t=$(this);$li=$("<li>");var i=new Array;if($.each(t.data(),(function(e,t){var n="data-"+e+"="+t;i.push(n)})),i.length)var n=i.join(" ");else n="";$('<a data-index="'+e+'" '+n+">").attr("href","#"+t.attr("value")).attr("data-value",t.attr("value")).text(t.text()).addClass($selectValue==t.attr("value")?"selected":"").appendTo($li),$li.appendTo($ul.find("ul")),t.attr("class")&&$li.addClass(t.attr("class")),t.attr("data-price")&&$li.attr("data-price",t.attr("data-price"))})),$ul.prepend('<button id="'+t+o+'" class="f-control f-dropdown-toggle" data-indexcurrent="0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'+$labelName+"<span>"+n.find("option:selected").text()+"</span></button>").prepend('<input class="select_hidden searching_ajax" type="hidden" name="'+$selectName+'" value="'+$selectValue+'" />'),i&&$ul.find("li").on("click.option",(function(){i($(this))})),n.replaceWith($ul)}))},app_shop.fn.clickDropdown=function(e,t){var i=e.find("a"),n=i.data("value"),o=i.html(),r=e.parents(".f-dropdown");e.parents("form");r.find("input").val(n),r.find("button span").html(o),r.find(".selected").removeClass("selected"),i.addClass("selected"),t&&e.parents("form").submit()},$.fn.setHeight=function(e){var t=Math.round(e.outerWidth(!0)/e.children().outerWidth(!0)),i=e.children().length;if(t>0)for(var n=0;n<i;n+=t){var o=e.children().slice(n,n+t);o.find(this).length&&(o=o.find(this)),o.removeAttr("style"),o.css("min-height",o.maxHeightO())}};const SelectToDropdown=function(e){return this.params=e,this.init=()=>{const{selector:e,generateDropdownCallback:t,clickDropdownCallback:i,afterClickDropdownCallback:n,disableMobileView:o}=this.params;this.selects=document.querySelectorAll(e),this.generateDropdownCallback=t,this.clickDropdownCallback=i,this.afterClickDropdownCallback=n,this.disableMobileView=o,this.selects.length&&(this.generateDropdown(),document.addEventListener("click",this.closeDropdown))},this.generateDropdown=()=>{this.selects.forEach((e=>{const t=`<div class="f-dropdown f-group ${e.getAttribute("class")} ${this.disableMobileView?"--disable-mobile-view":""}"><button type="button"class="f-control f-dropdown-toggle${e.hasAttribute("disabled")?" --disabled":""}"data-indexcurrent="${e.options[e.selectedIndex].index}">${e.hasAttribute("data-label")?`<strong class="f-dropdown-label">${e.getAttribute("data-label")}</strong>`:""}<span class="f-dropdown-button">${e.options[e.selectedIndex].text}</span></button><ul class="f-dropdown-menu">${[...e.querySelectorAll("option")].map(((e,t)=>`<li class="f-dropdown-li${e.hasAttribute("class")?` ${e.getAttribute("class")}`:""}"><a class="f-dropdown-item${e.selected?" --selected":""}"href="#${e.getAttribute("value")}"data-index="${t}"data-value="${e.getAttribute("value")}"${Object.keys(e.dataset).map((t=>`data-${t}="${e.dataset[t]}"`)).join("")}>${e.innerHTML}</a></li>`)).join("")}</ul></div>`,i=document.createElement("div");i.innerHTML=t;const n=i.firstChild;e.insertAdjacentElement("afterend",n),n.insertBefore(e,n.firstChild),Object.values(e.classList).forEach((t=>e.classList.replace(t,`${t}-select`))),this.openDropdown(n),this.clickDropdown(n),this.disableMobileView||this.mobileView(n),this.generateDropdownCallback&&this.generateDropdownCallback(n)}))},this.mobileView=e=>{e.querySelector("select").addEventListener("change",(function(){const t=this.selectedIndex;e.querySelectorAll(".f-dropdown-li").forEach((e=>{parseInt(e.querySelector(".f-dropdown-item").getAttribute("data-index"),10)===t&&e.click()}))}))},this.openDropdown=e=>{e.querySelector("button.f-dropdown-toggle").addEventListener("click",(function(e){if(e.preventDefault(),this.classList.contains("--disabled"))return!1;this.parentNode.classList.toggle("--open")}))},this.closeDropdown=e=>{document.querySelectorAll(".f-dropdown").forEach((t=>!!t.classList.contains("--open")&&((!e||"click"!==e.type||t===e||!t.contains(e.target))&&void t.classList.remove("--open"))))},this.clickDropdown=e=>{if(this.clickDropdownCallback)this.clickDropdownCallback(e);else{const t=this.afterClickDropdownCallback;e.querySelectorAll(".f-dropdown-li").forEach((i=>{i.addEventListener("click",(function(i){i.preventDefault();const n=this.querySelector(".f-dropdown-item"),o=e.querySelectorAll(".f-dropdown-item"),r=n.getAttribute("data-index"),a=n.innerHTML,s=e.querySelector("select"),l=e.querySelector("button.f-dropdown-toggle"),c=l.querySelector(".f-dropdown-button");o.forEach((e=>e.classList.remove("--selected"))),n.classList.add("--selected"),s.selectedIndex=r,c.innerHTML=a,l.setAttribute("data-indexcurrent",n.getAttribute("data-index")),e.classList.remove("--open"),t&&t(this)}))}))}},this.init()};app_shop.fn.changeLiteral=(e,t,i)=>{const n=e%10,o=e%100,r=[];return!0!==i&&r.push(e),1===e&&t[1]?r.push(t[1]):(0===e||n>=0&&n<=1||n>=5&&n<=9||o>10&&o<20)&&t[0]?r.push(t[0]):(o<10||o>20)&&n>
2=2&&n<=4&&t[2]&&r.push(t[2]),r.join(" ")};var Basketedit={getValues:function(e){var t=e.attr("data-amount"),i=e.attr("data-unit_sellby"),n=e.attr("data-unit");return{precision:e.attr("data-unit_precision"),unit_sellby:i,unit:n,amount:t,max_q:e.attr("data-max_q"),max_s:e.attr("data-max_s"),min_q:e.attr("data-min_q"),min_s:e.attr("data-min_s")}},roundNumber:function(e,t){return num=parseFloat(e),result=Math.abs(num.toFixed(t)),result},if_isanumber:function(e,t){return isNaN(e)?1:1==t?e:t},sellby_recount:function(e,t,i){return"up"==i?e*t:Math.round(i/t)*t},number_check:function(e){var t=e,i=Basketedit.getValues(e),n=parseFloat(i.unit_sellby),o=parseFloat(i.precision),r=parseFloat(i.amount),a=i.unit,s=parseFloat(t.val());if(s<0)return t.val(0),!1;s=parseFloat(s);var l=parseFloat(i.max_q),c=parseFloat(i.max_s),d=parseFloat(i.min_q),p=parseFloat(i.min_s);if(!$.isNumeric(s)||s<=n){if(isNaN(l)&&isNaN(c)&&isNaN(d)&&isNaN(p))return t.val(n.toFixed(o)),!0;n=n.toFixed(o)}number=Math.floor(s/n)*n,number=(s/n*n-number).toFixed(o+1)>0?(1*number+n).toFixed(o):number.toFixed(o),number=parseFloat(number);var u=r,h=n,f=-1;if(!isNaN(l)){f=(f=l-(f=$.map($("."+t.attr("class")),(function(e){return parseFloat($(e).val())})).reduce((function(e,t){return e+t}))))<0?"end":f;var m=$("."+t.attr("class")).not(t);m.length&&l-$.map(m,(function(e){return parseFloat($(e).val())})).reduce((function(e,t){return e+t})),u=u>l?l:u}return isNaN(c)||(u=u>c?c:u),isNaN(d)||(h=d>h?d:h),isNaN(p)||(h=p>h?p:h),-1!=u&&(h=u>h?h:n),h&&number<h?(Alertek.show_alert(Projector_txt_minimalnie+" "+Math.ceil(parseFloat(h)/n)*n+" "+a),t.val(Math.ceil(parseFloat(h)/n)*n),!0):"end"==f?(Alertek.show_alert(Projector_txt_maksymalnie+" "+Math.floor(parseFloat(l)/n)*n+" "+a),t.val(Math.floor(parseFloat(l)/n)*n),!0):number>u&&-1!=u?(Alertek.show_alert(Projector_txt_maksymalnie+" "+Math.floor(parseFloat(u)/n)*n+" "+a),t.val(Math.floor(parseFloat(u)/n)*n),!0):(t.val(number),!0)}};function change_link_compare(){$(".compare__item").each((function(){var e=$
2(this),t=e.data("link"),i=e.data("remove_link");1===app_shop.vars.view?e.attr("href",i):e.attr("href",t)}))}app_shop.vars.show_description=window.Literals.readMore,app_shop.vars.hide_description=window.Literals.readLess,app_shop.fn.categoryDivider=function(e){var t=e||".search_categoriesdescription_sub",i=$(t).children(),n=void 0!==app_shop.vars.categorySize?app_shop.vars.categorySize:512;return i.length>1&&!$(t).parent().find(".search_categoriesdescription_next").length&&0!==n&&($.each(i,(function(e,i){var o=-1*(n-i.innerText.length);n-i.innerText.length<=0&&o>=n&&($(t).parent().find(".search_categoriesdescription_next").length||$(t).after('<div class="search_categoriesdescription_next cm"><a class="show_description pt-3">'+app_shop.vars.show_description+"</a></div>"),$(i).appendTo($(t).parent().find(".search_categoriesdescription_next"))),n-=i.innerText.length})),app_shop.vars.hide_description&&$(t).parent().find(".search_categoriesdescription_next").after('<a class="hide_description pb-3">'+app_shop.vars.hide_description+"</a>")),$(t).removeClass("skeleton"),$(t).parent().removeClass("--skeleton"),!1},$.fn.inView=function(){return $(window).scrollTop()+$(window).height()+100>$(this).position().top},app_shop.fn.sesion2link=function(){var e=$.cookie("client"),t=new RegExp("[\\?&]client=([^&#]*)");if(!e||$.isEmptyObject(app_shop.vars.sites)||!app_shop.vars.session_share||"true"!=app_shop.vars.session_share)return!1;$('a[href*="http://"],a[href*="https://"],a[href^="//"]').each((function(){if(-1!=$.inArray(this.hostname,app_shop.vars.sites)){var i=$(this).get(0),n=i.href;null==t.exec(n)&&(-1!=n.indexOf("?")?i.pathname+="&client="+e:i.pathname+="?client="+e)}}))},app_shop.run((function(){var triggerDialogShow=function(elem,triggerType){switch(triggerType){case"auto":$(elem.attr("data-dialog-content")).dialog({wrappContent:!0,beforeShow:eval(elem.attr("data-dialog-beforeShow"))()});break;case"click":elem.on("click",(function(){$(elem.attr("data-dialog-content")).dialog({wrappContent:!0,beforeShow:eval(elem.attr("data-dialog-beforeShow"))($(this))})}))}};
2$("[data-dialog-start]").each((function(){var e=$(this),t=e.attr("data-dialog-start");t.indexOf("|")>-1?$.each(t.split("|"),(function(t,i){triggerDialogShow(e,i)})):triggerDialogShow(e,t)}))}),"all","body"),app_shop.run((function(){$("[data-tablet-class]").each((function(){$(this).removeClass($(this).attr("data-tablet-class"))})),$("[data-mobile-class]").each((function(){$(this).removeClass($(this).attr("data-mobile-class"))})),$("html").removeClass("_mobile")}),[3,4],"body",!0),app_shop.run((function(){setTabletClass()}),2,"body",!0),app_shop.run((function(){setMobileClass()}),1,"body",!0),app_shop.run((function(){$("img.b-lazy").parents("a").addClass("loading"),app_shop.vars.bLazy=new Blazy({breakpoints:[{width:420,src:"data-src-small"}],success:function(e){$(e).parents(".loading").removeClass("loading"),$("#main_banner1 .main_slider.slick-slider").length&&($("#main_banner1 .main_slider").find(".slick-slide").height("auto"),$("#main_banner1 .main_slider").slick("setOption","","",!0))}}),$(".form-group .form-control, .f-group .f-control").on("change input focus blur",app_shop.fn.addFocused),setTimeout((()=>{$(".form-group .form-control, .f-group .f-control").each(app_shop.fn.addFocused)}),500),$(".f-group.--file .f-control").on("change",(function(){var e=$
2(this),t=e.siblings(".f-label");e.val().length?(t.addClass("--file"),t.attr("data-label")||t.attr("data-label",t.text()),t.text(e.val())):(t.removeClass("--file"),t.text(t.attr("data-label")))})),$(".drop_down_label").append(" <span>"),$(".drop_down_list > .active").each((function(){$(this).parents(".drop_down_wrapper").find(".drop_down_label span").html($(this).html())})),$(document).on("click touchstart",".drop_down_label",(function(){$(this).toggleClass("open_list"),$(this).next(".drop_down_list").slideToggle()})),$(document).on("click",".drop_down_list > *",(function(){$(this).parents(".drop_down_wrapper").find(".drop_down_label span").text($(this).text()),$(this).parents(".drop_down_wrapper").find(".drop_down_label").removeClass("open_list"),$(this).parents(".drop_down_list").slideUp()})),$("table.ui-responsive").each((function(){if($(this).find("thead th").length)var e=$.map($(this).find("thead tr th"),(function(e,t){return $(e).text()}));else e=$.map($(this).find("thead tr td"),(function(e,t){return $(e).text()}));$(this).find("tbody tr").each((function(){$(this).find("td:first").replaceWith((function(t,i){return e[0]?$("<th/>").html('<b class="ui-table-cell-label">'+e[0]+"</b>"+i):$("<th/>").html(i)}))})),$(this).find("tbody tr").each((function(){$(this).find("td").each((function(t){e[t+1]&&$(this).prepend('<b class="ui-table-cell-label">'+e[t+1]+"</b>")}))}))})),$(".align_row").iai_align(),$("body").append($("#alert_cover")),$("body").backTop({txt:'<i class="icon-chevron-up"></i>'});let e=window.visualViewport?.01*window.visualViewport.height:.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`),window.visualViewport?window.visualViewport.addEventListener("resize",(function(){e=.01*window.visualViewport.height,document.documentElement.style.setProperty("--vh",`${e}px`)})):window.addEventListener("resize",(()=>{e=.01*window.innerHeight,document.documentElement.style.setProperty("--vh",`${e}px`)}))}),"all"),$("html").removeClass("_mobile"),$(document).on("change","input[type=file]",(function(){if(!(window.File&&window.FileReader&&window.FileList&&window.Blob))return!1;const e=this.files[0],{name:t,size:i,type:n}=e||{},[o]=t.split(".").reverse(),r=$(this).data("max_filesize"),a=r&&i<=Number(r),s=app_shop.vars.blacklist_mime&&app_shop.vars.blacklist_mime.includes(n),l=app_shop.vars.blacklist_extension&&app_shop.vars.blacklist_extension.includes(o);let c="";if(s||l&&app_shop.txt.txt_77752_2)c=app_shop.txt.txt_77752_2.format(t);else if(!a&&app_shop.txt.txt_77752_1&&r)c=app_shop.txt.txt_77752_1.format(t,(r/1048576).toFixed(2));else if("opinion_photo"===$(this).attr("name"))if("jpg"!==o&&app_shop.txt.txt_77752_3)c=app_shop.txt.txt_77752_3;else if(app_shop.txt.txt_77752_4){const t=2048,i=1536;loadImageFromInput(e).then((e=>{const{width:n,height:o}=e;(n>t||o>i)&&(c=app_shop.txt.txt_77752_4.format(`${t}x${i}`),$(this).val(""),Alertek.Start(c))})).catch((e=>console.error(e)))}return c?($(this).val(""),Alertek.Start(c),!1):void 0})),app_shop.graphql||(app_shop.graphql={}),app_shop.graphql.getProducts=async e=>{const t=JSON.stringify({query:`query {\n products(${e}) {\n results {\n resultCount\n resultPage\n currentPage\n limitPerPage\n }\n products {\n id\n name\n link\n icon\n iconSmall\n zones\n group {\n name\n versions {\n id\n name\n iconSmall\n link\n }\n }\n price {\n price {\n gross {\n value\n currency\n formatted\n }\n net {\n value\n currency\n formatted\n }\n }\n }\n sizes {\n id\n name\n\t\t\t\t\t\tprice {\n\t\t\t\t\t\t\tprice {\n\t\t\t\t\t\t\t\tgross {\n\t\t\t\t\t\t\t\t\tvalue\
2n\t\t\t\t\t\t\t\t\tcurrency\n\t\t\t\t\t\t\t\t\tformatted\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tnet {\n\t\t\t\t\t\t\t\t\tvalue\n\t\t\t\t\t\t\t\t\tcurrency\n\t\t\t\t\t\t\t\t\tformatted\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n youSavePercent\n\t\t\t\t\t\t}\n }\n }\n }\n }`});try{const e=await fetch(app_shop?.urls?.graphql||"/graphql/v1/",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:t});return await e.json()}catch(e){return console.error("AJAX getProducts() Error:",e),!1}},function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,n){var o,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),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(t,i){return e('<button type="button" />').text(i+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},r.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},e.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=e(i),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,o=e(i).data("slick")||{},r.options=e.extend({},r.defaults,n,o),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=e.proxy(r.autoPlay,r),r.autoPlayClear=e.proxy(r.autoPlayClear,r),r.autoPlayIterator=e.proxy(r.autoPlayIterator,r),r.changeSlide=e.proxy(r.changeSlide,r),r.clickHandler=e.proxy(r.clickHandler,r),r.selectHandler=e.proxy(r.selectHandler,r),r.setPosition=e.proxy(r.setPosition,r),r.swipeHandler=e.proxy(r.swipeHandler,r),r.dragHandler=e.proxy(r.dragHandler,r),r.keyHandler=e.proxy(r.keyHandler,r),r.instanceUid=t++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?e(t).appendTo(o.$slideTrack):n?e(t).insertBefore(o.$slides.eq(i)):e(t).insertAfter(o.$slides.eq(i)):!0===n?e(t).prependTo(o.$slideTrack):e(t).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),o.$slidesCache=o.$slides,o.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var n={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(t=-t),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:t},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:t},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),e({animStart:o.currentLeft}).animate({animStart:t},{duration:o.options.speed,easing:o.options.easing,step:function(e){e=Math.ceil(e),!1===o.options.vertical?(n[o.animType]="translate("+e+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+e+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),t=Math.ceil(t),!1===o.options.vertical?n[o.animType]="translate3d("+t+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+t+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout((function(){o.disableTransition(),i.call()}),o.options.speed))},t.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)i.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,n,o,r,a,s=this;if(n=document.createDocumentFragment(),r=s.$slider.children(),s.options.rows>1){for(a=s.options.slidesPerRow*s.options.rows,o=Math.ceil(r.length/a),e=0;e<o;e++){var l=document.createElement("div");for(t=0;t<s.options.rows;t++){var c=document.createElement("div");for(i=0;i<s.options.slidesPerRow;i++){var d=e*a+(t*s.options.slidesPerRow+i);r.get(d)&&c.appendChild(r.get(d))}l.appendChild(c)}n.appendChild(l)}s.$slider.empty().append(n),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var n,o,r,a=this,s=!1,l=a.$slider.width(),c=window.innerWidth||e(window).width();if("window"===a.respondTo?r=c:"slider"===a.respondTo?r=l:"min"===a.respondTo&&(r=Math.min(c,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(n in o=null,a.breakpoints)a.breakpoints.hasOwnProperty(n)&&(!1===a.originalSettings.mobileFirst?r<a.breakpoints[n]&&(o=a.breakpoints[n]):r>a.breakpoints[n]&&(o=a.breakpoints[n]));null!==o?null!==a.activeBreakpoint?(o!==a.activeBreakpoint||i)&&(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=o):(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=o):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),s=o),t||!1===s||a.$slider.trigger("breakpoint",[a,s])}},t.prototype.changeSlide=function(t,i){var n,o,r=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":o=0===n?r.options.slidesToScroll:r.o
2ptions.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-o,!1,i);break;case"next":o=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+o,!1,i);break;case"index":var s=0===t.data.index?0:t.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
2slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=n.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},t.prototype.getLeft=function(e){var t,i,n,o,r=this,a=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,o=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?o=-1.5:1===r.options.slidesToShow&&(o=-2)),a=i*r.options.slidesToShow*o),r.slideCount%r.options.slidesToScroll!=0&&e+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(e>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(e-r.slideCount))*r.slideWidth*-1,a=(r.options.slidesToShow-(e-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,a=r.slideCount%r.options.slidesToScroll*i*-1))):e+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(e+r.options.slidesToShow-r.slideCount)*r.slideWidth,a=(e+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,a=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),t=!1===r.options.vertical?e*r.slideWidth*-1+r.slideOffset:e*i*-1+a,!0===r.options.variableWidth&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===r.options.centerMode&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow+1),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(r.$list.width()-n.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,n=0,o=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)o.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return o},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(o,r){if(r.offsetLeft-i+e(r).outerWidth()/2>-1*n.swipeLeft)return t=r,!1})),Math.abs(e(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
2parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),n=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){var o=n.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==o&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+o})})),t.$dots.attr("role","tablist").find("li").each((function(o){var r=n[o];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+o,"aria-controls":"slick-slide"+t.instanceUid+r,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=t.currentSlide,r=o+t.options.slidesToShow;o<r;o++)t.$slides.eq(o).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),o=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0}
vendor: 7,114 bytes, line 2
2,100,(function(){n&&(t.attr("srcset",n),o&&t.attr("sizes",o)),t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),r.$slider.trigger("lazyLoaded",[r,t,i])}))},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i])},a.src=i}))}var i,n,o,r=this;if(!0===r.options.centerMode?!0===r.options.infinite?o=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),o=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,o=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,o<=r.slideCount&&o++)),i=r.$slider.find(".slick-slide").slice(n,o),"anticipated"===r.options.lazyLoad)for(var a=n-1,s=o,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)a<0&&(a=r.slideCount-1),i=(i=i.add(l.eq(a))).add(l.eq(s)),a--,s++;t(i),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,n,o,r,a,s=this,l=e("img[data-lazy]",s.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),o=i.attr("data-srcset"),r=i.attr("data-sizes")||s.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),r&&i.attr("sizes",r)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,i,n]),s.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout((function(){s.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,i,n]),s.progressiveLazyLoad())},a.src=n):s.$slider.trigger("allImagesLoaded",[s])},t.prototype.refresh=function(t){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),e.extend(o,o.initials,{currentSlide:i}),o.init(),t||o.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,n,o=this,r=o.options.responsive||null;if("array"===e.type(r)&&r.length){for(t in o.respondTo=o.options.respondTo||"window",r)if(n=o.breakpoints.length-1,r.hasOwnProperty(t)){for(i=r[t].breakpoint;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=r[t].settings}o.breakpoints.sort((function(e,t){return o.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},t.prototype.setCSS=function(e){var t,i,n=this,o={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",o[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(o)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each((function(n,o){t=i.slideWidth*n*-1,!0===i.options.rtl?e(o).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}
2):e(o).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,n,o,r,a=this,s=!1;if("object"===e.type(arguments[0])?(n=arguments[0],s=arguments[1],r="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],o=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)a.options[n]=o;else if("multiple"===r)e.each(n,(function(e,t){a.options[e]=t}));else if("responsive"===r)for(i in o)if("array"!==e.type(a.options.responsive))a.options.responsive=[o[i]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===o[i].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(o[i])}s&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,n,o,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(e).addClass("slick-current"),!0===r.options.centerMode){var a=r.options.slidesToShow%2==0?1:0;t=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e>=t&&e<=r.slideCount-1-t?r.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+e,i.slice(n-t+1+a,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):e===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=r.slideCount-r.options.slidesToShow?r.$slides.slice(e,e+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,n=!0===r.options.infinite?r.options.slidesToShow+e:e,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-e<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,t=o.slideCount;t>o.slideCount-n;t-=1)i=t-1,e(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(t=0;t<n+o.slideCount;t+=1)i=t,e(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},t.prototype.selectHandler=function(t){var i=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)},t.prototype.slideHandler=function(e,t,i){var n,o,r,a,s,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),n=e,l=c.getLeft(n),a=c.getLeft(c.
2currentSlide),c.currentLeft=null===c.swipeLeft?a:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(a,(function(){c.postSlide(n)})):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(a,(function(){c.postSlide(n)})):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),r=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(s=(s=c.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(r),c.fadeSlide(o,(function(){c.postSlide(o)}))):c.postSlide(o),void c.animateHeight();!0!==i?c.animateSlide(l,(function(){c.postSlide(o)})):c.postSlide(o)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,n,o=this;return e=o.touchObject.startX-o.touchObject.curX,t=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(t,e),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,n,o,r,a,s=this;return r=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!s.dragging||s.scrolling||r&&1!==r.length)&&(t=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==r?r[0].pageX:e.clientX,s.touchObject.curY=void 0!==r?r[0].pageY:e.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&a>4?(s.scrolling=!0,!1):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=a),i=s.swipeDirection(),void 0!==e.originalEvent&&s.touchObject.swipeLength>4&&(s.swiping=!0,e.preventDefault()),o=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(o=s.touchObject.curY>s.touchObject.startY?1:-1),n=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(n=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=t+n*o:s.swipeLeft=t+n*(s.$list.height()/s.listWidth)*o,!0===s.options.verticalSwiping&&(s.swipeLeft=t+n*o),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},t.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,n=this,o=arguments[0],r=Array.prototype.slice.call(arguments,1),a=n.length;for(e=0;e<a;e++)if("object"==typeof o||void 0===o?n[e].slick=new t(n[e],o):i=n[e].slick[o].apply(n[e].slick,r),void 0!==i)return i;return n}})),app_shop.run((function(){$(".article__date").each((function(){const e=$(this),t=app_shop.fn.news_data({data:e.text(),month_names:iaical_shortNames,format:"<div>%d</div><span>%m</span>"});t&&e.html(t)}
2))}),"all",".article__date"),$((function(){$(".article_wrapper .datasquare").each((function(){var e=$(this),t=app_shop.fn.news_data({data:e.text(),month_names:iaical_shortNames,format:"<div>%d</div><span>%m</span>"});t&&e.html(t)}))})),app_shop.run((function(){$(".news__date").each((function(){const e=$(this),t=app_shop.fn.news_data({data:e.text(),month_names:iaical_shortNames,format:"<div>%d %m</div><span>%y</span>"});t&&e.html(t)}))}),"all",".news__date"),app_shop.fn.attachCategories=(e,t)=>{$(e).length&&$(e).each((function(){const e=$(this).find(".article__category-list");e.length&&($(this).find(t).before(e),e.removeClass("d-none"))}))},app_shop.fn.replaceDate=(e,t)=>{$(e).length&&$(e).each((function(){const e=$(this).find(t).text().trim(),i=$(this).find(".article__author-time").text().trim();if(!e)return;if(!i)return void $(this).find(t).removeClass("d-none");const n=`${e} - ${i}`;$(this).find(".article__author-time").text(n),$(this).find(`${t}.d-none`).detach()}))},app_shop.run((function(){app_shop.fn.replaceDate(".article",".article__date")}),"all",[".article",".article__date"]),app_shop.run((function(){app_shop.fn.attachCategories(".article",".article__name_wrapper")}),"all",[".article",".article__category-list",".article__name_wrapper"]),app_shop.run((function(){app_shop.fn.replaceDate(".blog__item",".blog__date")}),"all",[".blog__item",".blog__date"]),app_shop.run((function(){app_shop.fn.attachCategories(".blog__item",".blog__name_wrapper")}),"all",[".blog__item",".article__category-list",".blog__name_wrapper"]),app_shop.run((function(){document.querySelector(".aside-toggler").addEventListener("click",(e=>{(document.documentElement.classList.contains("filters_open")||document.documentElement.classList.contains("sidebar_open")||document.documentElement.classList.contains("sorting_open"))&&(document.documentElement.classList.remove("filters_open","sidebar_open","sorting_open"),$("footer #newsletter").after($("#footer_contact")))}))}),"all",".aside-toggler"),function(e){e.fn.backTop=function(t){var i=e.extend({speed:500,txt:"↑",id:"backTop",duration:500},t);e("#"+i.id).remove(),e("body").append("<a id="+i.id+">"+i.txt+"</a>");var n=e("#"+i.id),o=2*e(window).height(),r=i.speed;getRightOffset=function(){var t=10,i=.5*(e(window).width()-e("#container").outerWidth())-2*t;i>=n.outerWidth()&&(t=i-n.outerWidth()+t),n.css("right",t+"px")},getRightOffset(),e(window).on("resize",(function(){getRightOffset()})),e(document).scroll((function(){e(window).scrollTop()>=o?n.fadeIn(r):n.fadeOut(r)})),n.click((function(){e("html, body").animate({scrollTop:0},{duration:i.duration})}))}}(jQuery),app_shop.run((function(){$("header").append($(".breadcrumbs"))}),[3,4],".breadcrumbs"),app_shop.run((function(){$(".breadcrumbsWrapper").before($(".breadcrumbs"))}),[1,2],".breadcrumbs"),app_shop.run((function(){$(".breadcrumbs").on("click","#back_button",(function(){return window.history.back(),!1}))}),"all",".breadcrumbs"),app_shop.run((function(){$(".cm").find("img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),[1,2,3,4]),app_shop.run((function(){change_link_compare()}),[1,2,3,4],".compare__item");var compare_product_item_class="compare__item btn --solid --icon-right icon-x",menu_compare_cache=function(){iaiGet.comparers((function(e){var t=e.Comparers.response,i=t.attributes.count,n=t.product,o=[],r=[],a=[],s=[],l=[];for(var c in n)if(n.hasOwnProperty(c)){var d=n[c];o.push(d.attributes.id),r.push(d.iconsmall),a.push(d.attributes.link),s.push(d.attributes.removelink),l.push(d.name)}var p=$("#menu_compare_product");p.find(".compare__sub").html("");for(var u=0;u<o.length;u++){d=o[u];p.find(".compare__sub").append('<a class="'+compare_product_item_class+'" href="'+s[u]+'" data-remove_link="'+s[u]+'" data-link="'+a[u]+'"><img src="'+r[u]+'" alt="'+l[u]+'"></a>')}i>0&&p.show();var h=p.find(".compare__button.--remove");h.attr("href",h.attr("href").replace("###",o.join(","))),i>1&&p.find(".compare__buttons").show()}))};app_shop.run((function(){"undefined"!=typeof cache_html&&menu_compare_cache()}),"all"),app_shop.run((function(){setTimeout((function(){$.cookie("ck_cook");$.cookie("login")&&($.cookie("ck_cook",!0,{expires:30}),$("#ckdsclmrshtdwn").click())}),500)}),"all","body"),app_shop.run((function(){document.querySelectorAll(".footer_menu__label").forEach((e=>e.addEventListener("click",(t=>{if(app_shop.vars.view>2)return!1;t.preventDefault();const i=e.nextElementSibling;if(e.classList.contains("footer_menu__label--open"))i.style.height="0px",
2i.addEventListener("transitionend",(()=>{e.classList.remove("footer_menu__label--open")}),{once:!0});else{e.classList.add("footer_menu__label--open"),i.style.height="auto";var n=i.clientHeight+"px";i.style.height="0px",setTimeout((()=>{i.style.height=n}),0)}}))))}),"all",".footer_menu__label"),app_shop.run((function(){$("#newsletter form").on("submit",(function(e){const t=$("#newsletter #newsletter__checkbox").is(":checked");t||$("#newsletter label.newsletter__pp-label").addClass("newsletter__pp-label--error");return app_shop.formControl.checkForm($(this))&&t})),$("#newsletter").find("input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("#newsletter #newsletter__checkbox").on("click",(function(){$("#newsletter label.newsletter__pp-label").removeClass("newsletter__pp-label--error")})),$("#newsletter button.add_newsletter").on("click",(function(){return app_shop.formControl.checkForm($(this).parents("form"))}))}),"all","#newsletter"),app_shop.formControl={vars:{minLength:function(e){return app_shop.txt.txt_validation1+e+"."},maxLength:function(e){return app_shop.txt.txt_validation2+e+"."},email:app_shop.txt.txt_validation3,required:app_shop.txt.txt_validation4,bankAccount:app_shop.txt.txt_validation5,phone:app_shop.txt.txt_validation6},patterns:{email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},timeHandle:"",ajaxValidation:function(e,t,i,n,o){var r,a,s,l,c,d;if(a=this,s=e.parent(),l=e.data("validation"),d=e.data("ajaxtype"),r=l+"="+t,e.data("serialize")&&e.data("serialize").indexOf("data-")>-1&&(r+="&"+e.attr(e.data("serialize"))),""==t)return a.clearValidation(s),a.resetRequiredClass(s),!1;"get"==d?$.get(i,r,(function(t){t.errno?("bankAccount"==l&&(c=a.vars.bankAccount),a.addError(e,c),o&&o()):(a.addSuccess(e),n&&n())}),"json"):$.post(i,r,(function(t){t.errno?("bankAccount"==l&&(c=a.vars.bankAccount),a.addError(e,c),o&&o()):(a.addSuccess(e),n&&n())}),"json")},ajaxValidationWithData:function(e,t,i,n){$.post(e,t,(function(e){0!=e.errno?n&&n(e):i&&i(e)}),"json")},validate:function(e,t){var i,n,o,r,a,s,l;if(o=e.parent(),i=e.attr("type"),n=e.val(),this.patterns.email,r=e.attr("minlength"),a=e.attr("maxlength"),s=e.data("validate"),l=e.data("validation-url"),"checkbox"==e.attr("type"))e.is(":checked")?e.parents(".has-feedback, .f-feedback").removeClass("has-error --error").addClass("has-success --success"):e.parents(".has-feedback, .f-feedback").removeClass("has-success --success").addClass("has-error --error");else if(l)this.ajaxValidation(e,n,l);else{if(r){if(n.length<r)return this.addError(e,this.vars.minLength(r)),!1;this.addSuccess(e)}if(a){if(n.length>a)return this.addError(e,this.vars.minLength(a)),!1;this.addSuccess(e)}"email"==i&&this.checkMail(e),s&&"text"==i&&(s.indexOf("phone")>-1||s.indexOf("email")>-1)&&($.isNumeric(n)?n.length<9?this.addError(e,this.vars.phone):this.addSuccess(e):s.indexOf("email")>-1?this.checkMail(e):s.indexOf("phone")>-1&&this.addError(e,this.vars.phone)),n||t||(this.clearValidation(o),this.resetRequiredClass(o))}},checkMail:function(e){e.val().match(this.patterns.email)?this.addSuccess(e):this.addError(e,this.vars.email)},checkForm:function(e,t){var i,n,o;return i=e.find("input.validate:enabled:visible, textarea.validate:enabled:visible, input.--validate:enabled:visible, textarea.--validate:enabled:visible"),e.find('input[type="checkbox"]').not("[disabled]").not(":checked"),!0,!0,o=this,!i.length||(i.each((function(){o.validate($(this),!0)})),this.resetRequiredClass(i),!(n=e.find(".has-error:visible:first, .--error:visible:first")).length||($("html, body").animate({scrollTop:app_shop.vars.view<3?n.offset().top-10-$("header").outerHeight():n.offset().top-10},300),!1))},checkValidateFields:function(e,t){var i=e.find("input.validate:enabled:visible, textarea.validate:enabled:visible, input.--validate:enabled:visible, textarea.--validate:enabled:visible"),n=e.find("input#terms_agree[required]").not("[disabled]").not(":checked"),o=!0;if((that=this,this.resetRequiredClass(i),i.length)&&(i.each((function(){$this=$(this),o=!$.trim($this.val()),$this.is("[required]")&&o&&(that.addError($this),$this.parents(".form-group, .f-group").find(" > div").append('<span class="help-block validate_message text-danger">'+app_shop.txt.txt_validation4+"</span>"),n.each((function(){that.addError($this)})))})),that.resetRequiredClass(e),e.find(".has-error:visible:first, .--error:visible:first").length))return!1;return!0},addSuccess:function(e){this.clearValidation(e.parent()),this.removeErrorInfo(e),(e=e.is("[type=checkbox]")?e.parents("div.checkbox, .--checkbox"):e.parent()).addClass("has-success --success")},addError:function(e,t){this.clearValidation(e.parent()),t&&this.addErrorInfo(e,t),(e=e.is("[type=checkbox]")?e.parents("div.checkbox, .--checkbox"):e.parent()).addClass("has-error --error")},clearValidation:function(e){this.removeErrorInfo(e),e.removeClass("has-success has-error has-required --success --error --required")},resetRequiredClass:function(e){e.find("input.validate[required], input.--validate[required]").parent().not(".has-success,.has-error,.checkbox, .--success, .--error, .--checkbox").addClass("has-required --required")},addErrorInfo:function(e,t){this.removeErrorInfo(e),e.parent().append('<span class="help-block validate_message text-danger">'+t+"</span>")},removeErrorInfo:function(e){e.children(".validate_message").remove()}};const headerBasketUpdate=async()=>{const e=await(async()=>{const e=await fetch("/ajax/basket.php?&getAjax=true");return await e.json()})();if(!e)return!1;const{basket:{products:t,productsCounter:i,shippingCost:n,shippingCost_formatted:o,worth_formatted:r}}=e;if(document.querySelector(".headerBasket__badge").innerText=i>0?i:"",document.querySelector(".headerBasket__price").innerText=r,t.length){document.querySelector(".headerBasket__details")&&document.querySelector(".headerBasket__details").remove();const e=e=>`\n <a class="headerBasket__product mb-2 pb-2" href="${e.link}" title="${e.name}">
2\n <span class="headerBasket__productIcon d-flex align-items-center justify-content-center"><img src="${e.icon}"></span>\n <span class="headerBasket__productName">${e.name}</span>\n <span class="headerBasket__infoWrapper d-flex flex-column">\n ${"uniw"!==e.size?`<span class="headerBasket__productSize">${window.Literals.headerBasket.size} <span>${e.size_name}</span></span>`:""}\n <span class="headerBasket__productCount">${window.Literals.headerBasket.amount} <span>${e.count}</span></span>\n </span>\n <span class="headerBasket__productPrice">${e.prices.worth_gros_formatted}</span>\n </a>\n `,i=t.map((t=>e(t))).join(""),a=`\n <div class="headerBasket__details flex-column p-4">\n <span class="headerBasket__heading mb-3">${window.Literals.headerBasket.heading}</span>\n <div class="headerBasket__detailsProducts d-flex flex-column pr-2 mb-2">${i}</div>\n <div class="headerBasket__shipping d-flex align-items-center justify-content-between mb-2">\n <span>${window.Literals.headerBasket.shippingLabel}</span>\n <span class="headerBasket__value">${"0.00"!==n?o:window.Literals.headerBasket.shippingFree}</span>\n </div>\n <div class="headerBasket__worth d-flex align-items-center justify-content-between mb-3">\n <span>${window.Literals.headerBasket.worthLabel}</span>\n <span class="headerBasket__value">${r}</span>\n </div>\n <a href="/basketedit.php" title="${window.Literals.headerBasket.basketTitle}" class="headerBasket__button btn --solid --large">${window.Literals.headerBasket.basketLink}</a>\n </div>\n `;document.querySelector(".headerBasket").insertAdjacentHTML("beforeend",a)}};app_shop.run((function(){headerBasketUpdate(),app_shop.vars.cache_html&&iaiGet.wishlist((function(e){if(!e.Wishlist.response.attributes)return!1;var t=$("#menu_additional .wishlist_link span"),i=e.Wishlist.response.attributes.count;t.text(i)})),document.querySelector(".headerBasket").classList.remove("headerBasket--cached")}),"all"),app_shop.run((function(){document.querySelector(".navbar__toggler").addEventListener("click",(function(e){e.preventDefault(),document.documentElement.classList.add("sidebar_open"),$("aside").append($("#footer_contact"))})),document.addEventListener("click",(function(e){if(e.target.closest(".navbar__link")&&app_shop.vars.view<3&&document.documentElement.classList.contains("sidebar_open")||e.target.closest(".navbar__link")&&document.documentElement.classList.contains("touch")){if(!e.target.nextElementSibling)return!0;if(e.target.classList.contains("navbar__link--producers"))return!0;if(app_shop.vars.view>2&&e.target.closest(".navbar__subnav"))return!0;app_shop.vars.view>2&&document.querySelectorAll(".navbar__link--open").forEach((t=>t!==e.target&&t.classList.remove("navbar__link--open"))),e.target.classList.toggle("navbar__link--open"),app_shop.vars.view<3&&$(e.target.nextElementSibling).slideToggle(),e.preventDefault()}return!1}))}),"all","#menu_categories"),app_shop.run((function(){document.querySelectorAll(".navbar__subnav, .navbar__subsubnav").forEach((e=>e.removeAttribute("style"))),document.querySelectorAll(".navbar__link--open").forEach((e=>e.classList.remove("navbar__link--open")))}),[3,4],"#menu_categories"),app_shop.txt.hotspot_prev='<i class="icon-arrow-left"></i>',app_shop.txt.hotspot_next='<i class="icon-arrow-right"></i>',app_shop.run((function(){$("[data-ajaxLoad]").length&&(app_shop.fn.hotspotAjaxInit=new HotspotAjaxInit({afterAllHotspotsCallback:()=>{$(".hotspot:not(.--list):not(.--slider):not(.--special)").each((function(){$(this).find(".product__name").setHeight($(this).find(".products")),$(this).find(".product__prices").setHeight($(this).find(".products"))})),app_shop.vars.hotspot_slider=new HotspotSlider({selector:".hotspot.--slider .products:not(.slick-initialized)",callbackBefore:e=>{e.each((function(){$(this).on("init",(function(e){app_shop.fn.multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(e,t,i){app_shop.fn.multiSlideAdaptiveHeight(this)})),$(this).find(".product__name").setHeight($(this)),$(this).find(".product__prices").setHeight($(this))}))}}),app_shop.vars.hotspot_special=new HotspotSpecial({selector:".hotspot.--special .products:not(.slick-initialized)",callbackBefore:e=>{e.each((function(){$(this).on("init",(function(e){app_shop.fn.multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(e,t,i){app_shop.fn.multiSlideAdaptiveHeight(this)}))}))},callbackAfter:e=>{e.each((function(){app_shop.fn.specialSliderGetMediumPhoto(this)}))}})}}))}),"all","body",!0),app_shop.run((function(){$(".hotspot:not(.--list):not(.--slider):not(.--special)").each((function(){$(this).find(".product__name").setHeight($(this).find(".products")),$(this).find(".product__prices").setHeight($(this).find(".products"))}))}),[1,2,3,4],".hotspot"),app_shop.run((function(){app_shop.vars.hotspot_slider=new HotspotSlider({selector:".hotspot.--slider .products:not(.slick-initialized)",callbackBefore:e=>{e.each((function(){$(this).on("init",(function(e){app_shop.fn.multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(e,t,i){app_shop.fn.multiSlideAdaptiveHeight(this)})),$(this).find(".product__name").setHeight($(this)),$(this).find(".product__prices").setHeight($(this))}))}})}),"all",".hotspot.--slider");const HotspotAjaxInit=function(e){const t=this;return this.params=e||{},this.vars={loaded:!1,hotspotElements:document.querySelectorAll("[data-ajaxload=true]")},this.fetchHotspots=async e=>{try{const t=await fetch(e);return await t.json()}catch(e){return console.error("AJAX fetchHotspots() Error:",e),!1}},this.hotspotInView=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(t.vars.loaded||(t.getHotspot(),t.vars.loaded=!0),t.hotspotInView.unobserve(e.target))}))})),this.getHotspot=async()=>{let e="";document.querySelector(".projector_page")&&(e=document.getElementById("projector_product_hidden")&&document.getElementById("projector_product_hidden").value||document.getElementById("projector_form")&&document.getElementById("projector_form").getAttribute("data-product_id")||"");const i=[];document.querySelector(".basketedit_page")&&(document.querySelectorAll(".productslist_item").forEach((e=>{i.push(e.querySelector('input[name*="product"]').value)})),document.querySelectorAll(".basket__block[data-product-id]").forEach((e=>{i.push(e.querySelector('input[name*="product"]').value)})));const n=[...this.vars.hotspotElements].map((e=>e.getAttribute("id"))).join(","),o=`/ajax/hotspots.php?action=get-hotspots-html&zones-names=${n}&components=${n}&zones-types=${[...this.vars.hotspotElements].map((e=>e.getAttribute("data-pagetype"))).join(",")}&product=${e}&products=${i.join(";")}`;
2this.vars.hotspotElements.forEach((e=>{e.classList.add("load-content")}));const r=await this.fetchHotspots(o);r?(this.vars.hotspotElements.forEach((e=>{e.classList.remove("load-content")})),Object.keys(r).forEach((e=>{const i=document.getElementById(e);""!==r[e]?i&&(i.outerHTML=r[e]):i&&i.parentNode.removeChild(i),app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate(),t.afterOneHotspotCallback&&t.afterOneHotspotCallback(i)})),t.afterAllHotspotsCallback&&t.afterAllHotspotsCallback()):this.vars.hotspotElements.forEach((e=>{e.parentNode.removeChild(e)}))},this.init=()=>{const{afterOneHotspotCallback:e,afterAllHotspotsCallback:i}=this.params;this.afterOneHotspotCallback=e||!1,this.afterAllHotspotsCallback=i||!1,this.vars.hotspotElements.forEach((e=>{t.hotspotInView.observe(e)}))},this.init()},HotspotSlider=function(e){return this.isSearchPage=$(".search_page").length,this.params=e,this.defaults={prevArrow:`<a class="hotspot__arrow --prev" href=""><span>${app_shop.txt.hotspot_prev}</span></a>`,nextArrow:`<a class="hotspot__arrow --next" href=""><span>${app_shop.txt.hotspot_next}</span></a>`,dotsClass:"hotspot__dots",arrows:!0,dots:!1,slidesToShow:this.isSearchPage?3:4,slidesToScroll:this.isSearchPage?3:4,responsive:[{breakpoint:1200,settings:{slidesToShow:this.isSearchPage?3:4,slidesToScroll:this.isSearchPage?3:4}},{breakpoint:979,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:757,settings:{slidesToShow:2,slidesToScroll:1,swipeToSlide:!0,arrows:!1}},{breakpoint:550,settings:{slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,arrows:!1}}]},this.init=()=>{const{selector:e,options:t,callbackBefore:i,callbackAfter:n}=this.params;this.settings=_objectSpread({},this.defaults,{},t),this.selector=e,this.slider=$(e),"function"==typeof i&&i(this.slider),this.slider.on("afterChange",(function(){app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate()})),this.slider.slick(this.settings),"function"==typeof n&&n(this.slider)},this.reset=()=>{this.slider&&this.slider.slick("unslick"),this.init(this.params)},this.destroy=()=>{this.slider&&this.slider.slick("unslick")},this.init()};app_shop.fn.multiSlideAdaptiveHeight=e=>{const t=[];let i=0;setTimeout((function(){$(e).addClass("--adaptive"),$(".slick-track .slick-active",e).each((function(e){t[e]=$(this).outerHeight()})),t.forEach((e=>{e>i&&(i=e)})),$(".slick-list",e).height(i)}),10)};const HotspotSpecial=function(e){return this.params=e,this.defaults={prevArrow:`<a class="hotspot__arrow --prev" href=""><span>${app_shop.txt.hotspot_prev}</span></a>`,nextArrow:`<a class="hotspot__arrow --next" href=""><span>${app_shop.txt.hotspot_next}</span></a>`,arrows:!0,dots:!1,slidesToShow:1,slidesToScroll:1,autoplay:!1,responsive:[{breakpoint:979,settings:"unslick"}]},this.init=()=>{const{selector:e,options:t,callbackBefore:i,callbackAfter:n}=this.params;if(this.settings=_objectSpread({},this.defaults,{},t),this.selector=e,this.slider=$(e),app_shop.vars.view<3)return!1;"function"==typeof i&&i(this.slider),this.slider.on("afterChange",(function(){app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate()})),this.slider.slick(this.settings),"function"==typeof n&&n(this.slider)},this.reset=()=>{this.slider&&this.slider.slick("unslick"),this.init(this.params)},this.destroy=()=>{this.slider&&this.slider.slick("unslick")},this.init()};app_shop.fn.specialSliderGetMediumPhoto=e=>{if(app_shop.vars.view<3)return!1;let t=[];$(e).find(".products__group .product:first-of-type").each((function(){t.push($(this).find(".product__icon").attr("data-product-id"))}));const i=[...new Set(t)];t=i.join(",");var n={Product:{}};n.Product.format="json",n.Product.params={},n.Product.params.products=t,$.ajax({type:"POST",url:"/ajax/get.php",dataType:"JSON",data:"request="+JSON.stringify(n)+"&getAjax=true",success:function(t){t.Product.response.product.forEach((t=>{const i=t.attributes.id,n=t.enclosures.images.enclosure[0].attributes.medium;if(n){$(e).find('.products__group .product:first-of-type .product__icon[data-product-id="'+i+'"] img').attr("data-src",n).attr("src","/gfx/pol/loader.gif?r=1614504860").addClass("b-lazy").removeClass("b-loaded")}})),app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate()},error:function(){console.log("error")}})},app_shop.fn.rwdBanner(".platnosci_54388",[1,2,3,4]),app_shop.run((function(){app_shop.fn.searchResults=new SearchResults({resultsLimit:6})}),"all","#menu_search");const searchTxt={};function simple_tooltip(e,t,i){var n="",o="";$(document).on("mouseover",e,(function(){$(this).next().is(".tooltipContent")?n=$(this).next().html():$(this).prop("title")&&(n=$(this).prop("title"),$(this).removeAttr("title")),$("#"+t).remove(),clearTimeout(o),$("body").append("<div style='display:none;' class='"+t+"' id='"+t+"'><p></p></div>"),$("#"+t).hover((function(){clearTimeout(o)}),(function(){$("#"+t).remove()})),""!=n&&" "!=n&&"undefined"!=n&&($("#"+t).find("p").html(n),$("#"+t).fadeIn(400))})),$(document).on("mousemove",e,(function(e){var n,o,r=$(window).scrollTop(),a=$(window).width(),s=15;i||!1?(n=e.pageX-$("#"+t).outerWidth(!0)-s<=0?e.pageX+s:e.pageX-s-$("#"+t).outerWidth(!0),o=r+30>=e.pageY-$("#"+t).height()?r+s:e.pageY-$("#"+t).outerHeight(!0)-s):(n=a-30>=$("#"+t).width()+e.pageX?e.pageX+s:a-$("#"+t).width()-s,o=r+30>=e.pageY-$("#"+t).height()?r+s:e.pageY-$("#"+t).height()-s),$("#"+t).css({left:n,top:o})})),$(document).on("mouseout",e,(function(){$(this).next().is(".tooltipContent")||$(this).prop("title",n),o=setTimeout((function(){$("#"+t).remove()}),500)})),$(document).bind("touchstart",(function(i){0===$(i.target).closest("#"+t).length&&0===$(i.target).closest(e).length&&$("#"+t).length&&$("#"+t).remove()}))}searchTxt.categories=window.Literals.searchAutocomplete.categories,searchTxt.cms=window.Literals.searchAutocomplete.cms,searchTxt.beforeProducer=window.Literals.searchAutocomplete.producers,searchTxt.beforeSeries=window.Literals.searchAutocomplete.series,searchTxt.separator=" / ",SearchResults=function(e){const t=this;return this.params=e||{},this.vars={typingTimer:"",doneTypingInterval:500},this.fetchData=async()=>{const e=this.searchInput.value;
2if(e.length<this.inputLengthToStartSearching)return!1;if(sessionStorage.getItem(`search_${e}`))return JSON.parse(sessionStorage.getItem(`search_${e}`));try{const t=await fetch(`/search.php?xmlType=typeahead&getProductXML=true&json=true&text=${e}&limit=${this.resultsLimit}`),i=await t.json();return sessionStorage.setItem(`search_${e}`,JSON.stringify(i)),i}catch(e){return console.error("AJAX fetchDataSearchResults() Error:",e),!1}},this.openResults=()=>{this.searchInput.closest("form").classList.add("--open"),this.resultsWrapper.scrollTop=0,document.documentElement.classList.add("--results-open"),document.querySelector("#container.main_page")&&document.documentElement.classList.add("--results-main-open")},this.closeResults=()=>{this.searchInput.closest("form").classList.remove("--open"),document.documentElement.classList.remove("--results-open"),document.querySelector("#container.main_page")&&document.documentElement.classList.remove("--results-main-open")},this.buildResult=async()=>{this.searchInput.closest("form").classList.add("--loading");const e=await this.fetchData();if(this.searchInput.closest("form").classList.remove("--loading"),this.resultsWrapper.innerHTML="",e){if(!Object.values(e).filter((e=>e.length)).length)return this.closeResults(),!1;if(this.openResults(),e.searchQueries&&e.searchQueries.length){const t=this.searchInput.value,i=new RegExp(t,"i");this.resultsWrapper.innerHTML+=`<div class="search_result__block --queries">${e.searchQueries.map((e=>`<a class="search_result__item --query"href="${e.link}">${e.name.replace(i,"<b>$&</b>")}</a>`)).join("")}</div>`}Object.keys(e).filter((e=>"searchQueries"!==e)).some((t=>e[t].length))&&(this.resultsWrapper.innerHTML+='<div class="search_result__block --others"></div>',e.products&&e.products.length&&(this.resultsWrapper.querySelector(".search_result__block.--others").innerHTML+=`<div class="search_result__sub --products">${e.products.map((e=>`<a class="search_result__item --product"href="${e.link}"><span class="search_result__icon"><img src="${e.icon_small}"alt="${e.name}"/></span><span class="search_result__name_wrapper"><span class="search_result__name">${e.name}</span><span class="search_result__price">${t.nettoPrice?e.price.price_net_formatted:e.price.price_formatted}</span></span></a>`)).join("")}</div>`),(e.producers&&e.producers.length||e.series&&e.series.length||e.menuNodes&&e.menuNodes.length)&&(this.resultsWrapper.querySelector(".search_result__block.--others").innerHTML+=`<div class="search_result__sub --categories"><strong class="search_result__label">${searchTxt.categories}</strong><div class="search_result__items">${e.producers?e.producers.map((e=>`<a class="search_result__item --producer"href="${e.link}"><span class="search_result__name_label">${searchTxt.beforeProducer}</span><span class="search_result__name">${e.name}</span></a>`)).join(""):""}\n${e.series?e.series.map((e=>`<a class="search_result__item --series"href="${e.link}"><span class="search_result__name_label">${searchTxt.beforeSeries}</span><span class="search_result__name">${e.name}</span></a>`)).join(""):""}\n${e.menuNodes?e.menuNodes.map((e=>`<a class="search_result__item --menu"href="${e.link}"><span class="search_result__name">${e.bc?e.bc.item.map((e=>e.title)).join(searchTxt.separator):e.name}</span></a>`)).join(""):""}</div></div>`),e.cms&&e.cms.length&&(this.resultsWrapper.querySelector(".search_result__block.--others").innerHTML+=`<div class="search_result__sub --cms"><strong class="search_result__label">${searchTxt.cms}</strong><div class="search_result__items">${e.cms.map((e=>`<a class="search_result__item --cms"href="${e.link}"><span class="search_result__name">${e.name}</span></a>`)).join("")}</div></div>`))}else this.closeResults();return this.afterBuildResult&&this.afterBuildResult(e),!0},this.updateSearchInput=()=>{const e=t.resultsWrapper.querySelector(".search_result__item.--active .search_result__name")?t.resultsWrapper.querySelector(".search_result__item.--active .search_result__name").textContent:t.resultsWrapper.querySelector(".search_result__item.--active").textContent;t.searchInput.value=e},this.updateFocusElement=e=>{this.resultsWrapper.querySelectorAll(".search_result__item").forEach((e=>e.classList.remove("--active"))),e.classList.add("--active"),e.focus(),this.updateSearchInput()},this.initEvents=()=>{this.searchInput.addEventListener("keyup",(function(e){const i=e.which||e.keyCode||0;37!==i&&38!==i&&39!==i&&40!==i&&(clearTimeout(t.vars.typingTimer),t.vars.typingTimer=setTimeout(t.buildResult,t.vars.doneTypingInterval),document.querySelector("html._mobile:not(.sidebar_open):not(.--search-open) .main_page")&&window.scrollTo(0,0))}
2)),this.searchInput.addEventListener("keydown",(function(e){const i=e.which||e.keyCode||0;return 37===i||38===i||39===i||40===i||(clearTimeout(t.vars.typingTimer),t.searchInput.closest("form").classList.add("--focus"),!document.querySelector(".--search-open")||13!==i)||(e.preventDefault(),this.closest("form").submit(),!1)})),this.searchInput.addEventListener("focus",(function(){this.closest("form").classList.add("--focus")})),document.addEventListener("scroll",(function(e){window.scrollY>0?document.documentElement.classList.add("--scroll-down"):document.documentElement.classList.remove("--scroll-down")})),document.querySelector(".search_result, .search_result__block").addEventListener("scroll",(function(){app_shop.vars.view<3&&document.activeElement.blur()})),document.addEventListener("keydown",(function(e){if(t.searchInput.closest("form.--open.--focus")){const i=e.which||e.keyCode||0;if(37===i||38===i||39===i||40===i){e.preventDefault();const n=[...t.resultsWrapper.querySelectorAll(".search_result__item")],o=t.resultsWrapper.querySelector(".search_result__item.--query"),r=t.resultsWrapper.querySelector(".search_result__block.--others .search_result__item");switch(i){case 40:{const e=n.indexOf(t.resultsWrapper.querySelector(".search_result__item.--active"));e>-1&&n[e+1]?t.updateFocusElement(n[e+1]):t.updateFocusElement(n[0]);break}case 38:{const e=n.indexOf(t.resultsWrapper.querySelector(".search_result__item.--active"));e>-1&&n[e-1]?t.updateFocusElement(n[e-1]):t.updateFocusElement(n[n.length-1]),t.updateSearchInput();break}case 37:1!==app_shop.vars.view&&o&&r&&t.updateFocusElement(o);break;case 39:1!==app_shop.vars.view&&o&&r&&t.updateFocusElement(r);break;default:return!0}}else 13!==i&&t.searchInput.focus();return!1}})),document.addEventListener("click",(function(e){return e.target.closest(".menu_search__toggler")&&(e.preventDefault(),app_shop.vars.view<3?document.documentElement.classList.add("--search-open"):document.documentElement.classList.toggle("--search-desktop-open"),t.searchInput.focus()),e.target.closest(".menu_search__close")&&(e.preventDefault(),document.documentElement.classList.remove("--search-desktop-open")),e.target.closest(".--search-open .menu_search__submit")&&(e.preventDefault(),document.documentElement.classList.remove("--search-open","--results-main-open")),e.target.closest("header .navbar-toggler")&&document.documentElement.classList.remove("--results-main-open"),t.searchInput.closest("form").classList.contains("--focus")&&!t.searchInput.closest("form").contains(e.target)&&t.searchInput.closest("form").classList.remove("--focus"),!1}))},this.init=()=>{const{searchInput:e,resultsWrapper:t,resultsLimit:i,inputLengthToStartSearching:n,nettoPrice:o,afterBuildResult:r}=this.params;this.searchInput=e?document.querySelector(e):document.querySelector(".menu_search__input"),this.resultsWrapper=t?document.querySelector(t):document.querySelector(".search_result"),this.resultsLimit=i||"",this.inputLengthToStartSearching=n||4,this.nettoPrice=o||!1,this.afterBuildResult=r||!1,this.initEvents()},this.init()},app_shop.run((function(){$(document).on("click",".open_trigger, #menu_settings li:first-child .form-group:first-child > label",(function(){return $("#menu_settings form").toggleClass("active"),!1}))}),"all","#menu_settings"),app_shop.run((function(){app_shop.fn.dropdown($(".s_paging__select"),"s_setting__",(function(e){app_shop.fn.clickDropdown(e,!0)})),$(".s_paging__item.--filters a").on("click",(function(e){return $("html").addClass("filters_open"),e.preventDefault(),!1}))}),"all",".s_paging"),app_shop.run((function(){$(document).on("mouseenter",".no-touch .controls",(function(){$(this).addClass("controls--sizesActive")})).on("mouseleave",".no-touch .controls",(function(){$(this).removeClass("controls--sizesActive")})),$(document).on("change",".controls__size",(function(){$(this).parents(".controls").removeClass("controls--noSizeChoosen"),$("html").hasClass("touch")&&$(this).parents("form").trigger("submit")})),$(document).on("click",".controls__button--buy",(function(){const e=$(this).parents(".controls"),t=e.find('input[type="radio"][name="size"]:checked').val();return $("html").hasClass("touch")?(e.toggleClass("controls--sizesActive"),!1):void 0===t?(e.addClass("controls--noSizeChoosen"),!1):void 0})),$(document).on("submit",".controls__form",(function(){$("body").addClass("load-content")}))}),"all","body"),app_shop.txt.redirectionDisabled="Choose your language and country",app_shop.txt.redirectionOff="true",app_shop.run((function(){const e=new URL(document.location).searchParams,t=document.querySelector(".redirection"),i=t.querySelector(".redirection__button");let n;n="true"===app_shop.txt.redirectionOff,n&&(i.href=i.href+"?redirection=redirected"),e.has("redirection")&&"redirected"===e.get("redirection")?(t.remove(),document.cookie="redirection=closed"):document.cookie.indexOf("redirection=closed")>=0?t.remove():(t.classList.remove("d-none"),t.querySelectorAll(".redirection__language > strong").forEach((e=>{e.addEventListener("click",(()=>{t.querySelectorAll(".redirection__language").forEach((e=>{e.classList.remove("--active")})),e.parentNode.classList.add("--active"),t.querySelectorAll(".redirection__language:not(.--active) input").forEach((e=>{e.checked=!1}
2)),t.querySelectorAll(".redirection__language input:checked").length||i.classList.add("--disabled")}))})),t.querySelectorAll("input").forEach((e=>{e.addEventListener("change",(()=>{i.classList.remove("--disabled"),i.href=e.dataset.link,n&&(i.href=i.href+"?redirection=redirected")}))})),i.addEventListener("click",(e=>{i.classList.contains("--disabled")&&(e.preventDefault(),Alertek.Info(app_shop.txt.redirectionDisabled))})),t.querySelectorAll(".redirection__close, .redirection__background").forEach((e=>{e.addEventListener("click",(()=>{t.remove()}))})),t.querySelectorAll(".redirection__button, .redirection__close, .redirection__background").forEach((e=>{e.addEventListener("click",(()=>{document.cookie="redirection=closed"}))})))}),"all",".redirection"),app_shop.fn.fixed_scroll=(e,t)=>{let i=window.scrollY;const n=window;window.addEventListener("scroll",(function(o){n.scrollY>i&&n.scrollY>110&&app_shop.vars.view<3?!e.classList.contains(t)&&e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t),i=n.scrollY}))},app_shop.run((function(){app_shop.fn.fixed_scroll(document.querySelector("html"),"scroll")}),"all","#container"),app_shop.run((function(){simple_tooltip(".showTip","n59581_tooltip_dictionary"),simple_tooltip("#contentcolumn_order1 .showTip_order1","n59581_tooltip"),simple_tooltip("#basketedit_gifts .showTip_gift","n59581_tooltip"),simple_tooltip("#basketedit_productslist .showTip_basket","n59581_tooltip"),simple_tooltip("span.btn_note","n59581_instalment_note")}),"all");const UI_CustomHotspot=function(e){const t=this;return this.options=e||{},this.formatPrice=e=>{if(!format_price)return e;return format_price(e,{mask:app_shop.vars.currency_format,currency:app_shop.vars.symbol,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})},this.hotspotInView=new IntersectionObserver((e=>{e.forEach((async e=>{e.isIntersecting&&(this.getHotspot(e.target),this.hotspotInView.unobserve(e.target))}))})),this.getProductTemplate=e=>{const{id:t,name:i,icon:n,iconSmall:o,link:r,sizes:a,zones:s,group:l}=e,c=void 0!==a&&a[0].price?.price?.gross?.value?a[0].price?.price?.gross?.value:0,d=this.formatPrice(c),p=void 0!==a&&a[0].price?.discount?.gross?.value?a[0].price?.discount?.gross?.value:0,u=this.formatPrice(p),h=void 0!==a&&a[0].price?.youSavePercent?a[0].price?.youSavePercent:0,f=h?`${h} %`:"";return`\n <div class="product col-sm-3">\n <a class="product__icon d-flex justify-content-center align-items-center" data-product-id="${t}" href="${r}" title="${i}">\n <img \n src="/gfx/pol/loader.gif?r=1614504860" \n class="b-lazy" \n data-src-small="${o}" \n data-src="${n}" \n alt="${i}"/>\n ${s?`\n <strong class="product__labels label_icons">\n ${s.includes("promotion")||s.includes("discount")?`<span class="label --promo">${window.Literals.product.promotion} ${f}</span>`:""}\n ${s.includes("new")?`<span class="label --new">${window.Literals.product.new}</span>`:""}\n ${s.includes("bestseller")?`<span class="label --bestseller">${window.Literals.product.bestseller}</span>`:""}\n </strong>\n `:""}\n </a>\n <h3>\n <a class="product__name" href="${r}" title="${i}">\n ${i}\n </a>\n </h3>\n <div class="product__prices mb-3">\n ${u&&p!==c&&0!==p?`<del class="price --max">${u}</del>`:""}\n <strong class="price">${d}</strong>\n </div>\n <a \n class="product__link"\n href="${r}"\n title="${i}">\n ${window.Literals.product.seeProduct}\n </a>\n </div>\n `},this.getHotspotTemplate=async e=>{const{title:t,products:i,limit:n}=e;try{const e=(e,t)=>{const i=e.split(",");if(i.length<=t)return e;return i.sort((()=>.5-Math.random())).slice(0,t).join(",")},o=await app_shop.graphql.getProducts(`\n searchInput: {productsId: [${e(i,n)}]},\n settingsInput: {\n limit: ${n}\n }\n `),{products:r}=o.data.products;return`\n <h2>
2\n <span class="headline">\n <span class="headline__name">\n ${t}\n </span>\n </span>\n </h2>\n <div class="products d-flex flex-wrap justify-content-center">\n ${r.map((e=>this.getProductTemplate(e))).join("")}\n </div>\n `}catch(e){return console.error("ui-custom-hotspot: fn:getHotspotTemplate:",e),!1}},this.getHotspot=async e=>{const t=await this.getHotspotTemplate(e.dataset);if(!t)return e.classList.remove("ui-custom-hotspot--loading"),e.classList.add("ui-custom-hotspot--error"),!1;e.innerHTML=t,e.classList.add("hotspot","--slider","hotspot--mobile-scrollsnap"),this.callbackAfterHotspotInit(),e.classList.remove("ui-custom-hotspot--loading")},this.init=()=>{const{hotspotSelector:e,callbackAfterHotspotInit:i}=this.options;if(this.hotspotSelector=!!e&&document.querySelectorAll(e),!this.hotspotSelector)return!1;this.callbackAfterHotspotInit=i||!1,this.hotspotSelector.forEach((function(e){t.hotspotInView.observe(e)}))},{init:this.init,getHotspot:this.getHotspot}},customHotspot=new UI_CustomHotspot({hotspotSelector:".ui-custom-hotspot",callbackAfterHotspotInit:()=>{app_shop.vars.bLazy.revalidate(),app_shop.vars.custom_hotspot_slider=new HotspotSlider({selector:".ui-custom-hotspot.hotspot.--slider .products:not(.slick-initialized)",callbackBefore:e=>{e.each((function(){$(this).on("init",(function(e){app_shop.fn.multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(e,t,i){app_shop.fn.multiSlideAdaptiveHeight(this)}));const e=[];$(this).find(".product__name").each((function(){e.push(Number($(this).height()))}));const t=Math.max(...e);t?$(this).find(".product__name").css("min-height",t):$(this).find(".product__name").setHeight($(this)),$(this).find(".product__prices").setHeight($(this))}))}}),app_shop.vars.custom_hotspot_slider.init(),$(".ui-custom-hotspot.hotspot--mobile-scrollsnap .products").on("scroll",(function(){if(app_shop.vars.view>1)return!1;const e=$(this);let t=null;clearTimeout(t),t=setTimeout((function(){e.find("img:not(.b-loaded)").length&&app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate()}),500)}))}});app_shop.run((function(){customHotspot.init()}),"all",".ui-custom-hotspot"),app_shop.run((function(){void 0!==app_shop.vars.custom_hotspot_slider&&$(".ui-custom-hotspot.hotspot.--slider .products:not(.slick-initialized)").length&&setTimeout((()=>{app_shop.vars.custom_hotspot_slider.reset()}),300)}),[2,3,4],".ui-custom-hotspot.hotspot.--slider"),app_shop.txt.txt_65642_1="Generowanie banera siÄ nie powiodÅo",$(document).ready((function(){$("input.affiliate_products_link").click((function(){$(this).val("")}
2)),$(".js_type").click((function(){type=$(this).val(),"cat"==type?($("#categories").css("display","block"),$("#products").css("display","none"),$("#affiliate_ilosc_produktow").css("display",""),$("#affiliate_uklad_produktow").css("display",""),firm=$("#firm").val(),cat=$("cat").val()):"product"==type?($("#categories").css("display","none"),$("#products").css("display","block"),$("#affiliate_ilosc_produktow").css("display","none"),$("#affiliate_uklad_produktow").css("display","none")):($("#categories").css("display","none"),$("#products").css("display","none"),$("#affiliate_ilosc_produktow").css("display",""),$("#affiliate_uklad_produktow").css("display",""))})),$(".border_color").click((function(){"tak"==$(this).val()?$("#border_tr").css("display",""):$("#border_tr").css("display","none")})),$(".background_color").click((function(){"tak"==$(this).val()?$("#background_tr").css("display",""):$("#background_tr").css("display","none")}))})),app_shop.run((function(){var e=location.search;e.indexOf("php")>-1&&($("#sprawdzenie_pr").click((function(){var e=$
2("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=PHP&spr=t",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){var t=e;'"exist"'==t?($("#affiliate_resources_ok").css("display","block"),$("#affiliate_resources_none").css("display","none")):"none"==t&&($("#affiliate_resources_ok").css("display","none"),$("#affiliate_resources_none").css("display","block")),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1})),$("#podglad_button").click((function(){var e=$("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=PHP",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){$(".podglad").html(e),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1}
2)),$("#affiliate_php_generate").click((function(){var e=$("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=PHP&get=t",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){e=e.replace(/\\/g,""),$("#php_output").text(e).css("display","block"),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1}))),e.indexOf("js")>-1&&($("#sprawdzenie_pr").click((function(){var e=$("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=JS&spr=t",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){var t=e;'"exist"'==t?($("#affiliate_resources_ok").css("display","block"),$("#affiliate_resources_none").css("display","none")):"none"==t&&($("#affiliate_resources_ok").css("display","none"),$("#affiliate_resources_none").css("display","block")),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1}
2)),$("#podglad_button").click((function(){var e=$("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=JS",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){$(".podglad").html(e),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1})),$("#affiliate_js_generate").click((function(){var e=$("form#affiliate_form_js").serialize();return $.ajax({url:"/ajax/affiliate-generator.php?source_code_type=JS&get=t",type:"post",data:e,beforeSend:function(){$("#content").addClass("load-content")},success:function(e){e=e.replace(/\\/g,""),$("#output").text(e),$("#content").removeClass("load-content")},error:function(){Alertek.show_alert(app_shop.txt.txt_65642_1),$("#content").removeClass("load-content")}}),!1})))}),"all",".affiliate-generator_page");var promoCodes_txt=[];function generate(e,t){var i=$("#affiliate_link").val(),n=$("#shop_url").val();if(i.match(/\?/))var o="&affiliate";else o="?affiliate";if("link_url"==t)$("#html_output").val(i+o+"="+e);else if("link_html"==t){var r=$("#affiliate_link_name").val();$("#html_output").val('<a target="_blank" href="'+i+o+"="+e+'">'+r+"</a>")}else if("html"==t){for(var a=$(".affilate_html_banners"),s=0;s<a.length;s++)if("radio"==a[s].type&&a[s].checked){var l=a[s].value,c=l.split(".");c.reverse();var d=c[0],p=$("#height_"+s).val(),u=$("#width_"+s).val();if("swf"==d)var h='<object id="linkicon" type="application/x-shockwave-flash" data="'+n+l+'" width="'+u+'" height="'+p+'"><param name="flashvars" value="clickTag='+i+o+"%3D"+e+'%26affsource%3Dflash%26flash%3Dtrue" /><param name="movie" value="'+n+l+'" /><param name="bgcolor" value="#FFFFFF" /><param name="WMode" value="Opaque" /><embed src="'+n+l+'" quality=high bgcolor=#ffffff width="'+u+'" height="'+p+'" name="baner" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="clickTag='+i+o+"%3D"+e+'%26affsource%3Dflash%26flash%3Dtrue"></embed></object>';else h='<a target="_blank" href="'+i+o+"="+e+'&banner=true"><img src="'+n+l+'"/></a>'}document.getElementById("html_output").value=h}}promoCodes_txt.default_text="Kliknij, aby aktywowaÄ kod: %s",promoCodes_txt.default_text_size="14",promoCodes_txt.code_for_shop="Kod dla sklepu",promoCodes_txt.activate_code="Aktywuj kod rabatowy",promoCodes_txt.generated_code="Wygenerowany kod",promoCodes_txt.generated_code_desc="Poniższy kod możesz skopiowaÄ i wkleiÄ na swojej stronie",$(document).ready((function(){$("#affiliate_resources_submit").click((function(){return parseFloat($("#affiliate_max").val())<parseFloat($("#affiliate_resources_kwota1").val())?($("#affiliate_warning1").css("display","block"),$("#affiliate_warning2").css("display","none"),!1):parseFloat($("#affiliate_min").val())>parseFloat($("#affiliate_resources_kwota1").val())?($("#affiliate_warning2").css("display","block"),$("#affiliate_warning1").css("display","none"),!1):void 0}))}));var Projector_txt_maksymalnie=window.Literals.basketedit.maxAmountOrder,Projector_txt_minimalnie=window.Literals.basketedit.minAmount;const basketActionsCall=e=>{$(".basket .--click, .basket__tools .--click").on("click",(async function(){const e=$(this),t=e.attr("href"),i=e.parents(".basket__block"),n=i.find(".basket__item.--actions"),o=$(".basket__item.--actions.--active, .basket__item.--actions.--active-comment"),r=$(".basket__form");switch(t){case"#showActions":n.toggleClass("--active"),e.toggleClass("--open");break;case"#editComment":app_shop.vars.view<3?n.addClass("--active --active-comment"):(o.not(n).removeClass("--active-comment"),n.toggleClass("--active-comment"));break;case"#addComment":o.not(n).removeClass("--active-comment"),n.toggleClass("--active-comment");break;case"#addMoreFile":{const t=e.prev();t.append(t.find("input").first().clone().val("")),t.scrollTop(t[0].scrollHeight);break}case"#previewFile":{const t=e.attr("rel"),i=e.find("span").text();let n=new Image;n.src=t,n.onload=function(){$(`<div id="ui-dialogimg"><img alt="${i}"src="${t}"/></div>`).dialog({wrappContent:!0,fixed:!1,fitToWindow:!1,afterCloseFn:function(){$("#ui-dialogimg").remove()}})};break}case"#delQuantity":case"#addQuantity":{const e=i.find(".quantity__input"),{unit_sellby:n}=e.data(),o="#delQuantity"===t?parseFloat(e.val())-parseFloat(n):parseFloat(e.val())+parseFloat(n);e.val(o).change(),e.keyup();break}case"#remove":i.find(".quantity__input").val(0),r.submit();break;case"#removeAll":$(".basket__action .quantity__input").val(0),r.submit();break;case"#removeSelected":$(".basket__product_checkbox").each((function(){$(this).is(":checked")&&$('.basket__block[data-product-checkbox-id="'+$(this).val()+'"]').find(".quantity__input").val(0)})),r.submit();break;case"#addToFavorite":{const e="/basketchange.php?type=multiproduct&mode=2";r.attr("action",e),r.submit();break}case"#addWrapper":$(".basket__wrappers").toggleClass("--active"),app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate();break;default:return!0}return!1})),$(".basket__select_all_checkbox").on("change",(function(){$(this).is(":checked")?$(".basket__product_checkbox").prop("checked",!0):$(".basket__product_checkbox").prop("checked",!1)})),$(".basket__gift_inputs[data-nogiftforyou]").length>0&&(Alertek.show_alert(productslist_maxvalue_05_txt),$.post($("form.basket__form").attr("action"),$("form.basket__form").serialize(),(function(){}),"json")),$(".basket__add .add__textarea").blur((function(){const e=$(this),t=e.val().length,i=productslist_maxvalue_04_txt;t>i&&(e.val(e.val().substring(0,i)),Alertek.show_alert(productslist_03a_txt+i+productslist_03b_txt))})),$(document).on("click.close_wrappers",".close_wrappers",(function(){$(".basket__wrappers").removeClass("--active")})),$(".basket__quantity .quantity__input").on("change",(function(){e.numberCheck($(this))})),simple_tooltip(".basket__tip","n59581_tooltip"),$(".basket__param.--comment .param__label").trunk8({lines:2})};app_shop.run((function(){new Basket({funcActionsCall:basketActionsCall})}),"all","#Basket"),app_shop.run((function(){$(".basket__quantity .quantity__input").keyup()}),[1,2,3,4],"#Basket");var productslist_03a_txt=window.Literals.basketedit.commentsMaxCharA,productslist_03b_txt=window.Literals.basketedit.commentsMaxCharB,productslist_maxvalue_04_txt=window.Literals.basketedit.commentsMaxCharLimit,productslist_maxvalue_05_txt=window.Literals.basketedit.gratisNotAvailable,txt_order_wrappers_1=window.Literals.basketedit.toBasket,txt_order_wrappers_2=window.Literals.gratis,txt_order_wrappers_4=window.Literals.basketedit.choosePackage,txt_order_wrappers_8=window.Literals.basketedit.close,product_buttons_basket_class="btn --solid";const basketeditTxt={};basketeditTxt.week1=window.Literals.basketedit.weekA,basketeditTxt.week2=window.Literals.basketedit.weekB,basketeditTxt.week3=window.Literals.basketedit.weekC,basketeditTxtWeek=[basketeditTxt.week3,basketeditTxt.week1,basketeditTxt.week2],app_shop.run((function(){orderTxt.week3,orderTxt.week1,orderTxt.week2;const e=[orderTxt.days,orderTxt.day,orderTxt.days],t=$(".basket__division").data("weeks"),i=$(".basket__division").data("days"),n=$(".basket__division").data("week_day"),o=$(".basket__division").data("today");0===parseInt(t,10)?($(".basket__division_literal").hide(),o?$("strong.basket__division_weeks").html(orderTxtShipping[0]):$("strong.basket__division_weeks").html(orderTxtShipping[parseInt(n,10)])):$("strong.basket__division_weeks").html(app_shop.fn.changeLiteral(parseInt(i,10),e,!1)),$('input[name="allow_division_order"]').on("change",(function(){$(this).parents("form").submit()}))}),"all",".basket__division"),$((function(){$("#a_change_code").click((function(){return $(".rebatecodes__form").toggle(),!1})),$("#a_remove_code").click((function(){return $("input.rebatecodes__formInput").val(" "),$("#change_code").submit(),!1}))}));var basket_gross_txt=window.Literals.brutto;function countAnnuityEraty(e,t,i){window.open("https://www.eraty.pl/symulator/oblicz.php?numerSklepu="+e+"&wariantSklepu="+t+"&typProduktu=0&wartoscTowarow="+i,"count_zagiel","width=630,height=500,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no")}function init_basketedit_summary(){$("div.n68242_instalment_wrapper_close").click((function(){$("div.n68242_instalment_list").hide()})),$("a.n68242_instalment_button").click((function(){return parseInt($(this).attr("data-bankcount"))>1?$("#n66734_instalment div.n68242_instalment_list").toggle():1==parseInt($(this).attr("data-bankcount"))&&(ce
2na_raty>0?$("a.n68242_single_instalment_action").click():$("#n66734_instalment div.n68242_instalment_list").show("fast")),!1})),$("a.n68242_single_instalment").click((function(){return cena_raty>0?$("a.n68242_single_instalment_action").click():$("#n66734_instalment div.n68242_instalment_list").toggle("fast"),!1})),$("div.basketedit_calculations").children().length<3&&$("div.basketedit_calculations").hide(),$("#basket_go_next, #basket_go_next_phone").off().on("click",(function(e){if(e.preventDefault(),!$(this).attr("data-disabled"))if($("form.basket__form").append('<input type="hidden" name="after_basket_change" value="order"/>'),void 0!==app_shop.oscop&&app_shop.oscop&&void 0===window.disableOscop){$("body").addClass("load-content");const e=$("form.basket__form");$.ajax({type:e.attr("method"),url:e.attr("action"),data:"FormData"in window?new FormData(e[0]):e.serialize(),processData:!1,contentType:!1}).done((function(e){$("body").removeClass("load-content"),window.location.href="/place-order.php"})).fail((function(e){$("body").removeClass("load-content"),$("form.basket__form").submit()}))}else $("form.basket__form").submit();return!($("form.basket__form").length>0)}))}function setGiftsItems(){function e(){$.each($("#basketedit_gifts li.gift_enable"),(function(){$(this).removeClass("gift_active"),$(this).find("input[type=radio]").removeAttr("checked"),$(this).find('input[name="set_quantity[0]"]').val(0),$(this).find("#your_gift_txt").remove(),$(".basket__gift_inputs").remove()}))}$("div.gift_tooltip div.gift_choose").click((function(t){e(),$(this).parents(".gift_enable").addClass("gift_active"),$(this).parents(".gift_enable").find("input[type=radio]").attr("checked",!0),$(this).parents(".gift_enable").find('input[name="set_quantity[0]"]').val(1),$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents(".gift_enable").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"),$("div.gift_tooltip").hide(),t.stopImmediatePropagation()})),$("div.gift_tooltip div.gift_resign").click((function(t){e(),$("div.gift_tooltip").hide(),t.stopImmediatePropagation()})),$.each($("#basketedit_gifts li.gift_enable"),(function(){$(this).find("div.gift_tooltip");$(this).find("div.gift_tooltip").length?$(this).click((function(){$(this).hasClass("gift_active")?($(this).find("div.gift_choose").hide(),$(this).find("div.gift_resign").show()):($(this).find("div.gift_choose").show(),$(this).find("div.gift_resign").hide()),$("#basketedit_gifts li.gift_enable").not(this).find("div.gift_tooltip").hide(),$(this).find("div.gift_tooltip").toggle()})):$(this).click((function(){$(this).is(".gift_active")?e():(e(),$(this).addClass("gift_active").find("h3").prepend('<div id="your_gift_txt">'+twoj_prezent_txt),$(this).find("input[type=radio]").attr("checked",!0),$(this).parents(".gift_enable").find('input[name="set_quantity[0]"]').val(1),$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"))}))})),$("#basketedit_gifts li.gift_enable select").click((function(e){$("#basketedit_gifts li.gift_enable").removeClass("gift_active"),$(this).parents("li").addClass("gift_active"),$(this).parents("li").find("input[type=radio]").attr("checked",!0),$(".basket__gift_inputs").remove(),$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents("li").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"),$(this).parents(".gift_enable").hasClass("gift_active")?($(this).parents(".gift_enable").find("div.gift_choose").hide(),$(this).parents(".gift_enable").find("div.gift_resign").show()):($(this).parents(".gift_enable").find("div.gift_choose").show(),$(this).parents(".gift_enable").find("div.gift_resign").hide()),e.stopImmediatePropagation()})),$("#basketedit_gifts li.gift_enable select").change((function(){$("#basketedit_gifts li.gift_enable").removeClass("gift_active"),$(this).next().val($(this).val()),$(".basket__gift_inputs").remove(),$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents("li").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs")}))}app_shop.run((function(){init_basketedit_summary()}),"all",".basketedit_summary_container"),app_shop.run((function(){$("#basketedit_gifts").on("click",".basketedit_gifts_btn",(function(e){e.preventDefault(),$("div.basketedit_gifts_wrapper").toggle(),$(this).toggleClass("active"),$("#basketedit_gifts").find(".gift_item_icon").css("height",$(".basketedit_gifts_wrapper > ul > li").find(".gift_item_icon").maxHeight())})),$((function(){$("#basketedit_gifts").find(".gift_item_icon").css("height",$(".basketedit_gifts_wrapper > ul > li").find(".gift_item_icon").maxHeight())}))}),"all","#basketedit_gifts"),twoj_prezent_txt=window.Literals.basketedit.yourGift,app_shop.run((function(){setGiftsItems()}),"all","#basketedit_gifts"),app_shop.run((function(){$(".pb_icon img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),[1,2,3,4],"#favourites_list");var basketedit_productslist_init=function(){$("#basketedit_productslist td.productslist_product_quantity input[type=text]").each((function(){var e=$
2(this).parent().find(".delQuantity");$(this).val()==parseFloat($(this).attr("data-min_q"))?e.addClass("disabled"):e.removeClass("disabled")})),$("#basketedit_productslist textarea").blur((function(){var e=$(this).val().length,t=productslist_maxvalue_04_txt;e>t&&($(this).val($(this).val().substring(0,t)),Alertek.show_alert(productslist_03a_txt+t+productslist_03b_txt))})),$("#basketedit_productslist td.productslist_product_quantity input[type=text]").change((function(){Basketedit.number_check($(this));var e=$(this).parent().find(".delQuantity");$(this).val()==parseFloat($(this).attr("data-min_q"))?e.addClass("disabled"):e.removeClass("disabled")})),$(".productslist_quantity > input").on("click",(function(){if(1===app_shop.vars.view)return $(this).parent().parent().parent().parent().next().show(),$(this).parent().parent().parent().siblings(".productslist_product_toggler").children("a").addClass("open"),!1})),$(".productslist_quantity > input").on("input",(function(){1===app_shop.vars.view&&$(this).parent().parent().parent().parent().next().find("button.product_calculate").show()})),$(".productslist_quantity > input").on("change",(function(){1===app_shop.vars.view&&$(this).parent().parent().parent().parent().next().find("button.product_calculate").show()})),$(".basketedit_productslist a").click((function(){switch($(this).attr("href")){case"#addComment":var e;return $(this).parents("tr").next().next().find("div.prodl_comment").length?e=$(this).parents("tr").next().next():$(this).parents("tr").next().find("div.prodl_comment").length&&(e=$(this).parents("tr").next()),e.find("div.prodl_comment").toggle(),e.find("div.prodl_comment_top").toggle(),!1;case"#clearComment":return $(this).prevAll("textarea").val(""),!1;case"#addQuantity":if(app_shop.vars.view>1){var t=parseFloat(Basketedit.getValues($(this).parent().find("input[type=text]")).unit_sellby),i=parseFloat($(this).parent().find("input[type=text]").val())+t;$(this).parent().find("input[type=text]").val(i).change()}else{t=parseFloat(Basketedit.getValues($(this).parent().parent().parent().prev().find("input[type=text]")).unit_sellby),i=parseFloat($(this).parent().parent().parent().prev().find("input[type=text]").val())+t;$(this).parent().parent().parent().prev().find("input[type=text]").val(i).change()}return!1;case"#delQuantity":if(app_shop.vars.view>1){t=parseFloat(Basketedit.getValues($(this).parent().find("input[type=text]")).unit_sellby),i=parseFloat($(this).parent().find("input[type=text]").val())-t;$(this).parent().find("input[type=text]").val(i).change()}else{t=parseFloat(Basketedit.getValues($(this).parent().parent().parent().prev().find("input[type=text]")).unit_sellby),i=parseFloat($(this).parent().parent().parent().prev().find("input[type=text]").val())-t;$(this).parent().parent().parent().prev().find("input[type=text]").val(i).change()}return!1}}))};function calculate_instalments(params){let{minPrice:minPrice,maxPrice:maxPrice,totalPrice:totalPrice,link:link,instalmentName:instalmentName,priceType:priceType}=params;"object"!=typeof params&&null!==params&&([minPrice,maxPrice,totalPrice,,link,,instalmentName,,priceType]=arguments),minPrice=parseFloat(minPrice,10)||!1;const minPriceFormat=!!minPrice&&`${format_price(minPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;maxPrice=parseFloat(maxPrice,10)||!1;const maxPriceFormat=!!maxPrice&&`${format_price(maxPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;totalPrice=parseFloat(totalPrice,10)||!1,link=link||!1,instalmentName=instalmentName||!1,priceType=priceType||!1;let productsPrice="";productsPrice=priceType&&"net"===priceType?document.getElementById("projector_number")?instalmentData.priceNet*document.getElementById("projector_number").value:instalmentData.priceNet:document.getElementById("projector_number")?instalmentData.price*document.getElementById("projector_number").value:instalmentData.price;const productsPriceFormat=`${format_price(productsPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space
2:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;if(link&&-1!==link.indexOf("{calculate_price}")&&(link=link.replace("{calculate_price}","XXX")),0===productsPrice)return eval(link),!1;if(0===instalmentData.basketCount&&(!minPrice&&!maxPrice||minPrice&&productsPrice>=minPrice&&maxPrice&&productsPrice<=maxPrice))return eval(link.replace("XXX",productsPrice)),!1;let infoHTML="";minPrice&&productsPrice<minPrice?infoHTML=`<div class='menu_messages_message'><div class='menu_messages_message_sub'><p>${app_shop.txt.instalmentLabelMin}${instalmentName}${app_shop.txt.instalmentLabelTo}${minPriceFormat}</p></div></div>`:maxPrice&&productsPrice>maxPrice&&(infoHTML=`<div class='menu_messages_message'><div class='menu_messages_message_sub'><p>${app_shop.txt.instalmentLabelMax}${instalmentName}${app_shop.txt.instalmentLabelTo}${maxPriceFormat}</p></div></div>`);let sumPrice=0;sumPrice=totalPrice?(totalPrice+productsPrice).toFixed(2):((priceType&&"net"===priceType?instalmentData.basketCostNet:instalmentData.basketCost)+productsPrice).toFixed(2);const sumPriceFormat=`${format_price(sumPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;let buttonHTML="";if(document.querySelector("#container.projector_page")&&(buttonHTML=`<button class="instalment_calculator__button ${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?"":`onclick="${link.replace("XXX",productsPrice)}"`}><span class="instalment_calculator__button_txt">${app_shop.txt.instalmentSingleProduct}</span><span class="instalment_calculator__button_price">${productsPriceFormat}</span>${minPrice&&productsPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMin}</span>`:""}\n${maxPrice&&productsPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMax}</span>`:""}</button>`,0!==instalmentData.basketCount&&(buttonHTML+=`<button class="instalment_calculator__button ${minPrice&&sumPrice<minPrice||maxPrice&&sumPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&sumPrice<minPrice||maxPrice&&sumPrice>maxPrice?"":`onclick="${link.replace("XXX",sumPrice)}"`}><span class="instalment_calculator__button_txt">${app_shop.txt.instalmentBasketProduct}</span><span class="instalment_calculator__button_price">${sumPriceFormat}</span>${minPrice&&sumPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMinBasket}</span>`:""}\n${maxPrice&&sumPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMaxBasket}</span>`:""}</button>`)),document.querySelector("#container.basketedit_page")){if(minPrice&&productsPrice>=minPrice&&maxPrice&&productsPrice<=maxPrice)return eval(link.replace("XXX",productsPrice)),!1;buttonHTML=`<button class="instalment_calculator__button ${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?"":`onclick="${link.replace("XXX",productsPrice)}"`}><span class="instalment_calculator__button_txt">${app_shop.txt.instalmentMultiProduct}</span><span class="instalment_calculator__button_price">${productsPriceFormat}</span>${minPrice&&productsPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMinB}</span>`:""}\n${maxPrice&&productsPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMaxB}</span>`:""}</button>`}$("body").dialog({content:infoHTML+buttonHTML,wrapperClass:"instalment_calculator"})}app_shop.run((function(){basketedit_productslist_init()}),"all",".basketedit_productslist"),app_shop.run((function(){$("#menu_blog_bydates > ul > li > a").on("click",(function(){if($(this).next("ul"))return $(this).parent().hasClass("active")?$(this).parent().removeClass("active"):($("#menu_blog_bydates > ul > li").removeClass("active"),$(this).parent().addClass("active")),!1}))}),"all","#menu_blog_bydates",!0),app_shop.txt.instalmentLabel=window.Literals.instalment.instalmentLabel,app_shop.txt.instalmentSingleProduct=window.Literals.instalment.instalmentSingleProduct,app_shop.txt.instalmentMultiProduct=window.Literals.instalment.instalmentMultiProduct,app_shop.txt.instalmentBasketProduct=window.Literals.instalment.instalmentBasketProduct,app_shop.txt.instalmentNoTall=window.Literals.instalment.instalmentNoTall,app_shop.txt.instalmentTooMany=window.Literals.instalment.instalmentTooMany,app_shop.txt.instalmentTooMany2=window.Literals.instalment.instalmentTooMany2,app_shop.txt.instalmentLabelTo=window.Literals.instalment.instalmentLabelTo,app_shop.txt.instalmentLabelMinBasket=window.Literals.instalment.instalmentLabelMinBasket,app_shop.txt.instalmentTextMin=window.Literals.instalment.instalmentTextMin,app_shop.txt.instalmentTextMinBasket=window.Literals.instalment.instalmentTextMinBasket,app_shop.txt.instalmentTextMinB=window.Literals.instalment.instalmentTextMinB,app_shop.txt.instalmentLabelMax=window.Literals.instalment.instalmentLabelMax,app_shop.txt.instalmentLabelMaxBasket=window.Literals.instalment.instalmentLabelMaxBasket,app_shop.txt.instalmentTextMax=window.Literals.instalment.instalmentTextMax,app_shop.txt.instalmentTextMaxBasket=window.Literals.instalment.instalmentTextMaxBasket,app_shop.txt.instalmentTextMaxB=window.Literals.instalment.instalmentTextMaxB,app_shop.txt.instalmentLabelMin=window.Literals.instalment.instalmentLabelMin,app_shop.txt.instalmentNet=window.Literals.instalment.instalmentNet,app_shop.txt.instalmentButtonClassDialog="btn --solid --medium",app_shop.txt.instalmentButtonDisableClassDialog="btn --solid --secondary --medium --disabled",app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),4,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),3,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),2,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul.categories-list_level2, div.categories-list_wrapper ul.categories-list_level3").hide(),$("span.more_categories").unbind().click((function(){$(this).toggleClass("open").next("ul").slideToggle()}))}),1,"div.categories-list_wrapper",!0),app_shop.run((function(){$("button.n68137_files_download").on("click",(function(){return $(this).parent().find("div.n68137_popup").dialog({wrappContent:!0,removeContent:!1,fixed:!1,fitToWindow:!1,width:500}),!1}))}),"all",".n68137_downloadable"),clientnew_00_txt=window.Literals.clientNew.emailAlreadyUsed,clientnew_01_txt=window.Literals.clientNew.rememberedPassword,clientnew_02_txt=window.Literals.clientNew.createNewAccount,clientnew_03_txt=window.Literals.clientNew.sendLoginLink,clientnew_06_txt=window.Literals.clientNew.toAdress,
2clientnew_07_txt=window.Literals.clientNew.withCredidentials,clientnew_08_txt=window.Literals.clientNew.accountConnectedWith,clientnew_13_txt=window.Literals.clientNew.useExistingAccount,clientnew_14_txt=window.Literals.clientNew.validPostCodeIs,clientnew_15c_txt=window.Literals.clientNew.characters,clientnew_16_txt=window.Literals.validation.pleaseFillInput,clientnew_17_txt=window.Literals.validation.fillAdress,clientnew_18_txt=window.Literals.validation.invalidFormat,clientnew_16a_txt='<i class="icon-visibility"></i>',clientnew_16b_txt='<i class="icon-novisibility"></i>';var clientNewErrorCode=[];clientNewErrorCode.no_login=window.Literals.validation.loginIsRequired,clientNewErrorCode.incorect_login=window.Literals.validation.loginIsInvalid,clientNewErrorCode.no_password=window.Literals.validation.passwordIsRequired,clientNewErrorCode.password_to_short=window.Literals.validation.passwordIsTooShort,clientNewErrorCode.password_to_long=window.Literals.validation.passwordIsTooLong,clientNewErrorCode.login_equals_password=window.Literals.validation.passwordEqualsLogin,clientNewErrorCode.not_equal_passwords=window.Literals.validation.notEqualPasswords,clientNewErrorCode.no_firstname=window.Literals.validation.firstNameRequired,clientNewErrorCode.no_name=window.Literals.validation.nameRequired,clientNewErrorCode.incorect_email=window.Literals.validation.invalidEmail,clientNewErrorCode.incorect_shops=window.Literals.validation.incorrectShops,clientNewErrorCode.incorect_nip=window.Literals.validation.incorrectNip,clientNewErrorCode.no_firmname=window.Literals.validation.firmNameReguired,clientNewErrorCode.incorrect_region=window.Literals.validation.incorrectRegion,clientNewErrorCode.no_city=window.Literals.validation.cityRequired,clientNewErrorCode.birth_date=window.Literals.validation.invalidBirthDate,clientNewErrorCode.no_street=window.Literals.validation.fillAdress,clientNewErrorCode.no_street_number=window.Literals.validation.fillAdress,clientNewErrorCode.incorect_phone=window.Literals.validation.phoneRequired,clientNewErrorCode.incorect_zipcode=window.Literals.validation.incorrectZipcode,clientNewErrorCode.no_delivery_firstname=window.Literals.validation.delFirstNameRequired,clientNewErrorCode.no_delivery_lastname=window.Literals.validation.delNameRequired,clientNewErrorCode.no_delivery_city=window.Literals.validation.delCityRequired,clientNewErrorCode.no_delivery_street=window.Literals.validation.delStreetRequired,clientNewErrorCode.incorect_delivery_region=window.Literals.validation.incorrectDelRegion,clientNewErrorCode.incorect_delivery_zipcode=window.Literals.validation.incorrectDelZipcode,clientNewErrorCode.login_taken=window.Literals.validation.loginTaken,clientNewErrorCode.login_taken_login_propose=window.Literals.validation.loginPropose,clientNewErrorCode.illegal_characters_client_firstname=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_lastname=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_street=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_city=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_phone=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_phone2=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_firm=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_firstname=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_lastname=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_city=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_additional=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_street=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_delivery_phone=window.Literals.validation.invalidChar,clientNewErrorCode.illegal_characters_client_nip=window.Literals.validation.invalidChar,clientNewErrorCode.password_to_short=window.Literals.validation.passwordIsTooShortB,clientNewErrorCode.password_to_long=window.Literals.validation.passwordIsTooLongB,clientNewErrorCode.no_invoice_firstname=window.Literals.validation.invoiceFirstNameRequired,clientNewErrorCode.no_invoice_lastname=window.Literals.validation.invoiceNameRequired,clientNewErrorCode.no_invoice_firmname=window.Literals.validation.invoiceFirmNameRequired,clientNewErrorCode.incorect_invoice_phone=window.Literals.validation.invoicePhoneRequired,clientNewErrorCode.no_invoice_city=window.Literals.validation.invoiceCityRequired,clientNewErrorCode.no_invoice_street=window.Literals.validation.invoiceStreetRequired,clientNewErrorCode.no_invoice_street_number=window.Literals.validation.invoiceStreetRequired,clientNewErrorCode.incorect_invoice_zipcode=window.Literals.validation.invoiceZipCodeRequired,clientNewErrorCode.invalid_format=window.Literals.validation.invalidFormat,clientNewErrorCode.no_street_number_u
2k=window.Literals.validation.invalidStreetNumber,app_shop.run((function(){$("#client_new_summary").before($("div.rebate_card_wrap"))}),"all",".rebate_card_wrap"),app_shop.run((function(){document.querySelector(".rebatecodes__trigger").addEventListener("click",(function(){this.classList.toggle("rebatecodes__trigger--open")}))}),"all",".rebatecodes__trigger");var client_new_social_info_js_txt_1=window.Literals.clientNew.socialLogin;app_shop.run((function(){$("#client_new_social_info").dialog({wrappContent:"true"})}),"all","#client_new_social_info"),app_shop.run((function(){$("#button_alert div").html(client_new_social_info_js_txt_1),$("#submit_register").removeAttr("onclick").click((function(){return $("#button_alert").show(),!1})),$("#submit_register").hover((function(){}),(function(){$("#button_alert").hide()})),$("#client_new_social li strong").on("click",(function(){$("#client_new_social form").not($("#social_networking_"+$(this).attr("data-service"))).hide(),$("#social_networking_"+$(this).attr("data-service")).toggle()})),$("#client_new_social form").on("submit",(function(){return window.location="/"+$(this).attr("action")+"?"+$(this).serialize(),!1}))}),"all","#client_new_social"),app_shop.run((()=>{app_shop.vars.topSpacer=70}),1,".client-new_page"),app_shop.run((()=>{app_shop.vars.topSpacer=10}),[2,3,4],".client-new_page"),app_shop.run((function(){$(".no_password_social_text").length&&0===$("#client_new_social form").length&&($(".change_password_mode").append($("#client_new_social")),$(".no_password_social_text").show()),$("#client_generate_password2").prop("checked",!0),$("div.password-group").show(),client_new.enabled($("div.password-group")),$("html, body").animate({scrollTop:$("#client_new_login").offset().top})}),"all",".change_password_mode"),app_shop.run((function(){const e=$("[data-mode=change_delivery_address]").offset().top;$("body, html").animate({scrollTop:parseInt(e,10)-100},500,"swing")}),"all","[data-mode=change_delivery_address]"),app_shop.run((function(){function e(){$('.clientnew_regulations .has-required #terms_agree[required="required"]').length>0&&!$('.clientnew_regulations .has-required #terms_agree[required="required"]').is(":checked")?$("#terms_agree").parent().addClass("terms_required"):$("#terms_agree").parent().removeClass("terms_required")}$("#submit_clientnew_form").on("mouseover",e),$("#terms_agree").on("change",e)}),"all",".clientnew_regulations #terms_agree"),app_shop.run((function(){$("#n67313_a_change_code,#n67313_a_change_cart").click((function(){var e=$
2(this).parents(".n67313_out");e.find("div.code-info").hide(),e.find("div.rabate-form").show(),e.find("div.rabate-button").hide()})),$("#n67313_a_remove_code").click((function(){var e=$(this).parents(".active-code").find("form");return e.find('input[name="rebates_codes"]').val(" "),e.submit(),!1}))}),"all"),app_shop.vars.cmpItemWidth=200,app_shop.fn.cmpItemWidth=function(e,t){$("#compareCss").remove();var i=$("#product_compare_list").width()/e-2*t;app_shop.vars.cmpItemWidth=i,$("head").append("<style id='compareCss'>.compare .item_width{ width:"+i+"px; }</style>"),setTimeout((function(){$("#product_compare_list").hasScrollBar()?$("#product_compare_list_wrapper").addClass("hasScrollBar"):$("#product_compare_list_wrapper").removeClass("hasScrollBar")}),500)},app_shop.run((function(){app_shop.fn.cmpItemWidth(3,1)}),1,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(4,1)}),2,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(4,1)}),3,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(5,1)}
2),4,"#product_compare_list"),app_shop.run((function(){var e=$("#product_compare_list_wrapper"),t=$("#product_compare_list"),i=function(){t.scrollLeft()+t.innerWidth()>=t[0].scrollWidth?e.addClass("hideNext"):e.removeClass("hideNext"),0==t.scrollLeft()?e.addClass("hidePrev"):e.removeClass("hidePrev")};$('.configure a[href="#differences"]').click((function(){var e=$(this),i=e.data("toggletxt").trim(),n=decodeURIComponent(e.html().trim());if(e.html(i),e.data("toggletxt",n),$("#product_compare_list .highlight").length)return $("#product_compare_list .highlight").removeClass("highlight"),!1;t.find("tr").not(".cmp_product").each((function(){$.unique($(this).find("td").map((function(){return $(this).text().trim().toLowerCase()}))).length>1&&$(this).addClass("highlight")})),$.unique($(".list_traits li.producer div").map((function(){return $(this).text().trim().toLowerCase()}))).length>1&&$(".list_traits li.producer").addClass("highlight"),$.unique($(".list_traits li.barcode div").map((function(){return $(this).text().trim().toLowerCase()}))).length>1&&$(".list_traits li.barcode").addClass("highlight")})),$(".configure_item a[data-position]").click((function(){var n=$(this),o=n.data("position")-1;return $("#product_compare_list tr").each((function(){$(this).find("td").eq(o).toggleClass("hideCol")})),setTimeout((function(){t.hasScrollBar()?e.addClass("hasScrollBar"):e.removeClass("hasScrollBar"),i();var o=n.data("toggletxt").trim(),r=decodeURIComponent(n.html().trim());n.html(o),n.data("toggletxt",r)}),300),!1})),t.bind("scroll",(function(){i()})),t.scrollLeft(0),$(".navigation .prev").click((function(){t.animate({scrollLeft:"-="+app_shop.vars.cmpItemWidth},500)})),$(".navigation .next").click((function(){t.animate({scrollLeft:"+="+app_shop.vars.cmpItemWidth},500)}))}),"all","#product_compare_list"),app_shop.run((function(){1!=app_shop.vars.view&&$("a.show_on_map").click((function(){return contact_map.showMap(),!1})),1==app_shop.vars.view&&$("div.contact_contact_right p").each((function(){$(this).find("a").length&&($(this).css("cursor","pointer"),$(this).click((function(){window.location=$(this).find("a").attr("href")})))}))}),"all","#contact_contact"),$(".progress_bar_1.active").length?$("div.progress_bar_keeper").addClass("progress_bar_1_active"):$(".progress_bar_2.active").length?$("div.progress_bar_keeper").addClass("progress_bar_2_active"):$(".progress_bar_3.active").length?$("div.progress_bar_keeper").addClass("progress_bar_3_active"):$(".progress_bar_4.active").length&&$("div.progress_bar_keeper").addClass("progress_bar_4_active"),app_shop.run((function(){$("#menu_notice").dialog({wrappContent:"true"})}),"all",".menu_preolader_1"),app_shop.run((function(){app_shop.vars.view>=2&&(app_shop.fn.categoryDivider("#Navigation .navigation_desc"),$(document).on("click","a.show_description",(function(){return $(this).parent().addClass("expanded"),!1})))}),"all","#Navigation"),app_shop.run((function(){1==app_shop.vars.view&&$("#content").append($("#Navigation .navigation_desc"))}),"all","#Navigation");var newsletter={txt:"",fill:function(e){""==e.val()&&e.val(newsletter.txt)},clear:function(e){""!=e.val()&&e.val()==newsletter.txt&&e.val("")},mode:function(e){$("#mailing_action_contact").val(e),"remove"==e?($('input[name="newsletter_consent"], input[name="mailing_name"]').removeClass("validate"),$("#newsletter_privacy_consent").find(".has-feedback").removeClass("has-error"),$('input[name="mailing_name"]').parent().removeClass("has-error"),$('input[name="mailing_name"]').siblings(".validate_message").html("")):"add"==e&&$('input[name="newsletter_consent"], input[name="mailing_name"]').addClass("validate")}};function opinionsTruncate(){app_shop.fn.textTruncate=new TextTruncate({lineH:18,lineC:2,wrapper:$("#opinions_wrapper"),count:95},((e,t)=>{t.parents(".opinion_item").on("mouseleave",(()=>{app_shop.fn.magicGrid.positionItems(),t.parents(".opinion_item").off()})),$("html").hasClass("touch")&&app_shop.fn.magicGrid.positionItems()}))}function opinionsImgLoad(){app_shop.vars.bLazy.o.success=function(e){$(e).parents(".loading").removeClass("loading"),app_shop.fn.magicGrid.positionItems()}}app_shop.run((function(){$("form.newsletter_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("#newsletter_button_remove").on("click",(function(){return newsletter.mode("remove"),app_shop.formControl.checkForm($(this).parents("form"))})),$("#newsletter_button_add").on("click",(function(){return newsletter.mode("add"),app_shop.formControl.checkForm($(this).parents("form"))}))}),"all","form.newsletter_form"),app_shop.vars.opinion_send=window.Literals.opinions.opinionSend,app_shop.vars.opinion_send2=window.Literals.opinions.opinionSendB,app_shop.vars.opinion_error=window.Literals.opinions.sendingError,app_shop.vars.opinion_empty=window.Literals.opinions.opinionContentIsRequired,app_shop.vars.opinion_file_size=window.Literals.opinions.opinionFileSize,app_shop.vars.opinion_file_type=window.Literals.opinions.opinionFileType,app_shop.vars.magicGridOptions={container:".opinions_wrapper",static:!0,animate:!0,gutter:30,maxColumns:3,useMin:!0},app_shop.fn.opinionsLoad=function(){app_shop.fn.magicGrid=new MagicGrid(app_shop.vars.magicGridOptions),app_shop.fn.magicGrid.listen(),app_shop.fn.magicGrid.positionItems(),opinionsTruncate(),$(".new_load_items img.b-lazy").parents("a").addClass("loading"),app_shop.vars.bLazy=new Blazy({container:"#opinions_wrapper",success:function(e){setTimeout((function(){$(e).parents(".loading").removeClass("loading"),app_shop.fn.magicGrid.positionItems()}),200)}})},app_shop.run((()=>{opinionsTruncate(),opinionsImgLoad()}),"all","#opinions_wrapper"),app_shop.txt.more=window.Literals.opinions.more,app_shop.run((function(){new OpinionsShop({})}),"all","#opinions_shop"),app_shop.run((function(){$("#order_open__number_input, #order_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".order_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".order_open__form"))}))}),"all",".order_open");const orderTxt={};orderTxt.gratis=window.Literals.gratis,orderTxt.pkt=window.Literals.points,orderTxt.gross=window.Literals.brutto,orderTxt.day=window.Literals.calendar.day,orderTxt.days=window.Literals.calendar.days,orderTxt.hour=window.Literals.calendar.hour,orderTxt.hours=window.Literals.calendar.hours,orderTxt.minutes=window.Literals.calendar.min,orderTxt.time_pick1=window.Literals.order.deliveredIn,orderTxt.time_pick2=window.Literals.order.deliveredInDay,orderTxt.time_pick3=window.Literals.order.pickupIn,orderTxt.time_pick4=window.Literals.order.possiblePickupIn,orderTxt.time_pick5=window.Literals.order.possibleDeliveredIn,orderTxt.time_pick5de="",orderTxt.time_pick6=window.Literals.order.readyForCollection,orderTxt.shipping0=window.Literals.calendar.today,orderTxt.shipping1=window.Literals.calendar.onMonday,orderTxt.shipping2=window.Literals.calendar.onTuesday,orderTxt.shipping3=window.Literals.calendar.onWednesday,orderTxt.shipping4=window.Literals.calendar.onThursday,orderTxt.shipping5=window.Literals.calendar.onFriday,orderTxt.shipping6=window.Literals.calendar.onSaturday,orderTxt.shipping7=window.Literals.calendar.onSunday,orderTxt.servicesError=window.Literals.order.servicesError;const orderTxtShipping=[orderTxt.shipping0,orderTxt.shipping1,orderTxt.shipping2,orderTxt.shipping3,orderTxt.shipping4,orderTxt.shipping5,orderTxt.shipping6,orderTxt.shipping7];var activeObject;function passAction(){activeObject.is("a")?window.location=activeObject.attr("href"):activeObject.closest("form").submit()}function setUnload(){$(window).bind("beforeunload",(function(e){return(e=e||window.event).returnValue=confirmmessage,confirmmessage}))}function order2_input_valid(){$(".order2_terms_wrapper input").each((function(){$(this).is(":checked")||$(this).parent().parent().addClass("required")})),$(".order2_terms_wrapper input").not(":checked").length>0?$("input.order2_button_order, input.order2_button_next").addClass("terms_required"):$("input.order2_button_order, input.order2_button_next").removeClass("terms_required")}function order2_terms_valid(){$("input.order2_button_order").is(".terms_required")?order2_input_valid():($(window).unbind("beforeunload"),$("#ajaxLoadSite,#ajaxLoadSite_cover").show(),$("form.order2_form").submit())}orderTxt.xpress1=window.Literals.order.detailsAboutDelivery,orderTxt.xpress2=window.Literals.order.expressCourierNotAvail,orderTxt.xpress3=window.Literals.order.deliveredIn,orderTxt.week1=window.Literals.order.week,orderTxt.week2=window.Literals.order.weekB,orderTxt.week3=window.Literals.order.weekC,orderTxtWeek=[orderTxt.week3,orderTxt.week1,orderTxt.week2],app_shop.run((function(){$("#container.order2_page .align_row").iai_align(),orderdetails_payments.ajaxLoadSite(1),orderdetails_payments.ajaxLoadSiteMessage(order_send_preloadertxt),$("#ajaxLoadSite,#ajaxLoadSite_cover").hide(),$("div.order2_fileslist span").each((function(){var e=$
2(this).text();if(e.length>=23)if(e.indexOf(".")>0){var t=e.split(".");$(this).text(t[t.length-2].substring(0,23)+" [...]."+t.pop())}else $(this).text(e.substring(0,23))})),$("form.order2_form").length&&(setUnload(),$("input[type='submit'], a, button[type='submit']").not('form.order2_form a, form.order2_form input, form.order2_form button, form[action="settings.php"] button, #dialog_close').click((function(){return activeObject=$(this),$("#ui-dialog").remove(),dialogHTML="",dialogHTML+='<div id="menu_notice"><strong>'+confirmmessage2+"</strong></div>",$('<div id="ui-dialog">'+dialogHTML+"</div>").appendTo("body"),$("<h2>"+confirmwarning+"</h2>").prependTo("#menu_notice"),$("#ui-dialog").dialog({wrappContent:!0,fixed:!1,fitToWindow:!1,beforeShow:function(){$('<div id="ui-dialog_button"><button onclick="$(window).unbind(\'beforeunload\'); passAction();" class="btn --solid">'+stop_order_button+'</button><button onclick="setUnload(); $(\'#dialog_close\').click();" class="btn --solid">'+continue_order_button+"</button></div>").appendTo("#dialog_wrapper")}}),$("#dialog_wrapper_sub.setMaxHeightWindow").css("max-height",$("#dialog_wrapper_sub").height()-($("#ui-dialog_button").outerHeight()+$("#dialog_wrapper h2:first").outerHeight())),!1})),$("input.order2_button_order, input.order2_button_next").click((function(){return order2_terms_valid(),!1})),$("a.n57856_orderlink, a.n57856_nextlink, a.order2_button_change, a.order2_button_change_stock, a.order2_button_change_address, a.order2_button_change2, a.order2_change_delivery_link").click((function(){return $(window).unbind("beforeunload"),$(this).is("input.order2_button_order, a.n57856_orderlink")&&$("#ajaxLoadSite,#ajaxLoadSite_cover").show(),!0}))),$("input.order2_button_order").on("mouseover",(function(){order2_input_valid()})),$(".order2_terms_wrapper input").click((function(){$(this).parent().parent().removeClass("required")})),"undefined"!=typeof only_virtual&&"yes"==only_virtual&&$("div.wrappers_price").hide()}),"all","form.order2_form",!0);var confirmmessage=window.Literals.order2.orderExitAlert,confirmmessage2=window.Literals.order2.orderNotCompleted,confirmwarning=window.Literals.order2.orderAlert,order_send_preloadertxt=window.Literals.order2.orderInProgress,stop_order_button=window.Literals.order2.closeOrder,continue_order_button=window.Literals.order2.continueOrder;const order2Txt={};order2Txt.week1=window.Literals.order.week,order2Txt.week2=window.Literals.order.weekB,order2Txt.week3=window.Literals.order.weekC,order2TxtWeek=[orderTxt.week3,orderTxt.week1,orderTxt.week2];var eInvoice_dialog=function(){if(!$("#e-invoice_dialog").length)return!1;$("#e-invoice_dialog").dialog({wrappContent:!0,width:"700px",fixed:!1})};function init_orderdetails_info(){$(document).on("click","a.show_status_explanation, a.orderdetails_info__status",(function(){return $("body").dialog({content:'<div style="text-align:left" class="explanation_popup">'+$(this).next().html()+"</div>",fixed:!1,fitToWindow:!1}),$("<h2>"+$(this).text()+"</h2>").prependTo("#dialog_wrapper"),""===dialog_button_class?$('<div id="ui-dialog_button"><button class="btn-small" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>").appendTo("#dialog_wrapper"):$('<div id="ui-dialog_button"><button class="'+dialog_button_class+'" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>").appendTo("#dialog_wrapper"),!1}))}app_shop.run((function(){1==$('input[name="invoice"]:checked').val()&&eInvoice_dialog(),$(document).on("change",'input[name="invoice"]',(function(){1==$(this).val()&&eInvoice_dialog()})),$(document).on("click","#e-invoice_dialog button",(function(){$("input#order2_document_e_invoice").prop("checked",!0),$("#dialog_close").click()}))}),"all","#e-invoice_dialog"),app_shop.run((function(){$("a#toggle_comments_button").on("click",(function(){return $(this).parent().toggleClass("open"),!1}))}),"all","#toggle_comments_button"),app_shop.run((function(){orderTxt.week3,orderTxt.week1,orderTxt.week2;const e=[orderTxt.days,orderTxt.day,orderTxt.days],t=$(".shipping_time_division").data("weeks"),i=$(".shipping_time_division").data("days"),n=$(".shipping_time_division").data("week_day"),o=$(".shipping_time_division").data("today");0===parseInt(t,10)?($(".order2__division_literal").hide(),o?$(".shipping_time_division strong").html(orderTxtShipping[0]):$(".
2shipping_time_division strong").html(orderTxtShipping[parseInt(n,10)])):$(".shipping_time_division strong").html(app_shop.fn.changeLiteral(parseInt(i,10),e,!1))}),"all",".shipping_time_division"),app_shop.run((function(){$(".order2__file").on("click",(function(e){e.preventDefault();const t=$(this),i=t.attr("rel"),n=t.find("span").text();let o=new Image;return o.src=i,o.onload=function(){$(`<div id="ui-dialogimg"><img alt="${n}"src="${i}"/></div>`).dialog({wrappContent:!0,fixed:!1,fitToWindow:!1,afterCloseFn:function(){$("#ui-dialogimg").remove()}})},!1}))}),"all",".order2__file"),app_shop.run((function(){$(".paypo_basket__link").on("click",(function(){return $(".paypo_info").dialog({wrappContent:!0,width:576,wrapperClass:"paypo_info__dialog"}),!1}))}),"all",".paypo_info",!0);var pickupl_animspeed=500,pickupl_alert=window.Literals.pickup.noPointChosen,pickupl_alertPoczta=window.Literals.pickup.noPostOfficeChosen,pickupl_linktxt=window.Literals.pickup.moreInformation,pickupl_linktitle=window.Literals.pickup.showDetails,pickupl_requires_client_number=window.Literals.pickup.noClientNumber,pickupl_select_adress=window.Literals.pickup.invalidAdress,pickupl_select_route=window.Literals.pickup.invalidCity,pickupl_nopoints=window.Literals.pickup.noPoints,pickupl_error=window.Literals.pickup.tryAgain,pickupl_nopoints_in_area=window.Literals.pickup.noPointsInArea,stocks_list_more_txt="",stocks_list_on_map_txt="";if(void 0===selected_pickup_point)var selected_pickup_point={};var dialog_button_class="btn --solid",txt_62619_label=window.Literals.prepaid.payments,txt_62619_wybrales_curr=window.Literals.prepaid.youChose,txt_62619_wybrales=window.Literals.prepaid.choseButNotPay,txt_62619_nakwote=window.Literals.prepaid.forValueOf,txt_62619_wybrales2_curr="",txt_62619_wybrales2=window.Literals.prepaid.haveChosen,txt_62619_jako=window.Literals.prepaid.asPaymentForm,txt_62619_jako_zwrot=window.Literals.prepaid.asReturnForm,txt_62619_kwota=window.Literals.prepaid.amountToPay,txt_62619_kwota_zwrot=window.Literals.prepaid.amountToReturn,txt_62619_auto=window.Literals.prepaid.paymentWillBeCredited,txt_62619_dokoncz="",txt_62619_title=window.Literals.prepaid.tryToPayAgain,txt_62619_ponow=window.Literals.prepaid.retryPayment,txt_62619_bedz="",txt_62619_bedz2=window.Literals.prepaid.changePaymentMethod,txt_62619_w_inny=window.Literals.prepaid.payOrChooseDifMethod,txt_62619_w_inny2=window.Literals.prepaid.changePaymentMethodB,txt_62619_rezygnacja=window.Literals.prepaid.optedOutPaymentForm,txt_62619_przyj_wplata=window.Literals.prepaid.paymentAccepted,txt_62619_przyj_zwrot=window.Literals.prepaid.returnCompleted,txt_62619_paymentError=window.Literals.prepaid.paymentErrorTryAgain,txt_62619_od_nazwa=window.Literals.prepaid.recipientName,txt_62619_konto=window.Literals.prepaid.bankNumber,txt_62619_swit=window.Literals.prepaid.swift,txt_62619_bank=window.Literals.prepaid.bank,txt_62619_tytulem=window.Literals.prepaid.transferTitle,txt_62619_do_zaplaty=window.Literals.prepaid.transferAmount,txt_62619_wplata_dane=window.Literals.prepaid.payToAccDetailsBelow,txt_62619_close_window=window.Literals.prepaid.closeWindow,txt_62619_https_error=window.Literals.prepaid.encryptedConnectionRequired,txt_62619_voucher_error=window.Literals.prepaid.voucherPaymentError,txt_62619_voucher_error_v1=window.Literals.prepaid.voucherIsInvalid,txt_62619_voucher_error_v2=window.Literals.prepaid.voucherCodeIsIncorrect,txt_62619_giftcard_error_v2=window.Literals.prepaid.giftCardDetailsIncorrect,txt_62619_voucher_error_v3=window.Literals.prepaid.voucherIsBlocked,txt_62619_voucher_error_v4=window.Literals.prepaid.voucherIsAlreadyUsed,txt_62619_voucher_error_v5=window.Literals.prepaid.voucherIsExpired,txt_62619_voucher_error_v6="",txt_62619_voucher_error_v7=window.Literals.prepaid.voucherNotExist,txt_62619_voucher_error_v8=window.Literals.prepaid.voucherIdNotSpecified,txt_62619_payment_title=window.Literals.prepaid.makePayment,txt_62619_loader_message=window.Literals.prepaid.downloadingPaymentData,txt_62619_loader_message2=window.Literals.prepaid.addingPayment,txt_62619_loader_message3=window.Literals.prepaid.downloadingPaymentHistory,txt_62619_hhtransfer_error=window.Literals.prepaid.pointsPaymentError,txt_62619_incorrect_paymentid=window.Literals.prepaid.errorChooseDiffPayment,txt_62619_newpayment_error=window.Literals.prepaid.errorTryAgain,txt_62619_newpayment_points_error=window.Literals.prepaid.notEnoughLoyaltyPoints,txt_62619_mozesz_row=window.Literals.prepaid.youCanAlso,txt_62619_anuluj_wplate=window.Literals.prepaid.cancelThisPayment,txt_62619_paymentCancelError=window.Literals.prepaid.errorWhileCancelingPayment,txt_62619_loader_message_4=window.Literals.prepaid.cancelingPayment,txt_62619_wypelnij_wniosek=window.Literals.prepaid.completeApplication,txt_62619_dokonaj_platnosci=window.Literals.prepaid.pay,txt_62619_do_oplacenia=window.Literals.prepaid.payForTheOrder,txt_62619_dodatkowa_opl=window.Literals.prepaid.additionalFee,txt_62619_l_nawias=" (",txt_62619_r_nawias=")",txt_62619_payment_success=window.Literals.prepaid.paymentInstructionAccepted,txt_62619_select_payment_method=window.Literals.prepaid.choosePaymentMethod,txt_62619_select_firstData=window.Literals.prepaid.transactionProcessedBy,txt_prepaid0011_kredyt=window.Literals.prepaid.tradeCredit,txt_prepaid0011_saldo=window.Literals.prepaid.balance,txt_prepaid0019_upper=window.Literals.prepaid.chooseDiffPaymentMethod,txt_blikCode=window.Literals.prepaid.enterBlikCode,lukasnotconfirmed=window.Literals.prepaid.tickConsentBox,zagielnotconfirmed=window.Literals.prepaid.eRatyTerms,next_voucher_text=window.Literals.prepaid.useAnotherVoucher,blik_js_txt_confirm=window.Literals.prepaid.confirmTransactionOnMobile,blik_code_empty="",txt_terms_title=window.Literals.prepaid.oneTimeIAIPay,txt_terms_link=window.Literals.prepaid.oneTimeIAIPayRegulation,txt_terms_checkbox=window.Literals.prepaid.readAndAcceptRegulations,txt_terms_checkbox1=window.Literals.prepaid.readAndAcceptedRegulations,txt_terms_checkbox2=window.Literals.prepaid.readAndAcceptedRegulationsB,txt_62619_restartPayment=window.Literals.prepaid.restartPayment,txt_62619_card_not_supported=window.Literals.prepaid.cardNotSupported,txt_62619_blik_length_error=window.Literals.prepaid.blikCodeMinSixDigit,orderdetails_payments={ajaxLoadSite:function(e){e?($("#ajaxLoadSite").remove(),$("#ajaxLoadSite_cover").remove(),$("body").append("<div id='ajaxLoadSite_cover'></div>"),$("#ajaxLoadSite_cover").css({height:$(document).height(),width:$(window).width(),position:"absolute",left:"0px",top:"0px"}),$("body").append('<div id="ajaxLoadSite">'),$("#ajaxLoadSite").css({left:$(window).width()/2-$("#ajaxLoadSite").width()/2})):($("#ajaxLoadSite").remove(),$("#ajaxLoadSite_cover").remove())},ajaxLoadSiteMessage:function(e){$("#ajaxLoadSite").append(e),$("#ajaxLoadSite").css({left:$(window).width()/2-$("#ajaxLoadSite").width()/2})}};app_shop.run((function(){$("#prepaid_order_products .ordered-files ul li a").on("click",(function(e){e.preventDefault();const t=$(this).attr("href");let i=new Image;return i.src=t,i.onload=function(){$(`<div id="ui-dialogimg"><img src="${t}"/></div>`).dialog({wrappContent:!0,fixed:!1,fitToWindow:!1,width:i.width>0&&i.width,afterCloseFn:function(){$("#ui-dialogimg").remove()}})},!1}))}),"all","#prepaid_order_products .ordered-files");const prepaidTxt={};prepaidTxt.week1=window.Literals.order.week,prepaidTxt.week2=window.Literals.order.weekB,prepaidTxt.week3=window.Literals.order.weekC,prepaidTxtWeek=[prepaidTxt.week3,prepaidTxt.week1,prepaidTxt.week2],app_shop.run((function(){"undefined"!=typeof only_virtual&&"true"==only_virtual&&$("#prepaid_delivery_list").hide()}),"all"),jQuery.fn.hasScrollBar=function(){return this.width()<this.find(">*:first").width()},app_shop.run((function(){app_shop.fn.dropdown($(".pb_paging__select"),"pb_setting__",(function(e){app_shop.fn.clickDropdown(e,!0)}))}),"all",".products-bought .s_paging select"),app_shop.run((function(){$(".products-bought__product-button .btn-disabled").on("click",(function(e){return e.preventDefault(),!1}))}),"all",".products-bought__product-button .btn-disabled",!0),app_shop.run((function(){$(".products-bought__product-icon img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}));const e=document.querySelector(".products-bought__input-checkbox-all + .f-label"),t=document.querySelectorAll(".products-bought__input-checkbox + .f-label"),i=document.querySelector(".products-bought__products-button .btn");e.onclick=()=>(e=>{const t=e.previousSibling,i=document.querySelectorAll(".products-bought__checkbox:not(.--unavailable) .products-bought__input-checkbox");
2t.checked?(t.checked=!1,i.forEach((e=>{e.checked=!1}))):(t.checked=!0,i.forEach((e=>{e.checked=!0})))})(e),t.forEach((e=>{e.onclick=()=>(e=>{const t=e.previousSibling,{id:i,size:n}=t.dataset;if(!i||!n)return Alertek.Error(app_shop.txt.txt_1000_products_bought_error);t.checked?t.checked=!1:t.checked=!0})(e)})),i.onclick=async()=>{const e=new FormData,t=document.querySelectorAll(".products-bought__checkbox:not(.--unavailable) .products-bought__input-checkbox");[...document.querySelectorAll(".products-bought__product-button .btn")].map(((e,i)=>t[i].checked?e.href:updatedHref=e.href.split("&").map((e=>e.includes("number")?"number=0":e)).join("&"))).forEach(((t,i)=>{t.split("?")[1].split("&").filter((e=>!e.includes("mode")&&!e.includes("bundled"))).forEach((t=>{let n="number"===t.split("=")[0]?`set_quantity[${i+1}]`:`${t.split("=")[0]}[${i+1}]`;const o=t.split("=")[1];e.append(`${n}`,`${o}`)}))}));try{await fetch("basketchange.php?type=multiproduct",{method:"POST",body:e}),window.location.reload()}catch(e){throw new Error(e)}}}),"all","#products-bought"),app_shop.run((function(){const e=document.querySelector("#paging_setting_bottom"),t=document.querySelector(".products-bought__products-button");e&&t&&t.append(e)}),[3,4],"#products-bought",!0);var txt_1_69363=window.Literals.rma.chooseShippingMethod;$(document).on("click",".step3d #return_go_next",(function(){if($(".step3d .order1_delitem_radio input").length&&!$(".step3d .order1_delitem_radio input:checked").length)return Alertek.show_alert(txt_1_69363),!1})),$(document).on("click",".step3d div.return_delitem",(function(){$(".step3d div.return_delitem.active").removeClass("active"),$(this).addClass("active").find("input.order1_delitem_radio").prop("checked",!0)}));var dialog_button_class="btn --solid";app_shop.run((function(){$("a.show_status").click((function(){return $("body").dialog({content:'<div style="text-align:left">'+$(this).next().html()+"</div>",fixed:!1,fitToWindow:!1}),$("<h2>"+$(this).text()+"</h2>").prependTo("#dialog_wrapper"),""===dialog_button_class?$('<div id="ui-dialog_button"><button class="btn-small" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>").appendTo("#dialog_wrapper"):$('<div id="ui-dialog_button"><button class="'+dialog_button_class+'" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>").appendTo("#dialog_wrapper"),!1})),$("a.orderdetails_info_cancel").removeAttr("onclick"),$("a.orderdetails_info_cancel").click((function(){return thisHref=$(this).attr("href"),$("#menu_notice").dialog({wrappContent:"true"}),$("#menu_notice button.prepaid_confirm").click((function(){self.location.href=thisHref})),!1}))}),"all",".prepaid-buttons");var txt_1_69372=window.Literals.rma.chooseReturnMethod,txt_1_69372_param=window.Literals.rma.selectParametrOfMethod,txt_1_69372_tak=window.Literals.rma.confirm,txt_1_69372_confirm_header=window.Literals.rma.doYouConfirm,txt_1_fill_phone=window.Literals.rma.phoneNumberIsRequired;$(document).on("click","div.return_type.disabled_inpost",(function(){Alertek.show_alert(txt_1_fill_phone)})),$(document).on("click","div.return_type.choose_return_type:not(.disabled_inpost)",(function(){var e=$
2(this).find("input.return_type").val();$(this).addClass("current_method"),$(".return_type.choose_return_type.active").removeClass("active"),$(this).addClass("active").find("input.return_type").prop("checked",!0),$(".return_type.choose_return_type:not(.current_method) .return_methods_param > input, div.return_delitem_items:not(#delitem_item"+e+") .return_methods_param > input").prop("checked",!1),$("div.return_delivery_form, div.return_delitem_items").hide(),$("#delitem_item"+e).length&&($("div.return_delivery_form, #delitem_item"+e).show(),$("#delitem_item"+e).find("div.return_delitem:first").click()),$(this).removeClass("current_method")})),$(document).on("click",".step3 #return_go_next",(function(e){if($(".step3 div.return_type input").length){if(!$(".step3 div.return_type input:checked").length)return e.preventDefault(),Alertek.show_alert(txt_1_69372),!1;if($(".active .return_methods_param > input").length&&!$(".active .return_methods_param > input:checked").length)return e.preventDefault(),Alertek.show_alert(txt_1_69372_param),!1;$("div.progress_bar_wrapper").removeClass("pb_step3").addClass("pb_step4")}})),$(document).on("change",".return_methods_param > input",(function(){if($(this).parents().hasClass("disabled_inpost"))return $(this).prop("checked",!1),!1;$(this).prop("checked")&&$(this).parent().find(".return_confirmation_message").length&&confirmReturnParam($(this).parent())})),$(document).on("click",".step3 div.return_delitem",(function(){$(".step3 div.return_delitem.active").removeClass("active"),$(this).addClass("active").find("input.order1_delitem_radio").prop("checked",!0),$(".step3 div.return_delitem:not(.active) .return_methods_param > input").prop("checked",!1)}));var remove_param=!0;function confirmReturnParam(e){$("#ui-dialog").remove(),dialogHTML="",dialogHTML+='<div id="menu_notice" class="--rma"><strong>'+e.find(".return_confirmation_message").html()+"</strong></div>",$('<div id="ui-dialog">'+dialogHTML+"</div>").appendTo("body"),$("<h2>"+txt_1_69372_confirm_header+"</h2>").prependTo("#menu_notice"),$("#ui-dialog").dialog({wrappContent:!0,fixed:!1,fitToWindow:!1,beforeShow:function(){$('<div id="ui-dialog_button"><button onclick="remove_param = false;$(\'#dialog_close\').click();">'+txt_1_69372_tak+"</button></div>").appendTo("#dialog_wrapper")},afterCloseFn:function(){remove_param&&unsetMethodParam(),remove_param=!0}})}function unsetMethodParam(){$(".active .return_methods_param > input").prop("checked",!1)}app_shop.run((function(){$(".return_type.active").click()}),"all",".return_type"),app_shop.run((function(){$("#returns_open__number_input, #returns_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".returns_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".returns_open__form"))}))}),"all",".returns_open");var txt_1_69260_1=window.Literals.rma.selectProductsToReturn,txt_1_odznacz_w_p=window.Literals.rma.deselectAllProducts,txt_1_zaznacz_w_p=window.Literals.rma.selectAllProducts,txt_1_max_ret_amount=window.Literals.rma.maxProductsToReturn,txt_1_new_button="true";app_shop.run((function(){goNext=function(){var e=!1;return $("tr.productslist_item").each((function(){$(this).find(".productslist_product_action input:checked").length&&0!=$(this).find('.productslist_product_quantity input[type="text"]').val()&&(e=!0)})),e},Basketedit.getValues=function(e){var t=e.parent(),i=t.find("input[name=data_amount]").val(),n=t.find("input[name=data_unit_sellby]").val(),o=t.find("input[name=data_unit]").val();return{precision:t.find("input[name=data_unit_precision]").val(),unit_sellby:n,unit:o,amount:i}},Basketedit.number_check=function(e,t){var i=e,n=Basketedit.getValues(e);t=t||!0;if(""==n.unit_sellby)var o=1;else o=n.unit_sellby;var r=n.unit,a=n.precision,s=n.amount,l=i.val();l=(l=parseFloat(l)).toFixed(6),l=parseFloat(l);var c=i.parents("tr.productslist_item").find("td.productslist_product_action input");if(t&&(l>0?c.prop("checked",!0):c.prop("checked",!1)),"1"==o)Math.round(l)>parseInt(s)&&isFinite(s)&&"-1"!=s?(Alertek.show_alert(txt_1_max_ret_amount+" "+s+" "+r),i.val(s)):i.val(Basketedit.roundNumber(Basketedit.if_isanumber(l,o),a));else if(a=parseInt(a),l>
2=parseInt(s)&&isFinite(s)&&"-1"!=s)Alertek.show_alert(txt_1_max_ret_amount+Basketedit.roundNumber(Math.floor(s/o)*o,a)+" "+r),i.val(Basketedit.roundNumber(Math.floor(s/o)*o,a));else{var d,p=Math.abs(Math.floor((l/o).toFixed(6)));d=p?parseFloat((p*o).toFixed(6))==l?(p*o).toFixed(a):p*o<l?((p+1)*o).toFixed(a):Math.abs((Math.ceil(l)*o).toFixed(a)):o,i.val(d)}},$(document).on("click","td.productslist_product_action input",(function(){var e=$(this).parents("tr.productslist_item").find('td.productslist_product_quantity input[type="text"]');if($(this).is(":checked")){var t=e.nextAll('input[name="data_unit_sellby"]').val();e.val(t),Basketedit.number_check(e,!1)}else e.val(0)})),$(".productslist_product_action input").not(":checked").length?($(".step2 .select_all").html(txt_1_zaznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-minus").addClass("icon-plus")):($(".step2 .select_all").html(txt_1_odznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-plus").addClass("icon-minus")),$(document).on("click",".step2 .select_all",(function(){return $(".productslist_product_action input").not(":checked").length?($(".productslist_product_action input").prop("checked",!0),$(".step2 .select_all").html(txt_1_odznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-plus").addClass("icon-minus")):($(".productslist_product_action input").prop("checked",!1),$(".step2 .select_all").html(txt_1_zaznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-minus").addClass("icon-plus")),$("td.productslist_product_action input").each((function(){var e=$
2(this).parents("tr.productslist_item").find('td.productslist_product_quantity input[type="text"]');if($(this).is(":checked")){var t=e.nextAll('input[name="data_unit_sellby"]').val();e.val(t),Basketedit.number_check(e,!1)}else e.val(0)})),!1})),$(document).on("click",".step2 #return_go_next",(function(){if(!goNext())return $(".rma_products_page").length?Alertek.show_alert(txt_1_69260):Alertek.show_alert(txt_1_69260_1),!1;$("div.progress_bar_wrapper").removeClass("pb_step2").addClass("pb_step3")})),$("tr.productslist_comment a.addMoreFiles").unbind().on("click",(function(){var e=$(this).parents(".prodl_comment_right").find("div.prodl_comment_foto").last();return e.after(e.clone()),e.next().find("input").val(""),!1}))}),"all",".returns_productslist");var txt_1_69378=window.Literals.rma.chooseFormOfRefund,validationTextErrors=[];validationTextErrors.invalid_bank_acccount=window.Literals.validation.incorrectBankNumber,app_shop.run((function(){$('.step5 [data-validation="bank_account"]').keyup()}),"all",'.step5 [data-validation="bank_account"]');var txt_1_69376="Wybierz adres punktu zwrotu";function init_rma_calendar(){$("#rma_add_form_begin_ymd").datepicker({dateFormat:iaical_dateFormat,dayNamesMin:iaical_daysShort,monthNames:iaical_monthNames,onSelect:rma_add.setTime,firstDay:iaical_firstDay})}$(document).on("click",".step4a div.pickupl_return",(function(){$(".step4a div.pickupl_return").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0)})),app_shop.run((function(){$(document).on("click",".step4a #return_go_next",(function(){if(!$(".step4a div.pickupl_return input:checked").length)return Alertek.show_alert(txt_1_69376),!1;$("div.progress_bar_wrapper").removeClass("pb_step4").addClass("pb_step5")}))}),"all",".pickup_return_list_form .pickupl_return");var rma_add_alert=window.Literals.rma.fillFields,rma_add_msg1=window.Literals.rma.enterProductName,rma_add_msg2=window.Literals.rma.enterSerialNumber,rma_add_msg3=window.Literals.rma.enterBuyDate,rma_add_msg4=window.Literals.rma.describeFault,rma_add_msg5=window.Literals.rma.describeWherePurch,rma_add_msg6=window.Literals.rma.enterAdress,rma_add_msg7=window.Literals.rma.enterBankNumber,rma_add_msg8=window.Literals.rma.enterCheckDetails;if(void 0===typeof rma_add_paymentTrigger)var rma_add_paymentTrigger=1;app_shop.run((function(){$("#rma_add_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("a#rma_add_form_submit").on("click",(function(){return 1==app_shop.formControl.checkForm($(this).parents("form"))&&$("form#rma_add_form").submit(),!1}))}),"all","#rma_add_form"),app_shop.run((function(){app_shop.vars.rma_action&&init_rma_calendar()}),"all",".rma_add_form_outline");var rma_add={placeTrigger:0,setPlace:function(e){$(".rma_add_form_boxsub_hidden").css("display","none"),$("#"+e).css("display","block"),rma_add.placeTrigger="rma_add_form_buyplace_other"==e?1:0},setPayment:function(e){switch($(".rma_add_form_boxsub2_hidden").css("display","none"),$("#"+e).css("display","block"),e){case"rma_add_form_payp":rma_add_paymentTrigger=1;break;case"rma_add_form_payb":rma_add_paymentTrigger=2;break;case"rma_add_form_payc":rma_add_paymentTrigger=3;break;case"rma_add_form_payt":rma_add_paymentTrigger=4}rma_add.checkInps()},hideInfoText:function(e,t){},showInfo:function(e,t,i){t?(document.getElementById(e+"_off").style.display="",document.getElementById(e+"_on").style.display="none",i?(document.getElementById(e+"_help").style.display="block",document.getElementById(e+"_help").firstChild.innerHTML=i,rma_add.hideInfoText(e,5)):document.getElementById(e+"_help").style.display="none"):(document.getElementById(e+"_off").style.display="none",document.getElementById(e+"_on").style.display="",document.getElementById(e+"_help").style.display="none")},checkInps:function(e){},setTime:function(e,t){var i=$("#rma_add_form_begin_ymd").datepicker("getDate");$("#rma_add_form_beginy").val(i.getFullYear()),$("#rma_add_form_beginm").val(i.getMonth()+1),$("#rma_add_form_begind").val(i.getDate()),app_shop.formControl.validate($("#rma_add_form_begin_ymd"))},chooseSite:function(e){var t=e.slice(5);$(".rma_add_form_stock").removeClass("rmaf_selected"),$("#"+e).addClass("rmaf_selected"),$("#rma_stock").val(t)}},form_validation_error="",dialog_button_class="btn --solid";app_shop.run((function(){$("a.show_status").click((function(){return $("body").dialog({content:'<div style="text-align:left">'+$(this).next().html()+"</div>",fixed:!1,fitToWindow:!1}),$("<h2>"+$(this).text()+"</h2>").prependTo("#dialog_wrapper"),""===dialog_button_class?$('<div id="ui-dialog_button"><button class="btn-small" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>
2").appendTo("#dialog_wrapper"):$('<div id="ui-dialog_button"><button class="'+dialog_button_class+'" onclick="$(\'#dialog_close\').click();">'+txt_62619_close_window+"</button></div>").appendTo("#dialog_wrapper"),!1})),$("a.orderdetails_info_cancel").removeAttr("onclick"),$("a.orderdetails_info_cancel").click((function(){return thisHref=$(this).attr("href"),$("#menu_notice").dialog({wrappContent:"true"}),$("#menu_notice button.prepaid_confirm").click((function(){self.location.href=thisHref})),!1}))}),"all",".rma_orderdetails_info"),app_shop.run((function(){$(".rma_af_input").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$(".rma_af_buttons > button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents("form"))}))}),"all",".rma_added_files"),$(document).on("click",".step2 .saveQuantity",(function(){return $(".productslist_product_action input").prop("checked",!0),!1})),$(document).on("click",".step1 a.orders_more",(function(){return $(".step1").hide(),$(".step2").show(),!1})),$(document).on("click",".step2 input.return_product",(function(){$(".step2 textarea.return_comment").toggle()})),$(document).on("click",".step5a div.return_form",(function(){$(".step5a div.return_form").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0),$(this).is("#disable_button")&&$("#disable_button input.return_form").val().length<3&&$("#return_go_next").prop("disabled","disabled").css("opacity","0.6")})),$(document).on("click","label.return_type",(function(){$("label.return_type.active").removeClass("active"),$(this).addClass("active")})),$((function(){$("td.rma-remarks").each((function(){$(this).attr("colspan",$(".orders.table-stroke thead th").length-1)})),$("a.rma_attach_file").on("click",(function(){$(this).closest("form").find("div.rma_af_files").show(),$(this).hide()})),init_orderdetails_info(),$("#disable_button input.return_form").keyup((function(){$("#disable_button input.return_form").val().length<3?$("#return_go_next").prop("disabled","disabled").css("opacity","0.6"):$("#return_go_next").prop("disabled",!1).css("opacity","1")}))}));var rmaHideSpeed=200,rmaLessInfo="",rma_cancel_alert="",rma_list={rmaMoreInfo:$("rma_list_item1").eq(0).children(".rma_list_item_operation").html(),choosePanel:function(e,t){$("#"+e)&&($("#"+e).siblings().removeClass("rma_on"),$("#"+e).addClass("rma_on")),$("#"+t)&&($("#"+t).siblings().hide(),$("#"+t).show())},chooseRma:function(e){$("#rmal_"+e)&&($("#rmal_"+e).toggleClass("rma_itema"),$("#rmal_"+e).children(".rma_list_item_operation").toggleClass("ophidden"),"none"==$("#rmal_"+e).next().css("display")?$("#rmal_"+e).next().slideDown(rmaHideSpeed):$("#rmal_"+e).next().slideUp(rmaHideSpeed))},cancelRma:function(e){if(1!=confirm(rma_cancel_alert))return!1;window.location=e}};app_shop.run((function(){rma_list.chooseRma(app_shop.vars.chooseRma)}),"all",".rma_list_data_outline"),app_shop.run((function(){$("#rma_open__number_input, #rma_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".rma_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".rma_open__form"))}))}),"all",".rma_open"),$((function(){$("div.prodl_comment_right ol a.previewFile").each((function(){var e=$
2(this).text();e.length>=26&&(e.indexOf(".")>0?$(this).text(e.substring(0,26<e.lastIndexOf(".")?20:e.indexOf(".")-6)+"[...]."+e.split(".").pop()):$(this).text(e.substring(0,26)))})),$(document).on("click",'a.previewFile[href="#previewFile"]',(function(e){e.preventDefault();var t=$(this).attr("rel");$("#ui-dialog").remove(),fotoHTML='<img id="ui-dialogimg_rma" alt="'+t+'" src="'+t+'">',$('<div id="ui-dialog">'+fotoHTML+"</div>").appendTo("body");var i=!1;function n(){i||(i=!0,$("#ui-dialog").dialog({wrappContent:!0,fixed:!1,width:$("#ui-dialogimg_rma").width()>0&&$("#ui-dialogimg_rma").width(),fitToWindow:!1,wrapperClass:"previewfile_dialog"}))}var o=document.getElementById("ui-dialogimg_rma");return o.onload=n,o.src=t,o.style.display="inline",o.complete&&n(),!1})),$(".rma_products_page a.choose_prod, .rma_products_page .allowReturn_2 a").click((function(){orderdetails_payments.ajaxLoadSite(1),orderdetails_payments.ajaxLoadSiteMessage("");var e=$(this).closest("td").find("a.addQuantity"),t=parseFloat(Basketedit.getValues(e.parent().find("input[type=text]")).unit_sellby);if(0==e.parent().find("input[type=text]").val()){var i=t;e.parent().find("input[type=text]").val(i).change()}return $(this).closest("form").submit(),!1}))}));var txt_1_69260=window.Literals.rma.selectProductsForComplain;productslist_03a_txt=window.Literals.rma.notesMaxLengthA,productslist_03b_txt=window.Literals.rma.notesMaxLengthB,productslist_maxvalue_04_txt="255";var txt_1_69378=window.Literals.rma.chooseFormOfRefund,validationTextErrors=[];validationTextErrors.invalid_bank_acccount=window.Literals.validation.incorrectBankNumber,app_shop.run((function(){$(".return_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$(".step5 #return_go_next").on("click",(function(){if(!$(".return_form.form-control.validate").parent().is(".has-success")&&$(".return_form.form-control.validate").parents(".return_form").is(".active"))return app_shop.formControl.checkForm($(this).parents("form")),!1;$("div.progress_bar_wrapper").removeClass("pb_step5").addClass("pb_step6")}))}),"all",".return_form"),handleTim="",$(document).on("click",".step5 div.return_form",(function(){$(".step5 div.return_form").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0)})),app_shop.run((function(){$(window).resize((function(){$(".selectbox-title,.selectbox-container").removeAttr("style")}))}),"all","#searching_form"),app_shop.fn.switchSigninView=function(e){$("#signin-form_box_left .signin-form_box_sub").hide(),$("#"+e.attr("value")).show()},app_shop.run((function(){$("a.password_reminder_signin, a.password_back_signin").on("click",(function(){return app_shop.fn.switchSigninView($($(this).attr("href"))),!1})),$(".cookie_login_social_more_social").on("click",(function(){return $("#cookie_login_social_more").show(),$(this).remove(),!1}))}),"all","#signin-form"),app_shop.run((function(){$(".smile_basket__link").on("click",(function(){return $(".smile_info").dialog({wrappContent:!0,width:576,wrapperClass:"smile_info__dialog"}),!1}))}),"all",".smile_info",!0),app_shop.run((function(){$("a.show_on_map").click((function(){if($(".no-touch"))return stock_map.showMap(),!1}))}),"all","#stock_info_58110"),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),1,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),2,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),3,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),4,".stocks_list_wrapper",!0);var stocks_list_more_txt=window.Literals.stocks.moreInformations,stocks_list_on_map_txt=window.Literals.stocks.showOnMap;app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:3})}),[3,4],"#product_stocks_list"),app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:2})}),2,"#product_stocks_list"),app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:1})}),1,"#product_stocks_list"),$((function(){$(".show_tab").click((function(){return 1==app_shop.vars.view&&($(this).toggleClass("tab_hidden").toggleClass("tab_visible"),$($(this).attr("href")).slideToggle("fast")),!1}))}));var shopCalendar={getMonthDays:function(e,t){return new Date(e,t,0).getDate()},printDays:function(e,t,i,n,o,r,a){var s=window.Working_days||{},l=new Date(i,t-1,e);l.setDate(l.getDate()+parseInt(n)),$("#pickupl_calbind").length&&$("#pickupl_calbind").datepicker({defaultDate:l,minDate:l}),$(o+"1").length&&document.getElementById(o+"1").onclick();for(var c=1;c<=r;c++){for(_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();a&&Holidays[_day+"_"+_month+"_"+_year];)l.setDate(l.getDate()+1),_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();var d=100;if(!$.isEmptyObject(s))for(;--d;){if(-1!=$.inArray(l.getDay(),s)){_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();break}l.setDate(l.getDate()+1)}_month=_month<10?"0"+_month:_month,_day=_day<10?"0"+_day:_day,d?($("#"+o+c+" input").val([_year,_month,_day].join("-")),$("#"+o+c+" > div > *").eq(1).html(_day),$("#"+o+c+" > div > *").eq(2).html(iaical_monthNames2[parseInt(_month)-1])):($("#"+o+c+" input").val("-"),$("#"+o+c+" > div > *").eq(1).html("-"),$("#"+o+c+" > div > *").eq(2).html("")),l.setDate(l.getDate()+1)}},setHolidays:function(e){var t=window.Holidays||{},i=window.Working_days||{};if(null!=t)for(holiday in t)if(e.getDate()+"_"+(e.getMonth()+1)+"_"+e.getFullYear()==holiday)return[!1,""];if(null!=i&&i.length){var n=e.getDay();if(-1==$.inArray(n,i))return[!1,""]}return[!0,""]}},menu_notice_txt1=window.Literals.ok,menu_notice_txt2=window.Literals.closeWindow,ajax_loading_txt="",menu_notice_button_cancel="btn button_cancel",menu_notice_button_confirm="btn --solid button_confirm";
2$(document).on("click",".confirmation_link",(function(){var e=$(this).attr("data-button_txt")?$(this).attr("data-button_txt"):menu_notice_txt1;if(""===menu_notice_button_cancel)var t='<div class="confirmation_popup_buttons"><button class="btn-small button_cancel" onclick="$(\'#dialog_close\').click();">'+menu_notice_txt2+"</button>";else t='<div class="confirmation_popup_buttons"><button class="'+menu_notice_button_cancel+'" onclick="$(\'#dialog_close\').click();">'+menu_notice_txt2+"</button>";return $(this).attr("data-button_txt")&&(t+=""===menu_notice_button_confirm?'<button class="btn-small button_confirm">'+e+"</button></div>":'<button class="'+menu_notice_button_confirm+'">'+e+"</button></div>"),thisHref=$(this).attr("href"),$("body").dialog({content:$(this).attr("title"),wrapperClass:"confirmation_popup"}),$(this).attr("data-title")&&$("#dialog_wrapper").prepend("<h2>"+$(this).attr("data-title")+"</h2>"),$("#dialog_wrapper").append(t),$(".confirmation_popup button.button_confirm").click((function(){self.location.href=thisHref})),!1})),app_shop.run((function(){$("a.orderdetails_info_cancel").removeAttr("onclick"),$("a.orderdetails_info_cancel").click((function(){return thisHref=$(this).attr("href"),$("#menu_notice > strong").html(txt_orderdetails_info_message),$("#menu_notice").dialog({wrappContent:"true"}),$("#menu_notice button.prepaid_confirm").click((function(){self.location.href=thisHref})),!1}))}),"all",".menu_preolader_2");
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.