/gi,s=/<([\w:]+)/,l=/<|?\w+;/,d={option:[1,""],thead:[1,"
"],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};return function(t,e){var i,n,o,r=(e=e||document).createDocumentFragment();if(l.test(t)){for(i=r.appendChild(e.createElement("div")),n=(s.exec(t)||["",""])[1].toLowerCase(),i.innerHTML=(n=d[n]||d._default)[1]+t.replace(a,"<$1>$2>")+n[2],o=n[0];o--;)i=i.lastChild;for(r.removeChild(r.firstChild);i.firstChild;)r.appendChild(i.firstChild)}else r.appendChild(e.createTextNode(t));return r}}(),ioValidateValidator=function(t){this.settings=t,this.value_type=null};ioValidateValidator.prototype={Validate:function(){alert("Validate function not defined")}};var ioValidateDefinition=function(t){for(var e in t)this[e]=t[e]};ioValidateDefinition.prototype={UpdateSettings:function(t){this.settings=t}};var ioValidateValidator_email=function(t){ioValidateValidator.call(this,t)};extend(ioValidateValidator_email,ioValidateValidator),ioValidateValidator_email.prototype.Validate=function(t){var e=!0;return e=""!=t&&!t.match(/^\S+@\S+$$/i)?!1:e};var ioValidateValidator_equal=function(t){ioValidateValidator.call(this,t)};extend(ioValidateValidator_equal,ioValidateValidator),ioValidateValidator_equal.prototype.Validate=function(t,e){return void 0!==e[this.settings]&&t==e[this.settings]};var ioValidateValidator_filesize=function(t){ioValidateValidator.call(this,t)};extend(ioValidateValidator_filesize,ioValidateValidator),ioValidateValidator_filesize.prototype.Validate=function(t,e){var i=!0;if(null===t||"string"==typeof t)return i;var n=this.settings.match(/^(\d+)(.*)$/i);if(n){var o=+n[1],r=n[2];switch(r){case"B":break;case"KB":o*=1024;break;case"MB":o*=Math.pow(1024,2);break;case"GB":o*=Math.pow(1024,3);break;case"TB":o*=Math.pow(1024,4);break;default:console.log("Invalid file size unit ["+r+"]")}for(var a=0;ae[this.settings]?!1:i};var ioValidateValidator_max=function(t){ioValidateValidator.call(this,t),this.value=+t};extend(ioValidateValidator_max,ioValidateValidator),ioValidateValidator_max.prototype.Validate=function(t,e){return"date"!==this.value_type?"number"!=typeof t||t<=this.value:null===t||t<=new Date(this.settings)};var ioValidateValidator_maxlength=function(t){ioValidateValidator.call(this,t)};extend(ioValidateValidator_maxlength,ioValidateValidator),ioValidateValidator_maxlength.prototype.Validate=function(t,e){return t.toString().length<=parseInt(this.settings)};var ioValidateValidator_min=function(t){ioValidateValidator.call(this,t),this.value=+t};extend(ioValidateValidator_min,ioValidateValidator),ioValidateValidator_min.prototype.Validate=function(t,e){return"date"!==this.value_type?"number"!=typeof t||t>=this.value:null===t||t>=new Date(this.settings)};var ioValidateValidator_number=function(t){ioValidateValidator.call(this,t)};extend(ioValidateValidator_number,ioValidateValidator),ioValidateValidator_number.prototype.Validate=function(t){var e=!0;return e=0 *");p.style.display="block";for(var f=0;f *"),f=0;f')[0],$(this.form_element).append(t),this.recaptcha_id=grecaptcha.render(t,{sitekey:this.site_key,callback:this.onValidate.bind(this),"expired-callback":this.onExpired.bind(this),"error-callback":this.onError.bind(this)}),$(this.form_element).find("[type=submit]").each(function(){null!==this.getAttribute("disabled")&&this.removeAttribute("disabled","")}),$(this.form_element).trigger("recaptcha:initialised")):recaptcha_callbacks.push(this.Initialise.bind(this)))},Validate:function(){this.form.SetValue("recaptcha_id",""),grecaptcha.reset(this.recaptcha_id),grecaptcha.execute(this.recaptcha_id),this.popup_iframe=!1,this.validating=!0,this.popup_interval=setInterval(function(){var t=$('iframe[src*="google.com/recaptcha/api2/bframe"]');if(0'),this.object.addClass("has-progress").append(this.progress)),this.progress.css({width:t.percent+"%"})},Reset:function(){for(var t in clearTimeout(this.timer),this.GetAttributes())void 0!==this.attributes[t]&&"disabled"!=t?this.element.setAttribute(t,this.attributes[t]):this.element.removeAttribute(t);this.SetText(this.original_text)},GetText:function(){return"input"==this.element.nodeName.toLowerCase()?this.object[0].value:this.object[0].innerText},SetText:function(t){"input"==this.element.nodeName.toLowerCase()?this.object[0].value=t:this.object[0].innerText=t},ResetAttributes:function(){this.attributes=this.GetAttributes()},GetAttributes:function(){var t={},e=this.element.attributes;for(index in e)t[e[index].name]=e[index].value;return t}},Scrollable=function(t){this.element=t,this.items=$(this.element).find("> *"),0!=this.items.length&&(this.pos={top:0,left:0,x:0,y:0},t.addEventListener("mousedown",this.MouseDownHandler.bind(this)),t.addEventListener("touchstart",this.PointerDownHandler.bind(this)),this.move_handler=this.MouseMoveHandler.bind(this),this.up_handler=this.MouseUpHandler.bind(this),this.pointer_up_handler=this.MouseUpHandler.bind(this),this.element.style.setProperty("--scrollable-columns",$(this.element).find("> *").length),this.element.scrollTo(0,0),$(this.element).on("scrollable.go-next",this.GoNext.bind(this)),$(this.element).on("scrollable.go-previous",this.GoPrevious.bind(this)),this.element.scroll(0,0),t={root:this.element,rootMargin:"0px",threshold:1},(t=new IntersectionObserver(this.UpdateButtons.bind(this),t)).observe(this.items[0]),t.observe(this.items[this.items.length-1]),this.ResetCurrent())},Scrollable.prototype={current:0,MouseDownHandler:function(t){this.element.style.cursor="grabbing",this.element.style.userSelect="none",$(this.element).addClass("--grabbing"),this.pos={left:this.element.scrollLeft,top:this.element.scrollTop,x:t.clientX,y:t.clientY},document.addEventListener("mousemove",this.move_handler),document.addEventListener("mouseup",this.up_handler),document.addEventListener("touchend",this.up_handler)},MouseMoveHandler:function(t){var e=t.clientX-this.pos.x,t=t.clientY-this.pos.y;this.element.scrollTop=this.pos.top-t,this.element.scrollLeft=this.pos.left-e},MouseUpHandler:function(){return this.element.style.cursor="grab",this.element.style.removeProperty("user-select"),document.removeEventListener("mousemove",this.move_handler),document.removeEventListener("mouseup",this.up_handler),$(this.element).removeClass("--grabbing"),this.element.scroll(),this.ResetCurrent(),!0},PointerDownHandler:function(t){document.addEventListener("touchend",this.pointer_up_handler)},PointerUpHandler:function(){document.removeEventListener("touchend",this.pointer_up_handler),this.ResetCurrent()},ResetCurrent:function(){for(var t=0,e=!1,i=0;in)&&(e=n,t=i)}this.current=t},UpdateButtons:function(t){var e=!1,i=!1;this.element.scrollWidth<=this.element.offsetWidth?$(this.element).trigger("scrollable.cannot-scroll"):(t[0].target==this.items[0]&&(t[0].isIntersecting?($(this.element).trigger("scrollable.is-first"),e=!0):$(this.element).trigger("scrollable.is-not-first")),t[0].target==this.items[this.items.length-1]&&(t[0].isIntersecting?($(this.element).trigger("scrollable.is-last"),i=!0):$(this.element).trigger("scrollable.is-not-last")),e&&i?$(this.element).trigger("scrollable.cannot-scroll"):$(this.element).trigger("scrollable.can-scroll"))},GoNext:function(){if(this.element.scrollLeft+this.element.offsetWidth<=this.element.scrollWidth){for(var t=this.items[this.items.length-1],e=this.items.length-1;0<=e&&this.items[e].offsetLeft>=this.element.scrollWidth-this.element.offsetWidth;e--)t=this.items[e];t&&this.current<$(t).index()&&this.current++,this.Go()}},GoPrevious:function(){0');$(s).insertBefore(t),this.b(s.find(".ioselect-button-close")[0],"click",this.HideDropdown.bind(this)),$(this.e[0].parentNode),this.c=$(s)[0],this.d=$(this.c).find(".ioselect-dropdown")[0],null!=(s=this.e[0].getAttribute("data-ioselect-dropdown-class"))&&$(this.d).addClass(s),this.list=$(this.d).find("ul")[0],this.search=$(this.d).find("input[type=text]")[0],this.d_built=this.current_selected=!1,this.select=$(this.c).find(".ioselect-select")[0],$(document.body).append(this.d),this.mask=$('')[0],this.filter="",this.mutation_listener=this.SelectMutated.bind(this),this.mutation_observer=!1,"undefined"!=typeof MutationObserver&&(this.mutation_observer=new MutationObserver(this.mutation_listener),this.mutation_observer.observe(this.e[0],{childList:!0,attributes:!0})),this.b(this.e.closest("form"),"reset",this.Reset.bind(this)),this.b($(this.d),"click",this.ClickOption.bind(this)),this.b($(this.select),"click",this.ClickSelect.bind(this)),this.b(this.e,"change",this.Update.bind(this)),this.search_timeout=null,this.UpdateSelect(),$(this.e).trigger("ready")}return t.prototype={on:function(t,i){this.b(this.e,t,function(t){var e;void 0!==t.detail&&null!==t.detail&&$.isArray(t.detail.__args)?((e=[t]).push.apply(e,t.detail.__args),i.apply(null,e)):i.apply(i,arguments)})},off:function(t,e){this.u(this.e,t,e)},b:function(t,e,i){this.l.push({element:$(t)[0],event:e,func:i}),$(t).on(e,i)},u:function(t,e,i){t=$(t)[0];for(var s=[],r=0;r=this.o.mobile_breakpoint&&document.documentElement.clientHeight>=this.o.mobile_breakpoint_vertical?(this.o.dropdown_match_select_width&&(this.d.style.width=this.c.getBoundingClientRect().width+"px"),this.is_mobile=!1,$([this.d,this.c,this.mask]).removeClass("ioselect-mobile")):(this.d.style.width="",this.is_mobile=!0,$([this.d,this.c,this.mask]).addClass("ioselect-mobile")),this.SetDropdownPosition()},Reset:function(){setTimeout(function(){this.Update()}.bind(this),0)},ClickSelect:function(t){$(this.c).hasClass("ioselect-disabled")||($(this.c).hasClass("ioselect-open")?this.HideDropdown():this.ShowDropdown())},ShowDropdown:function(t){this.d_built||this.BuildDropdown(),this.current_selected=!1,this.b(window,"resize",this.Resize.bind(this)),viewportmeta=$('meta[name="viewport"]')[0],this.current_meta=viewportmeta.content.split(",");for(var e=[],i=0;i=this.list.querySelectorAll("li").length)return;$(this.list).find("li:nth-child("+(this.current_selected+1).toString()+")").removeClass("ioselect-current"),this.current_selected++}else{if(!1===this.current_selected||0===this.current_selected)return;$(this.list).find("li:nth-child("+(this.current_selected+1).toString()+")").removeClass("ioselect-current"),this.current_selected--}t=$(this.list).find("li:nth-child("+(this.current_selected+1).toString()+")")[0];$(t).addClass("ioselect-current"),t.offsetTop-t.parentNode.scrollTop<0?t.parentNode.scrollTop=t.offsetTop:t.offsetTop+t.offsetHeight>this.list.scrollTop+this.list.offsetHeight&&(t.parentNode.scrollTop=t.offsetTop+t.offsetHeight-this.list.offsetHeight)}13==e&&!1!==this.current_selected&&$(this.list).find("li:nth-child("+(this.current_selected+1).toString()+")")[0].click()},ClickOption:function(t){if(t.stopPropagation(),!(!this.is_multiple&&$(t.target).hasClass("ioselect-selected")||$(t.target).hasClass("ioselect-disabled")||"INPUT"==t.target.tagName)){var e=$(t.target).closest(".ioselect-option,.ioselect-optgroup");if(0!=e.length)if(e.hasClass("ioselect-optgroup"))$(this.e).trigger("optgroup-click",[e[0],"asd"]);else{var i=e[0].getAttribute("data-value");if(this.is_multiple){if(0==i.length)return;"[object Array]"!==$.isArray(i)&&(i=[i]);for(var s=0;s'+(""!=n.text?n.text:" ")+""):(e+=''+n.innerText+"",i++)}this.list.innerHTML=e,this.d_built=!0,this.list.scrollTop=0},GetDropdown:function(){return this.d},ApplySearchFilter:function(t){return this.o.search_in_text?-1!==t.toLowerCase().indexOf(this.filter.toLowerCase()):0===t.toLowerCase().indexOf(this.filter.toLowerCase())},Update:function(){this.d_built=!1,this.UpdateSelect()},UpdateSelect:function(){var t=this.e[0].querySelectorAll("option:checked");if($(this.select).removeClass("ioselect-placeholder"),this.is_multiple)if(0'+this.o.value_format_function(t[i].text,t[i].value,this)+"");this.select.innerHTML=e;for(var s=$(this.select).find(".ioselect-selected-item"),i=0;i=e[i];)i+=1;return i}function i(t,e,i){if(i>=t.slice(-1)[0])return 100;var s=c(i,t),r=t[s-1],n=t[s],t=e[s-1],s=e[s];return t+(i=i,l(n=[r,n],n[0]<0?i+Math.abs(n[0]):i-n[0])/a(t,s))}function s(t,e,i,s){if(100===s)return s;var r=c(s,t),n=t[r-1],o=t[r];return i?(o-n)/2= 2) required for mode 'count'.");var s=e-1,r=100/s;for(e=[];s--;)e[s]=s*r;e.push(100),t="positions"}return"positions"===t?e.map(function(t){return v.fromStepping(i?v.getStep(t):t)}):"values"===t?i?e.map(function(t){return v.fromStepping(v.getStep(v.toStepping(t)))}):e:void 0}(e,t.values||!1,t.stepped||!1),r=(d=i,h=e,u=r,m={},e=v.xVal[0],r=v.xVal[v.xVal.length-1],p=f=!1,b=0,(u=u.slice().sort(function(t,e){return t-e}).filter(function(t){return!this[t]&&(this[t]=!0)},{}))[0]!==e&&(u.unshift(e),f=!0),u[u.length-1]!==r&&(u.push(r),p=!0),u.forEach(function(t,e){var i,s,r,n,o,a,t=t,l=u[e+1],c=(c="steps"===h?v.xNumSteps[e]:c)||l-t;if(!1!==t&&void 0!==l)for(c=Math.max(c,1e-7),i=t;i<=l;i=+(i+c).toFixed(7)){for(a=(n=(r=v.toStepping(i))-b)/(o=Math.round(n/d)),s=1;s<=o;s+=1)m[(b+s*a).toFixed(5)]=["x",0];n=-1i.stepAfter.startValue&&(r=i.stepAfter.startValue-s),e=s>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&s-i.stepBefore.highestStep,100===t?r=null:0===t&&(e=null);t=v.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(t))),[e=null!==e&&!1!==e?Number(e.toFixed(t)):e,r]})},on:M,off:function(t){var s=t&&t.split(".")[0],r=s&&t.substring(s.length);Object.keys(S).forEach(function(t){var e=t.split(".")[0],i=t.substring(e.length);s&&s!==e||r&&r!==i||delete S[t]})},get:J,set:W,reset:function(t){W(h.start,t)},__moveHandles:function(t,e,i){B(t,e,f,i)},options:n,updateOptions:function(e,t){var i=J(),s=["margin","limit","padding","range","animate","snap","step","format"];s.forEach(function(t){void 0!==e[t]&&(n[t]=e[t])});var r=st(n);s.forEach(function(t){void 0!==e[t]&&(h[t]=r[t])}),v=r.spectrum,h.margin=r.margin,h.limit=r.limit,h.padding=r.padding,h.pips&&A(h.pips),f=[],W(e.start||i,t)},target:g,removePips:F,pips:A},h.pips&&A(h.pips),h.tooltips&&(s=a.map(e),M("update",function(t,e,i){s[e]&&(t=t[e],!0!==h.tooltips[e]&&(t=h.tooltips[e].to(i[e])),s[e].innerHTML=t)})),M("update",function(t,e,n,i,o){p.forEach(function(t){var e=a[t],i=P(f,t,0,!0,!0,!0),s=P(f,t,100,!0,!0,!0),r=o[t],t=h.ariaFormat.to(n[t]);e.children[0].setAttribute("aria-valuemin",i.toFixed(1)),e.children[0].setAttribute("aria-valuemax",s.toFixed(1)),e.children[0].setAttribute("aria-valuenow",r.toFixed(1)),e.children[0].setAttribute("aria-valuetext",t)})}),o}return{version:K,create:function(t,e){if(!t||!t.nodeName)throw new Error("noUiSlider ("+K+"): create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider ("+K+"): Slider was already initialized.");return e=R(t,st(e),e),t.noUiSlider=e}}}),$(function(){var t;0<$("[data-share]").length&&void 0===navigator.share&&((t=document.createElement("script")).type="text/javascript",t.src="https://unpkg.com/share-api-polyfill/dist/share-min.js",document.getElementsByTagName("head")[0].appendChild(t));for(var e=$("[data-share]"),i=0;i