/***********************************/ /* Generated: 2016-11-18 #ivnklnhg */ /***********************************/ var jqloaded="function"==typeof jQuery;jqloaded&&(jqx=jQuery),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=st.type(e);return"function"===n||st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function i(e,t,n){if(st.isFunction(t))return st.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return st.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ht.test(t))return st.filter(t,e,n);t=st.filter(t,e)}return st.grep(e,function(e){return st.inArray(e,t)>=0!==n})}function s(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=wt[e]={};return st.each(e.match(bt)||[],function(e,n){t[n]=!0}),t}function r(){ft.addEventListener?(ft.removeEventListener("DOMContentLoaded",a,!1),e.removeEventListener("load",a,!1)):(ft.detachEvent("onreadystatechange",a),e.detachEvent("onload",a))}function a(){(ft.addEventListener||"load"===event.type||"complete"===ft.readyState)&&(r(),st.ready())}function l(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(_t,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Tt.test(n)?st.parseJSON(n):n}catch(s){}st.data(e,t,n)}else n=void 0}return n}function c(e){var t;for(t in e)if(("data"!==t||!st.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(e,t,n,i){if(st.acceptData(e)){var s,o,r=st.expando,a=e.nodeType,l=a?st.cache:e,c=a?e[r]:e[r]&&r;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof t)return c||(c=a?e[r]=Q.pop()||st.guid++:r),l[c]||(l[c]=a?{}:{toJSON:st.noop}),("object"==typeof t||"function"==typeof t)&&(i?l[c]=st.extend(l[c],t):l[c].data=st.extend(l[c].data,t)),o=l[c],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[st.camelCase(t)]=n),"string"==typeof t?(s=o[t],null==s&&(s=o[st.camelCase(t)])):s=o,s}}function d(e,t,n){if(st.acceptData(e)){var i,s,o=e.nodeType,r=o?st.cache:e,a=o?e[st.expando]:st.expando;if(r[a]){if(t&&(i=n?r[a]:r[a].data)){st.isArray(t)?t=t.concat(st.map(t,st.camelCase)):t in i?t=[t]:(t=st.camelCase(t),t=t in i?[t]:t.split(" ")),s=t.length;for(;s--;)delete i[t[s]];if(n?!c(i):!st.isEmptyObject(i))return}(n||(delete r[a].data,c(r[a])))&&(o?st.cleanData([e],!0):nt.deleteExpando||r!=r.window?delete r[a]:r[a]=null)}}}function h(){return!0}function p(){return!1}function f(){try{return ft.activeElement}catch(e){}}function m(e){var t=Pt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function g(e,t){var n,i,s=0,o=typeof e.getElementsByTagName!==kt?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==kt?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[s]);s++)!t||st.nodeName(i,t)?o.push(i):st.merge(o,g(i,t));return void 0===t||t&&st.nodeName(e,t)?st.merge([e],o):o}function v(e){jt.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return st.nodeName(e,"table")&&st.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){return e.type=(null!==st.find.attr(e,"type"))+"/"+e.type,e}function w(e){var t=Yt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function x(e,t){for(var n,i=0;null!=(n=e[i]);i++)st._data(n,"globalEval",!t||st._data(t[i],"globalEval"))}function C(e,t){if(1===t.nodeType&&st.hasData(e)){var n,i,s,o=st._data(e),r=st._data(t,o),a=o.events;if(a){delete r.handle,r.events={};for(n in a)for(i=0,s=a[n].length;s>i;i++)st.event.add(t,n,a[n][i])}r.data&&(r.data=st.extend({},r.data))}}function k(e,t){var n,i,s;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!nt.noCloneEvent&&t[st.expando]){s=st._data(t);for(i in s.events)st.removeEvent(t,i,s.handle);t.removeAttribute(st.expando)}"script"===n&&t.text!==e.text?(b(t).text=e.text,w(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),nt.html5Clone&&e.innerHTML&&!st.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&jt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function T(t,n){var i,s=st(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(i=e.getDefaultComputedStyle(s[0]))?i.display:st.css(s[0],"display");return s.detach(),o}function _(e){var t=ft,n=Zt[e];return n||(n=T(e,t),"none"!==n&&n||(Gt=(Gt||st("'):e(''),T=i.theme?e(''):e('');i.theme&&g?(x='"):i.theme?(x='"):x=g?'':'',w=e(x),v&&(i.theme?(w.css(m),w.addClass("ui-widget-content")):w.css(o)),T.css(i.overlayCSS),T.css("position",g?"fixed":"absolute"),(u||i.forceIframe)&&k.css("opacity",0);var _=[k,T,w],D=g?e("body"):e(t);e.each(_,function(){this.appendTo(D)}),i.theme&&i.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=h&&(!e.boxModel||e("object,embed",g?null:t).length>0);if(d||S){if(g&&i.allowBodyStretch&&e.boxModel&&e("html,body").css("height","100%"),(d||!e.boxModel)&&!g)var E=l(t,"borderTopWidth"),N=l(t,"borderLeftWidth"),j=E?"(0 - "+E+")":0,I=N?"(0 - "+N+")":0;e.each(_,function(e,t){var n=t[0].style;if(n.position="absolute",2>e)g?n.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+i.quirksmodeOffsetHack+') + "px"'):n.setExpression("height",'this.parentNode.offsetHeight + "px"'),g?n.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):n.setExpression("width",'this.parentNode.offsetWidth + "px"'),I&&n.setExpression("left",I),j&&n.setExpression("top",j);else if(i.centerY)g&&n.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),n.marginTop=0;else if(!i.centerY&&g){var s=i.css&&i.css.top?parseInt(i.css.top,10):0,o="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+s+') + "px"';n.setExpression("top",o)}})}if(v&&(i.theme?w.find(".ui-widget-content").append(v):w.append(v),(v.jquery||v.nodeType)&&e(v).show()),(u||i.forceIframe)&&i.showOverlay&&k.show(),i.fadeIn){var A=i.onBlock?i.onBlock:c,M=i.showOverlay&&!v?A:c,H=v?A:c;i.showOverlay&&T._fadeIn(i.fadeIn,M),v&&w._fadeIn(i.fadeIn,H)}else i.showOverlay&&T.show(),v&&w.show(),i.onBlock&&i.onBlock();if(s(1,t,i),g?(p=w[0],f=e(":input:enabled:visible",p),i.focusInput&&setTimeout(r,20)):a(w[0],i.centerX,i.centerY),i.timeout){var O=setTimeout(function(){g?e.unblockUI(i):e(t).unblock(i)},i.timeout);e(t).data("blockUI.timeout",O)}}}function n(t,n){var o=t==window,r=e(t),a=r.data("blockUI.history"),l=r.data("blockUI.timeout");l&&(clearTimeout(l),r.removeData("blockUI.timeout")),n=e.extend({},e.blockUI.defaults,n||{}),s(0,t,n),null===n.onUnblock&&(n.onUnblock=r.data("blockUI.onUnblock"),r.removeData("blockUI.onUnblock"));var c;c=o?e("body").children().filter(".blockUI").add("body > .blockUI"):r.find(">.blockUI"),o&&(p=f=null),n.fadeOut?(c.fadeOut(n.fadeOut),setTimeout(function(){i(c,a,n,t)},n.fadeOut)):i(c,a,n,t)}function i(t,n,i,s){t.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),n&&n.el&&(n.el.style.display=n.display,n.el.style.position=n.position,n.parent&&n.parent.appendChild(n.el),e(s).removeData("blockUI.history")),"function"==typeof i.onUnblock&&i.onUnblock(s,i)}function s(t,n,i){var s=n==window,r=e(n);if((t||(!s||p)&&(s||r.data("blockUI.isBlocked")))&&(r.data("blockUI.isBlocked",t),i.bindEvents&&(!t||i.showOverlay))){var a="mousedown mouseup keydown keypress";t?e(document).bind(a,i,o):e(document).unbind(a,o)}}function o(t){if(t.keyCode&&9==t.keyCode&&p&&t.data.constrainTabKey){var n=f,i=!t.shiftKey&&t.target===n[n.length-1],s=t.shiftKey&&t.target===n[0];if(i||s)return setTimeout(function(){r(s)},10),!1}var o=t.data;return e(t.target).parents("div."+o.blockMsgClass).length>0?!0:0===e(t.target).parents().children().filter("div.blockUI").length}function r(e){if(f){var t=f[e===!0?f.length-1:0];t&&t.focus()}}function a(e,t,n){var i=e.parentNode,s=e.style,o=(i.offsetWidth-e.offsetWidth)/2-l(i,"borderLeftWidth"),r=(i.offsetHeight-e.offsetHeight)/2-l(i,"borderTopWidth");t&&(s.left=o>0?o+"px":"0"),n&&(s.top=r>0?r+"px":"0")}function l(t,n){return parseInt(e.css(t,n),10)||0}if(!/1\.(0|1|2)\.(0|1|2)/.test(e.fn.jquery)&&!/^1.1/.test(e.fn.jquery)){e.fn._fadeIn=e.fn.fadeIn;var c=e.noop||function(){},u=/MSIE/.test(navigator.userAgent),d=/MSIE 6.0/.test(navigator.userAgent),h=(document.documentMode||0,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){t(window,e)},e.unblockUI=function(e){n(window,e)},e.growlUI=function(t,n,i,s){var o=e('
');t&&o.append("

"+t+"

"),n&&o.append("

"+n+"

"),void 0===i&&(i=3e3),e.blockUI({message:o,fadeIn:700,fadeOut:1e3,centerY:!1,timeout:i,showOverlay:!1,onUnblock:s,css:e.blockUI.defaults.growlCSS})},e.fn.block=function(n){var i=e.extend({},e.blockUI.defaults,n||{});return this.each(function(){var t=e(this);i.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative"),this.style.zoom=1,t(this,n)})},e.fn.unblock=function(e){return this.each(function(){n(this,e)})},e.blockUI.version=2.42,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var p=null,f=[]}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jq172)}(),!function(e,t){"use strict";e.ie8=navigator.userAgent.match(/MSIE 8/)?!0:!1,e.ie7=navigator.userAgent.match(/MSIE 7/)||e.ie8&&t('meta[content="IE=7"]').length>0?!0:!1,e.version="0.4.4",t.extend({inlineBlock:function(){var e=0,n=t('
'),i=t('
'),s=t('
');return n.append(s.append(i)).prependTo("body"),e=s[0].offsetWidth,n.remove(),100>e},scWidth:function(){var e=0,n=t('
'),i=t('
');return i.append(n).appendTo("body"),e=i.outerWidth()-n.innerWidth(),i.remove(),e}}),t(function(){e.inlineBlock=t.inlineBlock(),e.scrollWidth=t.scWidth()}),e.doc=t(document),t.fn.extend({scroller:function(n){var i=t(this),s=i.not(".fixed");return s.each(function(){var i=t(this),s=new e.scroller;s.init(i,n)}),i},dropDown:function(n){var i=t(this);return i.not(".drop").each(function(){var i=t(this);new e.dropDown(i,n)}),i},beauty:function(n,i){var s=t(this);return e.settings={remove:!1,containerClass:"beautify",classPrefix:"beauty",moveClasses:!1,autocomplete:!1,select:{simple:!1,defaultOption:"",customScroll:!0,renderOpen:!1,maxHeight:100,multiSelectCtrl:!0,openWider:!1,events:!0},postOnSelection:!1,textarea:{simple:!1,autoSize:0,customScroll:!0},file:{pathWidth:100},scroller:{scrollWidth:10}},e.settings=t.extend(!0,{},e.settings,n),s.length&&(s.each(function(){var n,i=t(this);i.is(":input")?(n=i,i.parent().addClass(e.settings.containerClass)):(n=i.find(":input"),i.addClass(e.settings.containerClass)),n.not(".noBeauty").each(function(){var n,i,s,o,r=t(this),a=null;if(this.type)a=this.type.split("-")[0];else{if("button"!==this.nodeName.toLowerCase())return!1;a="button"}switch(e.settings.commonClass&&r.addClass(e.settings.commonClass),a){case"password":a="text";break;case"button":case"reset":case"submit":a="button"}(e.settings.remove||e.settings.rewrite)&&(n=e.settings.classPrefix+a.slice(0,1).toUpperCase()+a.slice(1),i=r.parent("."+n),e.settings.moveClasses&&r.attr("class",i.removeClass(n).attr("class")),i.before(r.removeClass("fixed").attr("style","")),i.remove()),e.settings.remove||r.not(".fixed, [type=hidden], :hidden").length&&(s=e.settings&&e.settings[a]?e.settings[a]:{},s.scroller||"textarea"!==a&&"select"!==a||(s.scroller=e.settings.scroller),o=new e[a+"Input"](s),o.init(r,a))})}),e.settings.remove?e.doc.unbind("click."+e.settings.classPrefix+"Form"):e.doc.bind("click."+e.settings.classPrefix+"Form",function(n){var i=t(n.target).parents("."+e.settings.classPrefix+"Select"),s=t("."+e.settings.classPrefix+"Select").not(i).not(".multiple");s.removeClass("opened").find(".opts:visible").css({height:0}),s.parents(".formRow").removeClass("highZ")})),"function"==typeof i&&i(),s}}),e.dropDown=function(e,n){this.options={hasSelected:!0,align:"right",simple:!1,defaultEvents:!0,maxHeight:100,template:{cls:".cnt",tpl:'

'},scroller:{scrollWidth:10},checkFormat:function(){},autosuggest:function(){}},this.options=t.extend(!0,{},this.options,n),this.content=this.options.content,this.selected=-1,this.element=e.data("dropdown",this),this.data={},this.init()},e.dropDown.prototype={init:function(){this.build(),this.update(),this.addEvents(),this.element.addClass("drop"),this.controlKeys={40:"up",38:"down",33:"pageup",34:"pagedown"},this.reservedKeys={35:"end",36:"home",37:"left",39:"right"}},build:function(){this.wrapper=this.element.wrap(t('')).parent().css({width:this.width-this.pad}),this.element.attr("wrap","hard"),this.wrapper.prepend(t('
 
')),this.wrapper.append(t('
 
'))),this.pad=parseInt(this.element.css("paddingLeft"))+parseInt(this.element.css("paddingRight")),this.element.css({width:this.width-2*this.pad,height:this.height-(this.wrapper.height()-this.height),overflow:"hidden",resize:"none"}),this.wrapper.css({width:this.width}),this.options.customScroll&&(this.cropScroll=this.element.wrap(t('
').css({overflow:"hidden"})).parent(),this.fakeContainer=t('
').css({position:"absolute",right:0,top:0,width:this.options.scroller.scrollWidth,height:this.areawrapper.height()}),this.cropScroll.css({width:this.width-this.options.scroller.scrollWidth}).append(this.fakeContainer),this.cropScroll.scrollLeft(0),this.fakeContent=this.fakeContainer.children().css({height:this.element[0].scrollHeight}),this.scroller=new e.scroller,this.options.scroller.size=this.wrapper.height()-(this.wrapper.height()-this.areawrapper.height())/2,this.scroller.init(this.fakeContainer,this.options.scroller))},e.textareaInput.prototype.update=function(){e.formElement.prototype.update.apply(this,arguments),this.options.autoSize?(this.element.css({height:"auto",overflow:"hidden"}),this.element.css({height:this.element[0].scrollHeight})):(this.options.customScroll&&(this.element[0].scrollHeight>this.element.height()?(this.fakeContent.css({height:this.element[0].scrollHeight}),this.element.css({width:this.width-this.pad+e.scrollWidth-this.options.scroller.scrollWidth,overflowY:"visible"})):(this.fakeContent.css({height:10}),this.element.css({width:this.width-this.pad-4})),this.scroller.update(this.element[0].scrollTop)),this.cropScroll.scrollLeft(0))},e.textareaInput.prototype.addEvents=function(){e.formElement.prototype.addEvents.apply(this,arguments);var t=this;this.scroller&&(this.scroller.onDrag=function(e){t.dragging=!0,t.element.scrollTop(e)}),this.element.bind("scroll."+this.className+", keydown."+this.className,function(){t.dragging?t.dragging=!1:t.update()})},e.fileInput=function(){e.formElement.apply(this,arguments)},e.fileInput.prototype=new e.formElement,e.fileInput.prototype.build=function(){e.buttonInput.prototype.build.apply(this,arguments),this.onlyButton=this.wrapper.hasClass("onlyButton"),this.onlyButton||(this.pathText=t('').prependTo(this.wrapper),this.buttonContainer=t('
').appendTo(this.wrapper),this.element.appendTo(this.buttonContainer),this.link.appendTo(this.buttonContainer),this.options.pathWidth&&this.pathText.css({width:this.options.pathWidth})),this.element.css({width:"auto",left:"auto",fontSize:50,lineHeight:"100%",height:"100%",top:0,right:0})},e.fileInput.prototype.addEvents=function(){if(e.buttonInput.prototype.addEvents.apply(this,arguments),!this.onlyButton){var t=this;this.pathText.bind("click."+this.className,function(){t.element[0].click()}),this.element.bind("change."+this.className,function(){var e=t.element.val();t.pathText.attr("title",e).html(e.split("\\").pop())})}},e.fileInput.prototype.update=function(){e.buttonInput.prototype.update.apply(this,arguments),this.element.trigger("change")},e.buttonInput=function(){e.formElement.apply(this,arguments)},e.buttonInput.prototype=new e.formElement,e.buttonInput.prototype.addEvents=function(){e.formElement.prototype.addEvents.apply(this,arguments);var n=this;"reset"===this.element[0].type&&this.element.bind("click."+this.className,function(e){n.element[0].form.reset(),t(n.element[0].form).find(":input").not("[type=hidden]").each(function(){t(this).trigger("refresh")}),e.preventDefault()})},e.buttonInput.prototype.build=function(){e.formElement.prototype.build.apply(this,arguments),this.link=t('').css({position:"static",zIndex:1}),this.element.css({opacity:0,position:"absolute",zIndex:2,width:"100%",height:"100%",top:0,left:0,border:0,padding:0,margin:0,overflow:"visible",outline:"none"}).after(this.link)},e.buttonInput.prototype.update=function(){e.formElement.prototype.update.apply(this,arguments),this.link.html(this.element.val()||this.element.html()||this.element.attr("title"))},e.scroller=function(){this.wrapper=null,this.options={axis:"y",wheel:40,scrollWidth:10,scroll:!0,lockscroll:!0,size:"auto",sizethumb:"auto",arrows:!0},this.scroll=null,this.position={start:0,now:0},this.mouse={}},e.scroller.prototype={init:function(n,i){var s=this;this.doc=t(document),this.wrapper=n.addClass("scroller fixed"),this.options=t.extend(!0,{},this.options,i),this.xaxis="x"===this.options.axis,this.wrapper.wrapInner('
'),this.viewport={obj:this.wrapper.children(".viewport")},this.viewport.obj.wrapInner('
'),this.content={obj:this.viewport.obj.children(".overview")},this.scrollBar={obj:t('
').css(this.xaxis?"height":"width",this.options.scrollWidth)},this.track={obj:t('
').appendTo(this.scrollBar.obj)},this.pane={obj:t('
').appendTo(this.track.obj)},this.paneend={obj:this.pane.obj.children(".end")},this.options.arrows&&(this.plus={obj:t('
').appendTo(this.scrollBar.obj)},this.minus={obj:t('
').prependTo(this.scrollBar.obj)}),this.wrapper.addClass(this.options.axis+"axis"),this.scrollBar.obj.addClass(this.options.axis+"axis"),e.ie7&&this.scrollBar.obj.addClass("ie7hack"),this.xaxis?(this.wrapper.append(this.scrollBar.obj),this.wHeight=this.wrapper.height(),this.sHeight=this.scrollBar.obj.outerHeight(!0)):this.wrapper.prepend(this.scrollBar.obj),this.parent=this.scrollBar.obj.parents(".opts, ."+e.settings.classPrefix+"Textarea, .dropDown"),this.scrollBar.pad=this.xaxis?this.scrollBar.obj.outerWidth()-this.scrollBar.obj.width():this.scrollBar.obj.outerHeight()-this.scrollBar.obj.height(),this.parent.length&&this.parent.find(".seltop, .selbottom, .areatop, .areabottom, .bottomHelper").each(function(){s.scrollBar.pad-=t(this).height()}),this.direction=this.xaxis?"left":"top",this.size=this.xaxis?"Width":"Height",this.options.arrows&&(this.plus.height=this.plus.obj.height(),this.minus.height=this.minus.obj.height(),this.options.size=("auto"===this.options.size?this.wrapper.outerHeight()-this.scrollBar.pad:this.options.size)-this.plus.height-this.minus.height+4,this.track.obj.css({marginTop:this.plus.obj.height()-2})),this.update(),this.addEvents()},update:function(e){void 0===e&&(e=this.scroll);var t=this.size.toLowerCase();this.viewport[this.options.axis]=this.viewport.obj[0]["offset"+this.size],this.xaxis&&this.viewport.obj.css({height:this.wHeight-this.sHeight}),this.content[this.options.axis]=this.content.obj[0]["scroll"+this.size],this.dif=this.content[this.options.axis]-this.viewport[this.options.axis],e>this.dif&&(e=this.dif),0>e&&(e=0),this.content.ratio=this.viewport[this.options.axis]/this.content[this.options.axis],this.wrapper.toggleClass("scrollbaroff",this.content.ratio>=1),this.track[this.options.axis]="auto"===this.options.size?this.viewport[this.options.axis]-this.scrollBar.pad:this.options.size,this.pane[this.options.axis]=Math.min(this.track[this.options.axis],Math.max(0,"auto"===this.options.sizethumb?this.track[this.options.axis]*this.content.ratio:this.options.sizethumb)),this.scrollBar.ratio="auto"===this.options.sizethumb?this.content[this.options.axis]/this.track[this.options.axis]:this.dif/(this.track[this.options.axis]-this.pane[this.options.axis]),this.scroll="relative"===e&&this.content.ratio<=1?Math.min(this.dif,Math.max(0,this.scroll)):0,this.scroll="bottom"===e&&this.content.ratio<=1?this.dif:isNaN(parseInt(e))?this.scroll:parseInt(e),this.pane.obj.css(this.direction,this.scroll/this.scrollBar.ratio),this.content.obj.css(this.direction,-this.scroll),this.mouse.start=this.pane.obj.offset()[this.direction],this.scrollBar.obj.css(t,this.options.arrows?this.track[this.options.axis]+this.minus.height-2:this.track[this.options.axis]),this.track.obj.css(t,this.track[this.options.axis]),this.pane.obj.css(t,this.pane[this.options.axis]),this.paneend.obj.css(t,this.pane[this.options.axis]-4)},holdScroll:function(e){var t=this;this.update(this.scroll+e),"function"==typeof this.onDrag&&this.onDrag(this.scroll),setTimeout(function(){t.mouse.down&&t.holdScroll(e)},50)},addEvents:function(){var n=this,i=this.pane.obj;this.options.arrows&&(i=this.plus.obj.add(this.minus.obj).bind("mousedown.scroller, touchstart.scroller",function(e){n.mouse.down=!0,n.holdScroll(t(this).hasClass("minus")?-20:20),e.preventDefault()}).add(i),e.doc.bind("mouseup.scroller, touchend.scroller",function(){n.mouse.down=!1})),i.bind("mouseenter.scroller",function(){t(this).addClass("hovered")}).bind("mouseleave.scroller",function(){t(this).removeClass("hovered down")}).bind("mousedown.scroller",function(){t(this).addClass("down")}).bind("mouseup.scroller",function(){t(this).removeClass("down")}),this.wrapper.bind("refresh.scroller",function(){n.update()}),this.pane.obj.bind("mousedown.scroller",function(e){n.start(e),e.preventDefault()}),this.pane.obj[0].ontouchstart=function(e){return e.preventDefault(),n.pane.obj.unbind("mousedown.scroller"),n.start(e.touches[0]),!1},this.track.obj.bind("mouseup.scroller",function(e){e.preventDefault(),n.drag(e)}),this.options.scroll&&(this.wrapper[0].addEventListener?(this.wrapper[0].addEventListener("DOMMouseScroll",function(e){n.wheel(e)},!1),this.wrapper[0].addEventListener("mousewheel",function(e){n.wheel(e)},!1)):this.wrapper[0].onmousewheel=function(e){n.wheel(e)})},start:function(e){var t=this,n=parseInt(this.pane.obj.css(this.direction));return this.mouse.start=this.xaxis?e.pageX:e.pageY,this.position.start="auto"===n?0:n,this.doc.bind("mousemove.scroller",function(e){t.drag(e),e.preventDefault()}),this.doc.bind("touchmove",function(e){t.doc.unbind("mousemove.scroller"),t.drag(e.touches[0])}),this.doc.bind("mouseup.scroller",function(e){t.end(e)}),this.pane.obj.bind("mouseup.scroller, click.scroller",function(e){t.end(e)}),this.doc.bind("touchend",function(e){t.end(e)}),!1},wheel:function(e){if(this.content.ratio<1){var n=e||window.event,i=n.wheelDelta?n.wheelDelta/120:-n.detail/3;this.scroll-=i*this.options.wheel,this.scroll=Math.min(this.dif,Math.max(0,this.scroll)),this.pane.obj.css(this.direction,this.scroll/this.scrollBar.ratio),this.content.obj.css(this.direction,-this.scroll),(this.options.lockscroll||this.scroll!==this.dif&&0!==this.scroll)&&(n=t.event.fix(n),n.preventDefault())}},end:function(){return this.doc.unbind("mousemove.scroller"),this.doc.unbind("mouseup.scroller"),this.doc.unbind("touchend"),this.doc.unbind("touchmove"),this.pane.obj.unbind("mouseup.scroller"),this.pane.obj.unbind("click.scroller"),!1},drag:function(e){this.content.ratio<1&&(this.position.now=Math.min(this.track[this.options.axis]-this.pane[this.options.axis],Math.max(0,this.position.start+((this.xaxis?e.pageX:e.pageY)-this.mouse.start))),this.scroll=this.position.now*this.scrollBar.ratio,this.content.obj.css(this.direction,-this.scroll),this.pane.obj.css(this.direction,this.position.now),"function"==typeof this.onDrag&&this.onDrag(this.scroll))}}}(window.beauty=window.beauty||{},jq172),function(e){kWin={version:"0.7.5",zindex:6e3,windows:[],dom:{win:e(window),doc:e(document),html:e("html"),body:null},modal:{layer:null,init:function(){null===this.layer&&(this.layer=e("#kModal"),0===this.layer.length&&(this.layer=e('
').css({zIndex:kWin.zindex,opacity:0,display:"none"}),kWin.dom.body=e("body"),kWin.dom.body.append(this.layer)))},hide:function(e){for(var t=this,n=0,i=0;in&&kWin.windows[i].zindex!=e&&(n=kWin.windows[i].zindex):kWin.windows.splice(i,1);n>0?this.layer.css({zIndex:n-1}):(this.layer.css({display:"block"}),this.layer.animate({opacity:0},{queue:!1,duration:500,complete:function(){t.layer.css({opacity:1,display:"none"})}}))},show:function(e){this.layer.is(":visible")?this.layer.css({zIndex:e?e:kWin.zindex}):this.layer.css({display:"block",opacity:0,zIndex:e?e:kWin.zindex}).animate({opacity:.5},{queue:!1,duration:500})}}},kWin.window=function(t){this.zindex=kWin.zindex+=2,this.settings={id:"Win"+this.zindex,title:!1,buttons:!1,content:"
 
",closeText:"Ablak bezárása",closeOnEsc:!0,closeOnLayerClick:!1,insideScroll:!0,modal:!0,draggable:!1,resizable:!1,width:"auto",height:"auto",minWidth:100,minHeight:50,maxWidth:1920,maxHeight:1080,fixedContainer:!1,minTop:15,left:"center",top:"center",dumbIE:e.browser.msie&&parseInt(e.browser.version,10)<=8,template:'
 
 
 
',beforeShow:function(){},afterClose:function(){}},e.extend(this.settings,t),this.contentIsObject="object"==typeof this.settings.content,this.content=this.contentIsObject?this.settings.content.show():e(this.settings.content),this.isVisible=!1,kWin.modal.init(),this.create(),this.buttons(),this.events(),kWin.windows.push(this)},kWin.window.prototype={events:function(){var e=this;this.close.click(function(){e.exit()}),this.settings.closeOnLayerClick&&kWin.modal.layer.bind("click",function(){e.exit()}),this.settings.closeOnEsc&&kWin.dom.doc.bind("keyup.kWindow",function(t){e.isVisible&&27==t.keyCode&&e.exit()}),this.settings.draggable?this.object.draggable({start:function(){e.zindex=kWin.zindex++,e.object.css({zIndex:e.zindex})},handle:".kWindowHeader",distance:5}):this.object.addClass("noDrag").css({top:-1e4,left:-1e4}),this.settings.resizable&&this.contentObject.resizable({maxHeight:this.settings.maxHeight,maxWidth:this.settings.maxWidth,minHeight:this.settings.minHeight,minWidth:this.settings.minWidth})},create:function(){this.object=e("#k"+this.id),this.openedWin=!0,0===this.object.length&&(this.object=e(this.settings.template),this.object.attr("id","k"+this.settings.id),this.openedWin=!1),this.object.css({opacity:0,position:"absolute"}),this.titleObject=this.object.find(".kWindowTitle"),this.contentObject=this.object.find(".kWindowContent"),this.container=this.object.find(".kWindowContentContainer"),this.toolbar=this.object.find(".kWindowToolBar"),this.cnt=this.object.find(".kWindowScroll"),this.close=this.object.find(".kWindowClose"),this.settings.title?this.titleObject.html(this.settings.title):(this.object.addClass("noTitle"),this.titleObject.empty()),this.cnt.empty().append(this.content),this.openedWin===!1&&kWin.modal.layer.after(this.object),this.settings.closeText&&this.close.append(""+this.settings.closeText+""),this.settings.closeImage&&this.close.append('exit'),this.settings.dumbIE&&this.object.addClass("dumbIE")},buttons:function(){if(this.settings.buttons){this.buttonContainer=this.object.find(".kWindowButtons").empty(),0===this.buttonContainer.length&&(this.buttonContainer=e('
'),this.contentObject.append(this.buttonContainer));var t=this;this.settings.buttons.length||(this.settings.buttons=[{value:"OK",click:function(){t.exit()}}]);for(var n=0;n"+this.settings.buttons[n].value+"");i.bind("click",this.settings.buttons[n].click),this.buttonContainer.append(i)}}else this.object.addClass("noButtons")},positions:function(){var e;this.object.css({clear:"both",position:"relative",display:this.settings.dumbIE?"inline":"inline-block"}),this.settings.dumbIE||this.object.css({width:"auto"}),this.height=this.settings.height,this.width=this.settings.width,this.contentObject.css({width:this.width,height:this.height}),"auto"==this.settings.width&&(this.width=this.cnt.outerWidth(!0),this.width=Math.max(this.width,this.settings.minWidth),this.width=Math.min(this.width,this.settings.maxWidth)),"auto"==this.settings.height&&(this.height=this.cnt.outerHeight(!0)+this.toolbar.outerHeight(!0),this.height=Math.max(this.height,this.settings.minHeight),this.height=Math.min(this.height,this.settings.maxHeight)),this.cnt.css({overflow:this.settings.insideScroll?"auto":"visible"}),this.object.css({position:"absolute"}),this.contentObject.css({width:this.width,height:"auto"==this.settings.height?"auto":this.height}),"center"==this.settings.left||"50%"==this.settings.left?(this.left="50%",this.object.css({marginLeft:-Math.round(this.object[0].offsetWidth/2)+kWin.dom.win.scrollLeft()})):this.left=this.settings.left,"center"==this.settings.top||"50%"==this.settings.top?(this.top="50%",this.object.css({marginTop:-Math.round(this.object[0].offsetHeight/2)+kWin.dom.win.scrollTop()})):"auto"===this.settings.top?(this.top=kWin.dom.win.scrollTop()+kWin.dom.win.height()/2-kWin.dom.body.offset().top,this.object.css({marginTop:-Math.round(this.object[0].offsetHeight/2)})):this.top=this.settings.top,"object"==typeof this.settings.horizontal&&(e=this.settings.horizontal.offset().left-kWin.dom.win.scrollLeft()+this.settings.horizontal.width()/2,"number"==typeof this.left?this.left+=e:this.left=e),"object"==typeof this.settings.vertical&&(e=this.settings.vertical.offset().top-kWin.dom.win.scrollTop()+this.settings.vertical.height()/2,"number"==typeof this.top?this.top+=e:this.top=e),this.object.css({left:this.left,top:this.top,width:this.container.outerWidth(),zIndex:this.zindex}),this.settings.minTop!==!1&&this.object.offset().topa;a++)for(s in r[a])o=r[a][s],r[a].hasOwnProperty(s)&&o!==t&&(n[s]=e.isPlainObject(o)?e.isPlainObject(n[s])?e.widget.extend({},n[s],o):e.widget.extend({},o):o);return n},e.widget.bridge=function(n,s){var o=s.prototype.widgetFullName;e.fn[n]=function(r){var a="string"==typeof r,l=i.call(arguments,1),c=this;return r=!a&&l.length?e.widget.extend.apply(null,[r].concat(l)):r,a?this.each(function(){var i,s=e.data(this,o);return s?e.isFunction(s[r])&&"_"!==r.charAt(0)?(i=s[r].apply(s,l),i!==s&&i!==t?(c=i&&i.jquery?c.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+r+"' for "+n+" widget instance"):e.error("cannot call methods on "+n+" prior to initialization; attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,o);t?t.option(r||{})._init():new s(r,this)}),c}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetName,this),e.data(i,this.widgetFullName,this),this._on(this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,i){var s,o,r,a=n;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof n)if(a={},s=n.split("."),n=s.shift(),s.length){for(o=a[n]=e.widget.extend({},this.options[n]),r=0;r'),i.attr("accept-charset",n.formAcceptCharset),s=e('').bind("load",function(){var t,o=e.isArray(n.paramName)?n.paramName:[n.paramName];s.unbind("load").bind("load",function(){var t;try{if(t=s.contents(),!t.length||!t[0].firstChild)throw Error()}catch(n){t=void 0}r(200,"success",{iframe:t}),e('').appendTo(i),i.remove()}),i.prop("target",s.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&e.each(n.formData,function(t,n){e('').prop("name",n.name).val(n.value).appendTo(i)}),n.fileInput&&n.fileInput.length&&"POST"===n.type&&(t=n.fileInput.clone(),n.fileInput.after(function(e){return t[e]}),n.paramName&&n.fileInput.each(function(t){e(this).prop("name",o[t]||n.paramName)}),i.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),i.submit(),t&&t.length&&n.fileInput.each(function(n,i){var s=e(t[n]);e(i).prop("name",s.prop("name")),s.replaceWith(i)})}),i.append(s).appendTo(document.body)},abort:function(){s&&s.unbind("load").prop("src","javascript".concat(":false;")),i&&i.remove()}}}}),e.ajaxSetup({converters:{"iframe text":function(t){return e(t[0].body).text()},"iframe json":function(t){return e.parseJSON(e(t[0].body).text())},"iframe html":function(t){return e(t[0].body).html()},"iframe script":function(t){return e.globalEval(e(t[0].body).text())}}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],e):e(window.jq172)}(function(e){e.support.xhrFileUpload=!(!window.XMLHttpRequestUpload||!window.FileReader),e.support.xhrFormDataFileUpload=!!window.FormData,e.widget("blueimp.fileupload",{options:{dropZone:e(document),pasteZone:e(document),fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,formData:function(e){return e.serializeArray()},add:function(e,t){t.submit()},processData:!1,contentType:!1,cache:!1},_refreshOptionsList:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_BitrateTimer:function(){this.timestamp=+new Date,this.bitrate=this.loaded=0,this.getBitrate=function(e,t,n){var i=e-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=1e3/i*(t-this.loaded)*8,this.loaded=t,this.timestamp=e),this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&e.support.xhrFileUpload||e.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return"function"==typeof t.formData?t.formData(t.form):e.isArray(t.formData)?t.formData:t.formData?(n=[],e.each(t.formData,function(e,t){n.push({name:e,value:t})}),n):[]},_getTotal:function(t){var n=0;return e.each(t,function(e,t){n+=t.size||1}),n},_onProgress:function(e,t){if(e.lengthComputable){var n,i,s=+new Date;t._time&&t.progressInterval&&s-t._time").prop("href",t.url).prop("host")!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e,"iframe")},_getParamName:function(t){var n=e(t.fileInput),i=t.paramName;return i?e.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var t=e(this),n=t.prop("name")||"files[]",t=(t.prop("files")||[1]).length;t;)i.push(n),t-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=e(t.fileInput.prop("form")),t.form.length||(t.form=e(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){return t=e.extend({},this.options,t),this._initFormSettings(t),this._initDataSettings(t),t},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(t,n,i){var s=e.Deferred(),o=s.promise();return n=n||this.options.context||o,!0===t?s.resolveWith(n,i):!1===t&&s.rejectWith(n,i),o.abort=s.promise,this._enhancePromise(o)},_getUploadedBytes:function(e){return(e=(e=(e=e.getResponseHeader("Range"))&&e.split("-"))&&1c)&&!t.data?n?!0:l>=a?(r.error="Uploaded bytes exceed file size",this._getXHRPromise(!1,t.context,[null,"error",r.error])):(s=function(){var n=e.extend({},t);n.blob=u.call(r,l,l+c),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+a,o._initXHRData(n),o._initProgressListener(n),i=(e.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,r,c){l=o._getUploadedBytes(c)||l+n.chunkSize,n.loaded||o._onProgress(e.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),t.uploadedBytes=n.uploadedBytes=l,a>l?s():d.resolveWith(n.context,[i,r,c])}).fail(function(e,t,i){d.rejectWith(n.context,[e,t,i])})},this._enhancePromise(h),h.abort=function(){return i.abort()},s(),h):!1},_beforeSend:function(e,t){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer),this._active+=1,this._loaded+=t.uploadedBytes||0,this._total+=this._getTotal(t.files)},_onDone:function(t,n,i,s){this._isXHRUpload(s)||this._onProgress(e.Event("progress",{lengthComputable:!0,loaded:1,total:1}),s),s.result=t,s.textStatus=n,s.jqXHR=i,this._trigger("done",null,s)},_onFail:function(e,t,n,i){i.jqXHR=e,i.textStatus=t,i.errorThrown=n,this._trigger("fail",null,i),i.recalculateProgress&&(this._loaded-=i.loaded||i.uploadedBytes||0,this._total-=i.total||this._getTotal(i.files))},_onAlways:function(e,t,n,i){this._active-=1,i.textStatus=t,n&&n.always?(i.jqXHR=n,i.result=e):(i.jqXHR=e,i.errorThrown=n),this._trigger("always",null,i),0===this._active&&(this._trigger("stop"),this._loaded=this._total=0,this._bitrateTimer=null)},_onSend:function(t,n){var i,s,o,r,a=this,l=a._getAJAXSettings(n),c=function(){return a._sending+=1,l._bitrateTimer=new a._BitrateTimer,i=i||((s||!1===a._trigger("send",t,l))&&a._getXHRPromise(!1,l.context,s)||a._chunkedUpload(l)||e.ajax(l)).done(function(e,t,n){a._onDone(e,t,n,l)}).fail(function(e,t,n){a._onFail(e,t,n,l)}).always(function(e,t,n){if(a._sending-=1,a._onAlways(e,t,n,l),l.limitConcurrentUploads&&l.limitConcurrentUploads>a._sending)for(e=a._slots.shift();e;){if(t=e.state?"pending"===e.state():!e.isRejected()){e.resolve();break}e=a._slots.shift()}})};return this._beforeSend(t,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(1").append(n)[0].reset(),t.after(n).detach(),e.cleanData(t.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,i){return i===t[0]?n[0]:i}),t[0]===this.element[0]&&(this.element=n)},_handleFileTreeEntry:function(t,n){var i,s=this,o=e.Deferred(),r=function(e){e&&!e.entry&&(e.entry=t),o.resolve([e])};return n=n||"",t.isFile?t._file?(t._file.relativePath=n,o.resolve(t._file)):t.file(function(e){e.relativePath=n,o.resolve(e)},r):t.isDirectory?(i=t.createReader(),i.readEntries(function(e){s._handleFileTreeEntries(e,n+t.name+"/").done(function(e){o.resolve(e)}).fail(r)},r)):o.resolve([]),o.promise()},_handleFileTreeEntries:function(t,n){var i=this;return e.when.apply(e,e.map(t,function(e){return i._handleFileTreeEntry(e,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){t=t||{};var n=t.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(e.map(n,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):e.Deferred().resolve(e.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){t=e(t);var n=t.prop("webkitEntries")||t.prop("entries");if(n&&n.length)return this._handleFileTreeEntries(n);if(n=e.makeArray(t.prop("files")),n.length)void 0===n[0].name&&n[0].fileName&&e.each(n,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(t=t.prop("value"),!t)return e.Deferred().resolve([]).promise();n=[{name:t.replace(/^.*\\/,"")}]}return e.Deferred().resolve(n).promise()},_getFileInputFiles:function(t){return t instanceof e&&1!==t.length?e.when.apply(e,e.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(t){var n=this,i={fileInput:e(t.target),form:e(t.target.form)};this._getFileInputFiles(i.fileInput).always(function(e){i.files=e,n.options.replaceFileInput&&n._replaceFileInput(i.fileInput),!1!==n._trigger("change",t,i)&&n._onAdd(t,i)})},_onPaste:function(t){var n=t.originalEvent.clipboardData,i={files:[]};return e.each(n&&n.items||[],function(e,t){var n=t.getAsFile&&t.getAsFile();n&&i.files.push(n)}),!1===this._trigger("paste",t,i)||!1===this._onAdd(t,i)?!1:void 0},_onDrop:function(e){var t=this,n=e.dataTransfer=e.originalEvent.dataTransfer,i={};n&&n.files&&n.files.length&&e.preventDefault(),this._getDroppedFiles(n).always(function(n){i.files=n,!1!==t._trigger("drop",e,i)&&t._onAdd(e,i)})},_onDragOver:function(t){var n=t.dataTransfer=t.originalEvent.dataTransfer;return!1===this._trigger("dragover",t)?!1:(n&&-1!==e.inArray("Files",n.types)&&(n.dropEffect="copy",t.preventDefault()),void 0)},_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop}),this._on(this.options.pasteZone,{paste:this._onPaste})),this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,n){var i=-1!==e.inArray(t,this._refreshOptionsList);i&&this._destroyEventHandlers(),this._super(t,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;void 0===t.fileInput?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof e||(t.fileInput=e(t.fileInput)),t.dropZone instanceof e||(t.dropZone=e(t.dropZone)),t.pasteZone instanceof e||(t.pasteZone=e(t.pasteZone))},_create:function(){e.extend(this.options,e(this.element[0].cloneNode(!1)).data()),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=this._loaded=this._total=0,this._initEventHandlers()},_destroy:function(){this._destroyEventHandlers()},add:function(t){var n=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,n._onAdd(null,t)}):(t.files=e.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var n,i,s=this,o=e.Deferred(),r=o.promise();return r.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),r)},this._getFileInputFiles(t.fileInput).always(function(e){i||(t.files=e,n=s._onSend(null,t).then(function(e,t,n){o.resolve(e,t,n)},function(e,t,n){o.reject(e,t,n)}))}),this._enhancePromise(r)}if(t.files=e.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery","load-image","canvas-to-blob","./jquery.fileupload"],e):e(window.jq172,window.loadImage)}(function(e,t){e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{process:[],add:function(t,n){e(this).fileupload("process",n).done(function(){n.submit()})}},processActions:{load:function(n,i){var s=this,o=n.files[n.index],r=e.Deferred();return window.HTMLCanvasElement&&window.HTMLCanvasElement.prototype.toBlob&&("number"!==e.type(i.maxFileSize)||o.size0&&i(e("#mt_cat_0 option:selected").text()),s.change(function(){i(e("#mt_cat_1 option:selected").text())}),e("#mt_cat_1 option:selected").length>0&&i(e("#mt_cat_1 option:selected").text())}function i(t){var n=/hiba|error/im,i=/v\u00E1s\u00E1rl\u00E1s|vasarlas|purchase|shopping|rendeles|rendel\u00E9s|order/im;n.test(t)&&($errorRadioInput=e("input:radio[name=noncategories]#hibaelharitas"),"undefined"!=typeof $errorRadioInput&&$errorRadioInput.length>0&&($errorRadioInput.click(),$errorRadioInput.click())),i.test(t)&&($purchaseRadioInput=e("input:radio[name=noncategories]#megrendeles-vasarlas"),"undefined"!=typeof $purchaseRadioInput&&$purchaseRadioInput.length>0&&($purchaseRadioInput.click(),$purchaseRadioInput.click()))}tudasbazisHelper=new t,e(function(){n()})}(jq172),!function(e){e.fn.extend({validate:function(n){var n=n||{};return e(this).each(function(){n.container=e(this),e(this).data("validator",new t(n))}),e(this)}});var t=function(t){var n=this;return this.userOptions=t,this.defaultOptions={formGroupSelector:".formGroup",formRowSelector:".formRow",inputBoxSelector:".inputBox",inputErrorsSelector:".inputErrors",groupErrorsSelector:".groupErrors",showOnErrorMessageSelector:".showOnError",formGroupErrorClass:"errorGroup",formRowErrorClass:"errorRow",inputBoxErrorClass:"errorBox",inputErrorClass:"error",showAllErrorMessage:!1,events:{validateOnBlur:"blur.validation",validateOnFocus:"focus.validation",validateOnKeyup:"keyup.validation",validateOnKeydown:"keydown.validation",validateOnKeypress:"keypress.validation",validateOnClick:"click.validation",validateOnMouseenter:"mouseenter.validation",validateOnMouseleave:"mouseleave.validation",validateOnMouseover:"mouseover.validation",validateOnMouseout:"mouseout.validation"},validHandler:function(){},invalidHandler:function(){},beforeValidation:function(){},afterValidation:function(){},requiredRuleName:"required",rules:{charlength:function(e){var t=e,n=t.val(),i=n.length,s=t.attr("class").match(/length-([0-9]+)(-?)([0-9]*)/),o={min:parseInt(s[1],10),max:parseInt(s[3],10)};return o.max?i>=o.min&&i<=o.max:i==o.min},dependency:function(t){var n=t,i=n.val(),s=i.length,o=n.attr("class").match(/depend-([a-zA-Z_\-0-9]+)/),r=o[1],a=e("#"+r);return!!a.val()&&!!s},number:function(e){var t=e,n=t.val(),i=/^([0-9])+$/;return i.test(n)},zip:function(e){var t=e,n=t.val(),i=/^([0-9]){4}$/;return i.test(n)},letters:function(e){var t=e,n=t.val(),i=/^([a-záéíóöőúüűA-ZÁÉÍÓÖŐÚÜŰ])+$/;return i.test(n)},name:function(e){var t=e,n=t.val(),i=/^([a-záéíóöőúüűA-ZÁÉÍÓÖŐÚÜŰ\-\.\s])+$/;return i.test(n)},email:function(e){var t=e,n=t.val(),i=/^[\w-_\.+]*[\w-_\.]\@([\w]+[\.-])+[\w]+[\w]$/;return i.test(n)},birthdate:function(e){var t=e.attr("class").match(/age-([0-9]{1,2})-([0-9]{1,2})/),i={min:parseInt(t[1],10),max:parseInt(t[2],10)},s=new Date,o={year:s.getFullYear(),month:s.getMonth(),day:s.getDate(),hours:s.getHours(),minutes:s.getMinutes(),seconds:s.getSeconds(),milliseconds:s.getMilliseconds()},r=e.parents(n.option.formRowSelector),a=r.find('select[name*="year"]'),l=r.find('select[name*="month"]'),c=r.find('select[name*="day"]'),u={year:parseInt(a.find("option:selected").attr("value"),10),month:parseInt(l.find("option:selected").attr("value"),10)-1,day:parseInt(c.find("option:selected").attr("value"),10),hours:s.getHours(),minutes:s.getMinutes(),seconds:s.getSeconds(),milliseconds:s.getMilliseconds()},d=new Date(u.year,u.month,u.day,u.hours,u.minutes,u.seconds,u.milliseconds);return date={min:new Date(o.year-i.min,o.month,o.day,o.hours,o.minutes,o.seconds,o.milliseconds),max:new Date(o.year-i.max,o.month,o.day,o.hours,o.minutes,o.seconds,o.milliseconds)},d.getTime()<=date.min.getTime()&&d.getTime()>=date.max.getTime()}}},this.showErrors=function(){this.inputs().each(function(){var t=e(this),i=t.attr("class"),s=void 0!==i?i.split(" "):[],o=t.parents(n.option.inputBoxSelector).last(),r=o.find(n.option.inputErrorsSelector).hide(),a=r.find(n.option.showOnErrorMessageSelector).hide(),l=o.parents(n.option.formRowSelector).last(),c=l.parents(n.option.formGroupSelector).last();if(t.hasClass(n.option.inputErrorClass)){var u=[];o.addClass(n.option.inputBoxErrorClass),l.addClass(n.option.formRowErrorClass),c.addClass(n.option.formGroupErrorClass);for(var d=0;d-1&&u.push(s[d].split("-failed")[0]);e.each(n.option.showAllErrorMessage?u:[u[0]],function(i,s){var o=a.filter("."+s);if(o.length){if("dependency"==s){var l=t.attr("class").match(/depend-([a-zA-Z_\-0-9]+)/),c=l[1],u=e("#"+c);u.addClass(n.option.inputErrorClass).parents(n.option.inputBoxSelector).addClass(n.option.inputBoxErrorClass)}r.show(),o.show()}})}else o.removeClass(n.option.inputBoxErrorClass),l.find("."+n.option.inputErrorClass).length||l.removeClass(n.option.formRowErrorClass)}),this.option.container.find(n.option.formGroupSelector).each(function(){var t=e(this),i=t.find("."+n.option.inputErrorClass),s=t.find(n.option.inputErrorsSelector+" li:visible"),o=t.find(n.option.groupErrorsSelector);o.length?t.hasClass("collectErrors")&&o.empty():o=e('