window.innerWidth<768&&[].slice.call(document.querySelectorAll("[data-bss-disabled-mobile]")).forEach((function(e){e.classList.remove("animated"),e.removeAttribute("data-bss-hover-animate"),e.removeAttribute("data-aos"),e.removeAttribute("data-bss-parallax-bg"),e.removeAttribute("data-bss-scroll-zoom")})),document.addEventListener("DOMContentLoaded",(function(){[].slice.call(document.querySelectorAll("[data-bss-hover-animate]")).forEach((function(e){e.addEventListener("mouseenter",(function(e){e.target.classList.add("animated",e.target.dataset.bssHoverAnimate)})),e.addEventListener("mouseleave",(function(e){e.target.classList.remove("animated",e.target.dataset.bssHoverAnimate)}))}));var e=document.querySelectorAll("[data-bss-swiper]"),t=document.querySelectorAll(".swiper-nav-standalone");for(var n of e){let e=JSON.parse(n.dataset.bssSwiper);if(!e.navigation){e.navigation={};for(let i of t)if(i.dataset.bssSwiperTarget==="#"+n.id){e.navigation.prevEl=i.querySelector(".swiper-button-prev"),e.navigation.nextEl=i.querySelector(".swiper-button-next");break}}new Swiper(n,e)}}),!1);const carousel=document.getElementById("carouselExampleCaptions");carousel.addEventListener("mouseover",(function(){bootstrap.Carousel.getInstance(carousel).pause()})),carousel.addEventListener("mouseout",(function(){bootstrap.Carousel.getInstance(carousel).cycle()}));var ppurl="#privactyurl",contacturl="#contacturl";function clearcc(){let e=["c","l","r"],t=0;document.addEventListener("keypress",(n=>{n.key===e[t]?(t++,t===e.length&&(document.cookie="cc_cookie =; Max-Age=-99999999;",location.reload())):t=0}))}window.addEventListener("load",(function(){initCookieConsent().run({current_lang:"en",autoclear_cookies:!0,page_scripts:!0,onFirstAction:function(e,t){},onAccept:function(e){},onChange:function(e,t){},languages:{en:{consent_modal:{title:"We use cookies!",description:'Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent. ',primary_btn:{text:"Accept all",role:"accept_all"},secondary_btn:{text:"Reject all",role:"accept_necessary"}},settings_modal:{title:"Cookie preferences",save_settings_btn:"Save settings",accept_all_btn:"Accept all",reject_all_btn:"Reject all",close_btn_label:"Close",cookie_table_headers:[{col1:"Name"},{col2:"Domain"},{col3:"Expiration"},{col4:"Description"}],blocks:[{title:"Cookie usage 🍪",description:'We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want. For more details relative to cookies and other sensitive data, please read the full privacy policy.'},{title:"Strictly necessary cookies",description:"These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly",toggle:{value:"necessary",enabled:!0,readonly:!0}},{title:"Performance and Analytics cookies",description:"These cookies allow the website to remember the choices you have made in the past",toggle:{value:"analytics",enabled:!1,readonly:!1},cookie_table:[{col1:"^_ga",col2:"google.com",col3:"2 years",col4:"description ",is_regex:!0},{col1:"_gid",col2:"google.com",col3:"1 day",col4:"description "}]},{title:"Advertisement and Targeting cookies",description:"These cookies collect information about how you use the website, which pages you visited and which links you clicked on. All of the data is anonymized and cannot be used to identify you",toggle:{value:"targeting",enabled:!1,readonly:!1}},{title:"More information",description:'For any queries in relation to our policy on cookies and your choices, please contact us.'}]}}}})})),clearcc(),function(){"use strict";var e="initCookieConsent";"undefined"!=typeof window&&"function"!=typeof window[e]&&(window[e]=function(e){var t,n,i,a,o,s,r,c,l,d,u,h,f,p,g,m,v,_,b,y,k,w,D,x,C,A,M,S,N,T,E,R,O={mode:"opt-in",current_lang:"en",auto_language:null,autorun:!0,page_scripts:!0,hide_from_bots:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:window.location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},j={},L={},I=null,Y=!0,H=!1,F=!1,W=!1,P=!1,q=!1,J=!0,B=[],U=!1,z=[],V=[],K=[],G=!1,X=[],$=[],Q=[],Z=[],ee=[],te=document.documentElement,ne=function(e){"number"==typeof(t=e).cookie_expiration&&(O.cookie_expiration=t.cookie_expiration),"number"==typeof t.cookie_necessary_only_expiration&&(O.cookie_necessary_only_expiration=t.cookie_necessary_only_expiration),"boolean"==typeof t.autorun&&(O.autorun=t.autorun),"string"==typeof t.cookie_domain&&(O.cookie_domain=t.cookie_domain),"string"==typeof t.cookie_same_site&&(O.cookie_same_site=t.cookie_same_site),"string"==typeof t.cookie_path&&(O.cookie_path=t.cookie_path),"string"==typeof t.cookie_name&&(O.cookie_name=t.cookie_name),"function"==typeof t.onAccept&&(c=t.onAccept),"function"==typeof t.onFirstAction&&(d=t.onFirstAction),"function"==typeof t.onChange&&(l=t.onChange),"opt-out"===t.mode&&(O.mode="opt-out"),"number"==typeof t.revision&&(t.revision>-1&&(O.revision=t.revision),q=!0),"boolean"==typeof t.autoclear_cookies&&(O.autoclear_cookies=t.autoclear_cookies),!0===t.use_rfc_cookie&&(O.use_rfc_cookie=!0),"boolean"==typeof t.hide_from_bots&&(O.hide_from_bots=t.hide_from_bots),O.hide_from_bots&&(G=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),O.page_scripts=!0===t.page_scripts,"browser"===t.auto_language||!0===t.auto_language?O.auto_language="browser":"document"===t.auto_language&&(O.auto_language="document"),O.auto_language,O.current_lang=de(t.languages,t.current_lang)},ie=function(e){for(var t="accept-",n=r("c-settings"),i=r(t+"all"),a=r(t+"necessary"),o=r(t+"custom"),s=0;s0?Object.prototype.hasOwnProperty.call(t,O.current_lang)?O.current_lang:be(t)[0]:void 0},oe=function(e){if(!0===t.force_consent&&ye(te,"force--consent"),!m){m=le("div");var n=le("div"),i=le("div");m.id="cm",n.id="c-inr-i",i.id="cm-ov",m.setAttribute("role","dialog"),m.setAttribute("aria-modal","true"),m.setAttribute("aria-hidden","false"),m.setAttribute("aria-labelledby","c-ttl"),m.setAttribute("aria-describedby","c-txt"),g.appendChild(m),g.appendChild(i),m.style.visibility=i.style.visibility="hidden",i.style.opacity=0}var a=t.languages[e].consent_modal.title;a&&(v||((v=le("div")).id="c-ttl",v.setAttribute("role","heading"),v.setAttribute("aria-level","2"),n.appendChild(v)),v.innerHTML=a);var o=t.languages[e].consent_modal.description;q&&(o=J?o.replace("{{revision_message}}",""):o.replace("{{revision_message}}",t.languages[e].consent_modal.revision_message||"")),_||((_=le("div")).id="c-txt",n.appendChild(_)),_.innerHTML=o;var s,r=t.languages[e].consent_modal.primary_btn,c=t.languages[e].consent_modal.secondary_btn;r&&(b||((b=le("button")).id="c-p-bn",b.className="c-bn","accept_all"===r.role&&(s="all"),_e(b,"click",(function(){j.hide(),j.accept(s)}))),b.innerHTML=t.languages[e].consent_modal.primary_btn.text),c&&(y||((y=le("button")).id="c-s-bn",y.className="c-bn c_link","accept_necessary"===c.role?_e(y,"click",(function(){j.hide(),j.accept([])})):_e(y,"click",(function(){j.showSettings(0)}))),y.innerHTML=t.languages[e].consent_modal.secondary_btn.text);var l=t.gui_options;w||((w=le("div")).id="c-inr",w.appendChild(n)),k||((k=le("div")).id="c-bns",l&&l.consent_modal&&!0===l.consent_modal.swap_buttons?(c&&k.appendChild(y),r&&k.appendChild(b),k.className="swap"):(r&&k.appendChild(b),c&&k.appendChild(y)),(r||c)&&w.appendChild(k),m.appendChild(w)),H=!0,ie(w)},se=function(e){if(D)(S=le("div")).id="s-bl";else{D=le("div");var n=le("div"),i=le("div"),a=le("div");x=le("div"),C=le("div");var o=le("div");A=le("button");var c=le("div");M=le("div");var l=le("div");D.id="s-cnt",n.id="c-vln",a.id="c-s-in",i.id="cs",C.id="s-ttl",x.id="s-inr",o.id="s-hdr",M.id="s-bl",A.id="s-c-bn",l.id="cs-ov",c.id="s-c-bnc",A.className="c-bn",D.setAttribute("role","dialog"),D.setAttribute("aria-modal","true"),D.setAttribute("aria-hidden","true"),D.setAttribute("aria-labelledby","s-ttl"),C.setAttribute("role","heading"),D.style.visibility=l.style.visibility="hidden",l.style.opacity=0,c.appendChild(A),_e(n,"keydown",(function(e){27===(e=e||window.event).keyCode&&j.hideSettings(0)}),!0),_e(A,"click",(function(){j.hideSettings(0)}))}A.setAttribute("aria-label",t.languages[e].settings_modal.close_btn_label||"Close"),r=t.languages[e].settings_modal.blocks,s=t.languages[e].settings_modal.cookie_table_headers;var d=r.length;C.innerHTML=t.languages[e].settings_modal.title;for(var u=0;u-1?(F.checked=!0,!S&&Q.push(!0)):!S&&Q.push(!1),!S&&Z.push(B),p.readonly?(F.disabled=!0,ye(W,"c-ro"),!S&&ee.push(!0)):!S&&ee.push(!1),ye(y,"b-acc"),ye(w,"b-bn"),ye(b,"b-ex"),y.id=O,y.setAttribute("aria-hidden","true"),H.appendChild(F),H.appendChild(W),H.appendChild(P),w.appendChild(H),_&&function(e,t,n){_e(I,"click",(function(){we(t,"act")?(ke(t,"act"),n.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true")):(ye(t,"act"),n.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false"))}),!1)}(y,b,I)}else if(h){var U=le("div");U.className="b-tl",U.setAttribute("role","heading"),U.setAttribute("aria-level","3"),U.insertAdjacentHTML("beforeend",h),w.appendChild(U)}if(h&&b.appendChild(w),f&&y.appendChild(k),!v&&void 0!==m){for(var z=document.createDocumentFragment(),V=0;V-1;if(!Q[++n]&&Object.prototype.hasOwnProperty.call(l,"cookie_table")&&(e||d)){var u=l.cookie_table,h=be(s[0])[0],f=u.length;"on_disable"===l.toggle.reload&&d&&(U=!0);for(var p=0;p-1&&v.push(i[D])}v.length>0&&(ve(v,k,g),"on_clear"===l.toggle.reload&&(U=!0))}}}}},ce=function(e,t){return e.indexOf(t)},le=function(e){var t=document.createElement(e);return"button"===e&&t.setAttribute("type",e),t},de=function(e,t){return"browser"===O.auto_language?ae(ue(),e):"document"===O.auto_language?ae(document.documentElement.lang,e):"string"==typeof t?O.current_lang=ae(t,e):(O.current_lang,O.current_lang)},ue=function(){var e=navigator.language||navigator.browserLanguage;return e.length>2&&(e=e[0]+e[1]),e.toLowerCase()};j.allowedCategory=function(e){if(Y&&"opt-in"!==O.mode)t=K;else var t=JSON.parse(me(O.cookie_name,"one",!0)||"{}").categories||[];return ce(t,e)>-1},j.run=function(t){if(!document.getElementById("cc_div")){if(ne(t),G)return;L=JSON.parse(me(O.cookie_name,"one",!0)||"{}");var s=void 0!==(a=L.consent_uuid);if((n=L.consent_date)&&(n=new Date(n)),(i=L.last_consent_update)&&(i=new Date(i)),I=void 0!==L.data?L.data:null,q&&L.revision!==O.revision&&(J=!1),H=Y=!(s&&J&&n&&i&&a),function(){(p=le("div")).id="cc--main",p.style.position="fixed",p.style.zIndex="2147483647",p.innerHTML='\x3c!--[if lt IE 9 ]>
\x3c!--\x3e
\x3c!---1&&(ye(e,a),("bar"!==a||"middle"!==o[0])&&ce(n,o[0])>-1))for(var r=0;r-1&&ye(e,s)}}(t.gui_options),ie(),O.autorun&&H&&j.show(t.delay||0),setTimeout((function(){ye(p,"c--anim")}),30),setTimeout((function(){var e,t;e=!1,t=!1,_e(document,"keydown",(function(n){"Tab"===(n=n||window.event).key&&(o&&(n.shiftKey?document.activeElement===o[0]&&(o[1].focus(),n.preventDefault()):document.activeElement===o[1]&&(o[0].focus(),n.preventDefault()),t||P||(t=!0,!e&&n.preventDefault(),n.shiftKey?o[3]?o[2]?o[2].focus():o[0].focus():o[1].focus():o[3]?o[3].focus():o[0].focus())),!t&&(e=!0))})),document.contains&&_e(p,"click",(function(e){e=e||window.event,W?x.contains(e.target)?P=!0:(j.hideSettings(0),P=!1):F&&m.contains(e.target)&&(P=!0)}),!0)}),100),Y)"opt-out"===O.mode&&(O.mode,he(K));else{var r="boolean"==typeof L.rfc_cookie;(!r||r&&L.rfc_cookie!==O.use_rfc_cookie)&&(L.rfc_cookie=O.use_rfc_cookie,ge(O.cookie_name,JSON.stringify(L))),u=pe(fe()),he(),"function"==typeof c&&c(L)}}},j.showSettings=function(e){setTimeout((function(){ye(te,"show--settings"),D.setAttribute("aria-hidden","false"),W=!0,setTimeout((function(){F?f=document.activeElement:h=document.activeElement,0!==$.length&&($[3]?$[3].focus():$[0].focus(),o=$)}),200)}),e>0?e:0)};var he=function(e){if(O.page_scripts){var t=document.querySelectorAll("script["+O.script_selector+"]"),n=e||L.categories||[],i=function(e,t){if(t-1){a.type="text/javascript",a.removeAttribute(O.script_selector);var s=a.getAttribute("data-src");s&&a.removeAttribute("data-src");var r=le("script");if(r.textContent=a.innerHTML,function(e,t){for(var n=t.attributes,i=n.length,a=0;a0)for(var o=0;o0?e:t?30:0)},j.hide=function(){H&&(ke(te,"show--consent"),m.setAttribute("aria-hidden","true"),F=!1,setTimeout((function(){h.focus(),o=null}),200))},j.hideSettings=function(){ke(te,"show--settings"),W=!1,D.setAttribute("aria-hidden","true"),setTimeout((function(){F?(f&&f.focus(),o=X):(h&&h.focus(),o=null),P=!1}),200)},j.accept=function(e,t){var o=e||void 0,s=t||[],r=[];if(o)if("object"==typeof o&&"number"==typeof o.length)for(var h=0;h=1)for(h=0;h0)for(var o=0;o0&&re(),n||(n=new Date),a||(a=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){try{return(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)}catch(e){return""}}))),L={categories:e,level:e,revision:O.revision,data:I,rfc_cookie:O.use_rfc_cookie,consent_date:n.toISOString(),consent_uuid:a},(Y||B.length>0)&&(J=!0,i=i?new Date:n,L.last_consent_update=i.toISOString(),u=pe(fe()),ge(O.cookie_name,JSON.stringify(L)),he()),Y&&(O.autoclear_cookies&&re(!0),"function"==typeof d&&d(j.getUserPreferences(),L),"function"==typeof c&&c(L),Y=!1,"opt-in"===O.mode)||("function"==typeof l&&B.length>0&&l(L,B),U&&window.location.reload())}(r)},j.eraseCookies=function(e,t,n){var i=[],a=n?[n,"."+n]:[O.cookie_domain,"."+O.cookie_domain];if("object"==typeof e&&e.length>0)for(var o=0;o-1&&(a+=" Domain="+O.cookie_domain+";"),"https:"===window.location.protocol&&(a+=" Secure;"),document.cookie=a},me=function(e,t,n){var i;if("one"===t){if((i=(i=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))?n?i.pop():e:"")&&e===O.cookie_name){try{i=JSON.parse(i)}catch(e){try{i=JSON.parse(decodeURIComponent(i))}catch(e){i={}}}i=JSON.stringify(i)}}else if("all"===t){var a=document.cookie.split(/;\s*/);i=[];for(var o=0;o11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},_={field:null,bound:void 0,position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},b=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},y=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"},k=function(e,t,n){var i=new Date(n,0,1);return''+Math.ceil(((new Date(n,t,e)-i)/864e5+i.getDay()+1)/7)+""},w=function(e,t,n,i){return''+(t?e.reverse():e).join("")+""},D=function(e,t,n,i,a,o){var s,r,l,d,u,h=e._o,f=n===h.minYear,p=n===h.maxYear,g='
',m=!0,v=!0;for(l=[],s=0;s<12;s++)l.push('");for(d='
'+h.i18n.months[i]+'
",c(h.yearRange)?(s=h.yearRange[0],r=h.yearRange[1]+1):(s=n-h.yearRange,r=1+n+h.yearRange),l=[];s=h.minYear&&l.push('");return u='
'+n+h.yearSuffix+'
",h.showMonthAfterYear?g+=u+d:g+=d+u,f&&(0===i||h.minMonth>=i)&&(m=!1),p&&(11===i||h.maxMonth<=i)&&(v=!1),0===t&&(g+='"),t===e._o.numberOfMonths-1&&(g+='"),g+"
"},x=function(e,t,n){return''+function(e){var t,n=[];for(e.showWeekNumber&&n.push(""),t=0;t<7;t++)n.push('");return""+(e.isRTL?n.reverse():n).join("")+""}(e)+function(e){return""+e.join("")+""}(t)+"
'+b(e,t,!0)+"
"},C=function(s){var c=this,d=c.config(s);c._onMouseDown=function(e){if(c._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(r(t,"is-disabled")||(!r(t,"pika-button")||r(t,"is-empty")||r(t.parentNode,"is-disabled")?r(t,"pika-prev")?c.prevMonth():r(t,"pika-next")&&c.nextMonth():(c.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),d.bound&&a((function(){c.hide(),d.blurFieldOnSelect&&d.field&&d.field.blur()}),100))),r(t,"pika-select"))c._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},c._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(r(t,"pika-select-month")?c.gotoMonth(t.value):r(t,"pika-select-year")&&c.gotoYear(t.value))},c._onKeyChange=function(e){if(e=e||window.event,c.isVisible())switch(e.keyCode){case 13:case 27:d.field&&d.field.blur();break;case 37:e.preventDefault(),c.adjustDate("subtract",1);break;case 38:c.adjustDate("subtract",7);break;case 39:c.adjustDate("add",1);break;case 40:c.adjustDate("add",7)}},c._onInputChange=function(n){var i;n.firedBy!==c&&(i=d.parse?d.parse(d.field.value,d.format):t?(i=e(d.field.value,d.format,d.formatStrict))&&i.isValid()?i.toDate():null:new Date(Date.parse(d.field.value)),l(i)&&c.setDate(i),c._v||c.show())},c._onInputFocus=function(){c.show()},c._onInputClick=function(){c.show()},c._onInputBlur=function(){var e=i.activeElement;do{if(r(e,"pika-single"))return}while(e=e.parentNode);c._c||(c._b=a((function(){c.hide()}),50)),c._c=!1},c._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,i=t;if(t){!n&&r(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),o(t,"change",c._onChange)));do{if(r(i,"pika-single")||i===d.trigger)return}while(i=i.parentNode);c._v&&t!==d.trigger&&i!==d.trigger&&c.hide()}},c.el=i.createElement("div"),c.el.className="pika-single"+(d.isRTL?" is-rtl":"")+(d.theme?" "+d.theme:""),o(c.el,"mousedown",c._onMouseDown,!0),o(c.el,"touchend",c._onMouseDown,!0),o(c.el,"change",c._onChange),o(i,"keydown",c._onKeyChange),d.field&&(d.container?d.container.appendChild(c.el):d.bound?i.body.appendChild(c.el):d.field.parentNode.insertBefore(c.el,d.field.nextSibling),o(d.field,"change",c._onInputChange),d.defaultDate||(t&&d.field.value?d.defaultDate=e(d.field.value,d.format).toDate():d.defaultDate=new Date(Date.parse(d.field.value)),d.setDefaultDate=!0));var u=d.defaultDate;l(u)?d.setDefaultDate?c.setDate(u,!0):c.gotoDate(u):c.gotoDate(new Date),d.bound?(this.hide(),c.el.className+=" is-bound",o(d.trigger,"click",c._onInputClick),o(d.trigger,"focus",c._onInputFocus),o(d.trigger,"blur",c._onInputBlur)):this.show()};return C.prototype={config:function(e){this._o||(this._o=g({},_,!0));var t=g(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,l(t.minDate)||(t.minDate=!1),l(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,l(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return l(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",m(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),l(e)){var n=this._o.minDate,i=this._o.maxDate;l(n)&&ei&&(e=i),this._d=new Date(e.getTime()),f(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),m(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(l(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),a=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=a=o&&(this._y=o,!isNaN(r)&&this._m>r&&(this._m=r)),t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var l=0;l'+D(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t)+"";this.el.innerHTML=c,n.bound&&"hidden"!==n.field.type&&a((function(){n.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label","Use the arrow keys to pick a date")}},adjustPosition:function(){var e,t,n,a,o,s,r,c,l,d;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,a=this.el.offsetHeight,o=window.innerWidth||i.documentElement.clientWidth,s=window.innerHeight||i.documentElement.clientHeight,r=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,"function"==typeof e.getBoundingClientRect)c=(d=e.getBoundingClientRect()).left+window.pageXOffset,l=d.bottom+window.pageYOffset;else for(c=t.offsetLeft,l=t.offsetTop+t.offsetHeight;t=t.offsetParent;)c+=t.offsetLeft,l+=t.offsetTop;(this._o.reposition&&c+n>o||this._o.position.indexOf("right")>-1&&c-n+e.offsetWidth>0)&&(c=c-n+e.offsetWidth),(this._o.reposition&&l+a>s+r||this._o.position.indexOf("top")>-1&&l-a-e.offsetHeight>0)&&(l=l-a-e.offsetHeight),this.el.style.left=c+"px",this.el.style.top=l+"px"}},render:function(e,t,n){var i=this._o,a=new Date,o=h(e,t),s=new Date(e,t,1).getDay(),r=[],c=[];f(a),i.firstDay>0&&(s-=i.firstDay)<0&&(s+=7);for(var u=0===t?11:t-1,g=11===t?0:t+1,m=0===t?e-1:e,v=11===t?e+1:e,_=h(m,u),b=o+s,D=b;D>7;)D-=7;b+=7-D;for(var C=!1,A=0,M=0;A=o+s,O=A-s+1,j=t,L=e,I=i.startRange&&p(i.startRange,S),Y=i.endRange&&p(i.endRange,S),H=i.startRange&&i.endRange&&i.startRangei.maxDate||i.disableWeekends&&d(S)||i.disableDayFn&&i.disableDayFn(S),isEmpty:R,isStartRange:I,isEndRange:Y,isInRange:H,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&N&&(C=!0),c.push(y(F)),7==++M&&(i.showWeekNumber&&c.unshift(k(A-s,t,e)),r.push(w(c,i.isRTL,i.pickWholeWeek,C)),c=[],M=0,C=!1)}return x(i,r,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),function(e,t){e.className=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}((" "+e.className+" ").replace(" "+t+" "," "))}(this.el,"is-hidden"),this._o.bound&&(o(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&s(i,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",function(e,t){r(e,t)||(e.className=""===e.className?t:e.className+" "+t)}(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){this.hide(),s(this.el,"mousedown",this._onMouseDown,!0),s(this.el,"touchend",this._onMouseDown,!0),s(this.el,"change",this._onChange),s(i,"keydown",this._onKeyChange),this._o.field&&(s(this._o.field,"change",this._onInputChange),this._o.bound&&(s(this._o.trigger,"click",this._onInputClick),s(this._o.trigger,"focus",this._onInputFocus),s(this._o.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},C}));var TxtRotate=function(e,t,n){this.toRotate=t,this.el=e,this.loopNum=0,this.period=parseInt(n,10)||2e3,this.txt="",this.tick(),this.isDeleting=!1};TxtRotate.prototype.tick=function(){var e=this.loopNum%this.toRotate.length,t=this.toRotate[e];this.isDeleting?this.txt=t.substring(0,this.txt.length-1):this.txt=t.substring(0,this.txt.length+1),this.el.innerHTML=''+this.txt+"";var n=this,i=300-100*Math.random();this.isDeleting&&(i/=2),this.isDeleting||this.txt!==t?this.isDeleting&&""===this.txt&&(this.isDeleting=!1,this.loopNum++,i=500):(i=this.period,this.isDeleting=!0),setTimeout((function(){n.tick()}),i)},window.onload=function(){for(var e=document.getElementsByClassName("txt-rotate"),t=0;t .wrap { border-right: 0.08em solid #666 }",document.body.appendChild(a)},document.querySelectorAll(".datepicker").forEach((function(e){new Pikaday({field:e})}));