/*! For license information please see vendor.min.js.LICENSE.txt */ (()=>{var t,e={9660:(t,e,n)=>{"use strict";var i={};n.r(i),n.d(i,{afterMain:()=>x,afterRead:()=>M,afterWrite:()=>Y,applyStyles:()=>O,arrow:()=>et,auto:()=>c,basePlacements:()=>d,beforeMain:()=>w,beforeRead:()=>b,beforeWrite:()=>T,bottom:()=>a,clippingParents:()=>m,computeStyles:()=>st,createPopper:()=>Ot,createPopperBase:()=>Ht,createPopperLite:()=>jt,detectOverflow:()=>Lt,end:()=>f,eventListeners:()=>at,flip:()=>Mt,hide:()=>xt,left:()=>u,main:()=>k,modifierPhases:()=>S,offset:()=>Tt,placements:()=>v,popper:()=>_,popperGenerator:()=>At,popperOffsets:()=>Dt,preventOverflow:()=>Yt,read:()=>L,reference:()=>g,right:()=>l,start:()=>h,top:()=>o,variationPlacements:()=>y,viewport:()=>p,write:()=>D});var r=n(4692),s=n.n(r),o="top",a="bottom",l="right",u="left",c="auto",d=[o,a,l,u],h="start",f="end",m="clippingParents",p="viewport",_="popper",g="reference",y=d.reduce((function(t,e){return t.concat([e+"-"+h,e+"-"+f])}),[]),v=[].concat(d,[c]).reduce((function(t,e){return t.concat([e,e+"-"+h,e+"-"+f])}),[]),b="beforeRead",L="read",M="afterRead",w="beforeMain",k="main",x="afterMain",T="beforeWrite",D="write",Y="afterWrite",S=[b,L,M,w,k,x,T,D,Y];function C(t){return t?(t.nodeName||"").toLowerCase():null}function P(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function E(t){return t instanceof P(t).Element||t instanceof Element}function A(t){return t instanceof P(t).HTMLElement||t instanceof HTMLElement}function H(t){return"undefined"!=typeof ShadowRoot&&(t instanceof P(t).ShadowRoot||t instanceof ShadowRoot)}const O={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];A(r)&&C(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});A(i)&&C(i)&&(Object.assign(i.style,s),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function j(t){return t.split("-")[0]}var z=Math.max,N=Math.min,I=Math.round;function F(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function R(){return!/^((?!chrome|android).)*safari/i.test(F())}function W(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,s=1;e&&A(t)&&(r=t.offsetWidth>0&&I(i.width)/t.offsetWidth||1,s=t.offsetHeight>0&&I(i.height)/t.offsetHeight||1);var o=(E(t)?P(t):window).visualViewport,a=!R()&&n,l=(i.left+(a&&o?o.offsetLeft:0))/r,u=(i.top+(a&&o?o.offsetTop:0))/s,c=i.width/r,d=i.height/s;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function B(t){var e=W(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function V(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&H(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function q(t){return P(t).getComputedStyle(t)}function U(t){return["table","td","th"].indexOf(C(t))>=0}function Z(t){return((E(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){return"html"===C(t)?t:t.assignedSlot||t.parentNode||(H(t)?t.host:null)||Z(t)}function G(t){return A(t)&&"fixed"!==q(t).position?t.offsetParent:null}function J(t){for(var e=P(t),n=G(t);n&&U(n)&&"static"===q(n).position;)n=G(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===q(n).position)?e:n||function(t){var e=/firefox/i.test(F());if(/Trident/i.test(F())&&A(t)&&"fixed"===q(t).position)return null;var n=$(t);for(H(n)&&(n=n.host);A(n)&&["html","body"].indexOf(C(n))<0;){var i=q(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function K(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function X(t,e,n){return z(t,N(e,n))}function Q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function tt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}const et={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,h=j(n.placement),f=K(h),m=[u,l].indexOf(h)>=0?"height":"width";if(s&&c){var p=function(t,e){return Q("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:tt(t,d))}(r.padding,n),_=B(s),g="y"===f?o:u,y="y"===f?a:l,v=n.rects.reference[m]+n.rects.reference[f]-c[f]-n.rects.popper[m],b=c[f]-n.rects.reference[f],L=J(s),M=L?"y"===f?L.clientHeight||0:L.clientWidth||0:0,w=v/2-b/2,k=p[g],x=M-_[m]-p[y],T=M/2-_[m]/2+w,D=X(k,T,x),Y=f;n.modifiersData[i]=((e={})[Y]=D,e.centerOffset=D-T,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&V(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nt(t){return t.split("-")[1]}var it={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rt(t){var e,n=t.popper,i=t.popperRect,r=t.placement,s=t.variation,c=t.offsets,d=t.position,h=t.gpuAcceleration,m=t.adaptive,p=t.roundOffsets,_=t.isFixed,g=c.x,y=void 0===g?0:g,v=c.y,b=void 0===v?0:v,L="function"==typeof p?p({x:y,y:b}):{x:y,y:b};y=L.x,b=L.y;var M=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),k=u,x=o,T=window;if(m){var D=J(n),Y="clientHeight",S="clientWidth";if(D===P(n)&&"static"!==q(D=Z(n)).position&&"absolute"===d&&(Y="scrollHeight",S="scrollWidth"),r===o||(r===u||r===l)&&s===f)x=a,b-=(_&&D===T&&T.visualViewport?T.visualViewport.height:D[Y])-i.height,b*=h?1:-1;if(r===u||(r===o||r===a)&&s===f)k=l,y-=(_&&D===T&&T.visualViewport?T.visualViewport.width:D[S])-i.width,y*=h?1:-1}var C,E=Object.assign({position:d},m&&it),A=!0===p?function(t,e){var n=t.x,i=t.y,r=e.devicePixelRatio||1;return{x:I(n*r)/r||0,y:I(i*r)/r||0}}({x:y,y:b},P(n)):{x:y,y:b};return y=A.x,b=A.y,h?Object.assign({},E,((C={})[x]=w?"0":"",C[k]=M?"0":"",C.transform=(T.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",C)):Object.assign({},E,((e={})[x]=w?b+"px":"",e[k]=M?y+"px":"",e.transform="",e))}const st={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,u={placement:j(e.placement),variation:nt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,rt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,rt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var ot={passive:!0};const at={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,s=void 0===r||r,o=i.resize,a=void 0===o||o,l=P(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",n.update,ot)})),a&&l.addEventListener("resize",n.update,ot),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",n.update,ot)})),a&&l.removeEventListener("resize",n.update,ot)}},data:{}};var lt={left:"right",right:"left",bottom:"top",top:"bottom"};function ut(t){return t.replace(/left|right|bottom|top/g,(function(t){return lt[t]}))}var ct={start:"end",end:"start"};function dt(t){return t.replace(/start|end/g,(function(t){return ct[t]}))}function ht(t){var e=P(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ft(t){return W(Z(t)).left+ht(t).scrollLeft}function mt(t){var e=q(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function pt(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:A(t)&&mt(t)?t:pt($(t))}function _t(t,e){var n;void 0===e&&(e=[]);var i=pt(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),s=P(i),o=r?[s].concat(s.visualViewport||[],mt(i)?i:[]):i,a=e.concat(o);return r?a:a.concat(_t($(o)))}function gt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function yt(t,e,n){return e===p?gt(function(t,e){var n=P(t),i=Z(t),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var u=R();(u||!u&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+ft(t),y:l}}(t,n)):E(e)?function(t,e){var n=W(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):gt(function(t){var e,n=Z(t),i=ht(t),r=null==(e=t.ownerDocument)?void 0:e.body,s=z(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=z(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+ft(t),l=-i.scrollTop;return"rtl"===q(r||n).direction&&(a+=z(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(Z(t)))}function vt(t,e,n,i){var r="clippingParents"===e?function(t){var e=_t($(t)),n=["absolute","fixed"].indexOf(q(t).position)>=0&&A(t)?J(t):t;return E(n)?e.filter((function(t){return E(t)&&V(t,n)&&"body"!==C(t)})):[]}(t):[].concat(e),s=[].concat(r,[n]),o=s[0],a=s.reduce((function(e,n){var r=yt(t,n,i);return e.top=z(r.top,e.top),e.right=N(r.right,e.right),e.bottom=N(r.bottom,e.bottom),e.left=z(r.left,e.left),e}),yt(t,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function bt(t){var e,n=t.reference,i=t.element,r=t.placement,s=r?j(r):null,c=r?nt(r):null,d=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2;switch(s){case o:e={x:d,y:n.y-i.height};break;case a:e={x:d,y:n.y+n.height};break;case l:e={x:n.x+n.width,y:m};break;case u:e={x:n.x-i.width,y:m};break;default:e={x:n.x,y:n.y}}var p=s?K(s):null;if(null!=p){var _="y"===p?"height":"width";switch(c){case h:e[p]=e[p]-(n[_]/2-i[_]/2);break;case f:e[p]=e[p]+(n[_]/2-i[_]/2)}}return e}function Lt(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,s=n.strategy,u=void 0===s?t.strategy:s,c=n.boundary,h=void 0===c?m:c,f=n.rootBoundary,y=void 0===f?p:f,v=n.elementContext,b=void 0===v?_:v,L=n.altBoundary,M=void 0!==L&&L,w=n.padding,k=void 0===w?0:w,x=Q("number"!=typeof k?k:tt(k,d)),T=b===_?g:_,D=t.rects.popper,Y=t.elements[M?T:b],S=vt(E(Y)?Y:Y.contextElement||Z(t.elements.popper),h,y,u),C=W(t.elements.reference),P=bt({reference:C,element:D,strategy:"absolute",placement:r}),A=gt(Object.assign({},D,P)),H=b===_?A:C,O={top:S.top-H.top+x.top,bottom:H.bottom-S.bottom+x.bottom,left:S.left-H.left+x.left,right:H.right-S.right+x.right},j=t.modifiersData.offset;if(b===_&&j){var z=j[r];Object.keys(O).forEach((function(t){var e=[l,a].indexOf(t)>=0?1:-1,n=[o,a].indexOf(t)>=0?"y":"x";O[t]+=z[n]*e}))}return O}const Mt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,s=void 0===r||r,f=n.altAxis,m=void 0===f||f,p=n.fallbackPlacements,_=n.padding,g=n.boundary,b=n.rootBoundary,L=n.altBoundary,M=n.flipVariations,w=void 0===M||M,k=n.allowedAutoPlacements,x=e.options.placement,T=j(x),D=p||(T===x||!w?[ut(x)]:function(t){if(j(t)===c)return[];var e=ut(t);return[dt(t),e,dt(e)]}(x)),Y=[x].concat(D).reduce((function(t,n){return t.concat(j(n)===c?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?v:l,c=nt(i),h=c?a?y:y.filter((function(t){return nt(t)===c})):d,f=h.filter((function(t){return u.indexOf(t)>=0}));0===f.length&&(f=h);var m=f.reduce((function(e,n){return e[n]=Lt(t,{placement:n,boundary:r,rootBoundary:s,padding:o})[j(n)],e}),{});return Object.keys(m).sort((function(t,e){return m[t]-m[e]}))}(e,{placement:n,boundary:g,rootBoundary:b,padding:_,flipVariations:w,allowedAutoPlacements:k}):n)}),[]),S=e.rects.reference,C=e.rects.popper,P=new Map,E=!0,A=Y[0],H=0;H=0,F=I?"width":"height",R=Lt(e,{placement:O,boundary:g,rootBoundary:b,altBoundary:L,padding:_}),W=I?N?l:u:N?a:o;S[F]>C[F]&&(W=ut(W));var B=ut(W),V=[];if(s&&V.push(R[z]<=0),m&&V.push(R[W]<=0,R[B]<=0),V.every((function(t){return t}))){A=O,E=!1;break}P.set(O,V)}if(E)for(var q=function(t){var e=Y.find((function(e){var n=P.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return A=e,"break"},U=w?3:1;U>0;U--){if("break"===q(U))break}e.placement!==A&&(e.modifiersData[i]._skip=!0,e.placement=A,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function wt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function kt(t){return[o,l,a,u].some((function(e){return t[e]>=0}))}const xt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=Lt(e,{elementContext:"reference"}),a=Lt(e,{altBoundary:!0}),l=wt(o,i),u=wt(a,r,s),c=kt(l),d=kt(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};const Tt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,s=void 0===r?[0,0]:r,a=v.reduce((function(t,n){return t[n]=function(t,e,n){var i=j(t),r=[u,o].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=s[0],c=s[1];return a=a||0,c=(c||0)*r,[u,l].indexOf(i)>=0?{x:c,y:a}:{x:a,y:c}}(n,e.rects,s),t}),{}),c=a[e.placement],d=c.x,h=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=h),e.modifiersData[i]=a}};const Dt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=bt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};const Yt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,s=void 0===r||r,c=n.altAxis,d=void 0!==c&&c,f=n.boundary,m=n.rootBoundary,p=n.altBoundary,_=n.padding,g=n.tether,y=void 0===g||g,v=n.tetherOffset,b=void 0===v?0:v,L=Lt(e,{boundary:f,rootBoundary:m,padding:_,altBoundary:p}),M=j(e.placement),w=nt(e.placement),k=!w,x=K(M),T="x"===x?"y":"x",D=e.modifiersData.popperOffsets,Y=e.rects.reference,S=e.rects.popper,C="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,P="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),E=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(D){if(s){var H,O="y"===x?o:u,I="y"===x?a:l,F="y"===x?"height":"width",R=D[x],W=R+L[O],V=R-L[I],q=y?-S[F]/2:0,U=w===h?Y[F]:S[F],Z=w===h?-S[F]:-Y[F],$=e.elements.arrow,G=y&&$?B($):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=Q[O],et=Q[I],it=X(0,Y[F],G[F]),rt=k?Y[F]/2-q-it-tt-P.mainAxis:U-it-tt-P.mainAxis,st=k?-Y[F]/2+q+it+et+P.mainAxis:Z+it+et+P.mainAxis,ot=e.elements.arrow&&J(e.elements.arrow),at=ot?"y"===x?ot.clientTop||0:ot.clientLeft||0:0,lt=null!=(H=null==E?void 0:E[x])?H:0,ut=R+st-lt,ct=X(y?N(W,R+rt-lt-at):W,R,y?z(V,ut):V);D[x]=ct,A[x]=ct-R}if(d){var dt,ht="x"===x?o:u,ft="x"===x?a:l,mt=D[T],pt="y"===T?"height":"width",_t=mt+L[ht],gt=mt-L[ft],yt=-1!==[o,u].indexOf(M),vt=null!=(dt=null==E?void 0:E[T])?dt:0,bt=yt?_t:mt-Y[pt]-S[pt]-vt+P.altAxis,Mt=yt?mt+Y[pt]+S[pt]-vt-P.altAxis:gt,wt=y&&yt?function(t,e,n){var i=X(t,e,n);return i>n?n:i}(bt,mt,Mt):X(y?bt:_t,mt,y?Mt:gt);D[T]=wt,A[T]=wt-mt}e.modifiersData[i]=A}},requiresIfExists:["offset"]};function St(t,e,n){void 0===n&&(n=!1);var i,r,s=A(e),o=A(e)&&function(t){var e=t.getBoundingClientRect(),n=I(e.width)/t.offsetWidth||1,i=I(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=Z(e),l=W(t,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==C(e)||mt(a))&&(u=(i=e)!==P(i)&&A(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:ht(i)),A(e)?((c=W(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=ft(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function Ct(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var Pt={placement:"bottom",modifiers:[],strategy:"absolute"};function Et(){for(var t=arguments.length,e=new Array(t),n=0;nzt.has(t)&&zt.get(t).get(e)||null,remove(t,e){if(!zt.has(t))return;const n=zt.get(t);n.delete(e),0===n.size&&zt.delete(t)}},It="transitionend",Ft=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),Rt=t=>{t.dispatchEvent(new Event(It))},Wt=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Bt=t=>Wt(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(Ft(t)):null,Vt=t=>{if(!Wt(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},qt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),Ut=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Ut(t.parentNode):null},Zt=()=>{},$t=t=>{t.offsetHeight},Gt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Jt=[],Kt=()=>"rtl"===document.documentElement.dir,Xt=t=>{var e;e=()=>{const e=Gt();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?(Jt.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of Jt)t()})),Jt.push(e)):e()},Qt=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,te=(t,e,n=!0)=>{if(!n)return void Qt(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),r=Number.parseFloat(n);return i||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let r=!1;const s=({target:n})=>{n===e&&(r=!0,e.removeEventListener(It,s),Qt(t))};e.addEventListener(It,s),setTimeout((()=>{r||Rt(e)}),i)},ee=(t,e,n,i)=>{const r=t.length;let s=t.indexOf(e);return-1===s?!n&&i?t[r-1]:t[0]:(s+=n?1:-1,i&&(s=(s+r)%r),t[Math.max(0,Math.min(s,r-1))])},ne=/[^.]*(?=\..*)\.|.*/,ie=/\..*/,re=/::\d+$/,se={};let oe=1;const ae={mouseenter:"mouseover",mouseleave:"mouseout"},le=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 ue(t,e){return e&&`${e}::${oe++}`||t.uidEvent||oe++}function ce(t){const e=ue(t);return t.uidEvent=e,se[e]=se[e]||{},se[e]}function de(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function he(t,e,n){const i="string"==typeof e,r=i?n:e||n;let s=_e(t);return le.has(s)||(s=t),[i,r,s]}function fe(t,e,n,i,r){if("string"!=typeof e||!t)return;let[s,o,a]=he(e,n,i);if(e in ae){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};o=t(o)}const l=ce(t),u=l[a]||(l[a]={}),c=de(u,o,s?n:null);if(c)return void(c.oneOff=c.oneOff&&r);const d=ue(o,e.replace(ne,"")),h=s?function(t,e,n){return function i(r){const s=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return ye(r,{delegateTarget:o}),i.oneOff&&ge.off(t,r.type,e,n),n.apply(o,[r])}}(t,n,o):function(t,e){return function n(i){return ye(i,{delegateTarget:t}),n.oneOff&&ge.off(t,i.type,e),e.apply(t,[i])}}(t,o);h.delegationSelector=s?n:null,h.callable=o,h.oneOff=r,h.uidEvent=d,u[d]=h,t.addEventListener(a,h,s)}function me(t,e,n,i,r){const s=de(e[n],i,r);s&&(t.removeEventListener(n,s,Boolean(r)),delete e[n][s.uidEvent])}function pe(t,e,n,i){const r=e[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&me(t,e,n,o.callable,o.delegationSelector)}function _e(t){return t=t.replace(ie,""),ae[t]||t}const ge={on(t,e,n,i){fe(t,e,n,i,!1)},one(t,e,n,i){fe(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[r,s,o]=he(e,n,i),a=o!==e,l=ce(t),u=l[o]||{},c=e.startsWith(".");if(void 0===s){if(c)for(const n of Object.keys(l))pe(t,l,n,e.slice(1));for(const[n,i]of Object.entries(u)){const r=n.replace(re,"");a&&!e.includes(r)||me(t,l,o,i.callable,i.delegationSelector)}}else{if(!Object.keys(u).length)return;me(t,l,o,s,r?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=Gt();let r=null,s=!0,o=!0,a=!1;e!==_e(e)&&i&&(r=i.Event(e,n),i(t).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=ye(new Event(e,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&t.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function ye(t,e={}){for(const[n,i]of Object.entries(e))try{t[n]=i}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}function ve(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function be(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Le={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${be(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${be(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ve(t.dataset[i])}return e},getDataAttribute:(t,e)=>ve(t.getAttribute(`data-bs-${be(e)}`))};class Me{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){const n=Wt(e)?Le.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Wt(e)?Le.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,r]of Object.entries(e)){const e=t[i],s=Wt(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${r}".`)}var n}}class we extends Me{constructor(t,e){super(),(t=Bt(t))&&(this._element=t,this._config=this._getConfig(e),Nt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Nt.remove(this._element,this.constructor.DATA_KEY),ge.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){te(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Nt.get(Bt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ke=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>Ft(t))).join(","):null},xe={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!qt(t)&&Vt(t)))},getSelectorFromElement(t){const e=ke(t);return e&&xe.findOne(e)?e:null},getElementFromSelector(t){const e=ke(t);return e?xe.findOne(e):null},getMultipleElementsFromSelector(t){const e=ke(t);return e?xe.find(e):[]}},Te=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,i=t.NAME;ge.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),qt(this))return;const r=xe.getElementFromSelector(this)||this.closest(`.${i}`);t.getOrCreateInstance(r)[e]()}))},De=".bs.alert",Ye=`close${De}`,Se=`closed${De}`;class Ce extends we{static get NAME(){return"alert"}close(){if(ge.trigger(this._element,Ye).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),ge.trigger(this._element,Se),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=Ce.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Te(Ce,"close"),Xt(Ce);const Pe='[data-bs-toggle="button"]';class Ee extends we{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=Ee.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}ge.on(document,"click.bs.button.data-api",Pe,(t=>{t.preventDefault();const e=t.target.closest(Pe);Ee.getOrCreateInstance(e).toggle()})),Xt(Ee);const Ae=".bs.swipe",He=`touchstart${Ae}`,Oe=`touchmove${Ae}`,je=`touchend${Ae}`,ze=`pointerdown${Ae}`,Ne=`pointerup${Ae}`,Ie={endCallback:null,leftCallback:null,rightCallback:null},Fe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Re extends Me{constructor(t,e){super(),this._element=t,t&&Re.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Ie}static get DefaultType(){return Fe}static get NAME(){return"swipe"}dispose(){ge.off(this._element,Ae)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Qt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Qt(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ge.on(this._element,ze,(t=>this._start(t))),ge.on(this._element,Ne,(t=>this._end(t))),this._element.classList.add("pointer-event")):(ge.on(this._element,He,(t=>this._start(t))),ge.on(this._element,Oe,(t=>this._move(t))),ge.on(this._element,je,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const We=".bs.carousel",Be=".data-api",Ve="next",qe="prev",Ue="left",Ze="right",$e=`slide${We}`,Ge=`slid${We}`,Je=`keydown${We}`,Ke=`mouseenter${We}`,Xe=`mouseleave${We}`,Qe=`dragstart${We}`,tn=`load${We}${Be}`,en=`click${We}${Be}`,nn="carousel",rn="active",sn=".active",on=".carousel-item",an=sn+on,ln={ArrowLeft:Ze,ArrowRight:Ue},un={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},cn={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class dn extends we{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=xe.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===nn&&this.cycle()}static get Default(){return un}static get DefaultType(){return cn}static get NAME(){return"carousel"}next(){this._slide(Ve)}nextWhenVisible(){!document.hidden&&Vt(this._element)&&this.next()}prev(){this._slide(qe)}pause(){this._isSliding&&Rt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?ge.one(this._element,Ge,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void ge.one(this._element,Ge,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Ve:qe;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&&ge.on(this._element,Je,(t=>this._keydown(t))),"hover"===this._config.pause&&(ge.on(this._element,Ke,(()=>this.pause())),ge.on(this._element,Xe,(()=>this._maybeEnableCycle()))),this._config.touch&&Re.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of xe.find(".carousel-item img",this._element))ge.on(t,Qe,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(Ue)),rightCallback:()=>this._slide(this._directionToOrder(Ze)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Re(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=ln[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=xe.findOne(sn,this._indicatorsElement);e.classList.remove(rn),e.removeAttribute("aria-current");const n=xe.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(rn),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===Ve,r=e||ee(this._getItems(),n,i,this._config.wrap);if(r===n)return;const s=this._getItemIndex(r),o=e=>ge.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});if(o($e).defaultPrevented)return;if(!n||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=i?"carousel-item-start":"carousel-item-end",u=i?"carousel-item-next":"carousel-item-prev";r.classList.add(u),$t(r),n.classList.add(l),r.classList.add(l);this._queueCallback((()=>{r.classList.remove(l,u),r.classList.add(rn),n.classList.remove(rn,u,l),this._isSliding=!1,o(Ge)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return xe.findOne(an,this._element)}_getItems(){return xe.find(on,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Kt()?t===Ue?qe:Ve:t===Ue?Ve:qe}_orderToDirection(t){return Kt()?t===qe?Ue:Ze:t===qe?Ze:Ue}static jQueryInterface(t){return this.each((function(){const e=dn.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}ge.on(document,en,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=xe.getElementFromSelector(this);if(!e||!e.classList.contains(nn))return;t.preventDefault();const n=dn.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===Le.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),ge.on(window,tn,(()=>{const t=xe.find('[data-bs-ride="carousel"]');for(const e of t)dn.getOrCreateInstance(e)})),Xt(dn);const hn=".bs.collapse",fn=`show${hn}`,mn=`shown${hn}`,pn=`hide${hn}`,_n=`hidden${hn}`,gn=`click${hn}.data-api`,yn="show",vn="collapse",bn="collapsing",Ln=`:scope .${vn} .${vn}`,Mn='[data-bs-toggle="collapse"]',wn={parent:null,toggle:!0},kn={parent:"(null|element)",toggle:"boolean"};class xn extends we{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=xe.find(Mn);for(const t of n){const e=xe.getSelectorFromElement(t),n=xe.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wn}static get DefaultType(){return kn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>xn.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(ge.trigger(this._element,fn).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(vn),this._element.classList.add(bn),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(bn),this._element.classList.add(vn,yn),this._element.style[e]="",ge.trigger(this._element,mn)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ge.trigger(this._element,pn).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,$t(this._element),this._element.classList.add(bn),this._element.classList.remove(vn,yn);for(const t of this._triggerArray){const e=xe.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(bn),this._element.classList.add(vn),ge.trigger(this._element,_n)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(yn)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=Bt(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Mn);for(const e of t){const t=xe.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=xe.find(Ln,this._config.parent);return xe.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=xn.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}ge.on(document,gn,Mn,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of xe.getMultipleElementsFromSelector(this))xn.getOrCreateInstance(t,{toggle:!1}).toggle()})),Xt(xn);const Tn="dropdown",Dn=".bs.dropdown",Yn=".data-api",Sn="ArrowUp",Cn="ArrowDown",Pn=`hide${Dn}`,En=`hidden${Dn}`,An=`show${Dn}`,Hn=`shown${Dn}`,On=`click${Dn}${Yn}`,jn=`keydown${Dn}${Yn}`,zn=`keyup${Dn}${Yn}`,Nn="show",In='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Fn=`${In}.${Nn}`,Rn=".dropdown-menu",Wn=Kt()?"top-end":"top-start",Bn=Kt()?"top-start":"top-end",Vn=Kt()?"bottom-end":"bottom-start",qn=Kt()?"bottom-start":"bottom-end",Un=Kt()?"left-start":"right-start",Zn=Kt()?"right-start":"left-start",$n={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Jn extends we{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=xe.next(this._element,Rn)[0]||xe.prev(this._element,Rn)[0]||xe.findOne(Rn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return $n}static get DefaultType(){return Gn}static get NAME(){return Tn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(qt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!ge.trigger(this._element,An,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))ge.on(t,"mouseover",Zt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Nn),this._element.classList.add(Nn),ge.trigger(this._element,Hn,t)}}hide(){if(qt(this._element)||!this._isShown())return;const 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(!ge.trigger(this._element,Pn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))ge.off(t,"mouseover",Zt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Nn),this._element.classList.remove(Nn),this._element.setAttribute("aria-expanded","false"),Le.removeDataAttribute(this._menu,"popper"),ge.trigger(this._element,En,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!Wt(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Tn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:Wt(this._config.reference)?t=Bt(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Ot(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Nn)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Un;if(t.classList.contains("dropstart"))return Zn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Bn:Wn:e?qn:Vn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Le.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Qt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=xe.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>Vt(t)));n.length&&ee(n,e,t===Cn,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Jn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=xe.find(Fn);for(const n of e){const e=Jn.getInstance(n);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),r=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!r||"outside"===e._config.autoClose&&r)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const s={relatedTarget:e._element};"click"===t.type&&(s.clickEvent=t),e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[Sn,Cn].includes(t.key);if(!i&&!n)return;if(e&&!n)return;t.preventDefault();const r=this.matches(In)?this:xe.prev(this,In)[0]||xe.next(this,In)[0]||xe.findOne(In,t.delegateTarget.parentNode),s=Jn.getOrCreateInstance(r);if(i)return t.stopPropagation(),s.show(),void s._selectMenuItem(t);s._isShown()&&(t.stopPropagation(),s.hide(),r.focus())}}ge.on(document,jn,In,Jn.dataApiKeydownHandler),ge.on(document,jn,Rn,Jn.dataApiKeydownHandler),ge.on(document,On,Jn.clearMenus),ge.on(document,zn,Jn.clearMenus),ge.on(document,On,In,(function(t){t.preventDefault(),Jn.getOrCreateInstance(this).toggle()})),Xt(Jn);const Kn="backdrop",Xn="show",Qn=`mousedown.bs.${Kn}`,ti={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ei={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ni extends Me{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ti}static get DefaultType(){return ei}static get NAME(){return Kn}show(t){if(!this._config.isVisible)return void Qt(t);this._append();const e=this._getElement();this._config.isAnimated&&$t(e),e.classList.add(Xn),this._emulateAnimation((()=>{Qt(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Xn),this._emulateAnimation((()=>{this.dispose(),Qt(t)}))):Qt(t)}dispose(){this._isAppended&&(ge.off(this._element,Qn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Bt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),ge.on(t,Qn,(()=>{Qt(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){te(t,this._getElement(),this._config.isAnimated)}}const ii=".bs.focustrap",ri=`focusin${ii}`,si=`keydown.tab${ii}`,oi="backward",ai={autofocus:!0,trapElement:null},li={autofocus:"boolean",trapElement:"element"};class ui extends Me{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ai}static get DefaultType(){return li}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ge.off(document,ii),ge.on(document,ri,(t=>this._handleFocusin(t))),ge.on(document,si,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ge.off(document,ii))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=xe.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===oi?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?oi:"forward")}}const ci=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",di=".sticky-top",hi="padding-right",fi="margin-right";class mi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,hi,(e=>e+t)),this._setElementAttributes(ci,hi,(e=>e+t)),this._setElementAttributes(di,fi,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,hi),this._resetElementAttributes(ci,hi),this._resetElementAttributes(di,fi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&Le.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=Le.getDataAttribute(t,e);null!==n?(Le.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(Wt(t))e(t);else for(const n of xe.find(t,this._element))e(n)}}const pi=".bs.modal",_i=`hide${pi}`,gi=`hidePrevented${pi}`,yi=`hidden${pi}`,vi=`show${pi}`,bi=`shown${pi}`,Li=`resize${pi}`,Mi=`click.dismiss${pi}`,wi=`mousedown.dismiss${pi}`,ki=`keydown.dismiss${pi}`,xi=`click${pi}.data-api`,Ti="modal-open",Di="show",Yi="modal-static",Si={backdrop:!0,focus:!0,keyboard:!0},Ci={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Pi extends we{constructor(t,e){super(t,e),this._dialog=xe.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new mi,this._addEventListeners()}static get Default(){return Si}static get DefaultType(){return Ci}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;ge.trigger(this._element,vi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;ge.trigger(this._element,_i).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Di),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){ge.off(window,pi),ge.off(this._dialog,pi),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ni({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ui({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;const e=xe.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),$t(this._element),this._element.classList.add(Di);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ge.trigger(this._element,bi,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){ge.on(this._element,ki,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),ge.on(window,Li,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),ge.on(this._element,wi,(t=>{ge.one(this._element,Mi,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ti),this._resetAdjustments(),this._scrollBar.reset(),ge.trigger(this._element,yi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ge.trigger(this._element,gi).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Yi)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yi),this._queueCallback((()=>{this._element.classList.remove(Yi),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=Kt()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=Kt()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=Pi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}ge.on(document,xi,'[data-bs-toggle="modal"]',(function(t){const e=xe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),ge.one(e,vi,(t=>{t.defaultPrevented||ge.one(e,yi,(()=>{Vt(this)&&this.focus()}))}));const n=xe.findOne(".modal.show");n&&Pi.getInstance(n).hide();Pi.getOrCreateInstance(e).toggle(this)})),Te(Pi),Xt(Pi);const Ei=".bs.offcanvas",Ai=".data-api",Hi=`load${Ei}${Ai}`,Oi="show",ji="showing",zi="hiding",Ni=".offcanvas.show",Ii=`show${Ei}`,Fi=`shown${Ei}`,Ri=`hide${Ei}`,Wi=`hidePrevented${Ei}`,Bi=`hidden${Ei}`,Vi=`resize${Ei}`,qi=`click${Ei}${Ai}`,Ui=`keydown.dismiss${Ei}`,Zi={backdrop:!0,keyboard:!0,scroll:!1},$i={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Gi extends we{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Zi}static get DefaultType(){return $i}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(ge.trigger(this._element,Ii,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new mi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ji);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Oi),this._element.classList.remove(ji),ge.trigger(this._element,Fi,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(ge.trigger(this._element,Ri).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(zi),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Oi,zi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new mi).reset(),ge.trigger(this._element,Bi)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new ni({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():ge.trigger(this._element,Wi)}:null})}_initializeFocusTrap(){return new ui({trapElement:this._element})}_addEventListeners(){ge.on(this._element,Ui,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():ge.trigger(this._element,Wi))}))}static jQueryInterface(t){return this.each((function(){const e=Gi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}ge.on(document,qi,'[data-bs-toggle="offcanvas"]',(function(t){const e=xe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),qt(this))return;ge.one(e,Bi,(()=>{Vt(this)&&this.focus()}));const n=xe.findOne(Ni);n&&n!==e&&Gi.getInstance(n).hide();Gi.getOrCreateInstance(e).toggle(this)})),ge.on(window,Hi,(()=>{for(const t of xe.find(Ni))Gi.getOrCreateInstance(t).show()})),ge.on(window,Vi,(()=>{for(const t of xe.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Gi.getOrCreateInstance(t).hide()})),Te(Gi),Xt(Gi);const Ji={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},Ki=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Qi=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!Ki.has(n)||Boolean(Xi.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};const tr={allowList:Ji,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},er={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},nr={entry:"(string|element|function|null)",selector:"(string|element)"};class ir extends Me{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return tr}static get DefaultType(){return er}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._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(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},nr)}_setContent(t,e,n){const i=xe.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?Wt(e)?this._putElementInTemplate(Bt(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const t of r){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),r=[].concat(e["*"]||[],e[n]||[]);for(const e of i)Qi(e,r)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Qt(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const rr=new Set(["sanitize","allowList","sanitizeFn"]),sr="fade",or="show",ar=".modal",lr="hide.bs.modal",ur="hover",cr="focus",dr={AUTO:"auto",TOP:"top",RIGHT:Kt()?"left":"right",BOTTOM:"bottom",LEFT:Kt()?"right":"left"},hr={allowList:Ji,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},fr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class mr extends we{constructor(t,e){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");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 hr}static get DefaultType(){return fr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),ge.off(this._element.closest(ar),lr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=ge.trigger(this._element,this.constructor.eventName("show")),e=(Ut(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),ge.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(or),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))ge.on(t,"mouseover",Zt);this._queueCallback((()=>{ge.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(ge.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(or),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))ge.off(t,"mouseover",Zt);this._activeTrigger.click=!1,this._activeTrigger[cr]=!1,this._activeTrigger[ur]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ge.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(sr,or),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(sr),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ir({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(sr)}_isShown(){return this.tip&&this.tip.classList.contains(or)}_createPopper(t){const e=Qt(this._config.placement,[this,t,this._element]),n=dr[e.toUpperCase()];return Ot(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Qt(t,[this._element])}_getPopperConfig(t){const 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:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Qt(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)ge.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===ur?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===ur?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");ge.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?cr:ur]=!0,e._enter()})),ge.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?cr:ur]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},ge.on(this._element.closest(ar),lr,this._hideModalHandler)}_fixTitle(){const 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(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=Le.getDataAttributes(this._element);for(const t of Object.keys(e))rr.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:Bt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);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(){const e=mr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Xt(mr);const pr={...mr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},_r={...mr.DefaultType,content:"(null|string|element|function)"};class gr extends mr{static get Default(){return pr}static get DefaultType(){return _r}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=gr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Xt(gr);const yr=".bs.scrollspy",vr=`activate${yr}`,br=`click${yr}`,Lr=`load${yr}.data-api`,Mr="active",wr="[href]",kr=".nav-link",xr=`${kr}, .nav-item > ${kr}, .list-group-item`,Tr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Dr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Yr extends we{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Tr}static get DefaultType(){return Dr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Bt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ge.off(this._config.target,br),ge.on(this._config.target,br,wr,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of t){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){if(n(s),!i)return}else r||t||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=xe.find(wr,this._config.target);for(const e of t){if(!e.hash||qt(e))continue;const t=xe.findOne(decodeURI(e.hash),this._element);Vt(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Mr),this._activateParents(t),ge.trigger(this._element,vr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))xe.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Mr);else for(const e of xe.parents(t,".nav, .list-group"))for(const t of xe.prev(e,xr))t.classList.add(Mr)}_clearActiveClass(t){t.classList.remove(Mr);const e=xe.find(`${wr}.${Mr}`,t);for(const t of e)t.classList.remove(Mr)}static jQueryInterface(t){return this.each((function(){const e=Yr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}ge.on(window,Lr,(()=>{for(const t of xe.find('[data-bs-spy="scroll"]'))Yr.getOrCreateInstance(t)})),Xt(Yr);const Sr=".bs.tab",Cr=`hide${Sr}`,Pr=`hidden${Sr}`,Er=`show${Sr}`,Ar=`shown${Sr}`,Hr=`click${Sr}`,Or=`keydown${Sr}`,jr=`load${Sr}`,zr="ArrowLeft",Nr="ArrowRight",Ir="ArrowUp",Fr="ArrowDown",Rr="Home",Wr="End",Br="active",Vr="fade",qr="show",Ur=".dropdown-toggle",Zr=`:not(${Ur})`,$r='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Gr=`${`.nav-link${Zr}, .list-group-item${Zr}, [role="tab"]${Zr}`}, ${$r}`,Jr=`.${Br}[data-bs-toggle="tab"], .${Br}[data-bs-toggle="pill"], .${Br}[data-bs-toggle="list"]`;class Kr extends we{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ge.on(this._element,Or,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?ge.trigger(e,Cr,{relatedTarget:t}):null;ge.trigger(t,Er,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Br),this._activate(xe.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),ge.trigger(t,Ar,{relatedTarget:e})):t.classList.add(qr)}),t,t.classList.contains(Vr))}_deactivate(t,e){if(!t)return;t.classList.remove(Br),t.blur(),this._deactivate(xe.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),ge.trigger(t,Pr,{relatedTarget:e})):t.classList.remove(qr)}),t,t.classList.contains(Vr))}_keydown(t){if(![zr,Nr,Ir,Fr,Rr,Wr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!qt(t)));let n;if([Rr,Wr].includes(t.key))n=e[t.key===Rr?0:e.length-1];else{const i=[Nr,Fr].includes(t.key);n=ee(e,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Kr.getOrCreateInstance(n).show())}_getChildren(){return xe.find(Gr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=xe.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(t,i)=>{const r=xe.findOne(t,n);r&&r.classList.toggle(i,e)};i(Ur,Br),i(".dropdown-menu",qr),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(Br)}_getInnerElement(t){return t.matches(Gr)?t:xe.findOne(Gr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Kr.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}ge.on(document,Hr,$r,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),qt(this)||Kr.getOrCreateInstance(this).show()})),ge.on(window,jr,(()=>{for(const t of xe.find(Jr))Kr.getOrCreateInstance(t)})),Xt(Kr);const Xr=".bs.toast",Qr=`mouseover${Xr}`,ts=`mouseout${Xr}`,es=`focusin${Xr}`,ns=`focusout${Xr}`,is=`hide${Xr}`,rs=`hidden${Xr}`,ss=`show${Xr}`,os=`shown${Xr}`,as="hide",ls="show",us="showing",cs={animation:"boolean",autohide:"boolean",delay:"number"},ds={animation:!0,autohide:!0,delay:5e3};class hs extends we{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ds}static get DefaultType(){return cs}static get NAME(){return"toast"}show(){if(ge.trigger(this._element,ss).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(as),$t(this._element),this._element.classList.add(ls,us),this._queueCallback((()=>{this._element.classList.remove(us),ge.trigger(this._element,os),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(ge.trigger(this._element,is).defaultPrevented)return;this._element.classList.add(us),this._queueCallback((()=>{this._element.classList.add(as),this._element.classList.remove(us,ls),ge.trigger(this._element,rs)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ls),super.dispose()}isShown(){return this._element.classList.contains(ls)}_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}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){ge.on(this._element,Qr,(t=>this._onInteraction(t,!0))),ge.on(this._element,ts,(t=>this._onInteraction(t,!1))),ge.on(this._element,es,(t=>this._onInteraction(t,!0))),ge.on(this._element,ns,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=hs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Te(hs),Xt(hs);var fs,ms,ps,_s,gs=r,ys=function(t,e){if(ys.factory(t,e))return ys;if(this instanceof ys)return gs(t).DataTable(e);var n=this,i=void 0===(e=t),r=this.length;return i&&(e={}),this.api=function(){return new ms(this)},this.each((function(){var t,s=r>1?sa({},e,!0):e,o=0,a=this.getAttribute("id"),l=!1,u=ys.defaults,c=gs(this);if("table"==this.nodeName.toLowerCase()){gs(this).trigger("options.dt",s),Bs(u),Vs(u.column),Rs(u,u,!0),Rs(u.column,u.column,!0),Rs(u,gs.extend(s,c.data()),!0);var d=ys.settings;for(o=0,t=d.length;o").prependTo(this),fastData:function(t,e,n){return so(p,t,e,n)}});p.nTable=this,p.oInit=s,d.push(p),p.api=new ms(p),p.oInstance=1===n.length?n:c.dataTable(),Bs(s),s.aLengthMenu&&!s.iDisplayLength&&(s.iDisplayLength=Array.isArray(s.aLengthMenu[0])?s.aLengthMenu[0][0]:gs.isPlainObject(s.aLengthMenu[0])?s.aLengthMenu[0].value:s.aLengthMenu[0]),s=sa(gs.extend(!0,{},u),s),ra(p.oFeatures,s,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),ra(p,s,["ajax","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","iStateDuration","bSortCellsTop","iTabIndex","sDom","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId","caption","layout",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),ra(p.oScroll,s,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),ra(p.oLanguage,s,"fnInfoCallback"),aa(p,"aoDrawCallback",s.fnDrawCallback),aa(p,"aoStateSaveParams",s.fnStateSaveParams),aa(p,"aoStateLoadParams",s.fnStateLoadParams),aa(p,"aoStateLoaded",s.fnStateLoaded),aa(p,"aoRowCallback",s.fnRowCallback),aa(p,"aoRowCreatedCallback",s.fnCreatedRow),aa(p,"aoHeaderCallback",s.fnHeaderCallback),aa(p,"aoFooterCallback",s.fnFooterCallback),aa(p,"aoInitComplete",s.fnInitComplete),aa(p,"aoPreDrawCallback",s.fnPreDrawCallback),p.rowIdFn=co(s.rowId),function(t){if(!ys.__browser){var e={};ys.__browser=e;var n=gs("
").css({position:"fixed",top:0,left:-1*window.pageXOffset,height:1,width:1,overflow:"hidden"}).append(gs("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(gs("
").css({width:"100%",height:10}))).appendTo("body"),i=n.children(),r=i.children();e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),n.remove()}gs.extend(t.oBrowser,ys.__browser),t.oScroll.iBarWidth=ys.__browser.barWidth}(p);var _=p.oClasses;gs.extend(_,ys.ext.classes,s.oClasses),c.addClass(_.table),p.oFeatures.bPaginate||(s.iDisplayStart=0),void 0===p.iInitDisplayStart&&(p.iInitDisplayStart=s.iDisplayStart,p._iDisplayStart=s.iDisplayStart);var g=p.oLanguage;gs.extend(!0,g,s.oLanguage),g.sUrl?(gs.ajax({dataType:"json",url:g.sUrl,success:function(t){Rs(u.oLanguage,t),gs.extend(!0,g,t,p.oInit.oLanguage),la(p,null,"i18n",[p],!0),No(p)},error:function(){ia(p,0,"i18n file loading error",21),No(p)}}),l=!0):la(p,null,"i18n",[p]);var y=[],v=this.getElementsByTagName("thead"),b=So(p,v[0]);if(s.aoColumns)y=s.aoColumns;else if(b.length)for(o=0,t=b[0].length;o=0;s--){var f=void 0!==(d=e[s]).target?d.target:void 0!==d.targets?d.targets:d.aTargets;for(Array.isArray(f)||(f=[f]),a=0,l=f.length;a=0){for(;h.length<=m;)qs(t);r(m,d)}else if("number"==typeof m&&m<0)r(h.length+m,d);else if("string"==typeof m)for(u=0,c=h.length;u").appendTo(c)),n.html(p.caption)),n.length&&(n[0]._captionSide=n.css("caption-side"),p.captionNode=n[0]),0===v.length&&(v=gs("").appendTo(c)),p.nTHead=v[0],gs("tr",v).addClass(_.thead.row);var i=c.children("tbody");0===i.length&&(i=gs("").insertAfter(v)),p.nTBody=i[0];var r=c.children("tfoot");if(0===r.length&&(r=gs("").appendTo(c)),p.nTFoot=r[0],gs("tr",r).addClass(_.tfoot.row),s.aaData)for(o=0;o/g,Ms=/^\d{2,4}[./-]\d{1,2}[./-]\d{1,2}([T ]{1}\d{1,2}[:.]\d{2}([.:]\d{2})?)?$/,ws=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),ks=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,xs=function(t){return!t||!0===t||"-"===t},Ts=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},Ds=function(t,e){return vs[e]||(vs[e]=new RegExp(Oo(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(vs[e],"."):t},Ys=function(t,e,n){var i=typeof t,r="string"===i;return"number"===i||"bigint"===i||(!!xs(t)||(e&&r&&(t=Ds(t,e)),n&&r&&(t=t.replace(ks,"")),!isNaN(parseFloat(t))&&isFinite(t)))},Ss=function(t,e,n){if(xs(t))return!0;if("string"==typeof t&&t.match(/<(input|select)/i))return null;var i=function(t){return xs(t)||"string"==typeof t}(t);return i&&!!Ys(Hs(t),e,n)||null},Cs=function(t,e,n){var i=[],r=0,s=t.length;if(void 0!==n)for(;r/g,">").replace(/"/g,"""):t},js=function(t,e){if("string"!=typeof t)return t;var n=t.normalize("NFD");return n.length!==t.length?(!0===e?t+" ":"")+n.replace(/[\u0300-\u036f]/g,""):n},zs=function(t){if(Array.from&&Set)return Array.from(new Set(t));if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),n=e[0],i=1,r=e.length;i")});t.aoColumns.push(i);var r=t.aoPreSearchCols;r[n]=gs.extend({},ys.models.oSearch,r[n])}function Us(t,e,n){var i=t.aoColumns[e];if(null!=n){Vs(n),Rs(ys.defaults.column,n,!0),void 0===n.mDataProp||n.mData||(n.mData=n.mDataProp),n.sType&&(i._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className);var r=i.sClass;gs.extend(i,n),ra(i,n,"sWidth","sWidthOrig"),r!==i.sClass&&(i.sClass=r+" "+i.sClass),void 0!==n.iDataSort&&(i.aDataSort=[n.iDataSort]),ra(i,n,"aDataSort")}var s=i.mData,o=co(s);if(i.mRender&&Array.isArray(i.mRender)){var a=i.mRender.slice(),l=a.shift();i.mRender=ys.render[l].apply(window,a)}i._render=i.mRender?co(i.mRender):null;var u=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};i._bAttrSrc=gs.isPlainObject(s)&&(u(s.sort)||u(s.type)||u(s.filter)),i._setter=null,i.fnGetData=function(t,e,n){var r=o(t,e,void 0,n);return i._render&&e?i._render(r,e,t,n):r},i.fnSetData=function(t,e,n){return ho(s)(t,e,n)},"number"==typeof s||i._isArrayHost||(t._rowReadObject=!0),t.oFeatures.bSort||(i.bSortable=!1)}function Zs(t){!function(t){if(!t.oFeatures.bAutoWidth)return;var e,n,i,r=t.nTable,s=t.aoColumns,o=t.oScroll,a=o.sY,l=o.sX,u=o.sXInner,c=Ks(t,"bVisible"),d=r.getAttribute("width"),h=r.parentNode,f=r.style.width;f&&-1!==f.indexOf("%")&&(d=f);la(t,null,"column-calc",{visible:c},!1);var m=gs(r.cloneNode()).css("visibility","hidden").removeAttr("id");m.append("");var p=gs("").appendTo(m.find("tbody"));for(m.append(gs(t.nTHead).clone()).append(gs(t.nTFoot).clone()),m.find("tfoot th, tfoot td").css("width",""),m.find("thead th, thead td").each((function(){var e=eo(t,this,!0,!1);e?(this.style.width=e,l&&gs(this).append(gs("
").css({width:e,margin:0,padding:0,border:0,height:1}))):this.style.width=""})),e=0;e").addClass(g).addClass(n.sClass).append(v).appendTo(p)}gs("[name]",m).removeAttr("name");var b=gs("
").css(l||a?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(m).appendTo(h);l&&u?m.width(u):l?(m.css("width","auto"),m.removeAttr("width"),m.width()").appendTo(a)),1===r.length)for(n=gs("td, th",r).length,i=o.length;n").html(o[n][l]||"").appendTo(r);var u=So(t,a,!0);"header"===e?t.aoHeader=u:t.aoFooter=u,gs(a).children("tr").attr("role","row"),gs(a).children("tr").children("th, td").each((function(){ca(t,e)(t,gs(this),s)}))}}function Lo(t,e,n){var i,r,s,o,a,l=[],u=[],c=t.aoColumns,d=c.length;if(e){for(n||(n=Es(d).filter((function(t){return c[t].bVisible}))),i=0;i=t.fnRecordsDisplay()?0:n,t.iInitDisplayStart=-1)}(t),-1===la(t,"aoPreDrawCallback","preDraw",[t]).indexOf(!1)){var n,i=[],r=0,s="ssp"==da(t),o=t.aiDisplay,a=t._iDisplayStart,l=t.fnDisplayEnd(),u=t.aoColumns,c=gs(t.nTBody);if(t.bDrawing=!0,s){if(!t.bDestroying&&!e)return 0===t.iDraw&&c.empty().append(xo(t)),(n=t).iDraw++,Wo(n,!0),void Co(n,function(t){var e=t.aoColumns,n=t.oFeatures,i=t.oPreviousSearch,r=t.aoPreSearchCols,s=function(t,n){return"function"==typeof e[t][n]?"function":e[t][n]};return{draw:t.iDraw,columns:e.map((function(t,e){return{data:s(e,"mData"),name:t.sName,searchable:t.bSearchable,orderable:t.bSortable,search:{value:r[e].search,regex:r[e].regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}})),order:Jo(t).map((function(t){return{column:t.col,dir:t.dir,name:s(t.col,"sName")}})),start:t._iDisplayStart,length:n.bPaginate?t._iDisplayLength:-1,search:{value:i.search,regex:i.regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}}(n),(function(t){!function(t,e){var n=Po(t,e),i=Eo(t,"draw",e),r=Eo(t,"recordsTotal",e),s=Eo(t,"recordsFiltered",e);if(void 0!==i){if(1*i").append(gs("",{colSpan:Js(t),class:t.oClasses.empty.row}).html(n))[0]}function To(t,e,n){var i={};gs.each(e,(function(t,e){if(null!==e){var n=t.replace(/([A-Z])/g," $1").split(" ");i[n[0]]||(i[n[0]]={});var r=1===n.length?"full":n[1].toLowerCase(),s=i[n[0]],o=function(t,e){gs.isPlainObject(e)?Object.keys(e).map((function(n){t.push({feature:n,opts:e[n]})})):t.push(e)};if(s[r]&&s[r].contents||(s[r]={contents:[]}),Array.isArray(e))for(var a=0;a").attr({id:t.sTableId+"_wrapper",class:e.container}).insertBefore(n);t.nTableWrapper=i[0];var r=To(t,t.layout,"top"),s=To(t,t.layout,"bottom"),o=ca(t,"layout");t.sDom?function(t,e,n){for(var i,r,s,o,a,l=e.match(/(".*?")|('.*?')|./g),u=0;u"),"'"==(o=l[u+1])[0]||'"'==o[0]){var c,d="";if(-1!=(a=o.replace(/['"]/g,"")).indexOf(".")){var h=a.split(".");d=h[0],c=h[1]}else"#"==a[0]?d=a:c=a;s.attr("id",d.substring(1)).addClass(c),u++}n.append(s),n=s}else">"==r?n=n.parent():"t"==r?i=Bo(t):ys.ext.feature.forEach((function(e){r==e.cFeature&&(i=e.fnInit(t))}));i&&n.append(i)}}(t,t.sDom,i):(r.forEach((function(e){o(t,i,e)})),o(t,i,{full:{table:!0,contents:[Bo(t)]}}),s.forEach((function(e){o(t,i,e)}))),function(t){var e=t.nTable;if(t.oFeatures.bProcessing){var n=gs("
",{id:t.sTableId+"_processing",class:t.oClasses.processing.container,role:"status"}).html(t.oLanguage.sProcessing).append("
").insertBefore(e);gs(e).on("processing.dt.DT",(function(t,e,i){n.css("display",i?"block":"none")}))}}(t)}function So(t,e,n){var i,r,s,o,a,l,u,c,d,h,f=t.aoColumns,m=gs(e).children("tr"),p=e&&"thead"===e.nodeName.toLowerCase(),_=[],g=function(t,e,n){for(var i=t[e];i[n];)n++;return n};for(s=0,l=m.length;s/g,""),v.autoTitle=!0)):v.footer&&(r.innerHTML=v.footer),v.ariaTitle||(v.ariaTitle=gs(r).attr("aria-label")||v.sTitle),v.className&&gs(r).addClass(v.className)}0===gs("span.dt-column-title",r).length&&gs("").addClass("dt-column-title").append(r.childNodes).appendTo(r),p&&0===gs("span.dt-column-order",r).length&&gs("").addClass("dt-column-order").appendTo(r)}for(a=0;a1&&n.push("(?!"+t+")"),t=""),t.replace('"',"")})),s=n.length?n.join(""):"",o=i.boundary?"\\b":"";t="^(?=.*?"+o+r.join(")(?=.*?"+o)+")("+s+".)*$"}return new RegExp(t,i.caseInsensitive?"i":"")}(n,i);s")[0],zo=void 0!==jo.textContent;function No(t){var e,n=t.iInitDisplayStart;if(t.bInitialised){bo(t,"header"),bo(t,"footer"),Mo(t,t.aoHeader),Mo(t,t.aoFooter),Yo(t),function(t){var e=t.nTHead,n=e.querySelectorAll("tr"),i=t.bSortCellsTop,r=':not([data-dt-order="disable"]):not([data-dt-order="icon-only"])';!0===i?e=n[0]:!1===i&&(e=n[n.length-1]);$o(t,e,e===t.nTHead?"tr"+r+" th"+r+", tr"+r+" td"+r:"th"+r+", td"+r);var s=[];Go(t,s,t.aaSorting),t.aaSorting=s}(t),Zo(t),Wo(t,!0),la(t,null,"preInit",[t],!0),ko(t);var i=da(t);"ssp"!=i&&("ajax"==i?Co(t,{},(function(i){var r=Po(t,i);for(e=0;es&&(i=0);else if("first"==e)i=0;else if("previous"==e)(i=r>=0?i-r:0)<0&&(i=0);else if("next"==e)i+r",h=function(t){return t?Uo(t):null};c.length||(c=null);var f=gs(d,{class:s.container}).append(gs(d,{class:s.header.self}).css({overflow:"hidden",position:"relative",border:0,width:i?h(i):"100%"}).append(gs(d,{class:s.header.inner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===a?o:null).append(e.children("thead"))))).append(gs(d,{class:s.body}).css({position:"relative",overflow:"auto",width:h(i)}).append(e));c&&f.append(gs(d,{class:s.footer.self}).css({overflow:"hidden",border:0,width:i?h(i):"100%"}).append(gs(d,{class:s.footer.inner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===a?o:null).append(e.children("tfoot")))));var m=f.children(),p=m[0],_=m[1],g=c?m[2]:null;return gs(_).on("scroll.DT",(function(){var t=this.scrollLeft;p.scrollLeft=t,c&&(g.scrollLeft=t)})),gs("th, td",p).on("focus",(function(){var t=p.scrollLeft;_.scrollLeft=t,c&&(_.scrollLeft=t)})),gs(_).css("max-height",r),n.bCollapse||gs(_).css("height",r),t.nScrollHead=p,t.nScrollBody=_,t.nScrollFoot=g,t.aoDrawCallback.push(Vo),f[0]}function Vo(t){var e,n,i=t.oScroll.iBarWidth,r=gs(t.nScrollHead).children("div"),s=r.children("table"),o=t.nScrollBody,a=gs(o),l=gs(t.nScrollFoot).children("div"),u=l.children("table"),c=gs(t.nTHead),d=gs(t.nTable),h=t.nTFoot&&gs("th, td",t.nTFoot).length?gs(t.nTFoot):null,f=t.oBrowser,m=o.scrollHeight>o.clientHeight;if(t.scrollBarVis!==m&&void 0!==t.scrollBarVis)return t.scrollBarVis=m,void Zs(t);if(t.scrollBarVis=m,d.children("thead, tfoot").remove(),(e=c.clone().prependTo(d)).find("th, td").removeAttr("tabindex"),e.find("[id]").removeAttr("id"),h&&(n=h.clone().prependTo(d)).find("[id]").removeAttr("id"),t.aiDisplay.length){var p=d.find("tbody tr").eq(0).find("th, td").map((function(){return gs(this).outerWidth()}));gs("col",t.colgroup).each((function(t){this.style.width.replace("px","")!==p[t]&&(this.style.width=p[t]+"px")}))}s.find("colgroup").remove(),s.append(t.colgroup.clone()),h&&(u.find("colgroup").remove(),u.append(t.colgroup.clone())),gs("th, td",e).each((function(){gs(this.childNodes).wrapAll('
')})),h&&gs("th, td",n).each((function(){gs(this.childNodes).wrapAll('
')}));var _=Math.floor(d.height())>o.clientHeight||"scroll"==a.css("overflow-y"),g="padding"+(f.bScrollbarLeft?"Left":"Right"),y=d.outerWidth();s.css("width",Uo(y)),r.css("width",Uo(y)).css(g,_?i+"px":"0px"),h&&(u.css("width",Uo(y)),l.css("width",Uo(y)).css(g,_?i+"px":"0px")),d.children("colgroup").prependTo(d),a.trigger("scroll"),!t.bSorted&&!t.bFiltered||t._drawHold||(o.scrollTop=0)}function qo(t,e){var n=t.aoColumns[e];if(!n.maxLenString){for(var i,r="",s=-1,o=0,a=t.aiDisplayMaster.length;os&&(r=u,s=i.length)}n.maxLenString=r}return n.maxLenString}function Uo(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Zo(t){var e=t.aoColumns;for(t.colgroup.empty(),Wa=0;Wai?1:0))return"asc"===l.dir?s:-s;return(n=a[t])<(i=a[e])?-1:n>i?1:0}))}else 0===o.length&&c.sort((function(t,e){return te?1:0}));return void 0===e&&(t.bSorted=!0,la(t,null,"order",[t,o])),c}function Xo(t,e,n,i){var r,s=t.aoColumns[e],o=t.aaSorting,a=s.asSorting,l=function(t,e){var n=t._idx;return void 0===n&&(n=a.indexOf(t[1])),n+10&&e.time<+new Date-1e3*a)return t._bLoadingState=!1,void n();if(-1!==la(t,"aoStateLoadParams","stateLoadParams",[t,e]).indexOf(!1))return t._bLoadingState=!1,void n();if(e.columns&&s.length!==e.columns.length)return t._bLoadingState=!1,void n();if(t.oLoadedState=gs.extend(!0,{},e),la(t,null,"stateLoadInit",[t,e],!0),void 0!==e.length&&(o?o.page.len(e.length):t._iDisplayLength=e.length),void 0!==e.start&&(null===o?(t._iDisplayStart=e.start,t.iInitDisplayStart=e.start):Ro(t,e.start/t._iDisplayLength)),void 0!==e.order&&(t.aaSorting=[],gs.each(e.order,(function(e,n){t.aaSorting.push(n[0]>=s.length?[0,n[1]]:n)}))),void 0!==e.search&&gs.extend(t.oPreviousSearch,e.search),e.columns){for(i=0,r=e.columns.length;i=n&&(e=n-i),e-=e%i,(-1===i||e<0)&&(e=0),t._iDisplayStart=e}function ca(t,e){var n=t.renderer,i=ys.ext.renderer[e];return gs.isPlainObject(n)&&n[e]?i[n[e]]||i._:"string"==typeof n&&i[n]||i._}function da(t){return t.oFeatures.bServerSide?"ssp":t.ajax?"ajax":"dom"}function ha(t,e,n){var i=t.fnFormatNumber,r=t._iDisplayStart+1,s=t._iDisplayLength,o=t.fnRecordsDisplay(),a=t.fnRecordsTotal(),l=-1===s;return e.replace(/_START_/g,i.call(t,r)).replace(/_END_/g,i.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,i.call(t,a)).replace(/_TOTAL_/g,i.call(t,o)).replace(/_PAGE_/g,i.call(t,l?1:Math.ceil(r/s))).replace(/_PAGES_/g,i.call(t,l?1:Math.ceil(o/s))).replace(/_ENTRIES_/g,t.api.i18n("entries","",n)).replace(/_ENTRIES-MAX_/g,t.api.i18n("entries","",a)).replace(/_ENTRIES-TOTAL_/g,t.api.i18n("entries","",o))}var fa=[],ma=Array.prototype;function pa(t,e,n){return function(){var i=e.apply(t||this,arguments);return ms.extend(i,i,n.methodExt),i}}function _a(t,e){for(var n=0,i=t.length;n1?zs(n):n,e&&this.push.apply(this,e),this.selector={rows:null,cols:null,opts:null},ms.extend(this,this,fa)},ys.Api=ms,gs.extend(ms.prototype,{any:function(){return 0!==this.count()},context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;et?new ms(e[t],this[t]):null},filter:function(t){var e=ma.filter.call(this,t,this);return new ms(this.context,e)},flatten:function(){var t=[];return new ms(this.context,t.concat.apply(t,this.toArray()))},get:function(t){return this[t]},join:ma.join,includes:function(t){return-1!==this.indexOf(t)},indexOf:ma.indexOf,iterator:function(t,e,n,i){var r,s,o,a,l,u,c,d,h=[],f=this.context,m=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),s=0,o=f.length;s").html(t),n.captionNode=r[0],e||(i.prepend(r),e=r.css("caption-side"))),r.html(t),e&&(r.css("caption-side",e),r[0]._captionSide=e),s.find("div.dataTables_scroll").length){var o="top"===e?"Head":"Foot";s.find("div.dataTables_scroll"+o+" table").prepend(r)}else i.prepend(r)}),1)})),ps("caption.node()",(function(){var t=this.context;return t.length?t[0].captionNode:null})),ps("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?wo(e):("string"==typeof t&&(t="full-hold"!==t),ko(e,!1===t))}))})),ps("page()",(function(t){return void 0===t?this.page.info().page:this.iterator("table",(function(e){Ro(e,t)}))})),ps("page.info()",(function(){if(0!==this.context.length){var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,i=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(i/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===da(t)}}})),ps("page.len()",(function(t){return void 0===t?0!==this.context.length?this.context[0]._iDisplayLength:void 0:this.iterator("table",(function(e){Fo(e,t)}))}));var ya=function(t,e,n){if(n){var i=new ms(t);i.one("draw",(function(){n(i.ajax.json())}))}if("ssp"==da(t))ko(t,e);else{Wo(t,!0);var r=t.jqXHR;r&&4!==r.readyState&&r.abort(),Co(t,{},(function(n){mo(t);for(var i=Po(t,n),r=0,s=i.length;r0)return t[0].json})),ps("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),ps("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){ya(n,!1===e,t)}))})),ps("ajax.url()",(function(t){var e=this.context;if(void 0===t){if(0===e.length)return;return e=e[0],gs.isPlainObject(e.ajax)?e.ajax.url:e.ajax}return this.iterator("table",(function(e){gs.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t}))})),ps("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){ya(n,!1===e,t)}))}));var va=function(t,e,n,i,r){var s,o,a,l,u,c,d=[],h=typeof e;for(e&&"string"!==h&&"function"!==h&&void 0!==e.length||(e=[e]),a=0,l=e.length;a1&&e[0].splice(1),e},Ma=function(t,e){var n,i,r,s=[],o=t.aiDisplay,a=t.aiDisplayMaster,l=e.search,u=e.order,c=e.page;if("ssp"==da(t))return"removed"===l?[]:Es(0,a.length);if("current"==c)for(n=t._iDisplayStart,i=t.fnDisplayEnd();n=0&&"applied"==l)&&s.push(n);else if("number"==typeof u){var h=Ko(t,u,"asc");if("none"===l)s=h;else for(n=0;n=0&&"applied"==l)&&s.push(h[n])}return s};ps("rows()",(function(t,e){void 0===t?t="":gs.isPlainObject(t)&&(e=t,t=""),e=ba(e);var n=this.iterator("table",(function(n){return function(t,e,n){var i,r=va("row",e,(function(e){var r=Ts(e),s=t.aoData;if(null!==r&&!n)return[r];if(i||(i=Ma(t,n)),null!==r&&-1!==i.indexOf(r))return[r];if(null==e||""===e)return i;if("function"==typeof e)return i.map((function(t){var n=s[t];return e(t,n._aData,n.nTr)?t:null}));if(e.nodeName){var o=e._DT_RowIndex,a=e._DT_CellIndex;if(void 0!==o)return s[o]&&s[o].nTr===e?[o]:[];if(a)return s[a.row]&&s[a.row].nTr===e.parentNode?[a.row]:[];var l=gs(e).closest("*[data-dt-row]");return l.length?[l.data("dt-row")]:[]}if("string"==typeof e&&"#"===e.charAt(0)){var u=t.aIds[e.replace(/^#/,"")];if(void 0!==u)return[u.idx]}var c=As(Ps(t.aoData,i,"nTr"));return gs(c).filter(e).map((function(){return this._DT_RowIndex})).toArray()}),t,n);if("current"===n.order||"applied"===n.order){var s=t.aiDisplayMaster;r.sort((function(t,e){return s.indexOf(t)-s.indexOf(e)}))}return r}(n,t,e)}),1);return n.selector.rows=t,n.selector.opts=e,n})),ps("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||void 0}),1)})),ps("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return Ps(t.aoData,e,"_aData")}),1)})),_s("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var i=e.aoData[n];return"search"===t?i._aFilterData:i._aSortData}),1)})),_s("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){po(e,n,t)}))})),_s("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),_s("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,i=0,r=n.length;i0&&t._iRecordsDisplay--,ua(t);var s=t.rowIdFn(i._aData);void 0!==s&&delete t.aIds[s],n[e]=null})),this})),ps("rows.add()",(function(t){var e=this.iterator("table",(function(e){var n,i,r,s=[];for(i=0,r=t.length;i0&&(e.on(i,(function(n,i){t===i&&e.rows({page:"current"}).eq(0).each((function(t){var e=o[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),e.on(r,(function(e,n){if(t===n)for(var i,r=Js(n),s=0,a=o.length;s").attr("data-dt-row",e.idx).addClass(i);gs("td",l).addClass(i).html(n)[0].colSpan=Js(t),r.push(l[0])}};s(n,i),e._details&&e._details.detach(),e._details=gs(r),e._detailsShow&&e._details.insertAfter(e.nTr)}(n[0],n[0].aoData[this[0]],t,e),this)})),ps([Ya+".show()",Sa+".show()"],(function(){return Ta(this,!0),this})),ps([Ya+".hide()",Sa+".hide()"],(function(){return Ta(this,!1),this})),ps([Ya+".remove()",Sa+".remove()"],(function(){return xa(this),this})),ps(Ya+".isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var Ca=/^([^:]+):(name|title|visIdx|visible)$/,Pa=function(t,e,n,i,r,s){for(var o=[],a=0,l=r.length;a=0?o:i.length+o];if("function"==typeof e){var l=Ma(t,n);return i.map((function(n,i){return e(i,Pa(t,i,0,0,l))?i:null}))}var u="string"==typeof e?e.match(Ca):"";if(u)switch(u[2]){case"visIdx":case"visible":var c=parseInt(u[1],10);if(c<0){var d=i.map((function(t,e){return t.bVisible?e:null}));return[d[d.length+c]]}return[$s(t,c)];case"name":return r.map((function(t,e){return t===u[1]?e:null}));case"title":return s.map((function(t,e){return t===u[1]?e:null}));default:return[]}if(e.nodeName&&e._DT_CellIndex)return[e._DT_CellIndex.column];var h=gs(a).filter(e).map((function(){return no(this)})).toArray();if(h.length||!e.nodeName)return h;var f=gs(e).closest("*[data-dt-column]");return f.length?[f.data("dt-column")]:[]}),t,n)}(n,t,e)}),1);return n.selector.cols=t,n.selector.opts=e,n})),_s("columns().header()","column().header()",(function(t){return this.iterator("column",(function(e,n){var i=e.aoHeader;return i[void 0!==t?t:e.bSortCellsTop?0:i.length-1][n].cell}),1)})),_s("columns().footer()","column().footer()",(function(t){return this.iterator("column",(function(e,n){return e.aoFooter.length?e.aoFooter[void 0!==t?t:0][n].cell:null}),1)})),_s("columns().data()","column().data()",(function(){return this.iterator("column-rows",Pa,1)})),_s("columns().render()","column().render()",(function(t){return this.iterator("column-rows",(function(e,n,i,r,s){return Pa(e,n,0,0,s,t)}),1)})),_s("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),_s("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,i,r,s){return Ps(e.aoData,s,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),_s("columns().init()","column().init()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e]}),1)})),_s("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,i,r){return Ps(t.aoData,r,"anCells",e)}),1)})),_s("columns().titles()","column().title()",(function(t,e){return this.iterator("column",(function(n,i){"number"==typeof t&&(e=t,t=void 0);var r=gs("span.dt-column-title",this.column(i).header(e));return void 0!==t?(r.html(t),this):r.html()}),1)})),_s("columns().types()","column().type()",(function(){return this.iterator("column",(function(t,e){var n=t.aoColumns[e].sType;return n||Xs(t),n}),1)})),_s("columns().visible()","column().visible()",(function(t,e){var n=this,i=[],r=this.iterator("column",(function(e,n){if(void 0===t)return e.aoColumns[n].bVisible;(function(t,e,n){var i,r,s,o,a=t.aoColumns,l=a[e],u=t.aoData;if(void 0===n)return l.bVisible;if(l.bVisible===n)return!1;if(n){var c=Cs(a,"bVisible").indexOf(!0,e+1);for(r=0,s=u.length;r").html(""+Array(t).join("")+"");gs(this.table().body()).append(e);var n=e.children().map((function(){return gs(this).outerWidth()}));return e.remove(),this.iterator("column",(function(t,e){var i=Gs(t,e);return null!==i?n[i]:0}),1)})),_s("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?Gs(e,n):n}),1)})),ps("columns.adjust()",(function(){return this.iterator("table",(function(t){Zs(t)}),1)})),ps("column.index()",(function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return $s(n,e);if("fromData"===t||"toVisible"===t)return Gs(n,e)}})),ps("column()",(function(t,e){return La(this.columns(t,e))}));ps("cells()",(function(t,e,n){if(gs.isPlainObject(t)&&(void 0===t.row?(n=t,t=null):(n=e,e=null)),gs.isPlainObject(e)&&(n=e,e=null),null==e)return this.iterator("table",(function(e){return function(t,e,n){var i,r,s,o,a,l,u,c=t.aoData,d=Ma(t,n),h=As(Ps(c,d,"anCells")),f=gs(Ns([],h)),m=t.aoColumns.length;return va("cell",e,(function(e){var n="function"==typeof e;if(null==e||n){for(r=[],s=0,o=d.length;s1&&(t=i),this.iterator("table",(function(e){e.aaSorting=Array.isArray(t)?t.slice():t})))})),ps("order.listener()",(function(t,e,n){return this.iterator("table",(function(i){$o(i,t,{},e,n)}))})),ps("order.fixed()",(function(t){if(!t){var e=this.context,n=e.length?e[0].aaSortingFixed:void 0;return Array.isArray(n)?{pre:n}:n}return this.iterator("table",(function(e){e.aaSortingFixed=gs.extend(!0,{},t)}))})),ps(["columns().order()","column().order()"],(function(t){var e=this;return t?this.iterator("table",(function(n,i){n.aaSorting=e[i].map((function(e){return[e,t]}))})):this.iterator("column",(function(t,e){for(var n=Jo(t),i=0,r=n.length;ii;return!0},ys.isDataTable=function(t){var e=gs(t).get(0),n=!1;return t instanceof ys.Api||(gs.each(ys.settings,(function(t,i){var r=i.nScrollHead?gs("table",i.nScrollHead)[0]:null,s=i.nScrollFoot?gs("table",i.nScrollFoot)[0]:null;i.nTable!==e&&r!==e&&s!==e||(n=!0)})),n)},ys.tables=function(t){var e=!1;gs.isPlainObject(t)&&(e=t.api,t=t.visible);var n=ys.settings.filter((function(e){return!!(!t||t&&gs(e.nTable).is(":visible"))})).map((function(t){return t.nTable}));return e?new ms(n):n},ys.camelToHungarian=Rs,ps("$()",(function(t,e){var n=this.rows(e).nodes(),i=gs(n);return gs([].concat(i.filter(t).toArray(),i.find(t).toArray()))})),gs.each(["on","one","off"],(function(t,e){ps(e+"()",(function(){var t=Array.prototype.slice.call(arguments);t[0]=t[0].split(/\s/).map((function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" ");var n=gs(this.tables().nodes());return n[e].apply(n,t),this}))})),ps("clear()",(function(){return this.iterator("table",(function(t){mo(t)}))})),ps("error()",(function(t){return this.iterator("table",(function(e){ia(e,0,t)}))})),ps("settings()",(function(){return new ms(this.context,this.context)})),ps("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),ps("data()",(function(){return this.iterator("table",(function(t){return Cs(t.aoData,"_aData")})).flatten()})),ps("trigger()",(function(t,e,n){return this.iterator("table",(function(i){return la(i,null,t,e,n)})).flatten()})),ps("ready()",(function(t){var e=this.context;return t?this.tables().every((function(){this.context[0]._bInitComplete?t.call(this):this.on("init",(function(){t.call(this)}))})):e.length?e[0]._bInitComplete||!1:null})),ps("destroy()",(function(t){return t=t||!1,this.iterator("table",(function(e){var n=e.oClasses,i=e.nTable,r=e.nTBody,s=e.nTHead,o=e.nTFoot,a=gs(i),l=gs(r),u=gs(e.nTableWrapper),c=e.aoData.map((function(t){return t?t.nTr:null})),d=n.order;e.bDestroying=!0,la(e,"aoDestroyCallback","destroy",[e],!0),t||new ms(e).columns().visible(!0),u.off(".DT").find(":not(tbody *)").off(".DT"),gs(window).off(".DT-"+e.sInstance),i!=s.parentNode&&(a.children("thead").detach(),a.append(s)),o&&i!=o.parentNode&&(a.children("tfoot").detach(),a.append(o)),e.colgroup.remove(),e.aaSorting=[],e.aaSortingFixed=[],Qo(e),gs("th, td",s).removeClass(d.canAsc+" "+d.canDesc+" "+d.isAsc+" "+d.isDesc).css("width",""),l.children().detach(),l.append(c);var h=e.nTableWrapper.parentNode,f=e.nTableWrapper.nextSibling,m=t?"remove":"detach";a[m](),u[m](),!t&&h&&(h.insertBefore(i,f),a.css("width",e.sDestroyWidth).removeClass(n.table));var p=ys.settings.indexOf(e);-1!==p&&ys.settings.splice(p,1)}))})),gs.each(["column","row","cell"],(function(t,e){ps(e+"s().every()",(function(t){var n,i=this.selector.opts,r=this,s=0;return this.iterator("every",(function(o,a,l){n=r[e](a,i),"cell"===e?t.call(n,n[0][0].row,n[0][0].column,l,s):t.call(n,a,l,s),s++}))}))})),ps("i18n()",(function(t,e,n){var i=this.context[0],r=co(t)(i.oLanguage);return void 0===r&&(r=e),gs.isPlainObject(r)&&(r=void 0!==n&&void 0!==r[n]?r[n]:r._),"string"==typeof r?r.replace("%d",n):r})),ys.version="2.0.2",ys.settings=[],ys.models={},ys.models.oSearch={caseInsensitive:!0,search:"",regex:!1,smart:!0,return:!1},ys.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,src:null,idx:-1,displayData:null},ys.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null,maxLenString:null,searchFixed:null},ys.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],bAutoWidth:!0,bDeferRender:!0,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:null,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{orderable:": Activate to sort",orderableReverse:": Activate to invert sorting",orderableRemove:": Activate to remove sorting",paginate:{first:"First",last:"Last",next:"Next",previous:"Previous"}},oPaginate:{sFirst:"«",sLast:"»",sNext:"›",sPrevious:"‹"},entries:{_:"entries",1:"entry"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_",sInfoEmpty:"Showing 0 to 0 of 0 _ENTRIES-TOTAL_",sInfoFiltered:"(filtered from _MAX_ total _ENTRIES-MAX_)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_ _ENTRIES_ per page",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:gs.extend({},ys.models.oSearch),layout:{topStart:"pageLength",topEnd:"search",bottomStart:"info",bottomEnd:"paging"},sDom:null,searchDelay:null,sPaginationType:"full_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId",caption:null},Fs(ys.defaults),ys.defaults.column={aDataSort:null,iDataSort:-1,ariaTitle:"",asSorting:["asc","desc",""],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},Fs(ys.defaults.column),ys.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:!0,bLengthChange:!0,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollbarLeft:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},searchFixed:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",pagingControls:0,iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,bAjaxDataGet:!0,jqXHR:null,json:void 0,oAjaxData:void 0,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==da(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==da(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,r=this.oFeatures,s=r.bPaginate;return r.bServerSide?!1===s||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!s||n>i||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null,caption:"",captionNode:null,colgroup:null},ys.ext=fs={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],features:{},search:[],selector:{cell:[],column:[],row:[]},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{className:{},detect:[],render:{},search:{},order:{}},_unique:0,fnVersionCheck:ys.fnVersionCheck,iApiIndex:0,sVersion:ys.version},gs.extend(fs,{afnFiltering:fs.search,aTypes:fs.type.detect,ofnSearch:fs.type.search,oSort:fs.type.order,afnSortData:fs.order,aoFeatures:fs.feature,oStdClasses:fs.classes,oPagination:fs.pager}),gs.extend(ys.ext.classes,{container:"dt-container",empty:{row:"dt-empty"},info:{container:"dt-info"},length:{container:"dt-length",select:"dt-input"},order:{canAsc:"dt-orderable-asc",canDesc:"dt-orderable-desc",isAsc:"dt-ordering-asc",isDesc:"dt-ordering-desc",none:"dt-orderable-none",position:"sorting_"},processing:{container:"dt-processing"},scrolling:{body:"dt-scroll-body",container:"dt-scroll",footer:{self:"dt-scroll-foot",inner:"dt-scroll-footInner"},header:{self:"dt-scroll-head",inner:"dt-scroll-headInner"}},search:{container:"dt-search",input:"dt-input"},table:"dataTable",tbody:{cell:"",row:""},thead:{cell:"",row:""},tfoot:{cell:"",row:""},paging:{active:"current",button:"dt-paging-button",container:"dt-paging",disabled:"disabled"}});var Ea=ys.ext.pager;gs.extend(Ea,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(){return["numbers"]},simple_numbers:function(){return["previous","numbers","next"]},full_numbers:function(){return["first","previous","numbers","next","last"]},first_last:function(){return["first","last"]},first_last_numbers:function(){return["first","numbers","last"]},_numbers:$a,numbers_length:7}),gs.extend(!0,ys.ext.renderer,{pagingButton:{_:function(t,e,n,i,r){var s,o=t.oClasses.paging,a=[o.button];return i&&a.push(o.active),r&&a.push(o.disabled),{display:s="ellipsis"===e?gs('').html(n)[0]:gs("