!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).SEMICOLON=t()}(this,()=>{"use strict";const l={ pageTransition:false, cursor:false, headerSticky:true, headerMobileSticky:false, menuBreakpoint:992, pageMenuBreakpoint:992, gmapAPI:"", scrollOffset:60, scrollExternalLinks:true, jsFolder:"js/", cssFolder:"css/", jsLoadType:'fn' },c={baseEl:document,elRoot:document.documentElement,elHead:document.head,elBody:document.body,hash:window.location.hash,topScrollOffset:0,elWrapper:document.getElementById("wrapper"),elHeader:document.getElementById("header"),headerClasses:"",elHeaderWrap:document.getElementById("header-wrap"),headerWrapClasses:"",headerHeight:0,headerOffset:0,headerWrapHeight:0,headerWrapOffset:0,elPrimaryMenus:document.querySelectorAll(".primary-menu"),elPrimaryMenuTriggers:document.querySelectorAll(".primary-menu-trigger"),elPageMenu:document.getElementById("page-menu"),pageMenuOffset:0,elSlider:document.getElementById("slider"),elFooter:document.getElementById("footer"),portfolioAjax:{},sliderParallax:{el:document.querySelector(".slider-parallax"),caption:document.querySelector(".slider-parallax .slider-caption"),inner:document.querySelector(".slider-inner"),offset:0},get menuBreakpoint(){return this.elBody.getAttribute("data-menu-breakpoint")||l.menuBreakpoint},get pageMenuBreakpoint(){return this.elBody.getAttribute("data-pagemenu-breakpoint")||l.pageMenuBreakpoint},get customCursor(){var e=this.elBody.getAttribute("data-custom-cursor")||l.cursor;return"true"==e||!0===e},get pageTransition(){var e=this.elBody.classList.contains("page-transition")||l.pageTransition;return"true"==e||!0===e},scrollPos:{x:0,y:0},$jq:"undefined"!=typeof jQuery?jQuery.noConflict():"",resizers:{},recalls:{},debounced:!1,events:{},modules:{},fn:{},required:{jQuery:{plugin:"jquery",fn:()=>"undefined"!=typeof jQuery,file:l.jsFolder+"jquery.js",id:"canvas-jquery"}},fnInit:()=>{n.init(),o.init(),r.init()}},a={getOptions:l,getVars:c,run:e=>{Object.values(e).map(e=>"function"==typeof e&&e.call())},runBase:()=>{a.run(e)},runModules:()=>{a.run(t)},runContainerModules:e=>{if(void 0===e)return!1;a.getVars.baseEl=e,a.runModules(),a.getVars.baseEl=document},breakpoints:()=>{let t=a.viewport().width;const i={xxl:{enter:1400,exit:99999},xl:{enter:1200,exit:1399},lg:{enter:992,exit:1199.98},md:{enter:768,exit:991.98},sm:{enter:576,exit:767.98},xs:{enter:0,exit:575.98}};let s="";Object.keys(i).forEach(e=>{t>i[e].enter&&t<=i[e].exit?c.elBody.classList.add("device-"+e):(c.elBody.classList.remove("device-"+e),""!=s&&c.elBody.classList.remove("device-down-"+s)),t<=i[e].exit&&""!=s&&c.elBody.classList.add("device-down-"+s),s=e,t>i[e].enter?c.elBody.classList.add("device-up-"+e):c.elBody.classList.remove("device-up-"+e)})},colorScheme:()=>{c.elBody.classList.contains("adaptive-color-scheme")&&(window.matchMedia("(prefers-color-scheme: dark)").matches?c.elBody.classList.add("dark"):c.elBody.classList.remove("dark"))},throttle:(e,t)=>{e(),setTimeout(function(){},t)},debounce:(e,t)=>{clearTimeout(c.debounced),c.debounced=setTimeout(e,t)},addEvent:(e,t,i={})=>{void 0!==e&&void 0!==t&&(i=new CustomEvent(t,{detail:i}),e.dispatchEvent(i),c.events[t]=!0)},scrollEnd:(e,t=199)=>{e&&"function"==typeof e&&window.addEventListener("scroll",()=>{a.debounce(e,t)},{passive:!0})},viewport:()=>({width:window.innerWidth||c.elRoot.clientWidth,height:window.innerHeight||c.elRoot.clientHeight}),getSelector:(e,t=!0,i=!0)=>(t?(e=a.getVars.baseEl!==document?jQuery(a.getVars.baseEl).find(e):jQuery(e),i&&(e="string"==typeof i?e.filter(":not("+i+")"):e.filter(":not(.customjs)"))):e=i?"string"==typeof i?a.getVars.baseEl.querySelectorAll(e+":not("+i+")"):a.getVars.baseEl.querySelectorAll(e+":not(.customjs)"):a.getVars.baseEl.querySelectorAll(e),e),onResize:(e,t=333)=>{e&&"function"==typeof e&&(window.onresize=()=>{a.debounce(e,t)})},imagesLoaded:e=>{let t=e.getElementsByTagName("img")||document.images,i=t.length,s=0;async function r(){++s===i&&a.addEvent(e,"CanvasImagesLoaded")}i<1&&a.addEvent(e,"CanvasImagesLoaded"),[].forEach.call(t,function(e){e.complete?r():e.addEventListener("load",r,!1)})},contains:(e,t)=>{e=e.split(" ");let i=!1;return e.forEach(e=>{c.elBody.classList.contains(e)&&(i=!0)}),i},has:(e,t)=>[...e].filter(e=>e.querySelector(t)),filtered:(e,t)=>[...e].filter(e=>e.matches(t)),siblings:(t,e=!1)=>e?[...e].filter(e=>e!==t):[...t.parentNode.children].filter(e=>e!==t),getNext:(e,t)=>(e=e.nextElementSibling,!t||e&&e.matches(t)?e:null),offset:e=>{var e=e.getBoundingClientRect(),t=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+i,left:e.left+t}},slideUp:(e,t=500,i=!1)=>{e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),"function"==typeof i&&i()},t)},slideDown:(e,t=500,i=!1)=>{e.style.removeProperty("display");let s=window.getComputedStyle(e).display;"none"===s&&(s="block"),e.style.display=s;var r=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=r+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout(()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),"function"==typeof i&&i()},t)},slideToggle:(e,t=500,i=!1)=>"none"===window.getComputedStyle(e).display?a.slideDown(e,t,i):a.slideUp(e,t,i),classesFn:(t,e,i)=>{e.split(" ").forEach(e=>{"add"==t?i.classList.add(e):"toggle"==t?i.classList.toggle(e):i.classList.remove(e)})},loadCSS:e=>{var t,i=e.file,s=e.id||!1,e=e.cssFolder||!1;return!!i&&!(s&&document.getElementById(s)||((t=document.createElement("link")).id=s,t.href=e?l.cssFolder+i:i,t.rel="stylesheet",t.type="text/css",c.elHead.appendChild(t),0))},loadJS:e=>{var t=e.file,i=e.id||!1,s=e.type||!1,r=e.callback,a=e.async||!0,n=e.defer||!0,e=e.jsFolder||!1;if(!t)return!1;if(i&&document.getElementById(i))return!1;var o=document.createElement("script");if(void 0!==r){if("function"!=typeof r)throw new Error("Not a valid callback!");o.onload=r}return o.id=i,o.src=e?l.jsFolder+t:t,s&&(o.type=s),o.async=!!a,o.defer=!!n,c.elBody.appendChild(o),!0},isFuncTrue:async s=>{var r;return"function"==typeof s&&(r=0,new Promise((e,t)=>{var i=setInterval(()=>{s()?(clearInterval(i),e(!0)):30console.log("Function does not exist: "+s)))},initFunction:e=>{c.elBody.classList.add(e.class),a.addEvent(window,e.event),c.events[e.event]=!0},runModule:t=>{let e="http:"==window.location.protocol||"https:"==window.location.protocol?"module":"fn",i=("fn"==(e=!l.jsLoadType||"fn"!=l.jsLoadType&&"module"!=l.jsLoadType?e:l.jsLoadType)?l.jsFolder:"./")+e+"."+t.plugin+".js";var s;return t.file&&(i=t.file),"module"==e?import(i).then(e=>e.default(t.selector)).catch(e=>{console.log(t.plugin+": Module could not be loaded"),console.log(e)}):(s=()=>void 0!==a.getVars.fn[t.plugin])()?a.getVars.fn[t.plugin](t.selector):(a.loadJS({file:i,id:"canvas-"+t.plugin+"-fn"}),a.isFuncTrue(s).then(e=>{if(!e)return!1;a.getVars.fn[t.plugin](t.selector)})),!0},initModule:t=>{var s,r,e;return!("dependent"!=t.selector&&("object"==typeof t.selector?(t.selector instanceof jQuery&&(t.selector=t.selector[0]),t.selector):a.getVars.baseEl.querySelectorAll(t.selector)).length<1||(e=r=!0,t.required&&Array.isArray(t.required)&&(s={},t.required.forEach(e=>s[e.plugin]=!!e.fn()),t.required.forEach(i=>{i.fn()||(r=!1,async function(){a.loadJS({file:i.file,id:i.id});var e=new Promise(e=>{var t=setInterval(()=>{i.fn()&&(s[i.plugin]=!0,Object.values(s).every(e=>!0===e))&&(clearInterval(t),e(!0))},333)});r=await e,a.runModule(t)}())})),void 0!==t.dependency&&"function"==typeof t.dependency&&(e=!1,e=async function(){return new Promise(e=>{1==t.dependency.call(t,"dependent")&&e(!0)})}()),r&&e&&a.runModule(t),0))},topScrollOffset:()=>{let e=0,t=c.elPageMenu?.querySelector("#page-menu-wrap")?.offsetHeight||0;c.elBody.classList.contains("is-expanded-menu")&&(c.elHeader?.classList.contains("sticky-header")&&(e=c.elHeaderWrap.offsetHeight),c.elPageMenu?.classList.contains("dots-menu"))&&(t=0),e+=t,a.getVars.topScrollOffset=e+l.scrollOffset}},e={init:()=>{SEMICOLON.Mobile.any()&&c.elBody.classList.add("device-touch")},menuBreakpoint:()=>{a.getVars.menuBreakpoint<=a.viewport().width?c.elBody.classList.add("is-expanded-menu"):c.elBody.classList.remove("is-expanded-menu"),c.elPageMenu&&(void 0===a.getVars.pageMenuBreakpoint&&(a.getVars.pageMenuBreakpoint=a.getVars.menuBreakpoint),a.getVars.pageMenuBreakpoint<=a.viewport().width?c.elBody.classList.add("is-expanded-pagemenu"):c.elBody.classList.remove("is-expanded-pagemenu"))},goToTop:()=>a.initModule({selector:"#gotoTop",plugin:"gototop"}),stickFooterOnSmall:()=>a.initModule({selector:"#footer",plugin:"stickfooteronsmall"}),logo:()=>a.initModule({selector:"#logo",plugin:"logo"}),setHeaderClasses:()=>{a.getVars.headerClasses=c.elHeader?.className||"",a.getVars.headerWrapClasses=c.elHeaderWrap?.className||""},headers:()=>a.initModule({selector:"#header",plugin:"headers"}),menus:()=>a.initModule({selector:"#header",plugin:"menus"}),pageMenu:()=>a.initModule({selector:"#page-menu",plugin:"pagemenu"}),sliderDimensions:()=>a.initModule({selector:".slider-element",plugin:"sliderdimensions"}),sliderMenuClass:()=>a.initModule({selector:".transparent-header + .swiper_wrapper,.swiper_wrapper + .transparent-header,.transparent-header + .revslider-wrap,.revslider-wrap + .transparent-header",plugin:"slidermenuclass"}),topSearch:()=>a.initModule({selector:"#top-search-trigger",plugin:"search"}),topCart:()=>a.initModule({selector:"#top-cart",plugin:"topcart"}),sidePanel:()=>a.initModule({selector:"#side-panel",plugin:"sidepanel"}),adaptiveColorScheme:()=>a.initModule({selector:".adaptive-color-scheme",plugin:"adaptivecolorscheme"}),portfolioAjax:()=>a.initModule({selector:".portfolio-ajax",plugin:"ajaxportfolio"}),cursor:()=>{if(c.customCursor)return a.initModule({selector:"body",plugin:"cursor"})},setBSTheme:()=>{c.elBody.classList.contains("dark")?document.querySelector("html").setAttribute("data-bs-theme","dark"):(document.querySelector("html").removeAttribute("data-bs-theme"),document.querySelectorAll(".dark")?.forEach(e=>e.setAttribute("data-bs-theme","dark"))),c.elBody.querySelectorAll(".not-dark")?.forEach(e=>e.setAttribute("data-bs-theme","light"))}},t={easing:()=>a.initModule({selector:"[data-easing]",plugin:"easing",required:[c.required.jQuery]}),bootstrap:()=>{let t=!0;document.querySelectorAll("*").forEach(e=>t&&e.getAttributeNames().some(e=>{if(e.includes("data-bs"))return t=!1,a.initModule({selector:"body",plugin:"bootstrap"})}))},resizeVideos:e=>a.initModule({selector:e||'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',plugin:"fitvids",required:[c.required.jQuery]}),pageTransition:()=>{if(c.pageTransition)return a.initModule({selector:"body",plugin:"pagetransition"})},lazyLoad:e=>a.initModule({selector:e||".lazy:not(.lazy-loaded)",plugin:"lazyload"}),dataClasses:()=>a.initModule({selector:"[data-class]",plugin:"dataclasses"}),dataHeights:()=>a.initModule({selector:"[data-height-xxl],[data-height-xl],[data-height-lg],[data-height-md],[data-height-sm],[data-height-xs]",plugin:"dataheights"}),lightbox:e=>a.initModule({selector:e||"[data-lightbox]",plugin:"lightbox",required:[c.required.jQuery]}),modal:e=>a.initModule({selector:e||".modal-on-load",plugin:"modal",required:[c.required.jQuery]}),parallax:e=>a.initModule({selector:e||".parallax .parallax-bg,.parallax .parallax-element",plugin:"parallax"}),animations:e=>a.initModule({selector:e||"[data-animate]",plugin:"animations"}),hoverAnimations:e=>a.initModule({selector:e||"[data-hover-animate]",plugin:"hoveranimation"}),gridInit:e=>a.initModule({selector:e||".grid-container",plugin:"isotope",required:[c.required.jQuery]}),filterInit:e=>a.initModule({selector:e||".grid-filter,.custom-filter",plugin:"gridfilter",required:[c.required.jQuery]}),canvasSlider:e=>a.initModule({selector:e||".swiper_wrapper",plugin:"swiper"}),sliderParallax:()=>a.initModule({selector:".slider-parallax",plugin:"sliderparallax"}),flexSlider:e=>a.initModule({selector:e||".fslider",plugin:"flexslider",required:[c.required.jQuery]}),html5Video:e=>a.initModule({selector:e||".video-wrap",plugin:"html5video"}),youtubeBgVideo:e=>a.initModule({selector:e||".yt-bg-player",plugin:"youtube",required:[c.required.jQuery]}),toggle:e=>a.initModule({selector:e||".toggle",plugin:"toggles"}),accordion:e=>a.initModule({selector:e||".accordion",plugin:"accordions",required:[c.required.jQuery]}),counter:e=>a.initModule({selector:e||".counter",plugin:"counter",required:[c.required.jQuery]}),countdown:e=>a.initModule({selector:e||".countdown",plugin:"countdown",required:[c.required.jQuery]}),gmap:e=>a.initModule({selector:e||".gmap",plugin:"gmap",required:[c.required.jQuery]}),roundedSkill:e=>a.initModule({selector:e||".rounded-skill",plugin:"piechart",required:[c.required.jQuery]}),progress:e=>a.initModule({selector:e||".skill-progress",plugin:"progress"}),twitterFeed:e=>a.initModule({selector:e||".twitter-feed",plugin:"twitter",required:[c.required.jQuery]}),flickrFeed:e=>a.initModule({selector:e||".flickr-feed",plugin:"flickrfeed",required:[c.required.jQuery]}),instagram:e=>a.initModule({selector:e||".instagram-photos",plugin:"instagram"}),navTree:e=>a.initModule({selector:e||".nav-tree",plugin:"navtree",required:[c.required.jQuery]}),carousel:e=>a.initModule({selector:e||".carousel-widget",plugin:"carousel",required:[c.required.jQuery]}),masonryThumbs:e=>a.initModule({selector:e||".masonry-thumbs",plugin:"masonrythumbs",required:[c.required.jQuery]}),notifications:e=>a.initModule({selector:e||!1,plugin:"notify",required:[c.required.jQuery]}),textRotator:e=>a.initModule({selector:e||".text-rotater",plugin:"textrotator",required:[c.required.jQuery]}),onePage:e=>a.initModule({selector:e||"[data-scrollto],.one-page-menu",plugin:"onepage"}),ajaxForm:e=>a.initModule({selector:e||".form-widget",plugin:"ajaxform",required:[c.required.jQuery]}),subscribe:e=>a.initModule({selector:e||".subscribe-widget",plugin:"subscribe",required:[c.required.jQuery]}),conditional:e=>a.initModule({selector:e||".form-group[data-condition]",plugin:"conditional"}),shapeDivider:e=>a.initModule({selector:e||".shape-divider",plugin:"shapedivider"}),stickySidebar:e=>a.initModule({selector:e||".sticky-sidebar-wrap",plugin:"stickysidebar",required:[c.required.jQuery]}),cookies:e=>a.initModule({selector:e||".gdpr-settings,[data-cookies]",plugin:"cookie"}),quantity:e=>a.initModule({selector:e||".quantity",plugin:"quantity"}),readmore:e=>a.initModule({selector:e||"[data-readmore]",plugin:"readmore"}),pricingSwitcher:e=>a.initModule({selector:e||".pts-switcher",plugin:"pricingswitcher"}),ajaxButton:e=>a.initModule({selector:e||"[data-ajax-loader]",plugin:"ajaxbutton"}),videoFacade:e=>a.initModule({selector:e||".video-facade",plugin:"videofacade"}),schemeToggler:e=>a.initModule({selector:e||".body-scheme-toggle",plugin:"schemetoggler"}),clipboardCopy:e=>a.initModule({selector:e||".clipboard-copy",plugin:"clipboard"}),codeHighlight:e=>a.initModule({selector:e||".code-highlight",plugin:"codehighlight"}),viewportDetect:e=>a.initModule({selector:e||".viewport-detect",plugin:"viewportdetect"}),bsComponents:e=>a.initModule({selector:e||'[data-bs-toggle="tooltip"],[data-bs-toggle="popover"],[data-bs-toggle="tab"],[data-bs-toggle="pill"],.style-msg',plugin:"bscomponents"})},i={Android:()=>navigator.userAgent.match(/Android/i),BlackBerry:()=>navigator.userAgent.match(/BlackBerry/i),iOS:()=>navigator.userAgent.match(/iPhone|iPad|iPod/i),Opera:()=>navigator.userAgent.match(/Opera Mini/i),Windows:()=>navigator.userAgent.match(/IEMobile/i),any:()=>i.Android()||i.BlackBerry()||i.iOS()||i.Opera()||i.Windows()},s={onReady:()=>{},onLoad:()=>{},onResize:()=>{}},r={init:()=>{c.resizers.viewport=()=>a.viewport(),c.resizers.breakpoints=()=>a.breakpoints(),c.resizers.menuBreakpoint=()=>e.menuBreakpoint(),a.run(c.resizers),s.onResize(),a.addEvent(window,"cnvsResize")}},n={init:()=>{a.breakpoints(),a.colorScheme(),a.runBase(),a.runModules(),a.topScrollOffset(),n.windowscroll(),s.onReady()},windowscroll:()=>{a.scrollEnd(()=>{e.pageMenu()})}},o={init:()=>{s.onLoad()}};return document.addEventListener("DOMContentLoaded",()=>{n.init()}),window.onload=()=>{o.init()},a.onResize(()=>{r.init()}),{Core:a,Base:e,Modules:t,Mobile:i,Custom:s}}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const s=new Map,Y={set(e,t,i){s.has(e)||s.set(e,new Map);e=s.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>s.has(e)&&s.get(e).get(t)||null,remove(e,t){var i;s.has(e)&&((i=s.get(e)).delete(t),0===i.size)&&s.delete(e)}},D="transitionend",N=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,B=e=>{e.dispatchEvent(new Event(D))},n=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,r=e=>n(e)?e.jquery?e[0]:e:"string"==typeof e&&0{if(!n(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),Q=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?Q(e.parentNode):null:null},q=()=>{},F=e=>{e.offsetHeight},V=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,R=[],l=()=>"rtl"===document.documentElement.dir,e=s=>{var e=()=>{const e=V();if(e){const t=s.NAME,i=e.fn[t];e.fn[t]=s.jQueryInterface,e.fn[t].Constructor=s,e.fn[t].noConflict=()=>(e.fn[t]=i,s.jQueryInterface)}};"loading"===document.readyState?(R.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of R)e()}),R.push(e)):e()},c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,H=(i,r,e=!0)=>{if(e){e=(()=>{if(!r)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(r);var i=Number.parseFloat(e),s=Number.parseFloat(t);return i||s?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const s=({target:e})=>{e===r&&(t=!0,r.removeEventListener(D,s),c(i))};r.addEventListener(D,s),setTimeout(()=>{t||B(r)},e)}else c(i)},W=(e,t,i,s)=>{var r=e.length;let a=e.indexOf(t);return-1===a?!i&&s?e[r-1]:e[0]:(a+=i?1:-1,s&&(a=(a+r)%r),e[Math.max(0,Math.min(a,r-1))])},$=/[^.]*(?=\..*)\.|.*/,G=/\..*/,U=/::\d+$/,X={};let Z=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},K=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ee(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function te(e){var t=ee(e);return e.uidEvent=t,X[t]=X[t]||{},X[t]}function ie(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function se(e,t,i){var s="string"==typeof t,t=!s&&t||i;let r=ne(e);return[s,t,r=K.has(r)?r:e]}function re(s,r,a,n,o){if("string"==typeof r&&s){let[e,t,i]=se(r,a,n);if(r in J){const s=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=s(t)}var n=te(s),n=n[i]||(n[i]={}),l=ie(n,t,e?a:null);if(l)return l.oneOff=l.oneOff&&o;var c,d,u,p,h,l=ee(t,r.replace($,"")),r=e?(u=s,p=a,h=t,function t(i){var s=u.querySelectorAll(p);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const r of s)if(r===e)return oe(i,{delegateTarget:e}),t.oneOff&&m.off(u,i.type,p,h),h.apply(e,[i])}):(c=s,d=t,function e(t){return oe(t,{delegateTarget:c}),e.oneOff&&m.off(c,t.type,d),d.apply(c,[t])});r.delegationSelector=e?a:null,r.callable=t,r.oneOff=o,n[r.uidEvent=l]=r,s.addEventListener(i,r,e)}}function ae(e,t,i,s,r){s=ie(t[i],s,r);s&&(e.removeEventListener(i,s,Boolean(r)),delete t[i][s.uidEvent])}function ne(e){return e=e.replace(G,""),J[e]||e}const m={on(e,t,i,s){re(e,t,i,s,!1)},one(e,t,i,s){re(e,t,i,s,!0)},off(e,t,i,s){if("string"==typeof t&&e){const[u,p,h]=se(t,i,s),m=h!==t,f=te(e),g=f[h]||{},v=t.startsWith(".");if(void 0===p){if(v)for(const i of Object.keys(f)){r=void 0;a=void 0;n=void 0;o=void 0;d=void 0;l=void 0;c=void 0;var r=e;var a=f;var n=i;var o=t.slice(1);var l,c,d=a[n]||{};for([l,c]of Object.entries(d))l.includes(o)&&ae(r,a,n,c.callable,c.delegationSelector)}for(const[i,s]of Object.entries(g)){const u=i.replace(U,"");m&&!t.includes(u)||ae(e,f,h,s.callable,s.delegationSelector)}}else Object.keys(g).length&&ae(e,f,h,p,u?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var s=V();let r=null,a=!0,n=!0,o=!1;t!==ne(t)&&s&&(r=s.Event(t,i),s(e).trigger(r),a=!r.isPropagationStopped(),n=!r.isImmediatePropagationStopped(),o=r.isDefaultPrevented());s=oe(new Event(t,{bubbles:a,cancelable:!0}),i);return o&&s.preventDefault(),n&&e.dispatchEvent(s),s.defaultPrevented&&r&&r.preventDefault(),s}};function oe(e,t={}){for(const[i,s]of Object.entries(t))try{e[i]=s}catch(t){Object.defineProperty(e,i,{configurable:!0,get:()=>s})}return e}function le(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ce(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+ce(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+ce(t))},getDataAttributes(t){if(!t)return{};var i={};for(const s of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=s.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=le(t.dataset[s])}return i},getDataAttribute:(e,t)=>le(e.getAttribute("data-bs-"+ce(t)))};class de{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=n(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...n(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,s]of Object.entries(t)){const t=e[i],a=n(t)?"element":null==(r=t)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${s}".`)}var r}}class t extends de{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){H(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Y.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0-alpha2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const ue=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return N(i)},u={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){var i=[];let s=e.parentNode.closest(t);for(;s;)i.push(s),s=s.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!o(e)&&a(e))},getSelectorFromElement(e){e=ue(e);return e&&u.findOne(e)?e:null},getElementFromSelector(e){e=ue(e);return e?u.findOne(e):null},getMultipleElementsFromSelector(e){e=ue(e);return e?u.find(e):[]}},pe=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,s=t.NAME;m.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=u.getElementFromSelector(this)||this.closest("."+s),t.getOrCreateInstance(e)[i]())})};class he extends t{static get NAME(){return"alert"}close(){var e;m.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),m.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=he.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}pe(he,"close"),e(he);const me='[data-bs-toggle="button"]';class fe extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=fe.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}m.on(document,"click.bs.button.data-api",me,e=>{e.preventDefault();e=e.target.closest(me);fe.getOrCreateInstance(e).toggle()}),e(fe);const ge={endCallback:null,leftCallback:null,rightCallback:null},ve={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ye extends de{constructor(e,t){super(),(this._element=e)&&ye.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ge}static get DefaultType(){return ve}static get NAME(){return"swipe"}dispose(){m.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1this._start(e)),m.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),m.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),m.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?m.one(this._element,xe,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?m.one(this._element,xe,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=tthis._keydown(e)),"hover"===this._config.pause&&(m.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),m.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&ye.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of u.find(".carousel-item img",this._element))m.on(e,"dragstart.bs.carousel",e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(i)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ye(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Se[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=u.findOne(".active",this._indicatorsElement)).classList.remove(_e),t.removeAttribute("aria-current"),t=u.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(_e),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const i=this._getActive(),s=t===be,r=e||W(this._getItems(),i,s,this._config.wrap);if(r!==i){const a=this._getItemIndex(r),n=e=>m.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:a});if(!n("slide.bs.carousel").defaultPrevented&&i&&r){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const o=s?"carousel-item-start":"carousel-item-end",l=s?"carousel-item-next":"carousel-item-prev";r.classList.add(l),F(r),i.classList.add(o),r.classList.add(o),this._queueCallback(()=>{r.classList.remove(o,l),r.classList.add(_e),i.classList.remove(_e,l,o),this._isSliding=!1,n(xe)},i,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return u.findOne(".active.carousel-item",this._element)}_getItems(){return u.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===i?p:be:e===i?be:p}_orderToDirection(e){return l()?e===p?i:we:e===p?we:i}static jQueryInterface(t){return this.each(function(){var e=Pe.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}m.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=u.getElementFromSelector(this);t&&t.classList.contains(Te)&&(e.preventDefault(),e=Pe.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),m.on(window,"load.bs.carousel.data-api",()=>{for(const e of u.find('[data-bs-ride="carousel"]'))Pe.getOrCreateInstance(e)}),e(Pe);const ke="show",Me="collapse",Le="collapsing",Ae='[data-bs-toggle="collapse"]',Ie={parent:null,toggle:!0},Oe={parent:"(null|element)",toggle:"boolean"};class je extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=u.find(Ae);for(const e of i){const t=u.getSelectorFromElement(e),i=u.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ie}static get DefaultType(){return Oe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!((e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>je.getOrCreateInstance(e,{toggle:!1})):e).length&&e[0]._isTransitioning||m.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const i of e)i.hide();const i=this._getDimension();this._element.classList.remove(Me),this._element.classList.add(Le),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(Me,ke),this._element.style[i]="",m.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!m.trigger(this._element,"hide.bs.collapse").defaultPrevented){const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",F(this._element),this._element.classList.add(Le),this._element.classList.remove(Me,ke);for(const t of this._triggerArray){var e=u.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(Me),m.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(ke)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const e=this._getFirstLevelChildren(Ae);for(const t of e){const e=u.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){const t=u.find(":scope .collapse .collapse",this._config.parent);return u.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=je.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.collapse.data-api",Ae,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of u.getMultipleElementsFromSelector(this))je.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(je);var P="top",k="bottom",M="right",L="left",ze="auto",A=[P,k,M,L],I="start",b="end",Ye="clippingParents",De="viewport",g="popper",Ne="reference",Be=A.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+b])},[]),Qe=[].concat(A,[ze]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+b])},[]),qe="beforeRead",Fe="afterRead",Ve="beforeMain",Re="afterMain",He="beforeWrite",We="afterWrite",$e=[qe,"read",Fe,Ve,"main",Re,He,"write",We];function v(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function y(e){return e instanceof w(e).Element||e instanceof Element}function x(e){return e instanceof w(e).HTMLElement||e instanceof HTMLElement}function Ge(e){return"undefined"!=typeof ShadowRoot&&(e instanceof w(e).ShadowRoot||e instanceof ShadowRoot)}var Ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},i=r.attributes[e]||{},s=r.elements[e];x(s)&&v(s)&&(Object.assign(s.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var s=e.state,r={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,r.popper),s.styles=r,s.elements.arrow&&Object.assign(s.elements.arrow.style,r.arrow),function(){Object.keys(s.elements).forEach(function(e){var t=s.elements[e],i=s.attributes[e]||{},e=Object.keys((s.styles.hasOwnProperty(e)?s.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});x(t)&&v(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function O(e){return e.split("-")[0]}var E=Math.max,Xe=Math.min,T=Math.round;function Ze(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Je(){return!/^((?!chrome|android).)*safari/i.test(Ze())}function _(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var s=e.getBoundingClientRect(),r=1,a=1,t=(t&&x(e)&&(r=0c[S]&&(_=ft(_)),ft(_)),S=[];if(s&&S.push(C[x]<=0),r&&S.push(C[_]<=0,C[T]<=0),S.every(function(e){return e})){y=w,v=!1;break}d.set(w,S)}if(v)for(var E=f?3:1;0Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=u.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>a(e));i.length&&W(i,t,e===Ft,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=f.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key)){const s=u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const r of s){const s=f.getInstance(r);var t,i;s&&!1!==s._config.autoClose&&(t=(i=e.composedPath()).includes(s._menu),i.includes(s._element)||"inside"===s._config.autoClose&&!t||"outside"===s._config.autoClose&&t||s._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:s._element},"click"===e.type&&(i.clickEvent=e),s._completeHide(i)))}}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,s=["ArrowUp",Ft].includes(e.key);!s&&!i||t&&!i||(e.preventDefault(),t=this.matches(h)?this:u.prev(this,h)[0]||u.next(this,h)[0]||u.findOne(h,e.delegateTarget.parentNode),i=f.getOrCreateInstance(t),s?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}m.on(document,Rt,h,f.dataApiKeydownHandler),m.on(document,Rt,Wt,f.dataApiKeydownHandler),m.on(document,Vt,f.clearMenus),m.on(document,"keyup.bs.dropdown.data-api",f.clearMenus),m.on(document,Vt,h,function(e){e.preventDefault(),f.getOrCreateInstance(this).toggle()}),e(f);const ti="mousedown.bs.backdrop",ii={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},si={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ri extends de{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ii}static get DefaultType(){return si}static get NAME(){return"backdrop"}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&F(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(m.off(this._element,ti),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),m.on(e,ti,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){H(e,this._getElement(),this._config.isAnimated)}}const ai=".bs.focustrap",ni="backward",oi={autofocus:!0,trapElement:null},li={autofocus:"boolean",trapElement:"element"};class ci extends de{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return oi}static get DefaultType(){return li}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,ai),m.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),m.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,ai))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=u.focusableChildren(t)).length?t:this._lastTabNavDirection===ni?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ni:"forward")}}const di=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ui=".sticky-top",pi="padding-right",hi="margin-right";class mi{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,pi,e=>e+t),this._setElementAttributes(di,pi,e=>e+t),this._setElementAttributes(ui,hi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pi),this._resetElementAttributes(di,pi),this._resetElementAttributes(ui,hi)}isOverflowing(){return 0{var t;e!==this._element&&window.innerWidth>e.clientWidth+r||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,s(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null!==t?(d.removeDataAttribute(e,i),e.style.setProperty(i,t)):e.style.removeProperty(i)})}_applyManipulationCallback(e,t){if(n(e))t(e);else for(const i of u.find(e,this._element))t(i)}}const fi=".bs.modal",gi="hidden.bs.modal",vi="show.bs.modal",yi="modal-open",bi="modal-static",wi={backdrop:!0,focus:!0,keyboard:!0},xi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ti extends t{constructor(e,t){super(e,t),this._dialog=u.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new mi,this._addEventListeners()}static get Default(){return wi}static get DefaultType(){return xi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||m.trigger(this._element,vi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(yi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||m.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){m.off(window,fi),m.off(this._dialog,fi),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ri({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ci({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var t=u.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),F(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),m.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,"mousedown.dismiss.bs.modal",t=>{m.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(yi),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,gi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!m.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(bi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(bi),this._queueCallback(()=>{this._element.classList.remove(bi),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0{e.defaultPrevented||m.one(t,gi,()=>{a(this)&&this.focus()})});e=u.findOne(".modal.show");e&&Ti.getInstance(e).hide(),Ti.getOrCreateInstance(t).toggle(this)}),pe(Ti),e(Ti);const _i="showing",Si=".offcanvas.show",Ci="hidePrevented.bs.offcanvas",Ei="hidden.bs.offcanvas",Pi={backdrop:!0,keyboard:!0,scroll:!1},ki={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class z extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Pi}static get DefaultType(){return ki}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new mi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_i),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(_i),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||m.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new mi).reset(),m.trigger(this._element,Ei)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new ri({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():m.trigger(this._element,Ci)}:null})}_initializeFocusTrap(){return new ci({trapElement:this._element})}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():m.trigger(this._element,Ci))})}static jQueryInterface(t){return this.each(function(){var e=z.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}m.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(m.one(t,Ei,()=>{a(this)&&this.focus()}),(e=u.findOne(Si))&&e!==t&&z.getInstance(e).hide(),z.getOrCreateInstance(t).toggle(this))}),m.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of u.find(Si))z.getOrCreateInstance(e).show()}),m.on(window,"resize.bs.offcanvas",()=>{for(const e of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&z.getOrCreateInstance(e).hide()}),pe(z),e(z);const Mi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Li=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ai=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ii={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Oi={allowList:Ii,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},ji={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},zi={entry:"(string|element|function|null)",selector:"(string|element)"};class Yi extends de{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Oi}static get DefaultType(){return ji}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0{const i=e.nodeName.toLowerCase();return t.includes(i)?!Mi.has(i)||Boolean(Li.test(e.nodeValue)||Ai.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(i,a)||t.removeAttribute(i.nodeName)}else t.remove()}return r.body.innerHTML}return e}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}const Di=new Set(["sanitize","allowList","sanitizeFn"]),Ni="fade",Bi="show",Qi="hide.bs.modal",qi="hover",Fi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Vi={allowList:Ii,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ri={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Hi extends t{constructor(e,t){if(void 0===Qt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Vi}static get DefaultType(){return Ri}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),m.off(this._element.closest(".modal"),Qi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){const i=m.trigger(this._element,this.constructor.eventName("show")),s=(Q(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!i.defaultPrevented&&s){this._disposePopper();var e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),m.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(Bi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))m.on(i,"mouseover",q);this._queueCallback(()=>{m.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()&&!m.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Bi),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))m.off(e,"mouseover",q);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove(Ni,Bi),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add(Ni),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Yi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ni)}_isShown(){return this.tip&&this.tip.classList.contains(Bi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Fi[t.toUpperCase()];return Bt(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return c(e,[this._element])}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...c(this._config.popperConfig,[e])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)m.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==t){const e=t===qi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===qi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");m.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?"focus":qi]=!0,t._enter()}),m.on(this._element,i,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?"focus":qi]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),Qi,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const e of Object.keys(t))Di.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=Hi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Hi);const Wi={...Hi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},$i={...Hi.DefaultType,content:"(null|string|element|function)"};class Gi extends Hi{static get Default(){return Wi}static get DefaultType(){return $i}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){var e=Gi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Gi);const Ui="click.bs.scrollspy",Xi="active",Zi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ji={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ki extends t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Zi}static get DefaultType(){return Ji}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(m.off(this._config.target,Ui),m.on(this._config.target,Ui,"[href]",e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},s=(this._rootElement||document.documentElement).scrollTop,r=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const a of e)if(a.isIntersecting){const e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(i(a),!s)return}else r||e||i(a)}else this._activeTarget=null,this._clearActiveClass(t(a))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=u.find("[href]",this._config.target);for(const t of e)if(t.hash&&!o(t)){const e=u.findOne(t.hash,this._element);a(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(Xi),this._activateParents(e),m.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))u.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Xi);else for(const t of u.parents(e,".nav, .list-group"))for(const e of u.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(Xi)}_clearActiveClass(e){e.classList.remove(Xi);var t=u.find("[href].active",e);for(const e of t)e.classList.remove(Xi)}static jQueryInterface(t){return this.each(function(){var e=Ki.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of u.find('[data-bs-spy="scroll"]'))Ki.getOrCreateInstance(e)}),e(Ki);const es="ArrowRight",ts="ArrowDown",is="active",ss="show",rs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',as='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+rs;class ns extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),m.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?m.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,m.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(is),this._activate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),m.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(ss)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(is),e.blur(),this._deactivate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),m.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(ss)},e,e.classList.contains("fade")))}_keydown(e){var t;["ArrowLeft",es,"ArrowUp",ts].includes(e.key)&&(e.stopPropagation(),e.preventDefault(),t=[es,ts].includes(e.key),e=W(this._getChildren().filter(e=>!o(e)),e.target,t,!0))&&(e.focus({preventScroll:!0}),ns.getOrCreateInstance(e).show())}_getChildren(){return u.find(as,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=u.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const s=this._getOuterElement(e);s.classList.contains("dropdown")&&((e=(e,t)=>{e=u.findOne(e,s);e&&e.classList.toggle(t,i)})(".dropdown-toggle",is),e(".dropdown-menu",ss),s.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(is)}_getInnerElement(e){return e.matches(as)?e:u.findOne(as,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=ns.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.tab",rs,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||ns.getOrCreateInstance(this).show()}),m.on(window,"load.bs.tab",()=>{for(const e of u.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))ns.getOrCreateInstance(e)}),e(ns);const os="show",ls="showing",cs={animation:"boolean",autohide:"boolean",delay:"number"},ds={animation:!0,autohide:!0,delay:5e3};class us extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ds}static get DefaultType(){return cs}static get NAME(){return"toast"}show(){m.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),F(this._element),this._element.classList.add(os,ls),this._queueCallback(()=>{this._element.classList.remove(ls),m.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||m.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ls),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ls,os),m.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(os),super.dispose()}isShown(){return this._element.classList.contains(os)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){m.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),m.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=us.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return pe(us),e(us),{Alert:he,Button:fe,Carousel:Pe,Collapse:je,Dropdown:f,Modal:Ti,Offcanvas:z,Popover:Gi,ScrollSpy:Ki,Tab:ns,Toast:us,Tooltip:Hi}}),!function(l,i,s,o){function c(e,t){this.settings=null,this.options=l.extend({},c.Defaults,t),this.$element=l(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(e,t){this._handlers[t]=l.proxy(this[t],this)},this)),l.each(c.Plugins,l.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),l.each(c.Workers,l.proxy(function(e,t){this._pipe.push({filter:t.filter,run:l.proxy(t.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,s={width:"auto","margin-left":s?t:"","margin-right":s?"":t};i||this.$stage.children().css(s),e.css=s}},{filter:["width","items","settings"],run:function(e){var t,i=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,s=this._items.length,r=!this.settings.autoWidth,a=[];for(e.items={merge:!1,width:i};s--;)t=this._mergers[s],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,e.items.merge=1",a)||this.op(t,"<",r)&&this.op(t,">",a))&&n.push(o);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+n.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");e.length?(this._items=e.get().map(function(e){return l(e)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},c.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,t=this.$element.children(t).width(),e.length)&&t<=0&&this.preloadAutoWidthImages(e),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,i=-1,s=null;e?(l.each(e,function(e){e<=t&&i").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},c.prototype.update=function(){for(var e=0,t=this._pipe.length,i=l.proxy(function(e){return this[e]},this._invalidated),s={};e",n[e+1]!==o?n[e+1]:t-a)&&(r="left"===s?e+1:e),-1===r},this)),this.settings.loop||(this.op(i,">",n[this.minimum()])?r=i=this.minimum():this.op(i,"<",n[this.maximum()])&&(r=i=this.maximum())),r},c.prototype.animate=function(e){var t=0s););a=t+1}else a=r.center?this._items.length-1:this._items.length-r.items;return e&&(a-=this._clones.length/2),Math.max(a,0)},c.prototype.minimum=function(e){return e?0:this._clones.length/2},c.prototype.items=function(e){return e===o?this._items.slice():(e=this.normalize(e,!0),this._items[e])},c.prototype.mergers=function(e){return e===o?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},c.prototype.clones=function(i){function s(e){return e%2==0?r+e/2:t-(e+1)/2}var t=this._clones.length/2,r=t+this._items.length;return i===o?l.map(this._clones,function(e,t){return s(t)}):l.map(this._clones,function(e,t){return e===i?s(t):null})},c.prototype.speed=function(e){return e!==o&&(this._speed=e),this._speed},c.prototype.coordinates=function(e){var t,i=1,s=e-1;return e===o?l.map(this._coordinates,l.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,s=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[s]||0))/2*i):t=this._coordinates[s]||0,Math.ceil(t))},c.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(e,t){var i=this.current(),s=e-this.relative(i),r=(0a/2&&(s+=-1*r*a),(r=(((e=i+s)-n)%a+a)%a+n)!==e&&r-s<=o&&0":return s?e=":return s?e<=i:i<=e;case"<=":return s?i<=e:e<=i}},c.prototype.on=function(e,t,i,s){e.addEventListener?e.addEventListener(t,i,s):e.attachEvent&&e.attachEvent("on"+t,i)},c.prototype.off=function(e,t,i,s){e.removeEventListener?e.removeEventListener(t,i,s):e.detachEvent&&e.detachEvent("on"+t,i)},c.prototype.trigger=function(e,t,i,s,r){var a={item:{count:this._items.length,index:this.current()}},n=l.camelCase(l.grep(["on",e,i],function(e){return e}).join("-").toLowerCase()),o=l.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},a,t));return this._supress[e]||(l.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(o)}),this.register({type:c.Type.Event,name:e}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[n]&&this.settings[n].call(this,o)),o},c.prototype.enter=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]===o&&(this._states.current[t]=0),this._states.current[t]++},this))},c.prototype.leave=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]--},this))},c.prototype.register=function(i){var t;i.type===c.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(t=l.event.special[i.name]._default,l.event.special[i.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1",{class:"owl-video-tn "+l,srcType:e}):d("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),t.after(s),t.after('
')}var s,r,a=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",n=t.find("img"),o="src",l="",c=this._core.settings;if(t.wrap(d("
",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),n.length)return i(n.attr(o)),n.remove(),!1;"youtube"===e.type?(r="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",i(r)):"vimeo"===e.type?d.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e[0].thumbnail_large,i(r)}}):"vzaar"===e.type&&d.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e.framegrab_url,i(r)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var t,e=d(e.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],s=i.width||"100%",r=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=d('')).attr("height",r),t.attr("width",s),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),d(t).wrap('
').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement;return e&&d(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},d.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(n){function t(e){this.core=e,this.core.options=n.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":n.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":n.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":n.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}t.Defaults={animateOut:!1,animateIn:!1},t.prototype.swap=function(){var e,t,i,s,r,a;1===this.core.settings.items&&n.support.animation&&n.support.transition&&(this.core.speed(0),t=n.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,a=this.core.settings.animateOut,this.core.current()!==this.previous)&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(n.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),r)&&s.one(n.support.animation.end,t).addClass("animated owl-animated-in").addClass(r)},t.prototype.clear=function(e){n(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.Animate=t}(window.Zepto||window.jQuery,(window,document)),function(s,r,t){function i(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":s.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":s.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":s.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=s.extend({},i.Defaults,this._core.options)}i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(e){this._call=r.setTimeout(s.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||t.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(e,t){var i;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):r.clearTimeout(this._call),this._time+=this.read()%e-i,this._timeout=e,this._call=r.setTimeout(s.proxy(this._next,this,t),e-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},s.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(r){"use strict";function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
'+r(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":r.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)}t.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?r(i.navContainer):r("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=r("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[r('
",icon:{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[6,34]}}}(jQuery),!function(u){var p,c,s,d,i,t,r,o,h,m,f,a,g,n=Array.prototype.slice,v=decodeURIComponent,l=u.param,e=u.bbq=u.bbq||{},y=u.event.special,b="hashchange",w="querystring",x="fragment",T="elemUrlAttr",_="href",S="src",C=/^.*\?|#.*$/g,E={};function P(e){return"string"==typeof e}function k(e){var t=n.call(arguments,1);return function(){return e.apply(this,t.concat(n.call(arguments)))}}function M(e,t,i,s,r){var a,n,o,l,r=s!==p?(l=(n=i.match(e?m:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===r&&P(s)?a=s.replace(e?h:C,""):(o=d(n[2]),s=P(s)?d[e?x:w](s):s,a=2===r?s:1===r?u.extend({},s,o):u.extend({},o,s),a=c(a),e&&(a=a.replace(f,v))),n[1]+(e?g:a||!n[1]?"?":"")+a+l):t(i!==p?i:location.href);return r}function L(e,t,i){return t=t===p||"boolean"==typeof t?(i=t,l[e?x:w]()):P(t)?t.replace(e?h:C,""):t,d(t,i)}function A(s,r,a,n){return P(a)||"object"==typeof a||(n=a,a=r,r=p),this.each(function(){var e=u(this),t=r||o()[(this.nodeName||"").toLowerCase()]||"",i=t&&e.attr(t)||"";e.attr(t,l[s](i,a,n))})}l[w]=k(M,0,function(e){return e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),l[x]=s=k(M,1,function(e){return e.replace(m,"$2")}),l.sorted=c=function(e,t){var r=[],a={};return u.each(l(e,t).split("&"),function(e,t){var i=t.replace(/(?:%5B|=).*$/,""),s=a[i];s||(s=a[i]=[],r.push(i)),s.push(t)}),u.map(r.sort(),function(e){return a[e]}).join("&")},s.noEscape=function(e){e=u.map((e=e||"").split(""),encodeURIComponent);f=new RegExp(e.join("|"),"g")},s.noEscape(",/"),s.ajaxCrawlable=function(e){return e!==p&&(g=e?(h=/^.*(?:#!|#)/,m=/^([^#]*)(?:#!|#)?(.*)$/,"#!"):(h=/^.*#/,m=/^([^#]*)#?(.*)$/,"#"),a=!!e),a},s.ajaxCrawlable(0),u.deparam=d=function(e,l){var c={},d={true:!0,false:!1,null:null};return u.each(e.replace(/\+/g," ").split("&"),function(e,t){var i,t=t.split("="),s=v(t[0]),r=c,a=0,n=s.split("]["),o=n.length-1,o=/\[/.test(n[0])&&/\]$/.test(n[o])?(n[o]=n[o].replace(/\]$/,""),(n=n.shift().split("[").concat(n)).length-1):0;if(2===t.length)if(i=v(t[1]),l&&(i=i&&!isNaN(i)?+i:"undefined"===i?p:d[i]!==p?d[i]:i),o)for(;a<=o;a++)r=r[s=""===n[a]?r.length:n[a]]=a').hide().one("load",function(){t||l(s()),f()}).attr("src",t||"javascript:0").insertAfter("body")[0].contentWindow,u.onpropertychange=function(){try{"title"===event.propertyName&&(n.document.title=u.title)}catch(e){}})},h.stop=g,c=function(){return s(n.location.href)},l=function(e,t){var i=n.document,s=r.fn[d].domain;e!==t&&(i.title=u.title,i.open(),s&&i.write('