1(()=>{var As=Object.defineProperty;var bs=(n,t)=>{for(var e in t)As(n,e,{get:t[e],enumerable:!0})};var Hn={};bs(Hn,{afterMain:()=>xi,afterRead:()=>Ni,afterWrite:()=>Mi,applyStyles:()=>Me,arrow:()=>Dn,auto:()=>Ze,basePlacements:()=>Ht,beforeMain:()=>Li,beforeRead:()=>Oi,beforeWrite:()=>Ii,bottom:()=>U,clippingParents:()=>ho,computeStyles:()=>$e,createPopper:()=>ln,createPopperBase:()=>Ui,createPopperLite:()=>ji,detectOverflow:()=>ot,end:()=>Gt,eventListeners:()=>ke,flip:()=>Mn,hide:()=>Pn,left:()=>H,main:()=>Di,modifierPhases:()=>go,offset:()=>$n,placements:()=>tn,popper:()=>ce,popperGenerator:()=>ge,popperOffsets:()=>Ve,preventOverflow:()=>kn,read:()=>Ci,reference:()=>_o,right:()=>V,start:()=>Ot,top:()=>P,variationPlacements:()=>Ln,viewport:()=>Je,write:()=>Ri});var P="top",U="bottom",V="right",H="left",Ze="auto",Ht=[P,U,V,H],Ot="start",Gt="end",ho="clippingParents",Je="viewport",ce="popper",_o="reference",Ln=Ht.reduce(function(n,t){return n.concat([t+"-"+Ot,t+"-"+Gt])},[]),tn=[].concat(Ht,[Ze]).reduce(function(n,t){return n.concat([t,t+"-"+Ot,t+"-"+Gt])},[]),Oi="beforeRead",Ci="read",Ni="afterRead",Li="beforeMain",Di="main",xi="afterMain",Ii="beforeWrite",Ri="write",Mi="afterWrite",go=[Oi,Ci,Ni,Li,Di,xi,Ii,Ri,Mi];function K(n){return n?(n.nodeName||"").toLowerCase():null}function M(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function mt(n){var t=M(n).Element;return n instanceof t||n instanceof Element}function G(n){var t=M(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Re(n){if(typeof ShadowRoot=="undefined")return!1;var t=M(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function ys(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];
vendor: 4,388 bytes, line 1
1!G(r)||!K(r)||(Object.assign(r.style,o),Object.keys(i).forEach(function(a){var l=i[a];l===!1?r.removeAttribute(a):r.setAttribute(a,l===!0?"":l)}))})}function ws(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],r=t.attributes[o]||{},a=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:e[o]),l=a.reduce(function(c,p){return c[p]="",c},{});!G(i)||!K(i)||(Object.assign(i.style,l),Object.keys(r).forEach(function(c){i.removeAttribute(c)}))})}}var Me={name:"applyStyles",enabled:!0,phase:"write",fn:ys,effect:ws,requires:["computeStyles"]};function q(n){return n.split("-")[0]}var yt=Math.max,ue=Math.min,Ft=Math.round;function Pe(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function en(){return!/^((?!chrome|android).)*safari/i.test(Pe())}function ht(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var o=n.getBoundingClientRect(),i=1,r=1;t&&G(n)&&(i=n.offsetWidth>0&&Ft(o.width)/n.offsetWidth||1,r=n.offsetHeight>0&&Ft(o.height)/n.offsetHeight||1);var a=mt(n)?M(n):window,l=a.visualViewport,c=!en()&&e,p=(o.left+(c&&l?l.offsetLeft:0))/i,u=(o.top+(c&&l?l.offsetTop:0))/r,T=o.width/i,A=o.height/r;return{width:T,height:A,top:u,right:p+T,bottom:u+A,left:p,x:p,y:u}}function fe(n){var t=ht(n),e=n.offsetWidth,o=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:o}}function nn(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&Re(e)){var o=t;do{if(o&&n.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function nt(n){return M(n).getComputedStyle(n)}function Eo(n){return["table","td","th"].indexOf(K(n))>=0}function Q(n){return((mt(n)?n.ownerDocument:n.document)||window.document).documentElement}function Vt(n){return K(n)==="html"?n:n.assignedSlot||n.parentNode||(Re(n)?n.host:null)||Q(n)}function Pi(n){return!G(n)||nt(n).position==="fixed"?null:n.offsetParent}function Ss(n){var t=/firefox/i.test(Pe()),e=/Trident/i.test(Pe());if(e&&G(n)){var o=nt(n);if(o.position==="fixed")return null}var i=Vt(n);for(Re(i)&&(i=i.host);G(i)&&["html","body"].indexOf(K(i))<0;){var r=nt(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function wt(n){for(var t=M(n),e=Pi(n);e&&Eo(e)&&nt(e).position==="static";)e=Pi(e);return e&&(K(e)==="html"||K(e)==="body"&&nt(e).position==="static")?t:e||Ss(n)||t}function de(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function pe(n,t,e){return yt(n,ue(t,e))}function $i(n,t,e){var o=pe(n,t,e);return o>e?e:o}function on(){return{top:0,right:0,bottom:0,left:0}}function rn(n){return Object.assign({},on(),n)}function sn(n,t){return t.reduce(function(e,o){return e[o]=n,e},{})}var Os=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,rn(typeof t!="number"?t:sn(t,Ht))};function Cs(n){var t,e=n.state,o=n.name,i=n.options,r=e.elements.arrow,a=e.modifiersData.popperOffsets,l=q(e.placement),c=de(l),p=[H,V].indexOf(l)>=0,u=p?"height":"width";if(!(!r||!a)){var T=Os(i.padding,e),A=fe(r),h=c==="y"?P:H,y=c==="y"?U:V,g=e.rects.reference[u]+e.rects.reference[c]-a[c]-e.rects.popper[u],b=a[c]-e.rects.reference[c],S=wt(r),D=S?c==="y"?S.clientHeight||0:S.clientWidth||0:0,x=g/2-b/2,v=T[h],O=D-A[u]-T[y],C=D/2-A[u]/2+x,I=pe(v,C,O),j=c;e.modifiersData[o]=(t={},t[j]=I,t.centerOffset=I-C,t)}}function Ns(n){var t=n.state,e=n.options,o=e.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||nn(t.elements.popper,i)&&(t.elements.arrow=i))}var Dn={name:"arrow",enabled:!0,phase:"main",fn:Cs,effect:Ns,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function _t(n){return n.split("-")[1]}var Ls={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ds(n,t){var e=n.x,o=n.y,i=t.devicePixelRatio||1;return{x:Ft(e*i)/i||0,y:Ft(o*i)/i||0}}
vendor: 2,908 bytes, line 1
1function ki(n){var t,e=n.popper,o=n.popperRect,i=n.placement,r=n.variation,a=n.offsets,l=n.position,c=n.gpuAcceleration,p=n.adaptive,u=n.roundOffsets,T=n.isFixed,A=a.x,h=A===void 0?0:A,y=a.y,g=y===void 0?0:y,b=typeof u=="function"?u({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var S=a.hasOwnProperty("x"),D=a.hasOwnProperty("y"),x=H,v=P,O=window;if(p){var C=wt(e),I="clientHeight",j="clientWidth";if(C===M(e)&&(C=Q(e),nt(C).position!=="static"&&l==="absolute"&&(I="scrollHeight",j="scrollWidth")),C=C,i===P||(i===H||i===V)&&r===Gt){v=U;var W=T&&C===O&&O.visualViewport?O.visualViewport.height:C[I];g-=W-o.height,g*=c?1:-1}if(i===H||(i===P||i===U)&&r===Gt){x=V;var F=T&&C===O&&O.visualViewport?O.visualViewport.width:C[j];h-=F-o.width,h*=c?1:-1}}var N=Object.assign({position:l},p&&Ls),tt=u===!0?Ds({x:h,y:g},M(e)):{x:h,y:g};if(h=tt.x,g=tt.y,c){var Y;return Object.assign({},N,(Y={},Y[v]=D?"0":"",Y[x]=S?"0":"",Y.transform=(O.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",Y))}return Object.assign({},N,(t={},t[v]=D?g+"px":"",t[x]=S?h+"px":"",t.transform="",t))}function xs(n){var t=n.state,e=n.options,o=e.gpuAcceleration,i=o===void 0?!0:o,r=e.adaptive,a=r===void 0?!0:r,l=e.roundOffsets,c=l===void 0?!0:l,p={placement:q(t.placement),variation:_t(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ki(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ki(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var $e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:xs,data:{}};var xn={passive:!0};function Is(n){var t=n.state,e=n.instance,o=n.options,i=o.scroll,r=i===void 0?!0:i,a=o.resize,l=a===void 0?!0:a,c=M(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&p.forEach(function(u){u.addEventListener("scroll",e.update,xn)}),l&&c.addEventListener("resize",e.update,xn),function(){r&&p.forEach(function(u){u.removeEventListener("scroll",e.update,xn)}),l&&c.removeEventListener("resize",e.update,xn)}}var ke={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Is,data:{}};var Rs={left:"right",right:"left",bottom:"top",top:"bottom"};function He(n){return n.replace(/left|right|bottom|top/g,function(t){return Rs[t]})}var Ms={start:"end",end:"start"};function In(n){return n.replace(/start|end/g,function(t){return Ms[t]})}function me(n){var t=M(n),e=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:e,scrollTop:o}}function he(n){return ht(Q(n)).left+me(n).scrollLeft}
vendor: 2,972 bytes, line 1
1function vo(n,t){var e=M(n),o=Q(n),i=e.visualViewport,r=o.clientWidth,a=o.clientHeight,l=0,c=0;if(i){r=i.width,a=i.height;var p=en();(p||!p&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:a,x:l+he(n),y:c}}function To(n){var t,e=Q(n),o=me(n),i=(t=n.ownerDocument)==null?void 0:t.body,r=yt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=yt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-o.scrollLeft+he(n),c=-o.scrollTop;return nt(i||e).direction==="rtl"&&(l+=yt(e.clientWidth,i?i.clientWidth:0)-r),{width:r,height:a,x:l,y:c}}function _e(n){var t=nt(n),e=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+o)}function Rn(n){return["html","body","#document"].indexOf(K(n))>=0?n.ownerDocument.body:G(n)&&_e(n)?n:Rn(Vt(n))}function Kt(n,t){var e;t===void 0&&(t=[]);var o=Rn(n),i=o===((e=n.ownerDocument)==null?void 0:e.body),r=M(o),a=i?[r].concat(r.visualViewport||[],_e(o)?o:[]):o,l=t.concat(a);return i?l:l.concat(Kt(Vt(a)))}function Fe(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Ps(n,t){var e=ht(n,!1,t==="fixed");return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}function Hi(n,t,e){return t===Je?Fe(vo(n,e)):mt(t)?Ps(t,e):Fe(To(Q(n)))}function $s(n){var t=Kt(Vt(n)),e=["absolute","fixed"].indexOf(nt(n).position)>=0,o=e&&G(n)?wt(n):n;return mt(o)?t.filter(function(i){return mt(i)&&nn(i,o)&&K(i)!=="body"}):[]}function Ao(n,t,e,o){var i=t==="clippingParents"?$s(n):[].concat(t),r=[].concat(i,[e]),a=r[0],l=r.reduce(function(c,p){var u=Hi(n,p,o);return c.top=yt(u.top,c.top),c.right=ue(u.right,c.right),c.bottom=ue(u.bottom,c.bottom),c.left=yt(u.left,c.left),c},Hi(n,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function an(n){var t=n.reference,e=n.element,o=n.placement,i=o?q(o):null,r=o?_t(o):null,a=t.x+t.width/2-e.width/2,l=t.y+t.height/2-e.height/2,c;switch(i){case P:c={x:a,y:t.y-e.height};break;case U:c={x:a,y:t.y+t.height};break;case V:c={x:t.x+t.width,y:l};break;case H:c={x:t.x-e.width,y:l};break;default:c={x:t.x,y:t.y}}var p=i?de(i):null;if(p!=null){var u=p==="y"?"height":"width";switch(r){case Ot:c[p]=c[p]-(t[u]/2-e[u]/2);break;case Gt:c[p]=c[p]+(t[u]/2-e[u]/2);break;default:}}return c}function ot(n,t){t===void 0&&(t={});var e=t,o=e.placement,i=o===void 0?n.placement:o,r=e.strategy,a=r===void 0?n.strategy:r,l=e.boundary,c=l===void 0?ho:l,p=e.rootBoundary,u=p===void 0?Je:p,T=e.elementContext,A=T===void 0?ce:T,h=e.altBoundary,y=h===void 0?!1:h,g=e.padding,b=g===void 0?0:g,S=rn(typeof b!="number"?b:sn(b,Ht)),D=A===ce?_o:ce,x=n.rects.popper,v=n.elements[y?D:A],O=Ao(mt(v)?v:v.contextElement||Q(n.elements.popper),c,u,a),C=ht(n.elements.reference),I=an({reference:C,element:x,strategy:"absolute",placement:i}),j=Fe(Object.assign({}
vendor: 4,796 bytes, line 1
1,x,I)),W=A===ce?j:C,F={top:O.top-W.top+S.top,bottom:W.bottom-O.bottom+S.bottom,left:O.left-W.left+S.left,right:W.right-O.right+S.right},N=n.modifiersData.offset;if(A===ce&&N){var tt=N[i];Object.keys(F).forEach(function(Y){var At=[V,U].indexOf(Y)>=0?1:-1,Nt=[P,U].indexOf(Y)>=0?"y":"x";F[Y]+=tt[Nt]*At})}return F}function bo(n,t){t===void 0&&(t={});var e=t,o=e.placement,i=e.boundary,r=e.rootBoundary,a=e.padding,l=e.flipVariations,c=e.allowedAutoPlacements,p=c===void 0?tn:c,u=_t(o),T=u?l?Ln:Ln.filter(function(y){return _t(y)===u}):Ht,A=T.filter(function(y){return p.indexOf(y)>=0});A.length===0&&(A=T);var h=A.reduce(function(y,g){return y[g]=ot(n,{placement:g,boundary:i,rootBoundary:r,padding:a})[q(g)],y},{});return Object.keys(h).sort(function(y,g){return h[y]-h[g]})}function ks(n){if(q(n)===Ze)return[];var t=He(n);return[In(n),t,In(t)]}function Hs(n){var t=n.state,e=n.options,o=n.name;if(!t.modifiersData[o]._skip){for(var i=e.mainAxis,r=i===void 0?!0:i,a=e.altAxis,l=a===void 0?!0:a,c=e.fallbackPlacements,p=e.padding,u=e.boundary,T=e.rootBoundary,A=e.altBoundary,h=e.flipVariations,y=h===void 0?!0:h,g=e.allowedAutoPlacements,b=t.options.placement,S=q(b),D=S===b,x=c||(D||!y?[He(b)]:ks(b)),v=[b].concat(x).reduce(function(Dt,L){return Dt.concat(q(L)===Ze?bo(t,{placement:L,boundary:u,rootBoundary:T,padding:p,flipVariations:y,allowedAutoPlacements:g}):L)},[]),O=t.rects.reference,C=t.rects.popper,I=new Map,j=!0,W=v[0],F=0;F<v.length;F++){var N=v[F],tt=q(N),Y=_t(N)===Ot,At=[P,U].indexOf(tt)>=0,Nt=At?"width":"height",et=ot(t,{placement:N,boundary:u,rootBoundary:T,altBoundary:A,padding:p}),ct=At?Y?V:H:Y?U:P;O[Nt]>C[Nt]&&(ct=He(ct));var ie=He(ct),Lt=[];if(r&&Lt.push(et[tt]<=0),l&&Lt.push(et[ct]<=0,et[ie]<=0),Lt.every(function(Dt){return Dt})){W=N,j=!1;break}I.set(N,Lt)}if(j)for(var re=y?3:1,$=function(L){var bt=v.find(function(xt){var Z=I.get(xt);if(Z)return Z.slice(0,L).every(function(ye){return ye})});if(bt)return W=bt,"break"},jt=re;jt>0;jt--){var k=$(jt);if(k==="break")break}t.placement!==W&&(t.modifiersData[o]._skip=!0,t.placement=W,t.reset=!0)}}var Mn={name:"flip",enabled:!0,phase:"main",fn:Hs,requiresIfExists:["offset"],data:{_skip:!1}};function Fi(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function Vi(n){return[P,V,U,H].some(function(t){return n[t]>=0})}function Fs(n){var t=n.state,e=n.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,a=ot(t,{elementContext:"reference"}),l=ot(t,{altBoundary:!0}),c=Fi(a,o),p=Fi(l,i,r),u=Vi(c),T=Vi(p);t.modifiersData[e]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:T},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":T})}var Pn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fs};function Vs(n,t,e){var o=q(n),i=[H,P].indexOf(o)>=0?-1:1,r=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,a=r[0],l=r[1];return a=a||0,l=(l||0)*i,[H,V].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}function Ws(n){var t=n.state,e=n.options,o=n.name,i=e.offset,r=i===void 0?[0,0]:i,a=tn.reduce(function(u,T){return u[T]=Vs(T,t.rects,r),u},{}),l=a[t.placement],c=l.x,p=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=a}var $n={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ws};function Bs(n){var t=n.state,e=n.name;t.modifiersData[e]=an({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ve={name:"popperOffsets",enabled:!0,phase:"read",fn:Bs,data:{}};function yo(n){return n==="x"?"y":"x"}function Us(n){var t=n.state,e=n.options,o=n.name,i=e.mainAxis,r=i===void 0?!0:i,a=e.altAxis,l=a===void 0?!1:a,c=e.boundary,p=e.rootBoundary,u=e.altBoundary,T=e.padding,A=e.tether,h=A===void 0?!0:A,y=e.tetherOffset,g=y===void 0?0:y,b=ot(t,{boundary:c,rootBoundary:p,padding:T,altBoundary:u}),S=q(t.placement),D=_t(t.placement),x=!D,v=de(S),O=yo(v),C=t.modifiersData.popperOffsets,I=t.rects.reference,j=t.rects.popper,W=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,F=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,tt={x:0,y:0};if(C){if(r){var Y,At=v==="y"?P:H,Nt=v==="y"?U:V,et=v==="y"?"height":"width",ct=C[v],ie=ct+b[At],Lt=ct-b[Nt],re=h?-j[et]/2:0,$=D===Ot?I[et]:j[et],jt=D===Ot?-j[et]:-I[et],k=t.elements.arrow,Dt=h&&k?fe(k):{width:0,height:0},L=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:on(),bt=L[At],xt=L[Nt],Z=pe(0,I[et],Dt[et]),ye=x?I[et]/2-re-Z-bt-F.mainAxis:$-Z-bt
vendor: 27,742 bytes, line 1
1-F.mainAxis,qe=x?-I[et]/2+re+Z+xt+F.mainAxis:jt+Z+xt+F.mainAxis,we=t.elements.arrow&&wt(t.elements.arrow),yn=we?v==="y"?we.clientTop||0:we.clientLeft||0:0,It=(Y=N==null?void 0:N[v])!=null?Y:0,Se=ct+ye-It-yn,Rt=ct+qe-It,Oe=pe(h?ue(ie,Se):ie,ct,h?yt(Lt,Rt):Lt);C[v]=Oe,tt[v]=Oe-ct}if(l){var Ce,Yt=v==="x"?P:H,Ne=v==="x"?U:V,pt=C[O],se=O==="y"?"height":"width",Xe=pt+b[Yt],wn=pt-b[Ne],ae=[P,H].indexOf(S)!==-1,zt=(Ce=N==null?void 0:N[O])!=null?Ce:0,Mt=ae?Xe:pt-I[se]-j[se]-zt+F.altAxis,ut=ae?pt+I[se]+j[se]-zt-F.altAxis:wn,Le=h&&ae?$i(Mt,pt,ut):pe(h?Mt:Xe,pt,h?ut:wn);C[O]=Le,tt[O]=Le-pt}t.modifiersData[o]=tt}}var kn={name:"preventOverflow",enabled:!0,phase:"main",fn:Us,requiresIfExists:["offset"]};function wo(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function So(n){return n===M(n)||!G(n)?me(n):wo(n)}function js(n){var t=n.getBoundingClientRect(),e=Ft(t.width)/n.offsetWidth||1,o=Ft(t.height)/n.offsetHeight||1;return e!==1||o!==1}function Oo(n,t,e){e===void 0&&(e=!1);var o=G(t),i=G(t)&&js(t),r=Q(t),a=ht(n,i,e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!e)&&((K(t)!=="body"||_e(r))&&(l=So(t)),G(t)?(c=ht(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=he(r))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ys(n){var t=new Map,e=new Set,o=[];n.forEach(function(r){t.set(r.name,r)});function i(r){e.add(r.name);var a=[].concat(r.requires||[],r.requiresIfExists||[]);a.forEach(function(l){if(!e.has(l)){var c=t.get(l);c&&i(c)}}),o.push(r)}return n.forEach(function(r){e.has(r.name)||i(r)}),o}function Co(n){var t=Ys(n);return go.reduce(function(e,o){return e.concat(t.filter(function(i){return i.phase===o}))},[])}function No(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function Lo(n){var t=n.reduce(function(e,o){var i=e[o.name];return e[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,e},{});return Object.keys(t).map(function(e){return t[e]})}var Wi={placement:"bottom",modifiers:[],strategy:"absolute"};function Bi(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function ge(n){n===void 0&&(n={});var t=n,e=t.defaultModifiers,o=e===void 0?[]:e,i=t.defaultOptions,r=i===void 0?Wi:i;return function(l,c,p){p===void 0&&(p=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wi,r),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},T=[],A=!1,h={state:u,setOptions:function(S){var D=typeof S=="function"?S(u.options):S;g(),u.options=Object.assign({},r,u.options,D),u.scrollParents={reference:mt(l)?Kt(l):l.contextElement?Kt(l.contextElement):[],popper:Kt(c)};var x=Co(Lo([].concat(o,u.options.modifiers)));return u.orderedModifiers=x.filter(function(v){return v.enabled}),y(),h.update()},forceUpdate:function(){if(!A){var S=u.elements,D=S.reference,x=S.popper;if(Bi(D,x)){u.rects={reference:Oo(D,wt(x),u.options.strategy==="fixed"),popper:fe(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(F){return u.modifiersData[F.name]=Object.assign({},F.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var O=u.orderedModifiers[v],C=O.fn,I=O.options,j=I===void 0?{}:I,W=O.name;typeof C=="function"&&(u=C({state:u,options:j,name:W,instance:h})||u)}}}},update:No(function(){return new Promise(function(b){h.forceUpdate(),b(u)})}),destroy:function(){g(),A=!0}};if(!Bi(l,c))return h;h.setOptions(p).then(function(b){!A&&p.onFirstUpdate&&p.onFirstUpdate(b)});function y(){u.orderedModifiers.forEach(function(b){var S=b.name,D=b.options,x=D===void 0?{}:D,v=b.effect;if(typeof v=="function"){var O=v({state:u,name:S,instance:h,options:x}),C=function(){};T.push(O||C)}})}function g(){T.forEach(function(b){return b()}),T=[]}return h}}var Ui=ge();var zs=[ke,Ve,$e,Me],ji=ge({defaultModifiers:zs});var Gs=[ke,Ve,$e,Me,$n,Mn,kn,Dn,Pn],ln=ge({defaultModifiers:Gs});var qt=new Map,Do={set(n,t,e){qt.has(n)||qt.set(n,new Map);let o=qt.get(n);if(!o.has(t)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(t,e)},get(n,t){return qt.has(n)&&qt.get(n).get(t)||null},remove(n,t){if(!qt.has(n))return;let e=qt.get(n);e.delete(t),e.size===0&&qt.delete(n)}},Ks=1e6,qs=1e3,zo="transitionend",vr=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),Xs=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),Qs=n=>{do n+=Math.floor(Math.random()*Ks);while(document.getElementById(n));return n},Zs=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n),o=Number.parseFloat(t),i=Number.parseFloat(e);return!o&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*qs)},Tr=n=>{n.dispatchEvent(new Event(zo))},Wt=n=>!n||typeof n!="object"?!1:(typeof n.jquery!="undefined"&&(n=n[0]),typeof n.nodeType!="undefined"),Xt=n=>Wt(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(vr(n)):null,Ge=n=>{if(!Wt(n)||n.getClientRects().length===0)return!1;let t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){let o=n.closest("summary");if(o&&o.parentNode!==e||o===null)return!1}return t},Qt=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled!="undefined"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Ar=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){let t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Ar(n.parentNode):null},Gn=()=>{},hn=n=>{n.offsetHeight},br=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,xo=[],Js=n=>{document.readyState==="loading"?(xo.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of xo)t()}),xo.push(n)):n()},gt=()=>document.documentElement.dir==="rtl",vt=n=>{Js(()=>{let t=br();if(t){let e=n.NAME,o=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=o,n.jQueryInterface)}})},lt=(n,t=[],e=n)=>typeof n=="function"?n.call(...t):e,yr=(n,t,e=!0)=>{if(!e){lt(n);return}let i=Zs(t)+5,r=!1,a=({target:l})=>{l===t&&(r=!0,t.removeEventListener(zo,a),lt(n))};t.addEventListener(zo,a),setTimeout(()=>{r||Tr(t)},i)},Xo=(n,t,e,o)=>{let i=n.length,r=n.indexOf(t);return r===-1?!e&&o?n[i-1]:n[0]:(r+=e?1:-1,o&&(r=(r+i)%i),n[Math.max(0,Math.min(r,i-1))])},ta=/[^.]*(?=\..*)\.|.*/,ea=/\..*/,na=/::\d+$/,Io={},Yi=1,wr={mouseenter:"mouseover",mouseleave:"mouseout"},oa=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Sr(n,t){return t&&`${t}::${Yi++}`||n.uidEvent||Yi++}function Or(n){let t=Sr(n);return n.uidEvent=t,Io[t]=Io[t]||{},Io[t]}function ia(n,t){return function e(o){return Qo(o,{delegateTarget:n}),e.oneOff&&f.off(n,o.type,t),t.apply(n,[o])}}function ra(n,t,e){return function o(i){let r=n.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(let l of r)if(l===a)return Qo(i,{delegateTarget:a}),o.oneOff&&f.off(n,i.type,t,e),e.apply(a,[i])}}function Cr(n,t,e=null){return Object.values(n).find(o=>o.callable===t&&o.delegationSelector===e)}function Nr(n,t,e){let o=typeof t=="string",i=o?e:t||e,r=Lr(n);return oa.has(r)||(r=n),[o,i,r]}function zi(n,t,e,o,i){if(typeof t!="string"||!n)return;let[r,a,l]=Nr(t,e,o);t in wr&&(a=(y=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return y.call(this,g)})(a));let c=Or(n),p=c[l]||(c[l]={}),u=Cr(p,a,r?e:null);if(u){u.oneOff=u.oneOff&&i;return}let T=Sr(a,t.replace(ta,"")),A=r?ra(n,e,a):ia(n,a);A.delegationSelector=r?e:null,A.callable=a,A.oneOff=i,A.uidEvent=T,p[T]=A,n.addEventListener(l,A,r)}function Go(n,t,e,o,i){let r=Cr(t[e],o,i);r&&(n.removeEventListener(e,r,!!i),delete t[e][r.uidEvent])}function sa(n,t,e,o){let i=t[e]||{};for(let[r,a]of Object.entries(i))r.includes(o)&&Go(n,t,e,a.callable,a.delegationSelector)}function Lr(n){return n=n.replace(ea,""),wr[n]||n}var f={on(n,t,e,o){zi(n,t,e,o,!1)},one(n,t,e,o){zi(n,t,e,o,!0)},off(n,t,e,o){if(typeof t!="string"||!n)return;let[i,r,a]=Nr(t,e,o),l=a!==t,c=Or(n),p=c[a]||{},u=t.startsWith(".");if(typeof r!="undefined"){if(!Object.keys(p).length)return;Go(n,c,a,r,i?e:null);return}if(u)for(let T of Object.keys(c))sa(n,c,T,t.slice(1));for(let[T,A]of Object.entries(p)){let h=T.replace(na,"");(!l||t.includes(h))&&Go(n,c,a,A.callable,A.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;let o=br(),i=Lr(t),r=t!==i,a=null,l=!0,c=!0,p=!1;r&&o&&(a=o.Event(t,e),o(n).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),p=a.isDefaultPrevented());let u=Qo(new Event(t,{bubbles:l,cancelable:!0}),e);return p&&u.preventDefault(),c&&n.dispatchEvent(u),u.defaultPrevented&&a&&a.preventDefault(),u}};function Qo(n,t={}){for(let[e,o]of Object.entries(t))try{n[e]=o}catch{Object.defineProperty(n,e,{configurable:!0,get(){return o}})}return n}function Gi(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Ro(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var Bt={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${Ro(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${Ro(t)}`)},getDataAttributes(n){if(!n)return{};let t={},e=Object.keys(n.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(let o of e){let i=o.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),t[i]=Gi(n.dataset[o])}return t},getDataAttribute(n,t){return Gi(n.getAttribute(`data-bs-${Ro(t)}`))}},Te=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){let o=Wt(e)?Bt.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...Wt(e)?Bt.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(let[o,i]of Object.entries(e)){let r=t[o],a=Wt(r)?"element":Xs(r);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${a}" but expected type "${i}".`)}}},aa="5.3.8",ft=class extends Te{constructor(t,e){super(),t=Xt(t),t&&(this._element=t,this._config=this._getConfig(e),Do.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Do.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,o=!0){yr(t,e,o)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Do.get(Xt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return aa}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},Mo=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?e.trim():null}return t?t.split(",").map(e=>vr(e)).join(","):null},E={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){let e=[],o=n.parentNode.closest(t);for(;o;)e.push(o),o=o.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!Qt(e)&&Ge(e))},getSelectorFromElement(n){let t=Mo(n);return t&&E.findOne(t)?t:null},getElementFromSelector(n){let t=Mo(n);return t?E.findOne(t):null},getMultipleElementsFromSelector(n){let t=Mo(n);return t?E.find(t):[]}},no=(n,t="hide")=>{let e=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;f.on(document,e,`[data-bs-dismiss="${o}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Qt(this))return;let r=E.getElementFromSelector(this)||this.closest(`.${o}`);n.getOrCreateInstance(r)[t]()})},la="alert",ca="bs.alert",Dr=`.${ca}`,ua=`close${Dr}`,fa=`closed${Dr}`,da="fade",pa="show",Kn=class n extends ft{static get NAME(){return la}close(){if(f.trigger(this._element,ua).defaultPrevented)return;this._element.classList.remove(pa);let e=this._element.classList.contains(da);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),f.trigger(this._element,fa),this.dispose()}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}};no(Kn,"close");vt(Kn);var ma="button",ha="bs.button",_a=`.${ha}`,ga=".data-api",Ea="active",Ki='[data-bs-toggle="button"]',va=`click${_a}${ga}`,qn=class n extends ft{static get NAME(){return ma}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ea))}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this);t==="toggle"&&e[t]()})}};f.on(document,va,Ki,n=>{n.preventDefault();let t=n.target.closest(Ki);qn.getOrCreateInstance(t).toggle()});vt(qn);var Ta="swipe",Ke=".bs.swipe",Aa=`touchstart${Ke}`,ba=`touchmove${Ke}`,ya=`touchend${Ke}`,wa=`pointerdown${Ke}`,Sa=`pointerup${Ke}`,Oa="touch",Ca="pen",Na="pointer-event",La=40,Da={endCallback:null,leftCallback:null,rightCallback:null},xa={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Xn=class n extends Te{constructor(t,e){super(),this._element=t,!(!t||!n.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Da}static get DefaultType(){return xa}static get NAME(){return Ta}dispose(){f.off(this._element,Ke)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),lt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){let t=Math.abs(this._deltaX);if(t<=La)return;let e=t/this._deltaX;this._deltaX=0,e&<(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(f.on(this._element,wa,t=>this._start(t)),f.on(this._element,Sa,t=>this._end(t)),this._element.classList.add(Na)):(f.on(this._element,Aa,t=>this._start(t)),f.on(this._element,ba,t=>this._move(t)),f.on(this._element,ya,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ca||t.pointerType===Oa)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Ia="carousel",Ra="bs.carousel",ne=`.${Ra}`,xr=".data-api",Ma="ArrowLeft",Pa="ArrowRight",$a=500,cn="next",We="prev",Ue="left",Yn="right",ka=`slide${ne}`,Po=`slid${ne}`,Ha=`keydown${ne}`,Fa=`mouseenter${ne}`,Va=`mouseleave${ne}`,Wa=`dragstart${ne}`,Ba=`load${ne}${xr}`,Ua=`click${ne}${xr}`,Ir="carousel",Fn="active",ja="slide",Ya="carousel-item-end",za="carousel-item-start",Ga="carousel-item-next",Ka="carousel-item-prev",Rr=".active",Mr=".carousel-item",qa=Rr+Mr,Xa=".carousel-item img",Qa=".carousel-indicators",Za="[data-bs-slide], [data-bs-slide-to]",Ja='[data-bs-ride="carousel"]',tl={[Ma]:Yn,[Pa]:Ue},el={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},nl={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},fn=class n extends ft{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=E.findOne(Qa,this._element),this._addEventListeners(),this._config.ride===Ir&&this.cycle()}static get Default(){return el}static get DefaultType(){return nl}static get NAME(){return Ia}next(){this._slide(cn)}nextWhenVisible(){!document.hidden&&Ge(this._element)&&this.next()}prev(){this._slide(We)}pause(){this._isSliding&&Tr(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){f.one(this._element,Po,()=>this.cycle());return}this.cycle()}}to(t){let e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){f.one(this._element,Po,()=>this.to(t));return}let o=this._getItemIndex(this._getActive());if(o===t)return;let i=t>o?cn:We;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&f.on(this._element,Ha,t=>this._keydown(t)),this._config.pause==="hover"&&(f.on(this._element,Fa,()=>this.pause()),f.on(this._element,Va,()=>this._maybeEnableCycle())),this._config.touch&&Xn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let o of E.find(Xa,this._element))f.on(o,Wa,i=>i.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(Ue)),rightCallback:()=>this._slide(this._directionToOrder(Yn)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$a+this._config.interval))}};this._swipeHelper=new Xn(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;let e=tl[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;let e=E.findOne(Rr,this._indicatorsElement);e.classList.remove(Fn),e.removeAttribute("aria-current");let o=E.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);o&&(o.classList.add(Fn),o.setAttribute("aria-current","true"))}_updateInterval(){let t=this._activeElement||this._getActive();if(!t)return;let e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;let o=this._getActive(),i=t===cn,r=e||Xo(this._getItems(),o,i,this._config.wrap);if(r===o)return;let a=this._getItemIndex(r),l=h=>f.trigger(this._element,h,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:a});if(l(ka).defaultPrevented||!o||!r)return;let p=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;let u=i?za:Ya,T=i?Ga:Ka;r.classList.add(T),hn(r),o.classList.add(u),r.classList.add(u);let A=()=>{r.classList.remove(u,T),r.classList.add(Fn),o.classList.remove(Fn,T,u),this._isSliding=!1,l(Po)};this._queueCallback(A,o,this._isAnimated()),p&&this.cycle()}_isAnimated(){return this._element.classList.contains(ja)}_getActive(){return E.findOne(qa,this._element)}_getItems(){return E.find(Mr,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return gt()?t===Ue?We:cn:t===Ue?cn:We}_orderToDirection(t){return gt()?t===We?Ue:Yn:t===We?Yn:Ue}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}};f.on(document,Ua,Za,function(n){let t=E.getElementFromSelector(this);if(!t||!t.classList.contains(Ir))return;n.preventDefault();let e=fn.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");if(o){e.to(o),e._maybeEnableCycle();return}if(Bt.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()});f.on(window,Ba,()=>{let n=E.find(Ja);for(let t of n)fn.getOrCreateInstance(t)});vt(fn);var ol="collapse",il="bs.collapse",_n=`.${il}`,rl=".data-api",sl=`show${_n}`,al=`shown${_n}`,ll=`hide${_n}`,cl=`hidden${_n}`,ul=`click${_n}${rl}`,$o="show",Ye="collapse",Vn="collapsing",fl="collapsed",dl=`:scope .${Ye} .${Ye}`,pl="collapse-horizontal",ml="width",hl="height",_l=".collapse.show, .collapse.collapsing",Ko='[data-bs-toggle="collapse"]',gl={parent:null,toggle:!0},El={parent:"(null|element)",toggle:"boolean"},Qn=class n extends ft{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];let o=E.find(Ko);for(let i of o){let r=E.getSelectorFromElement(i),a=E.find(r).filter(l=>l===this._element);r!==null&&a.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return gl}static get DefaultType(){return El}static get NAME(){return ol}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(_l).filter(l=>l!==this._element).map(l=>n.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||f.trigger(this._element,sl).defaultPrevented)return;for(let l of t)l.hide();let o=this._getDimension();this._element.classList.remove(Ye),this._element.classList.add(Vn),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let i=()=>{this._isTransitioning=!1,this._element.classList.remove(Vn),this._element.classList.add(Ye,$o),this._element.style[o]="",f.trigger(this._element,al)},a=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[o]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||f.trigger(this._element,ll).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,hn(this._element),this._element.classList.add(Vn),this._element.classList.remove(Ye,$o);for(let i of this._triggerArray){let r=E.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;let o=()=>{this._isTransitioning=!1,this._element.classList.remove(Vn),this._element.classList.add(Ye),f.trigger(this._element,cl)};this._element.style[e]="",this._queueCallback(o,this._element,!0)}_isShown(t=this._element){return t.classList.contains($o)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Xt(t.parent),t}_getDimension(){return this._element.classList.contains(pl)?ml:hl}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(Ko);for(let e of t){let o=E.getElementFromSelector(e);o&&this._addAriaAndCollapsedClass([e],this._isShown(o))}}_getFirstLevelChildren(t){let e=E.find(dl,this._config.parent);return E.find(t,this._config.parent).filter(o=>!e.includes(o))}_addAriaAndCollapsedClass(t,e){if(t.length)for(let o of t)o.classList.toggle(fl,!e),o.setAttribute("aria-expanded",e)}static jQueryInterface(t){let e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){let o=n.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof o[t]=="undefined")throw new TypeError(`No method named "${t}"`);o[t]()}})}};f.on(document,ul,Ko,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(let t of E.getMultipleElementsFromSelector(this))Qn.getOrCreateInstance(t,{toggle:!1}).toggle()});vt(Qn);var qi="dropdown",vl="bs.dropdown",Ae=`.${vl}`,Zo=".data-api",Tl="Escape",Xi="Tab",Al="ArrowUp",Qi="ArrowDown",bl=2,yl=`hide${Ae}`,wl=`hidden${Ae}`,Sl=`show${Ae}`,Ol=`shown${Ae}`,Pr=`click${Ae}${Zo}`,$r=`keydown${Ae}${Zo}`,Cl=`keyup${Ae}${Zo}`,je="show",Nl="dropup",Ll="dropend",Dl="dropstart",xl="dropup-center",Il="dropdown-center",Ee='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Rl=`${Ee}.${je}`,zn=".dropdown-menu",Ml=".navbar",Pl=".navbar-nav",$l=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",kl=gt()?"top-end":"top-start",Hl=gt()?"top-start":"top-end",Fl=gt()?"bottom-end":"bottom-start",Vl=gt()?"bottom-start":"bottom-end",Wl=gt()?"left-start":"right-start",Bl=gt()?"right-start":"left-start",Ul="top",jl="bottom",Yl={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},zl={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Zt=class n extends ft{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=E.next(this._element,zn)[0]||E.prev(this._element,zn)[0]||E.findOne(zn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yl}static get DefaultType(){return zl}static get NAME(){return qi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Qt(this._element)||this._isShown())return;let t={relatedTarget:this._element};if(!f.trigger(this._element,Sl,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Pl))for(let o of[].concat(...document.body.children))f.on(o,"mouseover",Gn);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(je),this._element.classList.add(je),f.trigger(this._element,Ol,t)}}hide(){if(Qt(this._element)||!this._isShown())return;let t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!f.trigger(this._element,yl,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(let o of[].concat(...document.body.children))f.off(o,"mouseover",Gn);this._popper&&this._popper.destroy(),this._menu.classList.remove(je),this._element.classList.remove(je),this._element.setAttribute("aria-expanded","fal
1se"),Bt.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,wl,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Wt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${qi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Hn=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:Wt(this._config.reference)?t=Xt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);let e=this._getPopperConfig();this._popper=ln(t,this._menu,e)}_isShown(){return this._menu.classList.contains(je)}_getPlacement(){let t=this._parent;if(t.classList.contains(Ll))return Wl;if(t.classList.contains(Dl))return Bl;if(t.classList.contains(xl))return Ul;if(t.classList.contains(Il))return jl;let e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Nl)?e?Hl:kl:e?Vl:Fl}_detectNavbar(){return this._element.closest(Ml)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){let t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Bt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...lt(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){let o=E.find($l,this._menu).filter(i=>Ge(i));o.length&&Xo(o,e,t===Qi,!o.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===bl||t.type==="keyup"&&t.key!==Xi)return;let e=E.find(Rl);for(let o of e){let i=n.getInstance(o);if(!i||i._config.autoClose===!1)continue;let r=t.composedPath(),a=r.includes(i._menu);if(r.includes(i._element)||i._config.autoClose==="inside"&&!a||i._config.autoClose==="outside"&&a||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Xi||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let l={relatedTarget:i._element};t.type==="click"&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){let e=/input|textarea/i.test(t.target.tagName),o=t.key===Tl,i=[Al,Qi].includes(t.key);if(!i&&!o||e&&!o)return;t.preventDefault();let r=this.matches(Ee)?this:E.prev(this,Ee)[0]||E.next(this,Ee)[0]||E.findOne(Ee,t.delegateTarget.parentNode),a=n.getOrCreateInstance(r);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),r.focus())}};f.on(document,$r,Ee,Zt.dataApiKeydownHandler);f.on(document,$r,zn,Zt.dataApiKeydownHandler);f.on(document,Pr,Zt.clearMenus);f.on(document,Cl,Zt.clearMenus);f.on(document,Pr,Ee,function(n){n.preventDefault(),Zt.getOrCreateInstance(this).toggle()});vt(Zt);var kr="backdrop",Gl="fade",Zi="show",Ji=`mousedown.bs.${kr}`,Kl={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ql={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Zn=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Kl}static get DefaultType(){return ql}static get NAME(){return kr}show(t){if(!this._config.isVisible){lt(t);return}this._append();let e=this._getElement();this._config.isAnimated&&hn(e),e.classList.add(Zi),this._emulateAnimation(()=>{lt(t)})}hide(t){if(!this._config.isVisible){lt(t);return}this._getElement().classList.remove(Zi),this._emulateAnimation(()=>{this.dispose(),lt(t)})}dispose(){this._isAppended&&(f.off(this._element,Ji),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Gl),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Xt(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),f.on(t,Ji,()=>{lt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){yr(t,this._getElement(),this._config.isAnimated)}},Xl="focustrap",Ql="bs.focustrap",Jn=`.${Ql}
1`,Zl=`focusin${Jn}`,Jl=`keydown.tab${Jn}`,tc="Tab",ec="forward",tr="backward",nc={autofocus:!0,trapElement:null},oc={autofocus:"boolean",trapElement:"element"},to=class extends Te{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return nc}static get DefaultType(){return oc}static get NAME(){return Xl}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,Jn),f.on(document,Zl,t=>this._handleFocusin(t)),f.on(document,Jl,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,Jn))}_handleFocusin(t){let{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;let o=E.focusableChildren(e);o.length===0?e.focus():this._lastTabNavDirection===tr?o[o.length-1].focus():o[0].focus()}_handleKeydown(t){t.key===tc&&(this._lastTabNavDirection=t.shiftKey?tr:ec)}},er=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",nr=".sticky-top",Wn="padding-right",or="margin-right",dn=class{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Wn,e=>e+t),this._setElementAttributes(er,Wn,e=>e+t),this._setElementAttributes(nr,or,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Wn),this._resetElementAttributes(er,Wn),this._resetElementAttributes(nr,or)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,o){let i=this.getWidth(),r=a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+i)return;this._saveInitialAttribute(a,e);let l=window.getComputedStyle(a).getPropertyValue(e);a.style.setProperty(e,`${o(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){let o=t.style.getPropertyValue(e);o&&Bt.setDataAttribute(t,e,o)}_resetElementAttributes(t,e){let o=i=>{let r=Bt.getDataAttribute(i,e);if(r===null){i.style.removeProperty(e);return}Bt.removeDataAttribute(i,e),i.style.setProperty(e,r)};this._applyManipulationCallback(t,o)}_applyManipulationCallback(t,e){if(Wt(t)){e(t);return}for(let o of E.find(t,this._element))e(o)}},ic="modal",rc="bs.modal",Et=`.${rc}`,sc=".data-api",ac="Escape",lc=`hide${Et}`,cc=`hidePrevented${Et}`,Hr=`hidden${Et}`,Fr=`show${Et}`,uc=`shown${Et}`,fc=`resize${Et}`,dc=`click.dismiss${Et}`,pc=`mousedown.dismiss${Et}`,mc=`keydown.dismiss${Et}`,hc=`click${Et}${sc}`,ir="modal-open",_c="fade",rr="show",ko="modal-static",gc=".modal.show",Ec=".modal-dialog",vc=".modal-body",Tc='[data-bs-toggle="modal"]',Ac={backdrop:!0,focus:!0,keyboard:!0},bc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Jt=class n extends ft{constructor(t,e){super(t,e),this._dialog=E.findOne(Ec,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new dn,this._addEventListeners()}static get Default(){return Ac}static get DefaultType(){return bc}static get NAME(){return ic}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||f.trigger(this._element,Fr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ir),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,lc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(rr),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){f.off(window,Et),f.off(this._dialog,Et),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new to({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;let e=E.findOne(vc,this._dialog);e&&(e.scrollTop=0),hn(this._element),this._element.classList.add(rr);let o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,uc,{relatedTarget:t})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,mc,t=>{if(t.key===ac){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),f.on(window,fc,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,pc,t=>{f.one(this._element,dc,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(ir),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,Hr)})}_isAnimated(){return this._element.classList.contains(_c)}_triggerBackdropTransition(){if(f.trigger(this._element,cc).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,o=this._element.style.overflowY;o==="hidden"||this._element.classList.contains(ko)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ko),this._queueCallback(()=>{this._element.classList.remove(ko),this._queueCallback(()=>{this._element.style.overflowY=o},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),o=e>0;if(o&&!t){let i=gt()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!o&&t){let i=gt()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){let o=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof o[t]=="undefined")throw new TypeError(`No method n
1amed "${t}"`);o[t](e)}})}};f.on(document,hc,Tc,function(n){let t=E.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),f.one(t,Fr,i=>{i.defaultPrevented||f.one(t,Hr,()=>{Ge(this)&&this.focus()})});let e=E.findOne(gc);e&&Jt.getInstance(e).hide(),Jt.getOrCreateInstance(t).toggle(this)});no(Jt);vt(Jt);var yc="offcanvas",wc="bs.offcanvas",Ut=`.${wc}`,Vr=".data-api",Sc=`load${Ut}${Vr}`,Oc="Escape",sr="show",ar="showing",lr="hiding",Cc="offcanvas-backdrop",Wr=".offcanvas.show",Nc=`show${Ut}`,Lc=`shown${Ut}`,Dc=`hide${Ut}`,cr=`hidePrevented${Ut}`,Br=`hidden${Ut}`,xc=`resize${Ut}`,Ic=`click${Ut}${Vr}`,Rc=`keydown.dismiss${Ut}`,Mc='[data-bs-toggle="offcanvas"]',Pc={backdrop:!0,keyboard:!0,scroll:!1},$c={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},te=class n extends ft{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Pc}static get DefaultType(){return $c}static get NAME(){return yc}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||f.trigger(this._element,Nc,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new dn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ar);let o=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(sr),this._element.classList.remove(ar),f.trigger(this._element,Lc,{relatedTarget:t})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||f.trigger(this._element,Dc).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(lr),this._backdrop.hide();let e=()=>{this._element.classList.remove(sr,lr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new dn().reset(),f.trigger(this._element,Br)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let t=()=>{if(this._config.backdrop==="static"){f.trigger(this._element,cr);return}this.hide()},e=!!this._config.backdrop;return new Zn({className:Cc,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new to({trapElement:this._element})}_addEventListeners(){f.on(this._element,Rc,t=>{if(t.key===Oc){if(this._config.keyboard){this.hide();return}f.trigger(this._element,cr)}})}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}};f.on(document,Ic,Mc,function(n){let t=E.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Qt(this))return;f.one(t,Br,()=>{Ge(this)&&this.focus()});let e=E.findOne(Wr);e&&e!==t&&te.getInstance(e).hide(),te.getOrCreateInstance(t).toggle(this)});f.on(window,Sc,()=>{for(let n of E.find(Wr))te.getOrCreateInstance(n).show()});f.on(window,xc,()=>{for(let n of E.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&te.getOrCreateInstance(n).hide()});no(te);vt(te);var kc=/^aria-[\w-]*$/i,Ur={"*":["class","dir","id","lang","role",kc],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Hc=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Fc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Vc=(n,t)=>{let e=n.nodeName.toLowerCase();return t.includes(e)?Hc.has(e)?!!Fc.test(n.nodeValue):!0:t.filter(o=>o instanceof RegExp).some(o=>o.test(e))};function Wc(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);let i=new window.DOMParser().parseFromString(n,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(let a of r){let l=a.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){a.remove();continue}let c=[].concat(...a.attributes),p=[].concat(t["*"]||[],t[l]||[]);for(let u of c)Vc(u,p)||a.removeAttribute(u.nodeName)}return i.body.innerHTML}var Bc="TemplateFactory",Uc={allowList:Ur,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},jc={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yc={entry:"(string|element|function|null)",selector:"(string|element)"},qo=class extends Te{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Uc}static get DefaultType(){return jc}static get NAME(){return Bc}getContent(){return Object.values(this._config.content).map(t=>
vendor: 9,672 bytes, line 1
1this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[i,r]of Object.entries(this._config.content))this._setContent(t,r,i);let e=t.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&e.classList.add(...o.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[e,o]of Object.entries(t))super._typeCheckConfig({selector:e,entry:o},Yc)}_setContent(t,e,o){let i=E.findOne(o,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if(Wt(e)){this._putElementInTemplate(Xt(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?Wc(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return lt(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}},zc="tooltip",Gc=new Set(["sanitize","allowList","sanitizeFn"]),Ho="fade",Kc="modal",Bn="show",qc=".tooltip-inner",ur=`.${Kc}`,fr="hide.bs.modal",un="hover",Fo="focus",Vo="click",Xc="manual",Qc="hide",Zc="hidden",Jc="show",tu="shown",eu="inserted",nu="click",ou="focusin",iu="focusout",ru="mouseenter",su="mouseleave",au={AUTO:"auto",TOP:"top",RIGHT:gt()?"left":"right",BOTTOM:"bottom",LEFT:gt()?"right":"left"},lu={allowList:Ur,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},cu={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},ee=class n extends ft{constructor(t,e){if(typeof Hn=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lu}static get DefaultType(){return cu}static get NAME(){return zc}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),f.off(this._element.closest(ur),fr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let t=f.trigger(this._element,this.constructor.eventName(Jc)),o=(Ar(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!o)return;this._disposePopper();let i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),f.trigger(this._element,this.constructor.eventName(eu))),this._popper=this._createPopper(i),i.classList.add(Bn),"ontouchstart"in document.documentElement)for(let l of[].concat(...document.body.children))f.on(l,"mouseover",Gn);let a=()=>{f.trigger(this._element,this.constructor.eventName(tu)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||f.trigger(this._element,this.constructor.eventName(Qc)).defaultPrevented)return;if(this._getTipElement().classList.remove(Bn),"ontouchstart"in document.documentElement)for(let i of[].concat(...document.body.children))f.off(i,"mouseover",Gn);this._activeTrigger[Vo]=!1,this._activeTrigger[Fo]=!1,this._activeTrigger[un]=!1,this._isHovered=null;let o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName(Zc)))};this._queueCallback(o,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){let e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Ho,Bn),e.classList.add(`bs-${this.constructor.NAME}-auto`);let o=Qs(this.constructor.NAME).toString();return e.setAttribute("id",o),this._isAnimated()&&e.classList.add(Ho),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new qo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[qc]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ho)}_isShown(){return this.tip&&this.tip.classList.contains(Bn)}_createPopper(t){let e=lt(this._config.placement,[this,t,this._element]),o=au[e.toUpperCase()];return ln(this._element,t,this._getPopperConfig(o))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return lt(t,[this._element,this._element])}_getPopperConfig(t){let e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...e,...lt(this._config.popperConfig,[void 0,e])}}_setListeners(){let t=this._config.trigger.split(" ");for(let e of t)if(e==="click")f.on(this._element,this.constructor.eventName(nu),this._config.selector,o=>{let i=this._initializeOnDelegatedTarget(o);i._activeTrigger[Vo]=!(i._isShown()&&i._activeTrigger[Vo]),i.toggle()});else if(e!==Xc){let o=e===un?this.constructor.eventName(ru):this.constructor.eventName(ou),i=e===un?this.constructor.eventName(su):this.constructor.eventName(iu);f.on(this._element,o,this._config.selector,r=>{let a=this._initializeOnDelegatedTarget(r);a._activeTrigger[r.type==="focusin"?Fo:un]=!0,a._enter()}),f.on(this._element,i,this._config.selector,r=>{let a=this._initializeOnDelegatedTarget(r);a._activeTrigger[r.type==="focusout"?Fo:un]=a._element.contains(r.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(ur),fr,this._hideModalHandler)}_fixTitle(){let t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let e=Bt.getDataAttributes(this._element);for(let o of Object.keys(e))Gc.has(o)&&delete e[o];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Xt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){let t={};for(let[e,o]of Object.entries(this._config))this.constructor.Default[e]!==o&&(t[e]=o);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}};vt(ee);var uu="popover",fu=".popover-header",du=".popover-body",pu={...ee.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},mu={...ee.DefaultType,content:"(null|string|element|function)"},pn=class n extends ee{static get Default(){return pu}static get DefaultType(){return mu}static get NAME(){return uu}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fu]:this._getTitle(),[du]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}};vt(pn);var hu="scrollspy",_u="bs.scrollspy",Jo=`.${_u}`,gu=".data-api",Eu=`activate${Jo}`,dr=`click${Jo}`,vu=`load${Jo}${gu}`,Tu="dropdown-item",Be="active",Au='[data-bs-spy="scroll"]',Wo="[href]",bu=".nav, .list-group",pr=".nav-link",yu=".nav-item",wu=".list-group-item",Su=`${pr}, ${yu} > ${pr}, ${wu}`,Ou=".dropdown",Cu=".dropdown-toggle",Nu={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Lu={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},eo=class n extends ft{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Nu}static get DefaultType(){return Lu}static get NAME(){return hu}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Xt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,dr),f.on(this._config.target,dr,Wo,t=>{let e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();let o=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:i,behavior:"smooth"});return}o.scrollTop=i}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){let e=a=>this._targetLinks.get(`#${a.target.id}`),o=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(e(a))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(let a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(a));continue}let l=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&l){if(o(a),!i)return;continue}!r&&!l&&o(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=E.find(Wo,this._config.target);for(let e of t){if(!e.hash||Qt(e))continue;let o=E.findOne(decodeURI(e.hash),this._element);Ge(o)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,o))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Be),this._activateParents(t),f.trigger(this._element,Eu,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Tu)){E.findOne(Cu,t.closest(Ou)).classList.add(Be);return}for(let e of E.parents(t,bu))for(let o of E.prev(e,Su))o.classList.add(Be)}_clearActiveClass(t){t.classList.remove(Be);let e=E.find(`${Wo}.${Be}`,t);for(let o of e)o.classList.remove(Be)}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}};f.on(window,vu,()=>{for(let n of E.find(Au))eo.getOrCreateInstance(n)});vt(eo);var Du="tab",xu="bs.tab",be=`.${xu}`,Iu=`hide${be}`,Ru=`hidden${be}`,Mu=`show${be}`,Pu=`shown${be}`,$u=`click${be}`,ku=`keydown${be}`,Hu=`load${be}`,Fu="ArrowLeft",mr="ArrowRight",Vu="ArrowUp",hr="ArrowDown",Bo="Home",_r="End",ve="active",gr="fade",Uo="show",Wu="dropdown",jr=".dropdown-toggle",Bu=".dropdown-menu",jo=`:not(${jr})`,Uu='.list-group, .nav, [role="tablist"]',ju=".nav-item, .list-group-item",Yu=`.nav-link${jo}, .list-group-item${jo}, [role="tab"]${jo}`,Yr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yo=`${Yu}, ${Yr}`,zu=`.${ve}[data-bs-toggle="tab"], .${ve}[data-bs-toggle="pill"], .${ve}[data-bs-toggle="list"]`,mn=class n extends ft{constructor(t){super(t),this._parent=this._element.closest(Uu),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,ku,e=>this._keydown(e)))}static get NAME(){return Du}show(){let t=this._element;if(this._elemIsActive(t))return;let e=this._getActiveElem(),o=e?f.trigger(e,Iu,{relatedTarget:t}):null;f.trigger(t,Mu,{relatedTarget:e}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(ve),this._activate(E.getElementFromSelector(t));let o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Uo);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),f.trigger(t,Pu,{relatedTarget:e})};this._queueCallback(o,t,t.classList.contains(gr))}_deactivate(t,e){if(!t)return;t.classList.remove(ve),t.blur(),this._deactivate(E.getElementFromSelector(t));let o=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Uo);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),f.trigger(t,Ru,{relatedTarget:e})};this._queueCallback(o,t,t.classList.contains(gr))}_keydown(t){if(![Fu,mr,Vu,hr,Bo,_r].includes(t.key))return;t.stopPropagation(),t.preventDefault();let e=this._getChildren().filter(i=>!Qt(i)),o;if([Bo,_r].includes(t.key))o=e[t.key===Bo?0:e.length-1];else{let i=[mr,hr].includes(t.key);o=Xo(e,t.target,i,!0)}o&&(o.focus({preventScroll:!0}),n.getOrCreateInstance(o).show())}_getChildren(){return E.find(Yo,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(let o of e)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let e=this._elemIsActive(t),o=this._getOuterElement(t);t.setAttribute("aria-selected",e),o!==t&&this._setAttributeIfNotExists(o,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let e=E.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){let o=this._getOuterElement(t);if(!o.classList.contains(Wu))return;let i=(r,a)=>{let l=E.findOne(r,o);l&&l.classList.toggle(a,e)};i(jr,ve),i(Bu,Uo),o.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,o){t.hasAttribute(e)||t.setAttribute(e,o)}_elemIsActive(t){return t.classList.contains(ve)}_getInnerElement(t){return t.matches(Yo)?t:E.findOne(Yo,t)}_getOuterElement(t){return t.closest(ju)||t}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}};f.on(document,$u,Yr,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Qt(this)&&mn.getOrCreateInstance(this).show()});f.on(window,Hu,()=>{for(let n of E.find(zu))mn.getOrCreateInstance(n)});vt(mn);var Gu="toast",Ku="bs.toast",oe=`.${Ku}`,qu=`mouseover${oe}`,Xu=`mouseout${oe}`,Qu=`focusin${oe}`,Zu=`focusout${oe}`,Ju=`hide${oe}`,tf=`hidden${oe}`,ef=`show${oe}`,nf=`shown${oe}
1`,of="fade",Er="hide",Un="show",jn="showing",rf={animation:"boolean",autohide:"boolean",delay:"number"},sf={animation:!0,autohide:!0,delay:5e3},ze=class n extends ft{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return sf}static get DefaultType(){return rf}static get NAME(){return Gu}show(){if(f.trigger(this._element,ef).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(of);let e=()=>{this._element.classList.remove(jn),f.trigger(this._element,nf),this._maybeScheduleHide()};this._element.classList.remove(Er),hn(this._element),this._element.classList.add(Un,jn),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||f.trigger(this._element,Ju).defaultPrevented)return;let e=()=>{this._element.classList.add(Er),this._element.classList.remove(jn,Un),f.trigger(this._element,tf)};this._element.classList.add(jn),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Un),super.dispose()}isShown(){return this._element.classList.contains(Un)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}let o=t.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){f.on(this._element,qu,t=>this._onInteraction(t,!0)),f.on(this._element,Xu,t=>this._onInteraction(t,!1)),f.on(this._element,Qu,t=>this._onInteraction(t,!0)),f.on(this._element,Zu,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t](this)}})}};no(ze);vt(ze);var af=()=>Array.from(document.querySelectorAll('[data-bs-toggle="popover"]')).forEach(n=>new pn(n,{trigger:"focus"})),lf=()=>{let n=document.querySelector("#liveToastBtn"),t=document.querySelector("#liveToast");if(!n||!t)return;let e=ze.getOrCreateInstance(t,{delay:2e3});n.addEventListener("click",()=>e.show())},cf=()=>Array.from(document.querySelectorAll('[data-bs-toggle="tooltip"]')).forEach(n=>new ee(n)),uf=()=>{Array.from(document.querySelectorAll(".modal")).forEach(n=>{n.dataset.searchFocusBound!=="true"&&(n.dataset.searchFocusBound="true",n.addEventListener("shown.bs.modal",()=>{let t=n.querySelector('input[type="search"]');t&&requestAnimationFrame(()=>t.focus())}))})},ff=()=>{let n={"modal:toggle":o=>o.toggle(),"modal:open":o=>o.show(),"modal:close":o=>o.hide(),"toggle-modal":o=>o.toggle(),"open-modal":o=>o.show(),"close-modal":o=>o.hide()},t=o=>(o||"").toLowerCase().trim(),e=o=>{let i=[o.getAttribute("data-target"),o.getAttribute("href")].map(r=>(r||"").trim()).filter(Boolean);for(let r of i)try{let a=document.querySelector(r);if(a)return a}catch{continue}return null};Array.from(document.querySelectorAll("[data-action][data-target]")).forEach(o=>{let i=t(o.getAttribute("data-action")),r=n[i];!r||o.dataset.modalBound==="true"||(o.dataset.modalBound="true",o.addEventListener("click",a=>{a.preventDefault();let l=e(o);if(!l)return;let c=Jt.getOrCreateInstance(l);l.addEventListener("hide.bs.modal",()=>{requestAnimationFrame(()=>o.focus())},{once:!0}),r(c)}))})},df=()=>{let n=document.querySelectorAll(".needs-validation"),t=e=>{e.preventDefault(),e.stopPropagation()};Array.from(n).forEach(e=>{e.addEventListener("submit",o=>{e.checkValidity()||t(o),e.classList.add("was-validated")})})},pf=()=>{let n=document.querySelectorAll('input[type="file"]'),t=["jpg","jpeg","png","gif"],e=5*1024*1024,o=5,i=a=>t.includes(a.name.toLowerCase().split(".").pop()),r=(a,l)=>{a.value="",alert(l)};
1Array.from(n).forEach(a=>{a.addEventListener("change",({target:l})=>{let c=Array.from(l.files||[]);if(!c.length)return;if(c.find(T=>!i(T))){r(l,'Acceptable extensions are "jpg", "jpeg", "png" and "gif".');return}if(c.reduce((T,{size:A})=>T+A,0)>e){r(l,"The max size is 5MB.");return}c.length>o&&r(l,"Up to 5 files can be uploaded.")})})},zr=()=>{af(),lf(),cf(),uf(),ff(),df(),pf()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",zr):zr();var ti=!1,mf=window.matchMedia("(prefers-reduced-motion: reduce)").matches,Gr=window.matchMedia("(min-width: 992px)"),hf=()=>{let n=window.scrollY,t=document.querySelector('[data-action="scrollup"]');t&&(t.style.bottom=n>320?"2rem":"-3rem"),document.dispatchEvent(new CustomEvent("scroll:throttled",{detail:{y:n}})),ti=!1},ei=()=>{ti||(requestAnimationFrame(hf),ti=!0)},Kr=()=>{let n=document.querySelector('[data-action="scrollup"]');n&&n.addEventListener("click",t=>{t.preventDefault(),window.scrollTo({top:0,left:0,behavior:mf?"auto":"smooth"})})},qr=()=>{let n=document.getElementById("siteHeader"),t=document.getElementById("headerTop"),e=document.querySelector(".wp-block-totec-solution-header"),o=getComputedStyle(document.documentElement).getPropertyValue("--header-top-height");if(!n)return;let i=!1,r=window.scrollY,a=()=>{n.classList.add("is-hidden"),t==null||t.classList.add("is-hidden"),e&&(e.style.top=`calc(${n.clientHeight}px - ${o})`)},l=()=>{n.classList.remove("is-hidden"),t==null||t.classList.remove("is-hidden"),e&&(e.style.top=`${n.clientHeight}px`)},c=g=>{if(!i)return;let b=g-r>1,S=r-g>1;g>=320&&b&&a(),(S||g<320)&&l(),r=g},p=g=>{var S,D;let b=(D=(S=g.detail)==null?void 0:S.y)!=null?D:window.scrollY;c(b)},u=()=>{r=window.scrollY,c(r)},T=()=>{i||(i=!0,u(),document.addEventListener("scroll:throttled",p),window.addEventListener("pageshow",u))},A=()=>{i&&(i=!1,document.removeEventListener("scroll:throttled",p),window.removeEventListener("pageshow",u),l())},h=new ResizeObserver(g=>{g.forEach(b=>{let S=b.contentRect.height;e.style.top=`${S}px`})}),y=g=>{g.matches?T():A(),e&&(g.matches?h.unobserve(n):h.observe(n))};y(Gr),Gr.addEventListener("change",y)};document.addEventListener("scroll",ei,{passive:!0});window.addEventListener("load",ei);window.addEventListener("pageshow",ei);document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{Kr(),qr()}):(Kr(),qr());var{entries:is,setPrototypeOf:Xr,isFrozen:_f,getPrototypeOf:gf,getOwnPropertyDescriptor:Ef}=Object,{freeze:rt,seal:Tt,create:ro}=Object,{apply:li,construct:ci}=typeof Reflect!="undefined"&&Reflect;rt||(rt=function(t){return t});Tt||(Tt=function(t){return t});li||(li=function(t,e){for(var o=arguments.length,i=new Array(o>2?o-2:0),r=2;r<o;r++)i[r-2]=arguments[r];return t.apply(e,i)});ci||(ci=function(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];return new t(...o)});var oo=st(Array.prototype.forEach),vf=st(Array.prototype.lastIndexOf),Qr=st(Array.prototype.pop),gn=st(Array.prototype.push),Tf=st(Array.prototype.splice),so=st(String.prototype.toLowerCase),ni=st(String.prototype.toString),oi=st(String.prototype.match),En=st(String.prototype.replace),Af=st(String.prototype.indexOf),bf=st(String.prototype.trim),dt=st(Object.prototype.hasOwnProperty),it=st(RegExp.prototype.test),vn=yf(TypeError);function st(n){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var e=arguments.length,o=new Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];return li(n,t,o)}}function yf(n){return function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return ci(n,e)}}function w(n,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:so;Xr&&Xr(n,null);let o=t.length;for(;o--;){let i=t[o];if(typeof i=="string"){let r=e(i);r!==i&&(_f(t)||(t[o]=r),i=r)}n[i]=!0}return n}function wf(n){for(let t=0;t<n.length;t++)dt(n,t)||(n[t]=null);return n}function Ct(n){let t=ro(null);for(let[e,o]of is(n))dt(n,e)&&(Array.isArray(o)?t[e]=wf(o):o&&typeof o=="object"&&o.constructor===Object?t[e]=Ct(o):t[e]=o);return t}function Tn(n,t){for(;n!==null;){let o=Ef(n,t);if(o){if(o.get)return st(o.get);if(typeof o.value=="function")return st(o.value)}n=gf(n)}function e(){return null}return e}var Zr=rt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ii=rt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ri=rt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sf=rt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),si=rt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Of=rt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Jr=rt(["#text"]),ts=rt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),ai=rt(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),es=rt(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),io=rt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Cf=Tt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Nf=Tt(/<%[\w\W]*|[\w\W]*%>/gm),Lf=Tt(/\$\{[\w\W]*/gm),Df=Tt(/^data-[\-\w.\u00B7-\uFFFF]+$/),xf=Tt(/^aria-[\-\w]+$/),rs=Tt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),If=Tt(/^(?:\w+script|data):/i),Rf=Tt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ss=Tt(/^html$/i),Mf=Tt(/^[a-z][.\w]*(-[.\w]+)+$/i),ns=Object.freeze({__proto__:null,ARIA_ATTR:xf,ATTR_WHITESPACE:Rf,CUSTOM_ELEMENT:Mf,DATA_ATTR:Df,DOCTYPE_NAME:ss,ERB_EXPR:Nf,IS_ALLOWED_URI:rs,IS_SCRIPT_OR_DATA:If,MUSTACHE_EXPR:Cf,TMPLIT_EXPR:Lf}),An={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Pf=function(){return typeof window=="undefined"?null:window},$f=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(o=e.getAttribute(i));let r="dompurify"+(o?"#"+o:"");try{return t.createPolicy(r,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},os=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function as(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pf(),t=_=>as(_);if(t.version="3.3.3",t.removed=[],!n||!n.document||n.document.nodeType!==An.document||!n.Element)return t.isSupported=!1,t;let{document:e}=n,o=e,i=o.currentScript,{DocumentFragment:r,HTMLTemplateElement:a,Node:l,Element:c,NodeFilter:p,NamedNodeMap:u=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:T,DOMParser:A,trustedTypes:h}=n,y=c.prototype,g=Tn(y,"cloneNode"),b=Tn(y,"remove"),S=Tn(y,"nextSibling"),D=Tn(y,"childNodes"),x=Tn(y,"parentNode");if(typeof a=="function"){let _=e.createElement("template");_.content&&_.content.ownerDocument&&(e=_.content.ownerDocument)}let v,O="",{implementation:C,createNodeIterator:I,createDocumentFragment:j,getElementsByTagName:W}=e,{importNode:F}=o,N=os();t.isSupported=typeof is=="function"&&typeof x=="function"&&C&&C.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:tt,ERB_EXPR:Y,TMPLIT_EXPR:At,DATA_ATTR:Nt,ARIA_ATTR:et,IS_SCRIPT_OR_DATA:ct,ATTR_WHITESPACE:ie,CUSTOM_ELEMENT:Lt}=ns,{IS_ALLOWED_URI:re}=ns,$=null,jt=w({},[...Zr,...ii,...ri,...si,...Jr]),k=null,Dt=w({}
vendor: 10,828 bytes, line 1
1,[...ts,...ai,...es,...io]),L=Object.seal(ro(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),bt=null,xt=null,Z=Object.seal(ro(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ye=!0,qe=!0,we=!1,yn=!0,It=!1,Se=!0,Rt=!1,Oe=!1,Ce=!1,Yt=!1,Ne=!1,pt=!1,se=!0,Xe=!1,wn="user-content-",ae=!0,zt=!1,Mt={},ut=null,Le=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),fi=null,di=w({},["audio","video","img","source","image","track"]),lo=null,pi=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Sn="http://www.w3.org/1998/Math/MathML",On="http://www.w3.org/2000/svg",Pt="http://www.w3.org/1999/xhtml",De=Pt,co=!1,uo=null,ms=w({},[Sn,On,Pt],ni),Cn=w({},["mi","mo","mn","ms","mtext"]),Nn=w({},["annotation-xml"]),hs=w({},["title","style","font","a","script"]),Qe=null,_s=["application/xhtml+xml","text/html"],gs="text/html",z=null,xe=null,Es=e.createElement("form"),mi=function(s){return s instanceof RegExp||s instanceof Function},fo=function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===s)){if((!s||typeof s!="object")&&(s={}),s=Ct(s),Qe=_s.indexOf(s.PARSER_MEDIA_TYPE)===-1?gs:s.PARSER_MEDIA_TYPE,z=Qe==="application/xhtml+xml"?ni:so,$=dt(s,"ALLOWED_TAGS")?w({},s.ALLOWED_TAGS,z):jt,k=dt(s,"ALLOWED_ATTR")?w({},s.ALLOWED_ATTR,z):Dt,uo=dt(s,"ALLOWED_NAMESPACES")?w({},s.ALLOWED_NAMESPACES,ni):ms,lo=dt(s,"ADD_URI_SAFE_ATTR")?w(Ct(pi),s.ADD_URI_SAFE_ATTR,z):pi,fi=dt(s,"ADD_DATA_URI_TAGS")?w(Ct(di),s.ADD_DATA_URI_TAGS,z):di,ut=dt(s,"FORBID_CONTENTS")?w({},s.FORBID_CONTENTS,z):Le,bt=dt(s,"FORBID_TAGS")?w({},s.FORBID_TAGS,z):Ct({}),xt=dt(s,"FORBID_ATTR")?w({},s.FORBID_ATTR,z):Ct({}),Mt=dt(s,"USE_PROFILES")?s.USE_PROFILES:!1,ye=s.ALLOW_ARIA_ATTR!==!1,qe=s.ALLOW_DATA_ATTR!==!1,we=s.ALLOW_UNKNOWN_PROTOCOLS||!1,yn=s.ALLOW_SELF_CLOSE_IN_ATTR!==!1,It=s.SAFE_FOR_TEMPLATES||!1,Se=s.SAFE_FOR_XML!==!1,Rt=s.WHOLE_DOCUMENT||!1,Yt=s.RETURN_DOM||!1,Ne=s.RETURN_DOM_FRAGMENT||!1,pt=s.RETURN_TRUSTED_TYPE||!1,Ce=s.FORCE_BODY||!1,se=s.SANITIZE_DOM!==!1,Xe=s.SANITIZE_NAMED_PROPS||!1,ae=s.KEEP_CONTENT!==!1,zt=s.IN_PLACE||!1,re=s.ALLOWED_URI_REGEXP||rs,De=s.NAMESPACE||Pt,Cn=s.MATHML_TEXT_INTEGRATION_POINTS||Cn,Nn=s.HTML_INTEGRATION_POINTS||Nn,L=s.CUSTOM_ELEMENT_HANDLING||{},s.CUSTOM_ELEMENT_HANDLING&&mi(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(L.tagNameCheck=s.CUSTOM_ELEMENT_HANDLING.tagNameCheck),s.CUSTOM_ELEMENT_HANDLING&&mi(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(L.attributeNameCheck=s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),s.CUSTOM_ELEMENT_HANDLING&&typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),It&&(qe=!1),Ne&&(Yt=!0),Mt&&($=w({},Jr),k=ro(null),Mt.html===!0&&(w($,Zr),w(k,ts)),Mt.svg===!0&&(w($,ii),w(k,ai),w(k,io)),Mt.svgFilters===!0&&(w($,ri),w(k,ai),w(k,io)),Mt.mathMl===!0&&(w($,si),w(k,es),w(k,io))),dt(s,"ADD_TAGS")||(Z.tagCheck=null),dt(s,"ADD_ATTR")||(Z.attributeCheck=null),s.ADD_TAGS&&(typeof s.ADD_TAGS=="function"?Z.tagCheck=s.ADD_TAGS:($===jt&&($=Ct($)),w($,s.ADD_TAGS,z))),s.ADD_ATTR&&(typeof s.ADD_ATTR=="function"?Z.attributeCheck=s.ADD_ATTR:(k===Dt&&(k=Ct(k)),w(k,s.ADD_ATTR,z))),s.ADD_URI_SAFE_ATTR&&w(lo,s.ADD_URI_SAFE_ATTR,z),s.FORBID_CONTENTS&&(ut===Le&&(ut=Ct(ut)),w(ut,s.FORBID_CONTENTS,z)),s.ADD_FORBID_CONTENTS&&(ut===Le&&(ut=Ct(ut)),w(ut,s.ADD_FORBID_CONTENTS,z)),ae&&($["#text"]=!0),Rt&&w($,["html","head","body"]),$.table&&(w($,["tbody"]),delete bt.tbody),s.TRUSTED_TYPES_POLICY){if(typeof s.TRUSTED_TYPES_POLICY.createHTML!="function")throw vn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof s.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw vn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=s.TRUSTED_TYPES_POLICY,O=v.createHTML("")}else v===void 0&&(v=$f(h,i)),v!==null&&typeof O=="string"&&(O=v.createHTML(""));rt&&rt(s),xe=s}},hi=w({},[...ii,...ri,...Sf]),_i=w({},[...si,...Of]),vs=function(s){let d=x(s);(!d||!d.tagName)&&(d={namespaceURI:De,tagName:"template"});let m=so(s.tagName),R=so(d.tagName);return uo[s.namespaceURI]?s.namespaceURI===On?d.namespaceURI===Pt?m==="svg":d.namespaceURI===Sn?m==="svg"&&(R==="annotation-xml"||Cn[R]):!!hi[m]:s.namespaceURI===Sn?d.namespaceURI===Pt?m==="math":d.namespaceURI===On?m==="math"&&Nn[R]:!!_i[m]:s.namespaceURI===Pt?d.namespaceURI===On&&!Nn[R]||d.namespaceURI===Sn&&!Cn[R]?!1:!_i[m]&&(hs[m]||!hi[m]):!!(Qe==="application/xhtml+xml"&&uo[s.namespaceURI]):!1},St=function(s){gn(t.removed,{element:s});try{x(s).removeChild(s)}catch{b(s)}},le=function(s,d){try{gn(t.removed,{attribute:d.getAttributeNode(s),from:d})}catch{gn(t.removed,{attribute:null,from:d})}if(d.removeAttribute(s),s==="is")if(Yt||Ne)try{St(d)}catch{}else try{d.setAttribute(s,"")}catch{}},gi=function(s){let d=null,m=null;if(Ce)s="<remove></remove>"+s;else{let B=oi(s,/^[\r\n\t ]+/);m=B&&B[0]}Qe==="application/xhtml+xml"&&De===Pt&&(s='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+s+"</body></html>");let R=v?v.createHTML(s):s;if(De===Pt)try{d=new A().parseFromString(R,Qe)}catch{}if(!d||!d.documentElement){d=C.createDocument(De,"template",null);try{d.documentElement.innerHTML=co?O:R}catch{}}let J=d.body||d.documentElement;return s&&m&&J.insertBefore(e.createTextNode(m),J.childNodes[0]||null),De===Pt?W.call(d,Rt?"html":"body")[0]:Rt?d.documentElement:J},Ei=function(s){return I.call(s.ownerDocument||s,s,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},po=function(s){return s instanceof T&&(typeof s.nodeName!="string"||typeof s.textContent!="string"||typeof s.removeChild!="function"||!(s.attributes instanceof u)||typeof s.removeAttribute!="function"||typeof s.setAttribute!="function"||typeof s.namespaceURI!="string"||typeof s.insertBefore!="function"||typeof s.hasChildNodes!="function")},vi=function(s){return typeof l=="function"&&s instanceof l};function $t(_,s,d){oo(_,m=>{m.call(t,s,d,xe)})}let Ti=function(s){let d=null;if($t(N.beforeSanitizeElements,s,null),po(s))return St(s),!0;let m=z(s.nodeName);if($t(N.uponSanitizeElement,s,{tagName:m,allowedTags:$}),Se&&s.hasChildNodes()&&!vi(s.firstElementChild)&&it(/<[/\w!]/g,s.innerHTML)&&it(/<[/\w!]/g,s.textContent)||s.nodeType===An.progressingInstruction||Se&&s.nodeType===An.comment&&it(/<[/\w]/g,s.data))return St(s),!0;if(!(Z.tagCheck instanceof Function&&Z.tagCheck(m))&&(!$[m]||bt[m])){if(!bt[m]&&bi(m)&&(L.tagNameCheck instanceof RegExp&&it(L.tagNameCheck,m)||L.tagNameCheck instanceof Function&&L.tagNameCheck(m)))return!1;if(ae&&!ut[m]){let R=x(s)||s.parentNode,J=D(s)||s.childNodes;if(J&&R){let B=J.length;for(let at=B-1;at>=0;--at){let kt=g(J[at],!0);kt.__removalCount=(s.__removalCount||0)+1,R.insertBefore(kt,S(s))}}}return St(s),!0}return s instanceof c&&!vs(s)||(m==="noscript"||m==="noembed"||m==="noframes")&&it(/<\/no(script|embed|frames)/i,s.innerHTML)?(St(s),!0):(It&&s.nodeType===An.text&&(d=s.textContent,oo([tt,Y,At],R=>{d=En(d,R," ")}),s.textContent!==d&&(gn(t.removed,{element:s.cloneNode()}),s.textContent=d)),$t(N.afterSanitizeElements,s,null),!1)},Ai=function(s,d,m){if(xt[d]||se&&(d==="id"||d==="name")&&(m in e||m in Es))return!1;if(!(qe&&!xt[d]&&it(Nt,d))){if(!(ye&&it(et,d))){if(!(Z.attributeCheck instanceof Function&&Z.attributeCheck(d,s))){if(!k[d]||xt[d]){if(!(bi(s)&&(L.tagNameCheck instanceof RegExp&&it(L.tagNameCheck,s)||L.tagNameCheck instanceof Function&&L.tagNameCheck(s))&&(L.attributeNameCheck instanceof RegExp&&it(L.attributeNameCheck,d)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(d,s))||d==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&it(L.tagNameCheck,m)||L.tagNameCheck instanceof Function&&L.tagNameCheck(m))))return!1}else if(!lo[d]){if(!it(re,En(m,ie,""))){if(!((d==="src"||d==="xlink:href"||d==="href")&&s!=="script"&&Af(m,"data:")===0&&fi[s])){if(!(we&&!it(ct,En(m,ie,"")))){if(m)return!1}}}}}}}return!0},bi=function(s){return s!=="annotation-xml"&&oi(s,Lt)},yi=function(s){$t(N.beforeSanitizeAttributes,s,null);let{attributes:d}=s;if(!d||po(s))return;let m={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:k,forceKeepAttr:void 0},R=d.length;for(;R--;){let J=d[R],{name:B,namespaceURI:at,value:kt}=J,Ie=z(B),mo=kt,X=B==="value"?mo:bf(mo);if(m.attrName=Ie,m.attrValue=X,m.keepAttr=!0,m.forceKeepAttr=void 0,$t(N.uponSanitizeAttribute,s,m),X=m.attrValue,Xe&&(Ie==="id"||Ie==="name")&&(le(B,s),X=wn+X),Se&&it(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,X)){le(B,s);continue}if(Ie==="attributename"&&oi(X,"href")){le(B,s);continue}if(m.forceKeepAttr)continue;if(!m.keepAttr){le(B,s);continue}if(!yn&&it(/\/>/i,X)){le(B,s);continue}It&&oo([tt,Y,At],Si=>{X=En(X,Si," ")});let wi=z(s.nodeName);if(!Ai(wi,Ie,X)){le(B,s);continue}if(v&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!at)switch(h.getAttributeType(wi,Ie)){case"TrustedHTML":{X=v.createHTML(X);break}case"TrustedScriptURL":{X=v.createScriptURL(X);break}}if(X!==mo)try{at?s.setAttributeNS(at,B,X):s.setAttribute(B,X),po(s)?St(s):Qr(t.removed)}catch{le(B,s)}}$t(N.afterSanitizeAttributes,s,null)},Ts=function _(s){let d=null,m=Ei(s);for($t(N.beforeSanitizeShadowDOM,s,null);d=m.nextNode();)$t(N.uponSanitizeShadowNode,d,null),Ti(d),yi(d),d.content instanceof r&&_(d.content);$t(N.afterSanitizeShadowDOM,s,null)};return t.sanitize=function(_){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=null,m=null,R=null,J=null;if(co=!_,co&&(_="<!-->"),typeof _!="string"&&!vi(_))if(typeof _.toString=="function"){if(_=_.toString(),typeof _!="string")throw vn("dirty is not a string, aborting")}else throw vn("toString is not a function");if(!t.isSupported)return _;if(Oe||fo(s),t.removed=[],typeof _=="string"&&(zt=!1),zt){if(_.nodeName){let kt=z(_.nodeName);if(!$[kt]||bt[kt])throw vn("root node is forbidden and cannot be sanitized in-place")}}else if(_ instanceof l)d=gi("<!---->"),m=d.ownerDocument.importNode(_,!0),m.nodeType===An.element&&m.nodeName==="BODY"||m.nodeName==="HTML"?d=m:d.appendChild(m);else{if(!Yt&&!It&&!Rt&&_.indexOf("<")===-1)return v&&pt?v.createHTML(_):_;if(d=gi(_),!d)return Yt?null:pt?O:""}d&&Ce&&St(d.firstChild);let B=Ei(zt?_:d);for(;R=B.nextNode();)Ti(R),yi(R),R.content instanceof r&&Ts(R.content);if(zt)return _;
1if(Yt){if(Ne)for(J=j.call(d.ownerDocument);d.firstChild;)J.appendChild(d.firstChild);else J=d;return(k.shadowroot||k.shadowrootmode)&&(J=F.call(o,J,!0)),J}let at=Rt?d.outerHTML:d.innerHTML;return Rt&&$["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&it(ss,d.ownerDocument.doctype.name)&&(at="<!DOCTYPE "+d.ownerDocument.doctype.name+`> 2`+at),It&&oo([tt,Y,At],kt=>{at=En(at,kt," ")}),v&&pt?v.createHTML(at):at},t.setConfig=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};fo(_),Oe=!0},t.clearConfig=function(){xe=null,Oe=!1},t.isValidAttribute=function(_,s,d){xe||fo({});let m=z(_),R=z(s);return Ai(m,R,d)},t.addHook=function(_,s){typeof s=="function"&&gn(N[_],s)},t.removeHook=function(_,s){if(s!==void 0){let d=vf(N[_],s);return d===-1?void 0:Tf(N[_],d,1)[0]}return Qr(N[_])},t.removeHooks=function(_){N[_]=[]},t.removeAllHooks=function(){N=os()},t}var ao=as();var kf=n=>n.toLowerCase().trim().replace(/[^\w\u00A0-\uFFFF\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""),Hf=(n,t,e)=>{var l;if(n.id)return n.id;let o=`section-${t+1}`,i=kf(n.textContent)||o,r=(l=e.get(i))!=null?l:0;e.set(i,r+1);let a=r?`${i}-${r}`:i;return n.id=a,a},cs=(n,t,e)=>{let o=document.createElement("a");return o.classList.add(e),o.href=`#${n}`,o.textContent=t,o},Ff=n=>{let t=document.createElement("ol");return t.classList.add("toc-children","d-flex","flex-column","row-gap-2","mt-2"),t.replaceChildren(...n.map(({id:e,title:o})=>{let i=document.createElement("li");return i.classList.add("ps-2"),i.append(cs(e,o,["text-gray"])),i})),t},Vf=n=>n.map(({id:t,title:e,children:o})=>{let i=document.createElement("li");return i.classList.add("ps-2"),i.append(cs(t,e,"text-dark")),o.length&&i.append(Ff(o)),i}),ls=()=>{let n=Array.from(document.querySelectorAll(".post-toc"));n.length&&n.forEach(t=>{let e=t.closest("article"),o=e==null?void 0:e.querySelector(".entry-content");t.insertAdjacentHTML("afterbegin",ao.sanitize(` 3 <h6 class="border-bottom pb-2"> 4 <i class="bi-list-check" aria-hidden="true"></i> 5 <span>\u76EE\u6B21</span> 6 </h6> 7 <ol class="post-toc-list fw-bold d-flex flex-column row-gap-2 small"></ol> 8 `));let r=t.querySelector(".post-toc-list");if(!o||!r)return;let a=Array.from(o.querySelectorAll("h2, h3"));if(!a.length)return;let l=new Map,c=a.reduce((p,u,T)=>{let A=u.tagName.toLowerCase(),h=u.textContent.trim();if(!h)return p;let y=Hf(u,T,l);return A==="h2"?(p.push({id:y,title:h,children:[]}),p):(A==="h3"&&p.length&&p[p.length-1].children.push({id:y,title:h}),p)},[]);c.length&&r.replaceChildren(...Vf(c))})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ls):ls();var Wf=()=>{let n=document.querySelector('[data-target="#modal-navigation"]'),t=document.querySelector("aside .sidebar-body"),e=document.querySelector("#modal-navigation .modal-body > .wp-block-group");if(!n||!t||!e)return;let o=e.innerHTML;n.addEventListener("click",()=>{e.innerHTML=o,e.insertAdjacentHTML("beforeend",ao.sanitize(t.outerHTML))})},us=n=>{try{let e=new URL(n,window.location.origin).pathname;return e=e.replace(/\/+$/,"")||"/",e}catch{return null}},Bf=n=>{try{return new URL(n,window.location.origin).origin===window.location.origin}catch{return!1}},Uf=(n,t,e)=>!n||!t?"none":n===t?"page":n==="/"?"none":t.startsWith(n+"/")&&e==="section"?"section":"none",jf=(n,t)=>{let e=us(window.location.pathname);n.querySelectorAll("a[href]").forEach(i=>{let r=i.getAttribute("href");if(!r||r.startsWith("#")||!Bf(r))return;let a=us(r),l=Uf(a,e,t);i.removeAttribute("aria-current"),i.classList.remove("is-active","is-section-active"),i.removeAttribute("data-current"),l==="page"?(i.setAttribute("aria-current","page"),i.classList.add("is-active")):l==="section"&&(i.setAttribute("data-current","section"),i.classList.add("is-section-active"))})},Yf=()=>{let n=document.querySelector("#headerNav, .header-nav");n&&jf(n,"section")};document.addEventListener("DOMContentLoaded",()=>{Wf(),Yf()});var bn=document.getElementById("archiveFilterUi"),fs=document.querySelector('.yoast-breadcrumbs .breadcrumb_last[aria-current="page"]'),ui=document.querySelector("h1");function zf(n){n.preventDefault();let e=[...new FormData(bn).entries()],o={};e.forEach(([l,c])=>{Object.keys(o).includes(l)?o[l].push(c):o[l]=[c]});let i="";
8[...Object.entries(o)].forEach(([l,c],p)=>{i=i+`${p===0?"?":"&"}${encodeURIComponent(l)}=${c.map(u=>encodeURIComponent(u))}`});let a=bn.action+i;window.location.href=i?a:bn.action}bn&&(fs&&ui&&ui.textContent&&(fs.textContent=ui.textContent),bn.addEventListener("submit",zf));var ps=document.getElementById("downloadTarget"),ds=async n=>{let t=await fetch(`/wp-json/download/v1/resolve?token=${encodeURIComponent(n)}`);if(t.ok){let o=(await t.json()).file_url,i=o.split("/").slice(-1)[0],r=document.createElement("a");r.href=o,r.setAttribute("download",i),ps.insertBefore(r,null),r.click(),r.remove()}};if(ps){let n=document.getElementById("downloadBtn"),t=new URLSearchParams(window.location.search).get("token");t&&(window.addEventListener("load",()=>ds(t)),n==null||n.addEventListener("click",()=>ds(t)))}})(); 9/*! Bundled license information: 10 11bootstrap/dist/js/bootstrap.esm.js: 12 (*! 13 * Bootstrap v5.3.8 (https://getbootstrap.com/) 14 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 15 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 16 *) 17 18dompurify/dist/purify.es.mjs: 19 (*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE *) 20*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.