(function($){
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("aos"),require("jquery"),require("jquery-countdown"),require("scrollmonitor"),require("flickity"),require("ion-rangeslider"),require("isotope-layout"),require("jarallax"),require("plyr"),require("prismjs"),require("smooth-scroll"),require("twitter-fetcher"),require("typed.js")):"function"==typeof define&&define.amd?define(["exports","aos","jquery","jquery-countdown","scrollmonitor","flickity","ion-rangeslider","isotope-layout","jarallax","plyr","prismjs","smooth-scroll","twitter-fetcher","typed.js"],e):e((t=t||self).theme={},t.AOS,t.jQuery,null,t.scrollMonitor,t.Flickity,null,t.Isotope,t.jarallax,t.Plyr,t.Prism,t.SmoothScroll,t.twitterFetcher,t.Typed)}(this,function(t,e,C,i,b,E,n,V,r,a,o,s,A,l){"use strict";var u;function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function W(t,e,i){return e&&c(t.prototype,e),i&&c(t,i),t}e=e&&e.hasOwnProperty("default")?e.default:e,C=C&&C.hasOwnProperty("default")?C.default:C,b=b&&b.hasOwnProperty("default")?b.default:b,E=E&&E.hasOwnProperty("default")?E.default:E,V=V&&V.hasOwnProperty("default")?V.default:V,r=r&&r.hasOwnProperty("default")?r.default:r,a=a&&a.hasOwnProperty("default")?a.default:a,o=o&&o.hasOwnProperty("default")?o.default:o,s=s&&s.hasOwnProperty("default")?s.default:s,A=A&&A.hasOwnProperty("default")?A.default:A,l=l&&l.hasOwnProperty("default")?l.default:l,e.init({once:!0}),u=C,"objectFit"in document.documentElement.style==0&&u(".bg-image").each(function(){var t=u(this),e=t.attr("src"),i=t.get(0).classList;t.before(u('<div class="'+i+'" style="background: url('+e+'); background-size: cover; background-position: 50% 50%;"></div>')),t.remove()});var h=function(n){if("function"!=typeof n.fn.countdown)throw new Error("mrCountdown requires jquery.countdown.js (https://github.com/hilios/jQuery.countdown/)");var t="mrCountdown",r="mr.countdown",e=n.fn[t],i={LOAD_DATA_API:"load.mr.countdown.data-api"},a="days",o="Timer Done",s="%Y",l="%m",u="%w",c="%D",h="%H",d="%M",f="%S",m="%!Y:Year,Years;",p="%!m:Month,Months;",g="%!w:Week,Weeks;",y="%!d:Day,Days;",v="%!H:Hour,Hours;",w="%!M:Minute,Minutes;",b="%!S:Second,Seconds;",E="d-none",A="[data-countdown-date]",S="[data-active-state]",T="[data-elapsed-state]",k="data-countdown-date",I="data-days-text",C="data-date-format",V="data-date-fallback",D="[data-years]",F="[data-months]",P="[data-weeks]",O="[data-days]",x="[data-hours]",L="[data-minutes]",j="[data-seconds]",R="[data-years-label]",_="[data-months-label]",M="[data-weeks-label]",N="[data-days-label]",q="[data-hours-label]",H="[data-minutes-label]",Q="[data-seconds-label]",B="format",z="detailed",U=function(){function i(t){this.element=t;var e=n(t);this.date=e.attr(k),this.daysText=e.attr(I)||a,this.countdownText="%D "+this.daysText+" %H:%M:%S",this.dateFormat=e.attr(C)||this.countdownText,this.fallback=e.attr(V)||o,this.detailed=null!==this.element.getAttribute("data-"+z),this.detailed&&(this.years={show:e.find(D).length,element:e.find(D),format:e.find(D).data(B)||s,label:{show:e.find(R).length,element:e.find(R),format:e.find(R).data(B)||m}},this.months={show:e.find(F).length,element:e.find(F),format:e.find(F).data(B)||l,label:{show:e.find(_).length,element:e.find(_),format:e.find(_).data(B)||p}},this.weeks={show:e.find(P).length,element:e.find(P),format:e.find(P).data(B)||u,label:{show:e.find(M).length,element:e.find(M),format:e.find(M).data(B)||g}},this.days={show:e.find(O).length,element:e.find(O),format:e.find(O).data(B)||c,label:{show:e.find(N).length,element:e.find(N),format:e.find(N).data(B)||y}},this.hours={show:e.find(x).length,element:e.find(x),format:e.find(x).data(B)||h,label:{show:e.find(q).length,element:e.find(q),format:e.find(q).data(B)||v}},this.minutes={show:e.find(L).length,element:e.find(L),format:e.find(L).data(B)||d,label:{show:e.find(H).length,element:e.find(H),format:e.find(H).data(B)||w}},this.seconds={show:e.find(j).length,element:e.find(j),format:e.find(j).data(B)||f,label:{show:e.find(Q).length,element:e.find(Q),format:e.find(Q).data(B)||b}}),this.initCountdown()}return i.prototype.initCountdown=function(){var e=this,i=n(this.element);this.detailed?i.countdown(this.date,function(t){t.elapsed?(i.find(T).removeClass(E),i.find(S).addClass(E)):(e.years.show&&e.years.element.text(t.strftime(e.years.format)),e.years.label.show&&e.years.label.element.text(t.strftime(e.years.label.format)),e.months.show&&e.months.element.text(t.strftime(e.months.format)),e.months.label.show&&e.months.label.element.text(t.strftime(e.months.label.format)),e.weeks.show&&e.weeks.element.text(t.strftime(e.weeks.format)),e.weeks.label.show&&e.weeks.label.element.text(t.strftime(e.weeks.label.format)),e.days.show&&e.days.element.text(t.strftime(e.days.format)),e.days.label.show&&e.days.label.element.text(t.strftime(e.days.label.format)),e.hours.show&&e.hours.element.text(t.strftime(e.hours.format)),e.hours.label.show&&e.hours.label.element.text(t.strftime(e.hours.label.format)),e.minutes.show&&e.minutes.element.text(t.strftime(e.minutes.format)),e.minutes.label.show&&e.minutes.label.element.text(t.strftime(e.minutes.label.format)),e.seconds.show&&e.seconds.element.text(t.strftime(e.seconds.format)),e.seconds.label.show&&e.seconds.label.element.text(t.strftime(e.seconds.label.format)))}):n(this.element).countdown(this.date,function(t){t.elapsed?i.text(e.fallback):i.text(t.strftime(e.dateFormat))})},i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),i}();return n(window).on(i.LOAD_DATA_API,function(){for(var t=n.makeArray(n(A)),e=t.length;e--;){var i=n(t[e]);U.jQueryInterface.call(i,i.data())}}),n.fn[t]=U.jQueryInterface,n.fn[t].Constructor=U,n.fn[t].noConflict=function(){return n.fn[t]=e,U.jQueryInterface},U}(C),d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var f,m,p,g,y,v,w,S,T,k,I,D,F,P,O,x,L,j,R,_,M,N,q,H=(function(t,e){var n=d&&d.__assign||function(){return(n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,i){var u=this;this.target=t,this.endVal=e,this.options=i,this.version="2.0.2",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:""},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.count=function(t){u.startTime||(u.startTime=t);var e=t-u.startTime;u.remaining=u.duration-e,u.useEasing?u.countDown?u.frameVal=u.startVal-u.easingFn(e,0,u.startVal-u.endVal,u.duration):u.frameVal=u.easingFn(e,u.startVal,u.endVal-u.startVal,u.duration):u.countDown?u.frameVal=u.startVal-(u.startVal-u.endVal)*(e/u.duration):u.frameVal=u.startVal+(u.endVal-u.startVal)*(e/u.duration),u.countDown?u.frameVal=u.frameVal<u.endVal?u.endVal:u.frameVal:u.frameVal=u.frameVal>u.endVal?u.endVal:u.frameVal,u.frameVal=Math.round(u.frameVal*u.decimalMult)/u.decimalMult,u.printValue(u.frameVal),e<u.duration?u.rAF=requestAnimationFrame(u.count):null!==u.finalEndVal?u.update(u.finalEndVal):u.callback&&u.callback()},this.formatNumber=function(t){var e,i,n,r,a,o=t<0?"-":"";if(e=Math.abs(t).toFixed(u.options.decimalPlaces),n=(i=(e+="").split("."))[0],r=1<i.length?u.options.decimal+i[1]:"",u.options.useGrouping){a="";for(var s=0,l=n.length;s<l;++s)0!==s&&s%3==0&&(a=u.options.separator+a),a=n[l-s-1]+a;n=a}return u.options.numerals&&u.options.numerals.length&&(n=n.replace(/[0-9]/g,function(t){return u.options.numerals[+t]}),r=r.replace(/[0-9]/g,function(t){return u.options.numerals[+t]})),o+u.options.prefix+n+r+u.options.suffix},this.easeOutExpo=function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e},this.options=n({},this.defaults,i),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(e),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.decimalMult=Math.pow(10,this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof t?document.getElementById(t):t,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined"}return t.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var e=t-this.startVal;if(Math.abs(e)>this.options.smartEasingThreshold){this.finalEndVal=t;var i=this.countDown?1:-1;this.endVal=t+i*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(this.callback=t,0<this.duration?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal||this.resetDuration(),this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var e=this.formattingFn(t);"INPUT"===this.el.tagName?this.el.value=e:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=e:this.el.innerHTML=e},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var e=Number(t);return this.ensureNumber(e)?e:(this.error="[CountUp] invalid start or end value: "+t,null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}();e.CountUp=i}(f={exports:{}},f.exports),f.exports),Q=(m=H)&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m,B=(H.CountUp,function(n){if(void 0===b)throw new Error("mrCountup requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var t="mrCountup",r="mr.countup",e="."+r,i=n.fn[t],a="start",o="end",s="duration",l="grouping",u="separator",c="decimal-character",h="decimal-places",d="prefix",f="suffix",m="easing",p={LOAD_DATA_API:"load"+e+".data-api",RESIZE:"resize"+e},g="[data-countup]",y=function(){function i(t){var e=n(t);this.start=parseFloat(e.data(a),10)||0,this.end=parseFloat(e.data(o),10)||parseFloat(e.text(),10),this.duration=parseFloat(e.data(s),10)||2.5,this.grouping=!0===e.data(l)||!1,this.separator=e.data(u)||",",this.decimalCharacter=e.data(c)||".",this.decimalPlaces=parseInt(e.data(h),10)||0,this.prefix=e.data(d)||"",this.suffix=e.data(f)||"";var i=e.data(m);this.easing=!1!==i||i,this.element=t,this.initWatcher(t),this.startCounting()}var t=i.prototype;return t.initWatcher=function(t){var e=this;this.CountUp=new Q.CountUp(t,this.end,{startVal:this.start,decimalPlaces:this.decimalPlaces,duration:this.duration,useEasing:this.easing,useGrouping:this.grouping,separator:this.separator,decimal:this.decimalCharacter,prefix:this.prefix,suffix:this.suffix});var i=b.create(t);(this.watcher=i).stateChange(function(){e.startCounting()})},t.startCounting=function(){if(this.watcher.isFullyInViewport){if(this.CountUp.error)throw new Error(this.CountUp.error);this.CountUp.start()}},i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),i}();return n(window).on(p.LOAD_DATA_API,function(){for(var t=n.makeArray(n(g)),e=t.length;e--;){var i=n(t[e]);y.jQueryInterface.call(i,i.data())}}),n.fn[t]=y.jQueryInterface,n.fn[t].Constructor=y,n.fn[t].noConflict=function(){return n.fn[t]=i,y.jQueryInterface},y}(C)),z=(g="script",(p=C)("body").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),p("body").popover({selector:'[data-toggle="popover"]',container:"body"}),{version:"1.2.0",selector:{RECAPTCHA:"[data-recaptcha]"},activateIframeSrc:function(t){var e=p(t);e.attr("data-src")&&e.attr("src",e.attr("data-src"))},idleIframeSrc:function(t){var e=p(t);e.attr("data-src",e.attr("src")).attr("src","")},forEach:function(t,e,i){if(t)if(t.length)for(var n=0;n<t.length;n+=1)e.call(i,n,t[n]);else(t[0]||z.isElement(t))&&e.call(i,0,t)},dedupArray:function(t){return t.reduce(function(t,e){var i=JSON.stringify(e);return-1===t.temp.indexOf(i)&&(t.out.push(e),t.temp.push(i)),t},{temp:[],out:[]}).out},isElement:function(t){return!(!t||1!==t.nodeType)},getFuncFromString:function(t,e){var i=t||null;if("function"==typeof i)return t;if("string"==typeof i){if(!i.length)return null;for(var n=e||window,r=i.split(".");r.length;){var a=r.shift();if(void 0===n[a])return null;n=n[a]}if("function"==typeof n)return n}return null},getScript:function(t,i){var n=document.createElement(g),e=document.getElementsByTagName(g)[0];n.async=1,n.defer=1,n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=null,n.onreadystatechange=null,n=void 0,!e&&i&&"function"==typeof i&&i())},n.onload=n.onreadystatechange,n.src=t,e.parentNode.insertBefore(n,e)}}),U=(v="mrDropdownGrid",S="."+(w="mr.dropdownGrid"),T=".data-api",k=(y=C).fn[v],I=new RegExp("38|40|27"),D={SHOW:"show"},F={LOAD_DATA_API:"load"+S+T,RESIZE:"resize"+S,HIDE:"hide"+S,HIDDEN:"hidden"+S,SHOW:"show"+S,SHOWN:"shown"+S,CLICK:"click"+S,MOUSE_ENTER:"mouseenter"+S,MOUSE_LEAVE:"mouseleave"+S,CLICK_DATA_API:"click"+S+T,KEYDOWN_DATA_API:"keydown"+S+T,KEYUP_DATA_API:"keyup"+S+T},P='[data-toggle="dropdown-grid"]',O=".dropdown form",L=x=".dropdown-menu",j="[data-dropdown-content]",R=".navbar-nav",_=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",M="data-hover",N="data-dropdown-grid-hover",q=function(){function l(t){this.ticking=!1,this.isActive=!1,this.element=t,this.getOptions(),this.parent=l.getParentFromElement(this.element),this.menu=this.getMenuElement(),this.container=this.getContainerElement(),this.content=this.getContentElement(),this.isSubmenu=this.hasParentMenu(),this.isSubmenu&&(this.siblingMenus=this.getSiblingMenus()),this.submenus=this.getSubmenus(),this.hover=this.options.hover,this.addEventListeners(),this.setResizeEvent()}var t=l.prototype;return t.getOptions=function(){this.options||(this.options={},this.options.hover=("true"===this.element.getAttribute(M)||"true"===document.body.getAttribute(N))&&"false"!==this.element.getAttribute(M))},t.toggle=function(t){if(this.getParentMenu(),!this.element.disabled&&!y(this.element).hasClass(D.DISABLED)){this.isActive=y(this.menu).hasClass(D.SHOW);var e=this.isActive,i=!this.isActive;if(this.isSubmenu||l.clearMenus(),(this.isSubmenu||!e)&&(this.isSubmenu||!i||!t||t.type!==F.MOUSE_LEAVE)){if(this.isSubmenu&&this.isActive)return l.clearMenus(null,this.element),void l.clearMenus(null,this.submenus);this.isSubmenu&&!this.isActive&&l.clearMenus(null,this.siblingMenus);var n={relatedTarget:this.element},r=y.Event(F.SHOW,n);y(this.parent).trigger(r),r.isDefaultPrevented()||("ontouchstart"in document.documentElement&&0===y(this.parent).closest(R).length&&y(document.body).children().on("mouseover",null,y.noop),this.element.focus(),this.element.setAttribute("aria-expanded",!0),y(this.menu).toggleClass(D.SHOW),this.updatePosition(),this.isActive=!0,y(this.parent).toggleClass(D.SHOW).trigger(y.Event(F.SHOWN,n)))}}},t.updatePosition=function(t){var e=t||window.innerWidth,i=U.getDimensionsFromElement(this.element);this.positionContainer(i.offsetLeft),this.positionContent(e,i.offsetLeft)},t.positionContainer=function(t){if(!this.container)throw new TypeError("No element matching .dropdown-menu.container found.");this.container.style.left="-"+t+"px"},t.positionContent=function(t,e){if(!this.content)throw new TypeError("No [data-dropdown-content] element was found.");var i,n=U.getDimensionsFromElement(this.content).width;if(this.isSubmenu){this.getParentMenu();var r=U.getDimensionsFromElement(this.parentMenu.content);i=r.offsetLeft+r.width+n<=t?r.offsetLeft+r.width:r.offsetLeft>=n?r.offsetLeft-n:0}else i=t<=n+e?t-n:e;var a=Math.round(i)+"px";this.content.style.left=a},t.setResizeEvent=function(){var t=this;y(window).on(F.RESIZE,function(){t.ticking||(window.requestAnimationFrame(function(){t.updatePosition(),t.ticking=!1}),t.ticking=!0)})},t.getMenuElement=function(){return this.menu||this.parent&&(this.menu=this.parent.querySelector(x)),this.menu},t.getContainerElement=function(){return this.container||this.parent&&(this.container=this.parent.querySelector(""+x+L)),this.container},t.getContentElement=function(){return this.content||this.parent&&(this.content=this.container.querySelector(j)),this.content},t.hasParentMenu=function(){return 0<y(this.element).closest(j).length},t.getParentMenu=function(){this.isSubmenu&&!this.parentMenu&&(this.parentMenu=y(this.parent).closest(x).siblings(P).data(w))},t.getSiblingMenus=function(){return y(this.element).closest(j).get(0).querySelectorAll(P)},t.getSubmenus=function(){var t=this.content.querySelectorAll(P);return this.isParent=0!==t.length,t},t.addEventListeners=function(){var e=this;y(this.element).on(F.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}),this.hover&&y(this.parent).on(F.MOUSE_ENTER+" "+F.MOUSE_LEAVE,function(t){t.preventDefault(),t.stopPropagation(),""+t.type+S===F.MOUSE_ENTER&&e.isActive||""+t.type+S===F.MOUSE_LEAVE&&!e.isActive||e.toggle(t)})},l.getDimensionsFromElement=function(t){if(t&&z.isElement(t)){var e=t.getBoundingClientRect();return e.offsetLeft=Math.round(e.left+window.pageXOffset-document.documentElement.clientLeft),e}throw new TypeError("Can't get a measurement from a non-element")},l.getParentFromElement=function(t){return t.parentNode},l.clearMenus=function(s,t){var e;(!s||3!==s.which&&"keyup"!==s.type||9===s.which)&&(e=t&&"object"==typeof t?t:document.querySelectorAll(P),z.forEach(e,function(t,e){var i=l.getParentFromElement(e),n=y(e).data(w),r={relatedTarget:e};if(s&&"click"===s.type&&(r.clickEvent=s),n){var a=n.menu;if(y(i).hasClass(D.SHOW)&&!(s&&("click"===s.type&&/input|textarea/i.test(s.target.tagName)||"keyup"===s.type&&9===s.which)&&y.contains(i,s.target)||s&&"click"===s.type&&(y.contains(n.content,s.target)||n.content.isSameNode(s.target)))){var o=y.Event(F.HIDE,r);y(i).trigger(o),o.isDefaultPrevented()||("ontouchstart"in document.documentElement&&y(document.body).children().off("mouseover",null,y.noop),e.setAttribute("aria-expanded","false"),n.isActive=!1,y(a).removeClass(D.SHOW),y(i).removeClass(D.SHOW).trigger(y.Event(F.HIDDEN,r)))}}}))},l.jQueryInterface=function(i){return this.each(function(){var t=y(this),e=t.data(w);if(e||(e=new l(this),t.data(w,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},l.dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?32!==t.which&&27===t.which||!(40!==t.which&&38!==t.which||y(t.target).closest(x).length):I.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!y(this).hasClass(D.DISABLED))){var e=l.getParentFromElement(this),i=y(e).hasClass(D.SHOW);if((i||27===t.which&&32===t.which)&&(!i||27!==t.which&&32!==t.which)){var n=[].slice.call(e.querySelectorAll(_));if(0!==n.length){var r=n.indexOf(t.target);38===t.which&&0<r&&(r-=1),40===t.which&&r<n.length-1&&(r+=1),r<0&&(r=0),n[r].focus()}}else{if(27===t.which){var a=e.querySelector(P);y(a).trigger("focus")}y(this).trigger("click")}}},W(l,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),l}(),y(document).on(F.KEYDOWN_DATA_API,P,q.dataApiKeydownHandler).on(F.KEYDOWN_DATA_API,x,q.dataApiKeydownHandler).on(F.CLICK_DATA_API+" "+F.KEYUP_DATA_API,q.clearMenus).on(F.CLICK_DATA_API,O,function(t){t.stopPropagation()}),y(document).ready(function(){for(var t=y.makeArray(y(P)),e=t.length;e--;){var i=y(t[e]);q.jQueryInterface.call(i,i.data())}}),y.fn[v]=q.jQueryInterface,y.fn[v].Constructor=q,y.fn[v].noConflict=function(){return y.fn[v]=k,q.jQueryInterface},q);!function(){var i="href",n="fade-page",r=500,t=document.getElementsByClassName(n);function e(t){if(!(t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1===t.button)){t.preventDefault(),t.stopPropagation(),document.body.classList.add(n);var e=this.getAttribute(i);setTimeout(function(){""!==e&&"#"!==e&&(window.location.href=e)},r)}}for(var a=0;a<t.length;a+=1)t[a].addEventListener("click",e,!1)}(),jQuery(document).on("shown.bs.modal layoutComplete",function(t){jQuery(t.target).find("[data-flickity]").each(function(t,e){var i=jQuery(e);i.data().flickity.isInitActivated&&i.flickity("resize")})});var G,K=function(n){if(!(z&&"1.2.0"<=z.version))throw new Error("mrUtil >=version 1.2.0 is required.");var t="mrRecaptchav2",r="mr.recaptchav2",e=n.fn[t],a={RECAPTCHAV2:"https://www.google.com/recaptcha/api.js?onload=mrRecaptchav2Init&render=explicit"},o="[data-recaptcha]",s="form",l="invisible",u=[],c=!1,h=function(){function i(t){this.element=t,this.form=this.getForm(),this.isReady=!1,this.isValid=!1,this.options=n(this.element).data(),this.invisible=this.options.size===l,this.id=null,u.push(this)}var t=i.prototype;return t.init=function(){var t=this;""===this.element.innerHTML.replace(/[\s\xA0]+/g,"")&&(this.id=grecaptcha.render(this.element,{sitekey:this.options.sitekey,theme:this.options.theme,size:this.options.size,badge:this.options.badge,tabindex:this.options.tabindex,callback:function(){t.validate()},"expired-callback":function(){t.invalidate()}}),this.isReady=!0)},t.validate=function(){this.isValid=!0,this.invisible&&this.form&&n(this.form).trigger("submit")},t.invalidate=function(){this.isValid=!1},t.checkValidity=function(){return!(!this.isReady||!this.isValid)},t.execute=function(){this.isReady&&this.invisible&&grecaptcha.execute(this.id)},t.reset=function(){this.isReady&&(grecaptcha.reset(this.id),this.isValid=!1)},t.getForm=function(){var t=n(this.element).closest(s);return t.length?t.get(0):null},i.getRecaptchaFromForm=function(t){if(z.isElement(t)){var e=t.querySelector(o);return e&&n(e).data(r)||null}throw new TypeError("Form argument passed to getRecaptchaFromForm is not an element.")},i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}},{key:"ready",get:function(){return c}},{key:"instances",get:function(){return u}},{key:"apiReady",set:function(t){!0===t&&!1===c&&z.forEach(i.instances,function(t,e){e.init()}),c=!0}}]),i}();return window.mrRecaptchav2Init=function(){K.apiReady=!0},n(document).ready(function(){var t=n.makeArray(n(o));if(0<t.length){z.getScript(a.RECAPTCHAV2);for(var e=t.length;e--;){var i=n(t[e]);h.jQueryInterface.call(i,i.data())}}}),n.fn[t]=h.jQueryInterface,n.fn[t].Constructor=h,n.fn[t].noConflict=function(){return n.fn[t]=e,h.jQueryInterface},h}(jQuery),Z=function(r){if(!(z&&"1.2.0"<=z.version))throw new Error("mrUtil >=version 1.2.0 is required.");var t="mrFormEmail",n="mr.formEmail",e="."+n,i=r.fn[t],a="btn-loading-animate",o="was-validated",s="d-none",l="action",u="disabled",c="data-feedback-delay",h="data-success-redirect",d="[data-form-email]",f="[data-success-message]",m="[data-error-message]",p='button[type="submit"]',g="span",y="input,textarea,select",v={SENT:"sent"+e,LOAD_DATA_API:"load"+e+".data-api",SUBMIT:"submit"},w="data-loading-text",b="Sending",E="forms/mail.php",A=5e3,S="Form submission error",T="success",k="error",I=function(){function i(t){this.form=t,this.action=this.form.getAttribute(l)||E,this.feedback=this.getFeedbackElements(),this.getRecaptcha(),this.initSubmitButton(),this.setSubmitEvent()}var t=i.prototype;return t.submitForm=function(){this.hideAllFeedback(),this.validateForm()&&this.ajaxSubmit()},t.validateForm=function(){var t=this.form.checkValidity();if(this.recaptcha)if(this.recaptcha.invisible){if(t&&!this.recaptcha.checkValidity())return this.recaptcha.execute(),!1}else!1===this.recaptcha.checkValidity()&&(t=!1);return t?(this.form.classList.remove(o),!0):(clearTimeout(this.feedbackTimeout),this.form.classList.add(o),this.showFeedback(k,this.validationErrorMessage),!1)},t.ajaxSubmit=function(){var t=r(this.form).serializeArray();t.push({name:"url",value:window.location.href}),C.ajax({context:this,data:t,dataType:"json",error:this.showFeedback,success:this.processResponse,type:"POST",url:this.action}),this.toggleFormLoading(!0)},t.initSubmitButton=function(){return this.submitButton||(this.submitButton=this.form.querySelector(p)),this.submitButtonSpan=this.submitButton.querySelector(g),this.loadingText=this.submitButton.getAttribute(w)||b,this.originalSubmitText=this.submitButtonSpan.textContent,this.submitButton},t.processResponse=function(t){var e=this,i=t.status===T;this.toggleFormLoading(!1),this.recaptcha&&this.recaptcha.reset(),r(this.form).trigger(r.Event(v.SENT));var n=this.form.getAttribute(h);i&&n&&""!==n?window.location=n:i&&(this.form.reset(),this.feedbackTimeout=setTimeout(function(){return e.hideAllFeedback()},this.feedbackDelay)),n||this.showFeedback(t.status,t.message),t.errorDetail&&console.error(t.errorName||S,0===t.errorDetail.indexOf("{")?JSON.parse(t.errorDetail):t.errorDetail)},t.showFeedback=function(t,e,i){this.toggleFormLoading(!1),"object"==typeof t&&t.statusText?(clearTimeout(this.feedbackTimeout),this.feedback.error.innerHTML=(i||e)+': <em>"'+this.action+'"</em> ('+t.status+" "+e+")",this.feedback.error.classList.remove(s)):(this.feedback[t].innerHTML=e,this.feedback[t].classList.remove(s))},t.hideAllFeedback=function(){this.feedback.success.classList.add(s),this.feedback.error.classList.add(s)},t.getFeedbackElements=function(){if(!this.feedback){this.feedback={success:this.form.querySelector(f),error:this.form.querySelector(m)},this.validationErrorMessage=this.feedback.error.innerHTML;var t=this.form.getAttribute(c)||A;this.feedbackDelay=parseInt(t,10),this.feedbackTimeout=null}return this.feedback},t.getRecaptcha=function(){if(this.form.querySelector(z.selector.RECAPTCHA)){if(!K)throw new Error("mrRecaptcha.js is required to handle the reCAPTCHA element in this form.");this.recaptcha=K.getRecaptchaFromForm(this.form)}},t.toggleFormLoading=function(t){this.toggleSubmitButtonLoading(t),i.toggleDisabled(this.form.querySelectorAll(y),t)},t.toggleSubmitButtonLoading=function(t){this.toggleSubmitButtonText(t),this.toggleSubmitButtonAnimation(t),i.toggleDisabled(this.submitButton,t)},t.toggleSubmitButtonAnimation=function(t){this.submitButton.classList[t?"add":"remove"](a)},t.toggleSubmitButtonText=function(t){this.submitButtonSpan.textContent=t?this.loadingText:this.originalSubmitText},i.toggleDisabled=function(t,i){z.forEach(t,function(t,e){return e[i?"setAttribute":"removeAttribute"](u,"")})},i.getInstanceFromForm=function(t){if(z.isElement(t))return r(t).data(n)||null;throw new TypeError("Form argument passed to getInstanceFromForm is not an element.")},t.setSubmitEvent=function(){var e=this;r(this.form).on(v.SUBMIT,function(t){t.preventDefault(),e.submitForm()})},i.jQueryInterface=function(){return this.each(function(){var t=r(this),e=t.data(n);e||(e=new i(this),t.data(n,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return r(window).on(v.LOAD_DATA_API,function(){for(var t=r.makeArray(r(d)),e=t.length;e--;){var i=r(t[e]);I.jQueryInterface.call(i,i.data())}}),r.fn[t]=I.jQueryInterface,r.fn[t].Constructor=I,r.fn[t].noConflict=function(){return r.fn[t]=i,I.jQueryInterface},I}(C),Y=function(n){if("function"!=typeof n.fn.ionRangeSlider)throw new Error("mrIonRangeSlider requires ion.rangeSlider.js (https://github.com/IonDen/ion.rangeSlider)");if(!(z&&"1.2.0"<=z.version))throw new Error("mrUtil >=version 1.2.0 is required.");var t="mrIonRangeSlider",r="mr.ionRangeSlider",e=n.fn[t],a={LOAD_DATA_API:"load.mr.ionRangeSlider.data-api",CHANGE:"input"},o="[data-ion-rangeslider]",s="INPUT",l="text",u=function(){function i(t){var e=n(t);this.options=e.data(),this.element=t,this.fromElement=null,this.toElement=null,this.unitElement=null,this.initRangeSlider()}var t=i.prototype;return t.initRangeSlider=function(){var t=this.options;t.fromSelector&&(this.fromElement=document.querySelectorAll(t.fromSelector),this.setFromUpdateEvent(this.fromElement)),t.toSelector&&(this.toElement=document.querySelectorAll(t.toSelector),this.setToUpdateEvent(this.toElement)),t.unitSelector&&t.unitSingle&&t.unitPlural&&(this.unitElement=document.querySelectorAll(t.unitSelector)),n(this.element).ionRangeSlider({onStart:z.getFuncFromString(t.onStart),onFinish:z.getFuncFromString(t.onFinish),onChange:this.handleChange,scope:this,onUpdate:z.getFuncFromString(t.onUpdate)}),this.rangeSlider=n(this.element).data("ionRangeSlider")},t.handleChange=function(t){if(this.fromElement&&0<this.fromElement.length&&Y.updateValue(this.fromElement,t.from_value||t.from),this.toElement&&0<this.toElement.length&&Y.updateValue(this.toElement,t.to_value||t.to),this.unitElement&&0<this.unitElement.length){var e=parseInt(t.from_value,10)||t.value;Y.updateValue(this.unitElement,1<e?this.options.unitPlural:this.options.unitSingle)}var i=z.getFuncFromString(this.options.onChange);i&&i(t)},t.setToUpdateEvent=function(t){var i=this;z.forEach(t,function(t,e){e.tagName.toUpperCase()===s&&e.type===l&&e.addEventListener(a.CHANGE,function(){i.rangeSlider.update({to:e.value})})})},t.setFromUpdateEvent=function(t){var i=this;z.forEach(t,function(t,e){e.tagName.toUpperCase()===s&&e.type===l&&e.addEventListener(a.CHANGE,function(){i.rangeSlider.update({from:e.value})})})},i.updateValue=function(t,i){z.forEach(t,function(t,e){e[e.tagName.toUpperCase()===s?"value":"textContent"]=i})},i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return n(window).on(a.LOAD_DATA_API,function(){for(var t=n.makeArray(n(o)),e=t.length;e--;){var i=n(t[e]);u.jQueryInterface.call(i,i.data())}}),n.fn[t]=u.jQueryInterface,n.fn[t].Constructor=u,n.fn[t].noConflict=function(){return n.fn[t]=e,u.jQueryInterface},u}(C),J=function(f){if(void 0===V)throw new Error("mrIsotope requires isotope.pkgd.js (https://github.com/metafizzy/isotope)");var t="mrIsotope",n="mr.isotope",e=f.fn[t],r="active",m={LOAD_DATA_API:"load.mr.isotope.data-api",FILTER_CLICK:"click touchstart",SORTER_CLICK:"click touchstart"},a="masonry",p="original-order",o=".js-filter-inited",s="data-isotope-id",l="[data-isotope-collection]",u="[data-isotope-item]",c="[data-isotope-filters]",h="[data-isotope-sorters]",i="data-category",d="data-filter",g="data-sort",y="data-primary-sort",v="data-secondary-sort",w="data-sort-selector",b="data-sort-ascending",E="*";function A(t){return t&&t!==E?"["+i+'*="'+t+'"]':E}function S(t,e){return document.querySelectorAll(h+"["+s+'="'+t+'"] ['+g+'="'+e+'"]')}function T(t,e){return document.querySelectorAll(c+"["+s+'="'+t+'"] ['+d+'="'+e+'"]')}function k(t,i){t&&z.forEach(t,function(t,e){e&&void 0!==e.classList&&(i?e.classList.add(r):e.classList.remove(r))})}var I=function(){function i(t){var e=f(t).data();this.element=t,this.attributes=e,this.filters={},this.sorters={},this.activeFilter=null,this.activeSorter=null,this.isotope=null,this.options={},this.options.getSortData={},this.options.sortAscending={},this.initIsotope(),this.initSorters(),this.initFilters()}var t=i.prototype;return t.initFilters=function(){var t,e,i,n=this,r=(t=this.attributes.isotopeId,i=(e=o)?":not("+e+")":"",document.querySelectorAll(c+"["+s+'="'+t+'"] ['+d+"]"+i));z.forEach(r,function(t,e){var i=e.attributes[d]&&e.attributes[d].value;n.filters[i]=T(n.attributes.isotopeId,i),f(e).on(m.FILTER_CLICK,function(t){t.preventDefault&&t.preventDefault(),k(n.activeFilter,!1),k(n.filters[i],!0),n.activeFilter=r,n.options.filter="*"===i?i:A(i),n.isotope.arrange(n.options)}),e.classList.add(o)})},t.initSorters=function(){var t,d=this,e=(t=this.attributes.isotopeId,document.querySelectorAll(h+"["+s+'="'+t+'"] ['+g+"]["+w+"],\n      "+h+"["+s+'="'+t+'"] ['+g+"]["+y+"]["+v+"]")),i=this.attributes.defaultSort||p;z.forEach(e,function(t,e){var i=e.attributes,n=i[g],r=i[w],a=i[b],o=i[y],s=i[v],l=n&&n.value,u=r&&r.value,c=o&&o.value&&s&&s.value?[o.value,s.value]:null,h=!(a&&a.value&&"false"===a.value);d.sorters[l]=S(d.attributes.isotopeId,l),f(e).on(m.SORTER_CLICK,function(t){t.preventDefault&&t.preventDefault(),k(d.activeSorter,!1),k(d.sorters[l],!0),d.activeSorter=d.sorters[l],d.options.sortBy=c||l,d.isotope.arrange(d.options)}),d.options.sortAscending[l]=h,l===p||c||(d.options.getSortData[l]=u)}),this.options.sortBy=i,this.activeSorter=S(this.attributes.isotopeId,i),k(this.activeSorter,!0),this.isotope.updateSortData(),this.isotope.arrange(this.options)},t.initIsotope=function(){var t=window.location.hash.replace("#",""),e=(t=""===t||this.attributes.ignoreHash?null:t)||this.attributes.defaultFilter||E,i=A(e),n=!1==!this.attributes.sortAscending;this.options.itemSelector=u,this.options.layoutMode=this.attributes.layoutMode||a,this.options.filter=i,this.options.sortAscending[p]=n,this.isotope=new V(this.element,this.options),this.activeFilter=T(this.attributes.isotopeId,e),k(this.activeFilter,!0)},i.jQueryInterface=function(){return this.each(function(){var t=f(this),e=t.data(n);e||(e=new i(this),t.data(n,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return f(window).on(m.LOAD_DATA_API,function(){for(var t=f.makeArray(f(l)),e=t.length;e--;){var i=f(t[e]);I.jQueryInterface.call(i,i.data())}}),f.fn[t]=I.jQueryInterface,f.fn[t].Constructor=I,f.fn[t].noConflict=function(){return f.fn[t]=e,I.jQueryInterface},I}(C);G=C,"function"==typeof r&&(G(".alert-dismissible").on("closed.bs.alert",function(){r(document.querySelectorAll("[data-jarallax]"),"onScroll")}),G(document).on("resized.mr.overlayNav",function(){r(document.querySelectorAll("[data-jarallax]"),"onResize")}),r(document.querySelectorAll("[data-jarallax]"),{disableParallax:/iPad|iPhone|iPod|Android/,disableVideo:/iPad|iPhone|iPod|Android/}));var X,tt,et,it,nt,rt,at,ot,st,lt,ut,ct,ht,dt,ft=[{featureType:"administrative.country",elementType:"labels.text",stylers:[{lightness:"29"}]},{featureType:"administrative.province",elementType:"labels.text.fill",stylers:[{lightness:"-12"},{color:"#796340"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{lightness:"15"},{saturation:"15"}]},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{visibility:"on"},{color:"#fbf5ed"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"all",stylers:[{visibility:"on"},{lightness:"30"},{saturation:"-41"},{gamma:"0.84"}]},{featureType:"poi.attraction",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.business",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.business",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi.medical",elementType:"geometry",stylers:[{color:"#fbd3da"}]},{featureType:"poi.medical",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#b0e9ac"},{visibility:"on"}]},{featureType:"poi.park",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{hue:"#68ff00"},{lightness:"-24"},{gamma:"1.59"}]},{featureType:"poi.sports_complex",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"poi.sports_complex",elementType:"geometry",stylers:[{saturation:"10"},{color:"#c3eb9a"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{visibility:"on"},{lightness:"30"},{color:"#e7ded6"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-39"},{lightness:"28"},{gamma:"0.86"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffe523"},{visibility:"on"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"on"},{saturation:"0"},{gamma:"1.44"},{color:"#fbc28b"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"on"},{saturation:"-40"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fed7a5"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{visibility:"on"},{gamma:"1.54"},{color:"#fbe38b"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"},{gamma:"2.62"},{lightness:"10"}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{visibility:"on"},{weight:"0.50"},{gamma:"1.04"}]},{featureType:"transit.station.airport",elementType:"geometry.fill",stylers:[{color:"#dee3fb"}]},{featureType:"water",elementType:"geometry",stylers:[{saturation:"46"},{color:"#a4e1ff"}]}],mt=function(d){var t="mrMaps",i="mr.maps",e=d.fn[t],n="[data-maps-api-key]",r="div.map-marker",a="div.map-style",f="data-address",m="data-latlong",p="data-marker-image",g="data-marker-title",y="div.info-window",o="",v={MAP_LOADED:"loaded.mr.maps"},w={MARKER_IMAGE_URL:"assets/img/map-marker.png",MAP:{disableDefaultUI:!0,draggable:!0,scrollwheel:!1,zoom:17,zoomControl:!1}};w.MAP.styles=void 0!==ft?ft:void 0;var s=function(){function h(t){this.element=t,this.$element=d(t),this.markers=[],this.geocoder=new google.maps.Geocoder,this.markerElements=this.$element.find(r),this.styleElement=this.$element.find(a).first(),this.initMap(),this.createMarkers()}h.init=function(){for(var t=d.makeArray(d(n)),e=t.length;e--;){var i=d(t[e]);h.jQueryInterface.call(i,i.data())}};var t=h.prototype;return t.initMap=function(){var t,e=this,i=this.element,n=this.$element,r=void 0!==n.attr("data-zoom-controls"),a=void 0!==n.attr("data-zoom-controls")&&n.attr("data-zoom-controls"),o=void 0!==n.attr("data-latlong")&&n.attr("data-latlong"),s=!!o&&parseFloat(o.substr(0,o.indexOf(","))),l=!!o&&parseFloat(o.substr(o.indexOf(",")+1)),u=n.attr("data-address")||"",c={};try{c.styles=this.styleElement.length?JSON.parse(this.styleElement.html().trim()):void 0}catch(t){throw new Error(t)}if(c.zoom=n.attr("data-map-zoom")?parseInt(n.attr("data-map-zoom"),10):void 0,c.zoomControl=r,c.zoomControlOptions=!1!==a?{position:google.maps.ControlPosition[a]}:void 0,t=jQuery.extend({},w.MAP,c),this.map=new google.maps.Map(i,t),google.maps.event.addListenerOnce(this.map,"center_changed",function(){var t=d.Event(v.MAP_LOADED,{map:e.map});n.trigger(t)}),void 0!==s&&""!==s&&!1!==s&&void 0!==l&&""!==l&&!1!==l)this.map.setCenter(new google.maps.LatLng(s,l));else{if(""===u)throw new Error("No valid address or latitude/longitude pair provided for map.");this.geocodeAddress(u,h.centerMap,this,this.map)}},t.geocodeAddress=function(i,n,r,a){this.geocoder.geocode({address:i},function(t,e){if(e!==google.maps.GeocoderStatus.OK)throw new Error('There was a problem geocoding the address "'+i+'".');n(t,r,a)})},h.centerMap=function(t,e){e.map.setCenter(t[0].geometry.location)},h.moveMarker=function(t,e,i){i.setPosition(t[0].geometry.location)},t.createMarkers=function(){var c=this;w.MARKER={icon:{url:this.$element.attr(p)||w.MARKER_IMAGE_URL,scaledSize:new google.maps.Size(50,50)},title:o,optimised:!1},this.markerElements.each(function(t,e){var i,n=d(e),r=n.attr(f),a=n.attr(m),o=n.find(y),s={title:n.attr(g)};s.icon=void 0!==n.attr(p)?{url:n.attr(p),scaledSize:new google.maps.Size(50,50)}:void 0;var l=jQuery.extend({},w.MARKER,s);if(i=new google.maps.Marker(jQuery.extend({},l,{map:c.map})),o.length){var u=new google.maps.InfoWindow({content:o.first().html(),maxWidth:parseInt(o.attr("data-max-width")||"250",10)});i.addListener("click",function(){u.open(c.map,i)})}if(a)/(-?\d+(\.\d+)?),\s*(-?\d+(\.\d+)?)/.test(a)&&(i.setPosition(new google.maps.LatLng(parseFloat(a.substr(0,a.indexOf(","))),parseFloat(a.substr(a.indexOf(",")+1)))),c.markers[t]=i);else{if(!r)throw i=null,new Error("Invalid data-address or data-latlong provided for marker "+(t+1));c.geocodeAddress(r,h.moveMarker,c,i),c.markers[t]=i}})},h.jQueryInterface=function(){return this.each(function(){var t=d(this),e=t.data(i);e||(e=new h(this),t.data(i,e))})},W(h,null,[{key:"VERSION",get:function(){return"1.1.0"}}]),h}();if(document.querySelector("[data-maps-api-key]")&&!document.querySelector(".gMapsAPI")&&d("[data-maps-api-key]").length){var l=d("[data-maps-api-key]:first").attr("data-maps-api-key")||"";if(""!==l){var u=document.createElement("script");u.type="text/javascript",u.src="https://maps.googleapis.com/maps/api/js?key="+l+"&callback=theme.mrMaps.init",u.className="gMapsAPI",document.body.appendChild(u)}}return d.fn[t]=s.jQueryInterface,d.fn[t].Constructor=s,d.fn[t].noConflict=function(){return d.fn[t]=e,s.jQueryInterface},s}(jQuery),pt=(tt="mrOverlayNav",it="."+(et="mr.overlayNav"),nt=(X=C).fn[tt],rt={RESIZE:"resize"+it,RESIZED:"resized"+it,IMAGE_LOAD:"load",TOGGLE_SHOW:"show.bs.collapse",TOGGLE_HIDE:"hide.bs.collapse",NOTIFICATION_CLOSE:"",ALERT_CLOSE:"close.bs.alert"},at="body > div.navbar-container",ot="body > div.navbar-container > nav[data-overlay]",st="nav",lt="[data-overlay]",ut="img",ct="navbar-toggled-show",ht=function(){function i(t){this.ticking=!1,this.element=t,this.navHeight=this.getNavHeight(),this.container=i.getContainerElement(),this.overlayElement=i.getFirstOverlayElement(),this.setImageLoadEvent(),this.updateValues(),this.setResizeEvent(),this.setToggleEvent()}var t=i.prototype;return t.getNavHeight=function(){this.navHeight=this.element.getBoundingClientRect().height},t.updateValues=function(){this.getNavHeight(),this.updateContainer(),this.updateOverlayElement(),X(this.element).trigger(X.Event(rt.RESIZED))},t.updateContainer=function(){this.container&&(this.container.style.minHeight=this.navHeight+"px",this.container.style.marginBottom="-"+this.navHeight+"px")},t.updateOverlayElement=function(){this.overlayElement&&this.overlayElement.style.setProperty("padding-top",this.navHeight+"px","important")},t.setResizeEvent=function(){var t=this;X(window).on(rt.RESIZE+" "+rt.ALERT_CLOSE,function(){t.ticking||(window.requestAnimationFrame(function(){t.updateValues(),t.ticking=!1}),t.ticking=!0)})},t.setToggleEvent=function(){var i=this;X(this.container).on(rt.TOGGLE_SHOW+" "+rt.TOGGLE_HIDE,function(t){var e=t.type+"."+t.namespace===rt.TOGGLE_SHOW?"add":"remove";i.element.classList[e](ct)})},t.setImageLoadEvent=function(){var i=this,t=this.container.querySelectorAll(ut);z.forEach(t,function(t,e){e.addEventListener(rt.IMAGE_LOAD,function(){return i.updateValues()})})},i.getContainerElement=function(){return this.container||(this.container=document.querySelector(at)),this.container},i.getFirstOverlayElement=function(){return document.querySelector(lt+":not("+st+")")},i.jQueryInterface=function(){return this.each(function(){var t=X(this),e=t.data(et);e||(e=new i(this),t.data(et,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}(),X(document).ready(function(){for(var t=X.makeArray(X(ot)),e=t.length;e--;){var i=X(t[e]);ht.jQueryInterface.call(i,i.data())}}),X.fn[tt]=ht.jQueryInterface,X.fn[tt].Constructor=ht,X.fn[tt].noConflict=function(){return X.fn[tt]=nt,ht.jQueryInterface},ht);a.setup("[data-provider],.plyr"),(dt=C)(document).on("hide.bs.tab",function(t){dt(dt(t.target).attr("href")).find('[data-toggle="popover"]').popover("hide")}),dt(document).on("hide.bs.collapse",function(t){dt(t.target).find('[data-toggle="popover"]').popover("hide")}),o.highlightAll();var gt=function(n){if(void 0===b)throw new Error("mrReadingPosition requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var t="mrReadingPosition",r="mr.readingPosition",e=n.fn[t],a="reading-position-hidden",o={LOAD_DATA_API:"load.mr.readingPosition.data-api",RESIZE:"resize",SCROLL:"scroll"},i="progress.reading-position",s="[data-reading-position]",l="value",u="max",c=100,h=document.querySelectorAll(i),d=function(){return(0===document.documentElement.scrollTop?document.body.scrollTop:document.documentElement.scrollTop)||0},f=function(){function i(t){this.progressBars=h,this.element=t,this.top=0,this.bottom=0,this.height=0,this.scrollLength=0,this.articlePositionPercent=0,this.ticking=!1,this.inView=!1,this.reading=!1,this.initWatcher(t),this.initBarValues(),this.setValue(d()),this.setScrollEvent(),this.setResizeEvent()}var t=i.prototype;return t.initWatcher=function(t){var e=this,i=b.create(t);this.watcher=i,this.recalculateAll(),i.stateChange(function(){e.inView=i.isInViewport,e.reading=i.isAboveViewport&&i.isFullyInViewport,e.toggleBars(e.reading)})},t.initBarValues=function(){z.forEach(this.progressBars,function(t,e){e.setAttribute(u,c)})},t.setValue=function(t){var i=this;this.recalculatePercentage(t),z.forEach(this.progressBars,function(t,e){e.setAttribute(l,i.articlePositionPercent)})},t.toggleBars=function(i){z.forEach(this.progressBars,function(t,e){i?e.classList.remove(a):e.classList.add(a)})},t.setScrollEvent=function(){var e=this;window.addEventListener(o.SCROLL,function(){var t=d();!e.ticking&&e.inView&&e.reading&&(window.requestAnimationFrame(function(){e.setValue(t),e.ticking=!1}),e.ticking=!0)})},t.setResizeEvent=function(){var t=this;window.addEventListener(o.RESIZE,function(){return t.recalculateAll()})},t.recalculateAll=function(){this.watcher.recalculateLocation(),this.top=this.watcher.top,this.bottom=this.watcher.bottom,this.height=this.watcher.height,this.scrollLength=this.height-Math.max(document.documentElement.clientHeight,window.innerHeight||0),this.recalculatePercentage(d())},t.recalculatePercentage=function(t){this.articlePositionPercent=t?(t-this.top)/this.scrollLength*100:0},i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return n(window).on(o.LOAD_DATA_API,function(){if(0!==h.length)for(var t=n.makeArray(n(s)),e=t.length;e--;){var i=n(t[e]);f.jQueryInterface.call(i,i.data())}}),n.fn[t]=f.jQueryInterface,n.fn[t].Constructor=f,n.fn[t].noConflict=function(){return n.fn[t]=e,f.jQueryInterface},f}(jQuery),yt=new s("a[data-smooth-scroll]",{offset:C("body").attr("data-smooth-scroll-offset")||0}),vt=function(s){if(void 0===b)throw new Error("mrSticky requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var t="mrSticky",n="mr.sticky",e=s.fn[t],l="position-fixed",u="sticky-bottom",r="sticky-viewport-bottom",a="scrolled",o="min-height",c="max-width",h="top",d={LOAD_DATA_API:"load.mr.sticky.data-api",WINDOW_RESIZE:"resize",ALERT_CLOSED:"closed.bs.alert"},f="below-nav",m="bottom",p="sticky",g="[data-sticky]",y='body > div.navbar-container [data-sticky="top"]',v=".alert-dismissible",w=function(){function i(t){var e=s(t),i=e.data(p),n=e.closest("section")||null;this.element=t,this.stickBelowNav=i===f,this.stickBottom=i===m,this.stickyUntil=n,this.updateNavProperties(),this.isNavElement=e.is(this.navElement),this.initWatcher(e),this.updateCss(),this.setResizeEvent(),this.onWatcherChange(e),this.ticking=!1}var t=i.prototype;return t.initWatcher=function(t){var e=this,i=s(t),n=!this.isNavElement,r=this.stickBelowNav&&this.navIsSticky&&n?{top:this.navHeight}:0;r=this.stickBottom&&n?{bottom:-i.outerHeight}:r;var a=b.create(t,r);a.lock();var o=null!==this.stickyUntil?b.create(this.stickyUntil,{bottom:-(a.height+r.top)}):null;this.watcher=a,this.untilWatcher=o,this.navHeight=this.navHeight,this.isNavElement&&0===a.top&&!this.navIsAbsolute&&i.addClass(l),a.stateChange(function(){e.onWatcherChange(i)}),null!==o&&(o.exitViewport(function(){i.addClass(u)}),o.enterViewport(function(){i.removeClass(u)}))},t.onWatcherChange=function(t){t.toggleClass(l,this.watcher.isAboveViewport||!this.navIsAbsolute&&!this.stickBottom&&this.isNavElement&&0===this.watcher.top),t.toggleClass(a,this.watcher.isAboveViewport&&this.isNavElement&&!this.stickBottom),t.toggleClass(r,(this.watcher.isFullyInViewport||this.watcher.isAboveViewport)&&this.stickBottom),this.stickBottom||t.css(h,this.watcher.isAboveViewport&&this.navIsSticky&&this.stickBelowNav?this.navHeight:0)},t.setResizeEvent=function(){var t=this;s(v).on(d.ALERT_CLOSED,function(){t.watcher.isInViewport&&(t.watcher.unlock(),t.watcher.recalculateLocation(),t.watcher.lock()),t.onResize()}),s(window).on(d.WINDOW_RESIZE,function(){t.onResize()})},t.onResize=function(){var t=this;this.ticking||(window.requestAnimationFrame(function(){t.updateCss(),t.ticking=!1}),this.ticking=!0)},t.updateCss=function(){var t=s(this.element);t.css(c,t.parent().width()),this.updateNavProperties();var e=t.outerHeight(),i=!this.isNavElement;(!this.navIsAbsolute&&this.isNavElement||i)&&t.parent().css(o,e),this.navIsSticky&&i&&t.css(o,e)},t.updateNavProperties=function(){var t=this.navElement||s(y).first();this.navElement=t,this.navHeight=t.outerHeight(),this.navIsAbsolute="absolute"===t.css("position"),this.navIsSticky=0<t.length},i.jQueryInterface=function(){return this.each(function(){var t=s(this),e=t.data(n);e||(e=new i(this),t.data(n,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.3.0"}}]),i}();return s(window).on(d.LOAD_DATA_API,function(){for(var t=s.makeArray(s(g)),e=t.length;e--;){var i=s(t[e]);w.jQueryInterface.call(i,i.data())}}),s.fn[t]=w.jQueryInterface,s.fn[t].Constructor=w,s.fn[t].noConflict=function(){return s.fn[t]=e,w.jQueryInterface},w}(C),wt=function(c){if(void 0===A)throw new Error("mrTwitterFetcher requires twitterFetcher.js (https://github.com/jasonmayes/Twitter-Post-Fetcher)");var t="mrTwitterFetcher",n="mr.twitterFetcher",e="."+n,i=c.fn[t],h={LOAD_DATA_API:"load"+e+".data-api",RESIZE:"resize"+e,READY:"ready"+e,APPEND:"tweetAppended"+e},r="[data-twitter-fetcher]",a="data-twitter",d=".user",f=".tweet",m=".timePosted",p=".interact",o="twitter",s=6,l="username",u="max-tweets",g="flickity",y="twitterFlickity",v="isotope",w=function(){function i(t){var e=c(t);this.element=t,this.element.id="tweets-"+(new Date).getTime(),this.username=e.data(l).replace("@","")||o,this.maxTweets=parseInt(e.data(u),10)||s,this.slider=null!==this.element.getAttribute(a+"-"+g),this.slider=this.slider&&"object"==typeof e.data(y)?e.data(y):this.slider,this.isotope=null!==this.element.getAttribute(a+"-"+v),this.initTwitterFeed()}return i.prototype.initTwitterFeed=function(){var u=this;this.config={profile:{screenName:this.username},domId:this.element.id,maxTweets:this.maxTweets,enableLinks:!0,showUser:!0,showTime:!0,dateFunction:"",showRetweet:!1,customCallback:function(t){for(var e=c(u.element),i=e.children().first().detach(),n=t.length,r=0;r<n;){var a=c("<div>").append(c(t[r])),o=i.clone();o.find(f).html(a.find(f).html()),o.find(d).html(a.find(d).html()),o.find(m).html(a.find(m).html()),o.find(p).html(a.find(p).html()),e.append(o),r+=1;var s=c.Event(h.APPEND);s.appendedElement=o,s.mrTwitterFetcher=u,c(u.element).trigger(s)}if(!0===u.slider||"object"==typeof u.slider){if(void 0===E)throw new Error("mrTwitterFetcher requires flickity.js (https://github.com/metafizzy/flickity)");e.data("flickity",new E(u.element,u.slider))}else if(!0===u.isotope){if("undefined"==typeof Isotope)throw new Error("mrTwitterFetcher requires isotope.js (https://github.com/metafizzy/isotope)");c(u.element).mrIsotope()}var l=c.Event(h.READY);l.mrTwitterFetcher=u,c(u.element).trigger(l)}},A.fetch(this.config)},i.jQueryInterface=function(){return this.each(function(){var t=c(this),e=t.data(n);e||(e=new i(this),t.data(n,e))})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return c(window).on(h.LOAD_DATA_API,function(){for(var t=c.makeArray(c(r)),e=t.length;e--;){var i=c(t[e]);w.jQueryInterface.call(i,i.data())}}),c.fn[t]=w.jQueryInterface,c.fn[t].Constructor=w,c.fn[t].noConflict=function(){return c.fn[t]=i,w.jQueryInterface},w}(C),bt=function(n){if("function"!=typeof l)throw new Error("mrTypedText requires typed.js (https://github.com/mattboldt/typed.js/)");if(void 0===b)throw new Error("mrTypedText requires scrollMonitor.js (https://github.com/stutrek/scrollMonitor)");var t="mrTypedText",r="mr.typedText",e=n.fn[t],i={LOAD_DATA_API:"load.mr.typedText.data-api"},a="[data-typed-text]",o=function(){function i(t){this.element=t;var e=n(t);this.Typed=new l(this.element,e.data()),this.initWatcher(t)}return i.jQueryInterface=function(){return this.each(function(){var t=n(this),e=t.data(r);e||(e=new i(this),t.data(r,e))})},i.prototype.initWatcher=function(t){var e=this,i=b.create(t);i.stateChange(function(){i.isInViewport?e.Typed.start():e.Typed.stop()})},W(i,null,[{key:"VERSION",get:function(){return"1.0.0"}}]),i}();return n(window).on(i.LOAD_DATA_API,function(){for(var t=n.makeArray(n(a)),e=t.length;e--;){var i=n(t[e]);o.jQueryInterface.call(i,i.data())}}),n.fn[t]=o.jQueryInterface,n.fn[t].Constructor=o,n.fn[t].noConflict=function(){return n.fn[t]=e,o.jQueryInterface},o}(C);!function(){if("undefined"==typeof $)throw new TypeError("Medium Rare JavaScript requires jQuery. jQuery must be included before theme.js.")}(),t.mrCountdown=h,t.mrCountup=B,t.mrDropdownGrid=U,t.mrFormEmail=Z,t.mrIonRangeSlider=Y,t.mrIsotope=J,t.mrMapsStyle=ft,t.mrMaps=mt,t.mrOverlayNav=pt,t.mrReadingPosition=gt,t.mrSmoothScroll=yt,t.mrSticky=vt,t.mrTwitterFetcher=wt,t.mrTypedText=bt,t.mrUtil=z,Object.defineProperty(t,"__esModule",{value:!0})});
})(jQuery);
window.addEventListener("load", function (){
document.querySelector('body').classList.add('loaded');
});
jQuery(document).ready(function(){
"use strict";
jQuery('body > .elementor').attr('data-reading-position', '');
jQuery('#loginform input').each(function(){
var $this=jQuery(this);
if('user_pass'==$this.attr('id')||'user_login'==$this.attr('id')){
$this.attr('placeholder', $this.prev().text());
}});
jQuery('.wpcf7-checkbox input[type="checkbox"], .wpcf7-radio input[type="radio"]').each(function(index){
var input=jQuery(this),
label=input.siblings('label'),
id="input-assigned-"+index;
if(typeof input.attr('id')===typeof undefined||input.attr('id')===""){
input.attr('id', id);
label.attr('for', id);
}else{
id=input.attr('id');
label.attr('for', id);
}
input.after(label);
});
jQuery('.custom-radio-cols input[type="radio"]').each(function(index){
var input=jQuery(this),
labelText=input.siblings('span');
input.siblings('.custom-control-label').html(labelText);
});
jQuery('.widget select, #job_type').each(function(){
jQuery(this).addClass('custom-select');
});
jQuery('#submit-job-form [name="submit_job"]').each(function(){
jQuery(this).addClass('btn btn-primary');
});
jQuery('.widget_nav_menu ul, .widget_pages ul, .widget_categories ul').each(function(){
jQuery(this).addClass('nav flex-column');
});
jQuery('.widget_nav_menu ul li, .widget_pages ul li, .widget_categories li').each(function(){
jQuery(this).addClass('nav-item');
});
jQuery('.widget_nav_menu ul li a, .widget_pages ul li a, .widget_categories ul li a').each(function(){
jQuery(this).addClass('nav-link');
});
jQuery('section.elementor-element .decoration-wrapper-block:first-of-type').each(function(){
jQuery(this).closest('section.elementor-element').find('.elementor-element:not(.elementor-widget-tommusrhodus-decorations-block)').addClass('layer-2');
jQuery(this).closest('section.elementor-element').addClass('o-hidden').append(this);
jQuery(this).appendTo(jQuery(this).closest('section.elementor-element'));
});
jQuery('.decoration-block').each(function(){
jQuery(this).unwrap();
jQuery(this).closest('.elementor-element').siblings().addClass('layer-2');
jQuery(this).appendTo(jQuery(this).closest('.elementor-column-wrap'));
});
jQuery('.job_filters .search_jobs input').each(function(){
jQuery(this).addClass('form-control');
});
jQuery(".entry__content, .wp-block-embed__wrapper").fitVids();
if(jQuery('.navbar-nav > li').length > 6&&jQuery('.navbar-nav > li').length < 8||jQuery('.navbar-nav > li').length > 6&&jQuery('.navbar-nav > li').length==7){
jQuery('.navbar-nav > li').addClass('shrink-menu-item-size-m');
}else if(jQuery('.navbar-nav > li').length > 8){
jQuery('.navbar-nav > li').addClass('shrink-menu-item-size-s');
}
if(jQuery('.navbar-container nav[data-sticky]').length){
jQuery('body').addClass('has-sticky-nav');
}
jQuery('.navbar-toggler').on('click', function(){
jQuery('.navbar-container > nav').toggleClass('navbar-toggled-show');
});
jQuery('.wizard').smartWizard({
transitionEffect: 'fade',
showStepURLhash: false,
toolbarSettings: {
toolbarPosition: 'none'
}});
jQuery('body').on('click', '.btn-upvote.btn-outline-primary[data-id]', function(e){
e.preventDefault();
let $this=jQuery(this);
if($this.hasClass('disabled')){
return false;
}
jQuery.ajax({
type: "POST",
url: fintatech_data.ajax_url,
data: {
action: 'tommusrhodus_update_docs_upvotes',
docs_id: $this.attr('data-id'),
nonce: fintatech_data.ajax_nonce
},
error: function(response){
console.log(response);
},
success: function(response){
var totalCount=parseInt(jQuery('[data-js-downvote-count]').text()) + 1;
jQuery('[data-js-upvote-count]').attr('data-js-upvote-count', response).text(response);
jQuery('[data-js-downvote-count]').attr('data-js-downvote-count', totalCount).text(totalCount);
$this.addClass('disabled');
}});
});
jQuery('body').on('click', '.btn-downvote.btn-outline-primary[data-id]', function(e){
e.preventDefault();
let $this=jQuery(this);
if($this.hasClass('disabled')){
return false;
}
jQuery.ajax({
type: "POST",
url: fintatech_data.ajax_url,
data: {
action: 'tommusrhodus_update_docs_downvotes',
docs_id: $this.attr('data-id'),
nonce: fintatech_data.ajax_nonce
},
error: function(response){
console.log(response);
},
success: function(response){
var totalCount=parseInt(jQuery('[data-js-downvote-count]').text()) + 1;
jQuery('[data-js-downvote-count]').attr('data-js-downvote-count', totalCount).text(totalCount);
$this.addClass('disabled');
}});
});
jQuery(document).scroll(function(){
var scroll=jQuery(this).scrollTop();
var scrollPercent=Math.round(100 * jQuery(window).scrollTop() / (jQuery(document).height() - jQuery(window).height()));
var close_modal=getCookie("modal-scroll")
if(window.location.href.indexOf("https://fintatech.com/contact/") > -1){
jQuery("#popUp").css("right", "-425px");
}else{
if(scroll <=300){
jQuery("#popUp").css("right", "-425px");
}
if(scrollPercent >=40&&close_modal!="1"){
jQuery("#popUp").css("right", "25px");
}}
});
/*	jQuery("#plus").click(function(){
jQuery("#popUp").css("right", "25px");
jQuery("#plus").css("right", "-425px");
});*/
jQuery("#close").click(function(){
jQuery("#popUp").css("right", "-425px");
});
});
function ReadMore(){
var dots=document.getElementById("dots");
var moreText=document.getElementById("more");
var btnText=document.getElementById("myBtn");
if(dots.style.display==="none"){
dots.style.display="inline";
btnText.innerHTML="Read more";
moreText.style.display="none";
}else{
dots.style.display="none";
btnText.innerHTML="Read less";
moreText.style.display="inline";
}};
var today=new Date();
var expiry=new Date(today.getTime() + 1 * 24 * 60 * 60 * 1000);
function setCookie(name, id){
var element=document.getElementById(id);
var elementValue=escape(element.value);
document.cookie=name + "=" + elementValue + "; path=/; expires=" + expiry.toGMTString();
console.log(document.cookie);
};
function createCookie(name, value, days){
var expires;
if(days){
var date=new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires="; expires=" + date.toGMTString();
}else{
expires="";
}
document.cookie=encodeURIComponent(name) + "=" + encodeURIComponent(value) + expires + "; path=/";
};
function getCookie(cname){
var name=cname + "=";
var ca=document.cookie.split(';');
for(var i=0; i < ca.length; i++){
var c=ca[i];
while (c.charAt(0)==' '){
c=c.substring(1);
}
if(c.indexOf(name)==0){
return c.substring(name.length, c.length);
}}
return "";
};
/*	function validateEmail(email){
const re=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
};
function validate(){
const $result=$("#accessDemo-result");
const email=$("#emailField").val();
$result.text("");
if(validateEmail(email)){
$result.text(email + " email success!");
$result.css("color", "green");
setCookie('fintatech-email-for-demo', 'emailField', 1);
window.open('https://app.fintatech.com/');
$("#popUp").css("right", "-425px");
$("#plus").css("right", "0px");
}else{
$result.text(email + " is not valid !");
$result.css("color", "red");
}
return false;
};
function validate_2(){
const $result=$("#accessDemo-result_2");
const email=$("#emailField_2").val();
$result.text("");
if(validateEmail(email)){
$result.text(email + " email success!");
$result.css("color", "white");
setCookie('fintatech-email-for-demo', 'emailField_2', 1);
window.open('https://login.fintatech.com/Account/Register');
}else{
$result.text(email + " is not valid !");
$result.css("color", "red");
}
return false;
};
function validate_3(){
const $result=$("#accessDemo-result_3");
const email=$("#emailField_3").val();
$result.text("");
if(validateEmail(email)){
$result.text(email + " email success!");
$result.css("color", "white");
setCookie('fintatech-email-for-demo', 'emailField_3', 1);
window.open('https://login.fintatech.com/Account/Register');
}else{
$result.text(email + " is not valid !");
$result.css("color", "red");
document.getElementById("emailField_3").focus();
}
return false;
};
function validate_4(){
const $result=$("#accessDemo-result_4");
const email=$("#emailField_4").val();
$result.text("");
if(validateEmail(email)){
$result.text(email + " email success!");
$result.css("color", "white");
document.getElementById('auto-set-email-form').value=email;
document.getElementById('auto-set-email-form').scrollIntoView({
block: "start",
behavior: "smooth",
});
}else{
$result.text(email + " is not valid !");
$result.css("color", "red");
document.getElementById("emailField_4").focus();
}
return false;
};
function accessDemo(){
document.getElementById("emailField").focus();
validate();
};
function accessDemo_2(){
document.getElementById("emailField_2").focus();
validate_2();
};
function accessDemo_3(){
validate_3();
};
function accessDemo_4(){
validate_4();
};*/
/*document.addEventListener("DOMContentLoaded", function(event){
let cookieObj=document.cookie;
let hasAccepted=true;
try {
hasAccepted=cookieObj.indexOf(COOKIE_ACCEPT + "=1") > -1;
} catch(e){
hasAccepted=false;
}
if(!hasAccepted){
let body=document.getElementsByTagName("body")[0];
body.insertAdjacentHTML('beforeend', `
<div id="acceptCookies">
<a onClick="return OnCookieAccept();" id="acceptCookieCloseContainer">
<span class="closebar bar1"></span>
<span class="closebar bar2"></span>
</a>
<p><i>🍪</i></p>
<p>
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
</p>
<p class="fill">To find out more about cookies please open<a class="underline" href="https://fintatech.com/privacy-policy/" target="_blank">Privacy policy</a>.</p>
<a onClick="return OnCookieAccept();" class="acceptButton">Hide Message</a>
</div>
`);
}});*/
jQuery(document).ready(function(){
var socialBlock=jQuery('#social');
var footer=jQuery('footer');
var footerTop=footer.offset().top;
var windowHeight=jQuery(window).height();
jQuery(window).scroll(function(){
var scrollTop=jQuery(this).scrollTop();
if(scrollTop > footerTop - windowHeight){
socialBlock.css('display', 'none');
}else{
socialBlock.css('display', 'block');
}});
});
jQuery('.wpcf7-submit').click(function(){
jQuery(this).css('display', 'none');
});
document.addEventListener('wpcf7submit', function(){
jQuery('.wpcf7-submit').css('display', 'block');
}, false);
document.addEventListener('wpcf7invalid', function(){
jQuery('.wpcf7-submit').css('display', 'block');
}, false);
(()=>{"use strict";var e,r,_,t,n,a={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={exports:{}};return a[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=a,e=[],__webpack_require__.O=(r,_,t,n)=>{if(!_){var a=1/0;for(b=0;b<e.length;b++){for(var[_,t,n]=e[b],i=!0,o=0;o<_.length;o++)(!1&n||a>=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[o])))?_.splice(o--,1):(i=!1,n<a&&(a=n));if(i){e.splice(b--,1);var c=t();void 0!==c&&(r=c)}}return r}n=n||0;for(var b=e.length;b>0&&e[b-1][2]>n;b--)e[b]=e[b-1];e[b]=[_,t,n]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);__webpack_require__.r(n);var a={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;"object"==typeof i&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach((r=>a[r]=()=>e[r]));return a.default=()=>e,__webpack_require__.d(n,a),n},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>216===e?"lightbox.64a93c50cbfc18fcc89b.bundle.min.js":30===e?"text-path.cd7a35a9259be1222260.bundle.min.js":131===e?"accordion.36aa4c8c4eba17bc8e03.bundle.min.js":707===e?"alert.42cc1d522ef5c60bf874.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.3200f67fe8fb78924bea.bundle.min.js":575===e?"tabs.537e7a0f178447960143.bundle.min.js":775===e?"toggle.a6177e2e3c2bc8864bef.bundle.min.js":180===e?"video.6ebfa2c3f5493cb2eaaf.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.c084ef86600b6f11690d.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.1fde581754604147f6d7.bundle.min.js":915===e?"nested-accordion.c546968f7aebebc356f2.bundle.min.js":1===e?"contact-buttons.7c9983ed0d4964b951c2.bundle.min.js":336===e?"floating-bars.c1e9838906b386709cd4.bundle.min.js":557===e?"shared-frontend-handlers.30dc2f9c080845a413a6.bundle.min.js":396===e?"shared-editor-handlers.a182e3f9ce3b8b1e4b74.bundle.min.js":768===e?"container-editor-handlers.7e9a94a0cd0958b8c9ad.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.e92172888b8bf1cc1517.bundle.min.js":304===e?"nested-title-keyboard-handler.fc9d01c2cd0ef46d20fd.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="elementorFrontend:",__webpack_require__.l=(e,r,_,a)=>{if(t[e])t[e].push(r);else{var i,o;if(void 0!==_)for(var c=document.getElementsByTagName("script"),b=0;b<c.length;b++){var u=c[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==n+_){i=u;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",n+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(d);var n=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(_))),r)return r(_)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),o&&document.head.appendChild(i)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(76!=r){var n=new Promise(((_,n)=>t=e[r]=[_,n]));_.push(t[2]=n);var a=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(a,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var n=_&&("load"===_.type?"missing":_.type),a=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,t[1](i)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,n,[a,i,o]=_,c=0;if(a.some((r=>0!==e[r]))){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(o)var b=o(__webpack_require__)}for(r&&r(_);c<a.length;c++)n=a[c],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(r=>{t[r]=e.attributes[r]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>setTimeout((()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach((t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r})),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(){if(super.onInit(...arguments),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"array";const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach((e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")}));const r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(){if("number"!=typeof("initialisation"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")?0:this.swiper?.activeIndex))return;const e=this.getSwiperWrapperTranformXValue(),t=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each(((r,n)=>{0<=n.offsetLeft+e&&t>n.offsetLeft+e?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))}))}handleElementHandlers(){}}t.default=CarouselHandlerBase},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).parent().closest(".elementor-element").is(t)}))},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach((function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](t.changed)}})}))},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,((e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==s.indexOf(e)){let r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...arguments),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},7955:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},8685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0,r(6281);class ForceMethodImplementation extends Error{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}}t.default=InstanceType},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,(function(e){r.on(e,this)})),r;return t.split(" ").forEach((function(e){n[e]||(n[e]=[]),n[e].push(i)})),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter((e=>e))),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,(function(e,t){t.apply(r,s)})),r):r},r.__construct.apply(r,t),e.each(r,(function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})})),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)}))}})},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t}(e.sensitivity)};return new IntersectionObserver((function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n}),r)}static getElementViewportPercentage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685));t.default=window.elementorModules={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default}}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},7095:(e,t,r)=>{"use strict";var n=r(1),i=r(5290),s=r(5835).f,o=n("unscopables"),a=Array.prototype;void 0===a[o]&&s(a,o,{configurable:!0,value:i(null)}),e.exports=function(e){a[o][e]=!0}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,d,p,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&s(p,"sham",!0),o(r,u,p,e)}}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},5578:function(e,t,r){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},1507:e=>{"use strict";e.exports={}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):o(e)}:o},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),d=r(1831),p=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||d.state){var v=d.state||(d.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=p("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},5983:e=>{"use strict";e.exports=function(e){return null==e}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},9557:e=>{"use strict";e.exports=!1},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),d=r(6665),p=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&p(g,"normal",e),new Result(!0,e)},callFn=function(e){return E?(s(e),_?O(e[0],e[1],stop):O(e[0],e[1])):_?O(e,stop):O(e)};if(I)g=e.iterator;else if(C)g=e;else{if(!(m=d(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,d=r(5247),p=r(6721),h=a("toStringTag"),f="IteratorHelper",g="WrapForValidIterator",m=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?g:f);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):d(void 0,!0)}if(r.inner)try{p(r.inner.iterator,"normal")}catch(e){return p(i,"throw",e)}return i&&p(i,"normal"),d(void 0,!0)}})},v=createIteratorProxyPrototype(!0),y=createIteratorProxyPrototype(!1);s(y,h,"Iterator Helper"),e.exports=function(e,t){var r=function Iterator(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?g:f,n.nextHandler=e,n.counter=0,n.done=!1,m(this,n)};return r.prototype=t?v:y,r}},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),d=r(7914),p=r(1),h=r(9557),f=p("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=l(n)),a(n[f])||d(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6775:e=>{"use strict";e.exports={}},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),d=u.enforce,p=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function toString(){return s(this)&&p(this).source||l(this)}),"toString")},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),d="prototype",p="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+p+">"+e+"</"+p+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[d][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[d]=i(e),r=new EmptyConstructor,EmptyConstructor[d]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),d=Object.getOwnPropertyDescriptor;t.f=n?d:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:d("Symbol."+e)),u[e]}},6281:(e,t,r)=>{"use strict";var n=r(8612),i=r(6651).includes,s=r(8473),o=r(7095);n({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function includes(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),d=r(8473),p=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!d((function(){S({})})),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");p(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};p(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&p(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),d=c((function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}}));n({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function filter(e){return o(this),s(e),new d(a(this),{predicate:e})}})},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1506),s=r(8120),o=r(2293),a=r(41);n({target:"Iterator",proto:!0,real:!0},{find:function find(e){o(this),s(e);var t=a(this),r=0;return i(t,(function(t,n){if(e(t,r++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1506),s=r(8120),o=r(2293),a=r(41);n({target:"Iterator",proto:!0,real:!0},{forEach:function forEach(e){o(this),s(e);var t=a(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},4846:(e,t,r)=>{"use strict";r(3617)},7458:(e,t,r)=>{"use strict";r(1975)},6211:(e,t,r)=>{"use strict";r(3242)},9655:(e,t,r)=>{"use strict";r(9930)}},e=>{var t;t=4946,e(e.s=t)}]);
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});