/*
 Bootstrap v5.0.2 (https://getbootstrap.com/)
 Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
 Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
'use strict';(function(e,h){"object"===typeof exports&&"undefined"!==typeof module?module.exports=h():"function"===typeof define&&define.amd?define(h):(e="undefined"!==typeof globalThis?globalThis:e||self,e.bootstrap=h())})(this,function(){function e(a,b){return b&&`${b}::${db++}`||a.uidEvent||db++}function h(a){const b=e(a);a.uidEvent=b;Ha[b]=Ha[b]||{};return Ha[b]}function g(a,b){return function f(d){d.delegateTarget=a;f.oneOff&&n.off(a,d.type,b);return b.apply(a,[d])}}function l(a,b,c){return function k(f){const m=
a.querySelectorAll(b);for(let {target:p}=f;p&&p!==this;p=p.parentNode)for(let u=m.length;u--;)if(m[u]===p)return f.delegateTarget=p,k.oneOff&&n.off(a,f.type,b,c),c.apply(p,[f]);return null}}function r(a,b,c=null){const d=Object.keys(a);for(let f=0,k=d.length;f<k;f++){const m=a[d[f]];if(m.originalHandler===b&&m.delegationSelector===c)return m}return null}function y(a,b,c){const d="string"===typeof b;b=d?c:b;c=ua(a);eb.has(c)||(c=a);return[d,b,c]}function z(a,b,c,d,f){if("string"===typeof b&&a){c||
(c=d,d=null);if(Nb.test(b)){var k=v=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return v.call(this,t)};d?d=k(d):c=k(c)}var [m,p,u]=y(b,c,d);k=h(a);k=k[u]||(k[u]={});var q=r(k,p,m?c:null);q?q.oneOff=q.oneOff&&f:(b=e(p,b.replace(Ob,"")),d=m?l(a,c,d):g(a,c),d.delegationSelector=m?c:null,d.originalHandler=p,d.oneOff=f,d.uidEvent=b,k[b]=d,a.addEventListener(u,d,m))}}function O(a,b,c,d,f){if(d=r(b[c],d,f))a.removeEventListener(c,d,!!f),
delete b[c][d.uidEvent]}function Ia(a,b,c,d){const f=b[c]||{};Object.keys(f).forEach(k=>{k.includes(d)&&(k=f[k],O(a,b,c,k.originalHandler,k.delegationSelector))})}function ua(a){a=a.replace(Pb,"");return Qb[a]||a}function va(a){return"true"===a?!0:"false"===a?!1:a===Number(a).toString()?Number(a):""===a||"null"===a?null:a}function Ja(a){return a.replace(/[A-Z]/g,b=>`-${b.toLowerCase()}`)}function P(a){return a?(a.nodeName||"").toLowerCase():null}function K(a){return null==a?window:"[object Window]"!==
a.toString()?(a=a.ownerDocument)?a.defaultView||window:window:a}function pa(a){var b=K(a).Element;return a instanceof b||a instanceof Element}function L(a){var b=K(a).HTMLElement;return a instanceof b||a instanceof HTMLElement}function fb(a){if("undefined"===typeof ShadowRoot)return!1;var b=K(a).ShadowRoot;return a instanceof b||a instanceof ShadowRoot}function Q(a){return a.split("-")[0]}function ha(a){a=a.getBoundingClientRect();return{width:a.width,height:a.height,top:a.top,right:a.right,bottom:a.bottom,
left:a.left,x:a.left,y:a.top}}function Ka(a){var b=ha(a),c=a.offsetWidth,d=a.offsetHeight;1>=Math.abs(b.width-c)&&(c=b.width);1>=Math.abs(b.height-d)&&(d=b.height);return{x:a.offsetLeft,y:a.offsetTop,width:c,height:d}}function gb(a,b){var c=b.getRootNode&&b.getRootNode();if(a.contains(b))return!0;if(c&&fb(c)){do{if(b&&a.isSameNode(b))return!0;b=b.parentNode||b.host}while(b)}return!1}function S(a){return K(a).getComputedStyle(a)}function W(a){return((pa(a)?a.ownerDocument:a.document)||window.document).documentElement}
function wa(a){return"html"===P(a)?a:a.assignedSlot||a.parentNode||(fb(a)?a.host:null)||W(a)}function hb(a){return L(a)&&"fixed"!==S(a).position?a.offsetParent:null}function qa(a){for(var b=K(a),c=hb(a);c&&0<=["table","td","th"].indexOf(P(c))&&"static"===S(c).position;)c=hb(c);if(c&&("html"===P(c)||"body"===P(c)&&"static"===S(c).position))return b;if(!c)a:{c=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1===navigator.userAgent.indexOf("Trident")||!L(a)||"fixed"!==S(a).position)for(a=
wa(a);L(a)&&0>["html","body"].indexOf(P(a));){var d=S(a);if("none"!==d.transform||"none"!==d.perspective||"paint"===d.contain||-1!==["transform","perspective"].indexOf(d.willChange)||c&&"filter"===d.willChange||c&&d.filter&&"none"!==d.filter){c=a;break a}else a=a.parentNode}c=null}return c||b}function La(a){return 0<=["top","bottom"].indexOf(a)?"x":"y"}function ib(a){return Object.assign({},{top:0,right:0,bottom:0,left:0},a)}function jb(a,b){return b.reduce(function(c,d){c[d]=a;return c},{})}function kb(a){var b,
c=a.popper,d=a.popperRect,f=a.placement,k=a.offsets,m=a.position,p=a.gpuAcceleration,u=a.adaptive;a=a.roundOffsets;if(!0===a){a=k.y;var q=window.devicePixelRatio||1;a={x:xa(xa(k.x*q)/q)||0,y:xa(xa(a*q)/q)||0}}else a="function"===typeof a?a(k):k;q=a;a=q.x;a=void 0===a?0:a;q=q.y;q=void 0===q?0:q;var v=k.hasOwnProperty("x");k=k.hasOwnProperty("y");var t="left",B="top",w=window;if(u){var A=qa(c),C="clientHeight",F="clientWidth";A===K(c)&&(A=W(c),"static"!==S(A).position&&(C="scrollHeight",F="scrollWidth"));
"top"===f&&(B="bottom",q-=A[C]-d.height,q*=p?1:-1);"left"===f&&(t="right",a-=A[F]-d.width,a*=p?1:-1)}c=Object.assign({position:m},u&&Rb);if(p){var D;return Object.assign({},c,(D={},D[B]=k?"0":"",D[t]=v?"0":"",D.transform=2>(w.devicePixelRatio||1)?"translate("+a+"px, "+q+"px)":"translate3d("+a+"px, "+q+"px, 0)",D))}return Object.assign({},c,(b={},b[B]=k?q+"px":"",b[t]=v?a+"px":"",b.transform="",b))}function ya(a){return a.replace(/left|right|bottom|top/g,function(b){return Sb[b]})}function lb(a){return a.replace(/start|end/g,
function(b){return Tb[b]})}function Ma(a){a=K(a);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function Na(a){return ha(W(a)).left+Ma(a).scrollLeft}function Oa(a){a=S(a);return/auto|scroll|overlay|hidden/.test(a.overflow+a.overflowY+a.overflowX)}function mb(a){return 0<=["html","body","#document"].indexOf(P(a))?a.ownerDocument.body:L(a)&&Oa(a)?a:mb(wa(a))}function ra(a,b){var c;void 0===b&&(b=[]);var d=mb(a);a=d===(null==(c=a.ownerDocument)?void 0:c.body);c=K(d);d=a?[c].concat(c.visualViewport||
[],Oa(d)?d:[]):d;b=b.concat(d);return a?b:b.concat(ra(wa(d)))}function Pa(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function nb(a,b){if("viewport"===b){b=K(a);var c=W(a);b=b.visualViewport;var d=c.clientWidth;c=c.clientHeight;var f=0,k=0;b&&(d=b.width,c=b.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(f=b.offsetLeft,k=b.offsetTop));a={width:d,height:c,x:f+Na(a),y:k};a=Pa(a)}else L(b)?(a=ha(b),a.top+=b.clientTop,a.left+=b.clientLeft,
a.bottom=a.top+b.clientHeight,a.right=a.left+b.clientWidth,a.width=b.clientWidth,a.height=b.clientHeight,a.x=a.left,a.y=a.top):(k=W(a),a=W(k),d=Ma(k),b=null==(c=k.ownerDocument)?void 0:c.body,c=M(a.scrollWidth,a.clientWidth,b?b.scrollWidth:0,b?b.clientWidth:0),f=M(a.scrollHeight,a.clientHeight,b?b.scrollHeight:0,b?b.clientHeight:0),k=-d.scrollLeft+Na(k),d=-d.scrollTop,"rtl"===S(b||a).direction&&(k+=M(a.clientWidth,b?b.clientWidth:0)-c),a=Pa({width:c,height:f,x:k,y:d}));return a}function Ub(a){var b=
ra(wa(a)),c=0<=["absolute","fixed"].indexOf(S(a).position)&&L(a)?qa(a):a;return pa(c)?b.filter(function(d){return pa(d)&&gb(d,c)&&"body"!==P(d)}):[]}function Vb(a,b,c){b="clippingParents"===b?Ub(a):[].concat(b);c=[].concat(b,[c]);c=c.reduce(function(d,f){f=nb(a,f);d.top=M(f.top,d.top);d.right=X(f.right,d.right);d.bottom=X(f.bottom,d.bottom);d.left=M(f.left,d.left);return d},nb(a,c[0]));c.width=c.right-c.left;c.height=c.bottom-c.top;c.x=c.left;c.y=c.top;return c}function ob(a){var b=a.reference,c=
a.element,d=(a=a.placement)?Q(a):null;a=a?a.split("-")[1]:null;var f=b.x+b.width/2-c.width/2,k=b.y+b.height/2-c.height/2;switch(d){case "top":f={x:f,y:b.y-c.height};break;case "bottom":f={x:f,y:b.y+b.height};break;case "right":f={x:b.x+b.width,y:k};break;case "left":f={x:b.x-c.width,y:k};break;default:f={x:b.x,y:b.y}}d=d?La(d):null;if(null!=d)switch(k="y"===d?"height":"width",a){case "start":f[d]-=b[k]/2-c[k]/2;break;case "end":f[d]+=b[k]/2-c[k]/2}return f}function ia(a,b){void 0===b&&(b={});var c=
b;b=c.placement;b=void 0===b?a.placement:b;var d=c.boundary,f=void 0===d?"clippingParents":d;d=c.rootBoundary;var k=void 0===d?"viewport":d;d=c.elementContext;d=void 0===d?"popper":d;var m=c.altBoundary,p=void 0===m?!1:m;c=c.padding;c=void 0===c?0:c;c=ib("number"!==typeof c?c:jb(c,ja));var u=a.elements.reference;m=a.rects.popper;p=a.elements[p?"popper"===d?"reference":"popper":d];f=Vb(pa(p)?p:p.contextElement||W(a.elements.popper),f,k);k=ha(u);p=ob({reference:k,element:m,strategy:"absolute",placement:b});
m=Pa(Object.assign({},m,p));k="popper"===d?m:k;var q={top:f.top-k.top+c.top,bottom:k.bottom-f.bottom+c.bottom,left:f.left-k.left+c.left,right:k.right-f.right+c.right};a=a.modifiersData.offset;if("popper"===d&&a){var v=a[b];Object.keys(q).forEach(function(t){var B=0<=["right","bottom"].indexOf(t)?1:-1,w=0<=["top","bottom"].indexOf(t)?"y":"x";q[t]+=v[w]*B})}return q}function Wb(a,b){void 0===b&&(b={});var c=b.boundary,d=b.rootBoundary,f=b.padding,k=b.flipVariations,m=b.allowedAutoPlacements,p=void 0===
m?Qa:m,u=b.placement.split("-")[1];b=u?k?Ra:Ra.filter(function(v){return v.split("-")[1]===u}):ja;k=b.filter(function(v){return 0<=p.indexOf(v)});0===k.length&&(k=b);var q=k.reduce(function(v,t){v[t]=ia(a,{placement:t,boundary:c,rootBoundary:d,padding:f})[Q(t)];return v},{});return Object.keys(q).sort(function(v,t){return q[v]-q[t]})}function Xb(a){if("auto"===Q(a))return[];var b=ya(a);return[lb(a),b,lb(b)]}function pb(a,b,c){void 0===c&&(c={x:0,y:0});return{top:a.top-b.height-c.y,right:a.right-b.width+
c.x,bottom:a.bottom-b.height+c.y,left:a.left-b.width-c.x}}function qb(a){return["top","right","bottom","left"].some(function(b){return 0<=a[b]})}function Yb(a,b,c){void 0===c&&(c=!1);var d=W(b);a=ha(a);var f=L(b),k={scrollLeft:0,scrollTop:0},m={x:0,y:0};if(f||!f&&!c){if("body"!==P(b)||Oa(d))k=b!==K(b)&&L(b)?{scrollLeft:b.scrollLeft,scrollTop:b.scrollTop}:Ma(b);L(b)?(m=ha(b),m.x+=b.clientLeft,m.y+=b.clientTop):d&&(m.x=Na(d))}return{x:a.left+k.scrollLeft-m.x,y:a.top+k.scrollTop-m.y,width:a.width,height:a.height}}
function Zb(a){function b(k){d.add(k.name);[].concat(k.requires||[],k.requiresIfExists||[]).forEach(function(m){d.has(m)||(m=c.get(m))&&b(m)});f.push(k)}var c=new Map,d=new Set,f=[];a.forEach(function(k){c.set(k.name,k)});a.forEach(function(k){d.has(k.name)||b(k)});return f}function $b(a){var b=Zb(a);return rb.reduce(function(c,d){return c.concat(b.filter(function(f){return f.phase===d}))},[])}function ac(a){var b;return function(){b||(b=new Promise(function(c){Promise.resolve().then(function(){b=
void 0;c(a())})}));return b}}function bc(a){var b=a.reduce(function(c,d){var f=c[d.name];c[d.name]=f?Object.assign({},f,d,{options:Object.assign({},f.options,d.options),data:Object.assign({},f.data,d.data)}):d;return c},{});return Object.keys(b).map(function(c){return b[c]})}function sb(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return!b.some(function(d){return!(d&&"function"===typeof d.getBoundingClientRect)})}function za(a){void 0===a&&(a={});var b=a.defaultModifiers,
c=void 0===b?[]:b;a=a.defaultOptions;var d=void 0===a?tb:a;return function(f,k,m){function p(){q.orderedModifiers.forEach(function(w){var A=w.name,C=w.options;C=void 0===C?{}:C;w=w.effect;"function"===typeof w&&(A=w({state:q,name:A,instance:B,options:C}),v.push(A||function(){}))})}function u(){v.forEach(function(w){return w()});v=[]}void 0===m&&(m=d);var q={placement:"bottom",orderedModifiers:[],options:Object.assign({},tb,d),modifiersData:{},elements:{reference:f,popper:k},attributes:{},styles:{}},
v=[],t=!1,B={state:q,setOptions:function(w){u();q.options=Object.assign({},d,q.options,w);q.scrollParents={reference:pa(f)?ra(f):f.contextElement?ra(f.contextElement):[],popper:ra(k)};w=$b(bc([].concat(c,q.options.modifiers)));q.orderedModifiers=w.filter(function(A){return A.enabled});p();return B.update()},forceUpdate:function(){if(!t){var w=q.elements,A=w.reference;w=w.popper;if(sb(A,w))for(q.rects={reference:Yb(A,qa(w),"fixed"===q.options.strategy),popper:Ka(w)},q.reset=!1,q.placement=q.options.placement,
q.orderedModifiers.forEach(function(D){return q.modifiersData[D.name]=Object.assign({},D.data)}),A=0;A<q.orderedModifiers.length;A++)if(!0===q.reset)q.reset=!1,A=-1;else{var C=q.orderedModifiers[A];w=C.fn;var F=C.options;F=void 0===F?{}:F;C=C.name;"function"===typeof w&&(q=w({state:q,options:F,name:C,instance:B})||q)}}},update:ac(function(){return new Promise(function(w){B.forceUpdate();w(q)})}),destroy:function(){u();t=!0}};if(!sb(f,k))return B;B.setOptions(m).then(function(w){if(!t&&m.onFirstUpdate)m.onFirstUpdate(w)});
return B}}function ub(a,b,c){if(!a.length)return a;if(c&&"function"===typeof c)return c(a);a=(new window.DOMParser).parseFromString(a,"text/html");c=Object.keys(b);const d=[].concat(...a.body.querySelectorAll("*"));for(let f=0,k=d.length;f<k;f++){const m=d[f],p=m.nodeName.toLowerCase();if(!c.includes(p)){m.remove();continue}const u=[].concat(...m.attributes),q=[].concat(b["*"]||[],b[p]||[]);u.forEach(v=>{cc(v,q)||m.removeAttribute(v.nodeName)})}return a.body.innerHTML}const x={find(a,b=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(b,
a))},findOne(a,b=document.documentElement){return Element.prototype.querySelector.call(b,a)},children(a,b){return[].concat(...a.children).filter(c=>c.matches(b))},parents(a,b){const c=[];for(a=a.parentNode;a&&a.nodeType===Node.ELEMENT_NODE&&3!==a.nodeType;)a.matches(b)&&c.push(a),a=a.parentNode;return c},prev(a,b){for(a=a.previousElementSibling;a;){if(a.matches(b))return[a];a=a.previousElementSibling}return[]},next(a,b){for(a=a.nextElementSibling;a;){if(a.matches(b))return[a];a=a.nextElementSibling}return[]}},
vb=a=>{do a+=Math.floor(1E6*Math.random());while(document.getElementById(a));return a},wb=a=>{let b=a.getAttribute("data-bs-target");if(!b||"#"===b){a=a.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`);b=a&&"#"!==a?a.trim():null}return b},Sa=a=>(a=wb(a))?document.querySelector(a)?a:null:null,Y=a=>(a=wb(a))?document.querySelector(a):null,dc=a=>{if(!a)return 0;let {transitionDuration:b,transitionDelay:c}=window.getComputedStyle(a);
a=Number.parseFloat(b);const d=Number.parseFloat(c);if(!a&&!d)return 0;b=b.split(",")[0];c=c.split(",")[0];return 1E3*(Number.parseFloat(b)+Number.parseFloat(c))},Z=a=>{if(!a||"object"!==typeof a)return!1;"undefined"!==typeof a.jquery&&(a=a[0]);return"undefined"!==typeof a.nodeType},ka=a=>Z(a)?a.jquery?a[0]:a:"string"===typeof a&&0<a.length?x.findOne(a):null,T=(a,b,c)=>{Object.keys(c).forEach(d=>{const f=c[d];var k=b[d];k=k&&Z(k)?"element":null===k||void 0===k?`${k}`:{}.toString.call(k).match(/\s([a-z]+)/i)[1].toLowerCase();
if(!(new RegExp(f)).test(k))throw new TypeError(`${a.toUpperCase()}: Option "${d}" provided type "${k}" but expected type "${f}".`);})},Aa=a=>Z(a)&&0!==a.getClientRects().length?"visible"===getComputedStyle(a).getPropertyValue("visibility"):!1,la=a=>!a||a.nodeType!==Node.ELEMENT_NODE||a.classList.contains("disabled")?!0:"undefined"!==typeof a.disabled?a.disabled:a.hasAttribute("disabled")&&"false"!==a.getAttribute("disabled"),xb=a=>document.documentElement.attachShadow?"function"===typeof a.getRootNode?
(a=a.getRootNode(),a instanceof ShadowRoot?a:null):a instanceof ShadowRoot?a:a.parentNode?xb(a.parentNode):null:null,Ba=()=>{},yb=()=>{const {jQuery:a}=window;return a&&!document.body.hasAttribute("data-bs-no-jquery")?a:null},Ta=[],ec=a=>{"loading"===document.readyState?(Ta.length||document.addEventListener("DOMContentLoaded",()=>{Ta.forEach(b=>b())}),Ta.push(a)):a()},G=()=>"rtl"===document.documentElement.dir,I=a=>{ec(()=>{const b=yb();if(b){const c=a.NAME,d=b.fn[c];b.fn[c]=a.jQueryInterface;b.fn[c].Constructor=
a;b.fn[c].noConflict=()=>{b.fn[c]=d;return a.jQueryInterface}}})},ca=a=>{"function"===typeof a&&a()},zb=(a,b,c=!0)=>{if(c){c=dc(b)+5;var d=!1,f=({target:k})=>{k===b&&(d=!0,b.removeEventListener("transitionend",f),ca(a))};b.addEventListener("transitionend",f);setTimeout(()=>{d||b.dispatchEvent(new Event("transitionend"))},c)}else ca(a)},Ab=(a,b,c,d)=>{b=a.indexOf(b);if(-1===b)return a[!c&&d?a.length-1:0];const f=a.length;b+=c?1:-1;d&&(b=(b+f)%f);return a[Math.max(0,Math.min(b,f-1))]},Ob=/[^.]*(?=\..*)\.|.*/,
Pb=/\..*/,fc=/::\d+$/,Ha={};let db=1;const Qb={mouseenter:"mouseover",mouseleave:"mouseout"},Nb=/^(mouseenter|mouseleave)/i,eb=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".split(" ")),
n={on(a,b,c,d){z(a,b,c,d,!1)},one(a,b,c,d){z(a,b,c,d,!0)},off(a,b,c,d){if("string"===typeof b&&a){var [f,k,m]=y(b,c,d),p=m!==b,u=h(a);d=b.startsWith(".");if("undefined"!==typeof k)u&&u[m]&&O(a,u,m,k,f?c:null);else{d&&Object.keys(u).forEach(v=>{Ia(a,u,v,b.slice(1))});var q=u[m]||{};Object.keys(q).forEach(v=>{const t=v.replace(fc,"");if(!p||b.includes(t))v=q[v],O(a,u,m,v.originalHandler,v.delegationSelector)})}}},trigger(a,b,c){if("string"!==typeof b||!a)return null;const d=yb(),f=ua(b),k=b!==f,m=eb.has(f);
let p,u=!0,q=!0,v=!1,t=null;k&&d&&(p=d.Event(b,c),d(a).trigger(p),u=!p.isPropagationStopped(),q=!p.isImmediatePropagationStopped(),v=p.isDefaultPrevented());m?(t=document.createEvent("HTMLEvents"),t.initEvent(f,u,!0)):t=new CustomEvent(b,{bubbles:u,cancelable:!0});"undefined"!==typeof c&&Object.keys(c).forEach(B=>{Object.defineProperty(t,B,{get(){return c[B]}})});v&&t.preventDefault();q&&a.dispatchEvent(t);t.defaultPrevented&&"undefined"!==typeof p&&p.preventDefault();return t}},aa=new Map;var da=
{set(a,b,c){aa.has(a)||aa.set(a,new Map);a=aa.get(a);a.has(b)||0===a.size?a.set(b,c):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(a.keys())[0]}.`)},get(a,b){return aa.has(a)?aa.get(a).get(b)||null:null},remove(a,b){if(aa.has(a)){var c=aa.get(a);c.delete(b);0===c.size&&aa.delete(a)}}};class N{constructor(a){if(a=ka(a))this._element=a,da.set(this._element,this.constructor.DATA_KEY,this)}dispose(){da.remove(this._element,this.constructor.DATA_KEY);
n.off(this._element,this.constructor.EVENT_KEY);Object.getOwnPropertyNames(this).forEach(a=>{this[a]=null})}_queueCallback(a,b,c=!0){zb(a,b,c)}static getInstance(a){return da.get(a,this.DATA_KEY)}static getOrCreateInstance(a,b={}){return this.getInstance(a)||new this(a,"object"===typeof b?b:null)}static get VERSION(){return"5.0.2"}static get NAME(){throw 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}`}}
class sa extends N{static get NAME(){return"alert"}close(a){a=a?this._getRootElement(a):this._element;const b=this._triggerCloseEvent(a);null===b||b.defaultPrevented||this._removeElement(a)}_getRootElement(a){return Y(a)||a.closest(".alert")}_triggerCloseEvent(a){return n.trigger(a,"close.bs.alert")}_removeElement(a){a.classList.remove("show");const b=a.classList.contains("fade");this._queueCallback(()=>this._destroyElement(a),a,b)}_destroyElement(a){a.remove();n.trigger(a,"closed.bs.alert")}static jQueryInterface(a){return this.each(function(){const b=
sa.getOrCreateInstance(this);if("close"===a)b[a](this)})}static handleDismiss(a){return function(b){b&&b.preventDefault();a.close(this)}}}n.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',sa.handleDismiss(new sa));I(sa);class Ca extends N{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(a){return this.each(function(){const b=Ca.getOrCreateInstance(this);if("toggle"===a)b[a]()})}}n.on(document,
"click.bs.button.data-api",'[data-bs-toggle="button"]',a=>{a.preventDefault();a=a.target.closest('[data-bs-toggle="button"]');Ca.getOrCreateInstance(a).toggle()});I(Ca);const E={setDataAttribute(a,b,c){a.setAttribute(`data-bs-${Ja(b)}`,c)},removeDataAttribute(a,b){a.removeAttribute(`data-bs-${Ja(b)}`)},getDataAttributes(a){if(!a)return{};const b={};Object.keys(a.dataset).filter(c=>c.startsWith("bs")).forEach(c=>{let d=c.replace(/^bs/,"");d=d.charAt(0).toLowerCase()+d.slice(1,d.length);b[d]=va(a.dataset[c])});
return b},getDataAttribute(a,b){return va(a.getAttribute(`data-bs-${Ja(b)}`))},offset(a){a=a.getBoundingClientRect();return{top:a.top+document.body.scrollTop,left:a.left+document.body.scrollLeft}},position(a){return{top:a.offsetTop,left:a.offsetLeft}}},Bb={interval:5E3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},gc={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},hc={["ArrowLeft"]:"right",["ArrowRight"]:"left"};
class U extends N{constructor(a,b){super(a);this._activeElement=this._interval=this._items=null;this._isSliding=this._isPaused=!1;this.touchTimeout=null;this.touchDeltaX=this.touchStartX=0;this._config=this._getConfig(b);this._indicatorsElement=x.findOne(".carousel-indicators",this._element);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=!!window.PointerEvent;this._addEventListeners()}static get Default(){return Bb}static get NAME(){return"carousel"}next(){this._slide("next")}nextWhenVisible(){!document.hidden&&
Aa(this._element)&&this.next()}prev(){this._slide("prev")}pause(a){a||(this._isPaused=!0);x.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(this._element.dispatchEvent(new Event("transitionend")),this.cycle(!0));clearInterval(this._interval);this._interval=null}cycle(a){a||(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(a){this._activeElement=x.findOne(".active.carousel-item",this._element);const b=this._getItemIndex(this._activeElement);if(!(a>this._items.length-1||0>a))if(this._isSliding)n.one(this._element,"slid.bs.carousel",()=>this.to(a));else b===a?(this.pause(),this.cycle()):this._slide(a>b?"next":"prev",this._items[a])}_getConfig(a){a={...Bb,...E.getDataAttributes(this._element),...("object"===typeof a?a:{})};T("carousel",a,gc);return a}_handleSwipe(){var a=
Math.abs(this.touchDeltaX);40>=a||(a/=this.touchDeltaX,this.touchDeltaX=0,a&&this._slide(0<a?"right":"left"))}_addEventListeners(){if(this._config.keyboard)n.on(this._element,"keydown.bs.carousel",a=>this._keydown(a));"hover"===this._config.pause&&(n.on(this._element,"mouseenter.bs.carousel",a=>this.pause(a)),n.on(this._element,"mouseleave.bs.carousel",a=>this.cycle(a)));this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const a=d=>{!this._pointerEvent||
"pen"!==d.pointerType&&"touch"!==d.pointerType?this._pointerEvent||(this.touchStartX=d.touches[0].clientX):this.touchStartX=d.clientX},b=d=>{this.touchDeltaX=d.touches&&1<d.touches.length?0:d.touches[0].clientX-this.touchStartX},c=d=>{!this._pointerEvent||"pen"!==d.pointerType&&"touch"!==d.pointerType||(this.touchDeltaX=d.clientX-this.touchStartX);this._handleSwipe();"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(f=>this.cycle(f),
500+this._config.interval))};x.find(".carousel-item img",this._element).forEach(d=>{n.on(d,"dragstart.bs.carousel",f=>f.preventDefault())});this._pointerEvent?(n.on(this._element,"pointerdown.bs.carousel",d=>a(d)),n.on(this._element,"pointerup.bs.carousel",d=>c(d)),this._element.classList.add("pointer-event")):(n.on(this._element,"touchstart.bs.carousel",d=>a(d)),n.on(this._element,"touchmove.bs.carousel",d=>b(d)),n.on(this._element,"touchend.bs.carousel",d=>c(d)))}_keydown(a){if(!/input|textarea/i.test(a.target.tagName)){var b=
hc[a.key];b&&(a.preventDefault(),this._slide(b))}}_getItemIndex(a){this._items=a&&a.parentNode?x.find(".carousel-item",a.parentNode):[];return this._items.indexOf(a)}_getItemByOrder(a,b){return Ab(this._items,b,"next"===a,this._config.wrap)}_triggerSlideEvent(a,b){const c=this._getItemIndex(a),d=this._getItemIndex(x.findOne(".active.carousel-item",this._element));return n.trigger(this._element,"slide.bs.carousel",{relatedTarget:a,direction:b,from:d,to:c})}_setActiveIndicatorElement(a){if(this._indicatorsElement){var b=
x.findOne(".active",this._indicatorsElement);b.classList.remove("active");b.removeAttribute("aria-current");b=x.find("[data-bs-target]",this._indicatorsElement);for(let c=0;c<b.length;c++)if(Number.parseInt(b[c].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(a)){b[c].classList.add("active");b[c].setAttribute("aria-current","true");break}}}_updateInterval(){var a=this._activeElement||x.findOne(".active.carousel-item",this._element);a&&((a=Number.parseInt(a.getAttribute("data-bs-interval"),
10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=a):this._config.interval=this._config.defaultInterval||this._config.interval)}_slide(a,b){a=this._directionToOrder(a);const c=x.findOne(".active.carousel-item",this._element),d=this._getItemIndex(c),f=b||this._getItemByOrder(a,c),k=this._getItemIndex(f);b=!!this._interval;const m="next"===a,p=m?"carousel-item-start":"carousel-item-end",u=m?"carousel-item-next":"carousel-item-prev",q=this._orderToDirection(a);
if(f&&f.classList.contains("active"))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(f,q).defaultPrevented&&c&&f){this._isSliding=!0;b&&this.pause();this._setActiveIndicatorElement(f);this._activeElement=f;var v=()=>{n.trigger(this._element,"slid.bs.carousel",{relatedTarget:f,direction:q,from:d,to:k})};this._element.classList.contains("slide")?(f.classList.add(u),c.classList.add(p),f.classList.add(p),this._queueCallback(()=>{f.classList.remove(p,u);f.classList.add("active");
c.classList.remove("active",u,p);this._isSliding=!1;setTimeout(v,0)},c,!0)):(c.classList.remove("active"),f.classList.add("active"),this._isSliding=!1,v());b&&this.cycle()}}_directionToOrder(a){return["right","left"].includes(a)?G()?"left"===a?"prev":"next":"left"===a?"next":"prev":a}_orderToDirection(a){return["next","prev"].includes(a)?G()?"prev"===a?"left":"right":"prev"===a?"right":"left":a}static carouselInterface(a,b){a=U.getOrCreateInstance(a,b);let {_config:c}=a;"object"===typeof b&&(c={...c,
...b});const d="string"===typeof b?b:c.slide;if("number"===typeof b)a.to(b);else if("string"===typeof d){if("undefined"===typeof a[d])throw new TypeError(`No method named "${d}"`);a[d]()}else c.interval&&c.ride&&(a.pause(),a.cycle())}static jQueryInterface(a){return this.each(function(){U.carouselInterface(this,a)})}static dataApiClickHandler(a){const b=Y(this);if(b&&b.classList.contains("carousel")){var c={...E.getDataAttributes(b),...E.getDataAttributes(this)},d=this.getAttribute("data-bs-slide-to");
d&&(c.interval=!1);U.carouselInterface(b,c);d&&U.getInstance(b).to(d);a.preventDefault()}}}n.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",U.dataApiClickHandler);n.on(window,"load.bs.carousel.data-api",()=>{const a=x.find('[data-bs-ride="carousel"]');for(let b=0,c=a.length;b<c;b++)U.carouselInterface(a[b],U.getInstance(a[b]))});I(U);const Ua={toggle:!0,parent:""},ic={toggle:"boolean",parent:"(string|element)"};class V extends N{constructor(a,b){super(a);this._isTransitioning=
!1;this._config=this._getConfig(b);this._triggerArray=x.find(`${'[data-bs-toggle="collapse"]'}[href="#${this._element.id}"],`+`${'[data-bs-toggle="collapse"]'}[data-bs-target="#${this._element.id}"]`);a=x.find('[data-bs-toggle="collapse"]');for(let c=0,d=a.length;c<d;c++){b=a[c];const f=Sa(b),k=x.find(f).filter(m=>m===this._element);null!==f&&k.length&&(this._selector=f,this._triggerArray.push(b))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,
this._triggerArray);this._config.toggle&&this.toggle()}static get Default(){return Ua}static get NAME(){return"collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._element.classList.contains("show")){var a;if(this._parent){var b=x.find(".show, .collapsing",this._parent).filter(f=>"string"===typeof this._config.parent?f.getAttribute("data-bs-parent")===this._config.parent:f.classList.contains("collapse"));0===b.length&&(b=null)}var c=
x.findOne(this._selector);if(b){const f=b.find(k=>c!==k);if((a=f?V.getInstance(f):null)&&a._isTransitioning)return}if(!n.trigger(this._element,"show.bs.collapse").defaultPrevented){b&&b.forEach(f=>{c!==f&&V.collapseInterface(f,"hide");a||da.set(f,"bs.collapse",null)});var d=this._getDimension();this._element.classList.remove("collapse");this._element.classList.add("collapsing");this._element.style[d]=0;this._triggerArray.length&&this._triggerArray.forEach(f=>{f.classList.remove("collapsed");f.setAttribute("aria-expanded",
!0)});this.setTransitioning(!0);b=`scroll${d[0].toUpperCase()+d.slice(1)}`;this._queueCallback(()=>{this._element.classList.remove("collapsing");this._element.classList.add("collapse","show");this._element.style[d]="";this.setTransitioning(!1);n.trigger(this._element,"shown.bs.collapse")},this._element,!0);this._element.style[d]=`${this._element[b]}px`}}}hide(){if(!this._isTransitioning&&this._element.classList.contains("show")&&!n.trigger(this._element,"hide.bs.collapse").defaultPrevented){var a=
this._getDimension();this._element.style[a]=`${this._element.getBoundingClientRect()[a]}px`;this._element.classList.add("collapsing");this._element.classList.remove("collapse","show");var b=this._triggerArray.length;if(0<b)for(let c=0;c<b;c++){const d=this._triggerArray[c],f=Y(d);f&&!f.classList.contains("show")&&(d.classList.add("collapsed"),d.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[a]="";this._queueCallback(()=>{this.setTransitioning(!1);this._element.classList.remove("collapsing");
this._element.classList.add("collapse");n.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}setTransitioning(a){this._isTransitioning=a}_getConfig(a){a={...Ua,...a};a.toggle=!!a.toggle;T("collapse",a,ic);return a}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let {parent:a}=this._config;a=ka(a);x.find(`${'[data-bs-toggle="collapse"]'}[data-bs-parent="${a}"]`,a).forEach(b=>{const c=Y(b);this._addAriaAndCollapsedClass(c,[b])});return a}_addAriaAndCollapsedClass(a,
b){if(a&&b.length){var c=a.classList.contains("show");b.forEach(d=>{c?d.classList.remove("collapsed"):d.classList.add("collapsed");d.setAttribute("aria-expanded",c)})}}static collapseInterface(a,b){let c=V.getInstance(a);const d={...Ua,...E.getDataAttributes(a),...("object"===typeof b&&b?b:{})};!c&&d.toggle&&"string"===typeof b&&/show|hide/.test(b)&&(d.toggle=!1);c||(c=new V(a,d));if("string"===typeof b){if("undefined"===typeof c[b])throw new TypeError(`No method named "${b}"`);c[b]()}}static jQueryInterface(a){return this.each(function(){V.collapseInterface(this,
a)})}}n.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(a){("A"===a.target.tagName||a.delegateTarget&&"A"===a.delegateTarget.tagName)&&a.preventDefault();const b=E.getDataAttributes(this);a=Sa(this);x.find(a).forEach(c=>{var d=V.getInstance(c);d?(null===d._parent&&"string"===typeof b.parent&&(d._config.parent=b.parent,d._parent=d._getParent()),d="toggle"):d=b;V.collapseInterface(c,d)})});I(V);var ja=["top","bottom","right","left"],Ra=ja.reduce(function(a,b){return a.concat([b+
"-start",b+"-end"])},[]),Qa=[].concat(ja,["auto"]).reduce(function(a,b){return a.concat([b,b+"-start",b+"-end"])},[]),rb="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),Va={name:"applyStyles",enabled:!0,phase:"write",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(c){var d=b.styles[c]||{},f=b.attributes[c]||{},k=b.elements[c];L(k)&&P(k)&&(Object.assign(k.style,d),Object.keys(f).forEach(function(m){var p=f[m];!1===p?k.removeAttribute(m):
k.setAttribute(m,!0===p?"":p)}))})},effect:function(a){var b=a.state,c={popper:{position:b.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(b.elements.popper.style,c.popper);b.styles=c;b.elements.arrow&&Object.assign(b.elements.arrow.style,c.arrow);return function(){Object.keys(b.elements).forEach(function(d){var f=b.elements[d],k=b.attributes[d]||{};d=Object.keys(b.styles.hasOwnProperty(d)?b.styles[d]:c[d]).reduce(function(m,p){m[p]="";return m},
{});L(f)&&P(f)&&(Object.assign(f.style,d),Object.keys(k).forEach(function(m){f.removeAttribute(m)}))})}},requires:["computeStyles"]},M=Math.max,X=Math.min,xa=Math.round,Cb={name:"arrow",enabled:!0,phase:"main",fn:function(a){var b,c=a.state,d=a.name,f=a.options,k=c.elements.arrow,m=c.modifiersData.popperOffsets,p=Q(c.placement);a=La(p);p=0<=["left","right"].indexOf(p)?"height":"width";if(k&&m){f=f.padding;f="function"===typeof f?f(Object.assign({},c.rects,{placement:c.placement})):f;f=ib("number"!==
typeof f?f:jb(f,ja));var u=Ka(k),q="y"===a?"top":"left",v="y"===a?"bottom":"right",t=c.rects.reference[p]+c.rects.reference[a]-m[a]-c.rects.popper[p];m=m[a]-c.rects.reference[a];k=(k=qa(k))?"y"===a?k.clientHeight||0:k.clientWidth||0:0;m=k/2-u[p]/2+(t/2-m/2);p=M(f[q],X(m,k-u[p]-f[v]));c.modifiersData[d]=(b={},b[a]=p,b.centerOffset=p-m,b)}},effect:function(a){var b=a.state;a=a.options.element;a=void 0===a?"[data-popper-arrow]":a;if(null!=a){if("string"===typeof a&&(a=b.elements.popper.querySelector(a),
!a))return;gb(b.elements.popper,a)&&(b.elements.arrow=a)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Rb={top:"auto",right:"auto",bottom:"auto",left:"auto"},Wa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(a){var b=a.state,c=a.options;a=c.gpuAcceleration;a=void 0===a?!0:a;var d=c.adaptive;d=void 0===d?!0:d;c=c.roundOffsets;c=void 0===c?!0:c;a={placement:Q(b.placement),popper:b.elements.popper,popperRect:b.rects.popper,gpuAcceleration:a};null!=b.modifiersData.popperOffsets&&
(b.styles.popper=Object.assign({},b.styles.popper,kb(Object.assign({},a,{offsets:b.modifiersData.popperOffsets,position:b.options.strategy,adaptive:d,roundOffsets:c}))));null!=b.modifiersData.arrow&&(b.styles.arrow=Object.assign({},b.styles.arrow,kb(Object.assign({},a,{offsets:b.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c}))));b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-placement":b.placement})},data:{}},Da={passive:!0},Xa={name:"eventListeners",enabled:!0,
phase:"write",fn:function(){},effect:function(a){var b=a.state,c=a.instance;a=a.options;var d=a.scroll,f=void 0===d?!0:d;a=a.resize;var k=void 0===a?!0:a,m=K(b.elements.popper),p=[].concat(b.scrollParents.reference,b.scrollParents.popper);f&&p.forEach(function(u){u.addEventListener("scroll",c.update,Da)});k&&m.addEventListener("resize",c.update,Da);return function(){f&&p.forEach(function(u){u.removeEventListener("scroll",c.update,Da)});k&&m.removeEventListener("resize",c.update,Da)}},data:{}},Sb=
{left:"right",right:"left",bottom:"top",top:"bottom"},Tb={start:"end",end:"start"},Db={name:"flip",enabled:!0,phase:"main",fn:function(a){var b=a.state,c=a.options;a=a.name;if(!b.modifiersData[a]._skip){var d=c.mainAxis;d=void 0===d?!0:d;var f=c.altAxis;f=void 0===f?!0:f;var k=c.fallbackPlacements,m=c.padding,p=c.boundary,u=c.rootBoundary,q=c.altBoundary,v=c.flipVariations,t=void 0===v?!0:v,B=c.allowedAutoPlacements;c=b.options.placement;v=Q(c);k=k||(v!==c&&t?Xb(c):[ya(c)]);var w=[c].concat(k).reduce(function(ba,
ma){return ba.concat("auto"===Q(ma)?Wb(b,{placement:ma,boundary:p,rootBoundary:u,padding:m,flipVariations:t,allowedAutoPlacements:B}):ma)},[]);c=b.rects.reference;k=b.rects.popper;var A=new Map;v=!0;for(var C=w[0],F=0;F<w.length;F++){var D=w[F],ta=Q(D),R="start"===D.split("-")[1],J=0<=["top","bottom"].indexOf(ta),ea=J?"width":"height",fa=ia(b,{placement:D,boundary:p,rootBoundary:u,altBoundary:q,padding:m});R=J?R?"right":"left":R?"bottom":"top";c[ea]>k[ea]&&(R=ya(R));ea=ya(R);J=[];d&&J.push(0>=fa[ta]);
f&&J.push(0>=fa[R],0>=fa[ea]);if(J.every(function(ba){return ba})){C=D;v=!1;break}A.set(D,J)}if(v)for(d=function(ba){var ma=w.find(function(Ya){if(Ya=A.get(Ya))return Ya.slice(0,ba).every(function(jc){return jc})});if(ma)return C=ma,"break"},f=t?3:1;0<f&&"break"!==d(f);f--);b.placement!==C&&(b.modifiersData[a]._skip=!0,b.placement=C,b.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Eb={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(a){var b=a.state;a=
a.name;var c=b.rects.reference,d=b.rects.popper,f=b.modifiersData.preventOverflow,k=ia(b,{elementContext:"reference"}),m=ia(b,{altBoundary:!0});c=pb(k,c);d=pb(m,d,f);f=qb(c);m=qb(d);b.modifiersData[a]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:m};b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}},Fb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(a){var b=a.state,
c=a.name;a=a.options.offset;var d=void 0===a?[0,0]:a;a=Qa.reduce(function(m,p){var u=b.rects;var q=Q(p);var v=0<=["left","top"].indexOf(q)?-1:1,t="function"===typeof d?d(Object.assign({},u,{placement:p})):d;u=t[0];t=t[1];u=u||0;t=(t||0)*v;q=0<=["left","right"].indexOf(q)?{x:t,y:u}:{x:u,y:t};m[p]=q;return m},{});var f=a[b.placement],k=f.x;f=f.y;null!=b.modifiersData.popperOffsets&&(b.modifiersData.popperOffsets.x+=k,b.modifiersData.popperOffsets.y+=f);b.modifiersData[c]=a}},Za={name:"popperOffsets",
enabled:!0,phase:"read",fn:function(a){var b=a.state;b.modifiersData[a.name]=ob({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})},data:{}},Gb={name:"preventOverflow",enabled:!0,phase:"main",fn:function(a){var b=a.state,c=a.options;a=a.name;var d=c.mainAxis,f=void 0===d?!0:d;d=c.altAxis;var k=void 0===d?!1:d;d=c.tether;d=void 0===d?!0:d;var m=c.tetherOffset,p=void 0===m?0:m,u=ia(b,{boundary:c.boundary,rootBoundary:c.rootBoundary,padding:c.padding,altBoundary:c.altBoundary});
c=Q(b.placement);var q=b.placement.split("-")[1],v=!q,t=La(c);c="x"===t?"y":"x";m=b.modifiersData.popperOffsets;var B=b.rects.reference,w=b.rects.popper,A="function"===typeof p?p(Object.assign({},b.rects,{placement:b.placement})):p;p={x:0,y:0};if(m){if(f||k){var C="y"===t?"top":"left",F="y"===t?"bottom":"right",D="y"===t?"height":"width",ta=m[t],R=m[t]+u[C],J=m[t]-u[F],ea=d?-w[D]/2:0,fa="start"===q?B[D]:w[D];q="start"===q?-w[D]:-B[D];w=b.elements.arrow;w=d&&w?Ka(w):{width:0,height:0};var ba=b.modifiersData["arrow#persistent"]?
b.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};C=ba[C];F=ba[F];w=M(0,X(B[D],w[D]));fa=v?B[D]/2-ea-w-C-A:fa-w-C-A;B=v?-B[D]/2+ea+w+F+A:q+w+F+A;v=b.elements.arrow&&qa(b.elements.arrow);A=b.modifiersData.offset?b.modifiersData.offset[b.placement][t]:0;v=m[t]+fa-A-(v?"y"===t?v.clientTop||0:v.clientLeft||0:0);B=m[t]+B-A;f&&(f=d?X(R,v):R,J=d?M(J,B):J,f=M(f,X(ta,J)),m[t]=f,p[t]=f-ta);k&&(k=m[c],f=k+u["x"===t?"top":"left"],u=k-u["x"===t?"bottom":"right"],f=d?X(f,v):f,d=d?M(u,
B):u,d=M(f,X(k,d)),m[c]=d,p[c]=d-k)}b.modifiersData[a]=p}},requiresIfExists:["offset"]},tb={placement:"bottom",modifiers:[],strategy:"absolute"},kc=za(),lc=za({defaultModifiers:[Xa,Za,Wa,Va]}),$a=za({defaultModifiers:[Xa,Za,Wa,Va,Fb,Db,Gb,Cb,Eb]}),Hb=Object.freeze({__proto__:null,popperGenerator:za,detectOverflow:ia,createPopperBase:kc,createPopper:$a,createPopperLite:lc,top:"top",bottom:"bottom",right:"right",left:"left",auto:"auto",basePlacements:ja,start:"start",end:"end",clippingParents:"clippingParents",
viewport:"viewport",popper:"popper",reference:"reference",variationPlacements:Ra,placements:Qa,beforeRead:"beforeRead",read:"read",afterRead:"afterRead",beforeMain:"beforeMain",main:"main",afterMain:"afterMain",beforeWrite:"beforeWrite",write:"write",afterWrite:"afterWrite",modifierPhases:rb,applyStyles:Va,arrow:Cb,computeStyles:Wa,eventListeners:Xa,flip:Db,hide:Eb,offset:Fb,popperOffsets:Za,preventOverflow:Gb});const mc=/ArrowUp|ArrowDown|Escape/,nc=G()?"top-end":"top-start",oc=G()?"top-start":"top-end",
pc=G()?"bottom-end":"bottom-start",qc=G()?"bottom-start":"bottom-end",rc=G()?"left-start":"right-start",sc=G()?"right-start":"left-start",tc={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},uc={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class H extends N{constructor(a,b){super(a);this._popper=null;this._config=
this._getConfig(b);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}static get Default(){return tc}static get DefaultType(){return uc}static get NAME(){return"dropdown"}toggle(){la(this._element)||(this._element.classList.contains("show")?this.hide():this.show())}show(){if(!la(this._element)&&!this._menu.classList.contains("show")){var a=H.getParentFromElement(this._element),b={relatedTarget:this._element};if(!n.trigger(this._element,"show.bs.dropdown",
b).defaultPrevented){if(this._inNavbar)E.setDataAttribute(this._menu,"popper","none");else{if("undefined"===typeof Hb)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let c=this._element;"parent"===this._config.reference?c=a:Z(this._config.reference)?c=ka(this._config.reference):"object"===typeof this._config.reference&&(c=this._config.reference);const d=this._getPopperConfig(),f=d.modifiers.find(k=>"applyStyles"===k.name&&!1===k.enabled);this._popper=$a(c,this._menu,
d);f&&E.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(c=>n.on(c,"mouseover",Ba));this._element.focus();this._element.setAttribute("aria-expanded",!0);this._menu.classList.toggle("show");this._element.classList.toggle("show");n.trigger(this._element,"shown.bs.dropdown",b)}}}hide(){!la(this._element)&&this._menu.classList.contains("show")&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&
this._popper.destroy();super.dispose()}update(){this._inNavbar=this._detectNavbar();this._popper&&this._popper.update()}_addEventListeners(){n.on(this._element,"click.bs.dropdown",a=>{a.preventDefault();this.toggle()})}_completeHide(a){n.trigger(this._element,"hide.bs.dropdown",a).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(b=>n.off(b,"mouseover",Ba)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),
this._element.setAttribute("aria-expanded","false"),E.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,"hidden.bs.dropdown",a))}_getConfig(a){a={...this.constructor.Default,...E.getDataAttributes(this._element),...a};T("dropdown",a,this.constructor.DefaultType);if("object"===typeof a.reference&&!Z(a.reference)&&"function"!==typeof a.reference.getBoundingClientRect)throw new TypeError('DROPDOWN: Option "reference" provided type "object" without a required "getBoundingClientRect" method.');
return a}_getMenuElement(){return x.next(this._element,".dropdown-menu")[0]}_getPlacement(){const a=this._element.parentNode;if(a.classList.contains("dropend"))return rc;if(a.classList.contains("dropstart"))return sc;const b="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return a.classList.contains("dropup")?b?oc:nc:b?qc:pc}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const {offset:a}=this._config;return"string"===typeof a?a.split(",").map(b=>
Number.parseInt(b,10)):"function"===typeof a?b=>a(b,this._element):a}_getPopperConfig(){const a={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};"static"===this._config.display&&(a.modifiers=[{name:"applyStyles",enabled:!1}]);return{...a,...("function"===typeof this._config.popperConfig?this._config.popperConfig(a):this._config.popperConfig)}}_selectMenuItem({key:a,target:b}){const c=x.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",
this._menu).filter(Aa);c.length&&Ab(c,b,"ArrowDown"===a,!c.includes(b)).focus()}static dropdownInterface(a,b){a=H.getOrCreateInstance(a,b);if("string"===typeof b){if("undefined"===typeof a[b])throw new TypeError(`No method named "${b}"`);a[b]()}}static jQueryInterface(a){return this.each(function(){H.dropdownInterface(this,a)})}static clearMenus(a){if(!a||2!==a.button&&("keyup"!==a.type||"Tab"===a.key)){var b=x.find('[data-bs-toggle="dropdown"]');for(let c=0,d=b.length;c<d;c++){const f=H.getInstance(b[c]);
if(!f||!1===f._config.autoClose)continue;if(!f._element.classList.contains("show"))continue;const k={relatedTarget:f._element};if(a){const m=a.composedPath(),p=m.includes(f._menu);if(m.includes(f._element)||"inside"===f._config.autoClose&&!p||"outside"===f._config.autoClose&&p)continue;if(f._menu.contains(a.target)&&("keyup"===a.type&&"Tab"===a.key||/input|select|option|textarea|form/i.test(a.target.tagName)))continue;"click"===a.type&&(k.clickEvent=a)}f._completeHide(k)}}}static getParentFromElement(a){return Y(a)||
a.parentNode}static dataApiKeydownHandler(a){if(/input|textarea/i.test(a.target.tagName)?!("Space"===a.key||"Escape"!==a.key&&("ArrowDown"!==a.key&&"ArrowUp"!==a.key||a.target.closest(".dropdown-menu"))):mc.test(a.key)){var b=this.classList.contains("show");if(b||"Escape"!==a.key)if(a.preventDefault(),a.stopPropagation(),!la(this)){var c=()=>this.matches('[data-bs-toggle="dropdown"]')?this:x.prev(this,'[data-bs-toggle="dropdown"]')[0];"Escape"===a.key?(c().focus(),H.clearMenus()):"ArrowUp"===a.key||
"ArrowDown"===a.key?(b||c().click(),H.getInstance(c())._selectMenuItem(a)):b&&"Space"!==a.key||H.clearMenus()}}}}n.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',H.dataApiKeydownHandler);n.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",H.dataApiKeydownHandler);n.on(document,"click.bs.dropdown.data-api",H.clearMenus);n.on(document,"keyup.bs.dropdown.data-api",H.clearMenus);n.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(a){a.preventDefault();
H.dropdownInterface(this)});I(H);class ab{constructor(){this._element=document.body}getWidth(){return Math.abs(window.innerWidth-document.documentElement.clientWidth)}hide(){const a=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,"paddingRight",b=>b+a);this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",b=>b+a);this._setElementAttributes(".sticky-top","marginRight",b=>b-a)}_disableOverFlow(){this._saveInitialAttribute(this._element,
"overflow");this._element.style.overflow="hidden"}_setElementAttributes(a,b,c){const d=this.getWidth();this._applyManipulationCallback(a,f=>{if(!(f!==this._element&&window.innerWidth>f.clientWidth+d)){this._saveInitialAttribute(f,b);var k=window.getComputedStyle(f)[b];f.style[b]=`${c(Number.parseFloat(k))}px`}})}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,"paddingRight");this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",
"paddingRight");this._resetElementAttributes(".sticky-top","marginRight")}_saveInitialAttribute(a,b){const c=a.style[b];c&&E.setDataAttribute(a,b,c)}_resetElementAttributes(a,b){this._applyManipulationCallback(a,c=>{const d=E.getDataAttribute(c,b);"undefined"===typeof d?c.style.removeProperty(b):(E.removeDataAttribute(c,b),c.style[b]=d)})}_applyManipulationCallback(a,b){Z(a)?b(a):x.find(a,this._element).forEach(b)}isOverflowing(){return 0<this.getWidth()}}const vc={isVisible:!0,isAnimated:!1,rootElement:"body",
clickCallback:null},wc={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class Ib{constructor(a){this._config=this._getConfig(a);this._isAppended=!1;this._element=null}show(a){this._config.isVisible?(this._append(),this._config.isAnimated&&this._getElement(),this._getElement().classList.add("show"),this._emulateAnimation(()=>{ca(a)})):ca(a)}hide(a){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>
{this.dispose();ca(a)})):ca(a)}_getElement(){if(!this._element){const a=document.createElement("div");a.className="modal-backdrop";this._config.isAnimated&&a.classList.add("fade");this._element=a}return this._element}_getConfig(a){a={...vc,...("object"===typeof a?a:{})};a.rootElement=ka(a.rootElement);T("backdrop",a,wc);return a}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),n.on(this._getElement(),"mousedown.bs.backdrop",()=>{ca(this._config.clickCallback)}),
this._isAppended=!0)}dispose(){this._isAppended&&(n.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(a){zb(a,this._getElement(),this._config.isAnimated)}}const Jb={backdrop:!0,keyboard:!0,focus:!0},xc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class Ea extends N{constructor(a,b){super(a);this._config=this._getConfig(b);this._dialog=x.findOne(".modal-dialog",this._element);this._backdrop=this._initializeBackDrop();this._isTransitioning=
this._ignoreBackdropClick=this._isShown=!1;this._scrollBar=new ab}static get Default(){return Jb}static get NAME(){return"modal"}toggle(a){return this._isShown?this.hide():this.show(a)}show(a){this._isShown||this._isTransitioning||n.trigger(this._element,"show.bs.modal",{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),
n.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',b=>this.hide(b)),n.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{n.one(this._element,"mouseup.dismiss.bs.modal",b=>{b.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(a)))}hide(a){a&&["A","AREA"].includes(a.target.tagName)&&a.preventDefault();if(this._isShown&&!this._isTransitioning&&!n.trigger(this._element,"hide.bs.modal").defaultPrevented){this._isShown=!1;if(a=this._isAnimated())this._isTransitioning=
!0;this._setEscapeEvent();this._setResizeEvent();n.off(document,"focusin.bs.modal");this._element.classList.remove("show");n.off(this._element,"click.dismiss.bs.modal");n.off(this._dialog,"mousedown.dismiss.bs.modal");this._queueCallback(()=>this._hideModal(),this._element,a)}}dispose(){[window,this._dialog].forEach(a=>n.off(a,".bs.modal"));this._backdrop.dispose();super.dispose();n.off(document,"focusin.bs.modal")}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ib({isVisible:!!this._config.backdrop,
isAnimated:this._isAnimated()})}_getConfig(a){a={...Jb,...E.getDataAttributes(this._element),...("object"===typeof a?a:{})};T("modal",a,xc);return a}_showElement(a){const b=this._isAnimated(),c=x.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(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;c&&(c.scrollTop=0);this._element.classList.add("show");this._config.focus&&this._enforceFocus();this._queueCallback(()=>{this._config.focus&&this._element.focus();this._isTransitioning=!1;n.trigger(this._element,"shown.bs.modal",{relatedTarget:a})},this._dialog,b)}_enforceFocus(){n.off(document,"focusin.bs.modal");n.on(document,"focusin.bs.modal",a=>{document===a.target||this._element===a.target||this._element.contains(a.target)||this._element.focus()})}_setEscapeEvent(){if(this._isShown)n.on(this._element,
"keydown.dismiss.bs.modal",a=>{this._config.keyboard&&"Escape"===a.key?(a.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==a.key||this._triggerBackdropTransition()});else n.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){if(this._isShown)n.on(window,"resize.bs.modal",()=>this._adjustDialog());else n.off(window,"resize.bs.modal")}_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("modal-open");this._resetAdjustments();this._scrollBar.reset();n.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(a){n.on(this._element,"click.dismiss.bs.modal",b=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:b.target===b.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())});this._backdrop.show(a)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!n.trigger(this._element,
"hidePrevented.bs.modal").defaultPrevented){var {classList:a,scrollHeight:b,style:c}=this._element,d=b>document.documentElement.clientHeight;!d&&"hidden"===c.overflowY||a.contains("modal-static")||(d||(c.overflowY="hidden"),a.add("modal-static"),this._queueCallback(()=>{a.remove("modal-static");d||this._queueCallback(()=>{c.overflowY=""},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const a=this._element.scrollHeight>document.documentElement.clientHeight,b=this._scrollBar.getWidth(),
c=0<b;if(!c&&a&&!G()||c&&!a&&G())this._element.style.paddingLeft=`${b}px`;if(c&&!a&&!G()||!c&&a&&G())this._element.style.paddingRight=`${b}px`}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(a,b){return this.each(function(){const c=Ea.getOrCreateInstance(this,a);if("string"===typeof a){if("undefined"===typeof c[a])throw new TypeError(`No method named "${a}"`);c[a](b)}})}}n.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',
function(a){const b=Y(this);["A","AREA"].includes(this.tagName)&&a.preventDefault();n.one(b,"show.bs.modal",c=>{if(!c.defaultPrevented)n.one(b,"hidden.bs.modal",()=>{Aa(this)&&this.focus()})});Ea.getOrCreateInstance(b).toggle(this)});I(Ea);const Kb={backdrop:!0,keyboard:!0,scroll:!1},yc={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class na extends N{constructor(a,b){super(a);this._config=this._getConfig(b);this._isShown=!1;this._backdrop=this._initializeBackDrop();this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return Kb}toggle(a){return this._isShown?
this.hide():this.show(a)}show(a){this._isShown||n.trigger(this._element,"show.bs.offcanvas",{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||((new ab).hide(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{n.trigger(this._element,
"shown.bs.offcanvas",{relatedTarget:a})},this._element,!0))}hide(){this._isShown&&!n.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(n.off(document,"focusin.bs.offcanvas"),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 ab).reset();
n.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0))}dispose(){this._backdrop.dispose();super.dispose();n.off(document,"focusin.bs.offcanvas")}_getConfig(a){a={...Kb,...E.getDataAttributes(this._element),...("object"===typeof a?a:{})};T("offcanvas",a,yc);return a}_initializeBackDrop(){return new Ib({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(a){n.off(document,"focusin.bs.offcanvas");n.on(document,
"focusin.bs.offcanvas",b=>{document===b.target||a===b.target||a.contains(b.target)||a.focus()});a.focus()}_addEventListeners(){n.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide());n.on(this._element,"keydown.dismiss.bs.offcanvas",a=>{this._config.keyboard&&"Escape"===a.key&&this.hide()})}static jQueryInterface(a){return this.each(function(){const b=na.getOrCreateInstance(this,a);if("string"===typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===
a)throw new TypeError(`No method named "${a}"`);b[a](this)}})}}n.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(a){const b=Y(this);["A","AREA"].includes(this.tagName)&&a.preventDefault();la(this)||(n.one(b,"hidden.bs.offcanvas",()=>{Aa(this)&&this.focus()}),(a=x.findOne(".offcanvas.show"))&&a!==b&&na.getInstance(a).hide(),na.getOrCreateInstance(b).toggle(this))});n.on(window,"load.bs.offcanvas.data-api",()=>x.find(".offcanvas.show").forEach(a=>na.getOrCreateInstance(a).show()));
I(na);const zc=new Set("background cite href itemtype longdesc poster src xlink:href".split(" ")),Ac=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Bc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,cc=(a,b)=>{const c=a.nodeName.toLowerCase();if(b.includes(c))return zc.has(c)?!(!Ac.test(a.nodeValue)&&!Bc.test(a.nodeValue)):!0;a=b.filter(d=>d instanceof RegExp);for(let d=0,f=a.length;d<f;d++)if(a[d].test(c))return!0;
return!1},Cc=/(^|\s)bs-tooltip\S+/g,Dc=new Set(["sanitize","allowList","sanitizeFn"]),Ec={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)"},
Fc={AUTO:"auto",TOP:"top",RIGHT:G()?"left":"right",BOTTOM:"bottom",LEFT:G()?"right":"left"},Gc={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".split(" "),li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Hc={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"};class oa extends N{constructor(a,b){if("undefined"===typeof Hb)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(a);this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this._config=this._getConfig(b);this.tip=null;this._setListeners()}static get Default(){return Gc}static get NAME(){return"tooltip"}static get Event(){return Hc}static get DefaultType(){return Ec}enable(){this._isEnabled=
!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(a){this._isEnabled&&(a?(a=this._initializeOnDelegatedTarget(a),a._activeTrigger.click=!a._activeTrigger.click,a._isWithActiveTrigger()?a._enter(null,a):a._leave(null,a)):this.getTipElement().classList.contains("show")?this._leave(null,this):this._enter(null,this))}dispose(){clearTimeout(this._timeout);n.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler);this.tip&&this.tip.remove();this._popper&&
this._popper.destroy();super.dispose()}show(){if("none"===this._element.style.display)throw Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var a=n.trigger(this._element,this.constructor.Event.SHOW),b=xb(this._element);b=null===b?this._element.ownerDocument.documentElement.contains(this._element):b.contains(this._element);if(!a.defaultPrevented&&b){a=this.getTipElement();b=vb(this.constructor.NAME);a.setAttribute("id",b);this._element.setAttribute("aria-describedby",
b);this.setContent();this._config.animation&&a.classList.add("fade");b="function"===typeof this._config.placement?this._config.placement.call(this,a,this._element):this._config.placement;b=this._getAttachment(b);this._addAttachmentClass(b);var {container:c}=this._config;da.set(a,this.constructor.DATA_KEY,this);this._element.ownerDocument.documentElement.contains(this.tip)||(c.appendChild(a),n.trigger(this._element,this.constructor.Event.INSERTED));this._popper?this._popper.update():this._popper=$a(this._element,
a,this._getPopperConfig(b));a.classList.add("show");(b="function"===typeof this._config.customClass?this._config.customClass():this._config.customClass)&&a.classList.add(...b.split(" "));"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(d=>{n.on(d,"mouseover",Ba)});a=this.tip.classList.contains("fade");this._queueCallback(()=>{const d=this._hoverState;this._hoverState=null;n.trigger(this._element,this.constructor.Event.SHOWN);"out"===d&&this._leave(null,this)},
this.tip,a)}}}hide(){if(this._popper){var a=this.getTipElement();if(!n.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){a.classList.remove("show");"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(c=>n.off(c,"mouseover",Ba));this._activeTrigger.click=!1;this._activeTrigger.focus=!1;this._activeTrigger.hover=!1;var b=this.tip.classList.contains("fade");this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&a.remove(),
this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,b);this._hoverState=""}}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return!!this.getTitle()}getTipElement(){if(this.tip)return this.tip;const a=document.createElement("div");a.innerHTML=this._config.template;return this.tip=a.children[0]}setContent(){const a=this.getTipElement();this.setElementContent(x.findOne(".tooltip-inner",
a),this.getTitle());a.classList.remove("fade","show")}setElementContent(a,b){null!==a&&(Z(b)?(b=ka(b),this._config.html?b.parentNode!==a&&(a.innerHTML="",a.appendChild(b)):a.textContent=b.textContent):this._config.html?(this._config.sanitize&&(b=ub(b,this._config.allowList,this._config.sanitizeFn)),a.innerHTML=b):a.textContent=b)}getTitle(){let a=this._element.getAttribute("data-bs-original-title");a||(a="function"===typeof this._config.title?this._config.title.call(this._element):this._config.title);
return a}updateAttachment(a){return"right"===a?"end":"left"===a?"start":a}_initializeOnDelegatedTarget(a,b){const c=this.constructor.DATA_KEY;b=b||da.get(a.delegateTarget,c);b||(b=new this.constructor(a.delegateTarget,this._getDelegateConfig()),da.set(a.delegateTarget,c,b));return b}_getOffset(){const {offset:a}=this._config;return"string"===typeof a?a.split(",").map(b=>Number.parseInt(b,10)):"function"===typeof a?b=>a(b,this._element):a}_getPopperConfig(a){a={placement:a,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:b=>this._handlePopperPlacementChange(b)}],onFirstUpdate:b=>{b.options.placement!==b.placement&&this._handlePopperPlacementChange(b)}};return{...a,...("function"===typeof this._config.popperConfig?this._config.popperConfig(a):
this._config.popperConfig)}}_addAttachmentClass(a){this.getTipElement().classList.add(`${"bs-tooltip"}-${this.updateAttachment(a)}`)}_getAttachment(a){return Fc[a.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(a=>{if("click"===a)n.on(this._element,this.constructor.Event.CLICK,this._config.selector,b=>this.toggle(b));else if("manual"!==a){const b="hover"===a?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;n.on(this._element,"hover"===a?this.constructor.Event.MOUSEENTER:
this.constructor.Event.FOCUSIN,this._config.selector,c=>this._enter(c));n.on(this._element,b,this._config.selector,c=>this._leave(c))}});this._hideModalHandler=()=>{this._element&&this.hide()};n.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler);this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const a=this._element.getAttribute("title"),b=typeof this._element.getAttribute("data-bs-original-title");if(a||"string"!==
b)this._element.setAttribute("data-bs-original-title",a||""),!a||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",a),this._element.setAttribute("title","")}_enter(a,b){b=this._initializeOnDelegatedTarget(a,b);a&&(b._activeTrigger["focusin"===a.type?"focus":"hover"]=!0);b.getTipElement().classList.contains("show")||"show"===b._hoverState?b._hoverState="show":(clearTimeout(b._timeout),b._hoverState="show",b._config.delay&&b._config.delay.show?
b._timeout=setTimeout(()=>{"show"===b._hoverState&&b.show()},b._config.delay.show):b.show())}_leave(a,b){b=this._initializeOnDelegatedTarget(a,b);a&&(b._activeTrigger["focusout"===a.type?"focus":"hover"]=b._element.contains(a.relatedTarget));b._isWithActiveTrigger()||(clearTimeout(b._timeout),b._hoverState="out",b._config.delay&&b._config.delay.hide?b._timeout=setTimeout(()=>{"out"===b._hoverState&&b.hide()},b._config.delay.hide):b.hide())}_isWithActiveTrigger(){for(const a in this._activeTrigger)if(this._activeTrigger[a])return!0;
return!1}_getConfig(a){const b=E.getDataAttributes(this._element);Object.keys(b).forEach(c=>{Dc.has(c)&&delete b[c]});a={...this.constructor.Default,...b,...("object"===typeof a&&a?a:{})};a.container=!1===a.container?document.body:ka(a.container);"number"===typeof a.delay&&(a.delay={show:a.delay,hide:a.delay});"number"===typeof a.title&&(a.title=a.title.toString());"number"===typeof a.content&&(a.content=a.content.toString());T("tooltip",a,this.constructor.DefaultType);a.sanitize&&(a.template=ub(a.template,
a.allowList,a.sanitizeFn));return a}_getDelegateConfig(){const a={};if(this._config)for(const b in this._config)this.constructor.Default[b]!==this._config[b]&&(a[b]=this._config[b]);return a}_cleanTipClass(){const a=this.getTipElement(),b=a.getAttribute("class").match(Cc);null!==b&&0<b.length&&b.map(c=>c.trim()).forEach(c=>a.classList.remove(c))}_handlePopperPlacementChange(a){({state:a}=a);a&&(this.tip=a.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(a.placement)))}static jQueryInterface(a){return this.each(function(){const b=
oa.getOrCreateInstance(this,a);if("string"===typeof a){if("undefined"===typeof b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}I(oa);const Ic=/(^|\s)bs-popover\S+/g,Jc={...oa.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>'},Kc={...oa.DefaultType,content:"(string|element|function)"},Lc={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 bb extends oa{static get Default(){return Jc}static get NAME(){return"popover"}static get Event(){return Lc}static get DefaultType(){return Kc}isWithContent(){return this.getTitle()||this._getContent()}getTipElement(){if(this.tip)return this.tip;this.tip=super.getTipElement();
this.getTitle()||x.findOne(".popover-header",this.tip).remove();this._getContent()||x.findOne(".popover-body",this.tip).remove();return this.tip}setContent(){const a=this.getTipElement();this.setElementContent(x.findOne(".popover-header",a),this.getTitle());let b=this._getContent();"function"===typeof b&&(b=b.call(this._element));this.setElementContent(x.findOne(".popover-body",a),b);a.classList.remove("fade","show")}_addAttachmentClass(a){this.getTipElement().classList.add(`${"bs-popover"}-${this.updateAttachment(a)}`)}_getContent(){return this._element.getAttribute("data-bs-content")||
this._config.content}_cleanTipClass(){const a=this.getTipElement(),b=a.getAttribute("class").match(Ic);null!==b&&0<b.length&&b.map(c=>c.trim()).forEach(c=>a.classList.remove(c))}static jQueryInterface(a){return this.each(function(){const b=bb.getOrCreateInstance(this,a);if("string"===typeof a){if("undefined"===typeof b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}I(bb);const Lb={offset:10,method:"auto",target:""},Mc={offset:"number",method:"string",target:"(string|element)"};class Fa extends N{constructor(a,
b){super(a);this._scrollElement="BODY"===this._element.tagName?window:this._element;this._config=this._getConfig(b);this._selector=`${this._config.target} ${".nav-link"}, ${this._config.target} ${".list-group-item"}, ${this._config.target} .${"dropdown-item"}`;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process());this.refresh();this._process()}static get Default(){return Lb}static get NAME(){return"scrollspy"}refresh(){const a=
this._scrollElement===this._scrollElement.window?"offset":"position",b="auto"===this._config.method?a:this._config.method,c="position"===b?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();x.find(this._selector).map(d=>{const f=(d=Sa(d))?x.findOne(d):null;if(f){const k=f.getBoundingClientRect();if(k.width||k.height)return[E[b](f).top+c,d]}return null}).filter(d=>d).sort((d,f)=>d[0]-f[0]).forEach(d=>{this._offsets.push(d[0]);this._targets.push(d[1])})}dispose(){n.off(this._scrollElement,
".bs.scrollspy");super.dispose()}_getConfig(a){a={...Lb,...E.getDataAttributes(this._element),...("object"===typeof a&&a?a:{})};if("string"!==typeof a.target&&Z(a.target)){let {id:b}=a.target;b||(b=vb("scrollspy"),a.target.id=b);a.target=`#${b}`}T("scrollspy",a,Mc);return a}_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(){var a=this._getScrollTop()+this._config.offset,b=this._getScrollHeight();const c=this._config.offset+b-this._getOffsetHeight();this._scrollHeight!==b&&this.refresh();if(a>=c)a=this._targets[this._targets.length-1],this._activeTarget!==a&&this._activate(a);else if(this._activeTarget&&a<this._offsets[0]&&0<this._offsets[0])this._activeTarget=null,this._clear();else for(b=this._offsets.length;b--;)this._activeTarget!==
this._targets[b]&&a>=this._offsets[b]&&("undefined"===typeof this._offsets[b+1]||a<this._offsets[b+1])&&this._activate(this._targets[b])}_activate(a){this._activeTarget=a;this._clear();var b=this._selector.split(",").map(c=>`${c}[data-bs-target="${a}"],${c}[href="${a}"]`);b=x.findOne(b.join(","));b.classList.contains("dropdown-item")?(x.findOne(".dropdown-toggle",b.closest(".dropdown")).classList.add("active"),b.classList.add("active")):(b.classList.add("active"),x.parents(b,".nav, .list-group").forEach(c=>
{x.prev(c,".nav-link, .list-group-item").forEach(d=>d.classList.add("active"));x.prev(c,".nav-item").forEach(d=>{x.children(d,".nav-link").forEach(f=>f.classList.add("active"))})}));n.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:a})}_clear(){x.find(this._selector).filter(a=>a.classList.contains("active")).forEach(a=>a.classList.remove("active"))}static jQueryInterface(a){return this.each(function(){const b=Fa.getOrCreateInstance(this,a);if("string"===typeof a){if("undefined"===
typeof b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}n.on(window,"load.bs.scrollspy.data-api",()=>{x.find('[data-bs-spy="scroll"]').forEach(a=>new Fa(a))});I(Fa);class Ga extends N{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains("active")){var a=Y(this._element),b=this._element.closest(".nav, .list-group");if(b){var c=x.find("UL"===b.nodeName||"OL"===b.nodeName?":scope > li > .active":
".active",b);c=c[c.length-1]}var d=c?n.trigger(c,"hide.bs.tab",{relatedTarget:this._element}):null;n.trigger(this._element,"show.bs.tab",{relatedTarget:c}).defaultPrevented||null!==d&&d.defaultPrevented||(this._activate(this._element,b),b=()=>{n.trigger(c,"hidden.bs.tab",{relatedTarget:this._element});n.trigger(this._element,"shown.bs.tab",{relatedTarget:c})},a?this._activate(a,a.parentNode,b):b())}}_activate(a,b,c){const d=(!b||"UL"!==b.nodeName&&"OL"!==b.nodeName?x.children(b,".active"):x.find(":scope > li > .active",
b))[0];b=c&&d&&d.classList.contains("fade");const f=()=>this._transitionComplete(a,d,c);d&&b?(d.classList.remove("show"),this._queueCallback(f,a,!0)):f()}_transitionComplete(a,b,c){if(b){b.classList.remove("active");const d=x.findOne(":scope > .dropdown-menu .active",b.parentNode);d&&d.classList.remove("active");"tab"===b.getAttribute("role")&&b.setAttribute("aria-selected",!1)}a.classList.add("active");"tab"===a.getAttribute("role")&&a.setAttribute("aria-selected",!0);a.classList.contains("fade")&&
a.classList.add("show");(b=a.parentNode)&&"LI"===b.nodeName&&(b=b.parentNode);b&&b.classList.contains("dropdown-menu")&&((b=a.closest(".dropdown"))&&x.find(".dropdown-toggle",b).forEach(d=>d.classList.add("active")),a.setAttribute("aria-expanded",!0));c&&c()}static jQueryInterface(a){return this.each(function(){const b=Ga.getOrCreateInstance(this);if("string"===typeof a){if("undefined"===typeof b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}n.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',
function(a){["A","AREA"].includes(this.tagName)&&a.preventDefault();la(this)||Ga.getOrCreateInstance(this).show()});I(Ga);const Nc={animation:"boolean",autohide:"boolean",delay:"number"},Mb={animation:!0,autohide:!0,delay:5E3};class cb extends N{constructor(a,b){super(a);this._config=this._getConfig(b);this._timeout=null;this._hasKeyboardInteraction=this._hasMouseInteraction=!1;this._setListeners()}static get DefaultType(){return Nc}static get Default(){return Mb}static get NAME(){return"toast"}show(){n.trigger(this._element,
"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing");this._element.classList.add("show");n.trigger(this._element,"shown.bs.toast");this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&!n.trigger(this._element,"hide.bs.toast").defaultPrevented&&
(this._element.classList.remove("show"),this._queueCallback(()=>{this._element.classList.add("hide");n.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout();this._element.classList.contains("show")&&this._element.classList.remove("show");super.dispose()}_getConfig(a){a={...Mb,...E.getDataAttributes(this._element),...("object"===typeof a&&a?a:{})};T("toast",a,this.constructor.DefaultType);return a}_maybeScheduleHide(){!this._config.autohide||
this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(a,b){switch(a.type){case "mouseover":case "mouseout":this._hasMouseInteraction=b;break;case "focusin":case "focusout":this._hasKeyboardInteraction=b}b?this._clearTimeout():(a=a.relatedTarget,this._element===a||this._element.contains(a)||this._maybeScheduleHide())}_setListeners(){n.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide());
n.on(this._element,"mouseover.bs.toast",a=>this._onInteraction(a,!0));n.on(this._element,"mouseout.bs.toast",a=>this._onInteraction(a,!1));n.on(this._element,"focusin.bs.toast",a=>this._onInteraction(a,!0));n.on(this._element,"focusout.bs.toast",a=>this._onInteraction(a,!1))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(a){return this.each(function(){const b=cb.getOrCreateInstance(this,a);if("string"===typeof a){if("undefined"===typeof b[a])throw new TypeError(`No method named "${a}"`);
b[a](this)}})}}I(cb);return{Alert:sa,Button:Ca,Carousel:U,Collapse:V,Dropdown:H,Modal:Ea,Offcanvas:na,Popover:bb,ScrollSpy:Fa,Tab:Ga,Toast:cb,Tooltip:oa}});function clickableContainer(e){(e=document.querySelectorAll(e))&&[...e].forEach(h=>{const g=getComputedStyle(h),l=h.getElementsByTagName("a")[0];l&&("static"==g.position&&(h.style.position="relative"),l.classList.add("stretched-link"),l.style.position="static",h.classList.add("clickable"),h=document.createElement("span"),h.append(...l.childNodes),l.appendChild(h))})}
if("undefined"==typeof alertText)var alertText="The link you clicked will take you to one of our partner websites. We don't control the content of our partner sites. Please review their Privacy Policy as it may differ from our Privacy Policy.  We hope you found the information you were looking for from "+siteSettings.name+".";if("undefined"==typeof warnText)var warnText="The link you clicked is provided as a courtesy. We don't endorse or control the content of the site you're about to visit.";
if("undefined"==typeof emailText)var emailText="Please be advised this communication is not encrypted.  Please do not include confidential information, such as account numbers or social security numbers in this email.";
function initConfirm(e,h){Swal.fire({title:'<i class="fa fa-exclamation-circle fa-fw text-danger" aria-hidden="true"></i> Confirm',html:"<p>"+h+"</p>",showCancelButton:!0,reverseButtons:!0,showCloseButton:!0,position:"top",scrollbarPadding:!1,buttonsStyling:!1,customClass:{popup:"fb_alert-popup",header:"fb_alert-header",title:"fb_alert-title",content:"fb_alert-body",actions:"fb_alert-footer",confirmButton:"fb_alert-btn-confirm btn btn-success",cancelButton:"fb_alert-btn-cancel btn btn-outline-secondary"},
showClass:{popup:"swal2-show"}}).then(g=>{g.value&&window.open(e)})}function showConfirm(e,h,g){e.preventDefault();e.stopPropagation();initConfirm(h,g)}function confirmAlert(e,h){e=document.querySelectorAll(e);for(const g of e)g.addEventListener("click",l=>{l.preventDefault()},!1),g.addEventListener("mousedown",l=>{showConfirm(l,g.getAttribute("href"),h)},!1),g.addEventListener("keydown",l=>{13===l.keyCode&&showConfirm(l,g.getAttribute("href"),h)},!1)}
function setupTables(){[...document.querySelectorAll("div.table.split, table.split")].forEach(e=>{e=e.getElementsByTagName("tr");var h=e[0];[,...e]=e;e.forEach(g=>{g=[...g.getElementsByTagName("td")];for(let [l,r]of g.entries())r.setAttribute("data-label",h.children[l].textContent)})})}
function popupify(){if(self!==top&&!FEDApp.previewMode){document.body.classList.add("popup");const e=document.getElementsByTagName("a");e&&[...e].forEach(h=>{null==h.getAttribute("target")&&h.setAttribute("target","_parent")})}}
function setupMenu(e){if("undefined"===typeof e||"undefined"===typeof e.behave||"undefined"===typeof e.wrapperEl||"undefined"===typeof e.navEl)return console.log("Incorrect/missing arguments. Menu not set up."),!1;var h=e.behave;[...document.querySelectorAll(e.wrapperEl+" > li")].forEach(g=>{g.hasChildNodes()&&void 0!==g.children[1]?1<g.children[1].children.length?(g.classList.add("haschildren"),g.classList.add("dropdown")):g.children[0].classList.add("no-menu"):g.children[0].classList.add("no-menu")});
[...document.querySelectorAll(e.wrapperEl+" > li.haschildren")].forEach(g=>{var l=g.firstElementChild;l.classList.add("dropdown-toggle");l.setAttribute("data-bs-toggle","dropdown");l.setAttribute("aria-expanded","false");l.setAttribute("role","button");l.setAttribute("aria-haspopup","true");l.nextElementSibling.classList.add("dropdown-menu");"hover"==h&&(g.addEventListener("mouseover",()=>{g.classList.add("show");l.classList.add("active");l.setAttribute("aria-expanded","true");l.nextElementSibling.classList.add("show")}),
g.addEventListener("mouseout",()=>{g.classList.remove("show");l.classList.remove("active");l.setAttribute("aria-expanded","false");l.nextElementSibling.classList.remove("show")}))});[...document.querySelectorAll(e.wrapperEl+" > li > ul > li")].forEach(g=>{if(g.hasChildNodes()&&void 0!==g.children[1]){var l=g.children[1].children;l&&1<l.length&&g.classList.add("haschildren")}});[...document.querySelectorAll(e.wrapperEl+" a.dropdown-toggle")].forEach(g=>{g.setAttribute("href","")})}
function setupMobileMenu(e){if("undefined"===typeof e||"undefined"===typeof e.include)return console.log("Incorrect/missing arguments. Mobile menu not set up."),!1;"undefined"===typeof e.tiered?e.tiered=!1:e.tiered=e.tiered;var h=[];h=e.include;var g=document.getElementById("mobileMenu");for(let l of h.entries())h=document.querySelector(l[1]),g.prepend(h.cloneNode(!0));[...document.querySelectorAll("#mobileMenu .primaryNav > li > a")].forEach(l=>{l.classList.remove("dropdown-toggle");l.removeAttribute("data-bs-toggle");
l.removeAttribute("aria-expanded");l.removeAttribute("aria-haspopup");null!==l.nextElementSibling&&l.nextElementSibling.classList.remove("dropdown-menu")});[...document.querySelectorAll("#mobileMenu .primaryNav > li")].forEach(l=>{l.classList.remove("active");l.classList.remove("dropdown");l.classList.add("inactive");l.classList.contains("inPath")&&l.classList.add("active")});document.addEventListener("click",l=>{l.target.matches("#mobileMenu .primaryNav > li.haschildren > a:not(.no-menu)")&&(l.preventDefault(),
getSiblings(l.target.parentNode).forEach(r=>{r.classList.contains("active")&&r.classList.remove("active")}),l.target.parentNode.classList.toggle("active"))});!0===e.tiered&&(document.querySelector("#mobileMenu .primaryNav").classList.add("three-tier"),[...document.querySelectorAll("#mobileMenu .primaryNav > li > ul > li.haschildren")].forEach(l=>{l.classList.contains("inPath")&&l.classList.add("active")}),document.addEventListener("click",l=>{l.target.matches("#mobileMenu .primaryNav > li.haschildren > ul > li.haschildren > a:not(.no-menu)")&&
(l.preventDefault(),getSiblings(l.target.parentNode).forEach(r=>{r.classList.contains("active")&&r.classList.remove("active")}),l.target.parentNode.classList.toggle("active"))}));confirmAlert("#mobileMenu a.confirm",alertText);confirmAlert("#mobileMenu a.warn",warnText);g.addEventListener("shown.bs.collapse",function(){document.body.style.overflow="hidden"});g.addEventListener("hidden.bs.collapse",function(){document.body.style.overflow=""})}
function createAccordionTitles(e){e=document.querySelectorAll(e);[...e].forEach(h=>{var g=h.textContent.trim();g=g.replace(/[^a-z0-9\s]/gi,"").replace(/[_\s]/g,"-").replace("--","-").toLowerCase();var l="tab-"+g+"-content";h.setAttribute("id","tab-"+g);h.nextElementSibling.setAttribute("id",l);g=document.createElement("button");g.classList.add("accordion-button");g.classList.add("collapsed");g.setAttribute("data-bs-toggle","collapse");g.setAttribute("data-bs-target","#"+l);g.setAttribute("aria-controls",
l);g.innerHTML=h.innerHTML;h.innerHTML="";h.appendChild(g)})}function createAccordionContent(e){e=document.querySelectorAll(e);[...e].forEach(h=>{var g=document.createElement("div");g.setAttribute("class","accordion-body");g.append(...h.childNodes);h.appendChild(g);h=h.querySelector(".accordion-body");0==h.children.length&&h.remove()})}
function wrapAccordionItems(e){[...e.querySelectorAll(".accordion-header")].forEach(h=>{var g=document.createElement("div");g.setAttribute("class","accordion-item");h.parentNode.appendChild(g);var l=h.nextElementSibling;g.appendChild(h);g.appendChild(l)})}
function setupAccordions(e){generalAccordion();var h=e||!1;e=document.querySelectorAll(".accordion:not(.page-tabs)");createAccordionTitles(".accordion:not(.page-tabs) .accordion-header");createAccordionContent(".accordion:not(.page-tabs) .accordion-collapse");[...e].forEach((g,l)=>{g.setAttribute("data-accordion",l);!0===h&&g.setAttribute("data-open","true");wrapAccordionItems(g)});(e=document.querySelector(".page-tabs"))&&!0===h&&e.setAttribute("data-open","true");openAccordionOnLoad()}
function generalAccordion(){[...document.getElementsByTagName("p")].forEach(e=>{var h=e.textContent;h.includes("{beginAccordion")&&e.classList.add("start-accordion");h.includes("{endAccordion")&&e.classList.add("end-accordion");h.includes("{openTab}")&&e.classList.add("d-none");h.includes("{closeTab}")&&e.classList.add("d-none")});[...document.querySelectorAll(".start-accordion")].forEach((e,h)=>{h=document.createElement("div");h.setAttribute("class","accordion");var g=nextUntil(e,".end-accordion");
e.parentNode.insertBefore(h,e);for(var l of g.entries())h.append(l[1]);g=document.querySelector(".start-accordion").textContent.split(" ");1==g.length&&(h.setAttribute("data-heading","h3"),h.setAttribute("data-open","false"));2==g.length&&(l=g[1].substring(0,g[1].length-1),h.setAttribute("data-heading",l),h.setAttribute("data-open","false"));3==g.length&&(l=g[1].substring(0,g[1].length),g=g[2].substring(0,g[2].length-1),g="open"==g||"true"==g?!0:!1,h.setAttribute("data-heading",l),h.setAttribute("data-open",
g));e.remove()});[...document.querySelectorAll(".accordion:not(.page-tabs)")].forEach(e=>{var h=e.getAttribute("data-heading");e=e.getElementsByTagName(h);for(const l of e){l.classList.add("accordion-header");e=document.createElement("div");e.setAttribute("class","accordion-collapse collapse");var g=nextUntil(l,h);wrapAll(g,e)}})}
function openAccordionOnLoad(){[...document.querySelectorAll(".accordion")].forEach(e=>{"true"==e.getAttribute("data-open")&&1!==e.children.length?e.querySelector(".accordion-button").click():1===e.children.length&&e.querySelector(".accordion-button").click();[...e.getElementsByTagName("p")].forEach(h=>{var g=h.closest(".accordion-collapse");if(g)var l=g.previousElementSibling.firstElementChild;"{openTab}"==h.textContent&&null!==l&&l.click();"{closeTab}"==h.textContent&&null!==l&&l.matches('[aria-expanded="true"]')&&
l.click()});(e=window.location.hash)&&(e=document.querySelector(e))&&e.classList.contains("accordion-header")&&e.firstElementChild.click()})}
function createNavtabsTitles(e){e=document.querySelectorAll(e);var h=[];[...e].forEach(g=>{var l=g.textContent.trim(),r=l=l.replace(/[^a-z0-9\s]/gi,"").replace(/[_\s]/g,"-").replace("--","-").toLowerCase();h.push(r);g.setAttribute("id",l+"-tab");g.classList.add("nav-link");g.setAttribute("data-bs-toggle","pill");g.setAttribute("data-bs-target","#"+r);g.setAttribute("aria-controls",r);g.setAttribute("type","button");g.setAttribute("role","tab")});createNavtabsContent(".navtabs:not(.page-tabs) .tab-pane",
h)}function createNavtabsContent(e,h){e=document.querySelectorAll(e);[...e].forEach((g,l)=>{g.setAttribute("role","tabpanel");g.setAttribute("aria-labelledby",h[l]+"-tab");g.setAttribute("id",h[l])})}
function wrapNavtabsItems(e){var h=e.querySelectorAll(".nav-link");if(h){var g=document.createElement("div"),l;g.setAttribute("class","nav nav-pills col-12 col-md-4");[...h].forEach(z=>{l=z.parentNode;g.append(z)});l.appendChild(g)}if(e=e.querySelectorAll(".tab-pane")){var r=document.createElement("div"),y;r.setAttribute("class","tab-content col-12 col-md-8");[...e].forEach(z=>{y=z.parentNode;r.append(z)});y.appendChild(r)}}
function setupNavtabs(e){generalNavtabs();if(e=document.querySelectorAll(".navtabs:not(.page-tabs)"))createNavtabsTitles(".navtabs:not(.page-tabs) .nav-link"),[...e].forEach((h,g)=>{h.setAttribute("data-tab",g);h.setAttribute("data-open","true");wrapNavtabsItems(h)});(e=document.querySelector(".page-tabs"))&&e.setAttribute("data-open","true");openNavtabOnLoad()}
function generalNavtabs(){var e=document.getElementsByTagName("p");e&&[...e].forEach(h=>{var g=h.textContent;g.includes("{beginNavtabs}")&&h.classList.add("start-navtabs");g.includes("{endNavtabs}")&&h.classList.add("end-navtabs");g.includes("{openTab}")&&h.classList.add("d-none")});(e=document.querySelectorAll(".start-navtabs"))&&[...e].forEach((h,g)=>{g=document.querySelector(".end-navtabs");var l=document.createElement("div");l.setAttribute("class","navtabs");var r=nextUntil(h,".end-navtabs");
h.parentNode.insertBefore(l,h);for(var y of r.entries())l.append(y[1]);r=document.querySelector(".start-navtabs").textContent.split(" ");1==r.length&&(l.setAttribute("data-heading","h3"),l.setAttribute("data-open","true"));2==r.length&&(y=r[1].substring(0,r[1].length-1),l.setAttribute("data-heading",y),l.setAttribute("data-open","true"));3==r.length&&(y=r[1].substring(0,r[1].length),r=r[2].substring(0,r[2].length-1),r="open"==r||"true"==r?!0:!1,l.setAttribute("data-heading",y),l.setAttribute("data-open",
r));h.remove();g.remove()});[...document.querySelectorAll(".navtabs:not(.page-tabs)")].forEach(h=>{var g=h.getAttribute("data-heading");h=h.getElementsByTagName(g);for(const r of h){r.classList.add("nav-link");h=document.createElement("div");h.setAttribute("class","tab-pane");var l=nextUntil(r,g);wrapAll(l,h)}})}
function openNavtabOnLoad(){var e=document.querySelectorAll(".navtabs");console.log("openTabs");[...e].forEach(h=>{"true"==h.getAttribute("data-open")&&1!==h.children.length?h.querySelector(".nav-link").click():1===h.children.length&&h.querySelector(".nav-link").click();[...h.getElementsByTagName("p")].forEach(g=>{var l=g.parentNode.getAttribute("id");"{openTab}"==g.textContent&&null!==l&&document.getElementById(l+"-tab").click()});(h=window.location.hash)&&(h=document.querySelector(h))&&h.classList.contains("nav-link")&&
h.click()})}function pollContent(e,h){var g=0,l=setInterval(function(){g+=1;var r=document.querySelector(e);if(null!==r&&"undefined"!==r||15<g)clearInterval(l),h(r)},500)}var getSiblings=function(e){return Array.prototype.filter.call(e.parentNode.children,function(h){return h!==e})},nextUntil=function(e,h,g){var l=[];for(e=e.nextElementSibling;e&&!e.matches(h);)g&&!e.matches(g)||l.push(e),e=e.nextElementSibling;return l};
function wrapAll(e,h){for(var g=e[0].parentNode,l=e[0].previousSibling,r=0;e.length-r;h.firstChild===e[0]&&r++)h.appendChild(e[r]);g.insertBefore(h,l.nextSibling);return h}const focusCANDIDATES="\na, button, input, select, textarea, svg, area, details, summary,\niframe, object, embed, \n[tabindex], [contenteditable]\n",trapFocus=(e,h=document)=>{[...h.querySelectorAll(focusCANDIDATES)].filter(g=>!e.contains(g)&&"-1"!==g.getAttribute("tabindex")).forEach(g=>g.setAttribute("tabindex","-1"))};
function closeOnEsc(e){document.addEventListener("keydown",function(h){"Escape"===h.key&&("function"==typeof e.close&&e.close(),"function"==typeof e.hide&&e.hide())})}function observeBodyClasses(e,h,g){var l=document.body,r=l.classList.contains(e);(new MutationObserver(function(y){y.forEach(function(z){"class"==z.attributeName&&(z=z.target.classList.contains(e),r!==z&&((r=z)?h():g()))})})).observe(l,{attributes:!0})}
function startGlightbox(){pollContent(".gslide.current",function(){var e=document.querySelector(".gslide.current");e&&trapFocus(e)})}function endFocus(){document.querySelectorAll(focusCANDIDATES).forEach(g=>g.removeAttribute("tabindex"));var e=document.querySelector(".share"),h=document.querySelectorAll(".modal");e&&document.querySelector(".share > a").setAttribute("tabindex","0");h&&[...h].forEach(g=>{g.setAttribute("tabindex","-1")})}
function responsiveVideos(){var e=document.querySelectorAll('iframe[src*="youtube"], iframe[src*="vimeo"]'),h=document.querySelector(".embed-responsive");e&&!h&&[...e].forEach(g=>{var l=document.createElement("div");l.setAttribute("class","fb-video_embed ratio ratio-16x9 embed-responsive embed-responsive-16by9");g.classList.add("embed-responsive-item");g.before(l);l.append(g)})}
function removeInlineStyles(e){"undefined"===typeof e&&(e={});"undefined"===typeof e.elements?e.elements="table,thead, tbody, tfoot, tr, td, th":e.elements=e.elements;"undefined"===typeof e.keeperStyles?e.keeperStyles=["text-align","font-weight"]:e.keeperStyles=e.keeperStyles;"undefined"===typeof e.thead?e.thead=!0:e.thead=e.thead;"undefined"===typeof e.firstRowTh?e.firstRowTh=!0:e.firstRowTh=e.firstRowTh;var h=document.querySelectorAll(e.elements);h&&([...h].forEach(g=>{var l=g.nodeName;if(0!=e.firstRowTh&&
("TBODY"==l||"THEAD"==l)){var r=g.querySelector("tr:first-child").querySelectorAll("td");r&&[...r].forEach(y=>{var z=y.innerHTML,O=document.createElement("th");O.innerHTML=z;y.parentNode.insertBefore(O,y);y.parentNode.removeChild(y)})}0!=e.thead&&"THEAD"==l&&(l=g.innerHTML,(r=g.parentNode.querySelector("tbody"))?r.insertAdjacentHTML("afterbegin",l):(r=document.createElement("tbody"),r.innerHTML=l,g.parentNode.insertBefore(r,g)),g.parentNode.removeChild(g))}),h=document.querySelectorAll(e.elements),
[...h].forEach(g=>{var l=g.getAttribute("style"),r=[];l&&(g.removeAttribute("style"),[...l.split(";")].forEach(y=>{y=y.replace(" ","").replace(",","");var z=y.split(":");e.keeperStyles.includes(z[0])&&r.push(y)}),r=r.join(";"),g.setAttribute("style",r))}))}
function productMoveToTabs(e,h){var g=h;void 0===g&&(g=!1);e&&[...e].forEach(l=>{var r=l.getAttribute("data-name");[...document.getElementsByTagName("p")].forEach(y=>{if(y.textContent.includes("{{ "+r+" }}"))if(!1===g)y.replaceWith(l);else{const z=l.cloneNode(!0);y.replaceWith(z)}})})}
function addCalcDisclaimer(e){e&&[...e].forEach(h=>{var g=document.createElement("p");g.setAttribute("class","disclaimer");g.classList.add("calc-disclaimer");g.innerHTML="Our calculators are for informational purposes only and are not intended to provide financial advice. All examples are hypothetical and for illustrative purposes. Although we have obtained content from sources deemed to be reliable, Kasasa and its affiliates are not responsible for any content provided by unaffiliated third parties. You may wish to consult an appropriate outside advisor about your financial situation.";h.append(g)})}
function addAOS(e){"undefined"===typeof e&&(e={});"undifined"===typeof e.animationType?e.animationType="fade-up":e.animationType=e.animationType;"undefined"===typeof e.elements?e.elements=".new-aos-element":e.elements=e.elements;"undefined"===typeof e.delay?e.delay="250":e.delay=e.delay;"undefined"===typeof e.duration?e.duration="500":e.duration=e.duration;"undefined"===typeof e.offset?e.offset="0":e.offset=e.offset;"undefined"===typeof e.anchor?e.anchor="":e.anchor=e.anchor;"undefined"===typeof e.easing?
e.easing="ease":e.easing=e.easing;"undefined"===typeof e.mirror?e.mirror="false":e.mirror=e.mirror;"undefined"===typeof e.once?e.once="false":e.once=e.once;"undefined"===typeof e.anchorPlacement?e.anchorPlacement="top-bottom":e.anchorPlacement=e.anchorPlacement;var h=document.querySelectorAll(e.elements);h&&[...h].forEach(g=>{var l=e.delay,r=e.duration,y=e.offset,z=e.anchor,O=e.easing,Ia=e.mirror,ua=e.once,va=e.anchorPlacement;g.setAttribute("data-aos",e.animationType);g.setAttribute("data-aos-delay",
l);g.setAttribute("data-aos-duration",r);g.setAttribute("data-aos-offset",y);g.setAttribute("data-aos-anchor",z);g.setAttribute("data-aos-easing",O);g.setAttribute("data-aos-mirror",Ia);g.setAttribute("data-aos-once",ua);g.setAttribute("data-aos-anchor-placement",va)})}function runAOS(){AOS.init({debounceDelay:1,delay:250,duration:500,easing:"ease",once:!1,mirror:!1})}
function fixSpecialCharacters(e){var h=setInterval(function(){var g=document.querySelectorAll(e);g&&(clearInterval(h),[...g].forEach(l=>{var r=l.innerHTML.replace(/&amp;reg;/g,"&reg;").replace(/&amp;trade;/g,"&trade;").replace(/\u00c3\u00a1/g,"\u00e1").replace(/\u00c3\u2030/g,"\u00c9").replace(/\u00c3\u00a9/g,"\u00e9").replace(/\u00c3\u2018/g,"\u00d1").replace(/\u00c3\u00b1/g,"\u00f1").replace(/&amp;ntilde;/g,"\u00f1").replace(/\u00c3\u201c/g,"\u00d3").replace(/\u00c3\u00b3/g,"\u00f3").replace(/\u00c3\u0161/g,
"\u00da").replace(/\u00c3\u00ba/g,"\u00fa").replace(/\u00c3\u0153/g,"\u00dc").replace(/\u00c3\u00bc/g,"\u00fc").replace(/\u00c2\u00ab/g,"\u00ab").replace(/\u00c2\u00bb/g,"\u00bb").replace(/\u00c2\u00bf/g,"\u00bf").replace(/\u00c2\u00a1/g,"\u00a1").replace(/&amp;#243;/g,"\u00f3").replace(/&amp;#237;/g,"\u00ed").replace(/\u00c3\u00ad/g,"\u00ed").replace(/&amp;ntilde;/g,"&ntilde;").replace(/&amp;eacute;/g,"&eacute;");l.innerHTML=r}))},1E3)}
function dynamicDate(e){var h=e.textContent;[...document.getElementsByTagName("p")].forEach(g=>{var l=g.innerHTML;l.includes("{{ dynamic-date }}")&&(g.innerHTML=l.replace("{{ dynamic-date }}",h))})}
window.addEventListener("DOMContentLoaded",()=>{confirmAlert("a.confirm",alertText);confirmAlert("a.warn",warnText);confirmAlert("a.emailConfirm",emailText);var e=document.getElementById("main");e&&(e.setAttribute("tabindex","-1"),e.setAttribute("role","main"),(e=e.getElementsByTagName("table"))&&[...e].forEach(h=>h.classList.add("table")));popupify();setupTables();(e=document.querySelectorAll(".modal"))&&[...e].forEach(h=>{h.setAttribute("tabindex","-1")});(e=document.getElementById("searchPopup"))&&
e.addEventListener("shown.bs.modal",function(h){document.querySelector("#searchPopup input[name=search]").focus()});responsiveVideos();document.querySelector(".froisearch")&&fixSpecialCharacters("#froisearch-results li")});var FEDApp=FEDApp||{},fiName=siteSettings.name;
window.addEventListener("DOMContentLoaded",()=>{console.log("updated ncua");complianceLogos.allColors="#000";complianceLogos.ncuaUseText=!0;complianceLogos.ncuaTarget="ncua";complianceLogos.buildAll();confirmAlert(".compliance a.confirm",alertText);confirmAlert(".compliance a.warn",warnText);FEDApp.previewMode||(clickableContainer(".featured-content, .content-item, .column-promo"),runAOS());setupMenu({behave:"click",wrapperEl:"div:not(#mobileMenu) .primaryNav",navEl:"div:not(#mobileMenu) .primaryNav > li > a"});
setupMobileMenu({include:[".ultratopNav",".primaryNav"]});setupAccordions();setupNavtabs();document.getElementById("routing-number")&&(cssRoutingNumber.routingNumber="264080853",cssRoutingNumber.borderColor="#002554",cssRoutingNumber.backgroundColor="#fff",cssRoutingNumber.buildCheck());document.querySelector(".business.comparison-chart")&&setupComparisonChart({selector:".comparison-chart.business",rewards:!0,headlineRowLabel:"Best For",accountRowLabel:"Account",sectionHeading:"h3",useIcons:!0});
document.querySelector(".personal.comparison-chart")&&setupComparisonChart({selector:".comparison-chart.personal",rewards:!0,headlineRowLabel:"Best For",accountRowLabel:"Account",sectionHeading:"h3",useIcons:!0});document.querySelector(".kasasa-comparison-chart")&&setupComparisonChart({selector:".kasasa-comparison-chart",rewards:!1,headlineRowLabel:"Best For",accountRowLabel:"",sectionHeading:"h3",useIcons:!0});if(document.querySelector(".other-links")){var e=document.querySelector(".ratesLink"),
h=document.querySelector(".calcLink");e&&document.querySelector(".other-links").prepend(e);h&&(h.setAttribute("href",h.getAttribute("href")+"?question=false&learnmore=false"),document.querySelector(".other-links").prepend(h))}if(document.querySelector(".froisearch"))var g=setInterval(function(){var y=document.querySelectorAll("#froisearch-results li");y&&(clearInterval(g),[...y].forEach(z=>{var O=z.innerHTML.replace(/&amp;reg;/g,"&reg;").replace(/&amp;trade;/g,"&trade;");z.innerHTML=O}))},500);(e=
document.querySelector(".product-intro"))&&(e.querySelector(".desc").querySelector("*:not(.top-cta)")?e.classList.add("has-desc"):e.classList.add("no-desc"));(e=document.querySelectorAll(".rates-holder .rate"))&&productMoveToTabs(e);if(e=document.querySelectorAll(".calcs-holder .calc-wrap"))addCalcDisclaimer(e),productMoveToTabs(e);(e=document.querySelectorAll(".product-video"))&&productMoveToTabs(e);document.querySelector(".rate table")&&removeInlineStyles();if(window.matchMedia("(min-width: 768px)").matches)var l=
new GLightbox({selector:".questions > a, .tellmemore, a.requestInfo",skin:"no-bg questionsPopup",height:"650px",width:"400px",keyboardNavigation:!1,touchNavigation:!1,draggable:!1,preload:!1,onOpen:()=>{closeOnEsc(l)}}),r=new GLightbox({selector:".calcPopup",skin:"no-bg calculatorPopup",height:"635px",width:"768px",preload:!1,draggable:!1,touchNavigation:!1,keyboardNavigation:!1,onOpen:()=>{closeOnEsc(r)}});document.querySelector(".share")&&"undefined"!==typeof setupSharePopup&&setupSharePopup({trigger:".share",
appended:".share"});e=document.querySelector(".nav-promos");!FEDApp.previewMode&&e&&["personal","business","services-and-tools","about-us"].forEach(y=>{var z="."+y;y=document.querySelector(".nav-promos > div"+z);(z=document.querySelector(".primaryNavWrapper .primaryNav > li"+z+" > ul"))&&z.append(y)});FEDApp.previewMode&&(document.body.classList.add("editmode"),e=document.createElement("link"),e.setAttribute("rel","stylesheet"),e.href="/custom/"+siteSettings.customFolder+"/css/editmode.css",document.head.appendChild(e),
[...document.querySelectorAll(".primaryNav > li.dropdown")].forEach(y=>{y.firstElementChild.href="#"}),e=document.querySelector(".nav-promos"))&&(e=document.querySelector(".nav-promos > div"),document.querySelector(".primaryNavWrapper .primaryNav > li.personal > ul").append(e))});
window.addEventListener("load",function(){var e=document.querySelector(".print");e&&e.addEventListener("click",()=>{window.print()});document.getElementById("map")&&(fedMaps.locListSelector=".loc",fedMaps.setupLocationsPage(),(e=document.querySelector(".findBranch input[type=text]"))&&e.classList.add("form-control"));FEDApp.previewMode||window.parent!=window.top||observeBodyClasses("glightbox-open",startGlightbox,endFocus)});
window.addEventListener("hashchange",function(){var e=window.location.hash;e&&((e=document.querySelector(e))&&e.classList.contains("accordion-header")?e.firstElementChild.click():e&&e.classList.contains("nav-link")&&e.click())});
function productMoveToTabs(e,h){var g=h;void 0===g&&(g=!1);e&&[...e].forEach(l=>{var r=l.getAttribute("data-name");[...document.getElementsByTagName("p")].forEach(y=>{if(y.textContent.includes("{{ "+r+" }}"))if(!1===g)y.replaceWith(l);else{const z=l.cloneNode(!0);y.replaceWith(z)}})})};
