2 lines
No EOL
42 KiB
JavaScript
2 lines
No EOL
42 KiB
JavaScript
/*! For license information please see main.js.LICENSE.txt */
|
|
(()=>{var e={170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>x,afterRead:()=>y,afterWrite:()=>T,applyStyles:()=>M,arrow:()=>X,auto:()=>a,basePlacements:()=>c,beforeMain:()=>_,beforeRead:()=>b,beforeWrite:()=>O,bottom:()=>o,clippingParents:()=>f,computeStyles:()=>ne,createPopper:()=>Pe,createPopperBase:()=>De,createPopperLite:()=>Me,detectOverflow:()=>be,end:()=>u,eventListeners:()=>oe,flip:()=>ve,hide:()=>we,left:()=>s,main:()=>w,modifierPhases:()=>A,offset:()=>xe,placements:()=>g,popper:()=>d,popperGenerator:()=>Se,popperOffsets:()=>Oe,preventOverflow:()=>Ee,read:()=>v,reference:()=>h,right:()=>r,start:()=>l,top:()=>i,variationPlacements:()=>m,viewport:()=>p,write:()=>E});var i="top",o="bottom",r="right",s="left",a="auto",c=[i,o,r,s],l="start",u="end",f="clippingParents",p="viewport",d="popper",h="reference",m=c.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+u])}),[]),g=[].concat(c,[a]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+u])}),[]),b="beforeRead",v="read",y="afterRead",_="beforeMain",w="main",x="afterMain",O="beforeWrite",E="write",T="afterWrite",A=[b,v,y,_,w,x,O,E,T];function C(e){return e?(e.nodeName||"").toLowerCase():null}function j(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function S(e){return e instanceof j(e).Element||e instanceof Element}function D(e){return e instanceof j(e).HTMLElement||e instanceof HTMLElement}function P(e){return"undefined"!=typeof ShadowRoot&&(e instanceof j(e).ShadowRoot||e instanceof ShadowRoot)}const M={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];D(o)&&C(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});D(i)&&C(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function L(e){return e.split("-")[0]}var N=Math.max,k=Math.min,H=Math.round;function F(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function R(){return!/^((?!chrome|android).)*safari/i.test(F())}function W(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&D(e)&&(o=e.offsetWidth>0&&H(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&H(i.height)/e.offsetHeight||1);var s=(S(e)?j(e):window).visualViewport,a=!R()&&n,c=(i.left+(a&&s?s.offsetLeft:0))/o,l=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:l,right:c+u,bottom:l+f,left:c,x:c,y:l}}function z(e){var t=W(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function B(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&P(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function $(e){return j(e).getComputedStyle(e)}function q(e){return["table","td","th"].indexOf(C(e))>=0}function I(e){return((S(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||I(e)}function Y(e){return D(e)&&"fixed"!==$(e).position?e.offsetParent:null}function U(e){for(var t=j(e),n=Y(e);n&&q(n)&&"static"===$(n).position;)n=Y(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===$(n).position)?t:n||function(e){var t=/firefox/i.test(F());if(/Trident/i.test(F())&&D(e)&&"fixed"===$(e).position)return null;var n=V(e);for(P(n)&&(n=n.host);D(n)&&["html","body"].indexOf(C(n))<0;){var i=$(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e,t,n){return N(e,k(t,n))}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const X={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,l=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,p=L(n.placement),d=Q(p),h=[s,r].indexOf(p)>=0?"height":"width";if(u&&f){var m=function(e,t){return J("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,c))}(l.padding,n),g=z(u),b="y"===d?i:s,v="y"===d?o:r,y=n.rects.reference[h]+n.rects.reference[d]-f[d]-n.rects.popper[h],_=f[d]-n.rects.reference[d],w=U(u),x=w?"y"===d?w.clientHeight||0:w.clientWidth||0:0,O=y/2-_/2,E=m[b],T=x-g[h]-m[v],A=x/2-g[h]/2+O,C=K(E,A,T),j=d;n.modifiersData[a]=((t={})[j]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&B(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,a=e.popperRect,c=e.placement,l=e.variation,f=e.offsets,p=e.position,d=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,g=e.isFixed,b=f.x,v=void 0===b?0:b,y=f.y,_=void 0===y?0:y,w="function"==typeof m?m({x:v,y:_}):{x:v,y:_};v=w.x,_=w.y;var x=f.hasOwnProperty("x"),O=f.hasOwnProperty("y"),E=s,T=i,A=window;if(h){var C=U(n),S="clientHeight",D="clientWidth";C===j(n)&&"static"!==$(C=I(n)).position&&"absolute"===p&&(S="scrollHeight",D="scrollWidth"),(c===i||(c===s||c===r)&&l===u)&&(T=o,_-=(g&&C===A&&A.visualViewport?A.visualViewport.height:C[S])-a.height,_*=d?1:-1),c!==s&&(c!==i&&c!==o||l!==u)||(E=r,v-=(g&&C===A&&A.visualViewport?A.visualViewport.width:C[D])-a.width,v*=d?1:-1)}var P,M=Object.assign({position:p},h&&ee),L=!0===m?function(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:H(n*o)/o||0,y:H(i*o)/o||0}}({x:v,y:_},j(n)):{x:v,y:_};return v=L.x,_=L.y,d?Object.assign({},M,((P={})[T]=O?"0":"",P[E]=x?"0":"",P.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+_+"px)":"translate3d("+v+"px, "+_+"px, 0)",P)):Object.assign({},M,((t={})[T]=O?_+"px":"",t[E]=x?v+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,c=void 0===a||a,l={placement:L(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={passive:!0};const oe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,c=j(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach((function(e){e.addEventListener("scroll",n.update,ie)})),a&&c.addEventListener("resize",n.update,ie),function(){r&&l.forEach((function(e){e.removeEventListener("scroll",n.update,ie)})),a&&c.removeEventListener("resize",n.update,ie)}},data:{}};var re={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ae={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function le(e){var t=j(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return W(I(e)).left+le(e).scrollLeft}function fe(e){var t=$(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function pe(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:D(e)&&fe(e)?e:pe(V(e))}function de(e,t){var n;void 0===t&&(t=[]);var i=pe(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=j(i),s=o?[r].concat(r.visualViewport||[],fe(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(de(V(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===p?he(function(e,t){var n=j(e),i=I(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=R();(l||!l&&"fixed"===t)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+ue(e),y:c}}(e,n)):S(t)?function(e,t){var n=W(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=I(e),i=le(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=N(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=N(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ue(e),c=-i.scrollTop;return"rtl"===$(o||n).direction&&(a+=N(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(I(e)))}function ge(e){var t,n=e.reference,a=e.element,c=e.placement,f=c?L(c):null,p=c?Z(c):null,d=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(f){case i:t={x:d,y:n.y-a.height};break;case o:t={x:d,y:n.y+n.height};break;case r:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=f?Q(f):null;if(null!=m){var g="y"===m?"height":"width";switch(p){case l:t[m]=t[m]-(n[g]/2-a[g]/2);break;case u:t[m]=t[m]+(n[g]/2-a[g]/2)}}return t}function be(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,l=n.strategy,u=void 0===l?e.strategy:l,m=n.boundary,g=void 0===m?f:m,b=n.rootBoundary,v=void 0===b?p:b,y=n.elementContext,_=void 0===y?d:y,w=n.altBoundary,x=void 0!==w&&w,O=n.padding,E=void 0===O?0:O,T=J("number"!=typeof E?E:G(E,c)),A=_===d?h:d,j=e.rects.popper,P=e.elements[x?A:_],M=function(e,t,n,i){var o="clippingParents"===t?function(e){var t=de(V(e)),n=["absolute","fixed"].indexOf($(e).position)>=0&&D(e)?U(e):e;return S(n)?t.filter((function(e){return S(e)&&B(e,n)&&"body"!==C(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(t,n){var o=me(e,n,i);return t.top=N(o.top,t.top),t.right=k(o.right,t.right),t.bottom=k(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),me(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(S(P)?P:P.contextElement||I(e.elements.popper),g,v,u),L=W(e.elements.reference),H=ge({reference:L,element:j,strategy:"absolute",placement:a}),F=he(Object.assign({},j,H)),R=_===d?F:L,z={top:M.top-R.top+T.top,bottom:R.bottom-M.bottom+T.bottom,left:M.left-R.left+T.left,right:R.right-M.right+T.right},q=e.modifiersData.offset;if(_===d&&q){var Y=q[a];Object.keys(z).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,n=[i,o].indexOf(e)>=0?"y":"x";z[e]+=Y[n]*t}))}return z}const ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var f=n.mainAxis,p=void 0===f||f,d=n.altAxis,h=void 0===d||d,b=n.fallbackPlacements,v=n.padding,y=n.boundary,_=n.rootBoundary,w=n.altBoundary,x=n.flipVariations,O=void 0===x||x,E=n.allowedAutoPlacements,T=t.options.placement,A=L(T),C=b||(A!==T&&O?function(e){if(L(e)===a)return[];var t=se(e);return[ce(e),t,ce(t)]}(T):[se(T)]),j=[T].concat(C).reduce((function(e,n){return e.concat(L(n)===a?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?g:l,f=Z(i),p=f?a?m:m.filter((function(e){return Z(e)===f})):c,d=p.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=p);var h=d.reduce((function(t,n){return t[n]=be(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[L(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:y,rootBoundary:_,padding:v,flipVariations:O,allowedAutoPlacements:E}):n)}),[]),S=t.rects.reference,D=t.rects.popper,P=new Map,M=!0,N=j[0],k=0;k<j.length;k++){var H=j[k],F=L(H),R=Z(H)===l,W=[i,o].indexOf(F)>=0,z=W?"width":"height",B=be(t,{placement:H,boundary:y,rootBoundary:_,altBoundary:w,padding:v}),$=W?R?r:s:R?o:i;S[z]>D[z]&&($=se($));var q=se($),I=[];if(p&&I.push(B[F]<=0),h&&I.push(B[$]<=0,B[q]<=0),I.every((function(e){return e}))){N=H,M=!1;break}P.set(H,I)}if(M)for(var V=function(e){var t=j.find((function(t){var n=P.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return N=t,"break"},Y=O?3:1;Y>0&&"break"!==V(Y);Y--);t.placement!==N&&(t.modifiersData[u]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[i,r,o,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=be(t,{elementContext:"reference"}),a=be(t,{altBoundary:!0}),c=ye(s,i),l=ye(a,o,r),u=_e(c),f=_e(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}},xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,c=void 0===a?[0,0]:a,l=g.reduce((function(e,n){return e[n]=function(e,t,n){var o=L(e),a=[s,i].indexOf(o)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=c[0],u=c[1];return l=l||0,u=(u||0)*a,[s,r].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}(n,t.rects,c),e}),{}),u=l[t.placement],f=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=l}},Oe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,c=n.mainAxis,u=void 0===c||c,f=n.altAxis,p=void 0!==f&&f,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.padding,b=n.tether,v=void 0===b||b,y=n.tetherOffset,_=void 0===y?0:y,w=be(t,{boundary:d,rootBoundary:h,padding:g,altBoundary:m}),x=L(t.placement),O=Z(t.placement),E=!O,T=Q(x),A="x"===T?"y":"x",C=t.modifiersData.popperOffsets,j=t.rects.reference,S=t.rects.popper,D="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,P="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(C){if(u){var F,R="y"===T?i:s,W="y"===T?o:r,B="y"===T?"height":"width",$=C[T],q=$+w[R],I=$-w[W],V=v?-S[B]/2:0,Y=O===l?j[B]:S[B],J=O===l?-S[B]:-j[B],G=t.elements.arrow,X=v&&G?z(G):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[R],ne=ee[W],ie=K(0,j[B],X[B]),oe=E?j[B]/2-V-ie-te-P.mainAxis:Y-ie-te-P.mainAxis,re=E?-j[B]/2+V+ie+ne+P.mainAxis:J+ie+ne+P.mainAxis,se=t.elements.arrow&&U(t.elements.arrow),ae=se?"y"===T?se.clientTop||0:se.clientLeft||0:0,ce=null!=(F=null==M?void 0:M[T])?F:0,le=$+re-ce,ue=K(v?k(q,$+oe-ce-ae):q,$,v?N(I,le):I);C[T]=ue,H[T]=ue-$}if(p){var fe,pe="x"===T?i:s,de="x"===T?o:r,he=C[A],me="y"===A?"height":"width",ge=he+w[pe],ve=he-w[de],ye=-1!==[i,s].indexOf(x),_e=null!=(fe=null==M?void 0:M[A])?fe:0,we=ye?ge:he-j[me]-S[me]-_e+P.altAxis,xe=ye?he+j[me]+S[me]-_e-P.altAxis:ve,Oe=v&&ye?function(e,t,n){var i=K(e,t,n);return i>n?n:i}(we,he,xe):K(v?we:ge,he,v?xe:ve);C[A]=Oe,H[A]=Oe-he}t.modifiersData[a]=H}},requiresIfExists:["offset"]};function Te(e,t,n){void 0===n&&(n=!1);var i,o,r=D(t),s=D(t)&&function(e){var t=e.getBoundingClientRect(),n=H(t.width)/e.offsetWidth||1,i=H(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=I(t),c=W(e,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==C(t)||fe(a))&&(l=(i=t)!==j(i)&&D(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:le(i)),D(t)?((u=W(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ue(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Ae(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var Ce={placement:"bottom",modifiers:[],strategy:"absolute"};function je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Se(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?Ce:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ce,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:S(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var s,l,p=function(e){var t=Ae(e);return A.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),l=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(l).map((function(e){return l[e]}))));return a.orderedModifiers=p.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:u,options:i});c.push(r||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,n=e.popper;if(je(t,n)){a.rects={reference:Te(t,U(n),"fixed"===a.options.strategy),popper:z(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,c=void 0===s?{}:s,f=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:f,instance:u})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){f(),l=!0}};if(!je(e,t))return u;function f(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var De=Se(),Pe=Se({defaultModifiers:[oe,Oe,ne,M,xe,ve,Ee,X,we]}),Me=Se({defaultModifiers:[oe,Oe,ne,M]})},11:function(e,t,n){e.exports=function(e,t,n,i){"use strict";return class extends n{constructor(t,n){super(),(t=i.getElement(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){i.executeAfterTransition(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(t){return e.get(i.getElement(t),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}}(n(269),n(956),n(105),n(35))},269:function(e){e.exports=function(){"use strict";const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}()},956:function(e,t,n){e.exports=function(e){"use strict";const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,o={};let r=1;const s={mouseenter:"mouseover",mouseleave:"mouseout"},a=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 c(e,t){return t&&`${t}::${r++}`||e.uidEvent||r++}function l(e){const t=c(e);return e.uidEvent=t,o[t]=o[t]||{},o[t]}function u(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function f(e,t,n){const i="string"==typeof t,o=i?n:t||n;let r=m(e);return a.has(r)||(r=e),[i,o,r]}function p(e,n,i,o,r){if("string"!=typeof n||!e)return;let[a,p,d]=f(n,i,o);if(n in s){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};p=e(p)}const h=l(e),m=h[d]||(h[d]={}),v=u(m,p,a?i:null);if(v)return void(v.oneOff=v.oneOff&&r);const y=c(p,n.replace(t,"")),_=a?function(e,t,n){return function i(o){const r=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return b(o,{delegateTarget:s}),i.oneOff&&g.off(e,o.type,t,n),n.apply(s,[o])}}(e,i,p):function(e,t){return function n(i){return b(i,{delegateTarget:e}),n.oneOff&&g.off(e,i.type,t),t.apply(e,[i])}}(e,p);_.delegationSelector=a?i:null,_.callable=p,_.oneOff=r,_.uidEvent=y,m[y]=_,e.addEventListener(d,_,a)}function d(e,t,n,i,o){const r=u(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function h(e,t,n,i){const o=t[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&d(e,t,n,s.callable,s.delegationSelector)}function m(e){return e=e.replace(n,""),s[e]||e}const g={on(e,t,n,i){p(e,t,n,i,!1)},one(e,t,n,i){p(e,t,n,i,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[r,s,a]=f(t,n,o),c=a!==t,u=l(e),p=u[a]||{},m=t.startsWith(".");if(void 0===s){if(m)for(const n of Object.keys(u))h(e,u,n,t.slice(1));for(const[n,o]of Object.entries(p)){const r=n.replace(i,"");c&&!t.includes(r)||d(e,u,a,o.callable,o.delegationSelector)}}else{if(!Object.keys(p).length)return;d(e,u,a,s,r?n:null)}},trigger(t,n,i){if("string"!=typeof n||!t)return null;const o=e.getjQuery();let r=null,s=!0,a=!0,c=!1;n!==m(n)&&o&&(r=o.Event(n,i),o(t).trigger(r),s=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),c=r.isDefaultPrevented());const l=b(new Event(n,{bubbles:s,cancelable:!0}),i);return c&&l.preventDefault(),a&&t.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function b(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}return g}(n(35))},333:function(e){e.exports=function(){"use strict";function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const o of i){let i=o.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),n[i]=e(t.dataset[o])}return n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`))}}()},411:function(e,t,n){e.exports=function(e){"use strict";const t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return n?n.split(",").map((t=>e.parseSelector(t))).join(","):null},n={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(n,t).filter((t=>!e.isDisabled(t)&&e.isVisible(t)))},getSelectorFromElement(e){const i=t(e);return i&&n.findOne(i)?i:null},getElementFromSelector(e){const i=t(e);return i?n.findOne(i):null},getMultipleElementsFromSelector(e){const i=t(e);return i?n.find(i):[]}};return n}(n(35))},29:function(e,t,n){e.exports=function(e,t,n,i,o,r,s){"use strict";function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const c=a(e),l=new Set(["sanitize","allowList","sanitizeFn"]),u="fade",f="show",p=".tooltip-inner",d=".modal",h="hide.bs.modal",m="hover",g="focus",b={AUTO:"auto",TOP:"top",RIGHT:o.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:o.isRTL()?"right":"left"},v={allowList:r.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},y={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 _ extends t{constructor(e,t){if(void 0===c)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return v}static get DefaultType(){return y}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),n.off(this._element.closest(d),h,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 e=n.trigger(this._element,this.constructor.eventName("show")),t=(o.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),n.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(f),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.on(e,"mouseover",o.noop);this._queueCallback((()=>{n.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(n.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(f),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",o.noop);this._activeTrigger.click=!1,this._activeTrigger[g]=!1,this._activeTrigger[m]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(u,f),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=o.getUID(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(u),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new s({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[p]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(u)}_isShown(){return this.tip&&this.tip.classList.contains(f)}_createPopper(e){const t=o.execute(this._config.placement,[this,e,this._element]),n=b[t.toUpperCase()];return c.createPopper(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return o.execute(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...o.execute(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)n.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===m?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===m?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");n.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?g:m]=!0,t._enter()})),n.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?g:m]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},n.on(this._element.closest(d),h,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=i.getDataAttributes(this._element);for(const e of Object.keys(t))l.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o.getElement(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=_.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}return o.defineJQueryPlugin(_),_}(n(170),n(11),n(956),n(333),n(35),n(812),n(982))},105:function(e,t,n){e.exports=function(e,t){"use strict";return class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(n,i){const o=t.isElement(i)?e.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof o?o:{},...t.isElement(i)?e.getDataAttributes(i):{},..."object"==typeof n?n:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[i,o]of Object.entries(n)){const n=e[i],r=t.isElement(n)?"element":t.toType(n);if(!new RegExp(o).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${o}".`)}}}}(n(333),n(35))},35:function(e,t){!function(e){"use strict";const t="transitionend",n=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),i=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),o=Number.parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0},o=e=>{e.dispatchEvent(new Event(t))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?s(e.parentNode):null},a=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,c=[],l=e=>{"loading"===document.readyState?(c.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of c)e()})),c.push(e)):e()},u=(e,t=[],n=e)=>"function"==typeof e?e(...t):n;e.defineJQueryPlugin=e=>{l((()=>{const t=a();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}}))},e.execute=u,e.executeAfterTransition=(e,n,r=!0)=>{if(!r)return void u(e);const s=i(n)+5;let a=!1;const c=({target:i})=>{i===n&&(a=!0,n.removeEventListener(t,c),u(e))};n.addEventListener(t,c),setTimeout((()=>{a||o(n)}),s)},e.findShadowRoot=s,e.getElement=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(n(e)):null,e.getNextActiveElement=(e,t,n,i)=>{const o=e.length;let r=e.indexOf(t);return-1===r?!n&&i?e[o-1]:e[0]:(r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))])},e.getTransitionDurationFromElement=i,e.getUID=e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},e.getjQuery=a,e.isDisabled=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),e.isElement=r,e.isRTL=()=>"rtl"===document.documentElement.dir,e.isVisible=e=>{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},e.noop=()=>{},e.onDOMContentLoaded=l,e.parseSelector=n,e.reflow=e=>{e.offsetHeight},e.toType=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),e.triggerTransitionEnd=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},812:function(e,t){!function(e){"use strict";const t=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),n=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,i=(e,i)=>{const o=e.nodeName.toLowerCase();return i.includes(o)?!t.has(o)||Boolean(n.test(e.nodeValue)):i.filter((e=>e instanceof RegExp)).some((e=>e.test(o)))};e.DefaultAllowlist={"*":["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:[]},e.sanitizeHtml=function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const o=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...o.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const o=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of o)i(t,r)||e.removeAttribute(t.nodeName)}return o.body.innerHTML},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},982:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const o={allowList:n.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},r={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},s={entry:"(string|element|function|null)",selector:"(string|element)"};return class extends t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return o}static get DefaultType(){return r}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},s)}_setContent(t,n,o){const r=e.findOne(o,t);r&&((n=this._resolvePossibleFunction(n))?i.isElement(n)?this._putElementInTemplate(i.getElement(n),r):this._config.html?r.innerHTML=this._maybeSanitize(n):r.textContent=n:r.remove())}_maybeSanitize(e){return this._config.sanitize?n.sanitizeHtml(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return i.execute(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}}(n(411),n(105),n(812),n(35))}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=n(29),t=n.n(e),i=[].slice.call(document.querySelectorAll('[data-toggle="tooltip"]')).map((function(e){return new(t())(e,{placement:"top"})}));console.log(i)})()})(); |