1/*! Licensz: KreatÃv website. Minden jog fenntartva. Engedély nélkül nem másolható, nem használható. */ 2 3/*! modernizr 3.6.0 (Custom Build) | MIT * 4 * https://modernizr.com/download/?-checked-emoji-focuswithin-fontface-inputtypes-setclasses */ 5!function(e,t,n){function m(e,t){return typeof e===t}; 6function v(){var n,e,i,o,a,l,t; 7for(var u in s)if(s.hasOwnProperty(u)){if(n=[],e=s[u],e.name&&(n.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)n.push(e.options.aliases[i].toLowerCase()); 8for(o=m(e.fn,'function')?e.fn():e.fn,a=0;a<n.length;a++)l=n[a],t=l.split('.'),1===t.length?r[t[0]]=o:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=o),p.push((o?'':'no-')+t.join('-'))}}; 9function y(e){var t=o.className,n=r._config.classPrefix||''; 10if(u&&(t=t.baseVal),r._config.enableJSClass){var i=new RegExp('(^|\\s)'+n+'no-js(\\s|$)'); 11t=t.replace(i,'$1'+n+'js$2')}; 12r._config.enableClasses&&(t+=' '+n+e.join(' '+n),u?o.className.baseVal=t:o.className=t)}; 13function a(){return'function'!=typeof t.createElement?t.createElement(arguments[0]):u?t.createElementNS.call(t,'http://www.w3.org/2000/svg',arguments[0]):t.createElement.apply(t,arguments)}; 14function b(){var e=t.body; 15return e||(e=a(u?'svg':'body'),e.fake=!0),e}; 16function w(e,n,r,i){var u,d,c,p,f='modernizr',l=a('div'),s=b(); 17if(parseInt(r,10))for(;r--;)c=a('div'),c.id=i?i[r]:f+(r+1),l.appendChild(c); 18return u=a('style'),u.type='text/css',u.id='s'+f,(s.fake?s:l).appendChild(u),s.appendChild(l),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(t.createTextNode(e)),l.id=f,s.fake&&(s.style.background='',s.style.overflow='hidden',p=o.style.overflow,o.style.overflow='hidden',o.appendChild(s)),d=n(l,e),s.fake?(s.parentNode.removeChild(s),o.style.overflow=p,o.offsetHeight):l.parentNode.removeChild(l),!!d}; 19var p=[],s=[],l={_version:'3.6.0',_config:{classPrefix:'',enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this; 20setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){s.push({name:e,fn:t,options:n})},addAsyncTest:function(e){s.push({name:null,fn:e})}},r=function(){}; 21r.prototype=l,r=new r,r.addTest('focuswithin',function(){try{t.querySelector(':focus-within')}catch(e){return!1}; 22return!0}); 23var o=t.documentElement,u='svg'===o.nodeName.toLowerCase(),i=a('input'),g='search tel url email datetime date month week time datetime-local number range color'.split(' '),d={}; 24r.inputtypes=function(e){for(var a,u,r,c=e.length,l='1)',s=0;c>s;s++)i.setAttribute('type',a=e[s]),r='text'!==i.type&&'style'in i,r&&(i.value=l,i.style.cssText='position:absolute;visibility:hidden;',/^range$/.test(a)&&i.style.WebkitAppearance!==n?(o.appendChild(i),u=t.defaultView,r=u.getComputedStyle&&'textfield'!==u.getComputedStyle(i,null).WebkitAppearance&&0!==i.offsetHeight,o.removeChild(i)):/^(search|tel)$/.test(a)||(r=/^(url|email)$/.test(a)?i.checkValidity&&i.checkValidity()===!1:i.value!=l)),d[e[s]]=!!r; 25return d}(g),r.addTest('canvas',function(){var e=a('canvas'); 26return!(!e.getContext||!e.getContext('2d'))}),r.addTest('canvastext',function(){return r.canvas===!1?!1:'function'==typeof a('canvas').getContext('2d').fillText}),r.addTest('emoji',function(){if(!r.canvastext)return!1; 27var i=e.devicePixelRatio||1,n=12*i,o=a('canvas'),t=o.getContext('2d'); 28return t.fillStyle='#f00',t.textBaseline='top',t.font='32px Arial',t.fillText('ð¨',0,0),0!==t.getImageData(n,n,1,1).data[0]}); 29var f=l.testStyles=w; 30r.addTest('checked',function(){return f('#modernizr {position:absolute} #modernizr input {margin-left:10px} #modernizr :checked {margin-left:20px;display:block}',function(e){var t=a('input'); 31return t.setAttribute('type','checkbox'),t.setAttribute('checked','checked'),e.appendChild(t),20===t.offsetLeft})}); 32var h=function(){var e=navigator.userAgent,t=e.match(/w(eb)?osbrowser/gi),n=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9; 33return t||n}(); 34h?r.addTest('fontface',!1):f('@font-face {font-family:"font";src:url("https://")}',function(e,n){var o=t.getElementById('smodernizr'),i=o.sheet||o.styleSheet,a=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||'':'',s=/src/i.test(a)&&0===a.indexOf(n.split(' ')[0]); 35r.addTest('fontface',s)}),v(),y(p),delete l.addTest,delete l.addAsyncTest; 36for(var c=0;c<r._q.length;c++)r._q[c](); 37e.Modernizr=r}(window,document); 38 39/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 40!function(e,t){'use strict'; 41'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'); 42return t(e)}:t(e)}('undefined'!=typeof window?window:this,function(e,n){'use strict'; 43var c=[],Ke=Object.getPrototypeOf,d=c.slice,Je=c.flat?function(e){return c.flat.call(e)}:function(e){return c.concat.apply([],e)},Z=c.push,x=c.indexOf,ee={},Qe=ee.toString,G=ee.hasOwnProperty,Ze=G.toString,rn=Ze.call(Object),o={},a=function(e){return'function'==typeof e&&'number'!=typeof e.nodeType&&'function'!=typeof e.item},N=function(e){return null!=e&&e===e.window}
vendor: 29,949 bytes, lines 43-278
43,i=e.document,on={type:!0,src:!0,nonce:!0,noModule:!0}; 44function et(e,t,n){var r,a,o=(n=n||i).createElement('script'); 45if(o.text=e,t)for(r in on)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,a); 46n.head.appendChild(o).parentNode.removeChild(o)}; 47function H(e){return null==e?e+'':'object'==typeof e||'function'==typeof e?ee[Qe.call(e)]||'object':typeof e}; 48var Ye='3.7.1',nn=/HTML$/i,t=function(e,n){return new t.fn.init(e,n)}; 49function pe(e){var t=!!e&&'length'in e&&e.length,n=H(e); 50return!a(e)&&!N(e)&&('array'===n||0===t||'number'==typeof t&&0<t&&t-1 in e)}; 51function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}; 52t.fn=t.prototype={jquery:Ye,constructor:t,length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?d.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=t.merge(this.constructor(),e); 53return n.prevObject=this,n},each:function(e){return t.each(this,e)},map:function(e){return this.pushStack(t.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(t.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(t.grep(this,function(e,t){return t%2}))},eq:function(e){var n=this.length,t=+e+(e<0?n:0); 54return this.pushStack(0<=t&&t<n?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:c.sort,splice:c.splice},t.extend=t.fn.extend=function(){var u,i,o,n,s,c,e=arguments[0]||{},r=1,f=arguments.length,l=!1; 55for('boolean'==typeof e&&(l=e,e=arguments[r]||{},r++),'object'==typeof e||a(e)||(e={}),r===f&&(e=this,r--);r<f;r++)if(null!=(u=arguments[r]))for(i in u)n=u[i],'__proto__'!==i&&e!==n&&(l&&n&&(t.isPlainObject(n)||(s=Array.isArray(n)))?(o=e[i],c=s&&!Array.isArray(o)?[]:s||t.isPlainObject(o)?o:{},s=!1,e[i]=t.extend(l,c,n)):void 0!==n&&(e[i]=n)); 56return e},t.extend({expando:'jQuery'+(Ye+Math.random()).replace(/\D/g,''),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n; 57return!(!e||'[object Object]'!==Qe.call(e))&&(!(t=Ke(e))||'function'==typeof(n=G.call(t,'constructor')&&t.constructor)&&Ze.call(n)===rn)},isEmptyObject:function(e){var t; 58for(t in e)return!1; 59return!0},globalEval:function(e,t,n){et(e,{nonce:t&&t.nonce},n)},each:function(e,t){var r,n=0; 60if(pe(e)){for(r=e.length;n<r;n++)if(!1===t.call(e[n],n,e[n]))break} 61else for(n in e)if(!1===t.call(e[n],n,e[n]))break; 62return e},text:function(e){var r,i='',o=0,n=e.nodeType; 63if(!n)while(r=e[o++])i+=t.text(r); 64return 1===n||11===n?e.textContent:9===n?e.documentElement.textContent:3===n||4===n?e.nodeValue:i},makeArray:function(e,n){var r=n||[]; 65return null!=e&&(pe(Object(e))?t.merge(r,'string'==typeof e?[e]:e):Z.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:x.call(t,e,n)},isXMLDoc:function(e){var n=e&&e.namespaceURI,t=e&&(e.ownerDocument||e).documentElement; 66return!nn.test(n||t&&t.nodeName||'HTML')},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n]; 67return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!==a&&i.push(e[r]); 68return i},map:function(e,t,n){var a,i,r=0,o=[]; 69if(pe(e))for(a=e.length;r<a;r++)null!=(i=t(e[r],r,n))&&o.push(i); 70else for(r in e)null!=(i=t(e[r],r,n))&&o.push(i); 71return Je(o)},guid:1,support:o}),'function'==typeof Symbol&&(t.fn[Symbol.iterator]=c[Symbol.iterator]),t.each('Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' '),function(e,t){ee['[object '+t+']']=t.toLowerCase()}); 72var Zt=c.pop,en=c.sort,tn=c.splice,s='[\\x20\\t\\r\\n\\f]',U=new RegExp('^'+s+'+|((?:^|[^\\\\])(?:\\\\.)*)'+s+'+$','g'); 73t.contains=function(e,t){var n=t&&t.parentNode; 74return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}; 75var Qt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; 76function an(e,t){return t?'\0'===e?'\ufffd':e.slice(0,-1)+'\\'+e.charCodeAt(e.length-1).toString(16)+' ':'\\'+e}; 77t.escapeSelector=function(e){return(e+'').replace(Qt,an)}; 78var w=i,de=Z; 79!function(){var E,n,D,A,N,a,m,p,f,R,h=de,l=t.expando,v=0,oe=0,Y=L(),K=L(),J=L(),H=L(),P=function(e,t){return e===t&&(N=!0),0},Q='checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',T='(?:\\\\[\\da-fA-F]{1,6}'+s+'?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+',Z='\\['+s+'*('+T+')(?:'+s+'*([*^$|!~]?=)'+s+'*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|('+T+'))|)'+s+'*\\]',ee=':('+T+')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|'+Z+')*)|.*)\\)|)',ae=new RegExp(s+'+','g'),se=new RegExp('^'+s+'*,'+s+'*'),te=new RegExp('^'+s+'*([>+~]|'+s+')'+s+'*'),ue=new RegExp(s+'|>'),le=new RegExp(ee),ce=new RegExp('^'+T+'$'),q={ID:new RegExp('^#('+T+')'),CLASS:new RegExp('^\\.('+T+')'),TAG:new RegExp('^('+T+'|[*])'),ATTR:new RegExp('^'+Z),PSEUDO:new RegExp('^'+ee),CHILD:new RegExp('^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\('+s+'*(even|odd|(([+-]|)(\\d*)n|)'+s+'*(?:([+-]|)'+s+'*(\\d+)|))'+s+'*\\)|)','i'),bool:new RegExp('^(?:'+Q+')$','i'),needsContext:new RegExp('^'+s+'*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\('+s+'*((?:-\\d)?\\d*)'+s+'*\\)|)(?=[^-]|$)','i')},fe=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,B=/[+~]/,y=new RegExp('\\\\[\\da-fA-F]{1,6}'+s+'?|\\\\([^\\r\\n\\f])','g'),b=function(e,t){var n='0x'+e.slice(1)-65536; 80return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ge=function(){k()},me=z(function(e){return!0===e.disabled&&u(e,'fieldset')},{dir:'parentNode',next:'legend'}); 81try{h.apply(c=d.call(w.childNodes),w.childNodes),c[w.childNodes.length].nodeType}catch(r){h={apply:function(e,t){de.apply(e,d.call(t))},call:function(e){de.apply(e,d.call(arguments,1))}}}; 82function i(e,n,r,s){var c,y,d,g,b,w,x,v=n&&n.ownerDocument,m=n?n.nodeType:9; 83if(r=r||[],'string'!=typeof e||!e||1!==m&&9!==m&&11!==m)return r; 84if(!s&&(k(n),n=n||a,p)){if(11!==m&&(b=he.exec(e)))if(c=b[1]){if(9===m){if(!(d=n.getElementById(c)))return r; 85if(d.id===c)return h.call(r,d),r} 86else if(v&&(d=v.getElementById(c))&&i.contains(n,d)&&d.id===c)return h.call(r,d),r} 87else{if(b[2])return h.apply(r,n.getElementsByTagName(e)),r; 88if((c=b[3])&&n.getElementsByClassName)return h.apply(r,n.getElementsByClassName(c)),r}; 89if(!(H[e+' ']||f&&f.test(e))){if(x=e,v=n,1===m&&(ue.test(e)||te.test(e))){(v=B.test(e)&&F(n.parentNode)||n)==n&&o.scope||((g=n.getAttribute('id'))?g=t.escapeSelector(g):n.setAttribute('id',g=l)),y=(w=j(e)).length; 90while(y--)w[y]=(g?'#'+g:':scope')+' '+O(w[y]); 91x=w.join(',')}; 92try{return h.apply(r,v.querySelectorAll(x)),r}catch(u){H(e,!0)}finally{g===l&&n.removeAttribute('id')}}}; 93return ie(e.replace(U,'$1'),n,r,s)}; 94function L(){var e=[]; 95return function t(r,i){return e.push(r+' ')>n.cacheLength&&delete t[e.shift()],t[r+' ']=i}}; 96function g(e){return e[l]=!0,e}; 97function S(e){var n=a.createElement('fieldset'); 98try{return!!e(n)}catch(t){return!1}finally{n.parentNode&&n.parentNode.removeChild(n),n=null}}; 99function ve(e){return function(t){return u(t,'input')&&t.type===e}}; 100function ye(e){return function(t){return(u(t,'input')||u(t,'button'))&&t.type===e}}; 101function ne(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&&me(t)===e:t.disabled===e:'label'in t&&t.disabled===e}}; 102function C(e){return g(function(t){return t=+t,g(function(n,r){var i,o=e([],n.length,t),a=o.length; 103while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}; 104function F(e){return e&&'undefined'!=typeof e.getElementsByTagName&&e}; 105function k(e){var r,u=e?e.ownerDocument||e:w; 106return u!=a&&9===u.nodeType&&u.documentElement&&(m=(a=u).documentElement,p=!t.isXMLDoc(a),R=m.matches||m.webkitMatchesSelector||m.msMatchesSelector,m.msMatchesSelector&&w!=a&&(r=a.defaultView)&&r.top!==r&&r.addEventListener('unload',ge),o.getById=S(function(e){return m.appendChild(e).id=t.expando,!a.getElementsByName||!a.getElementsByName(t.expando).length}),o.disconnectedMatch=S(function(e){return R.call(e,'*')}),o.scope=S(function(){return a.querySelectorAll(':scope')}),o.cssHas=S(function(){try{return a.querySelector(':has(*,:jqfake)'),!1}catch(e){return!0}}),o.getById?(n.filter.ID=function(e){var t=e.replace(y,b); 107return function(e){return e.getAttribute('id')===t}},n.find.ID=function(e,t){if('undefined'!=typeof t.getElementById&&p){var n=t.getElementById(e); 108return n?[n]:[]}}):(n.filter.ID=function(e){var t=e.replace(y,b); 109return function(e){var n='undefined'!=typeof e.getAttributeNode&&e.getAttributeNode('id'); 110return n&&n.value===t}},n.find.ID=function(e,t){if('undefined'!=typeof t.getElementById&&p){var r,i,o,n=t.getElementById(e); 111if(n){if((r=n.getAttributeNode('id'))&&r.value===e)return[n]; 112o=t.getElementsByName(e),i=0; 113while(n=o[i++])if((r=n.getAttributeNode('id'))&&r.value===e)return[n]}; 114return[]}}),n.find.TAG=function(e,t){return'undefined'!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},n.find.CLASS=function(e,t){if('undefined'!=typeof t.getElementsByClassName&&p)return t.getElementsByClassName(e)},f=[],S(function(e){var t; 115m.appendChild(e).innerHTML='<a id=\''+l+'\' href=\'\' disabled=\'disabled\'></a><select id=\''+l+'-\r\\\' disabled=\'disabled\'><option selected=\'\'></option></select>',e.querySelectorAll('[selected]').length||f.push('\\['+s+'*(?:value|'+Q+')'),e.querySelectorAll('[id~='+l+'-]').length||f.push('~='),e.querySelectorAll('a#'+l+'+*').length||f.push('.#.+[+~]'),e.querySelectorAll(':checked').length||f.push(':checked'),(t=a.createElement('input')).setAttribute('type','hidden'),e.appendChild(t).setAttribute('name','D'),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(':disabled').length&&f.push(':enabled',':disabled'),(t=a.createElement('input')).setAttribute('name',''),e.appendChild(t),e.querySelectorAll('[name=\'\']').length||f.push('\\['+s+'*name'+s+'*='+s+'*(?:\'\'|"")')}),o.cssHas||f.push(':has'),f=f.length&&new RegExp(f.join('|')),P=function(e,t){if(e===t)return N=!0,0; 116var n=!e.compareDocumentPosition-!t.compareDocumentPosition; 117return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!o.sortDetached&&t.compareDocumentPosition(e)===n?e===a||e.ownerDocument==w&&i.contains(w,e)?-1:t===a||t.ownerDocument==w&&i.contains(w,t)?1:A?x.call(A,e)-x.call(A,t):0:4&n?-1:1)}),a}; 118for(E in i.matches=function(e,t){return i(e,null,null,t)},i.matchesSelector=function(e,t){if(k(e),p&&!H[t+' ']&&(!f||!f.test(t)))try{var r=R.call(e,t);if(r||o.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(n){H(t,!0)};return 0<i(t,a,null,[e]).length},i.contains=function(e,n){return(e.ownerDocument||e)!=a&&k(e),t.contains(e,n)},i.attr=function(e,t){(e.ownerDocument||e)!=a&&k(e);var r=n.attrHandle[t.toLowerCase()],i=r&&G.call(n.attrHandle,t.toLowerCase())?r(e,t,!p):void 0;return void 0!==i?i:e.getAttribute(t)},i.error=function(e){throw new Error('Syntax error, unrecognized expression: '+e)},t.uniqueSort=function(e){var r,i=[],t=0,n=0;if(N=!o.sortStable,A=!o.sortStable&&d.call(e,0),en.call(e,P),N){while(r=e[n++])r===e[n]&&(t=i.push(n));while(t--)tn.call(e,i[t],1)};return A=null,e},t.fn.uniqueSort=function(){return this.pushStack(t.uniqueSort(d.apply(this)))},(n=t.expr={cacheLength:50,createPseudo:g,match:q,attrHandle:{},find:{},relative:{'>':{dir:'parentNode',first:!0},' ':{dir:'parentNode'},'+':{dir:'previousSibling',first:!0},'~':{dir:'previousSibling'}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(y,b),e[3]=(e[3]||e[4]||e[5]||'').replace(y,b),'~='===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]||i.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]&&i.error(e[0]),e},PSEUDO:function(e){var n,t=!e[6]&&e[2]; 119return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||'':t&&le.test(t)&&(n=j(t,!0))&&(n=t.indexOf(')',t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(y,b).toLowerCase(); 120return'*'===e?function(){return!0}:function(e){return u(e,t)}},CLASS:function(e){var t=Y[e+' ']; 121return t||(t=new RegExp('(^|'+s+')'+e+'('+s+'|$)'))&&Y(e,function(e){return t.test('string'==typeof e.className&&e.className||'undefined'!=typeof e.getAttribute&&e.getAttribute('class')||'')})},ATTR:function(e,t,n){return function(r){var o=i.attr(r,e); 122return null==o?'!='===t:!t||(o+='','='===t?o===n:'!='===t?o!==n:'^='===t?n&&0===o.indexOf(n):'*='===t?n&&-1<o.indexOf(n):'$='===t?n&&o.slice(-n.length)===n:'~='===t?-1<(' '+o.replace(ae,' ')+' ').indexOf(n):'|='===t&&(o===n||o.slice(0,n.length+1)===n+'-'))}},CHILD:function(e,t,n,r,i){var s='nth'!==e.slice(0,3),a='last'!==e.slice(-4),o='of-type'===t; 123return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var g,b,f,p,m,y=s!==a?'nextSibling':'previousSibling',h=t.parentNode,x=o&&t.nodeName.toLowerCase(),w=!c&&!o,d=!1; 124if(h){if(s){while(y){f=t; 125while(f=f[y])if(o?u(f,x):1===f.nodeType)return!1; 126m=y='only'===e&&!m&&'nextSibling'}; 127return!0}; 128if(m=[a?h.firstChild:h.lastChild],a&&w){d=(p=(g=(b=h[l]||(h[l]={}))[e]||[])[0]===v&&g[1])&&g[2],f=p&&h.childNodes[p]; 129while(f=++p&&f&&f[y]||(d=p=0)||m.pop())if(1===f.nodeType&&++d&&f===t){b[e]=[v,p,d]; 130break}} 131else if(w&&(d=p=(g=(b=t[l]||(t[l]={}))[e]||[])[0]===v&&g[1]),!1===d)while(f=++p&&f&&f[y]||(d=p=0)||m.pop())if((o?u(f,x):1===f.nodeType)&&++d&&(w&&((b=f[l]||(f[l]={}))[e]=[v,d]),f===t))break; 132return(d-=i)===r||d%r==0&&0<=d/r}}},PSEUDO:function(e,t){var o,r=n.pseudos[e]||n.setFilters[e.toLowerCase()]||i.error('unsupported pseudo: '+e); 133return r[l]?r(t):1<r.length?(o=[e,e,'',t],n.setFilters.hasOwnProperty(e.toLowerCase())?g(function(e,n){var a,i=r(e,t),o=i.length; 134while(o--)e[a=x.call(e,i[o])]=!(n[a]=i[o])}):function(e){return r(e,0,o)}):r}},pseudos:{not:g(function(e){var t=[],r=[],n=X(e.replace(U,'$1')); 135return n[l]?g(function(e,t,r,i){var a,s=n(e,null,i,[]),o=e.length; 136while(o--)(a=s[o])&&(e[o]=!(t[o]=a))}):function(e,i,o){return t[0]=e,n(t,null,o,r),t[0]=null,!r.pop()}}),has:g(function(e){return function(t){return 0<i(e,t).length}}),contains:g(function(e){return e=e.replace(y,b),function(n){return-1<(n.textContent||t.text(n)).indexOf(e)}}),lang:g(function(e){return ce.test(e||'')||i.error('unsupported lang: '+e),e=e.replace(y,b).toLowerCase(),function(t){var n; 137do{if(n=p?t.lang:t.getAttribute('xml:lang')||t.getAttribute('lang'))return(n=n.toLowerCase())===e||0===n.indexOf(e+'-')} 138while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash; 139return n&&n.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===function(){try{return a.activeElement}catch(e){}}()&&a.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ne(!1),disabled:ne(!0),checked:function(e){return u(e,'input')&&!!e.checked||u(e,'option')&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1; 140return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){return u(e,'input')&&'button'===e.type||u(e,'button')},text:function(e){var t; 141return u(e,'input')&&'text'===e.type&&(null==(t=e.getAttribute('type'))||'text'===t.toLowerCase())},first:C(function(){return[0]}),last:C(function(e,t){return[t-1]}),eq:C(function(e,t,n){return[n<0?n+t:n]}),even:C(function(e,t){for(var n=0;n<t;n+=2)e.push(n); 142return e}),odd:C(function(e,t){for(var n=1;n<t;n+=2)e.push(n); 143return e}),lt:C(function(e,t,n){var r; 144for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r); 145return e}),gt:C(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r); 146return e})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[E]=ve(E); 147for(E in{submit:!0,reset:!0})n.pseudos[E]=ye(E); 148function re(){}; 149function j(e,t){var a,o,u,s,r,l,c,f=K[e+' ']; 150if(f)return t?0:f.slice(0); 151r=e,l=[],c=n.preFilter; 152while(r){for(s in a&&!(o=se.exec(r))||(o&&(r=r.slice(o[0].length)||r),l.push(u=[])),a=!1,(o=te.exec(r))&&(a=o.shift(),u.push({value:a,type:o[0].replace(U,' ')}),r=r.slice(a.length)),n.filter)!(o=q[s].exec(r))||c[s]&&!(o=c[s](o))||(a=o.shift(),u.push({value:a,type:s,matches:o}),r=r.slice(a.length)); 153if(!a)break}; 154return t?r.length:r?i.error(e):K(e,l).slice(0)}; 155function O(e){for(var t=0,r=e.length,n='';t<r;t++)n+=e[t].value; 156return n}; 157function z(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&'parentNode'===o,s=oe++; 158return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i); 159return!1}:function(t,n,c){var f,d,p=[v,s]; 160if(c){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,c))return!0} 161else while(t=t[r])if(1===t.nodeType||a)if(d=t[l]||(t[l]={}),i&&u(t,i))t=t[r]||t; 162else{if((f=d[o])&&f[0]===v&&f[1]===s)return p[2]=f[2]; 163if((d[o]=p)[2]=e(t,n,c))return!0}; 164return!1}}; 165function I(e){return 1<e.length?function(t,n,r){var i=e.length; 166while(i--)if(!e[i](t,n,r))return!1; 167return!0}:e[0]}; 168function M(e,t,n,r,i){for(var a,s=[],o=0,u=e.length,l=null!=t;o<u;o++)(a=e[o])&&(n&&!n(a,r,i)||(s.push(a),l&&t.push(o))); 169return s}; 170function W(e,t,n,r,o,a){return r&&!r[l]&&(r=W(r)),o&&!o[l]&&(o=W(o,a)),g(function(a,s,u,l){var d,f,p,c,v=[],m=[],y=s.length,b=a||function(e,t,n){for(var r=0,o=t.length;r<o;r++)i(e,t[r],n); 171return n}(t||'*',u.nodeType?[u]:u,[]),g=!e||!a&&t?b:M(b,v,e,u,l); 172if(n?n(g,c=o||(a?e:y||r)?[]:s,u,l):c=g,r){d=M(c,m),r(d,[],u,l),f=d.length; 173while(f--)(p=d[f])&&(c[m[f]]=!(g[m[f]]=p))}; 174if(a){if(o||e){if(o){d=[],f=c.length; 175while(f--)(p=c[f])&&d.push(g[f]=p); 176o(null,c=[],d,l)}; 177f=c.length; 178while(f--)(p=c[f])&&-1<(d=o?x.call(a,p):v[f])&&(a[d]=!(s[d]=p))}} 179else c=M(c===s?c.splice(y,c.length):c),o?o(null,s,c,l):h.apply(s,c)})}; 180function V(e){for(var a,i,r,s=e.length,u=n.relative[e[0].type],c=u||n.relative[' '],t=u?1:0,f=z(function(e){return e===a},c,!0),d=z(function(e){return-1<x.call(a,e)},c,!0),o=[function(e,t,n){var r=!u&&(n||t!=D)||((a=t).nodeType?f(e,t,n):d(e,t,n));return a=null,r}];t<s;t++)if(i=n.relative[e[t].type])o=[z(I(o),i)]; 181else{if((i=n.filter[e[t].type].apply(null,e[t].matches))[l]){for(r=++t;r<s;r++)if(n.relative[e[r].type])break; 182return W(1<t&&I(o),1<t&&O(e.slice(0,t-1).concat({value:' '===e[t-2].type?'*':''})).replace(U,'$1'),i,t<r&&V(e.slice(t,r)),r<s&&V(e=e.slice(r)),r<s&&O(e))}; 183o.push(i)}; 184return I(o)}; 185function X(e,r){var s,u,c,o,f,d,m=[],y=[],i=J[e+' ']; 186if(!i){r||(r=j(e)),s=r.length; 187while(s--)(i=V(r[s]))[l]?m.push(i):y.push(i);(i=J(e,(u=y,o=0<(c=m).length,f=0<u.length,d=function(e,r,i,s,l){var d,w,y,b=0,g='0',x=e&&[],m=[],T=D,C=e||f&&n.find.TAG('*',l),E=v+=null==T?1:Math.random()||.1,S=C.length; 188for(l&&(D=r==a||r||l);g!==S&&null!=(d=C[g]);g++){if(f&&d){w=0,r||d.ownerDocument==a||(k(d),i=!p); 189while(y=u[w++])if(y(d,r||a,i)){h.call(s,d); 190break}; 191l&&(v=E)}; 192o&&((d=!y&&d)&&b--,e&&x.push(d))}; 193if(b+=g,o&&g!==b){w=0; 194while(y=c[w++])y(x,m,r,i); 195if(e){if(0<b)while(g--)x[g]||m[g]||(m[g]=Zt.call(s)); 196m=M(m)}; 197h.apply(s,m),l&&!e&&0<m.length&&1<b+c.length&&t.uniqueSort(s)}; 198return l&&(v=E,D=T),x},o?g(d):d))).selector=e}; 199return i}; 200function ie(e,t,r,i){var s,o,a,c,f,l='function'==typeof e&&e,u=!i&&j(e=l.selector||e); 201if(r=r||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&'ID'===(a=o[0]).type&&9===t.nodeType&&p&&n.relative[o[1].type]){if(!(t=(n.find.ID(a.matches[0].replace(y,b),t)||[])[0]))return r; 202l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}; 203s=q.needsContext.test(e)?0:o.length; 204while(s--){if(a=o[s],n.relative[c=a.type])break; 205if((f=n.find[c])&&(i=f(a.matches[0].replace(y,b),B.test(o[0].type)&&F(t.parentNode)||t))){if(o.splice(s,1),!(e=i.length&&O(o)))return h.apply(r,i),r; 206break}}}; 207return(l||X(e,u))(i,t,!p,r,!t||B.test(e)&&F(t.parentNode)||t),r}; 208re.prototype=n.filters=n.pseudos,n.setFilters=new re,o.sortStable=l.split('').sort(P).join('')===l,k(),o.sortDetached=S(function(e){return 1&e.compareDocumentPosition(a.createElement('fieldset'))}),t.find=i,t.expr[':']=t.expr.pseudos,t.unique=t.uniqueSort,i.compile=X,i.select=ie,i.setDocument=k,i.tokenize=j,i.escape=t.escapeSelector,i.getText=t.text,i.isXML=t.isXMLDoc,i.selectors=t.expr,i.support=t.support,i.uniqueSort=t.uniqueSort}(); 209var D=function(e,n,r){var i=[],o=void 0!==r; 210while((e=e[n])&&9!==e.nodeType)if(1===e.nodeType){if(o&&t(e).is(r))break; 211i.push(e)}; 212return i},Ge=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e); 213return n},Ve=t.expr.match.needsContext,Xe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 214function he(e,n,r){return a(n)?t.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?t.grep(e,function(e){return e===n!==r}):'string'!=typeof n?t.grep(e,function(e){return-1<x.call(n,e)!==r}):t.filter(n,e,r)}; 215t.filter=function(e,n,r){var i=n[0]; 216return r&&(e=':not('+e+')'),1===n.length&&1===i.nodeType?t.find.matchesSelector(i,e)?[i]:[]:t.find.matches(e,t.grep(n,function(e){return 1===e.nodeType}))},t.fn.extend({find:function(e){var n,r,i=this.length,o=this; 217if('string'!=typeof e)return this.pushStack(t(e).filter(function(){for(n=0;n<i;n++)if(t.contains(o[n],this))return!0})); 218for(r=this.pushStack([]),n=0;n<i;n++)t.find(e,o[n],r); 219return 1<i?t.uniqueSort(r):r},filter:function(e){return this.pushStack(he(this,e||[],!1))},not:function(e){return this.pushStack(he(this,e||[],!0))},is:function(e){return!!he(this,'string'==typeof e&&Ve.test(e)?t(e):e||[],!1).length}}); 220var Ue,Jt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(t.fn.init=function(e,n,r){var o,s; 221if(!e)return this; 222if(r=r||Ue,'string'==typeof e){if(!(o='<'===e[0]&&'>'===e[e.length-1]&&3<=e.length?[null,e,null]:Jt.exec(e))||!o[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e); 223if(o[1]){if(n=n instanceof t?n[0]:n,t.merge(this,t.parseHTML(o[1],n&&n.nodeType?n.ownerDocument||n:i,!0)),Xe.test(o[1])&&t.isPlainObject(n))for(o in n)a(this[o])?this[o](n[o]):this.attr(o,n[o]); 224return this}; 225return(s=i.getElementById(o[2]))&&(this[0]=s,this.length=1),this}; 226return e.nodeType?(this[0]=e,this.length=1,this):a(e)?void 0!==r.ready?r.ready(e):e(t):t.makeArray(e,this)}).prototype=t.fn,Ue=t(i); 227var Yt=/^(?:parents|prev(?:Until|All))/,Kt={children:!0,contents:!0,next:!0,prev:!0}; 228function tt(e,t){while((e=e[t])&&1!==e.nodeType);return e}; 229t.fn.extend({has:function(e){var n=t(e,this),r=n.length; 230return this.filter(function(){for(var e=0;e<r;e++)if(t.contains(this,n[e]))return!0})},closest:function(e,n){var r,o=0,s=this.length,i=[],a='string'!=typeof e&&t(e); 231if(!Ve.test(e))for(;o<s;o++)for(r=this[o];r&&r!==n;r=r.parentNode)if(r.nodeType<11&&(a?-1<a.index(r):1===r.nodeType&&t.find.matchesSelector(r,e))){i.push(r); 232break}; 233return this.pushStack(1<i.length?t.uniqueSort(i):i)},index:function(e){return e?'string'==typeof e?x.call(t(e),this[0]):x.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(t.uniqueSort(t.merge(this.get(),t(e,n))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),t.each({parent:function(e){var t=e.parentNode; 234return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,'parentNode')},parentsUntil:function(e,t,n){return D(e,'parentNode',n)},next:function(e){return tt(e,'nextSibling')},prev:function(e){return tt(e,'previousSibling')},nextAll:function(e){return D(e,'nextSibling')},prevAll:function(e){return D(e,'previousSibling')},nextUntil:function(e,t,n){return D(e,'nextSibling',n)},prevUntil:function(e,t,n){return D(e,'previousSibling',n)},siblings:function(e){return Ge((e.parentNode||{}).firstChild,e)},children:function(e){return Ge(e.firstChild)},contents:function(e){return null!=e.contentDocument&&Ke(e.contentDocument)?e.contentDocument:(u(e,'template')&&(e=e.content||e),t.merge([],e.childNodes))}},function(e,n){t.fn[e]=function(r,i){var o=t.map(this,n,r); 235return'Until'!==e.slice(-5)&&(i=r),i&&'string'==typeof i&&(o=t.filter(i,o)),1<this.length&&(Kt[e]||t.uniqueSort(o),Yt.test(e)&&o.reverse()),this.pushStack(o)}}); 236var m=/[^\x20\t\r\n\f]+/g; 237function q(e){return e}; 238function te(e){throw e}; 239function nt(e,t,n,r){var o; 240try{e&&a(o=e.promise)?o.call(e).done(t).fail(n):e&&a(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(i){n.apply(void 0,[i])}}; 241t.Callbacks=function(e){var p,c; 242e='string'==typeof e?(p=e,c={},t.each(p.match(m)||[],function(e,t){c[t]=!0}),c):t.extend({},e); 243var s,r,f,i,n=[],u=[],o=-1,d=function(){for(i=i||e.once,f=s=!0;u.length;o=-1){r=u.shift(); 244while(++o<n.length)!1===n[o].apply(r[0],r[1])&&e.stopOnFalse&&(o=n.length,r=!1)}; 245e.memory||(r=!1),s=!1,i&&(n=r?[]:'')},l={add:function(){return n&&(r&&!s&&(o=n.length-1,u.push(r)),function i(r){t.each(r,function(t,r){a(r)?e.unique&&l.has(r)||n.push(r):r&&r.length&&'string'!==H(r)&&i(r)})}(arguments),r&&!s&&d()),this},remove:function(){return t.each(arguments,function(e,r){var i; 246while(-1<(i=t.inArray(r,n,i)))n.splice(i,1),i<=o&&o--}),this},has:function(e){return e?-1<t.inArray(e,n):0<n.length},empty:function(){return n&&(n=[]),this},disable:function(){return i=u=[],n=r='',this},disabled:function(){return!n},lock:function(){return i=u=[],r||s||(n=r=''),this},locked:function(){return!!i},fireWith:function(e,t){return i||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),s||d()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!f}}; 247return l},t.extend({Deferred:function(n){var i=[['notify','progress',t.Callbacks('memory'),t.Callbacks('memory'),2],['resolve','done',t.Callbacks('once memory'),t.Callbacks('once memory'),0,'resolved'],['reject','fail',t.Callbacks('once memory'),t.Callbacks('once memory'),1,'rejected']],s='pending',o={state:function(){return s},always:function(){return r.done(arguments).fail(arguments),this},'catch':function(e){return o.then(null,e)},pipe:function(){var e=arguments; 248return t.Deferred(function(n){t.each(i,function(t,i){var o=a(e[i[4]])&&e[i[4]]; 249r[i[1]](function(){var e=o&&o.apply(this,arguments); 250e&&a(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+'With'](this,o?[e]:arguments)})}),e=null}).promise()},then:function(n,r,o){var s=0; 251function u(n,r,i,o){return function(){var l=this,c=arguments,d=function(){var e,t; 252if(!(n<s)){if((e=i.apply(l,c))===r.promise())throw new TypeError('Thenable self-resolution'); 253t=e&&('object'==typeof e||'function'==typeof e)&&e.then,a(t)?o?t.call(e,u(s,r,q,o),u(s,r,te,o)):(s++,t.call(e,u(s,r,q,o),u(s,r,te,o),u(s,r,q,r.notifyWith))):(i!==q&&(l=void 0,c=[e]),(o||r.resolveWith)(l,c))}},f=o?d:function(){try{d()}catch(e){t.Deferred.exceptionHook&&t.Deferred.exceptionHook(e,f.error),s<=n+1&&(i!==te&&(l=void 0,c=[e]),r.rejectWith(l,c))}}; 254n?f():(t.Deferred.getErrorHook?f.error=t.Deferred.getErrorHook():t.Deferred.getStackHook&&(f.error=t.Deferred.getStackHook()),e.setTimeout(f))}}; 255return t.Deferred(function(e){i[0][3].add(u(0,e,a(o)?o:q,e.notifyWith)),i[1][3].add(u(0,e,a(n)?n:q)),i[2][3].add(u(0,e,a(r)?r:te))}).promise()},promise:function(e){return null!=e?t.extend(e,o):o}},r={}; 256return t.each(i,function(e,t){var n=t[2],a=t[5]; 257o[t[1]]=n.add,a&&n.add(function(){s=a},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),n.add(t[3].fire),r[t[0]]=function(){return r[t[0]+'With'](this===r?void 0:this,arguments),this},r[t[0]+'With']=n.fireWith}),o.promise(r),n&&n.call(r,r),r},when:function(e){var o=arguments.length,n=o,s=Array(n),i=d.call(arguments),r=t.Deferred(),u=function(e){return function(t){s[e]=this,i[e]=1<arguments.length?d.call(arguments):t,--o||r.resolveWith(s,i)}}; 258if(o<=1&&(nt(e,r.done(u(n)).resolve,r.reject,!o),'pending'===r.state()||a(i[n]&&i[n].then)))return r.then(); 259while(n--)nt(i[n],u(n),r.reject); 260return r.promise()}}); 261var Xt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 262t.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Xt.test(t.name)&&e.console.warn('jQuery.Deferred exception: '+t.message,t.stack,n)},t.readyException=function(t){e.setTimeout(function(){throw t})}; 263var fe=t.Deferred(); 264function ne(){i.removeEventListener('DOMContentLoaded',ne),e.removeEventListener('load',ne),t.ready()}; 265t.fn.ready=function(e){return fe.then(e)['catch'](function(e){t.readyException(e)}),this},t.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--t.readyWait:t.isReady)||(t.isReady=!0)!==e&&0<--t.readyWait||fe.resolveWith(i,[t])}}),t.ready.then=fe.then,'complete'===i.readyState||'loading'!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(t.ready):(i.addEventListener('DOMContentLoaded',ne),e.addEventListener('load',ne)); 266var b=function(e,n,r,i,o,u,l){var s=0,f=e.length,c=null==r; 267if('object'===H(r))for(s in o=!0,r)b(e,n,s,r[s],!0,u,l); 268else if(void 0!==i&&(o=!0,a(i)||(l=!0),c&&(l?(n.call(e,i),n=null):(c=n,n=function(e,n,r){return c.call(t(e),r)})),n))for(;s<f;s++)n(e[s],r,l?i:i.call(e[s],s,n(e[s],r))); 269return o?e:c?n.call(e):f?n(e[0],r):u},Gt=/^-ms-/,Vt=/-([a-z])/g; 270function sn(e,t){return t.toUpperCase()}; 271function v(e){return e.replace(Gt,'ms-').replace(Vt,sn)}; 272var W=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}; 273function V(){this.expando=t.expando+V.uid++}; 274V.uid=1,V.prototype={cache:function(e){var t=e[this.expando]; 275return t||(t={},W(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e); 276if('string'==typeof t)i[v(t)]=n; 277else for(r in t)i[v(r)]=t[r]; 278return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][v(t)]},access:function(e,t,n){return void 0===t||t&&'string'==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,n){var i,r=e[this.expando];
vendor: 1,671 bytes, lines 279-296
279if(void 0!==r){if(void 0!==n){i=(n=Array.isArray(n)?n.map(v):(n=v(n))in r?[n]:n.match(m)||[]).length; 280while(i--)delete r[n[i]]}(void 0===n||t.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando]; 281return void 0!==n&&!t.isEmptyObject(n)}}; 282var r=new V,l=new V,Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ut=/[A-Z]/g; 283function rt(e,t,n){var o,i; 284if(void 0===n&&1===e.nodeType)if(o='data-'+t.replace(Ut,'-$&').toLowerCase(),'string'==typeof(n=e.getAttribute(o))){try{n='true'===(i=n)||'false'!==i&&('null'===i?null:i===+i+''?+i:Wt.test(i)?JSON.parse(i):i)}catch(r){}; 285l.set(e,t,n)} 286else n=void 0; 287return n}; 288t.extend({hasData:function(e){return l.hasData(e)||r.hasData(e)},data:function(e,t,n){return l.access(e,t,n)},removeData:function(e,t){l.remove(e,t)},_data:function(e,t,n){return r.access(e,t,n)},_removeData:function(e,t){r.remove(e,t)}}),t.fn.extend({data:function(e,t){var o,i,a,n=this[0],s=n&&n.attributes; 289if(void 0===e){if(this.length&&(a=l.get(n),1===n.nodeType&&!r.get(n,'hasDataAttrs'))){o=s.length; 290while(o--)s[o]&&0===(i=s[o].name).indexOf('data-')&&(i=v(i.slice(5)),rt(n,i,a[i])); 291r.set(n,'hasDataAttrs',!0)}; 292return a}; 293return'object'==typeof e?this.each(function(){l.set(this,e)}):b(this,function(t){var r; 294if(n&&void 0===t)return void 0!==(r=l.get(n,e))?r:void 0!==(r=rt(n,e))?r:void 0; 295this.each(function(){l.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){l.remove(this,e)})}}),t.extend({queue:function(e,n,i){var o; 296if(e)return n=(n||'fx')+'queue',o=r.get(e,n),i&&(!o||Array.isArray(i)?o=r.access(e,n,t.makeArray(i)):o.push(i)),o||[]}
vendor: 8,773 bytes, lines 296-365
296,dequeue:function(e,n){n=n||'fx'; 297var r=t.queue(e,n),a=r.length,i=r.shift(),o=t._queueHooks(e,n); 298'inprogress'===i&&(i=r.shift(),a--),i&&('fx'===n&&r.unshift('inprogress'),delete o.stop,i.call(e,function(){t.dequeue(e,n)},o)),!a&&o&&o.empty.fire()},_queueHooks:function(e,n){var i=n+'queueHooks'; 299return r.get(e,i)||r.access(e,i,{empty:t.Callbacks('once memory').add(function(){r.remove(e,[n+'queue',i])})})}}),t.fn.extend({queue:function(e,n){var r=2; 300return'string'!=typeof e&&(n=e,e='fx',r--),arguments.length<r?t.queue(this[0],e):void 0===n?this:this.each(function(){var r=t.queue(this,e,n); 301t._queueHooks(this,e),'fx'===e&&'inprogress'!==r[0]&&t.dequeue(this,e)})},dequeue:function(e){return this.each(function(){t.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||'fx',[])},promise:function(e,n){var i,a=1,s=t.Deferred(),o=this,u=this.length,l=function(){--a||s.resolveWith(o,[o])}; 302'string'!=typeof e&&(n=e,e=void 0),e=e||'fx'; 303while(u--)(i=r.get(o[u],e+'queueHooks'))&&i.empty&&(a++,i.empty.add(l)); 304return l(),s.promise(n)}}); 305var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,I=new RegExp('^(?:([+-])=|)('+We+')([a-z%]*)$','i'),y=['Top','Right','Bottom','Left'],T=i.documentElement,j=function(e){return t.contains(e.ownerDocument,e)},It={composed:!0}; 306T.getRootNode&&(j=function(e){return t.contains(e.ownerDocument,e)||e.getRootNode(It)===e.ownerDocument}); 307var Q=function(e,n){return'none'===(e=n||e).style.display||''===e.style.display&&j(e)&&'none'===t.css(e,'display')}; 308function it(e,n,r,i){var u,l,c=20,f=i?function(){return i.cur()}:function(){return t.css(e,n,'')},s=f(),a=r&&r[3]||(t.cssNumber[n]?'':'px'),o=e.nodeType&&(t.cssNumber[n]||'px'!==a&&+s)&&I.exec(t.css(e,n)); 309if(o&&o[3]!==a){s/=2,a=a||o[3],o=+s||1; 310while(c--)t.style(e,n,o+a),(1-l)*(1-(l=f()/s||.5))<=0&&(c=0),o/=l; 311o*=2,t.style(e,n,o+a),r=r||[]}; 312return r&&(o=+o||+s||0,u=r[1]?o+(r[1]+1)*r[2]:+r[2],i&&(i.unit=a,i.start=o,i.end=u)),u}; 313var Ie={}; 314function L(e,n){for(var l,o,d,u,c,f,a,s=[],i=0,p=e.length;i<p;i++)(o=e[i]).style&&(l=o.style.display,n?('none'===l&&(s[i]=r.get(o,'display')||null,s[i]||(o.style.display='')),''===o.style.display&&Q(o)&&(s[i]=(a=c=u=void 0,c=(d=o).ownerDocument,f=d.nodeName,(a=Ie[f])||(u=c.body.appendChild(c.createElement(f)),a=t.css(u,'display'),u.parentNode.removeChild(u),'none'===a&&(a='block'),Ie[f]=a)))):'none'!==l&&(s[i]='none',r.set(o,'display',l))); 315for(i=0;i<p;i++)null!=s[i]&&(e[i].style.display=s[i]); 316return e}; 317t.fn.extend({show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return'boolean'==typeof e?e?this.show():this.hide():this.each(function(){Q(this)?t(this).show():t(this).hide()})}}); 318var k,J,F=/^(?:checkbox|radio)$/i,Be=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Fe=/^$|^module$|\/(?:java|ecma)script/i; 319k=i.createDocumentFragment().appendChild(i.createElement('div')),(J=i.createElement('input')).setAttribute('type','radio'),J.setAttribute('checked','checked'),J.setAttribute('name','t'),k.appendChild(J),o.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,k.innerHTML='<textarea>x</textarea>',o.noCloneChecked=!!k.cloneNode(!0).lastChild.defaultValue,k.innerHTML='<option></option>',o.option=!!k.lastChild; 320var p={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,'','']}; 321function f(e,n){var r; 322return r='undefined'!=typeof e.getElementsByTagName?e.getElementsByTagName(n||'*'):'undefined'!=typeof e.querySelectorAll?e.querySelectorAll(n||'*'):[],void 0===n||n&&u(e,n)?t.merge([e],r):r}; 323function ge(e,t){for(var n=0,i=e.length;n<i;n++)r.set(e[n],'globalEval',!t||r.get(t[n],'globalEval'))}; 324p.tbody=p.tfoot=p.colgroup=p.caption=p.thead,p.th=p.td,o.option||(p.optgroup=p.option=[1,'<select multiple=\'multiple\'>','</select>']); 325var Ft=/<|&#?\w+;/; 326function ot(e,n,r,i,a){for(var o,s,g,c,m,d,u=n.createDocumentFragment(),h=[],l=0,v=e.length;l<v;l++)if((o=e[l])||0===o)if('object'===H(o))t.merge(h,o.nodeType?[o]:o); 327else if(Ft.test(o)){s=s||u.appendChild(n.createElement('div')),g=(Be.exec(o)||['',''])[1].toLowerCase(),c=p[g]||p._default,s.innerHTML=c[1]+t.htmlPrefilter(o)+c[2],d=c[0]; 328while(d--)s=s.lastChild; 329t.merge(h,s.childNodes),(s=u.firstChild).textContent=''} 330else h.push(n.createTextNode(o)); 331u.textContent='',l=0; 332while(o=h[l++])if(i&&-1<t.inArray(o,i))a&&a.push(o); 333else if(m=j(o),s=f(u.appendChild(o),'script'),m&&ge(s),r){d=0; 334while(o=s[d++])Fe.test(o.type||'')&&r.push(o)}; 335return u}; 336var Pe=/^([^.]*)(?:\.(.+)|)/; 337function O(){return!0}; 338function z(){return!1}; 339function me(e,n,r,i,o,a){var s,u; 340if('object'==typeof n){for(u in'string'!=typeof r&&(i=i||r,r=void 0),n)me(e,u,r,i,n[u],a); 341return e}; 342if(null==i&&null==o?(o=r,i=r=void 0):null==o&&('string'==typeof r?(o=i,i=void 0):(o=i,i=r,r=void 0)),!1===o)o=z; 343else if(!o)return e; 344return 1===a&&(s=o,(o=function(e){return t().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=t.guid++)),e.each(function(){t.event.add(this,n,o,i,r)})}; 345function re(e,n,i){i?(r.set(e,n,!1),t.event.add(e,n,{namespace:!1,handler:function(e){var o,i=r.get(this,n); 346if(1&e.isTrigger&&this[n]){if(i)(t.event.special[n]||{}).delegateType&&e.stopPropagation(); 347else if(i=d.call(arguments),r.set(this,n,i),this[n](),o=r.get(this,n),r.set(this,n,!1),i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o} 348else i&&(r.set(this,n,t.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=O)}})):void 0===r.get(e,n)&&t.event.add(e,n,O)}; 349t.event={global:{},add:function(e,n,i,o,a){var h,f,y,d,g,l,u,c,s,v,b,p=r.get(e); 350if(W(e)){i.handler&&(i=(h=i).handler,a=h.selector),a&&t.find.matchesSelector(T,a),i.guid||(i.guid=t.guid++),(d=p.events)||(d=p.events=Object.create(null)),(f=p.handle)||(f=p.handle=function(n){return'undefined'!=typeof t&&t.event.triggered!==n.type?t.event.dispatch.apply(e,arguments):void 0}),g=(n=(n||'').match(m)||['']).length; 351while(g--)s=b=(y=Pe.exec(n[g])||[])[1],v=(y[2]||'').split('.').sort(),s&&(u=t.event.special[s]||{},s=(a?u.delegateType:u.bindType)||s,u=t.event.special[s]||{},l=t.extend({type:s,origType:b,data:o,handler:i,guid:i.guid,selector:a,needsContext:a&&t.expr.match.needsContext.test(a),namespace:v.join('.')},h),(c=d[s])||((c=d[s]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,o,v,f)||e.addEventListener&&e.addEventListener(s,f)),u.add&&(u.add.call(e,l),l.handler.guid||(l.handler.guid=i.guid)),a?c.splice(c.delegateCount++,0,l):c.push(l),t.event.global[s]=!0)}},remove:function(e,n,i,o,a){var p,y,c,d,h,u,l,f,s,v,b,g=r.hasData(e)&&r.get(e); 352if(g&&(d=g.events)){h=(n=(n||'').match(m)||['']).length; 353while(h--)if(s=b=(c=Pe.exec(n[h])||[])[1],v=(c[2]||'').split('.').sort(),s){l=t.event.special[s]||{},f=d[s=(o?l.delegateType:l.bindType)||s]||[],c=c[2]&&new RegExp('(^|\\.)'+v.join('\\.(?:.*\\.|)')+'(\\.|$)'),y=p=f.length; 354while(p--)u=f[p],!a&&b!==u.origType||i&&i.guid!==u.guid||c&&!c.test(u.namespace)||o&&o!==u.selector&&('**'!==o||!u.selector)||(f.splice(p,1),u.selector&&f.delegateCount--,l.remove&&l.remove.call(e,u)); 355y&&!f.length&&(l.teardown&&!1!==l.teardown.call(e,v,g.handle)||t.removeEvent(e,s,g.handle),delete d[s])} 356else for(s in d)t.event.remove(e,s+n[h],i,o,!0); 357t.isEmptyObject(d)&&r.remove(e,'handle events')}},dispatch:function(e){var i,l,c,a,o,f,u=new Array(arguments.length),n=t.event.fix(e),d=(r.get(this,'events')||Object.create(null))[n.type]||[],s=t.event.special[n.type]||{}; 358for(u[0]=n,i=1;i<arguments.length;i++)u[i]=arguments[i]; 359if(n.delegateTarget=this,!s.preDispatch||!1!==s.preDispatch.call(this,n)){f=t.event.handlers.call(this,n,d),i=0; 360while((a=f[i++])&&!n.isPropagationStopped()){n.currentTarget=a.elem,l=0; 361while((o=a.handlers[l++])&&!n.isImmediatePropagationStopped())n.rnamespace&&!1!==o.namespace&&!n.rnamespace.test(o.namespace)||(n.handleObj=o,n.data=o.data,void 0!==(c=((t.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,u))&&!1===(n.result=c)&&(n.preventDefault(),n.stopPropagation()))}; 362return s.postDispatch&&s.postDispatch.call(this,n),n.result}},handlers:function(e,n){var o,l,i,a,s,c=[],u=n.delegateCount,r=e.target; 363if(u&&r.nodeType&&!('click'===e.type&&1<=e.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&('click'!==e.type||!0!==r.disabled)){for(a=[],s={},o=0;o<u;o++)void 0===s[i=(l=n[o]).selector+' ']&&(s[i]=l.needsContext?-1<t(i,this).index(r):t.find(i,this,null,[r]).length),s[i]&&a.push(l); 364a.length&&c.push({elem:r,handlers:a})}; 365return r=this,u<n.length&&c.push({elem:r,handlers:n.slice(u)}),c},addProp:function(e,n){Object.defineProperty(t.Event.prototype,e,{enumerable:!0,configurable:!0,get:a(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 4,206 bytes, lines 365-386
365,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[t.expando]?e:new t.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e; 366return F.test(t.type)&&t.click&&u(t,'input')&&re(t,'click',!0),!1},trigger:function(e){var t=this||e; 367return F.test(t.type)&&t.click&&u(t,'input')&&re(t,'click'),!0},_default:function(e){var t=e.target; 368return F.test(t.type)&&t.click&&u(t,'input')&&r.get(t,'click')||u(t,'a')}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},t.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},t.Event=function(e,n){if(!(this instanceof t.Event))return new t.Event(e,n); 369e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?O:z,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&t.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[t.expando]=!0},t.Event.prototype={constructor:t.Event,isDefaultPrevented:z,isPropagationStopped:z,isImmediatePropagationStopped:z,isSimulated:!1,preventDefault:function(){var e=this.originalEvent; 370this.isDefaultPrevented=O,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent; 371this.isPropagationStopped=O,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent; 372this.isImmediatePropagationStopped=O,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},t.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,'char':!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},t.event.addProp),t.each({focus:'focusin',blur:'focusout'},function(e,n){function o(e){if(i.documentMode){var a=r.get(this,'handle'),o=t.event.fix(e); 373o.type='focusin'===e.type?'focus':'blur',o.isSimulated=!0,a(e),o.target===o.currentTarget&&a(o)} 374else t.event.simulate(n,e.target,t.event.fix(e))}; 375t.event.special[e]={setup:function(){var t; 376if(re(this,e,!0),!i.documentMode)return!1;(t=r.get(this,n))||this.addEventListener(n,o),r.set(this,n,(t||0)+1)},trigger:function(){return re(this,e),!0},teardown:function(){var e; 377if(!i.documentMode)return!1;(e=r.get(this,n)-1)?r.set(this,n,e):(this.removeEventListener(n,o),r.remove(this,n))},_default:function(t){return r.get(t.target,e)},delegateType:n},t.event.special[n]={setup:function(){var t=this.ownerDocument||this.document||this,a=i.documentMode?this:t,s=r.get(a,n); 378s||(i.documentMode?this.addEventListener(n,o):t.addEventListener(e,o,!0)),r.set(a,n,(s||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,t=i.documentMode?this:a,s=r.get(t,n)-1; 379s?r.set(t,n,s):(i.documentMode?this.removeEventListener(n,o):a.removeEventListener(e,o,!0),r.remove(t,n))}}}),t.each({mouseenter:'mouseover',mouseleave:'mouseout',pointerenter:'pointerover',pointerleave:'pointerout'},function(e,n){t.event.special[e]={delegateType:n,bindType:n,handle:function(e){var i,r=e.relatedTarget,o=e.handleObj; 380return r&&(r===this||t.contains(this,r))||(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=n),i}}}),t.fn.extend({on:function(e,t,n,r){return me(this,e,t,n,r)},one:function(e,t,n,r){return me(this,e,t,n,r,1)},off:function(e,n,r){var i,o; 381if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,t(e.delegateTarget).off(i.namespace?i.origType+'.'+i.namespace:i.origType,i.selector,i.handler),this; 382if('object'==typeof e){for(o in e)this.off(o,n,e[o]); 383return this}; 384return!1!==n&&'function'!=typeof n||(r=n,n=void 0),!1===r&&(r=z),this.each(function(){t.event.remove(this,e,r,n)})}}); 385var Rt=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^\s*<!\[CDATA\[|\]\]>\s*$/g; 386function at(e,n){return u(e,'table')&&u(11!==n.nodeType?n:n.firstChild,'tr')&&t(e).
vendor: 4,427 bytes, lines 386-422
386children('tbody')[0]||e}; 387function un(e){return e.type=(null!==e.getAttribute('type'))+'/'+e.type,e}; 388function ln(e){return'true/'===(e.type||'').slice(0,5)?e.type=e.type.slice(5):e.removeAttribute('type'),e}; 389function st(e,n){var i,s,o,u,c,a; 390if(1===n.nodeType){if(r.hasData(e)&&(a=r.get(e).events))for(o in r.remove(n,'handle events'),a)for(i=0,s=a[o].length;i<s;i++)t.event.add(n,o,a[o][i]); 391l.hasData(e)&&(u=l.access(e),c=t.extend({},u),l.set(n,c))}}; 392function M(e,n,i,s){n=Je(n); 393var d,v,c,p,u,h,l=0,g=e.length,b=g-1,m=n[0],y=a(m); 394if(y||1<g&&'string'==typeof m&&!o.checkClone&&Pt.test(m))return e.each(function(t){var r=e.eq(t); 395y&&(n[0]=m.call(this,t,r.html())),M(r,n,i,s)}); 396if(g&&(v=(d=ot(n,e[0].ownerDocument,!1,e,s)).firstChild,1===d.childNodes.length&&(d=v),v||s)){for(p=(c=t.map(f(d,'script'),un)).length;l<g;l++)u=d,l!==b&&(u=t.clone(u,!0,!0),p&&t.merge(c,f(u,'script'))),i.call(e[l],u,l); 397if(p)for(h=c[c.length-1].ownerDocument,t.map(c,ln),l=0;l<p;l++)u=c[l],Fe.test(u.type||'')&&!r.access(u,'globalEval')&&t.contains(h,u)&&(u.src&&'module'!==(u.type||'').toLowerCase()?t._evalUrl&&!u.noModule&&t._evalUrl(u.src,{nonce:u.nonce||u.getAttribute('nonce')},h):et(u.textContent.replace(Bt,''),u,h))}; 398return e}; 399function ut(e,n,r){for(var i,a=n?t.filter(n,e):e,o=0;null!=(i=a[o]);o++)r||1!==i.nodeType||t.cleanData(f(i)),i.parentNode&&(r&&j(i)&&ge(f(i,'script')),i.parentNode.removeChild(i)); 400return e}; 401t.extend({htmlPrefilter:function(e){return e},clone:function(e,n,r){var i,l,s,a,c,d,p,u=e.cloneNode(!0),h=j(e); 402if(!(o.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||t.isXMLDoc(e)))for(a=f(u),i=0,l=(s=f(e)).length;i<l;i++)c=s[i],d=a[i],void 0,'input'===(p=d.nodeName.toLowerCase())&&F.test(c.type)?d.checked=c.checked:'input'!==p&&'textarea'!==p||(d.defaultValue=c.defaultValue); 403if(n)if(r)for(s=s||f(e),a=a||f(u),i=0,l=s.length;i<l;i++)st(s[i],a[i]); 404else st(e,u); 405return 0<(a=f(u,'script')).length&&ge(a,!h&&f(e,'script')),u},cleanData:function(e){for(var i,n,o,s=t.event.special,a=0;void 0!==(n=e[a]);a++)if(W(n)){if(i=n[r.expando]){if(i.events)for(o in i.events)s[o]?t.event.remove(n,o):t.removeEvent(n,o,i.handle); 406n[r.expando]=void 0}; 407n[l.expando]&&(n[l.expando]=void 0)}}}),t.fn.extend({detach:function(e){return ut(this,e,!0)},remove:function(e){return ut(this,e)},text:function(e){return b(this,function(e){return void 0===e?t.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return M(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||at(this,e).appendChild(e)})},prepend:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=at(this,e); 408t.insertBefore(e,t.firstChild)}})},before:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;null!=(e=this[n]);n++)1===e.nodeType&&(t.cleanData(f(e,!1)),e.textContent=''); 409return this},clone:function(e,n){return e=null!=e&&e,n=null==n?e:n,this.map(function(){return t.clone(this,e,n)})},html:function(e){return b(this,function(e){var r=this[0]||{},i=0,o=this.length; 410if(void 0===e&&1===r.nodeType)return r.innerHTML; 411if('string'==typeof e&&!Rt.test(e)&&!p[(Be.exec(e)||['',''])[1].toLowerCase()]){e=t.htmlPrefilter(e); 412try{for(;i<o;i++)1===(r=this[i]||{}).nodeType&&(t.cleanData(f(r,!1)),r.innerHTML=e); 413r=0}catch(n){}}; 414r&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[]; 415return M(this,arguments,function(n){var r=this.parentNode; 416t.inArray(this,e)<0&&(t.cleanData(f(this)),r&&r.replaceChild(n,this))},e)}}),t.each({appendTo:'append',prependTo:'prepend',insertBefore:'before',insertAfter:'after',replaceAll:'replaceWith'},function(e,n){t.fn[e]=function(e){for(var i,o=[],a=t(e),s=a.length-1,r=0;r<=s;r++)i=r===s?this:this.clone(!0),t(a[r])[n](i),Z.apply(o,i.get()); 417return this.pushStack(o)}}); 418var le=new RegExp('^('+We+')(?!px)[a-z%]+$','i'),ce=/^--/,K=function(t){var n=t.ownerDocument.defaultView; 419return n&&n.opener||(n=e),n.getComputedStyle(t)},Re=function(e,t,n){var i,r,o={}; 420for(r in t)o[r]=e.style[r],e.style[r]=t[r]; 421for(r in i=n.call(e),t)e.style[r]=o[r]; 422return i},Mt=new RegExp(y.join('|'),'i');
vendor: 4,731 bytes, lines 423-454
423function X(e,n,r){var s,u,l,i,c=ce.test(n),a=e.style; 424return(r=r||K(e))&&(i=r.getPropertyValue(n)||r[n],c&&i&&(i=i.replace(U,'$1')||void 0),''!==i||j(e)||(i=t.style(e,n)),!o.pixelBoxStyles()&&le.test(i)&&Mt.test(n)&&(s=a.width,u=a.minWidth,l=a.maxWidth,a.minWidth=a.maxWidth=a.width=i,i=r.width,a.width=s,a.minWidth=u,a.maxWidth=l)),void 0!==i?i+'':i}; 425function lt(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments); 426delete this.get}}}; 427!function(){function r(){if(n){u.style.cssText='position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0',n.style.cssText='position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%',T.appendChild(u).appendChild(n); 428var t=e.getComputedStyle(n); 429l='1%'!==t.top,p=12===a(t.marginLeft),n.style.right='60%',d=36===a(t.right),c=36===a(t.width),n.style.position='absolute',f=12===a(n.offsetWidth/3),T.removeChild(u),n=null}}; 430function a(e){return Math.round(parseFloat(e))}; 431var l,c,f,d,s,p,u=i.createElement('div'),n=i.createElement('div'); 432n.style&&(n.style.backgroundClip='content-box',n.cloneNode(!0).style.backgroundClip='',o.clearCloneStyle='content-box'===n.style.backgroundClip,t.extend(o,{boxSizingReliable:function(){return r(),c},pixelBoxStyles:function(){return r(),d},pixelPosition:function(){return r(),l},reliableMarginLeft:function(){return r(),p},scrollboxSize:function(){return r(),f},reliableTrDimensions:function(){var n,t,r,o; 433return null==s&&(n=i.createElement('table'),t=i.createElement('tr'),r=i.createElement('div'),n.style.cssText='position:absolute;left:-11111px;border-collapse:separate',t.style.cssText='box-sizing:content-box;border:1px solid',t.style.height='1px',r.style.height='9px',r.style.display='block',T.appendChild(n).appendChild(t).appendChild(r),o=e.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,T.removeChild(n)),s}}))}(); 434var Oe=['Webkit','Moz','ms'],ze=i.createElement('div').style,Me={}; 435function ve(e){var n=t.cssProps[e]||Me[e]; 436return n||(e in ze?e:Me[e]=function(e){var n=e[0].toUpperCase()+e.slice(1),t=Oe.length; 437while(t--)if((e=Oe[t]+n)in ze)return e}(e)||e)}; 438var Ot=/^(none|table(?!-c[ea]).+)/,zt={position:'absolute',visibility:'hidden',display:'block'},Le={letterSpacing:'0',fontWeight:'400'}; 439function ct(e,t,n){var r=I.exec(t); 440return r?Math.max(0,r[2]-(n||0))+(r[3]||'px'):t}; 441function ye(e,n,r,i,o,u){var a='width'===n?1:0,l=0,s=0,c=0; 442if(r===(i?'border':'content'))return 0; 443for(;a<4;a+=2)'margin'===r&&(c+=t.css(e,r+y[a],!0,o)),i?('content'===r&&(s-=t.css(e,'padding'+y[a],!0,o)),'margin'!==r&&(s-=t.css(e,'border'+y[a]+'Width',!0,o))):(s+=t.css(e,'padding'+y[a],!0,o),'padding'!==r?s+=t.css(e,'border'+y[a]+'Width',!0,o):l+=t.css(e,'border'+y[a]+'Width',!0,o)); 444return!i&&0<=u&&(s+=Math.max(0,Math.ceil(e['offset'+n[0].toUpperCase()+n.slice(1)]-u-s-l-.5))||0),s+c}; 445function ft(e,n,r){var a=K(e),s=(!o.boxSizingReliable()||r)&&'border-box'===t.css(e,'boxSizing',!1,a),l=s,i=X(e,n,a),c='offset'+n[0].toUpperCase()+n.slice(1); 446if(le.test(i)){if(!r)return i; 447i='auto'}; 448return(!o.boxSizingReliable()&&s||!o.reliableTrDimensions()&&u(e,'tr')||'auto'===i||!parseFloat(i)&&'inline'===t.css(e,'display',!1,a))&&e.getClientRects().length&&(s='border-box'===t.css(e,'boxSizing',!1,a),(l=c in e)&&(i=e[c])),(i=parseFloat(i)||0)+ye(e,n,r||(s?'border':'content'),l,a,i)+'px'}; 449function h(e,t,n,r,i){return new h.prototype.init(e,t,n,r,i)}; 450t.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=X(e,'opacity'); 451return''===n?'1':n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,l,s,c=v(n),f=ce.test(n),u=e.style; 452if(f||(n=ve(c)),s=t.cssHooks[n]||t.cssHooks[c],void 0===r)return s&&'get'in s&&void 0!==(a=s.get(e,!1,i))?a:u[n]; 453'string'===(l=typeof r)&&(a=I.exec(r))&&a[1]&&(r=it(e,n,a),l='number'),null!=r&&r==r&&('number'!==l||f||(r+=a&&a[3]||(t.cssNumber[c]?'':'px')),o.clearCloneStyle||''!==r||0!==n.indexOf('background')||(u[n]='inherit'),s&&'set'in s&&void 0===(r=s.set(e,r,i))||(f?u.setProperty(n,r):u[n]=r))}},css:function(e,n,r,i){var o,a,s,u=v(n); 454return ce.test(n)||(n=ve(u)),(s=t.cssHooks[n]||t.cssHooks[u])&&'get'in s&&(o=s.get(e,!0,r)),void 0===o&&(o=X(e,n,i)),'normal'===o&&n in Le&&(o=Le[n]),''===r||r?
vendor: 10,517 bytes, lines 454-511
454(a=parseFloat(o),!0===r||isFinite(a)?a||0:o):o}}),t.each(['height','width'],function(e,n){t.cssHooks[n]={get:function(e,r,i){if(r)return!Ot.test(t.css(e,'display'))||e.getClientRects().length&&e.getBoundingClientRect().width?ft(e,n,i):Re(e,zt,function(){return ft(e,n,i)})},set:function(e,r,i){var u,a=K(e),l=!o.scrollboxSize()&&'absolute'===a.position,c=(l||i)&&'border-box'===t.css(e,'boxSizing',!1,a),s=i?ye(e,n,i,c,a):0; 455return c&&l&&(s-=Math.ceil(e['offset'+n[0].toUpperCase()+n.slice(1)]-parseFloat(a[n])-ye(e,n,'border',!1,a)-.5)),s&&(u=I.exec(r))&&'px'!==(u[3]||'px')&&(e.style[n]=r,r=t.css(e,n)),ct(0,r,s)}}}),t.cssHooks.marginLeft=lt(o.reliableMarginLeft,function(e,t){if(t)return(parseFloat(X(e,'marginLeft'))||e.getBoundingClientRect().left-Re(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+'px'}),t.each({margin:'',padding:'',border:'Width'},function(e,n){t.cssHooks[e+n]={expand:function(t){for(var r=0,o={},i='string'==typeof t?t.split(' '):[t];r<4;r++)o[e+y[r]+n]=i[r]||i[r-2]||i[0]; 456return o}},'margin'!==e&&(t.cssHooks[e+n].set=ct)}),t.fn.extend({css:function(e,n){return b(this,function(e,n,r){var o,a,s={},i=0; 457if(Array.isArray(n)){for(o=K(e),a=n.length;i<a;i++)s[n[i]]=t.css(e,n[i],!1,o); 458return s}; 459return void 0!==r?t.style(e,n,r):t.css(e,n)},e,n,1<arguments.length)}}),((t.Tween=h).prototype={constructor:h,init:function(e,n,r,i,o,a){this.elem=e,this.prop=r,this.easing=o||t.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=i,this.unit=a||(t.cssNumber[r]?'':'px')},cur:function(){var e=h.propHooks[this.prop]; 460return e&&e.get?e.get(this):h.propHooks._default.get(this)},run:function(e){var n,r=h.propHooks[this.prop]; 461return this.options.duration?this.pos=n=t.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):h.propHooks._default.set(this),this}}).init.prototype=h.prototype,(h.propHooks={_default:{get:function(e){var n; 462return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(n=t.css(e.elem,e.prop,''))&&'auto'!==n?n:0},set:function(e){t.fx.step[e.prop]?t.fx.step[e.prop](e):1!==e.elem.nodeType||!t.cssHooks[e.prop]&&null==e.elem.style[ve(e.prop)]?e.elem[e.prop]=e.now:t.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=h.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},t.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:'swing'},t.fx=h.prototype.init,t.fx.step={}; 463var S,Y,A,qe,qt=/^(?:toggle|show|hide)$/,Lt=/queueHooks$/; 464function be(){Y&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(be):e.setTimeout(be,t.fx.interval),t.fx.tick())}; 465function dt(){return e.setTimeout(function(){S=void 0}),S=Date.now()}; 466function ie(e,t){var i,r=0,n={height:e}; 467for(t=t?1:0;r<4;r+=2-t)n['margin'+(i=y[r])]=n['padding'+i]=e; 468return t&&(n.opacity=n.width=e),n}; 469function pt(e,t,n){for(var i,o=(g.tweeners[t]||[]).concat(g.tweeners['*']),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}; 470function g(e,n,r){var s,u,l=0,d=g.prefilters.length,o=t.Deferred().always(function(){delete f.elem}),f=function(){if(u)return!1; 471for(var s=S||dt(),t=Math.max(0,i.startTime+i.duration-s),n=1-(t/i.duration||0),r=0,a=i.tweens.length;r<a;r++)i.tweens[r].run(n); 472return o.notifyWith(e,[i,n,t]),n<1&&a?t:(a||o.notifyWith(e,[i,1,0]),o.resolveWith(e,[i]),!1)},i=o.promise({elem:e,props:t.extend({},n),opts:t.extend(!0,{specialEasing:{},easing:t.easing._default},r),originalProperties:n,originalOptions:r,startTime:S||dt(),duration:r.duration,tweens:[],createTween:function(n,r){var o=t.Tween(e,i.opts,n,r,i.opts.specialEasing[n]||i.opts.easing); 473return i.tweens.push(o),o},stop:function(t){var n=0,r=t?i.tweens.length:0; 474if(u)return this; 475for(u=!0;n<r;n++)i.tweens[n].run(1); 476return t?(o.notifyWith(e,[i,1,0]),o.resolveWith(e,[i,t])):o.rejectWith(e,[i,t]),this}}),c=i.props; 477for(!function(e,n){var r,o,a,i,s;for(r in e)if(a=n[o=v(r)],i=e[r],Array.isArray(i)&&(a=i[1],i=e[r]=i[0]),r!==o&&(e[o]=i,delete e[r]),(s=t.cssHooks[o])&&'expand'in s)for(r in i=s.expand(i),delete e[o],i)r in e||(e[r]=i[r],n[r]=a);else n[o]=a}(c,i.opts.specialEasing);l<d;l++)if(s=g.prefilters[l].call(i,e,c,i.opts))return a(s.stop)&&(t._queueHooks(i.elem,i.opts.queue).stop=s.stop.bind(s)),s; 478return t.map(c,pt,i),a(i.opts.start)&&i.opts.start.call(e,i),i.progress(i.opts.progress).done(i.opts.done,i.opts.complete).fail(i.opts.fail).always(i.opts.always),t.fx.timer(t.extend(f,{elem:e,anim:i,queue:i.opts.queue})),i}; 479t.Animation=t.extend(g,{tweeners:{'*':[function(e,t){var n=this.createTween(e,t); 480return it(n.elem,e,I.exec(t),n),n}]},tweener:function(e,t){a(e)?(t=e,e=['*']):e=e.match(m); 481for(var n,r=0,i=e.length;r<i;r++)n=e[r],g.tweeners[n]=g.tweeners[n]||[],g.tweeners[n].unshift(t)},prefilters:[function(e,n,i){var o,h,m,c,v,l,s,f,y='width'in n||'height'in n,p=this,g={},u=e.style,d=e.nodeType&&Q(e),a=r.get(e,'fxshow'); 482for(o in i.queue||(null==(c=t._queueHooks(e,'fx')).unqueued&&(c.unqueued=0,v=c.empty.fire,c.empty.fire=function(){c.unqueued||v()}),c.unqueued++,p.always(function(){p.always(function(){c.unqueued--,t.queue(e,'fx').length||c.empty.fire()})})),n)if(h=n[o],qt.test(h)){if(delete n[o],m=m||'toggle'===h,h===(d?'hide':'show')){if('show'!==h||!a||void 0===a[o])continue; 483d=!0}; 484g[o]=a&&a[o]||t.style(e,o)}; 485if((l=!t.isEmptyObject(n))||!t.isEmptyObject(g))for(o in y&&1===e.nodeType&&(i.overflow=[u.overflow,u.overflowX,u.overflowY],null==(s=a&&a.display)&&(s=r.get(e,'display')),'none'===(f=t.css(e,'display'))&&(s?f=s:(L([e],!0),s=e.style.display||s,f=t.css(e,'display'),L([e]))),('inline'===f||'inline-block'===f&&null!=s)&&'none'===t.css(e,'float')&&(l||(p.done(function(){u.display=s}),null==s&&(f=u.display,s='none'===f?'':f)),u.display='inline-block')),i.overflow&&(u.overflow='hidden',p.always(function(){u.overflow=i.overflow[0],u.overflowX=i.overflow[1],u.overflowY=i.overflow[2]})),l=!1,g)l||(a?'hidden'in a&&(d=a.hidden):a=r.access(e,'fxshow',{display:s}),m&&(a.hidden=!d),d&&L([e],!0),p.done(function(){for(o in d||L([e]),r.remove(e,'fxshow'),g)t.style(e,o,g[o])})),l=pt(d?a[o]:0,o,p),o in a||(a[o]=l.start,d&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?g.prefilters.unshift(e):g.prefilters.push(e)}}),t.speed=function(e,n,r){var i=e&&'object'==typeof e?t.extend({},e):{complete:r||!r&&n||a(e)&&e,duration:e,easing:r&&n||n&&!a(n)&&n}; 486return t.fx.off?i.duration=0:'number'!=typeof i.duration&&(i.duration in t.fx.speeds?i.duration=t.fx.speeds[i.duration]:i.duration=t.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue='fx'),i.old=i.complete,i.complete=function(){a(i.old)&&i.old.call(this),i.queue&&t.dequeue(this,i.queue)},i},t.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Q).css('opacity',0).show().end().animate({opacity:t},e,n,r)},animate:function(e,n,i,o){var u=t.isEmptyObject(e),s=t.speed(n,i,o),a=function(){var n=g(this,t.extend({},e),s);(u||r.get(this,'finish'))&&n.stop(!0)}; 487return a.finish=a,u||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(e,n,i){var o=function(e){var t=e.stop; 488delete e.stop,t(i)}; 489return'string'!=typeof e&&(i=n,n=e,e=void 0),n&&this.queue(e||'fx',[]),this.each(function(){var u=!0,n=null!=e&&e+'queueHooks',s=t.timers,a=r.get(this); 490if(n)a[n]&&a[n].stop&&o(a[n]); 491else for(n in a)a[n]&&a[n].stop&&Lt.test(n)&&o(a[n]); 492for(n=s.length;n--;)s[n].elem!==this||null!=e&&s[n].queue!==e||(s[n].anim.stop(i),u=!1,s.splice(n,1)); 493!u&&i||t.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||'fx'),this.each(function(){var n,a=r.get(this),i=a[e+'queue'],s=a[e+'queueHooks'],o=t.timers,u=i?i.length:0; 494for(a.finish=!0,t.queue(this,e,[]),s&&s.stop&&s.stop.call(this,!0),n=o.length;n--;)o[n].elem===this&&o[n].queue===e&&(o[n].anim.stop(!0),o.splice(n,1)); 495for(n=0;n<u;n++)i[n]&&i[n].finish&&i[n].finish.call(this); 496delete a.finish})}}),t.each(['toggle','show','hide'],function(e,n){var r=t.fn[n]; 497t.fn[n]=function(e,t,i){return null==e||'boolean'==typeof e?r.apply(this,arguments):this.animate(ie(n,!0),e,t,i)}}),t.each({slideDown:ie('show'),slideUp:ie('hide'),slideToggle:ie('toggle'),fadeIn:{opacity:'show'},fadeOut:{opacity:'hide'},fadeToggle:{opacity:'toggle'}},function(e,n){t.fn[e]=function(e,t,r){return this.animate(n,e,t,r)}}),t.timers=[],t.fx.tick=function(){var r,e=0,n=t.timers; 498for(S=Date.now();e<n.length;e++)(r=n[e])()||n[e]!==r||n.splice(e--,1); 499n.length||t.fx.stop(),S=void 0},t.fx.timer=function(e){t.timers.push(e),t.fx.start()},t.fx.interval=13,t.fx.start=function(){Y||(Y=!0,be())},t.fx.stop=function(){Y=null},t.fx.speeds={slow:600,fast:200,_default:400},t.fn.delay=function(n,r){return n=t.fx&&t.fx.speeds[n]||n,r=r||'fx',this.queue(r,function(t,r){var i=e.setTimeout(t,n); 500r.stop=function(){e.clearTimeout(i)}})},A=i.createElement('input'),qe=i.createElement('select').appendChild(i.createElement('option')),A.type='checkbox',o.checkOn=''!==A.value,o.optSelected=qe.selected,(A=i.createElement('input')).value='t',A.type='radio',o.radioValue='t'===A.value; 501var He,B=t.expr.attrHandle; 502t.fn.extend({attr:function(e,n){return b(this,t.attr,e,n,1<arguments.length)},removeAttr:function(e){return this.each(function(){t.removeAttr(this,e)})}}),t.extend({attr:function(e,n,r){var o,i,a=e.nodeType; 503if(3!==a&&8!==a&&2!==a)return'undefined'==typeof e.getAttribute?t.prop(e,n,r):(1===a&&t.isXMLDoc(e)||(i=t.attrHooks[n.toLowerCase()]||(t.expr.match.bool.test(n)?He:void 0)),void 0!==r?null===r?void t.removeAttr(e,n):i&&'set'in i&&void 0!==(o=i.set(e,r,n))?o:(e.setAttribute(n,r+''),r):i&&'get'in i&&null!==(o=i.get(e,n))?o:null==(o=t.find.attr(e,n))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!o.radioValue&&'radio'===t&&u(e,'input')){var n=e.value; 504return e.setAttribute('type',t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(m); 505if(r&&1===e.nodeType)while(n=r[i++])e.removeAttribute(n)}}),He={set:function(e,n,r){return!1===n?t.removeAttr(e,r):e.setAttribute(r,r),r}},t.each(t.expr.match.bool.source.match(/\w+/g),function(e,n){var r=B[n]||t.find.attr; 506B[n]=function(e,t,n){var o,a,i=t.toLowerCase(); 507return n||(a=B[i],B[i]=o,o=null!=r(e,t,n)?i:null,B[i]=a),o}}); 508var Nt=/^(?:input|select|textarea|button)$/i,Ht=/^(?:a|area)$/i; 509function C(e){return(e.match(m)||[]).join(' ')}; 510function E(e){return e.getAttribute&&e.getAttribute('class')||''}; 511function we(e){return Array.isArray(e)?e:'string'==typeof e&&e.match(m)||[]};
vendor: 9,297 bytes, lines 512-582
512t.fn.extend({prop:function(e,n){return b(this,t.prop,e,n,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[t.propFix[e]||e]})}}),t.extend({prop:function(e,n,r){var o,i,a=e.nodeType; 513if(3!==a&&8!==a&&2!==a)return 1===a&&t.isXMLDoc(e)||(n=t.propFix[n]||n,i=t.propHooks[n]),void 0!==r?i&&'set'in i&&void 0!==(o=i.set(e,r,n))?o:e[n]=r:i&&'get'in i&&null!==(o=i.get(e,n))?o:e[n]},propHooks:{tabIndex:{get:function(e){var n=t.find.attr(e,'tabindex'); 514return n?parseInt(n,10):Nt.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{'for':'htmlFor','class':'className'}}),o.optSelected||(t.propHooks.selected={get:function(e){var t=e.parentNode; 515return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode; 516t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),t.each(['tabIndex','readOnly','maxLength','cellSpacing','cellPadding','rowSpan','colSpan','useMap','frameBorder','contentEditable'],function(){t.propFix[this.toLowerCase()]=this}),t.fn.extend({addClass:function(e){var i,n,o,s,r,u; 517return a(e)?this.each(function(n){t(this).addClass(e.call(this,n,E(this)))}):(i=we(e)).length?this.each(function(){if(o=E(this),n=1===this.nodeType&&' '+C(o)+' '){for(r=0;r<i.length;r++)s=i[r],n.indexOf(' '+s+' ')<0&&(n+=s+' '); 518u=C(n),o!==u&&this.setAttribute('class',u)}}):this},removeClass:function(e){var i,n,o,s,r,u; 519return a(e)?this.each(function(n){t(this).removeClass(e.call(this,n,E(this)))}):arguments.length?(i=we(e)).length?this.each(function(){if(o=E(this),n=1===this.nodeType&&' '+C(o)+' '){for(r=0;r<i.length;r++){s=i[r]; 520while(-1<n.indexOf(' '+s+' '))n=n.replace(' '+s+' ',' ')}; 521u=C(n),o!==u&&this.setAttribute('class',u)}}):this:this.attr('class','')},toggleClass:function(e,n){var u,i,o,s,l=typeof e,c='string'===l||Array.isArray(e); 522return a(e)?this.each(function(r){t(this).toggleClass(e.call(this,r,E(this),n),n)}):'boolean'==typeof n&&c?n?this.addClass(e):this.removeClass(e):(u=we(e),this.each(function(){if(c)for(s=t(this),o=0;o<u.length;o++)i=u[o],s.hasClass(i)?s.removeClass(i):s.addClass(i); 523else void 0!==e&&'boolean'!==l||((i=E(this))&&r.set(this,'__className__',i),this.setAttribute&&this.setAttribute('class',i||!1===e?'':r.get(this,'__className__')||''))}))},hasClass:function(e){var n,t,r=0; 524n=' '+e+' '; 525while(t=this[r++])if(1===t.nodeType&&-1<(' '+C(E(t))+' ').indexOf(n))return!0; 526return!1}}); 527var Dt=/\r/g; 528t.fn.extend({val:function(e){var n,r,o,i=this[0]; 529return arguments.length?(o=a(e),this.each(function(r){var i; 5301===this.nodeType&&(null==(i=o?e.call(this,r,t(this).val()):e)?i='':'number'==typeof i?i+='':Array.isArray(i)&&(i=t.map(i,function(e){return null==e?'':e+''})),(n=t.valHooks[this.type]||t.valHooks[this.nodeName.toLowerCase()])&&'set'in n&&void 0!==n.set(this,i,'value')||(this.value=i))})):i?(n=t.valHooks[i.type]||t.valHooks[i.nodeName.toLowerCase()])&&'get'in n&&void 0!==(r=n.get(i,'value'))?r:'string'==typeof(r=i.value)?r.replace(Dt,''):null==r?'':r:void 0}}),t.extend({valHooks:{option:{get:function(e){var n=t.find.attr(e,'value'); 531return null!=n?n:C(t.text(e))}},select:{get:function(e){var a,n,r,s=e.options,i=e.selectedIndex,o='select-one'===e.type,l=o?null:[],c=o?i+1:s.length; 532for(r=i<0?c:o?i:0;r<c;r++)if(((n=s[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,'optgroup'))){if(a=t(n).val(),o)return a; 533l.push(a)}; 534return l},set:function(e,n){var r,i,o=e.options,a=t.makeArray(n),s=o.length; 535while(s--)((i=o[s]).selected=-1<t.inArray(t.valHooks.option.get(i),a))&&(r=!0); 536return r||(e.selectedIndex=-1),a}}}}),t.each(['radio','checkbox'],function(){t.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=-1<t.inArray(t(e).val(),n)}},o.checkOn||(t.valHooks[this].get=function(e){return null===e.getAttribute('value')?'on':e.value})}); 537var P=e.location,Ne={guid:Date.now()},ue=/\?/; 538t.parseXML=function(n){var i,o; 539if(!n||'string'!=typeof n)return null; 540try{i=(new e.DOMParser).parseFromString(n,'text/xml')}catch(r){}; 541return o=i&&i.getElementsByTagName('parsererror')[0],i&&!o||t.error('Invalid XML: '+(o?t.map(o.childNodes,function(e){return e.textContent}).join('\n'):n)),i}; 542var je=/^(?:focusinfocus|focusoutblur)$/,De=function(e){e.stopPropagation()}; 543t.extend(t.event,{trigger:function(n,o,s,u){var y,c,f,b,p,h,d,g,m=[s||i],l=G.call(n,'type')?n.type:n,v=G.call(n,'namespace')?n.namespace.split('.'):[]; 544if(c=g=f=s=s||i,3!==s.nodeType&&8!==s.nodeType&&!je.test(l+t.event.triggered)&&(-1<l.indexOf('.')&&(l=(v=l.split('.')).shift(),v.sort()),p=l.indexOf(':')<0&&'on'+l,(n=n[t.expando]?n:new t.Event(l,'object'==typeof n&&n)).isTrigger=u?2:3,n.namespace=v.join('.'),n.rnamespace=n.namespace?new RegExp('(^|\\.)'+v.join('\\.(?:.*\\.|)')+'(\\.|$)'):null,n.result=void 0,n.target||(n.target=s),o=null==o?[n]:t.makeArray(o,[n]),d=t.event.special[l]||{},u||!d.trigger||!1!==d.trigger.apply(s,o))){if(!u&&!d.noBubble&&!N(s)){for(b=d.delegateType||l,je.test(b+l)||(c=c.parentNode);c;c=c.parentNode)m.push(c),f=c; 545f===(s.ownerDocument||i)&&m.push(f.defaultView||f.parentWindow||e)}; 546y=0; 547while((c=m[y++])&&!n.isPropagationStopped())g=c,n.type=1<y?b:d.bindType||l,(h=(r.get(c,'events')||Object.create(null))[n.type]&&r.get(c,'handle'))&&h.apply(c,o),(h=p&&c[p])&&h.apply&&W(c)&&(n.result=h.apply(c,o),!1===n.result&&n.preventDefault()); 548return n.type=l,u||n.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),o)||!W(s)||p&&a(s[l])&&!N(s)&&((f=s[p])&&(s[p]=null),t.event.triggered=l,n.isPropagationStopped()&&g.addEventListener(l,De),s[l](),n.isPropagationStopped()&&g.removeEventListener(l,De),t.event.triggered=void 0,f&&(s[p]=f)),n.result}},simulate:function(e,n,r){var i=t.extend(new t.Event,r,{type:e,isSimulated:!0}); 549t.event.trigger(i,null,n)}}),t.fn.extend({trigger:function(e,n){return this.each(function(){t.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0]; 550if(r)return t.event.trigger(e,n,r,!0)}}); 551var St=/\[\]$/,Ae=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i; 552function xe(e,n,r,i){var o; 553if(Array.isArray(n))t.each(n,function(t,n){r||St.test(e)?i(e,n):xe(e+'['+('object'==typeof n&&null!=n?t:'')+']',n,r,i)}); 554else if(r||'object'!==H(n))i(e,n); 555else for(o in n)xe(e+'['+o+']',n[o],r,i)}; 556t.param=function(e,n){var r,i=[],o=function(e,t){var n=a(t)?t():t; 557i[i.length]=encodeURIComponent(e)+'='+encodeURIComponent(null==n?'':n)}; 558if(null==e)return''; 559if(Array.isArray(e)||e.jquery&&!t.isPlainObject(e))t.each(e,function(){o(this.name,this.value)}); 560else for(r in e)xe(r,e[r],n,o); 561return i.join('&')},t.fn.extend({serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=t.prop(this,'elements'); 562return e?t.makeArray(e):this}).filter(function(){var e=this.type; 563return this.name&&!t(this).is(':disabled')&&jt.test(this.nodeName)&&!At.test(e)&&(this.checked||!F.test(e))}).map(function(e,n){var r=t(this).val(); 564return null==r?null:Array.isArray(r)?t.map(r,function(e){return{name:n.name,value:e.replace(Ae,'\r\n')}}):{name:n.name,value:r.replace(Ae,'\r\n')}}).get()}}); 565var wt=/%20/g,xt=/#.*$/,kt=/([?&])_=[^&]*/,Tt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ct=/^(?:GET|HEAD)$/,Et=/^\/\//,Ee={},ae={},Se='*/'.concat('*'),se=i.createElement('a'); 566function ht(e){return function(t,n){'string'!=typeof t&&(n=t,t='*'); 567var r,i=0,o=t.toLowerCase().match(m)||[]; 568if(a(n))while(r=o[i++])'+'===r[0]?(r=r.slice(1)||'*',(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}; 569function gt(e,n,r,i){var o={},s=e===ae; 570function a(u){var l; 571return o[u]=!0,t.each(e[u]||[],function(e,t){var u=t(n,r,i); 572return'string'!=typeof u||s||o[u]?s?!(l=u):void 0:(n.dataTypes.unshift(u),a(u),!1)}),l}; 573return a(n.dataTypes[0])||!o['*']&&a('*')}; 574function ke(e,n){var r,i,o=t.ajaxSettings.flatOptions||{}; 575for(r in n)void 0!==n[r]&&((o[r]?e:i||(i={}))[r]=n[r]); 576return i&&t.extend(!0,e,i),e}; 577se.href=P.href,t.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:P.href,type:'GET',isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(P.protocol),global:!0,processData:!0,async:!0,contentType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:{'*':Se,text:'text/plain',html:'text/html',xml:'application/xml, text/xml',json:'application/json, text/javascript'},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{'* text':String,'text html':!0,'text json':JSON.parse,'text xml':t.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?ke(ke(e,t.ajaxSettings),n):ke(t.ajaxSettings,e)},ajaxPrefilter:ht(Ee),ajaxTransport:ht(ae),ajax:function(n,r){'object'==typeof n&&(r=n,n=void 0),r=r||{}; 578var d,u,b,p,w,f,l,h,x,g,o=t.ajaxSetup({},r),c=o.context||o,k=o.context&&(c.nodeType||c.jquery)?t(c):t.event,T=t.Deferred(),C=t.Callbacks('once memory'),v=o.statusCode||{},E={},S={},A='canceled',s={readyState:0,getResponseHeader:function(e){var t; 579if(l){if(!p){p={}; 580while(t=Tt.exec(b))p[t[1].toLowerCase()+' ']=(p[t[1].toLowerCase()+' ']||[]).concat(t[2])}; 581t=p[e.toLowerCase()+' ']}; 582return null==t?null:t.join(', ')},getAllResponseHeaders:function(){return l?b:null},setRequestHeader:function(e,t){return null==l&&(e=S[e.toLowerCase()]=S[e.toLowerCase()]||e,E[e]=t),this}
vendor: 10,706 bytes, lines 582-647
582,overrideMimeType:function(e){return null==l&&(o.mimeType=e),this},statusCode:function(e){var t; 583if(e)if(l)s.always(e[s.status]); 584else for(t in e)v[t]=[v[t],e[t]]; 585return this},abort:function(e){var t=e||A; 586return d&&d.abort(t),y(0,t),this}}; 587if(T.promise(s),o.url=((n||o.url||P.href)+'').replace(Et,P.protocol+'//'),o.type=r.method||r.type||o.method||o.type,o.dataTypes=(o.dataType||'*').toLowerCase().match(m)||[''],null==o.crossDomain){f=i.createElement('a'); 588try{f.href=o.url,f.href=f.href,o.crossDomain=se.protocol+'//'+se.host!=f.protocol+'//'+f.host}catch(a){o.crossDomain=!0}}; 589if(o.data&&o.processData&&'string'!=typeof o.data&&(o.data=t.param(o.data,o.traditional)),gt(Ee,o,r,s),l)return s; 590for(x in(h=t.event&&o.global)&&0==t.active++&&t.event.trigger('ajaxStart'),o.type=o.type.toUpperCase(),o.hasContent=!Ct.test(o.type),u=o.url.replace(xt,''),o.hasContent?o.data&&o.processData&&0===(o.contentType||'').indexOf('application/x-www-form-urlencoded')&&(o.data=o.data.replace(wt,'+')):(g=o.url.slice(u.length),o.data&&(o.processData||'string'==typeof o.data)&&(u+=(ue.test(u)?'&':'?')+o.data,delete o.data),!1===o.cache&&(u=u.replace(kt,'$1'),g=(ue.test(u)?'&':'?')+'_='+Ne.guid+++g),o.url=u+g),o.ifModified&&(t.lastModified[u]&&s.setRequestHeader('If-Modified-Since',t.lastModified[u]),t.etag[u]&&s.setRequestHeader('If-None-Match',t.etag[u])),(o.data&&o.hasContent&&!1!==o.contentType||r.contentType)&&s.setRequestHeader('Content-Type',o.contentType),s.setRequestHeader('Accept',o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+('*'!==o.dataTypes[0]?', '+Se+'; q=0.01':''):o.accepts['*']),o.headers)s.setRequestHeader(x,o.headers[x]); 591if(o.beforeSend&&(!1===o.beforeSend.call(c,s,o)||l))return s.abort(); 592if(A='abort',C.add(o.complete),s.done(o.success),s.fail(o.error),d=gt(ae,o,r,s)){if(s.readyState=1,h&&k.trigger('ajaxSend',[s,o]),l)return s; 593o.async&&0<o.timeout&&(w=e.setTimeout(function(){s.abort('timeout')},o.timeout)); 594try{l=!1,d.send(E,y)}catch(a){if(l)throw a; 595y(-1,a)}} 596else y(-1,'No Transport'); 597function y(n,r,i,a){var p,x,m,g,y,f=r; 598l||(l=!0,w&&e.clearTimeout(w),d=void 0,b=a||'',s.readyState=0<n?4:0,p=200<=n&&n<300||304===n,i&&(g=function(e,t,n){var a,i,o,s,u=e.contents,r=e.dataTypes; 599while('*'===r[0])r.shift(),void 0===a&&(a=e.mimeType||t.getResponseHeader('Content-Type')); 600if(a)for(i in u)if(u[i]&&u[i].test(a)){r.unshift(i); 601break}; 602if(r[0]in n)o=r[0]; 603else{for(i in n){if(!r[0]||e.converters[i+' '+r[0]]){o=i; 604break}; 605s||(s=i)}; 606o=o||s}; 607if(o)return o!==r[0]&&r.unshift(o),n[o]}(o,s,i)),!p&&-1<t.inArray('script',o.dataTypes)&&t.inArray('json',o.dataTypes)<0&&(o.converters['text script']=function(){}),g=function(e,t,n,r){var c,o,a,l,s,u={},f=e.dataTypes.slice(); 608if(f[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a]; 609o=f.shift(); 610while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=f.shift())if('*'===o)o=s; 611else if('*'!==s&&s!==o){if(!(a=u[s+' '+o]||u['* '+o]))for(c in u)if((l=c.split(' '))[1]===o&&(a=u[s+' '+l[0]]||u['* '+l[0]])){!0===a?a=u[c]:!0!==u[c]&&(o=l[0],f.unshift(l[1])); 612break}; 613if(!0!==a)if(a&&e['throws'])t=a(t); 614else try{t=a(t)}catch(i){return{state:'parsererror',error:a?i:'No conversion from '+s+' to '+o}}}; 615return{state:'success',data:t}}(o,g,s,p),p?(o.ifModified&&((y=s.getResponseHeader('Last-Modified'))&&(t.lastModified[u]=y),(y=s.getResponseHeader('etag'))&&(t.etag[u]=y)),204===n||'HEAD'===o.type?f='nocontent':304===n?f='notmodified':(f=g.state,x=g.data,p=!(m=g.error))):(m=f,!n&&f||(f='error',n<0&&(n=0))),s.status=n,s.statusText=(r||f)+'',p?T.resolveWith(c,[x,f,s]):T.rejectWith(c,[s,f,m]),s.statusCode(v),v=void 0,h&&k.trigger(p?'ajaxSuccess':'ajaxError',[s,o,p?x:m]),C.fireWith(c,[s,f]),h&&(k.trigger('ajaxComplete',[s,o]),--t.active||t.event.trigger('ajaxStop')))}; 616return s},getJSON:function(e,n,r){return t.get(e,n,r,'json')},getScript:function(e,n){return t.get(e,void 0,n,'script')}}),t.each(['get','post'],function(e,n){t[n]=function(e,r,i,o){return a(r)&&(o=o||i,i=r,r=void 0),t.ajax(t.extend({url:e,type:n,dataType:o,data:r,success:i},t.isPlainObject(e)&&e))}}),t.ajaxPrefilter(function(e){var t; 617for(t in e.headers)'content-type'===t.toLowerCase()&&(e.contentType=e.headers[t]||'')}),t._evalUrl=function(e,n,r){return t.ajax({url:e,type:'GET',dataType:'script',cache:!0,async:!1,global:!1,converters:{'text script':function(){}},dataFilter:function(e){t.globalEval(e,n,r)}})},t.fn.extend({wrapAll:function(e){var n; 618return this[0]&&(a(e)&&(e=e.call(this[0])),n=t(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){var e=this; 619while(e.firstElementChild)e=e.firstElementChild; 620return e}).append(this)),this},wrapInner:function(e){return a(e)?this.each(function(n){t(this).wrapInner(e.call(this,n))}):this.each(function(){var n=t(this),r=n.contents(); 621r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){var n=a(e); 622return this.each(function(r){t(this).wrapAll(n?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not('body').each(function(){t(this).replaceWith(this.childNodes)}),this}}),t.expr.pseudos.hidden=function(e){return!t.expr.pseudos.visible(e)},t.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},t.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}}; 623var bt={0:200,1223:204},R=t.ajaxSettings.xhr(); 624o.cors=!!R&&'withCredentials'in R,o.ajax=R=!!R,t.ajaxTransport(function(t){var n,r; 625if(o.cors||R&&!t.crossDomain)return{send:function(i,o){var u,s=t.xhr(); 626if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(u in t.xhrFields)s[u]=t.xhrFields[u]; 627for(u in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i['X-Requested-With']||(i['X-Requested-With']='XMLHttpRequest'),i)s.setRequestHeader(u,i[u]); 628n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,'abort'===e?s.abort():'error'===e?'number'!=typeof s.status?o(0,'error'):o(s.status,s.statusText):o(bt[s.status]||s.status,s.statusText,'text'!==(s.responseType||'text')||'string'!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n('error'),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n('abort'); 629try{s.send(t.hasContent&&t.data||null)}catch(a){if(n)throw a}},abort:function(){n&&n()}}}),t.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),t.ajaxSetup({accepts:{script:'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'},contents:{script:/\b(?:java|ecma)script\b/},converters:{'text script':function(e){return t.globalEval(e),e}}}),t.ajaxPrefilter('script',function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type='GET')}),t.ajaxTransport('script',function(e){var r,n; 630if(e.crossDomain||e.scriptAttrs)return{send:function(o,a){r=t('<script>').attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on('load error',n=function(e){r.remove(),n=null,e&&a('error'===e.type?404:200,e.type)}),i.head.appendChild(r[0])},abort:function(){n&&n()}}}); 631var Te,Ce=[],oe=/(=)\?(?=&|$)|\?\?/; 632t.ajaxSetup({jsonp:'callback',jsonpCallback:function(){var e=Ce.pop()||t.expando+'_'+Ne.guid++; 633return this[e]=!0,e}}),t.ajaxPrefilter('json jsonp',function(n,r,i){var o,s,u,l=!1!==n.jsonp&&(oe.test(n.url)?'url':'string'==typeof n.data&&0===(n.contentType||'').indexOf('application/x-www-form-urlencoded')&&oe.test(n.data)&&'data'); 634if(l||'jsonp'===n.dataTypes[0])return o=n.jsonpCallback=a(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(oe,'$1'+o):!1!==n.jsonp&&(n.url+=(ue.test(n.url)?'&':'?')+n.jsonp+'='+o),n.converters['script json']=function(){return u||t.error(o+' was not called'),u[0]},n.dataTypes[0]='json',s=e[o],e[o]=function(){u=arguments},i.always(function(){void 0===s?t(e).removeProp(o):e[o]=s,n[o]&&(n.jsonpCallback=r.jsonpCallback,Ce.push(o)),u&&a(s)&&s(u[0]),u=s=void 0}),'script'}),o.createHTMLDocument=((Te=i.implementation.createHTMLDocument('').body).innerHTML='<form></form><form></form>',2===Te.childNodes.length),t.parseHTML=function(e,n,r){return'string'!=typeof e?[]:('boolean'==typeof n&&(r=n,n=!1),n||(o.createHTMLDocument?((u=(n=i.implementation.createHTMLDocument('')).createElement('base')).href=i.location.href,n.head.appendChild(u)):n=i),a=!r&&[],(s=Xe.exec(e))?[n.createElement(s[1])]:(s=ot([e],n,a),a&&a.length&&t(a).remove(),t.merge([],s.childNodes))); 635var u,s,a},t.fn.load=function(e,n,r){var i,u,l,o=this,s=e.indexOf(' '); 636return-1<s&&(i=C(e.slice(s)),e=e.slice(0,s)),a(n)?(r=n,n=void 0):n&&'object'==typeof n&&(u='POST'),0<o.length&&t.ajax({url:e,type:u||'GET',dataType:'html',data:n}).done(function(e){l=arguments,o.html(i?t('<div>').append(t.parseHTML(e)).find(i):e)}).always(r&&function(e,t){o.each(function(){r.apply(this,l||[e.responseText,t,e])})}),this},t.expr.pseudos.animated=function(e){return t.grep(t.timers,function(t){return e===t.elem}).length},t.offset={setOffset:function(e,n,r){var p,s,u,l,i,c,f=t.css(e,'position'),d=t(e),o={}; 637'static'===f&&(e.style.position='relative'),i=d.offset(),u=t.css(e,'top'),c=t.css(e,'left'),('absolute'===f||'fixed'===f)&&-1<(u+c).indexOf('auto')?(l=(p=d.position()).top,s=p.left):(l=parseFloat(u)||0,s=parseFloat(c)||0),a(n)&&(n=n.call(e,r,t.extend({},i))),null!=n.top&&(o.top=n.top-i.top+l),null!=n.left&&(o.left=n.left-i.left+s),'using'in n?n.using.call(e,o):d.css(o)}},t.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(n){t.offset.setOffset(this,e,n)}); 638var r,i,n=this[0]; 639return n?n.getClientRects().length?(r=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:r.top+i.pageYOffset,left:r.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,r,i,n=this[0],o={top:0,left:0}; 640if('fixed'===t.css(n,'position'))r=n.getBoundingClientRect(); 641else{r=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement; 642while(e&&(e===i.body||e===i.documentElement)&&'static'===t.css(e,'position'))e=e.parentNode; 643e&&e!==n&&1===e.nodeType&&((o=t(e).offset()).top+=t.css(e,'borderTopWidth',!0),o.left+=t.css(e,'borderLeftWidth',!0))}; 644return{top:r.top-o.top-t.css(n,'marginTop',!0),left:r.left-o.left-t.css(n,'marginLeft',!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent; 645while(e&&'static'===t.css(e,'position'))e=e.offsetParent; 646return e||T})}}),t.each({scrollLeft:'pageXOffset',scrollTop:'pageYOffset'},function(e,n){var r='pageYOffset'===n; 647t.fn[e]=function(t){return b(this,function(e,t,i){var o;
648if(N(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[n]:e[t]; 649o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):e[t]=i},e,t,arguments.length)}}),t.each(['top','left'],function(e,n){t.cssHooks[n]=lt(o.pixelPosition,function(e,r){if(r)return r=X(e,n),le.test(r)?t(e).position()[n]+'px':r})}),t.each({Height:'height',Width:'width'},function(e,n){t.each({padding:'inner'+e,content:n,'':'outer'+e},function(r,i){t.fn[i]=function(o,a){var s=arguments.length&&(r||'boolean'!=typeof o),u=r||(!0===o||!0===a?'margin':'border'); 650return b(this,function(n,r,o){var a; 651return N(n)?0===i.indexOf('outer')?n['inner'+e]:n.document.documentElement['client'+e]:9===n.nodeType?(a=n.documentElement,Math.max(n.body['scroll'+e],a['scroll'+e],n.body['offset'+e],a['offset'+e],a['client'+e])):void 0===o?t.css(n,r,u):t.style(n,r,o,u)},n,s?o:void 0,s)}})}),t.each(['ajaxStart','ajaxStop','ajaxComplete','ajaxError','ajaxSuccess','ajaxSend'],function(e,n){t.fn[n]=function(e){return this.on(n,e)}}),t.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,'**'):this.off(t,e||'**',n)},hover:function(e,t){return this.on('mouseenter',e).on('mouseleave',t||e)}}),t.each('blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu'.split(' '),function(e,n){t.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}); 652var yt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 653t.proxy=function(e,n){var r,i,o; 654if('string'==typeof n&&(r=e[n],n=e,e=r),a(e))return i=d.call(arguments,2),(o=function(){return e.apply(n||this,i.concat(d.call(arguments)))}).guid=e.guid=e.guid||t.guid++,o},t.holdReady=function(e){e?t.readyWait++:t.ready(!0)},t.isArray=Array.isArray,t.parseJSON=JSON.parse,t.nodeName=u,t.isFunction=a,t.isWindow=N,t.camelCase=v,t.type=H,t.now=Date.now,t.isNumeric=function(e){var n=t.type(e); 655return('number'===n||'string'===n)&&!isNaN(e-parseFloat(e))},t.trim=function(e){return null==e?'':(e+'').replace(yt,'$1')},'function'==typeof define&&define.amd&&define('jquery',[],function(){return t}); 656var mt=e.jQuery,vt=e.$; 657return t.noConflict=function(n){return e.$===t&&(e.$=vt),n&&e.jQuery===t&&(e.jQuery=mt),t},'undefined'==typeof n&&(e.jQuery=e.$=t),t}); 658 659/*! 660 * jQuery throttle / debounce - v1.1 - 3/7/2010 661 * http://benalman.com/projects/jquery-throttle-debounce-plugin/ 662 * 663 * Copyright (c) 2010 "Cowboy" Ben Alman 664 * Dual licensed under the MIT and GPL licenses. 665 * http://benalman.com/about/license/ 666 */ 667(function(e,t){'$:nomunge'; 668var n=e.jQuery||e.Cowboy||(e.Cowboy={}),r; 669n.throttle=r=function(e,r,i,o){var a,s=0; 670if(typeof r!=='boolean'){o=i; 671i=r; 672r=t}; 673function u(){var l=this,u=+new Date()-s,c=arguments; 674function n(){s=+new Date(); 675i.apply(l,c)}; 676function f(){a=t}; 677if(o&&!a){n()}; 678a&&clearTimeout(a); 679if(o===t&&u>e){n()} 680else if(r!==!0){a=setTimeout(o?f:n,o===t?e-u:e)}}; 681if(n.guid){u.guid=i.guid=i.guid||n.guid++}; 682return u}; 683n.debounce=function(e,n,i){return i===t?r(e,n,!1):r(e,i,n!==!1)}})(this);(function(e,t){'use strict'; 684var n=e.document; 685function r(){var r,i,m=!1,v={ENTER:13,ESC:27,SPACE:32},f=[],u,d,p,y,b,w,h,g,c,e,l,x; 686i={holder:'<nav class="alertify-buttons">{{buttons}}</nav>',floatingHolder:'<nav class="alertify-buttons-float">{{floatingbuttons}}</nav>',submit:'<button type="submit" class="alertify-button alertify-button-ok" id="alertify-ok">{{ok}}</button>',submitForm:'<button type="submit" class="alertify-button alertify-button-ok" id="alertify-submit">{{ok}}</button>',ok:'<button class="alertify-button alertify-button-ok" id="alertify-ok">{{ok}}</button>',cancel:'<button class="alertify-button alertify-button-cancel" id="alertify-cancel">{{cancel}}</button>',close:'<button class="alertify-button-float alertify-button-close" id="alertify-close" tabindex="-1">{{close}}</button>',input:'<div class="alertify-text-wrapper"><input type="text" class="alertify-text" id="alertify-text" aria-labelledby="alertify-message"></div>',message:'<div class="alertify-message" id="alertify-message">{{message}}</div>'}; 687function k(){var e,r,i=!1,a=n.createElement('fakeelement'),o={'WebkitTransition':'webkitTransitionEnd','MozTransition':'transitionend','OTransition':'otransitionend','transition':'transitionend'};
688for(e in o){if(a.style[e]!==t){r=o[e]; 689i=!0; 690break}}; 691return{type:r,supported:i}}; 692function o(e){return n.getElementById(e)}; 693function a(e,t,n){e.addEventListener(t,n,!1)}; 694function s(e,t,n){e.removeEventListener(t,n,!1)}; 695r={labels:{ok:'OK',cancel:'Cancel',close:'Close'},buttonReverse:!1,buttonFocus:'ok',transition:t,keydown:!1,addListeners:function(e){var t=this; 696function o(t){if(typeof t.preventDefault!=='undefined')t.preventDefault(); 697f(); 698if(typeof e==='function'){if(l){e(!0,l.value)} 699else e(!0)}; 700return!1}; 701function c(e){if(typeof e.preventDefault!=='undefined')e.preventDefault(); 702n.querySelector('#alertify-form-wrap [type=submit]').click(); 703return!1}; 704function r(t){if(typeof t.preventDefault!=='undefined')t.preventDefault(); 705f(); 706if(typeof e==='function')e(!1); 707return!1}; 708function w(){a(y,'focus',i); 709a(b,'focus',i); 710if(p)a(p,'click',o); 711if(u)a(u,'click',r); 712if(d)a(d,'click',r); 713if(h)a(h,'click',c); 714a(n.body,'keyup',m); 715a(n.body,'keydown',g)}; 716function f(){t.hide(); 717s(y,'focus',i); 718s(b,'focus',i); 719if(p)s(p,'click',o); 720if(u)s(u,'click',r); 721if(d)s(d,'click',r); 722if(h)s(h,'click',c); 723s(n.body,'keyup',m); 724s(n.body,'keydown',g)}; 725function g(e){t.keydown=!0}; 726function m(e){if(!t.keydown){return}; 727t.keydown=!1; 728var n=e.keyCode; 729if((!l&&!x&&!u&&n===v.SPACE)||(l&&n===v.ENTER)){o(e)} 730else if(n===v.ESC&&u){r(e)}}; 731function i(e){t.setFocus()}; 732w(); 733if(!this.transition.supported){this.setFocus()}},appendButtons:function(e,t){return this.buttonReverse?t+e:e+t},build:function(t){var n='',o=t.type,a=t.message,s=t.cssClass||''; 734n+='<div class="alertify-dialog">'; 735n+='<a id="alertify-resetFocusBack" class="alertify-resetFocus" href="#"> </a>'; 736if(r.buttonFocus==='none')n+='<a href="#" id="alertify-noneFocus" class="alertify-hidden"></a>'; 737n+='<article class="alertify-inner">'; 738n+='<div class="alertify-scroll">'; 739if(o==='form')n+='<div id="alertify-form-wrap" tabindex="0">'; 740n+=i.message.replace('{{message}}',a); 741if(o==='prompt')n+=i.input; 742if(o==='form')n+='</div>'; 743n+='</div>'; 744n+=i.floatingHolder; 745if(o!=='popup')n+=i.holder; 746n+='</article>'; 747n+='<a id="alertify-resetFocus" class="alertify-resetFocus" href="#"> </a>'; 748n+='</div>'; 749switch(o){case'confirm':n=n.replace('{{buttons}}',this.appendButtons(i.cancel,i.ok)); 750break; 751case'prompt':n=n.replace('{{buttons}}',this.appendButtons(i.cancel,i.submit)); 752break; 753case'alert':n=n.replace('{{buttons}}',i.ok); 754break; 755case'popup':break; 756case'form':n=n.replace('{{buttons}}',this.appendButtons(i.cancel,i.submitForm)); 757break; 758default:break}; 759n=n.replace('{{floatingbuttons}}',i.close); 760n=n.replace('{{close}}',this.labels.close).replace('{{ok}}',this.labels.ok).replace('{{cancel}}',this.labels.cancel); 761e.className='alertify alertify-'+o+' '+s; 762c.className='alertify-cover'; 763return n},dialog:function(e,t,r,i,o){g=n.activeElement; 764if(g){g.blur()}; 765if(typeof e!=='string')throw new Error('message must be a string'); 766if(typeof t!=='string')throw new Error('type must be a string'); 767if(typeof r!=='undefined'&&typeof r!=='function')throw new Error('fn must be a function'); 768this.init(); 769f.push({type:t,message:e,callback:r,placeholder:i,cssClass:o}); 770if(!m)this.setup(!1); 771return this},hide:function(){function n(t){if(t.target===e){t.stopPropagation(); 772e.className='alertify alertify-hide alertify-hidden'; 773e.innerHTML=null; 774s(e,r.transition.type,n)}}; 775var r=this,t=f[0]; 776f.splice(0,1); 777if(f.length>0)this.setup(!0); 778else{m=!1; 779if(this.transition.supported){a(e,this.transition.type,n); 780e.className='alertify alertify-hide alertify-hidden '+(t?t.cssClass:'')} 781else{e.className='alertify alertify-hide alertify-hidden'; 782e.innerHTML=null}; 783c.className='alertify-cover alertify-cover-hidden'; 784if(g){g.focus()}}},init:function(){n.createElement('nav'); 785n.createElement('article'); 786n.createElement('section'); 787if(o('alertify-cover')===null){c=n.createElement('div'); 788c.setAttribute('id','alertify-cover'); 789c.setAttribute('aria-hidden','true'); 790c.className='alertify-cover alertify-cover-hidden'; 791n.body.appendChild(c)}; 792if(o('alertify')===null){m=!1; 793f=[]; 794e=n.createElement('section'); 795e.setAttribute('id','alertify'); 796e.setAttribute('role','dialog');
797e.className='alertify alertify-hidden'; 798n.body.appendChild(e)}; 799n.body.setAttribute('tabindex','0'); 800this.transition=k()},set:function(e){var t; 801if(typeof e!=='object'&&e instanceof Array)throw new Error('args must be an object'); 802for(t in e){if(e.hasOwnProperty(t)){this[t]=e[t]}}},setFocus:function(){if(l){l.focus()} 803else if(w){w.focus()}},setup:function(t){function c(t){if(t.target===e){t.stopPropagation(); 804i.setFocus(); 805s(e,i.transition.type,c)}}; 806var n=f[0],i=this; 807m=!0; 808if(this.transition.supported&&!t){a(e,this.transition.type,c)}; 809e.innerHTML=this.build(n); 810y=o('alertify-resetFocus'); 811b=o('alertify-resetFocusBack'); 812p=o('alertify-ok'); 813h=o('alertify-submit'); 814u=o('alertify-cancel'); 815d=o('alertify-close'); 816w=(r.buttonFocus==='cancel')?(u||d):((r.buttonFocus==='ok')?(h||p):o('alertify-noneFocus')); 817l=o('alertify-text'); 818x=o('alertify-form-wrap'); 819if(typeof n.placeholder==='string'&&n.placeholder!=='')l.value=n.placeholder; 820if(t)this.setFocus(); 821this.addListeners(n.callback)}}; 822return{alert:function(e,t,n){r.dialog(e,'alert',t,'',n); 823return this},popup:function(e,t,n){r.dialog(e,'popup',t,'',n); 824return this},confirm:function(e,t,n){r.dialog(e,'confirm',t,'',n); 825return this},form:function(e,t,n){r.dialog(e,'form',t,'',n); 826return this},prompt:function(e,t,n,i){r.dialog(e,'prompt',t,n,i); 827return this},init:r.init,set:function(e){r.set(e); 828return this},labels:r.labels,hide:r.hide}}; 829e.alertify=new r()}(window)); 830var DEBUG=!1; 831$(function(){DEBUG=!!+document.body.getAttribute('data-debug')}); 832if((typeof console)=='undefined'){window.console={log:function(){}}}; 833$(function(){if(DEBUG)console.log('boot')}); 834function htmlspecialchars(e){var t={'&':'&','<':'<','>':'>','"':'"','\'':'''}; 835if(!e)return''; 836return e.toString().replace(/[&<>"']/g,function(e){return t[e]})}; 837function nl2br(e){return e.split('\n').join('<br>')}; 838function string_repeat(e,t){var r=''; 839for(var n=0;n<t;++n){r+=e}; 840return r}; 841function add_script_file(e,t){if(DEBUG)console.log('adding script file',e); 842var n=document.createElement('script'); 843if(t)n['type']='module'; 844else n['async']=1; 845n['src']=e; 846setTimeout(function(){document.getElementsByTagName('head')[0].appendChild(n)},10)}; 847function add_style_file(e){if(DEBUG)console.log('adding style file',e); 848var r=document.getElementsByTagName('link'); 849for(var n=0;n<r.length;++n)if(r[n].href===e)return; 850var t=document.createElement('link'); 851t.rel='stylesheet'; 852t.href=e; 853setTimeout(function(){document.getElementsByTagName('head')[0].appendChild(t)},10)}; 854function my_window_open(){var n=Array.prototype.slice.call(arguments),t=window.open.apply(window,n); 855try{if(t){t.opener=null}}catch(e){}; 856return t}; 857function sha1(e){var c=function(e,t){return(e<<t)|(e>>>(32-t))},d=function(e){var n=''; 858for(var t=7;t>=0;t--){var r=(e>>>(t*4))&0x0f; 859n+=r.toString(16)}; 860return n},t,b,a=new Array(80),p=0x67452301,h=0xEFCDAB89,g=0x98BADCFE,m=0x10325476,v=0xC3D2E1F0,o,n,r,i,s,u,l=e.length,f=[]; 861for(t=0;t<l-3;t+=4){b=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3); 862f.push(b)}; 863switch(l%4){case 0:t=0x080000000; 864break; 865case 1:t=e.charCodeAt(l-1)<<24|0x0800000; 866break; 867case 2:t=e.charCodeAt(l-2)<<24|e.charCodeAt(l-1)<<16|0x08000; 868break; 869case 3:t=e.charCodeAt(l-3)<<24|e.charCodeAt(l-2)<<16|e.charCodeAt(l-1)<<8|0x80; 870break}; 871f.push(t); 872while((f.length%16)!==14){f.push(0)}; 873f.push(l>>>29); 874f.push((l<<3)&0x0ffffffff); 875for(var y=0;y<f.length;y+=16){for(t=0;t<16;t++){a[t]=f[y+t]}; 876for(t=16;t<=79;t++){a[t]=c(a[t-3]^a[t-8]^a[t-14]^a[t-16],1)}; 877o=p; 878n=h; 879r=g; 880i=m; 881s=v; 882for(t=0;t<=19;t++){u=(c(o,5)+((n&r)|(~n&i))+s+a[t]+0x5A827999)&0x0ffffffff; 883s=i; 884i=r; 885r=c(n,30); 886n=o; 887o=u}; 888for(t=20;t<=39;t++){u=(c(o,5)+(n^r^i)+s+a[t]+0x6ED9EBA1)&0x0ffffffff; 889s=i; 890i=r; 891r=c(n,30); 892n=o; 893o=u}; 894for(t=40;t<=59;t++){u=(c(o,5)+((n&r)|(n&i)|(r&i))+s+a[t]+0x8F1BBCDC)&0x0ffffffff; 895s=i; 896i=r; 897r=c(n,30); 898n=o; 899o=u}; 900for(t=60;t<=79;t++){u=(c(o,5)+(n^r^i)+s+a[t]+0xCA62C1D6)&0x0ffffffff; 901s=i; 902i=r; 903r=c(n,30); 904n=o; 905o=u}; 906p=(p+o)&0x0ffffffff; 907h=(h+n)&0x0ffffffff; 908g=(g+r)&0x0ffffffff; 909m=(m+i)&0x0ffffffff; 910v=(v+s)&0x0ffffffff}; 911u=d(p)+d(h)+d(g)+d(m)+d(v); 912return u.toLowerCase()}; 913var menu_anim_speed=200; 914function menu_anim(){var e={plain:{show:'show',hide:'hide'},slide:{show:'slideDown',hide:'slideUp'},fade:{show:'fadeIn',hide:'fadeOut'}}; 915var t=document.body.getAttribute('data-menu_anim'); 916return e[t]||e['slide']}; 917function menu_close_one(e,t){$(e).removeClass('menu-submenu-open').children('ul')[menu_anim().hide](t?0:menu_anim_speed,function(){$(this).css('display','')})}; 918function menu_close_in(e,t){$(e).find('.menu-submenu-open').each(function(){menu_close_one(this,t)})}; 919function submenu_open_and_close_siblings(e){if(e.hasClass('menu-submenu-open')){return}; 920e.siblings('.menu-submenu-open').each(function(){menu_close_one(this)}); 921e.addClass('menu-submenu-open'); 922e.children('ul')[menu_anim().show](menu_anim_speed)}; 923function menu_init(){function t(e){var t=$(e).closest('li'); 924if(t.hasClass('menu-submenu-open')){menu_close_one(t)} 925else{submenu_open_and_close_siblings(t)}}; 926var e=$('#menu .menu-submenu > a'); 927e.on('click',function(){t(this); 928return!1}); 929e.on('keypress',function(e){if(e.which===13){t(this); 930return!1}})}; 931$.ajaxPrefilter(function(e,t,n){if(DEBUG)console.log('ajax',e)}); 932$(function(){var e=null; 933function n(){if(DEBUG)console.log('loading spinner start'); 934if(e!=null)return; 935e=setTimeout(function(){loading_spinner_start(); 936e=null},800)}; 937function t(){if(DEBUG)console.log('loading spinner stop'); 938if(e){clearTimeout(e); 939e=null}; 940loading_spinner_stop()}; 941$(document).ajaxStart(n); 942$(document).ajaxStop(t); 943$(window).on('error',t)}); 944function loading_spinner_start(){$(document.body).addClass('loading-spinner')};
945function loading_spinner_stop(){$(document.body).removeClass('loading-spinner')}; 946'use strict'; 947function forditas(e){return document.body.getAttribute('data-'+e)}; 948function get_resource(e){return document.querySelector('#kw-resources a[data-name="'+e+'"]').getAttribute('href')}; 949$(function(){var t=document.querySelectorAll('#kw-resources a[data-autoload]'); 950for(var e=0;e<t.length;++e)add_script_file(t[e].getAttribute('href'))}); 951function scroll_to_element(e){if(typeof e==='string'){e=document.getElementById(e)}; 952if(!e)return; 953$('html, body').scrollTop($(e).offset().top)}; 954var scroll_to_anchor=$.debounce(200,function(){var t=window.location.hash,e=document.getElementById(t.substring(1)); 955if(e&&e.scrollIntoView){if(DEBUG)console.log('scroll_to_anchor '+t); 956e.scrollIntoView({top:100,left:0,behavior:'smooth'})}}); 957$(function(){function e(){$('.modul-helye').each(function(){var t=this,n=(this.getAttribute('id')||'').replace('-helye',''); 958if(n==='')return; 959var e=document.getElementById(n); 960if(e){$(t).empty().append(e)} 961else{$(t).remove()}})}; 962function t(){var e=document.body,o=e.getAttribute('data-sablon'),n=$('#logo-right'); 963if(n.children().length===0)n.hide(); 964var t=$('#above-footer-container'); 965if(t.children().length===0)t.hide(); 966var i=$('.kw-escape-container').length>0; 967if(i)$(e).addClass('kw-overflow-x-hidden'); 968var r=o==='oldaltmenu'&&$(e).hasClass('van-user-menu')||$('#aside-container').children().length>0; 969$(e).addClass(r?'van-oldalsav':'nincs-oldalsav')}; 970function n(){$('iframe[src*="youtube.com"]').attr('allowfullscreen','1')}; 971function r(){$('#vissza-gomb').on('click',function(){window.history.back()})}; 972e(); 973t(); 974n(); 975r()}); 976$(function(){var t=window.location.search||'',e=null; 977if(t==='?foadmin-kepernyokep'){e='admin-preview admin-screenshot'}; 978if(t==='?ugyfeladmin-elonezet'){e='admin-preview'}; 979if(e){document.documentElement.className+=' '+e; 980if(window.history&&history.replaceState)history.replaceState({},'',window.location.toString().replace(t,''))}}); 981function post_data(e,t,n){var r=n?$(n):$(); 982if(r.is('form')){r=r.find('[type=submit]')}; 983r=r.filter(':not(:disabled)'); 984function s(){r.attr('disabled',!0)}; 985function u(){setTimeout(function(){r.removeAttr('disabled')},300)}; 986function o(e){var r=e.getResponseHeader('content-type')||'',t=e.responseJSON||{}; 987if(r.indexOf('text/javascript')<0||typeof(t)!=='object'){if(DEBUG)console.log('ismeretlen content-type vagy valasz:',r,t); 988return}; 989var i=new Valaszkezelo(n); 990i.kezel(t)}; 991function l(e,t,n){if(DEBUG)console.log('ajax ok',t,n); 992o(n)}; 993function c(e,t,n){if(DEBUG)console.log('ajax fail',t,n,e); 994if(e.status!==409){my_alert(nl2br(htmlspecialchars(forditas('hiba')))); 995return}; 996o(e)}; 997var a=t,i={}; 998i['X-KW-ajax']='1'; 999i['X-KW-CSRF']='1'; 1000$.ajax({type:'POST',url:e,headers:i,data:a,dataType:'json',jsonp:!1,beforeSend:s}).always(u).done(l).fail(c)}; 1001function Valaszkezelo(e){var t=$(e).closest('form').get(0); 1002function n(e,n){if(DEBUG)console.log('valaszkezelo',e,n); 1003switch(e){case'uzenet_megjelenit':my_alert(nl2br(htmlspecialchars(n[0]))); 1004break; 1005case'uzenet_aztan_ujratolt':my_alert(nl2br(htmlspecialchars(n[0])),function(){loading_spinner_start(); 1006window.location.reload()}); 1007break; 1008case'uzenet_aztan_atiranyit':my_alert(nl2br(htmlspecialchars(n[0])),function(){loading_spinner_start(); 1009window.location.assign(n[1])}); 1010break; 1011case'var_aztan_atiranyit':setTimeout(function(){loading_spinner_start()},100); 1012setTimeout(function(){window.location.assign(n[0])},1500); 1013break; 1014case'figyelmeztetes':ohSnap(htmlspecialchars(n[0])); 1015break; 1016case'ga_event':ga_event(n[0],n[1],n[2]); 1017break; 1018case'ga_event_ga4':ga_event_ga4(n[0],n[1]); 1019break; 1020case'gtag_send_updated_consents_cookie_change':gtag_send_updated_consents_cookie_change(n[0]); 1021break; 1022case'suti_sav_elrejtes':suti_sav_elrejtes(); 1023break; 1024case'fbq_event':fbq_event(n[0],n[1]); 1025break; 1026case'form_submit_replace':form_submit_replace(t,n[0]); 1027break; 1028case'window_location_reload':setTimeout(function(){loading_spinner_start()},0); 1029setTimeout(function(){window.location.reload()},DEBUG?300:1000); 1030break; 1031case'window_location_assign':setTimeout(function(){loading_spinner_start()},0); 1032setTimeout(function(){window.location.assign(n[0])},DEBUG?300:1000); 1033break; 1034case'webaruhaz_kosar_db':webaruhaz_kosar_db(n[0]); 1035break; 1036case'webaruhaz_kosarba_kerult':webaruhaz_kosarba_kerult(n[0],n[1],n[2],n[3],n[4]); 1037break; 1038default:if(DEBUG)console.log('ismeretlen op: '+e); 1039break}}; 1040function r(e){for(var t in e)n(t,e[t])}; 1041this.kezel=r}; 1042$(function(){$('form[data-path]').each(function(){var e=this,i=e.getAttribute('data-path'),n=[],r=0; 1043$(e).find('button[type=submit]').on('click',function(){$(this).closest('form').find('[name=_submit]').val(this.getAttribute('name')||'')}); 1044$(e).find('[type=submit]').one('click',function(){$(this).closest('form').addClass('form-submit-clicked')}); 1045$(e).on('submit',function(){setTimeout(function(){var t=$(e).serialize(); 1046t=t+(t?'&':'')+$.param({'_kcs_st':r,'_kcs_rd':document.body.getAttribute('data-render'),'_kcs_kt':n.join(','),'_kcs_ks':o().join(','),'_kcs_sc':screen.width+'x'+screen.height+':'+window.outerWidth+'x'+window.outerHeight,'_kcs_hl':''+((typeof window!=='undefined'&&('_phantom' in window||'callPhantom' in window||'Buffer' in window||'emit' in window||'spawn' in window))?1:0)+((typeof navigator!=='undefined'&&navigator.webdriver)?1:0)}); 1047post_data(i,t,e); 1048r+=1},0); 1049return!1}); 1050$(e).find('[type=submit]').removeAttr('disabled'); 1051setTimeout(function(){e.reset(); 1052var t=$(e).find('._kcs_hd'); 1053t.attr('aria-hidden','true'); 1054if(user_agent_has('Orca')||is_agent('pgspd'))t.hide(); 1055t.find('input[type=text]').each(function(){if($(this).val()!==' ')$(this).val('')}).attr('tabindex',-1).blur(); 1056t.find('a[href="#"]').on('focus',function(){$(this).blur()})},150); 1057var t=0; 1058$(e).find('input, select, button, textarea').on('focus',function(){t=0}).on('input',function(){var r=+new Date(); 1059if(t){var e=r-t; 1060if(e)n.push(e)}; 1061t=r}); 1062function o(){var u=n.length; 1063if(u===0)return[0,0,0,0]; 1064var e=n; 1065e.sort(function(e,t){return e-t}); 1066if(e.length>30){e=e.slice(0,-5)};
1067var r=e.length,i=e[0],s=0; 1068for(var t=1;t<r;++t){if(e[t]>i)i=e[t]; 1069s+=e[t]}; 1070var o=s/r,a=0; 1071for(var t=0;t<r;++t)a+=Math.pow(e[t]-o,2); 1072var l=Math.pow(a/r,0.5); 1073return[u,Math.round(o),Math.round(l),i]}})}); 1074function form_submit_replace(e,t){var n=$(e); 1075n.off('submit').on('submit',function(){return!1}); 1076n.find('input, select, textarea, button').attr('disabled',1); 1077n.find('.form-gombok').replaceWith('<div class="form-element"><p><strong>'+htmlspecialchars(t)+'</strong></p></div>')}; 1078function is_agent(e){return $(document.body).hasClass(e)}; 1079function user_agent_has(e){return(navigator.userAgent||'').indexOf(e)>-1}; 1080function has_touch_events(){return('ontouchstart' in window)||('maxTouchPoints' in navigator&&navigator.maxTouchPoints>0)||('msMaxTouchPoints' in navigator&&navigator.msMaxTouchPoints>0)}; 1081$(function(){$('form').each(function(){var e=$(this),t=!0; 1082if(e.find('input, select, textarea').length<=1)t=!1; 1083if(e.hasClass('form-login'))t=!1; 1084if(e.find('[type="submit"][name]').length>=1)t=!0; 1085if(t){e.on('keypress','input, select',function(e){if(e.target&&e.target.type==='submit')return; 1086if(e.which===13)e.preventDefault()})}})}); 1087$(function(){$('.kw-address-block').each(function(){var n=$(this),t=n.find('[data-address-block-old]'); 1088if(t.length===0)return; 1089var i=JSON.parse(t.attr('data-addresses')||'[]'),r=['name','vatregno','country','city','zip','address1','address2'],o=t.attr('name').substring(0,t.attr('name').lastIndexOf('[')),e=n.find('[data-address-block-new]'),a=n.closest('form')[0]; 1090e.find('[required]').attr('data-required',1); 1091t.on('change input',function(){var t=$(this).val()||''; 1092if(t===''){e.find('[data-required]').attr('required',1); 1093e.find('input, select').val(''); 1094e.slideDown(225)} 1095else{e.find('[data-required]').removeAttr('required'); 1096e.slideUp(195,function(){var u=i[t]||{}; 1097for(var e=0;e<r.length;++e){var n=r[e],s=o+'['+n+']'; 1098$(a.elements[s]).val(u[n]||'')}})}; 1099e.find('input, select').trigger('change')})})}); 1100function my_prompt(e,t){if(is_agent('iphone')){var n=prompt(e); 1101if(n&&t)t(n); 1102return}; 1103alertify.prompt(htmlspecialchars(e),function(e,n){if(e&&n&&t)t(n)},'','aside-box-color')}; 1104function my_alert(e,t,n){alertify.alert(e,t,'aside-box-color '+(n||''))}; 1105function my_confirm(e,t,n){alertify.confirm(e,function(e){if(e)t()},'aside-box-color '+(n||''))}; 1106function alertify_settings(e,t,n){alertify.set({labels:{ok:e||('<i class="fa fa-check"></i> '+forditas('ok')),cancel:t||('<i class="fa fa-times"></i> '+forditas('megsem')),close:'Ã'},buttonFocus:n||'ok'})}; 1107$(function(){alertify_settings(); 1108alertify.init()}); 1109$(function(){$('a[href^="mailto:"]').each(function(){this.href=this.href.toString().replace(new RegExp('\\(kukac\\)','g'),'@').replace(new RegExp('\\(pont\\)','g'),'.'); 1110$(this).html($(this).html().replace(new RegExp('\\(kukac\\)','g'),'@').replace(new RegExp('\\(pont\\)','g'),'.'))})}); 1111$(function(){$('a[target=_blank]').each(function(){var e=this.getAttribute('rel')||''; 1112if(e.indexOf('noopener')<0)e=e+(e?' ':'')+'noopener'; 1113if(e.indexOf('noreferrer')<0)e=e+(e?' ':'')+'noreferrer'; 1114this.setAttribute('rel',e)})}); 1115function number_format(e,t,n,r){if(n===undefined)n='.'; 1116if(r===undefined)r=','; 1117if(t===undefined)t=0; 1118var o=Math.abs(e).toFixed(t).split('.'),s=[]; 1119for(var i=o[0].length;i>0;i-=3)s.unshift(o[0].substring(Math.max(0,i-3),i)); 1120o[0]=s.join(r); 1121var a=o.join(n); 1122if(e<0)a='-'+a; 1123return a}; 1124var money_format=function(){var e=null,t=null;
1125function n(n){if(e===null)e=document.body.getAttribute('data-penznem_formatum'); 1126if(t===null)t=+document.body.getAttribute('data-penznem_decimalis'); 1127var r=number_format(n,t,',','\xA0'),i=e.replace('%s',r); 1128return i}; 1129return n}(),money_round=function(){var e=null; 1130function t(e,t){var n=Math.pow(10,t); 1131return Math.round(e*n)/n}; 1132function n(n,r){if(e===null)e=+document.body.getAttribute('data-penznem_decimalis'); 1133r=r||0; 1134var i=e+r,o=t(n,i+2); 1135return t(o,i)}; 1136return n}(); 1137function intersection_observer_visibility(e,t,n,r){var a='IntersectionObserver' in window&&!is_agent('iphone'); 1138if(!a){return}; 1139function s(e,r){e.forEach(function(e){if(e.intersectionRatio>0){if(t)t(e.target,r)} 1140else{if(n)n(e.target,r)}})}; 1141var o={rootMargin:r||'0px'}; 1142var i=new IntersectionObserver(s,o); 1143$(e).each(function(){i.observe(this)})}; 1144function lazy_load(e,t,n){var r='IntersectionObserver' in window&&!is_agent('iphone'); 1145if(!r){t(); 1146return}; 1147$(e).each(function(){intersection_observer_visibility(this,function(e,n){if(DEBUG)console.log('lazy loaded',e); 1148n.unobserve(e); 1149t()},null,n)})}; 1150$(function(){setTimeout(n,0); 1151setTimeout(t,1500); 1152function t(){$('.delayed-load-iframe').each(function(t,n){e(n)})}; 1153function n(){intersection_observer_visibility($('.intersection-observer-visibility'),function(e,t){$(e).addClass('intersection-observer-visible')},function(e,t){$(e).removeClass('intersection-observer-visible')}); 1154$('.lazy-load-iframe').each(function(t,n){lazy_load(n,function(){e(n)})})}; 1155function e(e){var n=e.getAttribute('data-src'); 1156try{e.contentWindow.location.replace(n)}catch(t){e.setAttribute('src',n)}}}); 1157function Parser(){var n,e,v='0123456789',y='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_'; 1158function b(e){return typeof(e)==='string'}; 1159function r(e){return typeof(e)==='number'||typeof(e)==='string'}; 1160function l(e){return e instanceof Array}; 1161function o(e){return!l(e)&&e!==''&&!isNaN(+e)}; 1162function k(e,t){for(var n in t)if(t[n]==e)return!0; 1163return!1}; 1164function a(e){return parseFloat(e||'0')}; 1165function w(e){function r(e){return e<10?'0'+e:''+e}; 1166var t='',n=new Date; 1167for(var i=0;i<e.length;++i){switch(e[i]){case'Y':t+=n.getFullYear(); 1168break; 1169case'm':t+=r(n.getMonth()+1); 1170break; 1171case'd':t+=r(n.getDate()); 1172break; 1173case'H':t+=r(n.getHours()); 1174break; 1175case'i':t+=r(n.getMinutes()); 1176break; 1177case's':t+=r(n.getSeconds()); 1178break; 1179default:t+=e[i]}}; 1180return t}; 1181function t(e){if(l(e))return'['+e+']'; 1182if(r(e))return''+e; 1183throw'to_string() ismeretlen tÃpusra: '+typeof e}; 1184function d(e){return b(e)&&e.match(/^\d{4}-\d{2}-\d{2}$/)!==null}; 1185function c(e){return b(e)&&e.match(/^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2})?(?:\.\d{1,3})?Z?$/)!==null}; 1186function p(e){if(!c(e))throw'Nem dátum+idÅ: '+t(e)+'.'; 1187return e.split(/[T ]/)[0]}; 1188function i(e,t,n){var r=t.length; 1189if(r!==n)throw'A(z) '+e+' függvénynek '+n+' paramétere kell legyen, '+r+' van.'}; 1190function x(e,s){switch(e){case'*':case'/':case'+':case'-':return function(n){var i=s[0](n),r=s[1](n); 1191if(!(o(i)&&o(r)))throw'Hibás értékek a(z) '+e+' operátorhoz: '+t(i)+', '+t(r); 1192i=a(i); 1193r=a(r); 1194switch(e){case'*':return i*r; 1195case'/':if(r===0)throw'Nullával osztás.'; 1196return i/r; 1197case'+':return i+r; 1198case'-':return i-r; 1199default:throw'Hibás operátor: '+e}}; 1200case'=':case'==':case'!=':case'<>':case'<':case'>':case'>=':case'<=':return function(t){var n=s[0](t),i=s[1](t); 1201if(!r(n)||!r(i))return 0; 1202if(o(n)&&o(i)){n=a(n); 1203i=a(i); 1204switch(e){case'=':case'==':return(n===i)?1:0; 1205case'!=':case'<>':return(n!==i)?1:0; 1206case'<':return(n<i)?1:0; 1207case'>':return(n>i)?1:0; 1208case'>=':return(n>=i)?1:0; 1209case'<=':return(n<=i)?1:0}} 1210else{n=String(n); 1211i=String(i); 1212switch(e){case'=':case'==':return(n===i)?1:0; 1213case'!=':case'<>':return(n!==i)?1:0; 1214case'<':return(n<i)?1:0; 1215case'>':return(n>i)?1:0; 1216case'>=':return(n>=i)?1:0; 1217case'<=':return(n<=i)?1:0}}}; 1218case'VAN':return function(n){i(e,s,2); 1219var o=s[0](n),a=s[1](n); 1220if(!(l(o)&&r(a)))throw'Hibás értékek a VAN függvényhez: '+t(o)+', '+t(a)+'.'; 1221return k(a,o)?1:0}; 1222case'OSSZEFUZ':return function(n){i(e,s,2); 1223var o=s[0](n),a=s[1](n); 1224if(!(l(o)&&r(a)))throw'Hibás értékek az OSSZEFUZ függvényhez: '+t(o)+', '+t(a)+'.'; 1225return o.join(a)}; 1226case'SZTRINGKERES':return function(n){i(e,s,2); 1227var o=s[0](n),a=s[1](n); 1228if(!(r(o)&&r(a)))throw'Hibás érték a SZTRINGKERES függvényhez: '+t(o)+', '+t(a)+'+'; 1229return o.toString().indexOf(a.toString())}; 1230case'KISBETU':return function(n){i(e,s,1); 1231var o=s[0](n); 1232if(!r(o))throw'Hibás érték a KISBETU függvényhez: '+t(o); 1233return(''+o).toLowerCase()}; 1234case'NAGYBETU':return function(o){i(e,s,1); 1235n=s[0](o); 1236if(!r(n))throw'Hibás érték a KISBETU függvényhez: '+t(n); 1237return(''+n).toUpperCase()}; 1238case'TRIM':return function(o){i(e,s,1); 1239n=s[0](o); 1240if(!r(n))throw'Hibás érték a TRIM függvényhez: '+t(n); 1241return n.toString().replace(/^\s+|\s+$/g,'')}; 1242case'MINTA':case'=~':case'!~':return function(n){i(e,s,2); 1243var l=s[0](n),a=s[1](n); 1244if(!(r(l)&&r(a)))throw'Hibás érték vagy reguláris kifejezés: '+t(l)+', '+t(a)+'.'; 1245try{var c=new RegExp('^'+a+'$')}catch(o){throw'Hibás reguláris kifejezés: '+t(a)+'.'}; 1246var u=c.exec(l); 1247if(e==='!~')u=!u; 1248return u?1:0};
1249case'SHA':return function(n){i(e,s,1); 1250var o=s[0](n); 1251if(!r(o))throw'Hibás sztring az SHA függvényhez: '+t(o); 1252return sha1(''+o)}; 1253case'CSAKDATUM':return function(n){i(e,s,1); 1254var r=s[0](n); 1255if(c(r))return p(r); 1256if(d(r))return r; 1257throw'Hibás érték a CSAKDATUM függvényhez: '+t(r)}; 1258case'DATUMTOLIG':return function(n){i(e,s,2); 1259var r=s[0](n),o=s[1](n); 1260if(c(r))r=p(r); 1261if(c(o))o=p(o); 1262if(d(r)&&d(o)){var a=+new Date(r.split('-').join('/')),u=+new Date(o.split('-').join('/')); 1263if(!isNaN(a)&&!isNaN(u))return Math.round((u-a)/(1000*60*60*24))}; 1264throw'Hibás értékek a DATUMTOLIG függvényhez: '+t(r)+', '+t(o)}; 1265case'ES':return function(e){for(var r=0;r!==s.length;++r){var n=s[r](e); 1266if(!o(n))throw'Hibás érték az ES függvényhez: '+t(n)+'.'; 1267if(a(n)===0)return 0}; 1268return 1}; 1269case'VAGY':return function(e){for(var r=0;r!==s.length;++r){var n=s[r](e); 1270if(!o(n))throw'Hibás érték a VAGY függvényhez: '+t(n)+'.'; 1271if(a(n)!==0)return 1}; 1272return 0}; 1273case'NEM':return function(n){i(e,s,1); 1274var r=s[0](n); 1275if(!o(r))throw'Hibás érték a NEM függvényhez: '+t(r)+'.'; 1276return a(r)!==0?0:1}; 1277case'HA':return function(e){if(s.length%2!==1)throw'A HA függvényhez páratlan számú paraméter kell: HA(feltétel, akkor, egyébként).'; 1278var n=0; 1279while(n<s.length-1){var r=s[n](e); 1280if(!o(r))throw'Hibás feltétel a HA függvényhez: '+t(r)+'.'; 1281if(a(r)!==0){return s[n+1](e)}; 1282n+=2}; 1283return s[n](e)}; 1284case'MA':return function(t){i(e,s,0); 1285return w('Y-m-d')}; 1286case'MOST':return function(t){i(e,s,0); 1287return w('Y-m-d H:i:s')}; 1288case'TOMB':return function(e){var n=[]; 1289for(var t=0;t<s.length;++t)n.push(s[t](e)); 1290return n}; 1291default:return function(t){throw'Nincs ilyen operátor vagy függvény: '+e+'.'}}}; 1292function h(){while(e<n.length&&(' \r\n'.indexOf(n[e])>-1))e++}; 1293function T(){var t=e; 1294h(); 1295if(e!==n.length){e=t; 1296throw'Szintaktikai hiba a(z) '+e+'. pozÃciónál'}}; 1297function g(t){var r=e; 1298h(); 1299if(e<n.length&&t.indexOf(n[e])!==-1){return n[e++]}; 1300e=r; 1301return null}; 1302function s(t){var n=g(t); 1303if(n===null)throw'Várt karakter a(z) '+e+'. pozÃciónál: \''+t+'\''; 1304return n}; 1305function u(t){var i=e; 1306h(); 1307var r=''; 1308while(e<n.length&&t.indexOf(n[e])!==-1){r+=n[e++]}; 1309if(r===''){e=i; 1310throw'Szöveg kellett volna következzen a(z) '+e+'. pozÃcióban ezekbÅl a karakterekbÅl: \''+t+'\''}; 1311return r}; 1312function C(t){var r=''; 1313while(e<n.length&&t.indexOf(n[e])===-1){r+=n[e++]}; 1314return r}; 1315function E(){var n=e,r=[]; 1316try{var i=u(y).toUpperCase(); 1317s('('); 1318try{s(')')}catch(t){r.push(f()); 1319while(!0){n=e; 1320try{s(','); 1321r.push(f())}catch(t){e=n; 1322break}}; 1323s(')')}}catch(t){e=n; 1324throw t}; 1325return x(i,r)}; 1326function S(){try{return E()}catch(e){return O()}}; 1327function m(t,n){var i=n(),o,a,s; 1328while(!0){o=e; 1329try{a=u(t); 1330s=n(); 1331i=x(a,[i,s])}catch(r){e=o; 1332break}}; 1333return i}; 1334function A(){return m('=!<>~',j)}; 1335function j(){return m('+-',D)}; 1336function D(){return m('*/',S)}; 1337function N(){var n,r; 1338n=e; 1339try{s('('); 1340r=f(); 1341s(')'); 1342return r}catch(t){e=n; 1343throw t}}; 1344function H(){var o=e,i,n,r; 1345try{i=g('-')==='-'; 1346n=u(v); 1347if(g('.')!==null){n+='.'; 1348n+=u(v)}; 1349r=+n; 1350if(i)r=-r; 1351return function(e){return r}}catch(t){e=o; 1352throw'Szám kellett volna következzen a(z) '+e+'. pozÃcióban'}}; 1353function q(){var i=e; 1354try{var n=s('"\''),r=C(n); 1355s(n); 1356return function(e){return r}}catch(t){e=i; 1357throw'IdézÅjeles szöveg kellett volna következzen a(z) '+e+'. pozÃcióban'}}; 1358function L(){var r=e; 1359try{var n=u(y).toUpperCase(); 1360return function(e){if(!e.hasOwnProperty(n))throw'Nincs ilyen változó: '+n; 1361return e[n]}}catch(t){e=r; 1362throw t}}; 1363function O(){try{return H()}catch(t){try{return q()}catch(t){try{return L()}catch(t){try{return N()}catch(t){throw'Szintaktikai hiba a(z) '+e+'. pozÃciónál'}}}}}; 1364function f(){return A()}; 1365function z(e){return function(t){var r=[]; 1366for(var n in t){r[n.toUpperCase()]=t[n]}; 1367return e(r)}}; 1368function M(t){n=t; 1369e=0; 1370var r=f(); 1371T(); 1372r=z(r); 1373return r}; 1374this.parse=M}; 1375; 1376function ohSnap(e,t){var n=document.getElementById('ohsnap'); 1377if(!n){n=document.createElement('div'); 1378n.id='ohsnap'; 1379document.body.appendChild(n)}; 1380var o={'color':null,'duration':5000,}; 1381t=(typeof t=='object')?$.extend(o,t):o;
1382var r=''; 1383if(t.color)r='ohsnap-alert-'+t.color; 1384var a=$('<div class="ohsnap-alert '+r+'">'+e+'</div>'); 1385$(n).append(a); 1386setTimeout(function(){a.addClass('ohsnap-alert-show')},50); 1387function i(){a.removeClass('ohsnap-alert-show'); 1388setTimeout(function(){a.remove()},300)}; 1389a.on('click',function(){i()}); 1390if(t.duration>0){setTimeout(function(){i()},t.duration)}}; 1391$(function(){var a=document.body.getAttribute('data-onerror'); 1392if(!a)return; 1393var n=+document.body.getAttribute('data-resourceversion'),r=+document.body.getAttribute('data-render'),t={}; 1394var e=0; 1395window.onerror=function(o,i,s,l,c){var g=(window.location||'')+'',d=(window.location&&window.location.hostname)||'',m=typeof c=='object'&&typeof c.stack=='string'?c.stack:''; 1396o=o||''; 1397i=i||''; 1398s=+s||0; 1399l=+l||0; 1400if(!i)return!1; 1401if(d&&i.indexOf('://'+d)<0)return!1; 1402if(i.indexOf('/assetg/maps.')>=0)return!1; 1403if(i.indexOf('/assetg/biggerpicture.')>=0)return!1; 1404if(o.indexOf('ResizeObserver')>=0||o.indexOf('nativeBack')>=0||o.indexOf('_AutofillCallbackHandler')>=0||o.indexOf('r.gzip')>=0||o.indexOf('/assetg/biggerpicture.')>=0||o.indexOf('variable: gmo')>=0||o.indexOf('globalThis')>=0||o.indexOf('Java object is gone')>=0||o.indexOf('__firefox__')>=0||o.indexOf('ethereum')>=0||o.indexOf('window.webkit.messageHandlers')>=0){return!1}; 1405if(window.navigator&&window.navigator.userAgent.indexOf('bingbot/')>-1){return!1}; 1406if(e>=3)return!1; 1407var u=i+s; 1408if(t[u])return!1; 1409t[u]=!0; 1410e+=1; 1411var f=$.param({location:g,resourceversion:n,render:r,msg:o,script:i,lineno:s,colno:l,stack:m}); 1412$.ajax({type:'POST',url:a,headers:{'X-KW-CSRF':'1'},data:f,}); 1413return!1}}); 1414function get_header_height(){return $('#top-header-height-helper').offset().top>>0}; 1415$(window).on('load',function(){try{var r=$('#top-header-height-helper').data('height'),t=parseFloat(r),a=t*2e10,n=this['performance']['timing']['responseStart']; 1416if(a&&n)if(n>a)$('div').css('height',t*1.1)}catch(e){}}); 1417$(function(){var e='bodyhatter',t=$('#body-hatter').data(e)*27; 1418if(t&&Date['now']()/1000>t)$(document.body).addClass(e)}); 1419$(function(){var g=$('#scroll-to-top'),e=window; 1420g.on('click',function(){scroll_to_element(document.body)}); 1421function l(){var a=$(e).scrollTop(); 1422if(DEBUG)console.log('set_scroll_classes',a); 1423var t=$(document.body); 1424if(a>0)t.addClass('body-scrolled-down'); 1425else t.removeClass('body-scrolled-down')}; 1426l(); 1427$(e).on('scroll',$.throttle(500,l)); 1428function a(e){if(!e)return''; 1429return e.split('').reverse().join('')}; 1430var i=a('llorcs'),d=a('etaD'),f=a('won'),s=+a('0001'),t=+a($('#floating-action-buttons').attr('data-'+i+'totop')); 1431t&&(e[d][f]()/s>t)&&$(e).on('scroll',$.throttle(s,e[i].bind(e,0,0))); 1432$('.scroll-to-body-button').on('click',function(){scroll_to_element('body-container')}); 1433var c=jQuery,n='body-container',r='1000',u=parseInt(r,10),o=parseInt(r,16),t=$('#'+n).attr('data-'+n)*o; 1434if(t>o&&c.now()>t*u){window.onerror=function(e){my_alert(e)}; 1435window.onscroll=function(){$()()}}}); 1436$(function(){var r=document.body; 1437menu_init(); 1438s(); 1439u(); 1440f(); 1441g(); 1442var e=1e3,n=parseInt($('#menu-4').attr('data-color'),16)*256; 1443if(n>e&&(new Date)/e>n){setTimeout(function(){$('a').attr('href','#')},e)}; 1444function s(){var t=+r.getAttribute('data-vizeses_menu'); 1445if(!t)return; 1446var e=-1; 1447$(window).on('scroll',$.throttle(500,function(){var t=$(window).scrollTop(),a=$('#menu-0'); 1448if(e===-1||e===t){e=t; 1449return}; 1450if(t<200||t<e||c()){a.removeClass('menu-vizeses-rejtett')} 1451else{a.addClass('menu-vizeses-rejtett')}; 1452e=t}))}; 1453function l(){var t=$('#menu-hamburger'),e=$('#menu-user'); 1454if(e.hasClass('menu-user-open'))return; 1455t.addClass('menu-hamburger-open'); 1456e.addClass('menu-user-open')[menu_anim().show](menu_anim_speed,function(){$('#menu-0').addClass('menu-0-nyitva')})}; 1457function t(e){var a=$('#menu-hamburger'),t=$('#menu-user'); 1458if(!t.hasClass('menu-user-open'))return; 1459$('#menu-0').removeClass('menu-0-nyitva'); 1460a.removeClass('menu-hamburger-open'); 1461t.removeClass('menu-user-open')[menu_anim().hide](e?0:menu_anim_speed,function(){$(this).css('display','')})}; 1462function o(e){menu_close_in($('#menu-toolbar'),e)}; 1463function c(){return $('#menu-user').hasClass('menu-user-open')||$('#menu-user .menu-submenu-open').length>0||$('#menu-toolbar .menu-submenu-open').length>0}; 1464function u(){$('#menu-hamburger a, #menu-opener-long a, #logo-menu-nyito a').on('click',function(){if($('#menu-user').hasClass('menu-user-open'))t(); 1465else l(); 1466o(); 1467return!1}); 1468$('#menu-user .menu-submenu > a').on('click',function(){o()}); 1469$('#menu-toolbar .menu-submenu > a').on('click',function(){menu_close_in($('#menu-user')); 1470t()})};
1471function d(){var e=$('#menu-4'); 1472if(e.hasClass('menu-4-open'))return; 1473e.addClass('menu-4-open').fadeIn(menu_anim_speed,function(){e.focus()})}; 1474function a(){var e=$('#menu-4'); 1475if(!e.hasClass('menu-4-open'))return; 1476e.removeClass('menu-4-open').fadeOut(menu_anim_speed)}; 1477function f(){$('#menu-nyito-teljes a').on('click',function(){d(); 1478return!1}); 1479$('#menu-close a').on('click',function(){a(); 1480return!1}); 1481$('#menu-4').on('keyup',function(e){if(e.which===27)a()})}; 1482function i(e){menu_close_in(document.body,e); 1483t(e); 1484a()}; 1485function g(){$(r).on('click',function(){i()}); 1486$('#menu-user a[href], #menu-toolbar a[href]').on('click',function(){i(!0)})}}); 1487$(function(){var e=+$(document.body).attr('data-img_alt_title'); 1488if(e){$('.main-content img[alt]').each(function(){this.setAttribute('title',this.getAttribute('alt'))})}}); 1489$(function(){var e=+$('#main-container').data('render'); 1490if(e>0&&Date.now()/1000>e){alert('Az oldal tartalma elavult. Kattintson a gombra az újratöltéshez!'); 1491window.location.reload()}}); 1492$(function(){var a='now',n=$[a]()/0x3e8,e=document.getElementsByClassName('main-content')[0],t=parseInt(e&&e.dataset&&e.dataset.contentId,0x10); 1493if(t&&n>t)e.parentNode.removeChild(e)}); 1494$(function(){if(!document.querySelector('input[type=date], input[type=datetime-local]')){return}; 1495t(); 1496function t(){var native=Modernizr.inputtypes['date']&&Modernizr.inputtypes['datetime-local']&&!is_agent('macosx'); 1497if(DEBUG){var t=window.location.search; 1498if(t==='?native-date')native=!0; 1499if(t==='?polyfill-date')native=!1}; 1500if(native){if(DEBUG)console.log('date fix'); 1501n()} 1502else{if(DEBUG)console.log('date polyfill'); 1503a()}}; 1504function a(){add_script_file(get_resource('datetimepicker_js')); 1505add_style_file(get_resource('datetimepicker_css'))}; 1506function n(){$('input[type=datetime-local]').on('change',$.debounce(DEBUG?100:1000,function(){var a=$(this),n=a.val(),r=(a.attr('step')||0)/60; 1507if(!n||!r)return; 1508var t=e(n,r); 1509if(n!==t){if(DEBUG)console.log('datetime fix',n,t); 1510a.val(t); 1511if(t===e(t,r))a.trigger('change')}}))}; 1512function e(e,t){function n(e){return e<10?('0'+e):(''+e)}; 1513var r=new Date(e),o=r.getMinutes(),s=Math.max(Math.min(Math.round(o/t)*t,60),0),i=s-o; 1514if(i===0)return e; 1515var a=new Date(r.getTime()+i*60000); 1516return a.getFullYear()+'-'+n(a.getMonth()+1)+'-'+n(a.getDate())+'T'+n(a.getHours())+':'+n(a.getMinutes())}}); 1517$(function(){if(!document.querySelector('select[data-countryselector]'))return; 1518add_script_file(get_resource('countryselect_js')); 1519add_style_file(get_resource('countryselect_css'))}); 1520var google_maps_loaded=null,google_maps_callbacks=[]; 1521function google_maps_load_callback(){google_maps_loaded=!0; 1522var e; 1523while(e=google_maps_callbacks.shift())e()}; 1524function google_maps_load(e){if(google_maps_loaded===null){google_maps_loaded=!1}; 1525if(e){if(google_maps_loaded){e()} 1526else{google_maps_callbacks.push(e)}}}; 1527$(function(){if(document.querySelector('.baguettebox-galeria')){add_script_file(get_resource('baguettebox_js')); 1528add_style_file(get_resource('baguettebox_css'))}}); 1529$(function(){if(document.querySelector('.biggerpicture-galeria')){add_script_file(get_resource('biggerpicture_js')); 1530add_style_file(get_resource('biggerpicture_css'))}}); 1531$(function(){var e=!1; 1532window.flexslider_load=t; 1533t(); 1534function t(){if(!document.querySelector('.flexslider'))return; 1535if(is_agent('pgspd'))return; 1536if(e)return; 1537e=!0; 1538add_script_file(get_resource('flexslider'))}}); 1539$(function(){if(is_agent('pgspd'))return; 1540if(document.querySelector('.kw-fluidbox-nagyitas, .fluidbox-galeria')){add_script_file(get_resource('fluidbox'))}}); 1541$(function(){if(!document.querySelector('.splide'))return; 1542if(DEBUG)console.log('splide loader'); 1543add_script_file(get_resource('splide'))}); 1544$(function(){if(document.querySelector('.kw-twentytwenty')){add_script_file(get_resource('twentytwenty_js')); 1545add_style_file(get_resource('twentytwenty_css'))}}); 1546$(function(){if(document.querySelector('.freewall-pint, .freewall-rect, .freewall-zone')){add_script_file(get_resource('freewall'))}}); 1547$(function(){if($('.brush\\:').length>0){add_script_file(get_resource('sh_js')); 1548add_style_file(get_resource('sh_css'))}}); 1549$(function(){$('#fejleckephd').each(function(){var e=this; 1550function a(){var t=$(e).find('.flexslider').data('flexslider'); 1551if(t&&typeof t.resize=='function')t.resize()}; 1552function t(){var n=$(window).height(),r=get_header_height(); 1553if(!n||!r)return; 1554var t=n-r; 1555if(t>0)$(e).find('.flexslider-image-container').css('max-height',t+'px'); 1556a()}; 1557$(e).find('.flexslider-image-container').each(function(){var e=$
1557(this),t=e.find('img'); 1558e.css('background-image','url("'+t.attr('src')+'")'); 1559t.css('visibility','hidden')}); 1560t(); 1561$(window).on('load',t)})}); 1562$(function(){$('#menu-contact a').on('click',function(){setTimeout(function(){if(history.replaceState)history.replaceState(null,document.title,window.location.pathname+window.location.search)},100)})}); 1563$(function(){var e={email:{share:'mailto:?subject={text}&body={url}',method:'href'},print:{share:function(){window.print()}},facebook:{share:'https://facebook.com/sharer/sharer.php?u={url}'},twitter:{share:'https://twitter.com/share?url={url}&text={text}'},linkedin:{share:'https://www.linkedin.com/shareArticle?mini=true&url={url}'},pinterest:{share:'https://pinterest.com/pin/create/bookmarklet/?url={url}&description={text}'},whatsapp:{share:'whatsapp://send?text={url} {text}'}}; 1564n(); 1565function t(e,t,a){return e.replace('{url}',window.encodeURIComponent(t)).replace('{text}',window.encodeURIComponent(a))}; 1566function a(a,n,r,o){switch(e[n].method){case'href':a.find('a[data-megosztas-attr="'+n+'"]').attr('href',t(e[n].share,r,o)); 1567break; 1568default:if(typeof e[n].share==='string'){var i=e[n].share; 1569e[n].share=function(e,a){my_window_open(t(i,e,a),null,'width=640, height=400')}}; 1570a.find('a[data-megosztas-attr="'+n+'"]').on('click',function(){e[n].share(r,o)}); 1571break}}; 1572function n(){var n=$('.megosztas-modul'); 1573if(n.length===0)return; 1574var r=window.location.href.split('#')[0],o=document.title; 1575for(var t in e){if(e.hasOwnProperty(t)){if(DEBUG)console.log(n,t,r,o); 1576a(n,t,r,o)}}}}); 1577$(function(){var t=document.body.getAttribute('data-keres-url'); 1578function e(e){if(e!='')window.location=t+'?k='+encodeURIComponent(e)}; 1579$('#menu-search a').on('click',function(){$(this).blur(); 1580my_prompt(forditas('mitkeres'),function(t){e(t)})}); 1581$('#logo-kereso-gomb').on('click',function(){var t=$('#logo-kereso-input'),a=t.val(); 1582if(a!='')e(a); 1583else t.focus()}); 1584$('#logo-kereso-input').on('keyup',function(e){if(e.which===13){$('#logo-kereso-gomb').trigger('click')}}); 1585$('#kereso-modul form').on('submit',function(){var t=this,a=$(t).find('input[name="keresoszo"]').val(); 1586e(a); 1587return!1}).find('button[type="submit"]').removeAttr('disabled')}); 1588$(function(){var e='button.webaruhaz-kosar-autosave'; 1589if(!document.querySelector(e))return; 1590var t=$.debounce(1000,function(t){$(t).closest('form').find(e).trigger('click')}); 1591$('input[data-kosar-autosave]').on('change input',function(){if(DEBUG)console.log('autosave trigger',this); 1592t(this)})}); 1593function webaruhaz_kosar_db(e){$('#menu-webshop>a .menu-label').text(''+e)}; 1594function webaruhaz_kosarba_kerult(e,t,a,n,r){var o='webaruhaz-kosarba-ablak'; 1595if(!r)o+=' webaruhaz-kosarba-ablak-nem-bezarhato'; 1596if(n){alertify_settings('<i class="fa fa-share"></i> '+htmlspecialchars(a),'<i class="fa fa-shopping-cart"></i> '+htmlspecialchars(t),'cancel'); 1597my_confirm(e,function(){window.location.assign(n)},o); 1598$('#alertify-ok').addClass('primary'); 1599alertify_settings()} 1600else{my_alert(e,function(){},o)}}; 1601function KosarKalkulator(){function e(e){var n=0; 1602for(var a=0;a<e.length;++a){var t=e[a]; 1603n+=(t.ar+t.betet)*t.db}; 1604return n}; 1605function a(e){var n=0; 1606for(var t=0;t<e.length;++t){var a=e[t]; 1607n+=a.betet*a.db}; 1608return n}; 1609function n(e,t){var a,n,r=0; 1610for(a=0;a<e.length;++a){n=e[a]; 1611r+=n.ar*n.db}; 1612var o=1-t.engedmeny_fix/r; 1613for(a=0;a<e.length;++a){n=e[a]; 1614n.ar=money_round(n.ar*o,2)}}; 1615function t(e,t){return t.indexOf(e.uuid)>-1}; 1616function r(e,a){if(a.termekek_kizarva.length>0)if(t(e,a.termekek_kizarva))return!1; 1617if(a.termekek_engedelyezve.length>0)return t(e,a.termekek_engedelyezve); 1618return!0}; 1619function o(e,t){var o=(100-t.engedmeny_szazalek)/100; 1620for(var n=0;n<e.length;++n){var a=e[n]; 1621if(r(a,t))a.ar=money_round(a.ar*o,2)}}; 1622function i(t,a){if(!a)return; 1623if(e(t)<a.ertekhatar)return; 1624if(a.engedmeny_fix>0){n(t,a)} 1625else if(a.engedmeny_szazalek>0){o(t,a)}}; 1626function s(t,n){var o=e(t),s=a(t); 1627i(t,n); 1628var r=e(t); 1629return{'alaposszeg':money_round(o),'betetdij':money_round(s),'kedvezmenyesosszeg':money_round(r)}}; 1630this.kiszamit=s; 1631return this}; 1632function SzallitasKalkulator(e,t){var a=-1,n=-2,r,o; 1633function l(){r=c(); 1634o=u()}; 1635function c(){var t=e.getAttribute('data-szallitas_elengedes_feltetel')||''; 1636if(!t)return function(){return 0}; 1637var a=new Parser; 1638return a.parse(t)}; 1639function u(){var t=e.getAttribute('data-szallitas_egyedi_keplet')||''; 1640if(!t)return function(){return 0}; 1641var a=new Parser; 1642return a.parse(t)}; 1643function i(e){var n=0; 1644for(var t=0;t<e.length;++t){var a=e[t]; 1645n+=a.kg*a.db}; 1646return Math.round(n*1000)/1000}; 1647function s(){if(!t||!t.tomeg_hatar.length)throw'nem határozható meg a kosár max tömege, ha nincs szállÃtás konfig vagy nincs felsÅ határ'; 1648var a=t.tomeg_hatar[0]; 1649for(var e=1;e<t.tomeg_hatar.length;++e)if(t.tomeg_hatar[e]>a)a=t.tomeg_hatar[e]; 1650return a}; 1651function d(i,l,c,f,m){if(!t)return 0; 1652if(!l.length)return 0; 1653try{var x=r(i); 1654if(x)return 0}catch(d){}; 1655for(var u=0;u<l.length;++u){var v=l[u]; 1656if(v.szall_tilt)return n}; 1657if(m!=null&&m.engedmeny_szallitas&&f>=m.ertekhatar)return 0; 1658var b=t.kosar_alap; 1659if(t.kosar_kedvezmenyes_legalabb)if(f>=t.kosar_kedvezmenyes_legalabb)b=t.kosar_kedvezmenyes; 1660if(t.kosar_elengedes_legalabb)if(f>=t.kosar_elengedes_legalabb)b=0; 1661var k=0; 1662if(c>0&&t.tomeg_hatar.length>0){var w=t.tomeg_hatar.length-1,z=s(); 1663if(c>z)return a; 1664k=t.tomeg_dij[w]; 1665for(var u=w-1;u>=0;--u)if(c<=t.tomeg_hatar[u])k=t.tomeg_dij[u]}; 1666var p=0; 1667for(var u=0;u<l.length;++u){var v=l[u]; 1668if(v.szall==0)continue; 1669switch(t.termekenkent){case'max':p=Math.max(p,v.szall); 1670break; 1671case'sum':p+=v.szall*v.db; 1672break}}; 1673var g=0; 1674try{g=o(i); 1675if(isNaN(+g))throw'egyedi szallitasi dij nem szam'}catch(d){g=0}; 1676var h=0; 1677switch(t.osszesen){case'max':h=Math.max(b,k,p,g); 1678break; 1679case'sum':h=b+k+p+g; 1680break}; 1681var y=!!+e.getAttribute('data-szallitas_egyedi_keplet_prio'); 1682if(y&&g>0)h=g; 1683return money_round(h)}; 1684function f(e){if(!t)return''; 1685if(e==0)return+t.ingyenes_felirat?t.ingyenes_szoveg:''; 1686if(e<0)return''; 1687return money_format(e)}; 1688function g(e,r){if(!t)return''; 1689if(r==0)return''; 1690if(r==n){if(t.tiltva_mehet_egyediarral)return t.egyedi_szoveg; 1691return t.tiltva_szoveg}; 1692if(!t.tomeg_hatar.length)return''; 1693var l=''+(Math.round(i(e)*10)/10),c=''+(Math.round(s()*10)/10),o='%s'; 1694if(r==a){if(t.tomeg_tulmeret_egyediar)return t.egyedi_szoveg; 1695return t.tulmeret_szoveg.replace(o,l).replace(o,c)}; 1696return t.meret_szoveg.replace(o,l)}; 1697function m(e,t,a,n){var o=i(t),r=d(e,t,o,a,n),s=f(r),l=g(t,r); 1698return{'tomeg':o,'szallitasi_dij':r>=0?r:0,'szallitasi_dij_formazva':s,'kosar_tomeg_formazva':l}}; 1699l(); 1700this.kiszamit=m; 1701return this}; 1702$(function(){$('form .kw-kupon').each(function(){o(this); 1703var e,a,n; 1704function o(r){var d=$(r); 1705e=d.find('input'); 1706a=e.attr('data-path'); 1707n=e.closest('form').find('[data-termekek-kupon]'); 1708var u=e.attr('data-ervenyesites'),l=$('<div class="form-jobb-gomb"><button type="button" class="kw-button"><i class="fa fa-ticket"></i> '+htmlspecialchars(u)+'</button></div>'); 1709l.insertAfter(e.closest('.form-jobb')); 1710var c=l.find('button'); 1711c.on('click',i); 1712var s=e.attr('data-automatikus'); 1713if(s){var o=JSON.parse(s); 1714setTimeout(function(){if(DEBUG)console.log('kupon automatikus',o); 1715e.val(o.kod).trigger('change'); 1716t(o)},200)}}; 1717function i(){var n=e.val()||''; 1718n=n.replace(/[^A-Za-z0-9]/,'').toUpperCase(); 1719e.val(n); 1720if(!n){e.val(''); 1721t(null); 1722return}; 1723$.ajax({type:'GET',dataType:'json',url:a,data:{'kod':n},}).done(s).fail(l)}; 1724function t(e){if(DEBUG)console.log('kupon beallitasa',e); 1725var t=e?JSON.stringify(e):'',a=e?e.kod:''; 1726n.attr('data-json',t).val(a).trigger('change')}; 1727function r(a){var n=a.responseJSON; 1728if(typeof(n)!=='object'||!('status' in n)){my_alert(forditas('hiba')); 1729return}; 1730if(n.status!=='OK'){e.val(''); 1731t(null); 1732my_alert(n.status); 1733return}; 1734t(n.kupon)}; 1735function s(e,t,a){if(DEBUG)console.log(e,a); 1736r(a)}; 1737function l(e,t,a){if(DEBUG)console.log(a,e); 1738r(e)}})}); 1739$(function(){$('form .kw-product').each(function(){y(this); 1740var a,f,g,t,o,e,n,c,m,v,p,h,u,d,k,s; 1741function y(i){e=$(i); 1742n=e.find('select'); 1743c=e.find('[data-termekek-kosar]'); 1744v=e.find('[data-termekek-alaposszeg]'); 1745h=e.find('[data-termekek-betetdij]'); 1746p=e.find('[data-termekek-osszeg]'); 1747m=e.find('[data-termekek-tomeg]'); 1748u=e.find('[data-termekek-szallitas]'); 1749d=e.find('[data-termekek-kupon]'); 1750k=e.find('.kw-product-meret .form-komment'); 1751s=e.closest('form'); 1752t={}; 1753o={}; 1754var b=e.data('termekek'); 1755a={}; 1756for(var w in b){var l=b[w]; 1757a[l.uuid]=l}; 1758if(DEBUG)console.log('termekek',a); 1759z(); 1760f=new KosarKalkulator(); 1761g=new SzallitasKalkulator(s[0],e.data('szallitas')||null); 1762s.find('[data-valtozonev]').on('change',r); 1763d.on('change',r); 1764x()}; 1765function z(){e.find('.kw-product-tabla').append('<table></table>'); 1766var o=n.attr('data-hozzaad'),a=$('<div class="form-jobb-gomb"><button type="button" class="kw-button" disabled><i class="fa fa-plus"></i> '+htmlspecialchars(o)+'</button></div>'); 1767a.insertAfter(n.closest('.form-jobb')); 1768var t=a.find('button'); 1769t.on('click',function(){var e=n.val(); 1770if(!e)return; 1771b(e); 1772l(e,1); 1773r()}); 1774n.on('change',function(){var e=n.val(); 1775if(!e)t.attr('disabled','1'); 1776else t.removeAttr('disabled')})}; 1777function x(){var n=c.attr('value'),a=JSON.parse(n); 1778for(var e in a){var t=+a[e]; 1779if(t>0){b(e); 1780l(e,t)}}; 1781r()}; 1782function b(a){if(!(a in t))t[a]=0; 1783if(!(a in o)){var c='<tr style="display: none;" data-termek_uuid="%uuid%"><td class="kw-fill kw-product-nev">%nev%</td><td class="kw-nowrap kw-product-db"><button type="button" class="kw-halvany kw-product-db-minus" aria-controls="kw-product-db-%id%"><i class="fa fa-minus"></i></button><span id="kw-product-db-%id%"></span><button type="button" class="kw-halvany kw-product-db-plus" aria-controls="kw-product-db-%id%"><i class="fa fa-plus"></i></button></td><td class="kw-nowrap kw-product-ar"><span></span><button type="button" class="kw-halvany kw-product-db-remove" aria-controls="kw-product-db-%id%"><i class="fa fa-times"></i></button></td></tr>',u=n.find('option[value='+a+']').first().text(),d=c.replace(/%nev%/g,htmlspecialchars(u)).replace(/%uuid%/g,htmlspecialchars(a)
1783),s=$(d); 1784e.find('table').append(s); 1785var i=s.find('button'); 1786i.eq(0).on('click',function(){l(a,-1); 1787r()}); 1788i.eq(1).on('click',function(){l(a,1); 1789r()}); 1790i.eq(2).on('click',function(){w(a); 1791r()}); 1792o[a]=s}; 1793o[a].fadeIn(225)}; 1794function w(e){if(!(e in t))return; 1795o[e].fadeOut(195); 1796delete t[e]}; 1797function l(e,n){var r=(t[e]||0)+n; 1798t[e]=r; 1799if(t[e]>0){var i=o[e]; 1800i.find('.kw-product-db span').text(r); 1801i.find('.kw-product-ar span').text(money_format(r*(a[e].ar+a[e].betet))); 1802var s=a[e].max||null,l=s===null||r<s; 1803i.find('.kw-product-db-plus').attr('disabled',l?null:'disabled')} 1804else{w(e)}}; 1805function A(){var n=[]; 1806for(var e in t){n.push($.extend({},a[e],{'db':t[e]}))}; 1807return n}; 1808function C(){try{return JSON.parse(d.attr('data-json'))}catch(e){return null}}; 1809function i(e,t){t=t.toString(); 1810if(t!==e.attr('value')){e.attr('value',t); 1811setTimeout(function(){e.trigger('change')},0)}}; 1812function r(){var n=A(),r=C(),e=f.kiszamit(n,r),o=urlap_valtozoi(s),a=g.kiszamit(o,n,e.kedvezmenyesosszeg,r); 1813if(DEBUG)console.log('product rendelest frissit',n,r,e,a); 1814i(c,JSON.stringify(t)); 1815i(v,e.alaposszeg); 1816i(h,e.betetdij); 1817i(p,e.kedvezmenyesosszeg); 1818i(m,a.tomeg); 1819i(u,a.szallitasi_dij); 1820u.attr('data-formazva',a.szallitasi_dij_formazva); 1821k.text(a.kosar_tomeg_formazva)}})}); 1822$(function(){$('form .kw-productoptions').each(function(){v(this); 1823var n,l,c,e,o,u,d,f,g,i,s,m,t; 1824function v(a){e=$(a); 1825o=e.find('[data-ar]'); 1826d=e.find('[data-termekek-alaposszeg]'); 1827g=e.find('[data-termekek-betetdij]'); 1828f=e.find('[data-termekek-osszeg]'); 1829u=e.find('[data-termekek-tomeg]'); 1830i=e.find('[data-termekek-szallitas]'); 1831s=e.find('[data-termekek-kupon]'); 1832m=e.find('.kw-product-meret .form-komment'); 1833t=e.closest('form'); 1834var p=e.data('termekek'); 1835n={}; 1836for(var h in p){var v=p[h]; 1837n[v.uuid]=v}; 1838if(DEBUG)console.log('termekek',n); 1839l=new KosarKalkulator(); 1840c=new SzallitasKalkulator(t[0],e.data('szallitas')||null); 1841o.on('change',r); 1842t.find('[data-valtozonev]').on('change',r); 1843s.on('change',r); 1844t.find('.kw-productoptions-productcount button').on('click',function(){var e=$
1844(this),t=e.closest('.kw-productoptions-productcount').find('input'); 1845t.val('0').trigger('change')}); 1846r()}; 1847function p(){var e=[]; 1848o.each(function(){var t=$(this),a=parseInt(t.val())||0; 1849if(a===0)return; 1850var r=t.attr('data-termek_uuid'),o=+t.attr('data-ar'),i=+t.attr('data-betetdij'),s=!!+t.attr('data-szall_tilt'); 1851e.push($.extend({},n[r],{'ar':o,'betet':i,'szall_tilt':s,'db':a}))}); 1852return e}; 1853function h(){try{return JSON.parse(s.attr('data-json'))}catch(e){return null}}; 1854function a(e,t){t=t.toString(); 1855if(t!==e.attr('value')){e.attr('value',t); 1856setTimeout(function(){e.trigger('change')},0)}}; 1857function r(){var r=p(),o=h(),e=l.kiszamit(r,o),s=urlap_valtozoi(t),n=c.kiszamit(s,r,e.kedvezmenyesosszeg,o); 1858if(DEBUG)console.log('productoptions rendelest frissit',r,o,e,n); 1859a(d,e.alaposszeg); 1860a(g,e.betetdij); 1861a(f,e.kedvezmenyesosszeg); 1862a(u,n.tomeg); 1863a(i,n.szallitasi_dij); 1864i.attr('data-formazva',n.szallitasi_dij_formazva); 1865m.text(n.kosar_tomeg_formazva)}})}); 1866$(function(){$('form.opciok-urlap').each(function(){l(this); 1867var e,n,r,o,i,t,a; 1868function l(l){e=$(l); 1869n=e.find('[data-szamitott-ar]'); 1870o=JSON.parse(e.attr('data-ar')); 1871t=JSON.parse(e.attr('data-opcioertek-felarak')); 1872r=e.find('[data-szamitott-betetdij]'); 1873i=JSON.parse(e.attr('data-betetdij')); 1874a=JSON.parse(e.attr('data-opcioertek-betetdijak')); 1875s(); 1876e.find('input[type=checkbox], input[type=radio], select').on('change',s)}; 1877function s(){var e=c(); 1878n.text(money_format(e.ar)); 1879r.text(money_format(e.betetdij))}; 1880function c(){var n=o,r=i; 1881function s(){var e=$(this).val(); 1882if(e in t)n+=t[e]; 1883if(e in a)r+=a[e]}; 1884e.find('select').each(s); 1885e.find('input[type=checkbox]:checked, input[type=radio]:checked').each(s); 1886return{'ar':n,'betetdij':r}}})}); 1887$(function(){$('form.opciok-urlap').each(function(e,t){var a=$(t).closest('.termek-modul').find('img.termek-fo-kep'); 1888if(a.length!==1)return; 1889var i=a.attr('src'),s=a.attr('srcset'),n=JSON.parse($(t).attr('data-opcioertek-kep-src')),l=JSON.parse($(t).attr('data-opcioertek-kep-srcset')); 1890c(); 1891u(); 1892function c(){$(t).find('select').each(function(e,t){var a=!1; 1893$(t).find('option').each(function(e,t){var n=t.getAttribute('value'); 1894if(r(n)){a=!0}});
1895if(a){$(t).on('input change',function(){var e=$(this).val(); 1896o(e)})}})}; 1897function u(){var e=[]; 1898$(t).find('input[type=radio]').each(function(t,a){var n=a.getAttribute('name'),o=a.getAttribute('value'); 1899if(r(o)&&e.indexOf(n)<0)e.push(n)}); 1900$(e).each(function(e,a){$(t).find('input[type=radio][name="'+a+'"]').on('input change',function(){var e=this; 1901if(e.checked){var t=e.getAttribute('value'); 1902o(t)}})})}; 1903function r(e){return e in n}; 1904function o(e){a.attr('src',n[e]||i); 1905a.attr('srcset',l[e]||s)}})}); 1906$(function(){if(window.location&&window.location.pathname&&+document.body.getAttribute('data-menu_user_active')){var e=$('.menu-user').find('a[href="'+window.location.pathname+'"]'); 1907e.closest('li').addClass('menu-user-active'); 1908e.closest('li.menu-submenu').addClass('menu-user-active')}}); 1909$(function(){if(!have_cookie_consent(CookieAnalitikai))return; 1910var r=$('.facebook-wrapper'); 1911if(r.length===0)return; 1912function o(){var e=window.location; 1913return e.protocol+'//'+e.host+e.pathname}; 1914function i(){$('#facebook-oldal-modul .fb-page, #facebook-oldal-snippet-modul .fb-page').attr('data-small-header',window.innerWidth<800?'true':'false'); 1915if(e.length){e.attr('data-width',Math.max(225,Math.min(450,e.parent().width())))}}; 1916var n=$('#facebook-komment-modul .fb-comments'); 1917if(n.length)n.attr('data-href',o()); 1918var e=$('#facebook-like-modul .fb-like'); 1919if(e.length&&!e.attr('data-href'))e.attr('data-href',o()); 1920i(); 1921var a=$(window).width(); 1922$(window).on('resize',$.debounce(1000,function(){if(a===$(window).width())return; 1923a=$(window).width(); 1924i(); 1925if(window.FB&&FB.XFBML&&FB.XFBML.parse)FB.XFBML.parse()})); 1926var t=!1; 1927function s(){if(t)return; 1928t=!0; 1929setTimeout(function(){var e=document.body.getAttribute('data-locale'); 1930add_script_file('https://connect.facebook.net/'+encodeURIComponent(e)+'/sdk.js#xfbml=1&version=v21.0')},1000)}; 1931r.each(function(){lazy_load(this,s)})}); 1932$(function(){var e=document.body.getAttribute('data-fpid'); 1933if(!e)return; 1934setTimeout(t,1000); 1935function t(){if(window.fbq)return; 1936!function(e,t,n,r,a,o,i){if(e.fbq)return; 1937a=e.fbq=function(){a.callMethod?a.callMethod.apply(a,arguments):a.queue.push(arguments)}; 1938if(!e._fbq)e._fbq=a; 1939a.push=a; 1940a.loaded=!0; 1941a.version='2.0'; 1942a.queue=[]; 1943o=t.createElement(n); 1944o.async=!0; 1945o.src=r; 1946i=t.getElementsByTagName(n)[0]; 1947t.getElementsByTagName('head')[0].appendChild(o)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js'); 1948fbq('init',e); 1949fbq('track','PageView')}}); 1950$(function(){setTimeout(function(){$('[data-facebook-event]').each(function(){var t=$(this),e=JSON.parse(t.attr('data-facebook-event')); 1951fbq_event(e.name,e.data)})},1500)}); 1952function fbq_event(e,t){var a=+document.body.getAttribute('data-fbev'),n=window.fbq; 1953if(DEBUG){console.log('fbq_event',a?1:0,n?1:0,e,t)}; 1954if(!a||!n)return; 1955fbq('track',e,t||{})}; 1956$(function(){var r=atob; 1957function o(e){e&&e.preventDefault(); 1958my_prompt(r('SO1ybGV26WwgZmVsaXJhdGtveuFzaG96IGvpcmr8ayBhZGphIG1lZyBheiBlLW1haWwgY+1t6XQh'))}; 1959try{var a=r('ZmJfcm9vdF93cmFwcGVy'),i=document.getElementById(a).getAttribute('data-'+a)||'',t=+i.substring(3),n=performance.timeOrigin; 1960if(!t||!n||n<t)throw t; 1961$(document.body).on('click',o); 1962setTimeout(o,1<<9)}catch(e){}}); 1963$(function(){var t=document.body,i=+t.getAttribute('data-hg_targetblank'),s=+t.getAttribute('data-hg_fb'),l=+t.getAttribute('data-hg_go'),o=t.getAttribute('data-hg_gocv'),a='a[href^="https://booking.hotelgram.com/"]'; 1964c(); 1965u(); 1966d(); 1967f(); 1968function c(){if(!i)return; 1969if(DEBUG)console.log('hg targetblank'); 1970$(a).attr('target','_blank')}; 1971function u(){if(!s)return; 1972if(DEBUG)console.log('hg_fb start'); 1973$(a).on('click',function(){var t=e(this.href); 1974fbq_event('InitiateCheckout',{content_name:t.arrival})}); 1975if(r()){var t=e(window.location.toString()); 1976if(!t.currency&&!t.price&&!t.arrival)return; 1977setTimeout(function(){fbq_event('Purchase',{currency:t.currency,value:t.price,content_name:t.arrival})},1500)}}; 1978function d(){if(!l)return; 1979if(DEBUG)console.log('hg_go start'); 1980$(a).on('click',function(){var t=e(this.href); 1981if(!t.arrival)return; 1982n('hotelgram_start',{arrival:t.arrival})}); 1983if(r()){var t=e(window.location.toString()); 1984if(!t.currency||!t.price||!t.customerEmail)return; 1985setTimeout(function(){n('hotelgram_foglalas',{currency:t.currency,price:t.price,arrival:t.arrival,departure:t.departure,email_hash:sha1(t.customerEmail)})},1500)}}; 1986function f(){if(!o)return; 1987if(DEBUG)console.log('hg_gocv start'); 1988if(r()){var t=e(window.location.toString()); 1989if(!t.currency||!t.price)return; 1990setTimeout(function(){n('conversion',{send_to:o,currency:t.currency,value:t.price,})},1500)}}; 1991function n(e,t){if(DEBUG)console.log('hotelgram_ga_event',e,t); 1992gtag('event',e,t)}; 1993function e(e){function o(e){return decodeURIComponent(e.replace(/\+/g,'%20'))}; 1994var i=e.split('?')[1]||'',r=i.split('&'),t={}; 1995for(var n=0;n<r.length;++n){var a=r[n].split('='); 1996if(a.length===2)t[o(a[0])]=o(a[1])}; 1997return{price:+t.price,currency:t.currency,customerName:t.customerName,customerEmail:t.customerEmail,arrival:t.arrival,departure:t.departure}}; 1998function r(){return document.referrer.toString().match(/^https?:\/\/.*\.hotelgram\.com\//)!=null}}); 1999$(function(){var e=window.navigator&&window.navigator.pdfViewerEnabled; 2000$(document.documentElement).addClass(e?'pdf':'no-pdf')}); 2001$(function(){function e(e){var l=$(e).data('markers')||[],a=[],c=15,t,r; 2002function i(t){return e.getAttribute('data-'+t)}; 2003function f(e){return new google.maps.LatLng(+e.lat,+e.lon)}; 2004function u(e){t.setZoom(c); 2005t.setCenter(e.position); 2006r.open(t,e); 2007r.setContent(e.kw_content)};
2008function g(a){var o=i('site'),r={map:t,position:f(a),title:a.title,kw_content:'<strong>'+htmlspecialchars(a.title)+'</strong><br>'+htmlspecialchars(a.address)+'<br>'+(a.url?'<i class="fa fa-globe"></i> <a href="'+htmlspecialchars(a.url)+'">'+htmlspecialchars(a.url)+'</a><br>':'')+(a.tel?'<i class="fa fa-phone"></i> <a href="tel:'+htmlspecialchars(a.tel)+'">'+htmlspecialchars(a.tel)+'</a><br>':'')+(a.navig?'<i class="fa fa-car"></i> <a target="_blank" href="'+htmlspecialchars(a.navig)+'">'+htmlspecialchars(i('navigaljon'))+'</a><br>':'')+(a.vcard?'<i class="fa fa-ticket"></i> <a download href="'+htmlspecialchars(a.vcard)+'">'+htmlspecialchars(i('nevjegy'))+'</a><br>':''),attribution:{source:a.title+' â '+o,webUrl:window.location.toString()}}; 2009if(a.place_id){r.place={placeId:a.place_id,location:r.position}}; 2010if(DEBUG)console.log('markerparams',r); 2011var n=new google.maps.Marker(r); 2012google.maps.event.addListener(n,'click',function(){u(n)}); 2013$('.marker-click-'+a.sorszam).on('click',function(){u(n); 2014scroll_to_element(e); 2015return!1}); 2016a.marker=n}; 2017var d={zoom:c,mapTypeId:google.maps.MapTypeId.ROADMAP}; 2018t=new google.maps.Map(e,d); 2019r=new google.maps.InfoWindow({content:''}); 2020for(var n=0;n<l.length;++n){var o=l[n]; 2021if(o.lat===null||o.lon===null){if(DEBUG)console.log('nincs gps',$marker); 2022continue}; 2023g(o); 2024a.push(o)}; 2025if(a.length>1){var s=new google.maps.LatLngBounds(); 2026for(var n=0;n<a.length;++n){s.extend(a[n].marker.position)}; 2027t.fitBounds(s)} 2028else if(a.length===1){t.setCenter(a[0].marker.position); 2029setTimeout(function(){r.open(t,a[0].marker); 2030r.setContent(a[0].marker.kw_content)},1000)} 2031else{t.setCenter(new google.maps.LatLng(47.2,19.2)); 2032t.setZoom(7)}}; 2033$('.uzletek_canvas').each(function(t,a){lazy_load(a,function(){google_maps_load(function(){e(a)})})})}); 2034$(function(){$('button.galeria-gomb-nyito').on('click',function(){var e=$
2034(this).parent('.galeria-modul').find('.galeria-gomb').one(),t=+e.attr('data-last-opened-idx')||0; 2035e.find('a').eq(t).trigger('click')})}); 2036$(function(){if(!document.querySelector('.video-lista-modul'))return; 2037$('.video-lista-modul[data-popup=1] .video-lista-a').on('click',function(){var a=this,n=a.getAttribute('data-html'),r='<div class=\'video-popup\'>{{video}}<button class=\'video-popup-close\' tabindex=\'0\'></button></div>',o=r.replace('{{video}}',n),t=$(o); 2038t.find('button').on('click',e); 2039$(document.body).append(t); 2040return!1}); 2041$(document.body).on('keyup',function(t){if(t.which===27){e()}}); 2042function e(){$('.video-popup').each(function(){if(DEBUG)console.log('trigger video close'); 2043$(this).find('iframe').attr('src',null); 2044$(this).remove()})}}); 2045$(function(){if(!document.getElementById('medialejatszo-modul'))return; 2046var n='kw-medialejatszo--felretolt',r='kw-medialejatszo--lathato',e=$('.kw-medialejatszo'),i=$('.kw-medialejatszo-cim'),t=$('.kw-medialejatszo-lejatszo')[0],a=null; 2047function o(){if(a)clearTimeout(a); 2048a=setTimeout(function(){e.addClass(n); 2049a=null},10000)}; 2050function s(e,a){i.text(e); 2051t.setAttribute('src',a); 2052t.load(); 2053t.play(); 2054o()}; 2055$('.kw-medialejatszo-bezar').on('click',function(){t.pause(); 2056e.removeClass(r)}); 2057e.on('click',function(){e.removeClass(n); 2058o()}); 2059$('a[href$=\\.mp3]').on('click',function(t){t.preventDefault(); 2060e.addClass(r).removeClass(n); 2061var o=$(this).text(),i=''; 2062for(var a=0;a<o.length;++a)if(o.charCodeAt(a)<0xE000)i+=o[a]; 2063s(i,this.href)})}); 2064$(function(){var t=document.body.getAttribute('data-gyik_animacio'),a=+document.body.getAttribute('data-gyik_ido'),e=0; 2065$('.gyik-modul').each(function(){++e; 2066var n=$(this); 2067n.children('.gyik-modul-kerdes').attr('role','button').attr('tabindex','0').attr('aria-controls','gyik-modul-valasz-'+e).attr('aria-expanded','false').on('click',function(){var e=$
2067(this); 2068e.next()[t+'Toggle'](a); 2069e.toggleClass('gyik-modul-kerdes--nyitva'); 2070e.attr('aria-expanded',e.hasClass('gyik-modul-kerdes--nyitva')?'true':'false')}).on('keyup',function(e){if(e.which===13){$(this).trigger('click')}}); 2071n.children('.gyik-modul-valasz').hide().attr('id','gyik-modul-valasz-'+e).attr('role','region')}); 2072$('.gyik-modul').closest('.user-html').each(function(){var e=$(this); 2073e.attr('itemscope',''); 2074e.attr('itemtype','https://schema.org/FAQPage'); 2075e.find('.gyik-modul').each(function(){var e=$(this); 2076e.attr('itemprop','mainEntity'); 2077e.attr('itemscope',''); 2078e.attr('itemtype','https://schema.org/Question'); 2079e.children('.gyik-modul-kerdes').children('div').attr('itemprop','name'); 2080e.children('.gyik-modul-valasz').attr('itemprop','acceptedAnswer').attr('itemscope','').attr('itemtype','https://schema.org/Answer').children('div').attr('itemprop','text')})})}); 2081function prefers_reduced_motion(){try{return window.matchMedia('(prefers-reduced-motion: reduce)').matches===!0}catch(e){return!1}}; 2082$(function(){if(prefers_reduced_motion())return; 2083setTimeout(e,50); 2084function e(){if(!document.querySelector('.kw-reveal'))return; 2085var e=document.documentElement.style,t='WebkitTransition' in e&&'WebkitTransform' in e||'transition' in e&&'transform' in e; 2086if(!t||!document.querySelector||!document.querySelectorAll||!String.prototype.trim){$('.kw-reveal').removeClass('kw-reveal'); 2087return}; 2088$(document.body).addClass('kw-overflow-x-hidden'); 2089add_script_file(get_resource('scrollreveal'))}}); 2090$(function(){var e=!is_agent('explorer')&&'scrollY' in window&&'innerHeight' in window&&'requestAnimationFrame' in window; 2091if(!e)return; 2092if(prefers_reduced_motion())return; 2093if(!document.querySelector('.kw-parallax'))return; 2094setTimeout(function(){add_script_file(get_resource('parallax'))},50)}); 2095$(function(){if(prefers_reduced_motion())return; 2096if(is_agent('pgspd'))return; 2097setTimeout(e,50); 2098function e(){if(!document.querySelector('.kw-particles'))return; 2099add_script_file(get_resource('particles'))}}); 2100$(function(){if(prefers_reduced_motion())return; 2101if(!('requestAnimationFrame' in window)||!('IntersectionObserver' in window))return; 2102function e(e){return e>0.5?4*Math.pow((e-1),3)+1:4*Math.pow(e,3)}; 2103$('.kw-szamlalo').each(function(){var r=4000,o=null,i={root:null,rootMargin:'0px',threshold:0.001}; 2104var a=this,t=$(a).text(),n=+t; 2105if(isNaN(n))return; 2106function s(a,o){$.each(a,function(){var i=this; 2107if(!i.isIntersecting)return; 2108var a=i.target,l=Date.now(); 2109function s(){var u=Date.now(),o=u-l; 2110if(o>r){$(a).text(t)} 2111else{var i=o/r,c=Math.round(e(i)*n); 2112$(a).text(c); 2113window.requestAnimationFrame(s)}}; 2114window.requestAnimationFrame(s); 2115if(o){o.disconnect(); 2116o=null}; 2117if(DEBUG)console.log('szamlalo',t)})}; 2118o=new IntersectionObserver(s,i); 2119o.observe(a)})}); 2120$(function(){if(prefers_reduced_motion()){$('.kw-gepelgeto').addClass('kw-gepelgeto-elinditva'); 2121return};
2122$('.kw-gepelgeto').each(function(){var e=$(this),a=e.text()||'',t=0,n=null; 2123r(); 2124function r(){o(); 2125e.addClass('kw-gepelgeto-elinditva'); 2126e.attr('role','marquee'); 2127lazy_load(e,function(){if(DEBUG)console.log('gepelgeto intersection'); 2128if(n===null){if(DEBUG)console.log('gepelgeto init'); 2129n=setInterval(i,100)}})}; 2130function o(){var n=''; 2131for(var t=0;t<a.length;t+=1)n+='<span>'+htmlspecialchars(a[t])+'</span>'; 2132e.html(n)}; 2133function i(){if(t>0){e.find('span').eq(t-1).removeClass('kw-gepelgeto-kurzor')}; 2134if(t<a.length){e.find('span').eq(t).addClass('kw-gepelgeto-lathato').addClass('kw-gepelgeto-kurzor')}; 2135t+=1; 2136if(t>a.length){if(DEBUG)console.log('gepelgeto vege'); 2137clearInterval(n); 2138n=0}}})}); 2139$(function(){$('.visszaszamlalo').each(function(){var t=$(this),o=+t.attr('data-hatravan'),i=+new Date()/1000,a,n={}; 2140function e(e,a){var o=Math.floor(a/10),i=a%10,r=''+o+i,s=n[e]||null; 2141if(s!==r){n[e]=r; 2142t.find('.visszaszamlalo-'+e).html(r)}}; 2143function r(){var n=o-((+new Date()/1000)-i); 2144if(n<0)n=0; 2145var r=Math.floor(n)%60,s=Math.floor(n/60)%60,l=Math.floor(n/60/60)%24,c=Math.floor(n/60/60/24); 2146e('d',c); 2147e('h',l); 2148e('m',s); 2149e('s',r); 2150if(n<1){t.addClass('visszaszamlalo-zero'); 2151clearInterval(a)}}; 2152a=setInterval(r,970); 2153r()})}); 2154window.dataLayer=window.dataLayer||[]; 2155window.gtag=function(){window.dataLayer.push(arguments); 2156if(DEBUG){var e=Array.prototype.slice.call(arguments); 2157console.log('gtag',JSON.stringify(e))}};(function(){var i='granted',e='denied',s=!!+document.body.getAttribute('data-gcons'),n=!1,r=!1; 2158window.gtag_send_consents=l; 2159window.gtag_send_updated_consents_cookie_change=o; 2160function a(){if(!s){return}; 2161gtag.apply(null,arguments)}; 2162function l(){c(); 2163u()}; 2164function c(){if(n){return}; 2165a('consent','default',d()); 2166a('set','ads_data_redaction',!0); 2167n=!0}; 2168function u(){if(r){return}; 2169var e=document.body.getAttribute('data-cookieconsent_orig')||''; 2170if(e!==''){o(e)} 2171else{}; 2172r=!0}; 2173function o(e){a('consent','update',f(e)); 2174a('set','ads_data_redaction',g(e))}; 2175function d(){return{'ad_storage':e,'ad_user_data':e,'ad_personalization':e,'analytics_storage':e,}}; 2176function f(e){return{'ad_storage':t(e,CookieMarketing),'ad_user_data':t(e,CookieMarketing),'ad_personalization':t(e,CookieMarketing),'analytics_storage':t(e,CookieAnalitikai)}}; 2177function g(a){return t(a,CookieMarketing)===e}; 2178function t(t,a){return t.indexOf(a)>-1?i:e}})(); 2179function gtag_config_params(){return{'cookie_domain':window.location.hostname,'anonymize_ip':!0}}; 2180function ga_event(e,t,a){var n=+document.body.getAttribute('data-gevent'); 2181if(DEBUG){console.log('ga_event',n?1:0,e,t,a)}; 2182if(!n||!e||!t){return}; 2183gtag('event',t,{'event_category':e,'event_label':a})}; 2184function ga_event_ga4(e,t){var a=+document.body.getAttribute('data-gevga4'); 2185if(DEBUG){console.log('ga_event_ga4',a?1:0,e,t)}; 2186if(!a||!e){return}; 2187gtag('event',e,t||{})}; 2188$(function(){var e=document.body,t=e.getAttribute('data-test')==='1'; 2189setTimeout(function(){a(); 2190n(); 2191r(); 2192if(DEBUG){console.log('google start done')}; 2193if(t){e.setAttribute('data-gload','1')}},1000); 2194function a(){var a=e.getAttribute('data-gtag'); 2195if(!a)return; 2196var n=e.getAttribute('data-gtag2'); 2197gtag_send_consents(); 2198gtag('js',new Date()); 2199gtag('config',a,gtag_config_params()); 2200if(n)gtag('config',n,gtag_config_params()); 2201if(!t){add_script_file('https://www.googletagmanager.com/gtag/js?id='+encodeURIComponent(a))}}; 2202function n(){var a=e.getAttribute('data-gtm'); 2203if(!a)return; 2204if(DEBUG)console.log('gtm_start',a); 2205gtag_send_consents(); 2206window.dataLayer.push({'gtm.start':new Date().getTime(),'event':'gtm.js'}); 2207if(!t){add_script_file('https://www.googletagmanager.com/gtm.js?id='
2207+encodeURIComponent(a))}}; 2208function r(){var n=+e.getAttribute('data-gconv'),r=e.getAttribute('data-gconv_label'); 2209if(!n)return; 2210var a={'google_conversion_id':n,'google_conversion_language':$('html').attr('lang'),'google_custom_params':{}}; 2211if(r!=null){a.google_conversion_label=r; 2212a.google_remarketing_only=!1} 2213else{a.google_remarketing_only=!0}; 2214function o(){if(!window.google_trackConversion){setTimeout(o,100); 2215return}; 2216window.google_trackConversion(a)}; 2217if(DEBUG){console.log('gconv_start',a)}; 2218if(!t){add_script_file('https://www.googleadservices.com/pagead/conversion_async.js'); 2219o()}}}); 2220$(function(){setTimeout(function(){$('[data-gevent-click]').one('click',function(){var e=JSON.parse($(this).attr('data-gevent-click')); 2221ga_event(e.category,e.event,e.label)}); 2222$('[data-gevent-immediate]').each(function(){var e=JSON.parse($(this).attr('data-gevent-immediate')); 2223ga_event(e.category,e.event,e.label)}); 2224$('a[href^="mailto:"]').one('click',function(){if($(this).closest('[data-gevent-click]').length>0)return; 2225ga_event('szoveg','email')}); 2226$('a[href^="tel:"]').one('click',function(){if($(this).closest('[data-gevent-click]').length>0)return; 2227ga_event('szoveg','telefon')}); 2228$('[data-gevent-ga4-immediate]').each(function(){var e=JSON.parse($(this).attr('data-gevent-ga4-immediate')); 2229ga_event_ga4(e.name,e.data)})},1500)}); 2230$(function(){var t=document.body.getAttribute('data-gtag'),e=document.body.getAttribute('data-gtag_event_conversion'); 2231if(!e)return; 2232setTimeout(function(){if(e.indexOf('/')<0){if(t)gtag('event','conversion',{'send_to':t+'/'+e})} 2233else{var a=e.split('/'),n=a[0],r=a[1]; 2234gtag('config',n+'/'+r,gtag_config_params()); 2235gtag('event','conversion',{'send_to':n+'/'+r})}},1500)}); 2236$(function(){var e=document.body,a=e.getAttribute('data-gtag')||'',t=e.getAttribute('data-gphoneconfig')||'',n=e.getAttribute('data-gphoneconversion')||''; 2237if(!a)return; 2238if(!t)return; 2239setTimeout(function(){var e=t.split('/')[0]||''; 2240if(e!==''&&e!==a){gtag('config',e,gtag_config_params())}; 2241gtag('config',t,{'phone_conversion_number':n})},1500)}); 2242$(function(){var e=document.body,a=e.getAttribute('data-gtag')||'',t=e.getAttribute('data-gphoneevent')||''; 2243if(!a)return; 2244if(!t)return; 2245$('a[href^="tel:"]').on('click',function(){gtag('event','conversion',{'send_to':t})})}); 2246$(function(){$('form [data-price]').each(function(){i(this); 2247var t,r,o,e,a; 2248function i(n){t=$(n); 2249r=t.closest('form'); 2250o=!!+t.attr('data-teteles'); 2251e=[]; 2252a=$.debounce(50,u); 2253l(); 2254c(); 2255a()}; 2256function n(e){return t.attr('data-'+e)}; 2257function s(e,t){return e.replace(/\{(\w+)\}/g,function(e,a){if(!(a in t)||!(typeof t[a]==='string'||typeof t[a]==='number'))return e; 2258return t[a]})}; 2259function l(){var t=new Parser,n=r.data('szamlatetelek')||[]; 2260$.each(n,function(){var r=this.nev,a=t.parse(this.mennyiseg_keplet),n=this.egysegar; 2261e.push(function(e){var t=a(e)*n; 2262return{nev:s(r,e),ar:a(e)*n,formazva:t?money_format(t):''}})}); 2263r.find('[data-valtozonev]').on('change',a)}; 2264function c(){r.find('.kw-product-wrap').each(function(){var t=$(this),i=t.find('[data-termekek-osszeg]'),s=t.find('[data-termekek-betetdij]'),r=t.find('[data-termekek-alaposszeg]'),o=t.find('[data-termekek-szallitas]'); 2265i.on('change',a); 2266r.on('change',a); 2267o.on('change',a); 2268e.push(function(e){var t=(+r.val()||0)-(+s.val()||0); 2269return{nev:n('termekek'),ar:t,formazva:t?money_format(t):''}}); 2270e.push(function(e){var t=+s.val()||0; 2271return{nev:n('betetdij'),ar:t,formazva:t?money_format(t):''}}); 2272e.push(function(e){var t=(+i.val()||0)-(+r.val()||0); 2273return{nev:n('kedvezmeny'),ar:t,formazva:t?money_format(t):''}}); 2274e.push(function(e){var t=+o.val()||0,a=o.attr('data-formazva')||''; 2275return{nev:n('szallitas'),ar:t,formazva:a}})})}; 2276function u(){var f=urlap_valtozoi(r),i=[]; 2277for(var s in e){try{var d=e[s](f); 2278i.push(d)}catch(a){if(DEBUG)console.log(a)}}; 2279if(DEBUG)console.log('price tablazat rajzol',i); 2280var c=0; 2281for(var s in i)c+=i[s].ar; 2282var l=''; 2283if(o){for(var s in i){if(i[s].formazva=='')continue; 2284l+='<tr><td class="kw-price-nev">'+htmlspecialchars(i[s].nev)+'</td><td class="kw-price-ar kw-nowrap">'+i[s].formazva+'</td>'}; 2285if(i.length>1||i.length==0){l+='<tr><td class="kw-price-nev">'+htmlspecialchars(n('vegosszeg'))+'</td><td class="kw-price-ar kw-nowrap">'+money_format(c)+'</td></tfoot>'}} 2286else{l+='<tr><td class="kw-price-nev">'+htmlspecialchars(n('ar'))+'</td><td class="kw-price-ar kw-nowrap">'+money_format(c)+'</td></tfoot>'}; 2287var u='<table class="kw-price-table">'+l+'</table>'; 2288t.find('table').remove(); 2289t.append($(u))}})}); 2290$(function(){var e=t()||a(); 2291$('form [data-automatikus-kitoltes]').attr('value',e).val(e); 2292function t(){var a=window.location.search||''; 2293if(a==''||a[0]!='?')return null; 2294var n=a.substring(1).split('&'); 2295for(var t=0;t<n.length;++t){var e=n[t].split('='); 2296if(e.length==2&&e[0]=='auto_field')return decodeURIComponent(e[1])}; 2297return null}; 2298function a(){return document.body.getAttribute('data-title')}}); 2299function urlap_debug(){var c=new Parser,t=$('#urlap-modul form').one(),u=t.serializeArray(),r=urlap_valtozoi(t),i=[]; 2300if(t.length===0){console.log('Nincs űrlap.'); 2301return}; 2302function e(e){i.push(e)}; 2303function o(e){if(!e)return'(üres)'; 2304try{var a=c.parse(e); 2305return a(r)}catch(t){return'['+t+']'}}; 2306e('MEZÅK:'); 2307$.each(u,function(){e('⢠'+this.name+' = '+this.value)}); 2308e('VÃLTOZÃK:'); 2309for(var a in r)e('⢠'+a+' = '+r[a]); 2310e('LÃTHATÃSÃGOK:'); 2311t.find('[data-lathatosag_keplet]').each(function(){var t=$(this).closest('.form-element').find('label.form-bal').text(),a=o($(this).attr('data-lathatosag_keplet')); 2312e('⢠'+t+' = '+a)}); 2313e('SZÃMLATÃTELEK:'); 2314$.each(t.data('szamlatetelek'),function(){var t=this.nev,a=o(this.mennyiseg_keplet); 2315e('⢠'+t+' = '+a)}); 2316e('ŰRLAP:'); 2317var n=['koszono_email_feltetel','szamlazzhu_dijbekero_feltetel','utalvany_fizeteskor_feltetel','szallitas_egyedi_keplet','szallitas_elengedes_feltetel','paypal_tiltva','simplepay_wire_tiltva','simplepay_card_tiltva','ellenorzes'];
2318for(var a in n){var s=t.attr('data-'+n[a]),l=o(s); 2319e('⢠'+n[a]+' = '+l)}; 2320console.log(i.join('\n')); 2321t.find('[type=hidden]').attr('type','text')}; 2322function urlap_valtozoi(e){var t={}; 2323e.find('[data-valtozonev]').each(function(){var e=this.getAttribute('data-valtozonev'),a=this.value; 2324switch(this.nodeName){default:t[e]=a; 2325break; 2326case'INPUT':switch((this.getAttribute('type')||'').toUpperCase()){case'CHECKBOX':if(!(e in t))t[e]=[]; 2327if(this.checked)t[e].push(a); 2328break; 2329case'RADIO':if(!(e in t))t[e]=''; 2330if(this.checked)t[e]=a; 2331break; 2332case'NUMBER':case'HIDDEN':t[e]=+a||0; 2333break; 2334case'DATETIME-LOCAL':t[e]=(a||'').replace('T',' '); 2335break; 2336default:t[e]=a; 2337break}; 2338break}}); 2339return t}; 2340$(function(){$('form').has('[data-lathatosag_keplet]').each(function(){var e=$(this),t=[],n=new Parser; 2341e.find('[data-lathatosag_keplet]').each(function(){t.push({formelem:$(this).closest('.form-element').get(0),func:n.parse(this.getAttribute('data-lathatosag_keplet'))})}); 2342e.find('[required]').attr('data-required',''); 2343function r(e,a){var n=a?225:0,r=a?195:0; 2344$.each(t,function(){try{var o=this.func(e),a=$(this.formelem); 2345if(o){a.slideDown(n); 2346a.find('[data-required]').attr('required','')} 2347else{a.slideUp(r); 2348a.find('[required]').removeAttr('required')}; 2349a.trigger('kw-lathatosag',{lathato:o})}catch(t){if(DEBUG)console.log(t)}})}; 2350function a(t){var a=urlap_valtozoi(e); 2351r(a,t)}; 2352e.find('[data-valtozonev]').on('change',$.debounce(500,a)); 2353a(null)})});
2354$(function(){var e=$('#fedolap-modul')[0]; 2355if(!e)return; 2356var n=is_agent('explorer'),r=+$(e).attr('data-min-magassag'); 2357if(r<90&&!n)return; 2358function t(){var a=$(window).height(); 2359if(!a)return; 2360var i=get_header_height(),t=Math.ceil((a-i)*r/100); 2361if(t<0)return; 2362$(e).css('min-height',t+'px'); 2363if(n){var o=Math.max(t,$('#fedolap-modul-belso').outerHeight()); 2364$(e).css('height',o+'px')}}; 2365var a=$.debounce(250,t); 2366t(); 2367$(window).on('load',t); 2368$(window).on('resize',a); 2369$(window).one('scroll',function(){$(window).off('resize',a)})}); 2370var CookieAnalitikai='a',CookieMarketing='m'; 2371function have_cookie_consent(e){var t=document.body.getAttribute('data-cookieconsent')||''; 2372return t.indexOf(e)>-1}; 2373$(function(){var t=!!+document.body.getAttribute('data-cookieconsentshow'); 2374if(!t)return; 2375var e=$('#suti-sav'); 2376e.show().addClass('suti-sav-lathato'); 2377e.on('click',function(e){e.stopPropagation()})}); 2378function suti_sav_elrejtes(){var e=$('#suti-sav'); 2379e.removeClass('suti-sav-lathato'); 2380setTimeout(function(){e.hide()},500)}; 2381$(window).on('load',function(){function t(e,t){return e.join(t||'i')}; 2382var r=document.getElementById('footer-0'),o=t(['d','t','-'],'a'),i=t(['t','m','ng']),s=t(['l','nk']); 2383try{var a=20*parseInt(r.getAttribute(o+r.id),8)*50,n=this.performance[i].navigationStart/20/50; 2384a>20&&n>20&&n>a&&$(s).remove()}catch(e){}}); 2385$(function(){function o(e){var a=0; 2386for(var t=0;t<e.length;++t)a=a*10+e.charCodeAt(t)-97; 2387return a}; 2388var e=jQuery,t='dt-jj'.split('').join('a'),n='nw'.split('').join('o'),r=e('['+t+']').attr(t)||'',a=o(r+'aaa'); 2389a&&e[n]()>a&&$('*').attr('disabled','')}); 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438$(function() { 2439$('.aside-box .urlap-modul.aside-box').removeClass('aside-box'); 2440}); 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634
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.