!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e(t.Popper)}(this,function(F){"use strict";const i=function(t){if(t&&t.__esModule)return t;const e=Object.create(null);if(t)for(const i in t){var s;"default"!==i&&(s=Object.getOwnPropertyDescriptor(t,i),Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>t[i]}))}return e.default=t,Object.freeze(e)}(F),s="transitionend",n=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),e=i&&"#"!==i?i.trim():null}return e},o=e=>{e=n(e);return e&&document.querySelector(e)?e:null},r=e=>{e=n(e);return e?document.querySelector(e):null},a=t=>{t.dispatchEvent(new Event(s))},l=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,c=t=>l(t)?t.jquery?t[0]:t:"string"==typeof t&&0<t.length?document.querySelector(t):null,h=(t,e,i)=>{Object.keys(i).forEach(s=>{var n=i[s],r=e[s],r=r&&l(r)?"element":null==r?""+r:{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(t.toUpperCase()+`: Option "${s}" provided type "${r}" but expected type "${n}".`)})},d=t=>!(!l(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),u=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),g=e=>{if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?g(e.parentNode):null;e=e.getRootNode();return e instanceof ShadowRoot?e:null},_=()=>{},f=t=>{t.offsetHeight},p=()=>{var t=window["jQuery"];return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},m=[],b=()=>"rtl"===document.documentElement.dir,v=t=>{var e=()=>{const e=p();if(e){const i=t.NAME,s=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=s,t.jQueryInterface)}};"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",()=>{m.forEach(t=>t())}),m.push(e)):e()},y=t=>{"function"==typeof t&&t()},E=(t,e,n=!0)=>{if(n){n=(n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(n);var s=Number.parseFloat(e),n=Number.parseFloat(i);return s||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let o=!1;const r=({target:i})=>{i===e&&(o=!0,e.removeEventListener(s,r),y(t))};e.addEventListener(s,r),setTimeout(()=>{o||a(e)},n)}else y(t)},w=(t,o,i,s)=>{let n=t.indexOf(o);if(-1===n)return t[!i&&s?t.length-1:0];o=t.length;return n+=i?1:-1,s&&(n=(n+o)%o),t[Math.max(0,Math.min(n,o-1))]},A=/[^.]*(?=\..*)\.|.*/,T=/\..*/,C=/::\d+$/,k={};let L=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},O=/^(mouseenter|mouseleave)/i,N=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 D(t,e){return e&&e+"::"+L++||t.uidEvent||L++}function I(t){var e=D(t);return t.uidEvent=e,k[e]=k[e]||{},k[e]}function P(t,e,i=null){var s=Object.keys(t);for(let n=0,o=s.length;n<o;n++){const o=t[s[n]];if(o.originalHandler===e&&o.delegationSelector===i)return o}return null}function x(t,n,i){var s="string"==typeof n,n=s?i:n;let o=H(t);return N.has(o)||(o=t),[s,n,o]}function M(t,e,i,s,n){if("string"==typeof e&&t){if(i||(i=s,s=null),O.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s?s=t(s):i=t(i)}const[o,r,a]=x(e,i,s),l=I(t),c=l[a]||(l[a]={}),h=P(c,r,o?i:null);if(h)return h.oneOff=h.oneOff&&n,0;const d=D(r,e.replace(A,"")),u=o?function(t,e,i){return function s(n){var o=t.querySelectorAll(e);for(let r=n["target"];r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return n.delegateTarget=r,s.oneOff&&$.off(t,n.type,e,i),i.apply(r,[n]);return null}}(t,i,s):function(t,e){return function i(s){return s.delegateTarget=t,i.oneOff&&$.off(t,s.type,e),e.apply(t,[s])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=n,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}}function j(t,e,i,o,n){o=P(e[i],o,n);o&&(t.removeEventListener(i,o,Boolean(n)),delete e[i][o.uidEvent])}function H(t){return t=t.replace(T,""),S[t]||t}const $={on(t,e,i,s){M(t,e,i,s,!1)},one(t,e,i,s){M(t,e,i,s,!0)},off(t,e,i,s){if("string"==typeof e&&t){const[n,o,r]=x(e,i,s),a=r!==e,l=I(t),c=e.startsWith(".");if(void 0!==o)return l&&l[r]?void j(t,l,r,o,n?i:null):void 0;c&&Object.keys(l).forEach(i=>{!function(t,e,i,s){const n=e[i]||{};Object.keys(n).forEach(o=>{if(o.includes(s)){const s=n[o];j(t,e,i,s.originalHandler,s.delegationSelector)}})}(t,l,i,e.slice(1))});const h=l[r]||{};Object.keys(h).forEach(i=>{var s=i.replace(C,"");if(!a||e.includes(s)){const e=h[i];j(t,l,r,e.originalHandler,e.delegationSelector)}})}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const s=p(),n=H(e),o=e!==n,r=N.has(n);let a,l=!0,c=!0,h=!1,d=null;return o&&s&&(a=s.Event(e,i),s(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(n,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(d,t,{get:()=>i[t]})}),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},B=new Map,z={set(t,e,i){B.has(t)||B.set(t,new Map);const s=B.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>B.has(t)&&B.get(t).get(e)||null,remove(t,e){if(B.has(t)){const i=B.get(t);i.delete(e),0===i.size&&B.delete(t)}}};class R{constructor(t){(t=c(t))&&(this._element=t,z.set(this._element,this.constructor.DATA_KEY,this))}dispose(){z.remove(this._element,this.constructor.DATA_KEY),$.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,e,i=!0){E(t,e,i)}static getInstance(t){return z.get(c(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}F=(t,e="hide")=>{const i="click.dismiss"+t.EVENT_KEY,s=t.NAME;$.on(document,i,`[data-bs-dismiss="${s}"]`,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),u(this)||(n=r(this)||this.closest("."+s),t.getOrCreateInstance(n)[e]())})};class q extends R{static get NAME(){return"alert"}close(){var t;$.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),$.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=q.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)}})}}F(q,"close"),v(q);const W='[data-bs-toggle="button"]';class U extends R{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=U.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}function K(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function V(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}$.on(document,"click.bs.button.data-api",W,e=>{e.preventDefault();e=e.target.closest(W);U.getOrCreateInstance(e).toggle()}),v(U);const X={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+V(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+V(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(i=>{let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=K(t.dataset[i])}),e},getDataAttribute:(t,e)=>K(t.getAttribute("data-bs-"+V(e))),offset(e){e=e.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},Y={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let s=t.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(e)&&i.push(s),s=s.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(", ");return this.find(e,t).filter(t=>!u(t)&&d(t))}},Q="carousel",G={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Z={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},J="next",tt="prev",et="left",it="right",st={ArrowLeft:it,ArrowRight:et},nt="slid.bs.carousel",ot="active",rt=".active.carousel-item";class at extends R{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=Y.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return G}static get NAME(){return Q}next(){this._slide(J)}nextWhenVisible(){!document.hidden&&d(this._element)&&this.next()}prev(){this._slide(tt)}pause(t){t||(this._isPaused=!0),Y.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(a(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=Y.findOne(rt,this._element);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)$.one(this._element,nt,()=>this.to(t));else{if(i===t)return this.pause(),void this.cycle();i=i<t?J:tt;this._slide(i,this._items[t])}}_getConfig(t){return t={...G,...X.getDataAttributes(this._element),..."object"==typeof t?t:{}},h(Q,t,Z),t}_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,this.touchDeltaX=0,e&&this._slide(0<e?it:et))}_addEventListeners(){this._config.keyboard&&$.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"hover"===this._config.pause&&($.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),$.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&1<t.touches.length?0:t.touches[0].clientX-this.touchStartX},s=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};Y.find(".carousel-item img",this._element).forEach(t=>{$.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?($.on(this._element,"pointerdown.bs.carousel",t=>e(t)),$.on(this._element,"pointerup.bs.carousel",t=>s(t)),this._element.classList.add("pointer-event")):($.on(this._element,"touchstart.bs.carousel",t=>e(t)),$.on(this._element,"touchmove.bs.carousel",t=>i(t)),$.on(this._element,"touchend.bs.carousel",t=>s(t)))}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=st[t.key])&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?Y.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(i,e){i=i===J;return w(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){var i=this._getItemIndex(t),s=this._getItemIndex(Y.findOne(rt,this._element));return $.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:s,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=Y.findOne(".active",this._indicatorsElement);e.classList.remove(ot),e.removeAttribute("aria-current");const i=Y.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(ot),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||Y.findOne(rt,this._element);var e;t&&((e=Number.parseInt(t.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval)}_slide(t,e){const i=this._directionToOrder(t),s=Y.findOne(rt,this._element),n=this._getItemIndex(s),o=e||this._getItemByOrder(i,s),r=this._getItemIndex(o),a=Boolean(this._interval),l=i===J,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(o&&o.classList.contains(ot))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(o,d).defaultPrevented&&s&&o){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const u=()=>{$.trigger(this._element,nt,{relatedTarget:o,direction:d,from:n,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),f(o),s.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(ot),s.classList.remove(ot,h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(t,s,!0)}else s.classList.remove(ot),o.classList.add(ot),this._isSliding=!1,u();a&&this.cycle()}}_directionToOrder(t){return[it,et].includes(t)?b()?t===et?tt:J:t===et?J:tt:t}_orderToDirection(t){return[J,tt].includes(t)?b()?t===tt?et:it:t===tt?it:et:t}static carouselInterface(n,e){const i=at.getOrCreateInstance(n,e);let s=i["_config"];"object"==typeof e&&(s={...s,...e});n="string"==typeof e?e:s.slide;if("number"==typeof e)i.to(e);else if("string"==typeof n){if(void 0===i[n])throw new TypeError(`No method named "${n}"`);i[n]()}else s.interval&&s.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each(function(){at.carouselInterface(this,t)})}static dataApiClickHandler(t){const e=r(this);if(e&&e.classList.contains("carousel")){const i={...X.getDataAttributes(e),...X.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),at.carouselInterface(e,i),s&&at.getInstance(e).to(s),t.preventDefault()}}}$.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",at.dataApiClickHandler),$.on(window,"load.bs.carousel.data-api",()=>{var t=Y.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)at.carouselInterface(t[e],at.getInstance(t[e]))}),v(at);const lt="collapse",ct={toggle:!0,parent:null},ht={toggle:"boolean",parent:"(null|element)"},dt="show",ut="collapse",gt="collapsing",_t="collapsed",ft=":scope .collapse .collapse",pt='[data-bs-toggle="collapse"]';class mt extends R{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];var i=Y.find(pt);for(let t=0,e=i.length;t<e;t++){const e=i[t],s=o(e),n=Y.find(s).filter(t=>t===this._element);null!==s&&n.length&&(this._selector=s,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ct}static get NAME(){return lt}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t,e=[];if(this._config.parent){const t=Y.find(ft,this._config.parent);e=Y.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const i=Y.findOne(this._selector);if(e.length){const s=e.find(t=>i!==t);if(t=s?mt.getInstance(s):null,t&&t._isTransitioning)return}if(!$.trigger(this._element,"show.bs.collapse").defaultPrevented){e.forEach(e=>{i!==e&&mt.getOrCreateInstance(e,{toggle:!1}).hide(),t||z.set(e,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove(ut),this._element.classList.add(gt),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var n="scroll"+(s[0].toUpperCase()+s.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(gt),this._element.classList.add(ut,dt),this._element.style[s]="",$.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=this._element[n]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!$.trigger(this._element,"hide.bs.collapse").defaultPrevented){var t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",f(this._element),this._element.classList.add(gt),this._element.classList.remove(ut,dt);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=r(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(gt),this._element.classList.add(ut),$.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(t=this._element){return t.classList.contains(dt)}_getConfig(t){return(t={...ct,...X.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=c(t.parent),h(lt,t,ht),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=Y.find(ft,this._config.parent);Y.find(pt,this._config.parent).filter(e=>!t.includes(e)).forEach(t=>{var e=r(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))})}}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach(t=>{e?t.classList.remove(_t):t.classList.add(_t),t.setAttribute("aria-expanded",e)})}static jQueryInterface(t){return this.each(function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=mt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}})}}$.on(document,"click.bs.collapse.data-api",pt,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();e=o(this);Y.find(e).forEach(t=>{mt.getOrCreateInstance(t,{toggle:!1}).toggle()})}),v(mt);const bt="dropdown",vt="Escape",Et="ArrowUp",wt="ArrowDown",At=new RegExp("ArrowUp|ArrowDown|Escape"),Tt="click.bs.dropdown.data-api",Ct="keydown.bs.dropdown.data-api",kt="show",Lt='[data-bs-toggle="dropdown"]',St=".dropdown-menu",Ot=b()?"top-end":"top-start",Nt=b()?"top-start":"top-end",Dt=b()?"bottom-end":"bottom-start",It=b()?"bottom-start":"bottom-end",Pt=b()?"left-start":"right-start",xt=b()?"right-start":"left-start",Mt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},jt={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Ht extends R{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Mt}static get DefaultType(){return jt}static get NAME(){return bt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!u(this._element)&&!this._isShown(this._menu)){var t={relatedTarget:this._element};if(!$.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){const e=Ht.getParentFromElement(this._element);this._inNavbar?X.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>$.on(t,"mouseover",_)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(kt),this._element.classList.add(kt),$.trigger(this._element,"shown.bs.dropdown",t)}}}hide(){var t;!u(this._element)&&this._isShown(this._menu)&&(t={relatedTarget:this._element},this._completeHide(t))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){$.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>$.off(t,"mouseover",_)),this._popper&&this._popper.destroy(),this._menu.classList.remove(kt),this._element.classList.remove(kt),this._element.setAttribute("aria-expanded","false"),X.removeDataAttribute(this._menu,"popper"),$.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...X.getDataAttributes(this._element),...t},h(bt,t,this.constructor.DefaultType),"object"==typeof t.reference&&!l(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(bt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_createPopper(t){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:l(this._config.reference)?e=c(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const s=this._getPopperConfig(),n=s.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=i.createPopper(e,this._menu,s),n&&X.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(kt)}_getMenuElement(){return Y.next(this._element,St)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return Pt;if(t.classList.contains("dropstart"))return xt;var e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Nt:Ot:e?It:Dt}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=Y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(d);i.length&&w(i,e,t===wt,!i.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=Ht.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(!t||2!==t.button&&("keyup"!==t.type||"Tab"===t.key)){const e=Y.find(Lt);for(let i=0,s=e.length;i<s;i++){const s=Ht.getInstance(e[i]);if(s&&!1!==s._config.autoClose&&s._isShown()){const n={relatedTarget:s._element};if(t){const e=t.composedPath(),i=e.includes(s._menu);if(e.includes(s._element)||"inside"===s._config.autoClose&&!i||"outside"===s._config.autoClose&&i)continue;if(s._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(n.clickEvent=t)}s._completeHide(n)}}}}static getParentFromElement(t){return r(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?!("Space"===t.key||t.key!==vt&&(t.key!==wt&&t.key!==Et||t.target.closest(St))):At.test(t.key)){var e=this.classList.contains(kt);if((e||t.key!==vt)&&(t.preventDefault(),t.stopPropagation(),!u(this))){const i=this.matches(Lt)?this:Y.prev(this,Lt)[0],s=Ht.getOrCreateInstance(i);if(t.key!==vt)return t.key===Et||t.key===wt?(e||s.show(),void s._selectMenuItem(t)):void(e&&"Space"!==t.key||Ht.clearMenus());s.hide()}}}}$.on(document,Ct,Lt,Ht.dataApiKeydownHandler),$.on(document,Ct,St,Ht.dataApiKeydownHandler),$.on(document,Tt,Ht.clearMenus),$.on(document,"keyup.bs.dropdown.data-api",Ht.clearMenus),$.on(document,Tt,Lt,function(t){t.preventDefault(),Ht.getOrCreateInstance(this).toggle()}),v(Ht);const $t=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Bt=".sticky-top";class zt{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes($t,"paddingRight",e=>e+t),this._setElementAttributes(Bt,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,t=>{var n;t!==this._element&&window.innerWidth>t.clientWidth+s||(this._saveInitialAttribute(t,e),n=window.getComputedStyle(t)[e],t.style[e]=i(Number.parseFloat(n))+"px")})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes($t,"paddingRight"),this._resetElementAttributes(Bt,"marginRight")}_saveInitialAttribute(t,e){var i=t.style[e];i&&X.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{var i=X.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(X.removeDataAttribute(t,e),t.style[e]=i)})}_applyManipulationCallback(t,e){l(t)?e(t):Y.find(t,this._element).forEach(e)}isOverflowing(){return 0<this.getWidth()}}const Rt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Ft={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Wt="mousedown.bs.backdrop";class Ut{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&f(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{y(t)})):y(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),y(t)})):y(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...Rt,..."object"==typeof t?t:{}}).rootElement=c(t.rootElement),h("backdrop",t,Ft),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),$.on(this._getElement(),Wt,()=>{y(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&($.off(this._element,Wt),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){E(t,this._getElement(),this._config.isAnimated)}}const Kt={trapElement:null,autofocus:!0},Vt={trapElement:"element",autofocus:"boolean"},Xt=".bs.focustrap",Yt="backward";class Qt{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),$.off(document,Xt),$.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),$.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,$.off(document,Xt))}_handleFocusin(t){const e=t["target"],i=this._config["trapElement"];if(e!==document&&e!==i&&!i.contains(e)){const s=Y.focusableChildren(i);(0===s.length?i:this._lastTabNavDirection===Yt?s[s.length-1]:s[0]).focus()}}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Yt:"forward")}_getConfig(t){return t={...Kt,..."object"==typeof t?t:{}},h("focustrap",t,Vt),t}}const Jt={backdrop:!0,keyboard:!0,focus:!0},te={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ee="hidden.bs.modal",ie="show.bs.modal",se="resize.bs.modal",ne="click.dismiss.bs.modal",oe="keydown.dismiss.bs.modal",re="mousedown.dismiss.bs.modal",ae="modal-open",ce="modal-static";class he extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=Y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new zt}static get Default(){return Jt}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||$.trigger(this._element,ie,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(ae),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),$.on(this._dialog,re,()=>{$.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){var t;this._isShown&&!this._isTransitioning&&($.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(t=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),$.off(this._element,ne),$.off(this._dialog,re),this._queueCallback(()=>this._hideModal(),this._element,t)))}dispose(){[window,this._dialog].forEach(t=>$.off(t,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ut({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qt({trapElement:this._element})}_getConfig(t){return t={...Jt,...X.getDataAttributes(this._element),..."object"==typeof t?t:{}},h("modal",t,te),t}_showElement(t){const e=this._isAnimated(),i=Y.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,i&&(i.scrollTop=0),e&&f(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,$.trigger(this._element,"shown.bs.modal",{relatedTarget:t})},this._dialog,e)}_setEscapeEvent(){this._isShown?$.on(this._element,oe,t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):$.off(this._element,oe)}_setResizeEvent(){this._isShown?$.on(window,se,()=>this._adjustDialog()):$.off(window,se)}_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(ae),this._resetAdjustments(),this._scrollBar.reset(),$.trigger(this._element,ee)})}_showBackdrop(t){$.on(this._element,ne,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!$.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const{classList:t,scrollHeight:e,style:i}=this._element,s=e>document.documentElement.clientHeight;!s&&"hidden"===i.overflowY||t.contains(ce)||(s||(i.overflowY="hidden"),t.add(ce),this._queueCallback(()=>{t.remove(ce),s||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=0<e;(!i&&t&&!b()||i&&!t&&b())&&(this._element.style.paddingLeft=e+"px"),(i&&!t&&!b()||!i&&t&&b())&&(this._element.style.paddingRight=e+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=he.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}})}}$.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=r(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),$.one(e,ie,t=>{t.defaultPrevented||$.one(e,ee,()=>{d(this)&&this.focus()})});i=Y.findOne(".modal.show");i&&he.getInstance(i).hide(),he.getOrCreateInstance(e).toggle(this)}),F(he),v(he);const de="offcanvas",ue={backdrop:!0,keyboard:!0,scroll:!1},ge={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},fe=".offcanvas.show",pe="hidden.bs.offcanvas";class me extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return de}static get Default(){return ue}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||$.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new zt).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),$.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&($.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new zt).reset(),$.trigger(this._element,pe)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...ue,...X.getDataAttributes(this._element),..."object"==typeof t?t:{}},h(de,t,ge),t}_initializeBackDrop(){return new Ut({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Qt({trapElement:this._element})}_addEventListeners(){$.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const e=me.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)}})}}$.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){var e=r(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),u(this)||($.one(e,pe,()=>{d(this)&&this.focus()}),(i=Y.findOne(fe))&&i!==e&&me.getInstance(i).hide(),me.getOrCreateInstance(e).toggle(this))}),$.on(window,"load.bs.offcanvas.data-api",()=>Y.find(fe).forEach(t=>me.getOrCreateInstance(t).show())),F(me),v(me);const be=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ve=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function we(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const s=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...s.body.querySelectorAll("*"));for(let t=0,i=n.length;t<i;t++){const i=n[t],s=i.nodeName.toLowerCase();if(Object.keys(e).includes(s)){const o=[].concat(...i.attributes),r=[].concat(e["*"]||[],e[s]||[]);o.forEach(t=>{((t,e)=>{var i=t.nodeName.toLowerCase();if(e.includes(i))return!be.has(i)||Boolean(ve.test(t.nodeValue)||ye.test(t.nodeValue));const s=e.filter(t=>t instanceof RegExp);for(let t=0,e=s.length;t<e;t++)if(s[t].test(i))return!0;return!1})(t,r)||i.removeAttribute(t.nodeName)})}else i.remove()}return s.body.innerHTML}const Ae="tooltip",Te=new Set(["sanitize","allowList","sanitizeFn"]),Ce={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ke={AUTO:"auto",TOP:"top",RIGHT:b()?"left":"right",BOTTOM:"bottom",LEFT:b()?"right":"left"},Le={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},Se={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Oe="fade",Ne="show",De="show",Pe=".tooltip-inner",Me="hide.bs.modal",je="hover";class $e extends R{constructor(t,e){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return Le}static get NAME(){return Ae}static get Event(){return Se}static get DefaultType(){return Ce}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else this.getTipElement().classList.contains(Ne)?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),$.off(this._element.closest(".modal"),Me,this._hideModalHandler),this.tip&&this.tip.remove(),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 t=$.trigger(this._element,this.constructor.Event.SHOW),e=g(this._element),s=(null===e?this._element.ownerDocument.documentElement:e).contains(this._element);if(!t.defaultPrevented&&s){"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Pe).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),o=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME);n.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&n.classList.add(Oe);var h="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,h=this._getAttachment(h);this._addAttachmentClass(h);const l=this._config["container"];z.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(n),$.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=i.createPopper(this._element,n,this._getPopperConfig(h)),n.classList.add(Ne);const c=this._resolvePossibleFunction(this._config.customClass);c&&n.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{$.on(t,"mouseover",_)});h=this.tip.classList.contains(Oe);this._queueCallback(()=>{var t=this._hoverState;this._hoverState=null,$.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)},this.tip,h)}}}hide(){if(this._popper){const t=this.getTipElement();var e;$.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(t.classList.remove(Ne),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>$.off(t,"mouseover",_)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e=this.tip.classList.contains(Oe),this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==De&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),$.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,e),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(Oe,Ne),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),Pe)}_sanitizeAndSetContent(t,e,i){const s=Y.findOne(i,t);e||!s?this.setElementContent(s,e):s.remove()}setElementContent(t,e){if(null!==t)return l(e)?(e=c(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=we(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){var t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_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:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(this._getBasicClassPrefix()+"-"+this.updateAttachment(t))}_getAttachment(t){return ke[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(i=>{var e;"click"===i?$.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t)):"manual"!==i&&(e=i===je?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=i===je?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,$.on(this._element,e,this._config.selector,t=>this._enter(t)),$.on(this._element,i,this._config.selector,t=>this._leave(t)))}),this._hideModalHandler=()=>{this._element&&this.hide()},$.on(this._element.closest(".modal"),Me,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");!t&&"string"==e||(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?"focus":je]=!0),e.getTipElement().classList.contains(Ne)||e._hoverState===De?e._hoverState=De:(clearTimeout(e._timeout),e._hoverState=De,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===De&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?"focus":je]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=X.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{Te.has(t)&&delete e[t]}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:c(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),h(Ae,t,this.constructor.DefaultType),t.sanitize&&(t.template=we(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&0<i.length&&i.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){e=e.state;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){const e=$e.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}v($e);const Be={...$e.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},ze={...$e.DefaultType,content:"(string|element|function)"},Re={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Fe extends $e{static get Default(){return Be}static get NAME(){return"popover"}static get Event(){return Re}static get DefaultType(){return ze}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each(function(){const e=Fe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}v(Fe);const qe="scrollspy",We={offset:10,method:"auto",target:""},Ue={offset:"number",method:"string",target:"(string|element)"},Ke="active",Ve=".nav-link, .list-group-item, .dropdown-item",Xe="position";class Ye extends R{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,$.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return We}static get NAME(){return qe}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Xe,e="auto"===this._config.method?t:this._config.method,i=e===Xe?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Y.find(Ve,this._config.target).map(t=>{const s=o(t),n=s?Y.findOne(s):null;if(n){const t=n.getBoundingClientRect();if(t.width||t.height)return[X[e](n).top+i,s]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){$.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...We,...X.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=c(t.target)||document.documentElement,h(qe,t,Ue),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=Ve.split(",").map(e=>e+`[data-bs-target="${t}"],${e}[href="${t}"]`),i=Y.findOne(e.join(","),this._config.target);i.classList.add(Ke),i.classList.contains("dropdown-item")?Y.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Ke):Y.parents(i,".nav, .list-group").forEach(t=>{Y.prev(t,".nav-link, .list-group-item").forEach(t=>t.classList.add(Ke)),Y.prev(t,".nav-item").forEach(t=>{Y.children(t,".nav-link").forEach(t=>t.classList.add(Ke))})}),$.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){Y.find(Ve,this._config.target).filter(t=>t.classList.contains(Ke)).forEach(t=>t.classList.remove(Ke))}static jQueryInterface(t){return this.each(function(){const e=Ye.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}$.on(window,"load.bs.scrollspy.data-api",()=>{Y.find('[data-bs-spy="scroll"]').forEach(t=>new Ye(t))}),v(Ye);const Qe="active",Je=".active",ti=":scope > li > .active";class ei extends R{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains(Qe)){let t;const e=r(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?ti:Je;t=Y.find(e,i),t=t[t.length-1]}var n=t?$.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;$.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented||(this._activate(this._element,i),n=()=>{$.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),$.trigger(this._element,"shown.bs.tab",{relatedTarget:t})},e?this._activate(e,e.parentNode,n):n())}}_activate(t,e,i){const s=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Y.children(e,Je):Y.find(ti,e))[0],n=i&&s&&s.classList.contains("fade"),o=()=>this._transitionComplete(t,s,i);s&&n?(s.classList.remove("show"),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(Qe);const t=Y.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Qe),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Qe),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),f(t),t.classList.contains("fade")&&t.classList.add("show");let s=t.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&Y.find(".dropdown-toggle",e).forEach(t=>t.classList.add(Qe)),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){const e=ei.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}$.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),u(this)||ei.getOrCreateInstance(this).show()}),v(ei);const ni="show",oi="showing",ri={animation:"boolean",autohide:"boolean",delay:"number"},ai={animation:!0,autohide:!0,delay:5e3};class li extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ri}static get Default(){return ai}static get NAME(){return"toast"}show(){$.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(ni),this._element.classList.add(oi),this._queueCallback(()=>{this._element.classList.remove(oi),$.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(ni)&&($.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(oi),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(oi),this._element.classList.remove(ni),$.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(ni)&&this._element.classList.remove(ni),super.dispose()}_getConfig(t){return t={...ai,...X.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},h("toast",t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,e){switch(i.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():(i=i.relatedTarget,this._element===i||this._element.contains(i)||this._maybeScheduleHide())}_setListeners(){$.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),$.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),$.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),$.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=li.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return F(li),v(li),{Alert:q,Button:U,Carousel:at,Collapse:mt,Dropdown:Ht,Modal:he,Offcanvas:me,Popover:Fe,ScrollSpy:Ye,Tab:ei,Toast:li,Tooltip:$e}}),function(e){var t=function(f,D,u){"use strict";var k,H;if(function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in H=f.lazySizesConfig||f.lazysizesConfig||{},t)e in H||(H[e]=t[e])}(),!D||!D.getElementsByClassName)return{init:function(){},cfg:H,noSupport:!0};function K(e,t){J(e,t)||e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}function Q(e,a){(a=J(e,a))&&e.setAttribute("class",(e[$]("class")||"").replace(a," "))}function Y(e,t){var a;!i&&(a=f.picturefill||H.pf)?(t&&t.src&&!e[$]("srcset")&&e.setAttribute("srcset",t.src),a({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)}function te(a,e){return e?function(){ee(a)}:function(){var e=this,t=arguments;ee(function(){a.apply(e,t)})}}function ae(e){function t(){a=!1,i=u.now(),e()}var a,i=0,r=H.throttleDelay,n=H.ricTimeout,s=o&&49<n?function(){o(t,{timeout:n}),n!==H.ricTimeout&&(n=H.ricTimeout)}:te(function(){I(t)},!0);return function(e){var t;(e=!0===e)&&(n=33),a||(a=!0,(t=r-(u.now()-i))<0&&(t=0),e||t<9?s():I(s,t))}}function ie(e){function n(){var e=u.now()-a;e<99?I(n,99-e):(o||r)(r)}var t,a,r=function(){t=null,e()};return function(){a=u.now(),t=t||I(n,99)}}function t(){!t.i&&D.getElementsByClassName&&(t.i=!0,re._(),e._())}var O=D.documentElement,i=f.HTMLPictureElement,P="addEventListener",$="getAttribute",q=f[P].bind(f),I=f.setTimeout,U=f.requestAnimationFrame||I,o=f.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],a={},G=Array.prototype.forEach,J=function(e,t){return a[t]||(a[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),a[t].test(e[$]("class")||"")&&a[t]},V=function(t,a,e){var i=e?P:"removeEventListener";e&&V(t,a),r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent("Event");return(a=a||{}).instance=k,n.initEvent(t,!i,!r),n.detail=a,e.dispatchEvent(n),n},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){for(a=a||e.offsetWidth;a<H.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},ee=function(){function s(){var e=n;for(n=t.length?r:t,i=!(a=!0);e.length;)e.shift()();a=!1}function e(e,t){a&&!t?e.apply(this,arguments):(n.push(e),i||(i=!0,(D.hidden?I:U)(s)))}var a,i,t=[],r=[],n=t;return e._lsFlush=s,e}(),e=function(){function L(e){M--,e&&!(M<0)&&e.target||(M=0)}function t(){var e,t,i,r,n,s,o,l,f,a,c,d=k.elements;if((h=H.loadMode)&&M<8&&(e=d.length)){for(t=0,N++;t<e;t++)if(d[t]&&!d[t]._lazyRace)if(!E||k.prematureUnveil&&k.prematureUnveil(d[t]))R(d[t]);else if((o=d[t][$]("data-expand"))&&(n=+o)||(n=w),f||(f=!H.expand||H.expand<1?500<O.clientHeight&&500<O.clientWidth?500:370:H.expand,a=(k._defEx=f)*H.expFactor,c=H.hFac,A=null,w<a&&M<1&&2<N&&2<h&&!D.hidden?(w=a,N=0):w=1<h&&1<N&&M<6?f:0),l!==n&&(y=innerWidth+n*c,z=innerHeight+n,s=-1*n,l=n),a=d[t].getBoundingClientRect(),(b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||function(e,t){var a,i=e,r=x(e);for(g-=t,b+=t,p-=t,C+=t;r&&(i=i.offsetParent)&&i!=D.body&&i!=O;)(r=0<(Z(i,"opacity")||1))&&"visible"!=Z(i,"overflow")&&(a=i.getBoundingClientRect(),r=C>a.left&&p<a.right&&b>a.top-1&&g<a.bottom+1);return r}(d[t],n))){if(R(d[t]),r=!0,9<M)break}else!r&&m&&!i&&M<4&&N<4&&2<h&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||"auto"!=d[t][$](H.sizesAttr)))&&(i=v[0]||d[t]);i&&!r&&R(i)}}function S(e){var t=e.target;t._lazyCache?delete t._lazyCache:(L(e),K(t,H.loadedClass),Q(t,H.loadingClass),V(t,B),X(t,"lazyloaded"))}function F(e){var t,a=e[$](H.srcsetAttr);(t=H.customMedia[e[$]("data-media")||e[$]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)}function o(){3==H.loadMode&&(H.loadMode=2),r()}function l(){m||(u.now()-e<999?I(l,999):(m=!0,H.loadMode=3,a(),q("scroll",o,!0)))}var v,m,c,h,e,y,z,g,p,C,b,A,n=/^img$/i,d=/^iframe$/i,E="onscroll"in f&&!/(gle|ing)bot/.test(navigator.userAgent),w=0,M=0,N=-1,x=function(e){return(A=null==A?"hidden"==Z(D.body,"visibility"):A)||!("hidden"==Z(e.parentNode,"visibility")&&"hidden"==Z(e,"visibility"))},a=ae(t),i=te(S),B=function(e){i({target:e.target})},s=te(function(t,e,s,n,r){var o,l,f,u;(f=X(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(s?K(t,H.autosizesClass):t.setAttribute("sizes",n)),s=t[$](H.srcsetAttr),n=t[$](H.srcAttr),r&&(l=(o=t.parentNode)&&j.test(o.nodeName||"")),u=e.firesLoad||"src"in t&&(s||n||l),f={target:t},K(t,H.loadingClass),u&&(clearTimeout(c),c=I(L,2500),V(t,B,!0)),l&&G.call(o.getElementsByTagName("source"),F),s?t.setAttribute("srcset",s):n&&!l&&(d.test(t.nodeName)?function(e,t){var a=e.getAttribute("data-load-mode")||H.iframeLoadMode;0==a?e.contentWindow.location.replace(t):1==a&&(e.src=t)}(t,n):t.src=n),r&&(s||l)&&Y(t,{src:n})),t._lazyRace&&delete t._lazyRace,Q(t,H.lazyClass),ee(function(){var e=t.complete&&1<t.naturalWidth;u&&!e||(e&&K(t,H.fastLoadedClass),S(f),t._lazyCache=!0,I(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&M--},!0)}),R=function(e){var t,a,i,r;e._lazyRace||(!(r="auto"==(i=(a=n.test(e.nodeName))&&(e[$](H.sizesAttr)||e[$]("sizes"))))&&m||!a||!e[$]("src")&&!e.srcset||e.complete||J(e,H.errorClass)||!J(e,H.lazyClass))&&(t=X(e,"lazyunveilread").detail,r&&re.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,M++,s(e,t,r,i,a))},r=ie(function(){H.loadMode=3,a()});return{_:function(){e=u.now(),k.elements=D.getElementsByClassName(H.lazyClass),v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass),q("scroll",a,!0),q("resize",a,!0),q("pageshow",function(e){var t;!e.persisted||(t=D.querySelectorAll("."+H.loadingClass)).length&&t.forEach&&U(function(){t.forEach(function(e){e.complete&&R(e)})})}),f.MutationObserver?new MutationObserver(a).observe(O,{childList:!0,subtree:!0,attributes:!0}):(O[P]("DOMNodeInserted",a,!0),O[P]("DOMAttrModified",a,!0),setInterval(a,999)),q("hashchange",a,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,!0)}),/d$|^c/.test(D.readyState)?l():(q("load",l),D[P]("DOMContentLoaded",a),I(l,2e4)),k.elements.length?(t(),ee._lsFlush()):a()},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){function i(e,i,a){var r=e.parentNode;r&&(a=s(e,r,a),(i=X(e,"lazybeforesizes",{width:a,dataAttr:!!i})).defaultPrevented||(a=i.detail.width)&&a!==e._lazysizesWidth&&n(e,r,i,a))}var a,n=te(function(e,t,a,i){var r,n,s;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),j.test(t.nodeName||""))for(n=0,s=(r=t.getElementsByTagName("source")).length;n<s;n++)r[n].setAttribute("sizes",i);a.detail.dataAttr||Y(e,a.detail)}),t=ie(function(){var e,t=a.length;if(t)for(e=0;e<t;e++)i(a[e])});return{_:function(){a=D.getElementsByClassName(H.autosizesClass),q("resize",t)},checkElems:t,updateElem:i}}();return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);"object"==typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd?define(t):e.lazySizes=t}(window),function(t,e){function r(){e(t.lazySizes),t.removeEventListener("lazyunveilread",r,!0)}e=e.bind(null,t,t.document),"object"==typeof module&&module.exports?e(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],e):t.lazySizes?r():t.addEventListener("lazyunveilread",r,!0)}(window,function(f,u,g){"use strict";var b,m,i=g.cfg,d={string:1,number:1},l=/^\-*\+*\d+\.*\d*$/,p=/^picture$/i,v=/\s*\{\s*width\s*\}\s*/i,y=/\s*\{\s*height\s*\}\s*/i,h=/\s*\{\s*([a-z0-9]+)\s*\}\s*/gi,z=/^\[.*\]|\{.*\}$/,A=/^(?:auto|\d+(px)?)$/,w=u.createElement("a"),t=u.createElement("img"),P="srcset"in t&&!("sizes"in t),E=!!f.HTMLPictureElement&&!P;function N(a,t,s){var e,r,i,n,o,c=f.getComputedStyle(a);if(s){for(n in o={},s)o[n]=s[n];s=o}else r=a.parentNode,s={isPicture:!(!r||!p.test(r.nodeName||""))};for(e in i=function(t,e){var r,i=a.getAttribute("data-"+t);if(i||(r=c.getPropertyValue("--ls-"+t))&&(i=r.trim()),i){if("true"==i)i=!0;else if("false"==i)i=!1;else if(l.test(i))i=parseFloat(i);else if("function"==typeof m[t])i=m[t](a,i);else if(z.test(i))try{i=JSON.parse(i)}catch(t){}s[t]=i}else t in m&&"function"!=typeof m[t]&&!s[t]?s[t]=m[t]:e&&"function"==typeof m[t]&&(s[t]=m[t](a,i))},m)i(e);return t.replace(h,function(t,e){e in s||i(e,!0)}),s}function _(t,e,r){var s,n,o,i=0,a=0,c=r;if(t){if("container"===e.ratio){for(i=c.scrollWidth,a=c.scrollHeight;!(i&&a||c===u);)i=(c=c.parentNode).scrollWidth,a=c.scrollHeight;i&&a&&(e.ratio=e.traditionalRatio?a/i:i/a)}s=t,n=e,(o=[]).srcset=[],n.absUrl&&(w.setAttribute("href",s),s=w.href),s=((n.prefix||"")+s+(n.postfix||"")).replace(h,function(t,e){return d[typeof n[e]]?n[e]:t}),n.widths.forEach(function(t){var e=n.widthmap[t]||t,a=n.aspectratio||n.ratio,i=!n.aspectratio&&m.traditionalRatio,a={u:s.replace(v,e).replace(y,a?i?Math.round(t*a):Math.round(t/a):""),w:t};o.push(a),o.srcset.push(a.c=a.u+" "+t+"w")}),(t=o).isPicture=e.isPicture,P&&"IMG"==r.nodeName.toUpperCase()?r.removeAttribute(b.srcsetAttr):r.setAttribute(b.srcsetAttr,t.srcset.join(", ")),Object.defineProperty(r,"_lazyrias",{value:t,writable:!0})}}function x(t){return t.getAttribute(t.getAttribute("data-srcattr")||m.srcAttr)||t.getAttribute(b.srcsetAttr)||t.getAttribute(b.srcAttr)||t.getAttribute("data-pfsrcset")||""}!function(){var t,e={prefix:"",postfix:"",srcAttr:"data-src",absUrl:!1,modifyOptions:function(){},widthmap:{},ratio:!1,traditionalRatio:!1,aspectratio:!1};for(t in(b=g&&g.cfg).supportsType||(b.supportsType=function(t){return!t}),b.rias||(b.rias={}),"widths"in(m=b.rias)||(m.widths=[],function(t){for(var e,r=0;!e||e<3e3;)30<(r+=5)&&(r+=1),t.push(e=36*r)}(m.widths)),e)t in m||(m[t]=e[t])}(),addEventListener("lazybeforesizes",function(y){if(y.detail.instance==g){var e,r,i,a,s,n,c,u,d,l=y.target;if(y.detail.dataAttr&&!y.defaultPrevented&&!m.disabled&&(c=l.getAttribute(b.sizesAttr)||l.getAttribute("sizes"))&&A.test(c)){var p,f=x(l),y=N(p=l,f);if(m.modifyOptions.call(p,{target:p,details:y,detail:y}),g.fire(p,"lazyriasmodifyoptions",y),u=v.test((e=y).prefix)||v.test(e.postfix),e.isPicture&&(r=l.parentNode))for(a=0,s=(i=r.getElementsByTagName("source")).length;a<s;a++)(u||v.test(n=x(i[a])))&&(_(n,N(i[a],n,e),i[a]),d=!0);u||v.test(f)?(_(f,e,l),d=!0):d&&((f=[]).srcset=[],f.isPicture=!0,Object.defineProperty(l,"_lazyrias",{value:f,writable:!0})),d&&(E?l.removeAttribute(b.srcAttr):"auto"!=c&&(c={width:parseInt(c,10)},M({target:l,detail:c})))}}},!0);var a,M=(a=function(t){var e,r;t.detail.instance==g&&(r=t.target,P||!(f.respimage||f.picturefill||i.pf)?("_lazyrias"in r||t.detail.dataAttr&&O(r,!0))&&(e=function(u,e){var r,i,a,s,n,d=u._lazyrias;if(d.isPicture&&f.matchMedia)for(i=0,a=(r=u.parentNode.getElementsByTagName("source")).length;i<a;i++)if(O(r[i])&&!r[i].getAttribute("type")&&(!(s=r[i].getAttribute("media"))||(matchMedia(s)||{}).matches)){d=r[i]._lazyrias;break}return(!d.w||d.w<e)&&(d.w=e,d.d=(u=u,n=f.devicePixelRatio||1,u=g.getX&&g.getX(u),Math.min(u||n,2.4,n)),n=function(t){for(var e,r,i=t.length,a=t[i-1],s=0;s<i;s++)if((a=t[s]).d=a.w/t.w,a.d>=t.d){!a.cached&&(e=t[s-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(r=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*r),e.d+(a.d-t.d)*r>t.d&&(a=e));break}return a}(d.sort(L))),n}(r,t.detail.width))&&e.u&&r._lazyrias.cur!=e.u&&(r._lazyrias.cur=e.u,e.cached=!0,g.rAF(function(){r.setAttribute(b.srcAttr,e.u),r.setAttribute("src",e.u)})):u.removeEventListener("lazybeforesizes",a))},E?a=function(){}:addEventListener("lazybeforesizes",a),a);function L(t,e){return t.w-e.w}function O(t,e){var r;return!t._lazyrias&&g.pWS&&(r=g.pWS(t.getAttribute(b.srcsetAttr||""))).length&&(Object.defineProperty(t,"_lazyrias",{value:r,writable:!0}),e&&t.parentNode&&(r.isPicture="PICTURE"==t.parentNode.nodeName.toUpperCase())),t._lazyrias}}),function(a,c){"function"==typeof define&&define.amd?define(["module","exports"],c):"undefined"!=typeof exports?c(module,exports):(c(c={exports:{}},c.exports),a.WOW=c.exports)}(this,function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b){return 0<=b.indexOf(a)}function i(a,b,c){null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c}function j(a,b,c){null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]}Object.defineProperty(b,"__esModule",{value:!0});var l,n=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),o=window.WeakMap||window.MozWeakMap||function(){function a(){c(this,a),this.keys=[],this.values=[]}return n(a,[{key:"get",value:function(a){for(var b=0;b<this.keys.length;b++)if(this.keys[b]===a)return this.values[b]}},{key:"set",value:function(a,b){for(var c=0;c<this.keys.length;c++)if(this.keys[c]===a)return this.values[c]=b,this;return this.keys.push(a),this.values.push(b),this}}]),a}(),p=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(r=l=function(){function a(){c(this,a),"undefined"!=typeof console&&null!==console&&(console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content."))}return n(a,[{key:"observe",value:function(){}}]),a}(),l.notSupported=!0,r),q=window.getComputedStyle||function(a){var b=/(\-([a-z]){1})/g;return{getPropertyValue:function(c){b.test(c="float"===c?"styleFloat":c)&&c.replace(b,function(a,b){return b.toUpperCase()});var d=a.currentStyle;return(null!=d?d[c]:void 0)||null}}},r=function(){function a(){var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];c(this,a),this.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null,resetAnimation:!0},this.animate="requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()},this.vendors=["moz","webkit"],this.start=this.start.bind(this),this.resetAnimation=this.resetAnimation.bind(this),this.scrollHandler=this.scrollHandler.bind(this),this.scrollCallback=this.scrollCallback.bind(this),this.scrolled=!0,this.config=function(a,b){for(var c in b){var d;null==a[c]&&(d=b[c],a[c]=d)}return a}(b,this.defaults),null!=b.scrollContainer&&(this.config.scrollContainer=document.querySelector(b.scrollContainer)),this.animationNameCache=new o,this.wowEvent=function(a,c,d,e){var b=!(arguments.length<=1||void 0===c)&&c,c=!(arguments.length<=2||void 0===d)&&d,d=arguments.length<=3||void 0===e?null:e,e=void 0;return null!=document.createEvent?(e=document.createEvent("CustomEvent")).initCustomEvent(a,b,c,d):null!=document.createEventObject?(e=document.createEventObject()).eventType=a:e.eventName=a,e}(this.config.boxClass)}return n(a,[{key:"init",value:function(){this.element=window.document.documentElement,d(document.readyState,["interactive","complete"])?this.start():i(document,"DOMContentLoaded",this.start),this.finished=[]}},{key:"start",value:function(){var a=this;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll("."+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(var b=0;b<this.boxes.length;b++){var c=this.boxes[b];this.applyStyle(c,!0)}this.disabled()||(i(this.config.scrollContainer||window,"scroll",this.scrollHandler),i(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live&&new p(function(b){for(var c=0;c<b.length;c++)for(var d=b[c],e=0;e<d.addedNodes.length;e++){var f=d.addedNodes[e];a.doSync(f)}}).observe(document.body,{childList:!0,subtree:!0})}},{key:"stop",value:function(){this.stopped=!0,j(this.config.scrollContainer||window,"scroll",this.scrollHandler),j(window,"resize",this.scrollHandler),null!=this.interval&&clearInterval(this.interval)}},{key:"sync",value:function(){p.notSupported&&this.doSync(this.element)}},{key:"doSync",value:function(a){if(1===(a=null==a?this.element:a).nodeType)for(var b=(a=a.parentNode||a).querySelectorAll("."+this.config.boxClass),c=0;c<b.length;c++){var e=b[c];d(e,this.all)||(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),this.scrolled=!0)}}},{key:"show",value:function(a){return this.applyStyle(a),a.className=a.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),function(a,b){null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)&&a["on"+b]()}(a,this.wowEvent),this.config.resetAnimation&&(i(a,"animationend",this.resetAnimation),i(a,"oanimationend",this.resetAnimation),i(a,"webkitAnimationEnd",this.resetAnimation),i(a,"MSAnimationEnd",this.resetAnimation)),a}},{key:"applyStyle",value:function(a,b){var c=this,d=a.getAttribute("data-wow-duration"),e=a.getAttribute("data-wow-delay"),f=a.getAttribute("data-wow-iteration");return this.animate(function(){return c.customStyle(a,b,d,e,f)})}},{key:"resetStyle",value:function(){for(var a=0;a<this.boxes.length;a++)this.boxes[a].style.visibility="visible"}},{key:"resetAnimation",value:function(b){0<=b.type.toLowerCase().indexOf("animationend")&&((b=b.target||b.srcElement).className=b.className.replace(this.config.animateClass,"").trim())}},{key:"customStyle",value:function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a}},{key:"vendorSet",value:function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[""+c]=d;for(var e=0;e<this.vendors.length;e++)a[""+this.vendors[e]+c.charAt(0).toUpperCase()+c.substr(1)]=d}}},{key:"vendorCSS",value:function(a,b){for(var c=q(a),d=c.getPropertyCSSValue(b),e=0;e<this.vendors.length;e++)var f=this.vendors[e],d=d||c.getPropertyCSSValue("-"+f+"-"+b);return d}},{key:"animationName",value:function(a){var b=void 0;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=q(a).getPropertyValue("animation-name")}return"none"===b?"":b}},{key:"cacheAnimationName",value:function(a){return this.animationNameCache.set(a,this.animationName(a))}},{key:"cachedAnimationName",value:function(a){return this.animationNameCache.get(a)}},{key:"scrollHandler",value:function(){this.scrolled=!0}},{key:"scrollCallback",value:function(){if(this.scrolled){this.scrolled=!1;for(var a=[],b=0;b<this.boxes.length;b++){var c=this.boxes[b];c&&(this.isVisible(c)?this.show(c):a.push(c))}this.boxes=a,this.boxes.length||this.config.live||this.stop()}}},{key:"offsetTop",value:function(a){for(;void 0===a.offsetTop;)a=a.parentNode;for(var b=a.offsetTop;a.offsetParent;)b+=(a=a.offsetParent).offsetTop;return b}},{key:"isVisible",value:function(f){var e=f.getAttribute("data-wow-offset")||this.config.offset,c=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,d=c+Math.min(this.element.clientHeight,"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight)-e,e=this.offsetTop(f),f=e+f.clientHeight;return e<=d&&c<=f}},{key:"disabled",value:function(){return!this.config.mobile&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}}]),a}();b.default=r,a.exports=b.default});const $contactFormModal=document.querySelectorAll(".contact-form-modal");$contactFormModal.forEach($modal=>{const $form=$modal.querySelector("[data-contact-form-submit-url]");$trigger=$form.querySelector("button"),$trigger.addEventListener("click",e=>{handleContactFormSubmit($form)});const closeButton=$modal.querySelector(".btn-close");closeButton.addEventListener("click",()=>{resetForm($form)}),$form.addEventListener("keypress",evt=>{13==evt.which&&"textarea"!=evt.target.nodeName.toLowerCase()&&(evt=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}),$trigger.dispatchEvent(evt))})}),handleContactFormSubmit=$form=>{var url=$form.dataset.contactFormSubmitUrl;if(url){let formData=serializeFormData($form);var token=$form.querySelector("[name='__RequestVerificationToken']").value;formData.GoogleReCaptchaResponse=formData["g-recaptcha-response"],fetch(url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",RequestVerificationToken:token},body:JSON.stringify(formData)}).then(function(response){return response.ok?response.json():Promise.reject(response)}).then(function(data){data&&data.success?formSubmitSuccess($form,data):data?formSubmitFail($form,data):formPostError($form)}).catch(function(error){console.warn(error),formPostError($form)})}},formSubmitSuccess=($form,result)=>{let $fields=getContactFormFields($form),$message=getContactFormSuccessArea($form);$fields.style.display="none",$form.reset(),$message.style.display="block";let successMessageText="";result.successMessageTitle&&(successMessageText+=`<h2>${result.successMessageTitle}</h2>`),result.successMessageText&&(successMessageText+=result.successMessageText),$message.innerHTML=successMessageText},formSubmitFail=($form,result)=>{let $fields=getContactFormFields($form);getContactFormValidationArea($form);if(result.validationMessages&&0<result.validationMessages.length){removeValidationMessages($form);for(var[key,value]of Object.entries(result.validationIssues)){let $field=$fields.querySelector(`[name="${key}"]`);$field&&($field.parentNode.classList.add("has-error"),$field.nextElementSibling.innerHTML=value)}}resetCaptcha(),$form.scrollIntoView({behavior:"smooth",block:"start"})},formPostError=$form=>{alert("Unhandled exception")},getContactFormFields=$form=>$form.querySelector("[data-contact-form-fields]"),getContactFormSuccessArea=$form=>$form.querySelector("[data-contact-form-success]"),getContactFormValidationArea=$form=>$form.querySelector("[data-contact-form-validation]"),serializeFormData=$form=>{var key,value;let obj={};for([key,value]of new FormData($form))void 0!==obj[key]?(Array.isArray(obj[key])||(obj[key]=[obj[key]]),obj[key].push(value)):obj[key]=value;return obj},removeValidationMessages=$form=>{const $fields=getContactFormFields($form);$fields.querySelectorAll(".lazard-form-group").forEach(item=>{item.classList.remove("has-error");const $span=item.querySelector("span");$span&&($span.textContent="")})},resetCaptcha=()=>{grecaptcha&&grecaptcha.enterprise||console.error("Unable to get reCAPTCHA API reference"),grecaptcha.enterprise.reset()},resetForm=$form=>{const $fields=getContactFormFields($form),$message=getContactFormSuccessArea($form);$form.reset(),resetCaptcha(),removeValidationMessages($form),$message.style.display="none",$fields.style.display="block"};const lazard={web:{trapFocus:function(numberOfFocusableItems,evt){if(9===evt.keyCode){let focusableItems=numberOfFocusableItems.querySelectorAll("input:not([disabled]), select:not([disabled]), button:not([disabled])");var focusedItem=document.activeElement,numberOfFocusableItems=focusableItems.length;let focusedItemIndex;for(var i=0;i<focusableItems.length;i++)if(focusableItems[i]===focusedItem){focusedItemIndex=i;break}evt.shiftKey?0===focusedItemIndex&&(focusableItems[numberOfFocusableItems-1].focus(),evt.preventDefault()):focusedItemIndex===numberOfFocusableItems-1&&(focusableItems[0].focus(),evt.preventDefault())}},toggleNav:function(toggleButton,wrapper){const container=document.querySelector(wrapper);if(toggleButton&&container){const menuItems=document.querySelectorAll(".menu-item");window.subscribers=[];const state=new Proxy({enabled:!1},{set(state,key,value){const oldState={...state};return state[key]=value,window.subscribers.forEach(callback=>callback(state,oldState)),state}}),observer=new ResizeObserver(observedItems=>{var contentRect=observedItems[0]["contentRect"];state.enabled=contentRect.width<=1440,observedItems[0].target.setAttribute("data-enabled",state.enabled)});observer.observe(container),menuItems.forEach(item=>{const menu=item.closest(".lazard-masthead__menu"),menuState=menu.offsetHeight;item.querySelector(".sub-menu__heading").addEventListener("click",()=>{const root=document.documentElement;if(item.classList.contains("sub-menu-active"))item.classList.remove("sub-menu-active"),root.style.setProperty("--menu-height",menuState+"px");else{const itemWithIsOpen=document.querySelectorAll(".sub-menu-active");itemWithIsOpen.forEach(itemWithIsOpen=>{itemWithIsOpen.classList.remove("sub-menu-active")}),item.classList.add("sub-menu-active"),root.style.setProperty("--menu-height",menu.offsetHeight+"px")}})});const toggles=document.querySelectorAll(toggleButton);for(const toggle of toggles)toggle.addEventListener("click",function(menuState){menuState.preventDefault();const target=document.getElementById(this.getAttribute("data-target")),targetContainer=target.querySelector(".lazard-masthead__container");menuState=JSON.parse(this.getAttribute("aria-expanded"));for(const otherToggle of document.querySelectorAll(".nav-toggle"))if(otherToggle!==this){otherToggle.setAttribute("aria-expanded",!1),otherToggle.classList.remove("nav-open");const otherToggleTarget=document.getElementById(otherToggle.getAttribute("data-target"));otherToggleTarget.querySelector(".lazard-masthead__container").classList.remove("menu__animated","menu__fadeInUp"),container.classList.remove(otherToggle.getAttribute("data-target")+"-is-open")}this.setAttribute("aria-expanded",!menuState),this.classList.toggle("nav-open");const root=document.documentElement;root.style.setProperty("--body-height",document.body.scrollHeight+"px"),root.style.setProperty("--menu-height",targetContainer.offsetHeight+"px"),window.addEventListener("resize",()=>{root.style.setProperty("--body-height",document.body.scrollHeight+"px"),root.style.setProperty("--menu-height",targetContainer.offsetHeight+"px")}),targetContainer.classList.add("menu__animated","menu__fadeInUp"),container.classList.toggle(this.getAttribute("data-target")+"-is-open"),window.scrollTo(0,0),menuState&&targetContainer.classList.remove("menu__animated","menu__fadeInUp")});window.addEventListener("keydown",function(event){if(event.key&&event.key.includes("Escape"))for(const toggle of toggles)document.querySelector('.nav-toggle[aria-expanded="true"]')&&(document.getElementById(toggle.getAttribute("data-target")),toggle.classList.remove("nav-open"),toggle.setAttribute("aria-expanded",!1),container.classList.remove(toggle.getAttribute("data-target")+"-is-open"))})}},togglePanel:function(togglers){togglers=document.querySelectorAll(togglers);togglers&&Array.prototype.forEach.call(togglers,function(toggler,i){const target=document.getElementById(toggler.getAttribute("data-target"));toggler.addEventListener("click",function(replaceText){replaceText.preventDefault(),target.classList.toggle("hide");replaceText=toggler.dataset.revealReplaceText;if(replaceText){let textElement=toggler;0<toggler.children.length&&"a"===toggler.children[0].tagName.toLowerCase()&&(textElement=toggler.children[0]),toggler.dataset.revealReplaceText=textElement.innerText,textElement.innerText=replaceText}})})},listClick:function(listLinks){listLinks=document.querySelectorAll(listLinks);listLinks&&Array.prototype.forEach.call(listLinks,function(list,i){let down,up;const url=list.querySelector(".list__heading a").getAttribute("href");list.addEventListener("mouseover",function(event){list.classList.add("list--hover")}),list.addEventListener("mouseout",function(event){list.classList.remove("list--hover")}),list.style.cursor="pointer",list.onmousedown=()=>down=+new Date,list.onmouseup=()=>{up=+new Date,up-down<200&&(window.location=url)}})}}};!function(){document.documentElement.className=document.documentElement.className.replace("no-js","js");const desktopWidth=1380;let checkDomain=function(url){return(url=0===url.indexOf("//")?location.protocol+url:url).toLowerCase().replace(/([a-z])?:\/\//,"$1").split("/")[0]};const externalLinks=()=>{let links=document.querySelectorAll(".lazard-wrapper a");for(let i=0;i<links.length;i++){var url=links[i].getAttribute("href");url&&""!=url&&!0==(!(url=url).startsWith("tel:")&&!url.startsWith("mailto:")&&(-1<url.indexOf(":")||-1<url.indexOf("//"))&&checkDomain(location.href)!==checkDomain(url))&&links[i].classList.add("external")}},cardClick=cardLinks=>{cardLinks=document.querySelectorAll(cardLinks);cardLinks&&Array.prototype.forEach.call(cardLinks,function(card,i){let down,up,url=card.getAttribute("data-lazard-url");card.addEventListener("mouseover",function(event){card.classList.add("card--hover")}),card.addEventListener("mouseout",function(event){card.classList.remove("card--hover")}),card.style.cursor="pointer",card.onmousedown=()=>down=+new Date,card.onmouseup=()=>{up=+new Date,up-down<200&&(window.location=url)}})},updateSearchResults=response=>{const $resultsPanel=document.getElementById("list-search-results");return response.json().then(data=>{document.querySelectorAll("a[data-update-filter]").forEach(a=>a.classList.toggle("no-results",0===data.resultCount)),$resultsPanel.innerHTML=data.html})},jsonFiltersList=searchContext=>{var doPerformSearch=!1!==searchContext;if(rootPageId=document.querySelector("[data-list-search-root]")){var rootPageId=rootPageId.dataset.listSearchRoot,searchContext=document.querySelector("[data-search-context]").dataset.searchContext;let filterUrl;filterUrl="people"==searchContext?"/api/PeopleSearch/SearchPeople?peopleContainerPageId="+rootPageId:"transactions"==searchContext?"/api/TransactionSearch/SearchTransactions?containerPageId="+rootPageId:"events"==searchContext?"/api/EventSearch/SearchEvents?containerPageId="+rootPageId:"careers"==searchContext?"/api/CareersSearch/SearchCareers?containerPageId="+rootPageId:"/api/ArticleSearch/SearchArticles?articleContainerPageId="+rootPageId;document.querySelectorAll(".lazard-checkboxes__input");let $business=document.querySelectorAll('[name="bid"]'),$article=document.querySelectorAll('[name="aid"]'),$topic=document.querySelectorAll('[name="tid"]'),$year=document.querySelectorAll('[name="y"]'),$country=document.querySelectorAll('[name="cid"]'),$transaction=document.querySelectorAll('[name="t"]'),$status=document.querySelectorAll('[name="s"]'),$region=document.querySelectorAll('[name="r"]'),$jobType=document.querySelectorAll('[name="ct"]'),$locationIds=document.querySelectorAll('[name="lid"]'),$selectedSortBy=document.querySelectorAll('[name="sortBy"]');doPerformSearch&&(page=>{let aids="",bids="",cids="",tids="",lids="",ys="",ts="",ss="",rs="",ct="",sortBy="";$article.forEach($t=>{$t.checked&&(aids+="&articleTypeFilterIds="+$t.value)}),$business.forEach($t=>{$t.checked&&(bids+="&businessFilterIds="+$t.value)}),$country.forEach($t=>{$t.checked&&(cids+="&countryFilterIds="+$t.value)}),$topic.forEach($t=>{$t.checked&&(tids+="&topicFilterIds="+$t.value)}),$year.forEach($t=>{$t.checked&&(ys+="&yearFilterIds="+$t.value)}),$transaction.forEach($t=>{$t.checked&&(ts+="&transactionTypeIds="+$t.value)}),$status.forEach($t=>{$t.checked&&(ss+="&statusIds="+$t.value)}),$region.forEach($t=>{$t.checked&&(rs+="&regionIds="+$t.value)}),$jobType.forEach($t=>{$t.checked&&(ct+="&careerTypeFilterIds="+$t.value)}),$locationIds.forEach($t=>{$t.checked&&(lids+="&cityFilterIds="+$t.value)}),$selectedSortBy.forEach($t=>{sortBy+="&sortBy="+$t.value}),page&&(filterUrl+="&page="+page),fetch(filterUrl+bids+cids+aids+tids+ys+ts+ss+rs+ct+lids+sortBy).then(response=>updateSearchResults(response))})();const clearFilters=document.querySelector(".lazard-tags--controls .clear-all:not(.attached)");clearFilters&&(clearFilters.classList.add("attached"),clearFilters.addEventListener("click",e=>{fetch(filterUrl).then(response=>updateSearchResults(response))}))}},convertUrlParamsToQuery=()=>{const searchParams=new URLSearchParams(window.location.search),selectedBusinessIds=searchParams.getAll("bid"),selectedArticleTypeIds=searchParams.getAll("aid"),selectedArticleTopicIds=searchParams.getAll("tid"),selectedArticleYears=searchParams.getAll("y"),selectedArticleTransactionTopics=searchParams.getAll("t"),selectedArticleTransactionStatuses=searchParams.getAll("s"),selectedArticleRegions=searchParams.getAll("r"),selectedJobTypes=searchParams.getAll("ct");var selectedSortBy=searchParams.getAll("sortBy");const selectedLocationIds=searchParams.getAll("lid"),selectedCountryFilterIds=searchParams.getAll("cid");let bids=[];selectedBusinessIds.forEach(function(bid){bids+="&businessFilterIds="+encodeURIComponent(bid)});let aids=[];selectedArticleTypeIds.forEach(function(aid){aids+="&articleTypeFilterIds="+encodeURIComponent(aid)});let tids=[];selectedArticleTopicIds.forEach(function(tid){tids+="&topicFilterIds="+encodeURIComponent(tid)});let ys=[];selectedArticleYears.forEach(function(y){ys+="&yearFilterIds="+encodeURIComponent(y)});let ts=[];selectedArticleTransactionTopics.forEach(function(t){ts+="&transactionTypeIds="+encodeURIComponent(t)});let ss=[];selectedArticleTransactionStatuses.forEach(function(s){ss+="&statusIds="+encodeURIComponent(s)});let rs=[];selectedArticleRegions.forEach(function(r){rs+="&regionIds="+encodeURIComponent(r)});let ct=[];selectedJobTypes.forEach(id=>{ct+="&careerTypeFilterIds="+encodeURIComponent(id)});let lids=[];selectedLocationIds.forEach(id=>{lids+="&cityFilterIds="+encodeURIComponent(id)});let cids=[];selectedCountryFilterIds.forEach(id=>{cids+="&countryFilterIds="+encodeURIComponent(id)});let sortBy="";return selectedSortBy&&(sortBy="&sortBy="+encodeURIComponent(selectedSortBy)),bids+aids+tids+ys+ts+ss+rs+ct+lids+cids+sortBy},updateRelatedFilterLinks=()=>{var searchParams=convertUrlParamsToQuery().trim().replace(/(^[\&\?])|([\&\?]$)/,"");const qs=searchParams?"?"+searchParams:"";document.querySelectorAll("a[data-update-filter]").forEach(a=>a.href=a.getAttribute("data-base-url")+qs)},urlTagsRefresh=()=>{let searchParams=new URLSearchParams(window.location.search),checkboxNames=[],checkboxes=document.querySelectorAll(".lazard-checkboxes__input");checkboxes.forEach(c=>{checkboxNames.includes(c.name)||checkboxNames.push(c.name)}),searchParams.delete("page"),checkboxNames.forEach(c=>{let $id=document.querySelectorAll('[name="'+c+'"]'),ids=[];$id.forEach($t=>{$t.checked&&ids.push($t.value),"select-one"==$t.type&&ids.push($t.options[$t.selectedIndex].value)}),searchParams.delete(c),ids.forEach(id=>{searchParams.append(c,id)});var newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+searchParams;window.history.pushState({path:newurl},"",newurl)}),updateRelatedFilterLinks()},removeTags=tags=>{Array.prototype.forEach.call(tags,function(tag,i){tag.addEventListener("click",function(event){event.preventDefault(),event.stopPropagation();let target=event.target,targetType=target.dataset.type;1<=document.getElementById("selectedTags").childElementCount&&target.parentNode.removeChild(target),checkedItemsArr.forEach((item,i)=>{item.id===target.id&&item.type===targetType&&checkedItemsArr.splice(i,1)});let checkboxes=document.querySelectorAll(".lazard-checkboxes__input");checkboxes.forEach(c=>{c.value===target.id&&c.name===targetType&&(c.checked=!1)}),0===checkedItemsArr.length&&document.querySelector("#selectedTagsControls")&&document.querySelector("#selectedTagsControls").classList.add("hide"),populateTags("#selectedTagsPage","selectedTagsControls"),0==JSON.parse(document.querySelector("#filterToggle").getAttribute("aria-expanded"))&&populateTags("#selectedTags","selectedTagsControls"),urlTagsRefresh(),jsonFiltersList()})})},populateTags=(elem,tags)=>{let checkboxes=document.querySelectorAll(".lazard-checkboxes__input:checked"),selectedTags=document.querySelector(elem);if(checkboxes&&selectedTags){let filterTagControls=document.getElementById(tags);if(0===checkboxes.length&&(selectedTags.innerHTML="",filterTagControls.classList.add("hide")),0<checkboxes.length){filterTagControls.classList.remove("hide"),checkedItemsArr=[];let checkedItem;checkboxes.forEach(c=>{checkedItem={id:c.value,label:c.parentNode.textContent,type:c.name},checkedItemsArr.push(checkedItem)});let tags="";checkedItemsArr.forEach(c=>{tags+='<a href="#" id="'+c.id+'" data-type="'+c.type+'" class="lazard-button filter-form-option">'+c.label+"</a>"}),selectedTags.innerHTML=tags}let clearAll=document.querySelectorAll(".clear-all"),clearSome=document.querySelectorAll(".clear-some"),allCheckboxes=document.querySelectorAll(".lazard-checkboxes__input");for(let i=0;i<clearSome.length;i++)clearSome[i].addEventListener("click",function(event){selectedTags.innerHTML="";let someCheckboxes=document.querySelectorAll(".filter-open .lazard-checkboxes__input");someCheckboxes.forEach(c=>{c.checked=!1});let checkBoxName=someCheckboxes[0].name,tags=document.querySelectorAll("#selectedTags a");tags.forEach(t=>{t.dataset.type===checkBoxName&&t.parentNode.removeChild(t)}),0===document.getElementById("selectedTags").childElementCount&&document.getElementById("selectedTagsControls").classList.add("hide");let searchParams=new URLSearchParams(window.location.search);searchParams.delete(checkBoxName);var newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+searchParams;window.history.pushState({path:newurl},"",newurl)});for(let i=0;i<clearAll.length;i++)clearAll[i].addEventListener("click",function(newurl){newurl.preventDefault(),newurl.stopPropagation(),selectedTags.innerHTML="",filterTagControls.classList.add("hide"),allCheckboxes.forEach(c=>{c.checked=!1});let searchParams=new URLSearchParams(window.location.search),checkboxNames=[],checkboxes=document.querySelectorAll(".lazard-checkboxes__input");checkboxes.forEach(c=>{checkboxNames.includes(c.name)||checkboxNames.push(c.name)}),checkboxNames.forEach(c=>{searchParams.delete(c)});newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+searchParams;window.history.pushState({path:newurl},"",newurl)});tags=selectedTags.querySelectorAll(".lazard-button");removeTags(tags)}},filterModalFilters=()=>{var allCheckboxes=document.querySelectorAll(".lazard-checkboxes__label"),allSelects=document.querySelectorAll("select.lazard-checkboxes__input");populateTags("#selectedTags","selectedTagsControls"),populateTags("#selectedTagsPage","selectedTagsControls"),(()=>{var filters=document.querySelectorAll(".lazard-form-modal__filters .lazard-fieldset__legend");if(filters){Array.prototype.forEach.call(filters,function(filter,i){filter.addEventListener("click",function(event){if(event.preventDefault(),event.stopPropagation(),!(window.innerWidth>desktopWidth)){let fieldset=event.target.closest(".lazard-fieldset");fieldset.classList.toggle("filter-open"),document.querySelector(".lazard-form-filter--modal").classList.toggle("checkboxes-open")}})});let backLink=document.getElementById("backLink");backLink&&backLink.addEventListener("click",function(event){event.preventDefault(),event.stopPropagation();let fieldset=document.querySelector(".lazard-fieldset.filter-open");fieldset.classList.toggle("filter-open"),document.querySelector(".lazard-form-filter--modal").classList.toggle("checkboxes-open")})}})(),Array.prototype.forEach.call(allCheckboxes,function(checkbox,i){checkbox.parentNode.addEventListener("change",function(event){populateTags("#selectedTags","selectedTagsControls"),populateTags("#selectedTagsPage","selectedTagsControls"),urlTagsRefresh(),jsonFiltersList()})}),Array.prototype.forEach.call(allSelects,function(select,i){select.addEventListener("change",function(event){urlTagsRefresh(),jsonFiltersList()})})},predictiveSearchQuery=(trigger,autocomplete,contentSearchUrl,event)=>{var abortController=new AbortController,signal=abortController.signal,contentSearchUrl="/api/PeopleSearch/SearchPeopleByName?searchText="+encodeURIComponent(contentSearchUrl);fetch(contentSearchUrl,{signal:signal}).then(response=>response.json()).then(data=>{if(0<data.length){var searchTermRegex=new RegExp(trigger.value,"i");autocomplete.innerHTML="";let ul=document.createElement("ul");for(var i=0;i<data.length;i++){var item=data[i];let li=document.createElement("li");ul.appendChild(li);let a=document.createElement("a");a.className="none",a.href=item.url,li.appendChild(a);let personName=document.createElement("span");personName.innerText=item.fullName,personName.innerHTML=personName.textContent.replace(searchTermRegex,'<span class="search-highlight">$&</span>'),a.appendChild(personName),a.appendChild(document.createTextNode(" "))}autocomplete.appendChild(ul)}else autocomplete.innerHTML='<ul><li class="no-results">No matching results found</li></ul>'}).catch(e=>{if("AbortError"!==e.name)throw e});const closeIcon=trigger.parentElement.querySelector(".close-icon");return closeIcon.innerHTML="&times;<span class='visually-hidden'>Close search</span>",closeIcon.addEventListener("click",function(){closeIcon.innerHTML="",autocomplete.innerHTML="",trigger.value=""}),trigger.value.length<1?autocomplete.innerHTML="":event&&27===event.keyCode&&(closeIcon.innerHTML="",autocomplete.innerHTML="",trigger.value=""),abortController};window.addEventListener("load",function(){wow=new WOW({boxClass:"block--animate",animateClass:"animate__animated"}),wow.init(),externalLinks(),((button,elem)=>{const toggleButton=document.querySelector(button),menu=document.querySelector(elem);toggleButton&&menu&&toggleButton.addEventListener("click",function(event){var buttonState=JSON.parse(toggleButton.getAttribute("aria-expanded"));toggleButton.setAttribute("aria-expanded",!buttonState),menu.classList.toggle("show"),toggleButton.classList.toggle("open")})})("#buttonShare"),lazard.web.toggleNav(".nav-toggle",".lazard-wrapper"),lazard.web.togglePanel("[data-reveal]"),(()=>{const links=document.querySelectorAll('a[href^="#"]');for(let i=0;i<links.length;i++)links[i].addEventListener("click",function(id){id.preventDefault(),"#"!==this.getAttribute("href")&&(id=this.getAttribute("href"),document.querySelector(id).scrollIntoView({behavior:"smooth"}))})})(),(()=>{const currentTab=document.querySelector("[data-scroll-current]");currentTab&&window.innerWidth<768&&setTimeout(function(){currentTab.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},500)})(),(tagLevel=>{let jumpLinksTrigger=document.querySelectorAll(tagLevel);if(0<jumpLinksTrigger.length){tagLevel=jumpLinksTrigger[0].dataset.lazardJumplinks;let jumpLinkTitles=document.querySelectorAll("#content h"+tagLevel),list=document.createElement("ul"),indexCntr=1;jumpLinkTitles.forEach(title=>{let li=document.createElement("li");void 0!==title.id&&""!==title.id||(titleId="title_"+indexCntr,title.id=titleId);let a=document.createElement("a");a.href="#"+title.id,a.innerText=title.innerText,li.appendChild(a),list.appendChild(li),indexCntr++}),jumpLinksTrigger.forEach(jumpLinkContainer=>{jumpLinkContainer.appendChild(list)})}})("[data-lazard-jumplinks]"),(()=>{let trigger=document.getElementById("country-list-filter-trigger"),countryBlocks=document.querySelectorAll("[data-lazard-country-region]"),countryList=document.querySelector("[data-lazard-country-list]");if(trigger&&countryBlocks){trigger.addEventListener("change",e=>{var key=e.target.value,newurl=e.target.options[e.target.selectedIndex].text;let selectedCountries=document.querySelectorAll('[data-lazard-country-region="'+key+'"]');countryList.classList.add("country-list--filtered"),""!==key&&0!==e.target.selectedIndex||(selectedCountries=countryBlocks);let countryCount=document.getElementById("country-filter-display-count");if(countryCount.innerHTML=selectedCountries.length,countryBlocks.forEach(c=>{c.style.display="none",c.classList.remove("no-border-sm"),c.classList.remove("no-border-md"),c.classList.remove("no-border-lg")}),selectedCountries.forEach((c,index)=>{c.style.display="initial",index%2==1&&c.classList.add("no-border-sm"),index%3==2&&c.classList.add("no-border-md"),index%4==3&&c.classList.add("no-border-lg")}),history.pushState){let searchParams=new URLSearchParams(window.location.search);searchParams.set("r",newurl);newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+searchParams.toString();window.history.pushState({path:newurl},"",newurl)}});let searchParams=new URLSearchParams(window.location.search);if(searchParams.get("r")){var selectedIndex=trigger.options.selectedIndex,selectedValue=trigger.options[selectedIndex].value;let selectedCountries=document.querySelectorAll('[data-lazard-country-region="'+selectedValue+'"]');if(countryList.classList.add("country-list--filtered"),0!==selectedIndex){let countryCount=document.getElementById("country-filter-display-count");countryCount.innerHTML=selectedCountries.length,countryBlocks.forEach(c=>{c.style.display="none",c.classList.remove("no-border-sm"),c.classList.remove("no-border-md"),c.classList.remove("no-border-lg")}),selectedCountries.forEach((c,index)=>{c.style.display="initial",index%2==1&&c.classList.add("no-border-sm"),index%3==2&&c.classList.add("no-border-md"),index%4==3&&c.classList.add("no-border-lg")})}}}})(),(filterToggles=>{filterToggles=document.querySelectorAll(filterToggles);filterToggles&&Array.prototype.forEach.call(filterToggles,function(filter,i){const observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){"attributes"==mutation.type&&("true"==mutation.target.getAttribute("aria-expanded")||(cardClick(".card[data-lazard-url]"),lazard.web.listClick(".list[data-lazard-url]")))})});observer.observe(filter,{attributes:!0}),filter.addEventListener("click",function(buttonState){buttonState.preventDefault(),document.addEventListener("keydown",function(event){9===event.keyCode&&lazard.web.trapFocus(document.querySelector(".lazard-form-filter__form"),event)});buttonState=JSON.parse(filter.getAttribute("aria-expanded"));filter.setAttribute("aria-expanded","true"===filter.getAttribute("aria-expanded")?"false":"true"),filter.parentNode.classList.toggle("filter--active"),document.body.classList.add("filter--expanded"),window.scrollTo(0,0),1==buttonState&&document.body.classList.remove("filter--expanded")}),window.addEventListener("keydown",function(buttonState){!buttonState.key.includes("Escape")||1==(buttonState=JSON.parse(filter.getAttribute("aria-expanded")))&&(document.body.classList.remove("filter--expanded"),filter.parentNode.classList.remove("filter--active"),filter.setAttribute("aria-expanded",!buttonState))});var applyButton=document.querySelectorAll(".lazard-button--apply");Array.prototype.forEach.call(applyButton,function(button,i){button.addEventListener("click",function(event){event.preventDefault(),document.body.classList.remove("filter--expanded"),filter.parentNode.classList.remove("filter--active"),filter.setAttribute("aria-expanded","false")})}),window.addEventListener("click",function(event){event.target.closest(".lazard-form-filter")||(document.body.classList.remove("filter--expanded"),filter.parentNode.classList.remove("filter--active"),filter.setAttribute("aria-expanded","false"))})})})(".filterToggle"),filterModalFilters(),jsonFiltersList(!1),(()=>{var pageSize=document.querySelector("[data-list-search-root]"),personTypeQueries=document.querySelector("[data-search-context]"),searchContext=personTypeQueries?personTypeQueries.dataset.searchContext:null;if(pageSize||"people"===searchContext){var rootPageId=pageSize?pageSize.dataset.listSearchRoot:null;let filterUrl="/api/ArticleSearch/SearchArticles?articleContainerPageId="+rootPageId;const $resultsPanel=document.getElementById("list-search-results");if("people"==searchContext&&document.querySelector("[data-container-page")){var pageUrl=document.querySelector("[data-container-page]").dataset.containerPage,countryId=document.querySelector("[data-country]").dataset.country;const personTypeFilterId=document.querySelector("[data-person-type]").dataset.personType,personTypes=personTypeFilterId?personTypeFilterId.split(","):[];personTypeQueries=personTypes.map(p=>"&personTypeFilterIds="+encodeURIComponent(p)).join(""),pageSize=document.querySelector("[data-page-size]").dataset.pageSize;filterUrl="/api/PeopleSearch/SearchPeople?containerPageUrl="+pageUrl+"&countryFilterIds="+countryId+personTypeQueries+"&pageSize="+pageSize}else"people"==searchContext?filterUrl="/api/PeopleSearch/SearchPeople?peopleContainerPageId="+rootPageId:"transactions"==searchContext?filterUrl="/api/TransactionSearch/SearchTransactions?containerPageId="+rootPageId:"events"==searchContext?filterUrl="/api/EventSearch/SearchEvents?containerPageId="+rootPageId:"careers"==searchContext&&(filterUrl="/api/CareersSearch/SearchCareers?containerPageId="+rootPageId);document.querySelectorAll("a[data-pagination-page]")&&document.body.addEventListener("click",pageNumParam=>{if(pageNumParam.target.matches("a[data-pagination-page]:not(.disabled)")){pageNumParam.preventDefault(),pageNumParam.stopPropagation();var qs=convertUrlParamsToQuery(),newurl=pageNumParam.target.dataset.paginationPage,pageNumParam="&page="+encodeURIComponent(newurl);$resultsPanel.classList.add("animate__animated","animate__fadeIn"),setTimeout(function(){$resultsPanel.classList.remove("animate__animated","animate__fadeIn")},1e3),$resultsPanel.scrollIntoView({behavior:"smooth",block:"start"}),fetch(filterUrl+qs+pageNumParam).then(response=>updateSearchResults(response));const searchParams=new URLSearchParams(window.location.search);searchParams.set("page",newurl);newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+searchParams;window.history.pushState({path:newurl},"",newurl)}})}})(),(()=>{let abortController=null,$searchTrigger=document.getElementById("people-search-text");if($searchTrigger){let $searchAutocomplete=document.getElementById("search-autocomplete");$searchTrigger.addEventListener("paste",function(event){var $searchValue=event.clipboardData.getData("text");abortController&&abortController.abort(),abortController=predictiveSearchQuery($searchTrigger,$searchAutocomplete,$searchValue,event)}),$searchTrigger.addEventListener("keyup",function(event){var $searchValue;$searchTrigger.value.trim()?($searchValue=$searchTrigger.value,abortController&&abortController.abort(),abortController=predictiveSearchQuery($searchTrigger,$searchAutocomplete,$searchValue,event)):$searchAutocomplete.innerHTML=""})}})(),(()=>{const $searchTrigger=document.getElementById("people-country-selector");$searchTrigger&&$searchTrigger.addEventListener("change",()=>{var countryUrl=$searchTrigger.options[$searchTrigger.selectedIndex].value;countryUrl&&(window.location.href=countryUrl)})})(),cardClick(".card[data-lazard-url]"),lazard.web.listClick(".list[data-lazard-url]"),(elem=>{const sidebarMenus=document.querySelectorAll(elem);sidebarMenus&&sidebarMenus.forEach(menu=>{const sidebarMenuItems=menu.querySelectorAll("[data-lazard-target]"),sidebarMenuItemsSm=menu.querySelectorAll("[data-lazard-target-sm]");sidebarMenuItems&&sidebarMenuItemsSm&&(sidebarMenuItems.forEach(item=>{item.addEventListener("click",target=>{target.preventDefault();target=item.getAttribute("data-lazard-target");const targetId=document.getElementById(target);menu.querySelectorAll(".block-list__item").forEach(sibling=>{sibling.classList.remove("active")}),menu.querySelectorAll(".block--sidebar-menu__content-item").forEach(sibling=>{sibling.classList.remove("active")}),item.parentNode.parentNode.classList.add("active"),targetId.classList.add("active")})}),sidebarMenuItemsSm.forEach(item=>{item.addEventListener("click",target=>{target.preventDefault();target=item.getAttribute("data-lazard-target-sm");const targetId=document.getElementById(target);item.parentNode.classList.contains("toggle-active")?(item.parentNode.classList.remove("toggle-active"),targetId.classList.remove("toggle-active")):(menu.querySelectorAll(".block--sidebar-menu__content-link").forEach(sibling=>{sibling.classList.remove("toggle-active")}),menu.querySelectorAll(".block--sidebar-menu__content-item").forEach(sibling=>{sibling.classList.remove("toggle-active")}),item.parentNode.classList.add("toggle-active"),targetId.classList.add("toggle-active"))})}))})})(".block--sidebar-menu"),(()=>{let disabledLinks=document.querySelectorAll("a[disabled]");disabledLinks.forEach(a=>{a.addEventListener("click",e=>{e.preventDefault()})})})(),(()=>{let carouselBlocks=document.querySelectorAll(".block--carousel");carouselBlocks&&carouselBlocks.forEach(carousel=>{const carouselCount=carousel.querySelector(".carousel-count");const slideCount=carousel.querySelectorAll(".carousel-item").length;carouselCount.textContent="1 / "+slideCount;let currentSlide,iframes=carousel.querySelectorAll("iframe");carousel.addEventListener("slid.bs.carousel",()=>{currentSlide=carousel.querySelector(".carousel-item.active").dataset.bsSlideIndex,currentSlide=parseInt(currentSlide),carouselCount.textContent=currentSlide+1+" / "+slideCount,Array.prototype.forEach.call(iframes,iframe=>{iframe.contentWindow.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"https://www.youtube.com")})})})})(),(()=>{var metaTweetTitle=document.querySelector('meta[property="og:url"]');let shareUrl,shareText;shareUrl=metaTweetTitle.content||window.location.href;metaTweetTitle=document.querySelector('meta[name="twitter:description"]');shareText=metaTweetTitle.content||document.title;let socialItems=document.querySelectorAll(".lazard-share__item");socialItems&&socialItems.forEach(social=>{var network=social.dataset.network;"facebook"===network&&social.addEventListener("click",e=>{e.preventDefault(),window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(window.location.href),"facebook-share-dialog","width=626,height=436")}),"linkedin"===network&&social.addEventListener("click",e=>{e.preventDefault(),window.open("https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(window.location.href),"linkedin-share-dialog","width=626,height=436")}),"twitter"===network&&social.addEventListener("click",e=>{e.preventDefault(),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(window.location.href)+"&text="+encodeURIComponent(shareText),"twitter-share-dialog","width=626,height=436")}),"email"===network&&social.addEventListener("click",e=>{e.preventDefault(),window.location.href="mailto:?subject="+encodeURIComponent(shareText)+"&body="+encodeURIComponent(window.location.href)})})})()})}();;
