6 lines
81 KiB
JavaScript
6 lines
81 KiB
JavaScript
|
var I="top",R="bottom",k="right",P="left",pe="auto",Pt=[I,R,k,P],_t="start",Ct="end",os="clippingParents",Ge="viewport",Tt="popper",as="reference",Be=Pt.reduce(function(n,t){return n.concat([t+"-"+_t,t+"-"+Ct])},[]),qe=[].concat(Pt,[pe]).reduce(function(n,t){return n.concat([t,t+"-"+_t,t+"-"+Ct])},[]),cs="beforeRead",ls="read",us="afterRead",hs="beforeMain",ds="main",fs="afterMain",ps="beforeWrite",_s="write",ms="afterWrite",gs=[cs,ls,us,hs,ds,fs,ps,_s,ms];function G(n){return n?(n.nodeName||"").toLowerCase():null}function V(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function mt(n){var t=V(n).Element;return n instanceof t||n instanceof Element}function H(n){var t=V(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Xe(n){if(typeof ShadowRoot>"u")return!1;var t=V(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function hi(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var s=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];!H(r)||!G(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function di(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(s){var i=t.elements[s],r=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:e[s]),a=o.reduce(function(l,h){return l[h]="",l},{});!H(i)||!G(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(l){i.removeAttribute(l)}))})}}const Qe={name:"applyStyles",enabled:!0,phase:"write",fn:hi,effect:di,requires:["computeStyles"]};function U(n){return n.split("-")[0]}var pt=Math.max,ue=Math.min,Nt=Math.round;function je(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Es(){return!/^((?!chrome|android).)*safari/i.test(je())}function St(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var s=n.getBoundingClientRect(),i=1,r=1;t&&H(n)&&(i=n.offsetWidth>0&&Nt(s.width)/n.offsetWidth||1,r=n.offsetHeight>0&&Nt(s.height)/n.offsetHeight||1);var o=mt(n)?V(n):window,a=o.visualViewport,l=!Es()&&e,h=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/r,p=s.width/i,_=s.height/r;return{width:p,height:_,top:u,right:h+p,bottom:u+_,left:h,x:h,y:u}}function Ze(n){var t=St(n),e=n.offsetWidth,s=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:s}}function vs(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&Xe(e)){var s=t;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Q(n){return V(n).getComputedStyle(n)}function fi(n){return["table","td","th"].indexOf(G(n))>=0}function it(n){return((mt(n)?n.ownerDocument:n.document)||window.document).documentElement}function _e(n){return G(n)==="html"?n:n.assignedSlot||n.parentNode||(Xe(n)?n.host:null)||it(n)}function yn(n){return!H(n)||Q(n).position==="fixed"?null:n.offsetParent}function pi(n){var t=/firefox/i.test(je()),e=/Trident/i.test(je());if(e&&H(n)){var s=Q(n);if(s.position==="fixed")return null}var i=_e(n);for(Xe(i)&&(i=i.host);H(i)&&["html","body"].indexOf(G(i))<0;){var r=Q(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function Kt(n){for(var t=V(n),e=yn(n);e&&fi(e)&&Q(e).position==="static";)e=yn(e);return e&&(G(e)==="html"||G(e)==="body"&&Q(e).position==="static")?t:e||pi(n)||t}function Je(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Bt(n,t,e){return pt(n,ue(t,e))}function _i(n,t,e){var s=Bt(n,t,e)
|
||
|
* Bootstrap v5.3.2 (https://getbootstrap.com/)
|
||
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
|
*/const tt=new Map,Ce={set(n,t,e){tt.has(n)||tt.set(n,new Map);const s=tt.get(n);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,e)},get(n,t){return tt.has(n)&&tt.get(n).get(t)||null},remove(n,t){if(!tt.has(n))return;const e=tt.get(n);e.delete(t),e.size===0&&tt.delete(n)}},Qi=1e6,Zi=1e3,Ke="transitionend",$s=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),Ji=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),tr=n=>{do n+=Math.floor(Math.random()*Qi);while(document.getElementById(n));return n},er=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n);const s=Number.parseFloat(t),i=Number.parseFloat(e);return!s&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*Zi)},Ls=n=>{n.dispatchEvent(new Event(Ke))},q=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),et=n=>q(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector($s(n)):null,Mt=n=>{if(!q(n)||n.getClientRects().length===0)return!1;const t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){const s=n.closest("summary");if(s&&s.parentNode!==e||s===null)return!1}return t},nt=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Is=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Is(n.parentNode):null},he=()=>{},Yt=n=>{n.offsetHeight},Ps=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ne=[],nr=n=>{document.readyState==="loading"?(Ne.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ne)t()}),Ne.push(n)):n()},W=()=>document.documentElement.dir==="rtl",j=n=>{nr(()=>{const t=Ps();if(t){const e=n.NAME,s=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=s,n.jQueryInterface)}})},M=(n,t=[],e=n)=>typeof n=="function"?n(...t):e,Ms=(n,t,e=!0)=>{if(!e){M(n);return}const s=5,i=er(t)+s;let r=!1;const o=({target:a})=>{a===t&&(r=!0,t.removeEventListener(Ke,o),M(n))};t.addEventListener(Ke,o),setTimeout(()=>{r||Ls(t)},i)},ln=(n,t,e,s)=>{const i=n.length;let r=n.indexOf(t);return r===-1?!e&&s?n[i-1]:n[0]:(r+=e?1:-1,s&&(r=(r+i)%i),n[Math.max(0,Math.min(r,i-1))])},sr=/[^.]*(?=\..*)\.|.*/,ir=/\..*/,rr=/::\d+$/,Se={};let Ln=1;const xs={mouseenter:"mouseover",mouseleave:"mouseout"},or=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 Rs(n,t){return t&&`${t}::${Ln++}`||n.uidEvent||Ln++}function ks(n){const t=Rs(n);return n.uidEvent=t,Se[t]=Se[t]||{},Se[t]}function ar(n,t){return function e(s){return un(s,{delegateTarget:n}),e.oneOff&&c.off(n,s.type,t),t.apply(n,[s])}}function cr(n,t,e){return function s(i){const r=n.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return un(i,{delegateTarget:o}),s.oneOff&&c.off(n,i.type,t,e),e.apply(o,[i])}}function Vs(n,t,e=null){return Object.values(n).find(s=>s.callable===t&&s.delegationSelector===e)}function Hs(n,t,e){const s=typeof t=="string",i=s?e:t||e;let r=Ws(n);return or.has(r)||(r=n),[s,i,r]}function In(n,t,e,s,i){if(typeof t!="string"||!n)return;let[r
|