From f1f10d51ebb39dd1b77d695dda7d8a1b2ab12fc5 Mon Sep 17 00:00:00 2001 From: dmanslick Date: Sun, 29 Oct 2023 14:45:45 -0400 Subject: [PATCH] updated scoutview --- files/nemesis/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/nemesis/index.html b/files/nemesis/index.html index b89a972..07699d0 100644 --- a/files/nemesis/index.html +++ b/files/nemesis/index.html @@ -49,7 +49,7 @@ * 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) - */(function(e,t){(function(n,r){e.exports=r(cE)})(my,function(n){function r(f){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const u in f)if(u!=="default"){const m=Object.getOwnPropertyDescriptor(f,u);Object.defineProperty(s,u,m.get?m:{enumerable:!0,get:()=>f[u]})}}return s.default=f,Object.freeze(s)}const i=r(n),o=new Map,l={set(f,s,u){o.has(f)||o.set(f,new Map);const m=o.get(f);if(!m.has(s)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(s,u)},get(f,s){return o.has(f)&&o.get(f).get(s)||null},remove(f,s){if(!o.has(f))return;const u=o.get(f);u.delete(s),u.size===0&&o.delete(f)}},a=1e6,c=1e3,d="transitionend",g=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,(s,u)=>`#${CSS.escape(u)}`)),f),E=f=>f==null?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),_=f=>{do f+=Math.floor(Math.random()*a);while(document.getElementById(f));return f},S=f=>{if(!f)return 0;let{transitionDuration:s,transitionDelay:u}=window.getComputedStyle(f);const m=Number.parseFloat(s),C=Number.parseFloat(u);return!m&&!C?0:(s=s.split(",")[0],u=u.split(",")[0],(Number.parseFloat(s)+Number.parseFloat(u))*c)},T=f=>{f.dispatchEvent(new Event(d))},N=f=>!f||typeof f!="object"?!1:(typeof f.jquery<"u"&&(f=f[0]),typeof f.nodeType<"u"),$=f=>N(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(g(f)):null,v=f=>{if(!N(f)||f.getClientRects().length===0)return!1;const s=getComputedStyle(f).getPropertyValue("visibility")==="visible",u=f.closest("details:not([open])");if(!u)return s;if(u!==f){const m=f.closest("summary");if(m&&m.parentNode!==u||m===null)return!1}return s},h=f=>!f||f.nodeType!==Node.ELEMENT_NODE||f.classList.contains("disabled")?!0:typeof f.disabled<"u"?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false",y=f=>{if(!document.documentElement.attachShadow)return null;if(typeof f.getRootNode=="function"){const s=f.getRootNode();return s instanceof ShadowRoot?s:null}return f instanceof ShadowRoot?f:f.parentNode?y(f.parentNode):null},w=()=>{},x=f=>{f.offsetHeight},A=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,L=[],b=f=>{document.readyState==="loading"?(L.length||document.addEventListener("DOMContentLoaded",()=>{for(const s of L)s()}),L.push(f)):f()},z=()=>document.documentElement.dir==="rtl",R=f=>{b(()=>{const s=A();if(s){const u=f.NAME,m=s.fn[u];s.fn[u]=f.jQueryInterface,s.fn[u].Constructor=f,s.fn[u].noConflict=()=>(s.fn[u]=m,f.jQueryInterface)}})},V=(f,s=[],u=f)=>typeof f=="function"?f(...s):u,q=(f,s,u=!0)=>{if(!u){V(f);return}const m=5,C=S(s)+m;let P=!1;const I=({target:W})=>{W===s&&(P=!0,s.removeEventListener(d,I),V(f))};s.addEventListener(d,I),setTimeout(()=>{P||T(s)},C)},X=(f,s,u,m)=>{const C=f.length;let P=f.indexOf(s);return P===-1?!u&&m?f[C-1]:f[0]:(P+=u?1:-1,m&&(P=(P+C)%C),f[Math.max(0,Math.min(P,C-1))])},ve=/[^.]*(?=\..*)\.|.*/,Be=/\..*/,ie=/::\d+$/,ae={};let M=1;const B={mouseenter:"mouseover",mouseleave:"mouseout"},H=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 Y(f,s){return s&&`${s}::${M++}`||f.uidEvent||M++}function K(f){const s=Y(f);return f.uidEvent=s,ae[s]=ae[s]||{},ae[s]}function He(f,s){return function u(m){return Pt(m,{delegateTarget:f}),u.oneOff&&k.off(f,m.type,s),s.apply(f,[m])}}function ce(f,s,u){return function m(C){const P=f.querySelectorAll(s);for(let{target:I}=C;I&&I!==this;I=I.parentNode)for(const W of P)if(W===I)return Pt(C,{delegateTarget:I}),m.oneOff&&k.off(f,C.type,s,u),u.apply(I,[C])}}function ye(f,s,u=null){return Object.values(f).find(m=>m.callable===s&&m.delegationSelector===u)}function de(f,s,u){const m=typeof s=="string",C=m?u:s||u;let P=Ut(f);return H.has(P)||(P=f),[m,C,P]}function Pe(f,s,u,m,C){if(typeof s!="string"||!f)return;let[P,I,W]=de(s,u,m);s in B&&(I=(hy=>function(Nr){if(!Nr.relatedTarget||Nr.relatedTarget!==Nr.delegateTarget&&!Nr.delegateTarget.contains(Nr.relatedTarget))return hy.call(this,Nr)})(I));const We=K(f),ct=We[W]||(We[W]={}),Ee=ye(ct,I,P?u:null);if(Ee){Ee.oneOff=Ee.oneOff&&C;return}const Mt=Y(I,s.replace(ve,"")),Nt=P?ce(f,u,I):He(f,I);Nt.delegationSelector=P?u:null,Nt.callable=I,Nt.oneOff=C,Nt.uidEvent=Mt,ct[Mt]=Nt,f.addEventListener(W,Nt,P)}function Ae(f,s,u,m,C){const P=ye(s[u],m,C);P&&(f.removeEventListener(u,P,!!C),delete s[u][P.uidEvent])}function un(f,s,u,m){const C=s[u]||{};for(const[P,I]of Object.entries(C))P.includes(m)&&Ae(f,s,u,I.callable,I.delegationSelector)}function Ut(f){return f=f.replace(Be,""),B[f]||f}const k={on(f,s,u,m){Pe(f,s,u,m,!1)},one(f,s,u,m){Pe(f,s,u,m,!0)},off(f,s,u,m){if(typeof s!="string"||!f)return;const[C,P,I]=de(s,u,m),W=I!==s,We=K(f),ct=We[I]||{},Ee=s.startsWith(".");if(typeof P<"u"){if(!Object.keys(ct).length)return;Ae(f,We,I,P,C?u:null);return}if(Ee)for(const Mt of Object.keys(We))un(f,We,Mt,s.slice(1));for(const[Mt,Nt]of Object.entries(ct)){const Co=Mt.replace(ie,"");(!W||s.includes(Co))&&Ae(f,We,I,Nt.callable,Nt.delegationSelector)}},trigger(f,s,u){if(typeof s!="string"||!f)return null;const m=A(),C=Ut(s),P=s!==C;let I=null,W=!0,We=!0,ct=!1;P&&m&&(I=m.Event(s,u),m(f).trigger(I),W=!I.isPropagationStopped(),We=!I.isImmediatePropagationStopped(),ct=I.isDefaultPrevented());const Ee=Pt(new Event(s,{bubbles:W,cancelable:!0}),u);return ct&&Ee.preventDefault(),We&&f.dispatchEvent(Ee),Ee.defaultPrevented&&I&&I.preventDefault(),Ee}};function Pt(f,s={}){for(const[u,m]of Object.entries(s))try{f[u]=m}catch{Object.defineProperty(f,u,{configurable:!0,get(){return m}})}return f}function cn(f){if(f==="true")return!0;if(f==="false")return!1;if(f===Number(f).toString())return Number(f);if(f===""||f==="null")return null;if(typeof f!="string")return f;try{return JSON.parse(decodeURIComponent(f))}catch{return f}}function bt(f){return f.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}const Ve={setDataAttribute(f,s,u){f.setAttribute(`data-bs-${bt(s)}`,u)},removeDataAttribute(f,s){f.removeAttribute(`data-bs-${bt(s)}`)},getDataAttributes(f){if(!f)return{};const s={},u=Object.keys(f.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of u){let C=m.replace(/^bs/,"");C=C.charAt(0).toLowerCase()+C.slice(1,C.length),s[C]=cn(f.dataset[m])}return s},getDataAttribute(f,s){return cn(f.getAttribute(`data-bs-${bt(s)}`))}};class _e{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(s){return s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s}_mergeConfigObj(s,u){const m=N(u)?Ve.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},...N(u)?Ve.getDataAttributes(u):{},...typeof s=="object"?s:{}}}_typeCheckConfig(s,u=this.constructor.DefaultType){for(const[m,C]of Object.entries(u)){const P=s[m],I=N(P)?"element":E(P);if(!new RegExp(C).test(I))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${I}" but expected type "${C}".`)}}}const Et="5.3.2";class ne extends _e{constructor(s,u){super(),s=$(s),s&&(this._element=s,this._config=this._getConfig(u),l.set(this._element,this.constructor.DATA_KEY,this))}dispose(){l.remove(this._element,this.constructor.DATA_KEY),k.off(this._element,this.constructor.EVENT_KEY);for(const s of Object.getOwnPropertyNames(this))this[s]=null}_queueCallback(s,u,m=!0){q(s,u,m)}_getConfig(s){return s=this._mergeConfigObj(s,this._element),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}static getInstance(s){return l.get($(s),this.DATA_KEY)}static getOrCreateInstance(s,u={}){return this.getInstance(s)||new this(s,typeof u=="object"?u:null)}static get VERSION(){return Et}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(s){return`${s}${this.EVENT_KEY}`}}const Xe=f=>{let s=f.getAttribute("data-bs-target");if(!s||s==="#"){let u=f.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),s=u&&u!=="#"?g(u.trim()):null}return s},j={find(f,s=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(s,f))},findOne(f,s=document.documentElement){return Element.prototype.querySelector.call(s,f)},children(f,s){return[].concat(...f.children).filter(u=>u.matches(s))},parents(f,s){const u=[];let m=f.parentNode.closest(s);for(;m;)u.push(m),m=m.parentNode.closest(s);return u},prev(f,s){let u=f.previousElementSibling;for(;u;){if(u.matches(s))return[u];u=u.previousElementSibling}return[]},next(f,s){let u=f.nextElementSibling;for(;u;){if(u.matches(s))return[u];u=u.nextElementSibling}return[]},focusableChildren(f){const s=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(s,f).filter(u=>!h(u)&&v(u))},getSelectorFromElement(f){const s=Xe(f);return s&&j.findOne(s)?s:null},getElementFromSelector(f){const s=Xe(f);return s?j.findOne(s):null},getMultipleElementsFromSelector(f){const s=Xe(f);return s?j.find(s):[]}},be=(f,s="hide")=>{const u=`click.dismiss${f.EVENT_KEY}`,m=f.NAME;k.on(document,u,`[data-bs-dismiss="${m}"]`,function(C){if(["A","AREA"].includes(this.tagName)&&C.preventDefault(),h(this))return;const P=j.getElementFromSelector(this)||this.closest(`.${m}`);f.getOrCreateInstance(P)[s]()})},lt="alert",at=".bs.alert",fn=`close${at}`,wt=`closed${at}`,pn="fade",St="show";class Qt extends ne{static get NAME(){return lt}close(){if(k.trigger(this._element,fn).defaultPrevented)return;this._element.classList.remove(St);const u=this._element.classList.contains(pn);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),k.trigger(this._element,wt),this.dispose()}static jQueryInterface(s){return this.each(function(){const u=Qt.getOrCreateInstance(this);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}be(Qt,"close"),R(Qt);const hn="button",mn=".bs.button",li=".data-api",gn="active",gr='[data-bs-toggle="button"]',Wn=`click${mn}${li}`;class vn extends ne{static get NAME(){return hn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(gn))}static jQueryInterface(s){return this.each(function(){const u=vn.getOrCreateInstance(this);s==="toggle"&&u[s]()})}}k.on(document,Wn,gr,f=>{f.preventDefault();const s=f.target.closest(gr);vn.getOrCreateInstance(s).toggle()}),R(vn);const Xs="swipe",yn=".bs.swipe",Kt=`touchstart${yn}`,co=`touchmove${yn}`,Zs=`touchend${yn}`,ai=`pointerdown${yn}`,Js=`pointerup${yn}`,ui="touch",Z="pen",Qh="pointer-event",Kh=40,Yh={endCallback:null,leftCallback:null,rightCallback:null},Gh={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fo extends _e{constructor(s,u){super(),this._element=s,!(!s||!fo.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Yh}static get DefaultType(){return Gh}static get NAME(){return Xs}dispose(){k.off(this._element,yn)}_start(s){if(!this._supportPointerEvents){this._deltaX=s.touches[0].clientX;return}this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX)}_end(s){this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX-this._deltaX),this._handleSwipe(),V(this._config.endCallback)}_move(s){this._deltaX=s.touches&&s.touches.length>1?0:s.touches[0].clientX-this._deltaX}_handleSwipe(){const s=Math.abs(this._deltaX);if(s<=Kh)return;const u=s/this._deltaX;this._deltaX=0,u&&V(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(k.on(this._element,ai,s=>this._start(s)),k.on(this._element,Js,s=>this._end(s)),this._element.classList.add(Qh)):(k.on(this._element,Kt,s=>this._start(s)),k.on(this._element,co,s=>this._move(s)),k.on(this._element,Zs,s=>this._end(s)))}_eventIsPointerPenTouch(s){return this._supportPointerEvents&&(s.pointerType===Z||s.pointerType===ui)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Xh="carousel",_n=".bs.carousel",Hu=".data-api",Zh="ArrowLeft",Jh="ArrowRight",qh=500,ci="next",vr="prev",yr="left",po="right",em=`slide${_n}`,qs=`slid${_n}`,tm=`keydown${_n}`,nm=`mouseenter${_n}`,rm=`mouseleave${_n}`,im=`dragstart${_n}`,om=`load${_n}${Hu}`,sm=`click${_n}${Hu}`,Vu="carousel",ho="active",lm="slide",am="carousel-item-end",um="carousel-item-start",cm="carousel-item-next",dm="carousel-item-prev",Wu=".active",Uu=".carousel-item",fm=Wu+Uu,pm=".carousel-item img",hm=".carousel-indicators",mm="[data-bs-slide], [data-bs-slide-to]",gm='[data-bs-ride="carousel"]',vm={[Zh]:po,[Jh]:yr},ym={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_m={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class _r extends ne{constructor(s,u){super(s,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=j.findOne(hm,this._element),this._addEventListeners(),this._config.ride===Vu&&this.cycle()}static get Default(){return ym}static get DefaultType(){return _m}static get NAME(){return Xh}next(){this._slide(ci)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(vr)}pause(){this._isSliding&&T(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){k.one(this._element,qs,()=>this.cycle());return}this.cycle()}}to(s){const u=this._getItems();if(s>u.length-1||s<0)return;if(this._isSliding){k.one(this._element,qs,()=>this.to(s));return}const m=this._getItemIndex(this._getActive());if(m===s)return;const C=s>m?ci:vr;this._slide(C,u[s])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(s){return s.defaultInterval=s.interval,s}_addEventListeners(){this._config.keyboard&&k.on(this._element,tm,s=>this._keydown(s)),this._config.pause==="hover"&&(k.on(this._element,nm,()=>this.pause()),k.on(this._element,rm,()=>this._maybeEnableCycle())),this._config.touch&&fo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of j.find(pm,this._element))k.on(m,im,C=>C.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(yr)),rightCallback:()=>this._slide(this._directionToOrder(po)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),qh+this._config.interval))}};this._swipeHelper=new fo(this._element,u)}_keydown(s){if(/input|textarea/i.test(s.target.tagName))return;const u=vm[s.key];u&&(s.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(s){return this._getItems().indexOf(s)}_setActiveIndicatorElement(s){if(!this._indicatorsElement)return;const u=j.findOne(Wu,this._indicatorsElement);u.classList.remove(ho),u.removeAttribute("aria-current");const m=j.findOne(`[data-bs-slide-to="${s}"]`,this._indicatorsElement);m&&(m.classList.add(ho),m.setAttribute("aria-current","true"))}_updateInterval(){const s=this._activeElement||this._getActive();if(!s)return;const u=Number.parseInt(s.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(s,u=null){if(this._isSliding)return;const m=this._getActive(),C=s===ci,P=u||X(this._getItems(),m,C,this._config.wrap);if(P===m)return;const I=this._getItemIndex(P),W=Co=>k.trigger(this._element,Co,{relatedTarget:P,direction:this._orderToDirection(s),from:this._getItemIndex(m),to:I});if(W(em).defaultPrevented||!m||!P)return;const ct=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(I),this._activeElement=P;const Ee=C?um:am,Mt=C?cm:dm;P.classList.add(Mt),x(P),m.classList.add(Ee),P.classList.add(Ee);const Nt=()=>{P.classList.remove(Ee,Mt),P.classList.add(ho),m.classList.remove(ho,Mt,Ee),this._isSliding=!1,W(qs)};this._queueCallback(Nt,m,this._isAnimated()),ct&&this.cycle()}_isAnimated(){return this._element.classList.contains(lm)}_getActive(){return j.findOne(fm,this._element)}_getItems(){return j.find(Uu,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(s){return z()?s===yr?vr:ci:s===yr?ci:vr}_orderToDirection(s){return z()?s===vr?yr:po:s===vr?po:yr}static jQueryInterface(s){return this.each(function(){const u=_r.getOrCreateInstance(this,s);if(typeof s=="number"){u.to(s);return}if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(document,sm,mm,function(f){const s=j.getElementFromSelector(this);if(!s||!s.classList.contains(Vu))return;f.preventDefault();const u=_r.getOrCreateInstance(s),m=this.getAttribute("data-bs-slide-to");if(m){u.to(m),u._maybeEnableCycle();return}if(Ve.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),k.on(window,om,()=>{const f=j.find(gm);for(const s of f)_r.getOrCreateInstance(s)}),R(_r);const Em="collapse",di=".bs.collapse",wm=".data-api",Sm=`show${di}`,Cm=`shown${di}`,Nm=`hide${di}`,Tm=`hidden${di}`,km=`click${di}${wm}`,el="show",Er="collapse",mo="collapsing",xm="collapsed",Am=`:scope .${Er} .${Er}`,Om="collapse-horizontal",Lm="width",Im="height",Dm=".collapse.show, .collapse.collapsing",tl='[data-bs-toggle="collapse"]',Pm={parent:null,toggle:!0},bm={parent:"(null|element)",toggle:"boolean"};class wr extends ne{constructor(s,u){super(s,u),this._isTransitioning=!1,this._triggerArray=[];const m=j.find(tl);for(const C of m){const P=j.getSelectorFromElement(C),I=j.find(P).filter(W=>W===this._element);P!==null&&I.length&&this._triggerArray.push(C)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pm}static get DefaultType(){return bm}static get NAME(){return Em}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let s=[];if(this._config.parent&&(s=this._getFirstLevelChildren(Dm).filter(W=>W!==this._element).map(W=>wr.getOrCreateInstance(W,{toggle:!1}))),s.length&&s[0]._isTransitioning||k.trigger(this._element,Sm).defaultPrevented)return;for(const W of s)W.hide();const m=this._getDimension();this._element.classList.remove(Er),this._element.classList.add(mo),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const C=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(Er,el),this._element.style[m]="",k.trigger(this._element,Cm)},I=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(C,this._element,!0),this._element.style[m]=`${this._element[I]}px`}hide(){if(this._isTransitioning||!this._isShown()||k.trigger(this._element,Nm).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,x(this._element),this._element.classList.add(mo),this._element.classList.remove(Er,el);for(const C of this._triggerArray){const P=j.getElementFromSelector(C);P&&!this._isShown(P)&&this._addAriaAndCollapsedClass([C],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(Er),k.trigger(this._element,Tm)};this._element.style[u]="",this._queueCallback(m,this._element,!0)}_isShown(s=this._element){return s.classList.contains(el)}_configAfterMerge(s){return s.toggle=!!s.toggle,s.parent=$(s.parent),s}_getDimension(){return this._element.classList.contains(Om)?Lm:Im}_initializeChildren(){if(!this._config.parent)return;const s=this._getFirstLevelChildren(tl);for(const u of s){const m=j.getElementFromSelector(u);m&&this._addAriaAndCollapsedClass([u],this._isShown(m))}}_getFirstLevelChildren(s){const u=j.find(Am,this._config.parent);return j.find(s,this._config.parent).filter(m=>!u.includes(m))}_addAriaAndCollapsedClass(s,u){if(s.length)for(const m of s)m.classList.toggle(xm,!u),m.setAttribute("aria-expanded",u)}static jQueryInterface(s){const u={};return typeof s=="string"&&/show|hide/.test(s)&&(u.toggle=!1),this.each(function(){const m=wr.getOrCreateInstance(this,u);if(typeof s=="string"){if(typeof m[s]>"u")throw new TypeError(`No method named "${s}"`);m[s]()}})}}k.on(document,km,tl,function(f){(f.target.tagName==="A"||f.delegateTarget&&f.delegateTarget.tagName==="A")&&f.preventDefault();for(const s of j.getMultipleElementsFromSelector(this))wr.getOrCreateInstance(s,{toggle:!1}).toggle()}),R(wr);const Qu="dropdown",Un=".bs.dropdown",nl=".data-api",Mm="Escape",Ku="Tab",Rm="ArrowUp",Yu="ArrowDown",$m=2,jm=`hide${Un}`,Fm=`hidden${Un}`,zm=`show${Un}`,Bm=`shown${Un}`,Gu=`click${Un}${nl}`,Xu=`keydown${Un}${nl}`,Hm=`keyup${Un}${nl}`,Sr="show",Vm="dropup",Wm="dropend",Um="dropstart",Qm="dropup-center",Km="dropdown-center",Qn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ym=`${Qn}.${Sr}`,go=".dropdown-menu",Gm=".navbar",Xm=".navbar-nav",Zm=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Jm=z()?"top-end":"top-start",qm=z()?"top-start":"top-end",eg=z()?"bottom-end":"bottom-start",tg=z()?"bottom-start":"bottom-end",ng=z()?"left-start":"right-start",rg=z()?"right-start":"left-start",ig="top",og="bottom",sg={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},lg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ct extends ne{constructor(s,u){super(s,u),this._popper=null,this._parent=this._element.parentNode,this._menu=j.next(this._element,go)[0]||j.prev(this._element,go)[0]||j.findOne(go,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return sg}static get DefaultType(){return lg}static get NAME(){return Qu}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const s={relatedTarget:this._element};if(!k.trigger(this._element,zm,s).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Xm))for(const m of[].concat(...document.body.children))k.on(m,"mouseover",w);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Sr),this._element.classList.add(Sr),k.trigger(this._element,Bm,s)}}hide(){if(h(this._element)||!this._isShown())return;const s={relatedTarget:this._element};this._completeHide(s)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(s){if(!k.trigger(this._element,jm,s).defaultPrevented){if("ontouchstart"in document.documentElement)for(const m of[].concat(...document.body.children))k.off(m,"mouseover",w);this._popper&&this._popper.destroy(),this._menu.classList.remove(Sr),this._element.classList.remove(Sr),this._element.setAttribute("aria-expanded","false"),Ve.removeDataAttribute(this._menu,"popper"),k.trigger(this._element,Fm,s)}}_getConfig(s){if(s=super._getConfig(s),typeof s.reference=="object"&&!N(s.reference)&&typeof s.reference.getBoundingClientRect!="function")throw new TypeError(`${Qu.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return s}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let s=this._element;this._config.reference==="parent"?s=this._parent:N(this._config.reference)?s=$(this._config.reference):typeof this._config.reference=="object"&&(s=this._config.reference);const u=this._getPopperConfig();this._popper=i.createPopper(s,this._menu,u)}_isShown(){return this._menu.classList.contains(Sr)}_getPlacement(){const s=this._parent;if(s.classList.contains(Wm))return ng;if(s.classList.contains(Um))return rg;if(s.classList.contains(Qm))return ig;if(s.classList.contains(Km))return og;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return s.classList.contains(Vm)?u?qm:Jm:u?tg:eg}_detectNavbar(){return this._element.closest(Gm)!==null}_getOffset(){const{offset:s}=this._config;return typeof s=="string"?s.split(",").map(u=>Number.parseInt(u,10)):typeof s=="function"?u=>s(u,this._element):s}_getPopperConfig(){const s={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ve.setDataAttribute(this._menu,"popper","static"),s.modifiers=[{name:"applyStyles",enabled:!1}]),{...s,...V(this._config.popperConfig,[s])}}_selectMenuItem({key:s,target:u}){const m=j.find(Zm,this._menu).filter(C=>v(C));m.length&&X(m,u,s===Yu,!m.includes(u)).focus()}static jQueryInterface(s){return this.each(function(){const u=Ct.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}static clearMenus(s){if(s.button===$m||s.type==="keyup"&&s.key!==Ku)return;const u=j.find(Ym);for(const m of u){const C=Ct.getInstance(m);if(!C||C._config.autoClose===!1)continue;const P=s.composedPath(),I=P.includes(C._menu);if(P.includes(C._element)||C._config.autoClose==="inside"&&!I||C._config.autoClose==="outside"&&I||C._menu.contains(s.target)&&(s.type==="keyup"&&s.key===Ku||/input|select|option|textarea|form/i.test(s.target.tagName)))continue;const W={relatedTarget:C._element};s.type==="click"&&(W.clickEvent=s),C._completeHide(W)}}static dataApiKeydownHandler(s){const u=/input|textarea/i.test(s.target.tagName),m=s.key===Mm,C=[Rm,Yu].includes(s.key);if(!C&&!m||u&&!m)return;s.preventDefault();const P=this.matches(Qn)?this:j.prev(this,Qn)[0]||j.next(this,Qn)[0]||j.findOne(Qn,s.delegateTarget.parentNode),I=Ct.getOrCreateInstance(P);if(C){s.stopPropagation(),I.show(),I._selectMenuItem(s);return}I._isShown()&&(s.stopPropagation(),I.hide(),P.focus())}}k.on(document,Xu,Qn,Ct.dataApiKeydownHandler),k.on(document,Xu,go,Ct.dataApiKeydownHandler),k.on(document,Gu,Ct.clearMenus),k.on(document,Hm,Ct.clearMenus),k.on(document,Gu,Qn,function(f){f.preventDefault(),Ct.getOrCreateInstance(this).toggle()}),R(Ct);const Zu="backdrop",ag="fade",Ju="show",qu=`mousedown.bs.${Zu}`,ug={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ec extends _e{constructor(s){super(),this._config=this._getConfig(s),this._isAppended=!1,this._element=null}static get Default(){return ug}static get DefaultType(){return cg}static get NAME(){return Zu}show(s){if(!this._config.isVisible){V(s);return}this._append();const u=this._getElement();this._config.isAnimated&&x(u),u.classList.add(Ju),this._emulateAnimation(()=>{V(s)})}hide(s){if(!this._config.isVisible){V(s);return}this._getElement().classList.remove(Ju),this._emulateAnimation(()=>{this.dispose(),V(s)})}dispose(){this._isAppended&&(k.off(this._element,qu),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const s=document.createElement("div");s.className=this._config.className,this._config.isAnimated&&s.classList.add(ag),this._element=s}return this._element}_configAfterMerge(s){return s.rootElement=$(s.rootElement),s}_append(){if(this._isAppended)return;const s=this._getElement();this._config.rootElement.append(s),k.on(s,qu,()=>{V(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(s){q(s,this._getElement(),this._config.isAnimated)}}const dg="focustrap",vo=".bs.focustrap",fg=`focusin${vo}`,pg=`keydown.tab${vo}`,hg="Tab",mg="forward",tc="backward",gg={autofocus:!0,trapElement:null},vg={autofocus:"boolean",trapElement:"element"};class nc extends _e{constructor(s){super(),this._config=this._getConfig(s),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gg}static get DefaultType(){return vg}static get NAME(){return dg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),k.off(document,vo),k.on(document,fg,s=>this._handleFocusin(s)),k.on(document,pg,s=>this._handleKeydown(s)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,k.off(document,vo))}_handleFocusin(s){const{trapElement:u}=this._config;if(s.target===document||s.target===u||u.contains(s.target))return;const m=j.focusableChildren(u);m.length===0?u.focus():this._lastTabNavDirection===tc?m[m.length-1].focus():m[0].focus()}_handleKeydown(s){s.key===hg&&(this._lastTabNavDirection=s.shiftKey?tc:mg)}}const rc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ic=".sticky-top",yo="padding-right",oc="margin-right";class rl{constructor(){this._element=document.body}getWidth(){const s=document.documentElement.clientWidth;return Math.abs(window.innerWidth-s)}hide(){const s=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yo,u=>u+s),this._setElementAttributes(rc,yo,u=>u+s),this._setElementAttributes(ic,oc,u=>u-s)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yo),this._resetElementAttributes(rc,yo),this._resetElementAttributes(ic,oc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(s,u,m){const C=this.getWidth(),P=I=>{if(I!==this._element&&window.innerWidth>I.clientWidth+C)return;this._saveInitialAttribute(I,u);const W=window.getComputedStyle(I).getPropertyValue(u);I.style.setProperty(u,`${m(Number.parseFloat(W))}px`)};this._applyManipulationCallback(s,P)}_saveInitialAttribute(s,u){const m=s.style.getPropertyValue(u);m&&Ve.setDataAttribute(s,u,m)}_resetElementAttributes(s,u){const m=C=>{const P=Ve.getDataAttribute(C,u);if(P===null){C.style.removeProperty(u);return}Ve.removeDataAttribute(C,u),C.style.setProperty(u,P)};this._applyManipulationCallback(s,m)}_applyManipulationCallback(s,u){if(N(s)){u(s);return}for(const m of j.find(s,this._element))u(m)}}const yg="modal",ut=".bs.modal",_g=".data-api",Eg="Escape",wg=`hide${ut}`,Sg=`hidePrevented${ut}`,sc=`hidden${ut}`,lc=`show${ut}`,Cg=`shown${ut}`,Ng=`resize${ut}`,Tg=`click.dismiss${ut}`,kg=`mousedown.dismiss${ut}`,xg=`keydown.dismiss${ut}`,Ag=`click${ut}${_g}`,ac="modal-open",Og="fade",uc="show",il="modal-static",Lg=".modal.show",Ig=".modal-dialog",Dg=".modal-body",Pg='[data-bs-toggle="modal"]',bg={backdrop:!0,focus:!0,keyboard:!0},Mg={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Kn extends ne{constructor(s,u){super(s,u),this._dialog=j.findOne(Ig,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new rl,this._addEventListeners()}static get Default(){return bg}static get DefaultType(){return Mg}static get NAME(){return yg}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||this._isTransitioning||k.trigger(this._element,lc,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ac),this._adjustDialog(),this._backdrop.show(()=>this._showElement(s)))}hide(){!this._isShown||this._isTransitioning||k.trigger(this._element,wg).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(uc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){k.off(window,ut),k.off(this._dialog,ut),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ec({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new nc({trapElement:this._element})}_showElement(s){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 u=j.findOne(Dg,this._dialog);u&&(u.scrollTop=0),x(this._element),this._element.classList.add(uc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,k.trigger(this._element,Cg,{relatedTarget:s})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){k.on(this._element,xg,s=>{if(s.key===Eg){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),k.on(window,Ng,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),k.on(this._element,kg,s=>{k.one(this._element,Tg,u=>{if(!(this._element!==s.target||this._element!==u.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ac),this._resetAdjustments(),this._scrollBar.reset(),k.trigger(this._element,sc)})}_isAnimated(){return this._element.classList.contains(Og)}_triggerBackdropTransition(){if(k.trigger(this._element,Sg).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(il)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(il),this._queueCallback(()=>{this._element.classList.remove(il),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const s=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),m=u>0;if(m&&!s){const C=z()?"paddingLeft":"paddingRight";this._element.style[C]=`${u}px`}if(!m&&s){const C=z()?"paddingRight":"paddingLeft";this._element.style[C]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(s,u){return this.each(function(){const m=Kn.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof m[s]>"u")throw new TypeError(`No method named "${s}"`);m[s](u)}})}}k.on(document,Ag,Pg,function(f){const s=j.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&f.preventDefault(),k.one(s,lc,C=>{C.defaultPrevented||k.one(s,sc,()=>{v(this)&&this.focus()})});const u=j.findOne(Lg);u&&Kn.getInstance(u).hide(),Kn.getOrCreateInstance(s).toggle(this)}),be(Kn),R(Kn);const Rg="offcanvas",Yt=".bs.offcanvas",cc=".data-api",$g=`load${Yt}${cc}`,jg="Escape",dc="show",fc="showing",pc="hiding",Fg="offcanvas-backdrop",hc=".offcanvas.show",zg=`show${Yt}`,Bg=`shown${Yt}`,Hg=`hide${Yt}`,mc=`hidePrevented${Yt}`,gc=`hidden${Yt}`,Vg=`resize${Yt}`,Wg=`click${Yt}${cc}`,Ug=`keydown.dismiss${Yt}`,Qg='[data-bs-toggle="offcanvas"]',Kg={backdrop:!0,keyboard:!0,scroll:!1},Yg={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Gt extends ne{constructor(s,u){super(s,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Kg}static get DefaultType(){return Yg}static get NAME(){return Rg}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){if(this._isShown||k.trigger(this._element,zg,{relatedTarget:s}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new rl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(fc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(dc),this._element.classList.remove(fc),k.trigger(this._element,Bg,{relatedTarget:s})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||k.trigger(this._element,Hg).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(pc),this._backdrop.hide();const u=()=>{this._element.classList.remove(dc,pc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new rl().reset(),k.trigger(this._element,gc)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const s=()=>{if(this._config.backdrop==="static"){k.trigger(this._element,mc);return}this.hide()},u=!!this._config.backdrop;return new ec({className:Fg,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?s:null})}_initializeFocusTrap(){return new nc({trapElement:this._element})}_addEventListeners(){k.on(this._element,Ug,s=>{if(s.key===jg){if(this._config.keyboard){this.hide();return}k.trigger(this._element,mc)}})}static jQueryInterface(s){return this.each(function(){const u=Gt.getOrCreateInstance(this,s);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}k.on(document,Wg,Qg,function(f){const s=j.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),h(this))return;k.one(s,gc,()=>{v(this)&&this.focus()});const u=j.findOne(hc);u&&u!==s&&Gt.getInstance(u).hide(),Gt.getOrCreateInstance(s).toggle(this)}),k.on(window,$g,()=>{for(const f of j.find(hc))Gt.getOrCreateInstance(f).show()}),k.on(window,Vg,()=>{for(const f of j.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(f).position!=="fixed"&&Gt.getOrCreateInstance(f).hide()}),be(Gt),R(Gt);const vc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Gg=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Zg=(f,s)=>{const u=f.nodeName.toLowerCase();return s.includes(u)?Gg.has(u)?!!Xg.test(f.nodeValue):!0:s.filter(m=>m instanceof RegExp).some(m=>m.test(u))};function Jg(f,s,u){if(!f.length)return f;if(u&&typeof u=="function")return u(f);const C=new window.DOMParser().parseFromString(f,"text/html"),P=[].concat(...C.body.querySelectorAll("*"));for(const I of P){const W=I.nodeName.toLowerCase();if(!Object.keys(s).includes(W)){I.remove();continue}const We=[].concat(...I.attributes),ct=[].concat(s["*"]||[],s[W]||[]);for(const Ee of We)Zg(Ee,ct)||I.removeAttribute(Ee.nodeName)}return C.body.innerHTML}const qg="TemplateFactory",ev={allowList:vc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},tv={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},nv={entry:"(string|element|function|null)",selector:"(string|element)"};class rv extends _e{constructor(s){super(),this._config=this._getConfig(s)}static get Default(){return ev}static get DefaultType(){return tv}static get NAME(){return qg}getContent(){return Object.values(this._config.content).map(s=>this._resolvePossibleFunction(s)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(s){return this._checkContent(s),this._config.content={...this._config.content,...s},this}toHtml(){const s=document.createElement("div");s.innerHTML=this._maybeSanitize(this._config.template);for(const[C,P]of Object.entries(this._config.content))this._setContent(s,P,C);const u=s.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&u.classList.add(...m.split(" ")),u}_typeCheckConfig(s){super._typeCheckConfig(s),this._checkContent(s.content)}_checkContent(s){for(const[u,m]of Object.entries(s))super._typeCheckConfig({selector:u,entry:m},nv)}_setContent(s,u,m){const C=j.findOne(m,s);if(C){if(u=this._resolvePossibleFunction(u),!u){C.remove();return}if(N(u)){this._putElementInTemplate($(u),C);return}if(this._config.html){C.innerHTML=this._maybeSanitize(u);return}C.textContent=u}}_maybeSanitize(s){return this._config.sanitize?Jg(s,this._config.allowList,this._config.sanitizeFn):s}_resolvePossibleFunction(s){return V(s,[this])}_putElementInTemplate(s,u){if(this._config.html){u.innerHTML="",u.append(s);return}u.textContent=s.textContent}}const iv="tooltip",ov=new Set(["sanitize","allowList","sanitizeFn"]),ol="fade",sv="modal",_o="show",lv=".tooltip-inner",yc=`.${sv}`,_c="hide.bs.modal",fi="hover",sl="focus",av="click",uv="manual",cv="hide",dv="hidden",fv="show",pv="shown",hv="inserted",mv="click",gv="focusin",vv="focusout",yv="mouseenter",_v="mouseleave",Ev={AUTO:"auto",TOP:"top",RIGHT:z()?"left":"right",BOTTOM:"bottom",LEFT:z()?"right":"left"},wv={allowList:vc,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"},Sv={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 Yn extends ne{constructor(s,u){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(s,u),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 wv}static get DefaultType(){return Sv}static get NAME(){return iv}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),k.off(this._element.closest(yc),_c,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const s=k.trigger(this._element,this.constructor.eventName(fv)),m=(y(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(s.defaultPrevented||!m)return;this._disposePopper();const C=this._getTipElement();this._element.setAttribute("aria-describedby",C.getAttribute("id"));const{container:P}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(P.append(C),k.trigger(this._element,this.constructor.eventName(hv))),this._popper=this._createPopper(C),C.classList.add(_o),"ontouchstart"in document.documentElement)for(const W of[].concat(...document.body.children))k.on(W,"mouseover",w);const I=()=>{k.trigger(this._element,this.constructor.eventName(pv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(I,this.tip,this._isAnimated())}hide(){if(!this._isShown()||k.trigger(this._element,this.constructor.eventName(cv)).defaultPrevented)return;if(this._getTipElement().classList.remove(_o),"ontouchstart"in document.documentElement)for(const C of[].concat(...document.body.children))k.off(C,"mouseover",w);this._activeTrigger[av]=!1,this._activeTrigger[sl]=!1,this._activeTrigger[fi]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),k.trigger(this._element,this.constructor.eventName(dv)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(s){const u=this._getTemplateFactory(s).toHtml();if(!u)return null;u.classList.remove(ol,_o),u.classList.add(`bs-${this.constructor.NAME}-auto`);const m=_(this.constructor.NAME).toString();return u.setAttribute("id",m),this._isAnimated()&&u.classList.add(ol),u}setContent(s){this._newContent=s,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(s){return this._templateFactory?this._templateFactory.changeContent(s):this._templateFactory=new rv({...this._config,content:s,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[lv]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(s){return this.constructor.getOrCreateInstance(s.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ol)}_isShown(){return this.tip&&this.tip.classList.contains(_o)}_createPopper(s){const u=V(this._config.placement,[this,s,this._element]),m=Ev[u.toUpperCase()];return i.createPopper(this._element,s,this._getPopperConfig(m))}_getOffset(){const{offset:s}=this._config;return typeof s=="string"?s.split(",").map(u=>Number.parseInt(u,10)):typeof s=="function"?u=>s(u,this._element):s}_resolvePossibleFunction(s){return V(s,[this._element])}_getPopperConfig(s){const u={placement:s,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:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...u,...V(this._config.popperConfig,[u])}}_setListeners(){const s=this._config.trigger.split(" ");for(const u of s)if(u==="click")k.on(this._element,this.constructor.eventName(mv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(u!==uv){const m=u===fi?this.constructor.eventName(yv):this.constructor.eventName(gv),C=u===fi?this.constructor.eventName(_v):this.constructor.eventName(vv);k.on(this._element,m,this._config.selector,P=>{const I=this._initializeOnDelegatedTarget(P);I._activeTrigger[P.type==="focusin"?sl:fi]=!0,I._enter()}),k.on(this._element,C,this._config.selector,P=>{const I=this._initializeOnDelegatedTarget(P);I._activeTrigger[P.type==="focusout"?sl:fi]=I._element.contains(P.relatedTarget),I._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},k.on(this._element.closest(yc),_c,this._hideModalHandler)}_fixTitle(){const s=this._element.getAttribute("title");s&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",s),this._element.setAttribute("data-bs-original-title",s),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(s,u){clearTimeout(this._timeout),this._timeout=setTimeout(s,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(s){const u=Ve.getDataAttributes(this._element);for(const m of Object.keys(u))ov.has(m)&&delete u[m];return s={...u,...typeof s=="object"&&s?s:{}},s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s.container=s.container===!1?document.body:$(s.container),typeof s.delay=="number"&&(s.delay={show:s.delay,hide:s.delay}),typeof s.title=="number"&&(s.title=s.title.toString()),typeof s.content=="number"&&(s.content=s.content.toString()),s}_getDelegateConfig(){const s={};for(const[u,m]of Object.entries(this._config))this.constructor.Default[u]!==m&&(s[u]=m);return s.selector=!1,s.trigger="manual",s}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(s){return this.each(function(){const u=Yn.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}}R(Yn);const Cv="popover",Nv=".popover-header",Tv=".popover-body",kv={...Yn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xv={...Yn.DefaultType,content:"(null|string|element|function)"};class Eo extends Yn{static get Default(){return kv}static get DefaultType(){return xv}static get NAME(){return Cv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Nv]:this._getTitle(),[Tv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(s){return this.each(function(){const u=Eo.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}}R(Eo);const Av="scrollspy",ll=".bs.scrollspy",Ov=".data-api",Lv=`activate${ll}`,Ec=`click${ll}`,Iv=`load${ll}${Ov}`,Dv="dropdown-item",Cr="active",Pv='[data-bs-spy="scroll"]',al="[href]",bv=".nav, .list-group",wc=".nav-link",Mv=`${wc}, .nav-item > ${wc}, .list-group-item`,Rv=".dropdown",$v=".dropdown-toggle",jv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Fv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pi extends ne{constructor(s,u){super(s,u),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return jv}static get DefaultType(){return Fv}static get NAME(){return Av}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const s of this._observableSections.values())this._observer.observe(s)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(s){return s.target=$(s.target)||document.body,s.rootMargin=s.offset?`${s.offset}px 0px -30%`:s.rootMargin,typeof s.threshold=="string"&&(s.threshold=s.threshold.split(",").map(u=>Number.parseFloat(u))),s}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(k.off(this._config.target,Ec),k.on(this._config.target,Ec,al,s=>{const u=this._observableSections.get(s.target.hash);if(u){s.preventDefault();const m=this._rootElement||window,C=u.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:C,behavior:"smooth"});return}m.scrollTop=C}}))}_getNewObserver(){const s={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(u=>this._observerCallback(u),s)}_observerCallback(s){const u=I=>this._targetLinks.get(`#${I.target.id}`),m=I=>{this._previousScrollData.visibleEntryTop=I.target.offsetTop,this._process(u(I))},C=(this._rootElement||document.documentElement).scrollTop,P=C>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=C;for(const I of s){if(!I.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(I));continue}const W=I.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(P&&W){if(m(I),!C)return;continue}!P&&!W&&m(I)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const s=j.find(al,this._config.target);for(const u of s){if(!u.hash||h(u))continue;const m=j.findOne(decodeURI(u.hash),this._element);v(m)&&(this._targetLinks.set(decodeURI(u.hash),u),this._observableSections.set(u.hash,m))}}_process(s){this._activeTarget!==s&&(this._clearActiveClass(this._config.target),this._activeTarget=s,s.classList.add(Cr),this._activateParents(s),k.trigger(this._element,Lv,{relatedTarget:s}))}_activateParents(s){if(s.classList.contains(Dv)){j.findOne($v,s.closest(Rv)).classList.add(Cr);return}for(const u of j.parents(s,bv))for(const m of j.prev(u,Mv))m.classList.add(Cr)}_clearActiveClass(s){s.classList.remove(Cr);const u=j.find(`${al}.${Cr}`,s);for(const m of u)m.classList.remove(Cr)}static jQueryInterface(s){return this.each(function(){const u=pi.getOrCreateInstance(this,s);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(window,Iv,()=>{for(const f of j.find(Pv))pi.getOrCreateInstance(f)}),R(pi);const zv="tab",Gn=".bs.tab",Bv=`hide${Gn}`,Hv=`hidden${Gn}`,Vv=`show${Gn}`,Wv=`shown${Gn}`,Uv=`click${Gn}`,Qv=`keydown${Gn}`,Kv=`load${Gn}`,Yv="ArrowLeft",Sc="ArrowRight",Gv="ArrowUp",Cc="ArrowDown",ul="Home",Nc="End",Xn="active",Tc="fade",cl="show",Xv="dropdown",kc=".dropdown-toggle",Zv=".dropdown-menu",dl=`:not(${kc})`,Jv='.list-group, .nav, [role="tablist"]',qv=".nav-item, .list-group-item",ey=`.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`,xc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',fl=`${ey}, ${xc}`,ty=`.${Xn}[data-bs-toggle="tab"], .${Xn}[data-bs-toggle="pill"], .${Xn}[data-bs-toggle="list"]`;class Zn extends ne{constructor(s){super(s),this._parent=this._element.closest(Jv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),k.on(this._element,Qv,u=>this._keydown(u)))}static get NAME(){return zv}show(){const s=this._element;if(this._elemIsActive(s))return;const u=this._getActiveElem(),m=u?k.trigger(u,Bv,{relatedTarget:s}):null;k.trigger(s,Vv,{relatedTarget:u}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(u,s),this._activate(s,u))}_activate(s,u){if(!s)return;s.classList.add(Xn),this._activate(j.getElementFromSelector(s));const m=()=>{if(s.getAttribute("role")!=="tab"){s.classList.add(cl);return}s.removeAttribute("tabindex"),s.setAttribute("aria-selected",!0),this._toggleDropDown(s,!0),k.trigger(s,Wv,{relatedTarget:u})};this._queueCallback(m,s,s.classList.contains(Tc))}_deactivate(s,u){if(!s)return;s.classList.remove(Xn),s.blur(),this._deactivate(j.getElementFromSelector(s));const m=()=>{if(s.getAttribute("role")!=="tab"){s.classList.remove(cl);return}s.setAttribute("aria-selected",!1),s.setAttribute("tabindex","-1"),this._toggleDropDown(s,!1),k.trigger(s,Hv,{relatedTarget:u})};this._queueCallback(m,s,s.classList.contains(Tc))}_keydown(s){if(![Yv,Sc,Gv,Cc,ul,Nc].includes(s.key))return;s.stopPropagation(),s.preventDefault();const u=this._getChildren().filter(C=>!h(C));let m;if([ul,Nc].includes(s.key))m=u[s.key===ul?0:u.length-1];else{const C=[Sc,Cc].includes(s.key);m=X(u,s.target,C,!0)}m&&(m.focus({preventScroll:!0}),Zn.getOrCreateInstance(m).show())}_getChildren(){return j.find(fl,this._parent)}_getActiveElem(){return this._getChildren().find(s=>this._elemIsActive(s))||null}_setInitialAttributes(s,u){this._setAttributeIfNotExists(s,"role","tablist");for(const m of u)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(s){s=this._getInnerElement(s);const u=this._elemIsActive(s),m=this._getOuterElement(s);s.setAttribute("aria-selected",u),m!==s&&this._setAttributeIfNotExists(m,"role","presentation"),u||s.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(s,"role","tab"),this._setInitialAttributesOnTargetPanel(s)}_setInitialAttributesOnTargetPanel(s){const u=j.getElementFromSelector(s);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),s.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${s.id}`))}_toggleDropDown(s,u){const m=this._getOuterElement(s);if(!m.classList.contains(Xv))return;const C=(P,I)=>{const W=j.findOne(P,m);W&&W.classList.toggle(I,u)};C(kc,Xn),C(Zv,cl),m.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(s,u,m){s.hasAttribute(u)||s.setAttribute(u,m)}_elemIsActive(s){return s.classList.contains(Xn)}_getInnerElement(s){return s.matches(fl)?s:j.findOne(fl,s)}_getOuterElement(s){return s.closest(qv)||s}static jQueryInterface(s){return this.each(function(){const u=Zn.getOrCreateInstance(this);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(document,Uv,xc,function(f){["A","AREA"].includes(this.tagName)&&f.preventDefault(),!h(this)&&Zn.getOrCreateInstance(this).show()}),k.on(window,Kv,()=>{for(const f of j.find(ty))Zn.getOrCreateInstance(f)}),R(Zn);const ny="toast",En=".bs.toast",ry=`mouseover${En}`,iy=`mouseout${En}`,oy=`focusin${En}`,sy=`focusout${En}`,ly=`hide${En}`,ay=`hidden${En}`,uy=`show${En}`,cy=`shown${En}`,dy="fade",Ac="hide",wo="show",So="showing",fy={animation:"boolean",autohide:"boolean",delay:"number"},py={animation:!0,autohide:!0,delay:5e3};class hi extends ne{constructor(s,u){super(s,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return py}static get DefaultType(){return fy}static get NAME(){return ny}show(){if(k.trigger(this._element,uy).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(dy);const u=()=>{this._element.classList.remove(So),k.trigger(this._element,cy),this._maybeScheduleHide()};this._element.classList.remove(Ac),x(this._element),this._element.classList.add(wo,So),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||k.trigger(this._element,ly).defaultPrevented)return;const u=()=>{this._element.classList.add(Ac),this._element.classList.remove(So,wo),k.trigger(this._element,ay)};this._element.classList.add(So),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(wo),super.dispose()}isShown(){return this._element.classList.contains(wo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(s,u){switch(s.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=u;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=u;break}}if(u){this._clearTimeout();return}const m=s.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){k.on(this._element,ry,s=>this._onInteraction(s,!0)),k.on(this._element,iy,s=>this._onInteraction(s,!1)),k.on(this._element,oy,s=>this._onInteraction(s,!0)),k.on(this._element,sy,s=>this._onInteraction(s,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(s){return this.each(function(){const u=hi.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}return be(hi),R(hi),{Alert:Qt,Button:vn,Carousel:_r,Collapse:wr,Dropdown:Ct,Modal:Kn,Offcanvas:Gt,Popover:Eo,ScrollSpy:pi,Tab:Zn,Toast:hi,Tooltip:Yn}})})(w0);function dE(){const[e,t]=D.useState(localStorage.getItem("teamNumber")==null?"":localStorage.getItem("teamNumber")),[n,r]=D.useState(localStorage.getItem("matchNumber")==null?"":localStorage.getItem("matchNumber")),[i,o]=D.useState(localStorage.getItem("scoutName")==null?"":localStorage.getItem("scoutName")),[l,a]=D.useState(localStorage.getItem("startingPosition")==null?"":localStorage.getItem("startingPosition")),[c,d]=D.useState(localStorage.getItem("leaveCommunity")==null?"":localStorage.getItem("leaveCommunity")),[g,E]=D.useState(localStorage.getItem("autoConesHigh")==null?0:localStorage.getItem("autoConesHigh")),[_,S]=D.useState(localStorage.getItem("autoConesMid")==null?0:localStorage.getItem("autoConesMid")),[T,N]=D.useState(localStorage.getItem("autoConesLow")==null?0:localStorage.getItem("autoConesLow")),[$,v]=D.useState(localStorage.getItem("autoConesMissed")==null?0:localStorage.getItem("autoConesMissed")),[h,y]=D.useState(localStorage.getItem("autoCubesHigh")==null?0:localStorage.getItem("autoCubesHigh")),[w,x]=D.useState(localStorage.getItem("autoCubesMid")==null?0:localStorage.getItem("autoCubesMid")),[A,L]=D.useState(localStorage.getItem("autoCubesLow")==null?0:localStorage.getItem("autoCubesLow")),[b,z]=D.useState(localStorage.getItem("autoCubesMissed")==null?0:localStorage.getItem("autoCubesMissed")),[R,V]=D.useState(localStorage.getItem("autoChargingStation")==null?"":localStorage.getItem("autoChargingStation")),[q,X]=D.useState(localStorage.getItem("teleConesHigh")==null?0:localStorage.getItem("teleConesHigh")),[ve,Be]=D.useState(localStorage.getItem("teleConesMid")==null?0:localStorage.getItem("teleConesMid")),[ie,ae]=D.useState(localStorage.getItem("teleConesLow")==null?0:localStorage.getItem("teleConesLow")),[M,B]=D.useState(localStorage.getItem("teleConesMissed")==null?0:localStorage.getItem("teleConesMissed")),[H,Y]=D.useState(localStorage.getItem("teleCubesHigh")==null?0:localStorage.getItem("teleCubesHigh")),[K,He]=D.useState(localStorage.getItem("teleCubesMid")==null?0:localStorage.getItem("teleCubesMid")),[ce,ye]=D.useState(localStorage.getItem("teleCubesLow")==null?0:localStorage.getItem("teleCubesLow")),[de,Pe]=D.useState(localStorage.getItem("teleCubesMissed")==null?0:localStorage.getItem("teleCubesMissed")),[Ae,un]=D.useState(localStorage.getItem("intakeFromFloorCommunity")==null?0:localStorage.getItem("intakeFromFloorCommunity")),[Ut,k]=D.useState(localStorage.getItem("intakeFromFloorNotCommunity")==null?0:localStorage.getItem("intakeFromFloorNotCommunity")),[Pt,cn]=D.useState(localStorage.getItem("intakeFromShelf")==null?0:localStorage.getItem("intakeFromShelf")),[bt,Ve]=D.useState(localStorage.getItem("intakeFromChute")==null?0:localStorage.getItem("intakeFromChute")),[_e,Et]=D.useState(localStorage.getItem("defenseQuantity")==null?"":localStorage.getItem("defenseQuantity")),[ne,Xe]=D.useState(localStorage.getItem("defenseQuality")==null?"":localStorage.getItem("defenseQuality")),[j,be]=D.useState(localStorage.getItem("endgameChargingStation")==null?"":localStorage.getItem("endgameChargingStation")),[lt,dn]=D.useState(localStorage.getItem("additionalRobots")==null?"":localStorage.getItem("additionalRobots")),[at,fn]=D.useState(localStorage.getItem("speed")==null?"":localStorage.getItem("speed")),[wt,pn]=D.useState(localStorage.getItem("movedBetween")==null?"":localStorage.getItem("movedBetween")),[St,Qt]=D.useState(localStorage.getItem("droppedCycling")==null?"":localStorage.getItem("droppedCycling")),[hn,uo]=D.useState(localStorage.getItem("timeToIntake")==null?"":localStorage.getItem("timeToIntake")),[mn,li]=D.useState(localStorage.getItem("droppedHit")==null?"":localStorage.getItem("droppedHit")),[gn,gr]=D.useState(localStorage.getItem("tripleClimb")==null?"":localStorage.getItem("tripleClimb")),[Wn,vn]=D.useState(localStorage.getItem("comment")==null?"":localStorage.getItem("comment")),[Xs,yn]=D.useState([]),[Kt,co]=D.useState(!1);D.useEffect(()=>{localStorage.setItem("teamNumber",e)},[e]),D.useEffect(()=>{localStorage.setItem("matchNumber",n)},[n]),D.useEffect(()=>{localStorage.setItem("scoutName",i)},[i]),D.useEffect(()=>{localStorage.setItem("startingPosition",l)},[l]),D.useEffect(()=>{localStorage.setItem("leaveCommunity",c)},[c]),D.useEffect(()=>{localStorage.setItem("autoConesHigh",g)},[g]),D.useEffect(()=>{localStorage.setItem("autoConesMid",_)},[_]),D.useEffect(()=>{localStorage.setItem("autoConesLow",T)},[T]),D.useEffect(()=>{localStorage.setItem("autoConesMissed",$)},[$]),D.useEffect(()=>{localStorage.setItem("autoCubesHigh",h)},[h]),D.useEffect(()=>{localStorage.setItem("autoCubesMid",w)},[w]),D.useEffect(()=>{localStorage.setItem("autoCubesLow",A)},[A]),D.useEffect(()=>{localStorage.setItem("autoCubesMissed",b)},[b]),D.useEffect(()=>{localStorage.setItem("autoChargingStation",R)},[R]),D.useEffect(()=>{localStorage.setItem("teleConesHigh",q)},[q]),D.useEffect(()=>{localStorage.setItem("teleConesMid",ve)},[ve]),D.useEffect(()=>{localStorage.setItem("teleConesLow",ie)},[ie]),D.useEffect(()=>{localStorage.setItem("teleConesMissed",M)},[M]),D.useEffect(()=>{localStorage.setItem("teleCubesHigh",H)},[H]),D.useEffect(()=>{localStorage.setItem("teleCubesMid",K)},[K]),D.useEffect(()=>{localStorage.setItem("teleCubesLow",ce)},[ce]),D.useEffect(()=>{localStorage.setItem("teleCubesMissed",de)},[de]),D.useEffect(()=>{localStorage.setItem("intakeFromFloorCommunity",Ae)},[Ae]),D.useEffect(()=>{localStorage.setItem("intakeFromFloorNotCommunity",Ut)},[Ut]),D.useEffect(()=>{localStorage.setItem("intakeFromShelf",Pt)},[Pt]),D.useEffect(()=>{localStorage.setItem("intakeFromChute",bt)},[bt]),D.useEffect(()=>{localStorage.setItem("defenseQuantity",_e)},[_e]),D.useEffect(()=>{localStorage.setItem("defenseQuality",ne)},[ne]),D.useEffect(()=>{localStorage.setItem("endgameChargingStation",j)},[j]),D.useEffect(()=>{localStorage.setItem("additionalRobots",lt)},[lt]),D.useEffect(()=>{localStorage.setItem("speed",at)},[at]),D.useEffect(()=>{localStorage.setItem("movedBetween",wt)},[wt]),D.useEffect(()=>{localStorage.setItem("droppedCycling",St)},[St]),D.useEffect(()=>{localStorage.setItem("timeToIntake",hn)},[hn]),D.useEffect(()=>{localStorage.setItem("droppedHit",mn)},[mn]),D.useEffect(()=>{localStorage.setItem("tripleClimb",gn)},[gn]),D.useEffect(()=>{localStorage.setItem("comment",Wn)},[Wn]);function Zs(){t(""),r(""),o(""),a(""),d(""),E(0),S(0),N(0),v(0),y(0),x(0),L(0),z(0),V(""),X(0),Be(0),ae(0),B(0),Y(0),He(0),ye(0),Pe(0),un(0),k(0),cn(0),Ve(0),Et(""),Xe(""),be(""),dn(""),fn(""),pn(""),Qt(""),uo(""),li(""),gr(""),vn("")}const ai=[n,e,Wn,!!l,c,parseInt(g),parseInt(_),parseInt(T),parseInt($),parseInt(h),parseInt(w),parseInt(A),parseInt(b),R,parseInt(q),parseInt(ve),parseInt(ve),parseInt(M),parseInt(H),parseInt(K),parseInt(ce),parseInt(de),parseInt(Ae),parseInt(Ut),parseInt(Pt),parseInt(bt),_e,ne,j,lt,at,wt==""?"":wt,St==""?"":St,hn==""?"":hn,mn==""?"":mn,gn==""?"":gn,i];function Js(){let Z=[];e||Z.push("Team number"),n||Z.push("Match number"),i||Z.push("Scout name"),l||Z.push("Starting position"),c||Z.push("Leave community"),R||Z.push("Auto charging station"),_e||Z.push("Defense quantity"),ne||Z.push("Defense quality"),j||Z.push("Endgame charging station"),lt||Z.push("Additional robots"),Wn||Z.push("Comment"),yn(Z.length==0?["No missing data!"]:Z)}D.useEffect(()=>{console.log(ai)},[ai]);function ui(){window.innerWidth<768?co(!0):co(!1)}return D.useLayoutEffect(()=>{ui(),window.addEventListener("resize",ui),window.addEventListener("orientationchange",ui)},[]),p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"modal fade",id:"missingDataModal",tabIndex:"-1","aria-labelledby":"missingDataModalLabel","aria-hidden":"true",children:p.jsx("div",{className:"modal-dialog",children:p.jsxs("div",{className:"modal-content",children:[p.jsxs("div",{className:"modal-header",children:[p.jsx("p",{className:"modal-title fs-5",id:"missingDataModalLabel",children:"Missing Data"}),p.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),p.jsx("div",{className:"modal-body",children:p.jsx("ul",{children:Xs.filter(Z=>!!Z).map(Z=>p.jsx("li",{children:Z},Z))})})]})})}),p.jsx("div",{className:"modal fade",id:"clearModal",tabIndex:"-1","aria-labelledby":"clearModalLabel","aria-hidden":"true",children:p.jsx("div",{className:"modal-dialog",children:p.jsxs("div",{className:"modal-content",children:[p.jsxs("div",{className:"modal-header",children:[p.jsx("h1",{className:"modal-title fs-5",id:"clearModalLabel",children:"Are you sure you want to clear?"}),p.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),p.jsxs("div",{className:"modal-body text-center",children:[p.jsx("button",{className:"btn btn-success btn-lg text-white mx-5","data-bs-dismiss":"modal",onClick:Zs,children:"Yes"}),p.jsx("button",{className:"btn btn-danger btn-lg text-white mx-5","data-bs-dismiss":"modal",children:"No"})]})]})})}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Match info"})}),p.jsxs("div",{className:"container mx-auto my-5 col-sm-4",children:[p.jsx("div",{children:p.jsx("input",{type:"text",placeholder:"Team Number",className:"form-control",onInput:Z=>t(Z.target.value),autoComplete:"false",value:e})}),p.jsx("div",{className:"pt-4",children:p.jsx("input",{type:"text",placeholder:"Match Number",className:"form-control",onInput:Z=>r(Z.target.value),autoComplete:"false",value:n})}),p.jsx("div",{className:"pt-4",children:p.jsx("input",{type:"text",placeholder:"Scout Name",className:"form-control",onInput:Z=>o(Z.target.value),autoComplete:"false",value:i})})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Autonomous"})}),p.jsxs("div",{className:"container mx-auto pt-4",children:[p.jsx("div",{className:"text-center",children:p.jsx("img",{src:"./robotPositions.png",alt:"Robot positions",className:"img-fluid"})}),p.jsxs("div",{className:"pt-5 row",children:[p.jsxs("div",{className:"col text-center",children:[p.jsx("p",{children:"Starting Position"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionA",onClick:()=>a("A"),checked:l=="A",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionA",children:"A"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionB",onClick:()=>a("B"),checked:l=="B",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionB",children:"B"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionC",onClick:()=>a("C"),checked:l=="C",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionC",children:"C"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionD",onClick:()=>a("D"),checked:l=="D",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionD",children:"D"})]})]}),p.jsxs("div",{className:"col text-center",children:[p.jsx("p",{children:"Leave Community?"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"leavecommuntiy",id:"leavecommunityyes",onClick:()=>d("true"),checked:c=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"leavecommunityyes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"leavecommuntiy",id:"leavecommunityno",onClick:()=>d("false"),checked:c=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"leavecommunityno",children:"No"})]})]})]}),p.jsxs("div",{className:"row mt-4",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones High",variable:g,setter:E})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Mid",variable:_,setter:S})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Low",variable:T,setter:N})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Missed (while placing high/mid)",variable:$,setter:v})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes High",variable:h,setter:y})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Mid",variable:w,setter:x})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Low",variable:A,setter:L})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Missed (while placing high/mid)",variable:b,setter:z})})]}),p.jsxs("div",{className:"my-5 text-center",children:[p.jsx("p",{className:"mb-2",children:"Charging Station"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationdocked",onClick:()=>V("Docked"),checked:R=="Docked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationdocked",children:"Docked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationengaged",onClick:()=>V("Engaged"),checked:R=="Engaged",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationengaged",children:"Engaged"}),p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationnone",onClick:()=>V("None"),checked:R=="None",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationnone",children:"None"})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Teleoperated"})}),p.jsxs("div",{className:"container mx-auto pt-4",children:[p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes High",variable:H,setter:Y})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Mid",variable:K,setter:He})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Low",variable:ce,setter:ye})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Missed",variable:de,setter:Pe})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones High",variable:q,setter:X})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Mid",variable:ve,setter:Be})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Low",variable:ie,setter:ae})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Missed",variable:M,setter:B})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Floor (Community)",variable:Ae,setter:un})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Floor (Outside Community)",variable:Ut,setter:k})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Shelf",variable:Pt,setter:cn})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Chute",variable:bt,setter:Ve})})]}),p.jsxs("div",{className:"row gy-5 my-5",children:[p.jsxs("div",{className:"col-sm text-center",children:[p.jsx("p",{children:"Defense Quantity %"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity0",onClick:()=>Et("0"),checked:_e=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity25",onClick:()=>Et("25"),checked:_e=="25",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity25",children:"25"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity50",onClick:()=>Et("50"),checked:_e=="50",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity50",children:"50"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity75",onClick:()=>Et("75"),checked:_e=="75",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity75",children:"75"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity100",onClick:()=>Et("100"),checked:_e=="100",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity100",children:"100"})]})]}),p.jsxs("div",{className:"col-sm text-center",children:[p.jsx("p",{children:"Defense Quality"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality0",onClick:()=>Xe("0"),checked:ne=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality1",onClick:()=>Xe("1"),checked:ne=="1",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality1",children:"1"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality2",onClick:()=>Xe("2"),checked:ne=="2",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality2",children:"2"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality3",onClick:()=>Xe("3"),checked:ne=="3",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality3",children:"3"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality4",onClick:()=>Xe("4"),checked:ne=="4",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality4",children:"4"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality5",onClick:()=>Xe("5"),checked:ne=="5",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity5",children:"5"})]})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Endgame"})}),p.jsxs("div",{className:"row mx-auto mt-4 mb-5 gy-4",children:[p.jsxs("div",{className:"col-6 col-lg-12 text-center",children:[p.jsx("p",{className:"mb-2",children:"Charging Station"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationdocked",onClick:()=>be("Docked"),checked:j=="Docked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationdocked",children:"Docked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationengaged",onClick:()=>be("Engaged"),checked:j=="Engaged",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationengaged",children:"Engaged"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationparked",onClick:()=>be("Parked"),checked:j=="Parked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationparked",children:"Parked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationnone",onClick:()=>be("None"),checked:j=="None",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationnone",children:"None"})]})]}),p.jsxs("div",{className:"col-6 col-lg-12 text-center",children:[p.jsx("p",{className:"mb-2",children:"Additional Robots"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots0",onClick:()=>dn("0"),checked:lt=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots1",onClick:()=>dn("1"),checked:lt=="1",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots1",children:"1"}),p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots2",onClick:()=>dn("2"),checked:lt=="2",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots2",children:"2"})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Export"})}),p.jsx("div",{className:"mt-5 mx-auto text-center",children:p.jsx(E0,{title:"Export QR Code",value:JSON.stringify(ai),bgColor:"white",fgcolor:"black",size:384,style:{border:"20px solid white"}})}),p.jsx("div",{className:"mx-auto text-center mt-3 mb-5",children:p.jsx("button",{className:"btn btn-primary btn-lg",onClick:()=>Js(),"data-bs-toggle":"modal","data-bs-target":"#exampleModal",children:"Show missing data"})}),p.jsxs("div",{className:"container text-center",children:[p.jsx("p",{className:"h2",children:"The following questions are OPTIONAL fields"}),p.jsx("p",{className:"h3",children:"However, please still fill out the comments box"}),p.jsxs("div",{children:[p.jsxs("div",{className:"row m-0 gy-5",children:[p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Slow or Fast"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"speed",id:"speedSlow",onClick:()=>fn("Slow"),checked:at=="Slow",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"speedSlow",children:"Slow"}),p.jsx("input",{type:"radio",className:"btn-check",name:"speed",id:"speedFast",onClick:()=>fn("Fast"),checked:at=="Fast",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"speedFast",children:"Fast"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Moved Pieces Between Nodes?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"movedBetween",id:"movedBetweenYes",onClick:()=>pn("true"),checked:wt=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"movedBetweenYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"movedBetween",id:"movedBetweenNo",onClick:()=>pn("false"),checked:wt=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"movedBetweenNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Dropped Pieces While Cycling?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"droppedCycling",id:"droppedCyclingYes",onClick:()=>Qt("true"),checked:St=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedCyclingYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"droppedCycling",id:"droppedCyclingNo",onClick:()=>Qt("false"),checked:St=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedCyclingNo",children:"No"})]})]})]}),p.jsxs("div",{className:"row m-0 gy-5",children:[p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Long Time To Intake?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"timeToIntake",id:"timeToIntakeYes",onClick:()=>uo("true"),checked:hn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"timeToIntakeYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"timeToIntake",id:"timeToIntakeNo",onClick:()=>uo("false"),checked:hn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"timeToIntakeNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Dropped When Hit?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"droppedHit",id:"droppedHitYes",onClick:()=>li("true"),checked:mn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedHitYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"droppedHit",id:"droppedHitNo",onClick:()=>li("false"),checked:mn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedHitNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Triple Climb?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"tripleClimb",id:"tripleClimbYes",onClick:()=>gr("true"),checked:gn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"tripleClimbYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"tripleClimb",id:"tripleClimbNo",onClick:()=>gr("false"),checked:gn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"tripleClimbNo",children:"No"})]})]})]})]}),p.jsxs("div",{className:"mt-5",children:[p.jsx("p",{className:"mb-1 h4",children:"Comment"}),p.jsx("p",{children:"i.e if they can intake from the grid, did they score many links, etc. etc."}),p.jsx("textarea",{name:"",id:"",cols:"30",rows:"5",className:"form-control",placeholder:"Comment",onChange:Z=>vn(Z.target.value),value:Wn})]})]})]}),p.jsx("section",{className:"mt-5",children:p.jsx("button",{className:"btn btn-success container-fluid py-5","data-bs-toggle":"modal","data-bs-target":"#clearModal",children:p.jsx("span",{className:"display-4 text-white",children:"Clear"})})})]})}Fl.createRoot(document.getElementById("root")).render(p.jsx(Py.StrictMode,{children:p.jsx(dE,{})})); + */(function(e,t){(function(n,r){e.exports=r(cE)})(my,function(n){function r(f){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const u in f)if(u!=="default"){const m=Object.getOwnPropertyDescriptor(f,u);Object.defineProperty(s,u,m.get?m:{enumerable:!0,get:()=>f[u]})}}return s.default=f,Object.freeze(s)}const i=r(n),o=new Map,l={set(f,s,u){o.has(f)||o.set(f,new Map);const m=o.get(f);if(!m.has(s)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(s,u)},get(f,s){return o.has(f)&&o.get(f).get(s)||null},remove(f,s){if(!o.has(f))return;const u=o.get(f);u.delete(s),u.size===0&&o.delete(f)}},a=1e6,c=1e3,d="transitionend",g=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,(s,u)=>`#${CSS.escape(u)}`)),f),E=f=>f==null?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),_=f=>{do f+=Math.floor(Math.random()*a);while(document.getElementById(f));return f},S=f=>{if(!f)return 0;let{transitionDuration:s,transitionDelay:u}=window.getComputedStyle(f);const m=Number.parseFloat(s),C=Number.parseFloat(u);return!m&&!C?0:(s=s.split(",")[0],u=u.split(",")[0],(Number.parseFloat(s)+Number.parseFloat(u))*c)},T=f=>{f.dispatchEvent(new Event(d))},N=f=>!f||typeof f!="object"?!1:(typeof f.jquery<"u"&&(f=f[0]),typeof f.nodeType<"u"),$=f=>N(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(g(f)):null,v=f=>{if(!N(f)||f.getClientRects().length===0)return!1;const s=getComputedStyle(f).getPropertyValue("visibility")==="visible",u=f.closest("details:not([open])");if(!u)return s;if(u!==f){const m=f.closest("summary");if(m&&m.parentNode!==u||m===null)return!1}return s},h=f=>!f||f.nodeType!==Node.ELEMENT_NODE||f.classList.contains("disabled")?!0:typeof f.disabled<"u"?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false",y=f=>{if(!document.documentElement.attachShadow)return null;if(typeof f.getRootNode=="function"){const s=f.getRootNode();return s instanceof ShadowRoot?s:null}return f instanceof ShadowRoot?f:f.parentNode?y(f.parentNode):null},w=()=>{},x=f=>{f.offsetHeight},A=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,L=[],b=f=>{document.readyState==="loading"?(L.length||document.addEventListener("DOMContentLoaded",()=>{for(const s of L)s()}),L.push(f)):f()},z=()=>document.documentElement.dir==="rtl",R=f=>{b(()=>{const s=A();if(s){const u=f.NAME,m=s.fn[u];s.fn[u]=f.jQueryInterface,s.fn[u].Constructor=f,s.fn[u].noConflict=()=>(s.fn[u]=m,f.jQueryInterface)}})},V=(f,s=[],u=f)=>typeof f=="function"?f(...s):u,q=(f,s,u=!0)=>{if(!u){V(f);return}const m=5,C=S(s)+m;let P=!1;const I=({target:W})=>{W===s&&(P=!0,s.removeEventListener(d,I),V(f))};s.addEventListener(d,I),setTimeout(()=>{P||T(s)},C)},X=(f,s,u,m)=>{const C=f.length;let P=f.indexOf(s);return P===-1?!u&&m?f[C-1]:f[0]:(P+=u?1:-1,m&&(P=(P+C)%C),f[Math.max(0,Math.min(P,C-1))])},ve=/[^.]*(?=\..*)\.|.*/,Be=/\..*/,ie=/::\d+$/,ae={};let M=1;const B={mouseenter:"mouseover",mouseleave:"mouseout"},H=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 Y(f,s){return s&&`${s}::${M++}`||f.uidEvent||M++}function K(f){const s=Y(f);return f.uidEvent=s,ae[s]=ae[s]||{},ae[s]}function He(f,s){return function u(m){return Pt(m,{delegateTarget:f}),u.oneOff&&k.off(f,m.type,s),s.apply(f,[m])}}function ce(f,s,u){return function m(C){const P=f.querySelectorAll(s);for(let{target:I}=C;I&&I!==this;I=I.parentNode)for(const W of P)if(W===I)return Pt(C,{delegateTarget:I}),m.oneOff&&k.off(f,C.type,s,u),u.apply(I,[C])}}function ye(f,s,u=null){return Object.values(f).find(m=>m.callable===s&&m.delegationSelector===u)}function de(f,s,u){const m=typeof s=="string",C=m?u:s||u;let P=Ut(f);return H.has(P)||(P=f),[m,C,P]}function Pe(f,s,u,m,C){if(typeof s!="string"||!f)return;let[P,I,W]=de(s,u,m);s in B&&(I=(hy=>function(Nr){if(!Nr.relatedTarget||Nr.relatedTarget!==Nr.delegateTarget&&!Nr.delegateTarget.contains(Nr.relatedTarget))return hy.call(this,Nr)})(I));const We=K(f),ct=We[W]||(We[W]={}),Ee=ye(ct,I,P?u:null);if(Ee){Ee.oneOff=Ee.oneOff&&C;return}const Mt=Y(I,s.replace(ve,"")),Nt=P?ce(f,u,I):He(f,I);Nt.delegationSelector=P?u:null,Nt.callable=I,Nt.oneOff=C,Nt.uidEvent=Mt,ct[Mt]=Nt,f.addEventListener(W,Nt,P)}function Ae(f,s,u,m,C){const P=ye(s[u],m,C);P&&(f.removeEventListener(u,P,!!C),delete s[u][P.uidEvent])}function un(f,s,u,m){const C=s[u]||{};for(const[P,I]of Object.entries(C))P.includes(m)&&Ae(f,s,u,I.callable,I.delegationSelector)}function Ut(f){return f=f.replace(Be,""),B[f]||f}const k={on(f,s,u,m){Pe(f,s,u,m,!1)},one(f,s,u,m){Pe(f,s,u,m,!0)},off(f,s,u,m){if(typeof s!="string"||!f)return;const[C,P,I]=de(s,u,m),W=I!==s,We=K(f),ct=We[I]||{},Ee=s.startsWith(".");if(typeof P<"u"){if(!Object.keys(ct).length)return;Ae(f,We,I,P,C?u:null);return}if(Ee)for(const Mt of Object.keys(We))un(f,We,Mt,s.slice(1));for(const[Mt,Nt]of Object.entries(ct)){const Co=Mt.replace(ie,"");(!W||s.includes(Co))&&Ae(f,We,I,Nt.callable,Nt.delegationSelector)}},trigger(f,s,u){if(typeof s!="string"||!f)return null;const m=A(),C=Ut(s),P=s!==C;let I=null,W=!0,We=!0,ct=!1;P&&m&&(I=m.Event(s,u),m(f).trigger(I),W=!I.isPropagationStopped(),We=!I.isImmediatePropagationStopped(),ct=I.isDefaultPrevented());const Ee=Pt(new Event(s,{bubbles:W,cancelable:!0}),u);return ct&&Ee.preventDefault(),We&&f.dispatchEvent(Ee),Ee.defaultPrevented&&I&&I.preventDefault(),Ee}};function Pt(f,s={}){for(const[u,m]of Object.entries(s))try{f[u]=m}catch{Object.defineProperty(f,u,{configurable:!0,get(){return m}})}return f}function cn(f){if(f==="true")return!0;if(f==="false")return!1;if(f===Number(f).toString())return Number(f);if(f===""||f==="null")return null;if(typeof f!="string")return f;try{return JSON.parse(decodeURIComponent(f))}catch{return f}}function bt(f){return f.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}const Ve={setDataAttribute(f,s,u){f.setAttribute(`data-bs-${bt(s)}`,u)},removeDataAttribute(f,s){f.removeAttribute(`data-bs-${bt(s)}`)},getDataAttributes(f){if(!f)return{};const s={},u=Object.keys(f.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of u){let C=m.replace(/^bs/,"");C=C.charAt(0).toLowerCase()+C.slice(1,C.length),s[C]=cn(f.dataset[m])}return s},getDataAttribute(f,s){return cn(f.getAttribute(`data-bs-${bt(s)}`))}};class _e{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(s){return s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s}_mergeConfigObj(s,u){const m=N(u)?Ve.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},...N(u)?Ve.getDataAttributes(u):{},...typeof s=="object"?s:{}}}_typeCheckConfig(s,u=this.constructor.DefaultType){for(const[m,C]of Object.entries(u)){const P=s[m],I=N(P)?"element":E(P);if(!new RegExp(C).test(I))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${I}" but expected type "${C}".`)}}}const Et="5.3.2";class ne extends _e{constructor(s,u){super(),s=$(s),s&&(this._element=s,this._config=this._getConfig(u),l.set(this._element,this.constructor.DATA_KEY,this))}dispose(){l.remove(this._element,this.constructor.DATA_KEY),k.off(this._element,this.constructor.EVENT_KEY);for(const s of Object.getOwnPropertyNames(this))this[s]=null}_queueCallback(s,u,m=!0){q(s,u,m)}_getConfig(s){return s=this._mergeConfigObj(s,this._element),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}static getInstance(s){return l.get($(s),this.DATA_KEY)}static getOrCreateInstance(s,u={}){return this.getInstance(s)||new this(s,typeof u=="object"?u:null)}static get VERSION(){return Et}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(s){return`${s}${this.EVENT_KEY}`}}const Xe=f=>{let s=f.getAttribute("data-bs-target");if(!s||s==="#"){let u=f.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),s=u&&u!=="#"?g(u.trim()):null}return s},j={find(f,s=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(s,f))},findOne(f,s=document.documentElement){return Element.prototype.querySelector.call(s,f)},children(f,s){return[].concat(...f.children).filter(u=>u.matches(s))},parents(f,s){const u=[];let m=f.parentNode.closest(s);for(;m;)u.push(m),m=m.parentNode.closest(s);return u},prev(f,s){let u=f.previousElementSibling;for(;u;){if(u.matches(s))return[u];u=u.previousElementSibling}return[]},next(f,s){let u=f.nextElementSibling;for(;u;){if(u.matches(s))return[u];u=u.nextElementSibling}return[]},focusableChildren(f){const s=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(s,f).filter(u=>!h(u)&&v(u))},getSelectorFromElement(f){const s=Xe(f);return s&&j.findOne(s)?s:null},getElementFromSelector(f){const s=Xe(f);return s?j.findOne(s):null},getMultipleElementsFromSelector(f){const s=Xe(f);return s?j.find(s):[]}},be=(f,s="hide")=>{const u=`click.dismiss${f.EVENT_KEY}`,m=f.NAME;k.on(document,u,`[data-bs-dismiss="${m}"]`,function(C){if(["A","AREA"].includes(this.tagName)&&C.preventDefault(),h(this))return;const P=j.getElementFromSelector(this)||this.closest(`.${m}`);f.getOrCreateInstance(P)[s]()})},lt="alert",at=".bs.alert",fn=`close${at}`,wt=`closed${at}`,pn="fade",St="show";class Qt extends ne{static get NAME(){return lt}close(){if(k.trigger(this._element,fn).defaultPrevented)return;this._element.classList.remove(St);const u=this._element.classList.contains(pn);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),k.trigger(this._element,wt),this.dispose()}static jQueryInterface(s){return this.each(function(){const u=Qt.getOrCreateInstance(this);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}be(Qt,"close"),R(Qt);const hn="button",mn=".bs.button",li=".data-api",gn="active",gr='[data-bs-toggle="button"]',Wn=`click${mn}${li}`;class vn extends ne{static get NAME(){return hn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(gn))}static jQueryInterface(s){return this.each(function(){const u=vn.getOrCreateInstance(this);s==="toggle"&&u[s]()})}}k.on(document,Wn,gr,f=>{f.preventDefault();const s=f.target.closest(gr);vn.getOrCreateInstance(s).toggle()}),R(vn);const Xs="swipe",yn=".bs.swipe",Kt=`touchstart${yn}`,co=`touchmove${yn}`,Zs=`touchend${yn}`,ai=`pointerdown${yn}`,Js=`pointerup${yn}`,ui="touch",Z="pen",Qh="pointer-event",Kh=40,Yh={endCallback:null,leftCallback:null,rightCallback:null},Gh={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fo extends _e{constructor(s,u){super(),this._element=s,!(!s||!fo.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Yh}static get DefaultType(){return Gh}static get NAME(){return Xs}dispose(){k.off(this._element,yn)}_start(s){if(!this._supportPointerEvents){this._deltaX=s.touches[0].clientX;return}this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX)}_end(s){this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX-this._deltaX),this._handleSwipe(),V(this._config.endCallback)}_move(s){this._deltaX=s.touches&&s.touches.length>1?0:s.touches[0].clientX-this._deltaX}_handleSwipe(){const s=Math.abs(this._deltaX);if(s<=Kh)return;const u=s/this._deltaX;this._deltaX=0,u&&V(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(k.on(this._element,ai,s=>this._start(s)),k.on(this._element,Js,s=>this._end(s)),this._element.classList.add(Qh)):(k.on(this._element,Kt,s=>this._start(s)),k.on(this._element,co,s=>this._move(s)),k.on(this._element,Zs,s=>this._end(s)))}_eventIsPointerPenTouch(s){return this._supportPointerEvents&&(s.pointerType===Z||s.pointerType===ui)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Xh="carousel",_n=".bs.carousel",Hu=".data-api",Zh="ArrowLeft",Jh="ArrowRight",qh=500,ci="next",vr="prev",yr="left",po="right",em=`slide${_n}`,qs=`slid${_n}`,tm=`keydown${_n}`,nm=`mouseenter${_n}`,rm=`mouseleave${_n}`,im=`dragstart${_n}`,om=`load${_n}${Hu}`,sm=`click${_n}${Hu}`,Vu="carousel",ho="active",lm="slide",am="carousel-item-end",um="carousel-item-start",cm="carousel-item-next",dm="carousel-item-prev",Wu=".active",Uu=".carousel-item",fm=Wu+Uu,pm=".carousel-item img",hm=".carousel-indicators",mm="[data-bs-slide], [data-bs-slide-to]",gm='[data-bs-ride="carousel"]',vm={[Zh]:po,[Jh]:yr},ym={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_m={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class _r extends ne{constructor(s,u){super(s,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=j.findOne(hm,this._element),this._addEventListeners(),this._config.ride===Vu&&this.cycle()}static get Default(){return ym}static get DefaultType(){return _m}static get NAME(){return Xh}next(){this._slide(ci)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(vr)}pause(){this._isSliding&&T(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){k.one(this._element,qs,()=>this.cycle());return}this.cycle()}}to(s){const u=this._getItems();if(s>u.length-1||s<0)return;if(this._isSliding){k.one(this._element,qs,()=>this.to(s));return}const m=this._getItemIndex(this._getActive());if(m===s)return;const C=s>m?ci:vr;this._slide(C,u[s])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(s){return s.defaultInterval=s.interval,s}_addEventListeners(){this._config.keyboard&&k.on(this._element,tm,s=>this._keydown(s)),this._config.pause==="hover"&&(k.on(this._element,nm,()=>this.pause()),k.on(this._element,rm,()=>this._maybeEnableCycle())),this._config.touch&&fo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of j.find(pm,this._element))k.on(m,im,C=>C.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(yr)),rightCallback:()=>this._slide(this._directionToOrder(po)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),qh+this._config.interval))}};this._swipeHelper=new fo(this._element,u)}_keydown(s){if(/input|textarea/i.test(s.target.tagName))return;const u=vm[s.key];u&&(s.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(s){return this._getItems().indexOf(s)}_setActiveIndicatorElement(s){if(!this._indicatorsElement)return;const u=j.findOne(Wu,this._indicatorsElement);u.classList.remove(ho),u.removeAttribute("aria-current");const m=j.findOne(`[data-bs-slide-to="${s}"]`,this._indicatorsElement);m&&(m.classList.add(ho),m.setAttribute("aria-current","true"))}_updateInterval(){const s=this._activeElement||this._getActive();if(!s)return;const u=Number.parseInt(s.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(s,u=null){if(this._isSliding)return;const m=this._getActive(),C=s===ci,P=u||X(this._getItems(),m,C,this._config.wrap);if(P===m)return;const I=this._getItemIndex(P),W=Co=>k.trigger(this._element,Co,{relatedTarget:P,direction:this._orderToDirection(s),from:this._getItemIndex(m),to:I});if(W(em).defaultPrevented||!m||!P)return;const ct=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(I),this._activeElement=P;const Ee=C?um:am,Mt=C?cm:dm;P.classList.add(Mt),x(P),m.classList.add(Ee),P.classList.add(Ee);const Nt=()=>{P.classList.remove(Ee,Mt),P.classList.add(ho),m.classList.remove(ho,Mt,Ee),this._isSliding=!1,W(qs)};this._queueCallback(Nt,m,this._isAnimated()),ct&&this.cycle()}_isAnimated(){return this._element.classList.contains(lm)}_getActive(){return j.findOne(fm,this._element)}_getItems(){return j.find(Uu,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(s){return z()?s===yr?vr:ci:s===yr?ci:vr}_orderToDirection(s){return z()?s===vr?yr:po:s===vr?po:yr}static jQueryInterface(s){return this.each(function(){const u=_r.getOrCreateInstance(this,s);if(typeof s=="number"){u.to(s);return}if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(document,sm,mm,function(f){const s=j.getElementFromSelector(this);if(!s||!s.classList.contains(Vu))return;f.preventDefault();const u=_r.getOrCreateInstance(s),m=this.getAttribute("data-bs-slide-to");if(m){u.to(m),u._maybeEnableCycle();return}if(Ve.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),k.on(window,om,()=>{const f=j.find(gm);for(const s of f)_r.getOrCreateInstance(s)}),R(_r);const Em="collapse",di=".bs.collapse",wm=".data-api",Sm=`show${di}`,Cm=`shown${di}`,Nm=`hide${di}`,Tm=`hidden${di}`,km=`click${di}${wm}`,el="show",Er="collapse",mo="collapsing",xm="collapsed",Am=`:scope .${Er} .${Er}`,Om="collapse-horizontal",Lm="width",Im="height",Dm=".collapse.show, .collapse.collapsing",tl='[data-bs-toggle="collapse"]',Pm={parent:null,toggle:!0},bm={parent:"(null|element)",toggle:"boolean"};class wr extends ne{constructor(s,u){super(s,u),this._isTransitioning=!1,this._triggerArray=[];const m=j.find(tl);for(const C of m){const P=j.getSelectorFromElement(C),I=j.find(P).filter(W=>W===this._element);P!==null&&I.length&&this._triggerArray.push(C)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pm}static get DefaultType(){return bm}static get NAME(){return Em}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let s=[];if(this._config.parent&&(s=this._getFirstLevelChildren(Dm).filter(W=>W!==this._element).map(W=>wr.getOrCreateInstance(W,{toggle:!1}))),s.length&&s[0]._isTransitioning||k.trigger(this._element,Sm).defaultPrevented)return;for(const W of s)W.hide();const m=this._getDimension();this._element.classList.remove(Er),this._element.classList.add(mo),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const C=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(Er,el),this._element.style[m]="",k.trigger(this._element,Cm)},I=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(C,this._element,!0),this._element.style[m]=`${this._element[I]}px`}hide(){if(this._isTransitioning||!this._isShown()||k.trigger(this._element,Nm).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,x(this._element),this._element.classList.add(mo),this._element.classList.remove(Er,el);for(const C of this._triggerArray){const P=j.getElementFromSelector(C);P&&!this._isShown(P)&&this._addAriaAndCollapsedClass([C],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(Er),k.trigger(this._element,Tm)};this._element.style[u]="",this._queueCallback(m,this._element,!0)}_isShown(s=this._element){return s.classList.contains(el)}_configAfterMerge(s){return s.toggle=!!s.toggle,s.parent=$(s.parent),s}_getDimension(){return this._element.classList.contains(Om)?Lm:Im}_initializeChildren(){if(!this._config.parent)return;const s=this._getFirstLevelChildren(tl);for(const u of s){const m=j.getElementFromSelector(u);m&&this._addAriaAndCollapsedClass([u],this._isShown(m))}}_getFirstLevelChildren(s){const u=j.find(Am,this._config.parent);return j.find(s,this._config.parent).filter(m=>!u.includes(m))}_addAriaAndCollapsedClass(s,u){if(s.length)for(const m of s)m.classList.toggle(xm,!u),m.setAttribute("aria-expanded",u)}static jQueryInterface(s){const u={};return typeof s=="string"&&/show|hide/.test(s)&&(u.toggle=!1),this.each(function(){const m=wr.getOrCreateInstance(this,u);if(typeof s=="string"){if(typeof m[s]>"u")throw new TypeError(`No method named "${s}"`);m[s]()}})}}k.on(document,km,tl,function(f){(f.target.tagName==="A"||f.delegateTarget&&f.delegateTarget.tagName==="A")&&f.preventDefault();for(const s of j.getMultipleElementsFromSelector(this))wr.getOrCreateInstance(s,{toggle:!1}).toggle()}),R(wr);const Qu="dropdown",Un=".bs.dropdown",nl=".data-api",Mm="Escape",Ku="Tab",Rm="ArrowUp",Yu="ArrowDown",$m=2,jm=`hide${Un}`,Fm=`hidden${Un}`,zm=`show${Un}`,Bm=`shown${Un}`,Gu=`click${Un}${nl}`,Xu=`keydown${Un}${nl}`,Hm=`keyup${Un}${nl}`,Sr="show",Vm="dropup",Wm="dropend",Um="dropstart",Qm="dropup-center",Km="dropdown-center",Qn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ym=`${Qn}.${Sr}`,go=".dropdown-menu",Gm=".navbar",Xm=".navbar-nav",Zm=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Jm=z()?"top-end":"top-start",qm=z()?"top-start":"top-end",eg=z()?"bottom-end":"bottom-start",tg=z()?"bottom-start":"bottom-end",ng=z()?"left-start":"right-start",rg=z()?"right-start":"left-start",ig="top",og="bottom",sg={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},lg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ct extends ne{constructor(s,u){super(s,u),this._popper=null,this._parent=this._element.parentNode,this._menu=j.next(this._element,go)[0]||j.prev(this._element,go)[0]||j.findOne(go,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return sg}static get DefaultType(){return lg}static get NAME(){return Qu}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const s={relatedTarget:this._element};if(!k.trigger(this._element,zm,s).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Xm))for(const m of[].concat(...document.body.children))k.on(m,"mouseover",w);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Sr),this._element.classList.add(Sr),k.trigger(this._element,Bm,s)}}hide(){if(h(this._element)||!this._isShown())return;const s={relatedTarget:this._element};this._completeHide(s)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(s){if(!k.trigger(this._element,jm,s).defaultPrevented){if("ontouchstart"in document.documentElement)for(const m of[].concat(...document.body.children))k.off(m,"mouseover",w);this._popper&&this._popper.destroy(),this._menu.classList.remove(Sr),this._element.classList.remove(Sr),this._element.setAttribute("aria-expanded","false"),Ve.removeDataAttribute(this._menu,"popper"),k.trigger(this._element,Fm,s)}}_getConfig(s){if(s=super._getConfig(s),typeof s.reference=="object"&&!N(s.reference)&&typeof s.reference.getBoundingClientRect!="function")throw new TypeError(`${Qu.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return s}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let s=this._element;this._config.reference==="parent"?s=this._parent:N(this._config.reference)?s=$(this._config.reference):typeof this._config.reference=="object"&&(s=this._config.reference);const u=this._getPopperConfig();this._popper=i.createPopper(s,this._menu,u)}_isShown(){return this._menu.classList.contains(Sr)}_getPlacement(){const s=this._parent;if(s.classList.contains(Wm))return ng;if(s.classList.contains(Um))return rg;if(s.classList.contains(Qm))return ig;if(s.classList.contains(Km))return og;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return s.classList.contains(Vm)?u?qm:Jm:u?tg:eg}_detectNavbar(){return this._element.closest(Gm)!==null}_getOffset(){const{offset:s}=this._config;return typeof s=="string"?s.split(",").map(u=>Number.parseInt(u,10)):typeof s=="function"?u=>s(u,this._element):s}_getPopperConfig(){const s={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ve.setDataAttribute(this._menu,"popper","static"),s.modifiers=[{name:"applyStyles",enabled:!1}]),{...s,...V(this._config.popperConfig,[s])}}_selectMenuItem({key:s,target:u}){const m=j.find(Zm,this._menu).filter(C=>v(C));m.length&&X(m,u,s===Yu,!m.includes(u)).focus()}static jQueryInterface(s){return this.each(function(){const u=Ct.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}static clearMenus(s){if(s.button===$m||s.type==="keyup"&&s.key!==Ku)return;const u=j.find(Ym);for(const m of u){const C=Ct.getInstance(m);if(!C||C._config.autoClose===!1)continue;const P=s.composedPath(),I=P.includes(C._menu);if(P.includes(C._element)||C._config.autoClose==="inside"&&!I||C._config.autoClose==="outside"&&I||C._menu.contains(s.target)&&(s.type==="keyup"&&s.key===Ku||/input|select|option|textarea|form/i.test(s.target.tagName)))continue;const W={relatedTarget:C._element};s.type==="click"&&(W.clickEvent=s),C._completeHide(W)}}static dataApiKeydownHandler(s){const u=/input|textarea/i.test(s.target.tagName),m=s.key===Mm,C=[Rm,Yu].includes(s.key);if(!C&&!m||u&&!m)return;s.preventDefault();const P=this.matches(Qn)?this:j.prev(this,Qn)[0]||j.next(this,Qn)[0]||j.findOne(Qn,s.delegateTarget.parentNode),I=Ct.getOrCreateInstance(P);if(C){s.stopPropagation(),I.show(),I._selectMenuItem(s);return}I._isShown()&&(s.stopPropagation(),I.hide(),P.focus())}}k.on(document,Xu,Qn,Ct.dataApiKeydownHandler),k.on(document,Xu,go,Ct.dataApiKeydownHandler),k.on(document,Gu,Ct.clearMenus),k.on(document,Hm,Ct.clearMenus),k.on(document,Gu,Qn,function(f){f.preventDefault(),Ct.getOrCreateInstance(this).toggle()}),R(Ct);const Zu="backdrop",ag="fade",Ju="show",qu=`mousedown.bs.${Zu}`,ug={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ec extends _e{constructor(s){super(),this._config=this._getConfig(s),this._isAppended=!1,this._element=null}static get Default(){return ug}static get DefaultType(){return cg}static get NAME(){return Zu}show(s){if(!this._config.isVisible){V(s);return}this._append();const u=this._getElement();this._config.isAnimated&&x(u),u.classList.add(Ju),this._emulateAnimation(()=>{V(s)})}hide(s){if(!this._config.isVisible){V(s);return}this._getElement().classList.remove(Ju),this._emulateAnimation(()=>{this.dispose(),V(s)})}dispose(){this._isAppended&&(k.off(this._element,qu),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const s=document.createElement("div");s.className=this._config.className,this._config.isAnimated&&s.classList.add(ag),this._element=s}return this._element}_configAfterMerge(s){return s.rootElement=$(s.rootElement),s}_append(){if(this._isAppended)return;const s=this._getElement();this._config.rootElement.append(s),k.on(s,qu,()=>{V(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(s){q(s,this._getElement(),this._config.isAnimated)}}const dg="focustrap",vo=".bs.focustrap",fg=`focusin${vo}`,pg=`keydown.tab${vo}`,hg="Tab",mg="forward",tc="backward",gg={autofocus:!0,trapElement:null},vg={autofocus:"boolean",trapElement:"element"};class nc extends _e{constructor(s){super(),this._config=this._getConfig(s),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gg}static get DefaultType(){return vg}static get NAME(){return dg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),k.off(document,vo),k.on(document,fg,s=>this._handleFocusin(s)),k.on(document,pg,s=>this._handleKeydown(s)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,k.off(document,vo))}_handleFocusin(s){const{trapElement:u}=this._config;if(s.target===document||s.target===u||u.contains(s.target))return;const m=j.focusableChildren(u);m.length===0?u.focus():this._lastTabNavDirection===tc?m[m.length-1].focus():m[0].focus()}_handleKeydown(s){s.key===hg&&(this._lastTabNavDirection=s.shiftKey?tc:mg)}}const rc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ic=".sticky-top",yo="padding-right",oc="margin-right";class rl{constructor(){this._element=document.body}getWidth(){const s=document.documentElement.clientWidth;return Math.abs(window.innerWidth-s)}hide(){const s=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yo,u=>u+s),this._setElementAttributes(rc,yo,u=>u+s),this._setElementAttributes(ic,oc,u=>u-s)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yo),this._resetElementAttributes(rc,yo),this._resetElementAttributes(ic,oc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(s,u,m){const C=this.getWidth(),P=I=>{if(I!==this._element&&window.innerWidth>I.clientWidth+C)return;this._saveInitialAttribute(I,u);const W=window.getComputedStyle(I).getPropertyValue(u);I.style.setProperty(u,`${m(Number.parseFloat(W))}px`)};this._applyManipulationCallback(s,P)}_saveInitialAttribute(s,u){const m=s.style.getPropertyValue(u);m&&Ve.setDataAttribute(s,u,m)}_resetElementAttributes(s,u){const m=C=>{const P=Ve.getDataAttribute(C,u);if(P===null){C.style.removeProperty(u);return}Ve.removeDataAttribute(C,u),C.style.setProperty(u,P)};this._applyManipulationCallback(s,m)}_applyManipulationCallback(s,u){if(N(s)){u(s);return}for(const m of j.find(s,this._element))u(m)}}const yg="modal",ut=".bs.modal",_g=".data-api",Eg="Escape",wg=`hide${ut}`,Sg=`hidePrevented${ut}`,sc=`hidden${ut}`,lc=`show${ut}`,Cg=`shown${ut}`,Ng=`resize${ut}`,Tg=`click.dismiss${ut}`,kg=`mousedown.dismiss${ut}`,xg=`keydown.dismiss${ut}`,Ag=`click${ut}${_g}`,ac="modal-open",Og="fade",uc="show",il="modal-static",Lg=".modal.show",Ig=".modal-dialog",Dg=".modal-body",Pg='[data-bs-toggle="modal"]',bg={backdrop:!0,focus:!0,keyboard:!0},Mg={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Kn extends ne{constructor(s,u){super(s,u),this._dialog=j.findOne(Ig,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new rl,this._addEventListeners()}static get Default(){return bg}static get DefaultType(){return Mg}static get NAME(){return yg}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||this._isTransitioning||k.trigger(this._element,lc,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ac),this._adjustDialog(),this._backdrop.show(()=>this._showElement(s)))}hide(){!this._isShown||this._isTransitioning||k.trigger(this._element,wg).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(uc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){k.off(window,ut),k.off(this._dialog,ut),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ec({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new nc({trapElement:this._element})}_showElement(s){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 u=j.findOne(Dg,this._dialog);u&&(u.scrollTop=0),x(this._element),this._element.classList.add(uc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,k.trigger(this._element,Cg,{relatedTarget:s})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){k.on(this._element,xg,s=>{if(s.key===Eg){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),k.on(window,Ng,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),k.on(this._element,kg,s=>{k.one(this._element,Tg,u=>{if(!(this._element!==s.target||this._element!==u.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ac),this._resetAdjustments(),this._scrollBar.reset(),k.trigger(this._element,sc)})}_isAnimated(){return this._element.classList.contains(Og)}_triggerBackdropTransition(){if(k.trigger(this._element,Sg).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(il)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(il),this._queueCallback(()=>{this._element.classList.remove(il),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const s=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),m=u>0;if(m&&!s){const C=z()?"paddingLeft":"paddingRight";this._element.style[C]=`${u}px`}if(!m&&s){const C=z()?"paddingRight":"paddingLeft";this._element.style[C]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(s,u){return this.each(function(){const m=Kn.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof m[s]>"u")throw new TypeError(`No method named "${s}"`);m[s](u)}})}}k.on(document,Ag,Pg,function(f){const s=j.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&f.preventDefault(),k.one(s,lc,C=>{C.defaultPrevented||k.one(s,sc,()=>{v(this)&&this.focus()})});const u=j.findOne(Lg);u&&Kn.getInstance(u).hide(),Kn.getOrCreateInstance(s).toggle(this)}),be(Kn),R(Kn);const Rg="offcanvas",Yt=".bs.offcanvas",cc=".data-api",$g=`load${Yt}${cc}`,jg="Escape",dc="show",fc="showing",pc="hiding",Fg="offcanvas-backdrop",hc=".offcanvas.show",zg=`show${Yt}`,Bg=`shown${Yt}`,Hg=`hide${Yt}`,mc=`hidePrevented${Yt}`,gc=`hidden${Yt}`,Vg=`resize${Yt}`,Wg=`click${Yt}${cc}`,Ug=`keydown.dismiss${Yt}`,Qg='[data-bs-toggle="offcanvas"]',Kg={backdrop:!0,keyboard:!0,scroll:!1},Yg={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Gt extends ne{constructor(s,u){super(s,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Kg}static get DefaultType(){return Yg}static get NAME(){return Rg}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){if(this._isShown||k.trigger(this._element,zg,{relatedTarget:s}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new rl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(fc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(dc),this._element.classList.remove(fc),k.trigger(this._element,Bg,{relatedTarget:s})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||k.trigger(this._element,Hg).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(pc),this._backdrop.hide();const u=()=>{this._element.classList.remove(dc,pc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new rl().reset(),k.trigger(this._element,gc)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const s=()=>{if(this._config.backdrop==="static"){k.trigger(this._element,mc);return}this.hide()},u=!!this._config.backdrop;return new ec({className:Fg,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?s:null})}_initializeFocusTrap(){return new nc({trapElement:this._element})}_addEventListeners(){k.on(this._element,Ug,s=>{if(s.key===jg){if(this._config.keyboard){this.hide();return}k.trigger(this._element,mc)}})}static jQueryInterface(s){return this.each(function(){const u=Gt.getOrCreateInstance(this,s);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}k.on(document,Wg,Qg,function(f){const s=j.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),h(this))return;k.one(s,gc,()=>{v(this)&&this.focus()});const u=j.findOne(hc);u&&u!==s&&Gt.getInstance(u).hide(),Gt.getOrCreateInstance(s).toggle(this)}),k.on(window,$g,()=>{for(const f of j.find(hc))Gt.getOrCreateInstance(f).show()}),k.on(window,Vg,()=>{for(const f of j.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(f).position!=="fixed"&&Gt.getOrCreateInstance(f).hide()}),be(Gt),R(Gt);const vc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Gg=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Zg=(f,s)=>{const u=f.nodeName.toLowerCase();return s.includes(u)?Gg.has(u)?!!Xg.test(f.nodeValue):!0:s.filter(m=>m instanceof RegExp).some(m=>m.test(u))};function Jg(f,s,u){if(!f.length)return f;if(u&&typeof u=="function")return u(f);const C=new window.DOMParser().parseFromString(f,"text/html"),P=[].concat(...C.body.querySelectorAll("*"));for(const I of P){const W=I.nodeName.toLowerCase();if(!Object.keys(s).includes(W)){I.remove();continue}const We=[].concat(...I.attributes),ct=[].concat(s["*"]||[],s[W]||[]);for(const Ee of We)Zg(Ee,ct)||I.removeAttribute(Ee.nodeName)}return C.body.innerHTML}const qg="TemplateFactory",ev={allowList:vc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},tv={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},nv={entry:"(string|element|function|null)",selector:"(string|element)"};class rv extends _e{constructor(s){super(),this._config=this._getConfig(s)}static get Default(){return ev}static get DefaultType(){return tv}static get NAME(){return qg}getContent(){return Object.values(this._config.content).map(s=>this._resolvePossibleFunction(s)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(s){return this._checkContent(s),this._config.content={...this._config.content,...s},this}toHtml(){const s=document.createElement("div");s.innerHTML=this._maybeSanitize(this._config.template);for(const[C,P]of Object.entries(this._config.content))this._setContent(s,P,C);const u=s.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&u.classList.add(...m.split(" ")),u}_typeCheckConfig(s){super._typeCheckConfig(s),this._checkContent(s.content)}_checkContent(s){for(const[u,m]of Object.entries(s))super._typeCheckConfig({selector:u,entry:m},nv)}_setContent(s,u,m){const C=j.findOne(m,s);if(C){if(u=this._resolvePossibleFunction(u),!u){C.remove();return}if(N(u)){this._putElementInTemplate($(u),C);return}if(this._config.html){C.innerHTML=this._maybeSanitize(u);return}C.textContent=u}}_maybeSanitize(s){return this._config.sanitize?Jg(s,this._config.allowList,this._config.sanitizeFn):s}_resolvePossibleFunction(s){return V(s,[this])}_putElementInTemplate(s,u){if(this._config.html){u.innerHTML="",u.append(s);return}u.textContent=s.textContent}}const iv="tooltip",ov=new Set(["sanitize","allowList","sanitizeFn"]),ol="fade",sv="modal",_o="show",lv=".tooltip-inner",yc=`.${sv}`,_c="hide.bs.modal",fi="hover",sl="focus",av="click",uv="manual",cv="hide",dv="hidden",fv="show",pv="shown",hv="inserted",mv="click",gv="focusin",vv="focusout",yv="mouseenter",_v="mouseleave",Ev={AUTO:"auto",TOP:"top",RIGHT:z()?"left":"right",BOTTOM:"bottom",LEFT:z()?"right":"left"},wv={allowList:vc,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"},Sv={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 Yn extends ne{constructor(s,u){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(s,u),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 wv}static get DefaultType(){return Sv}static get NAME(){return iv}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),k.off(this._element.closest(yc),_c,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const s=k.trigger(this._element,this.constructor.eventName(fv)),m=(y(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(s.defaultPrevented||!m)return;this._disposePopper();const C=this._getTipElement();this._element.setAttribute("aria-describedby",C.getAttribute("id"));const{container:P}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(P.append(C),k.trigger(this._element,this.constructor.eventName(hv))),this._popper=this._createPopper(C),C.classList.add(_o),"ontouchstart"in document.documentElement)for(const W of[].concat(...document.body.children))k.on(W,"mouseover",w);const I=()=>{k.trigger(this._element,this.constructor.eventName(pv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(I,this.tip,this._isAnimated())}hide(){if(!this._isShown()||k.trigger(this._element,this.constructor.eventName(cv)).defaultPrevented)return;if(this._getTipElement().classList.remove(_o),"ontouchstart"in document.documentElement)for(const C of[].concat(...document.body.children))k.off(C,"mouseover",w);this._activeTrigger[av]=!1,this._activeTrigger[sl]=!1,this._activeTrigger[fi]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),k.trigger(this._element,this.constructor.eventName(dv)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(s){const u=this._getTemplateFactory(s).toHtml();if(!u)return null;u.classList.remove(ol,_o),u.classList.add(`bs-${this.constructor.NAME}-auto`);const m=_(this.constructor.NAME).toString();return u.setAttribute("id",m),this._isAnimated()&&u.classList.add(ol),u}setContent(s){this._newContent=s,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(s){return this._templateFactory?this._templateFactory.changeContent(s):this._templateFactory=new rv({...this._config,content:s,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[lv]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(s){return this.constructor.getOrCreateInstance(s.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ol)}_isShown(){return this.tip&&this.tip.classList.contains(_o)}_createPopper(s){const u=V(this._config.placement,[this,s,this._element]),m=Ev[u.toUpperCase()];return i.createPopper(this._element,s,this._getPopperConfig(m))}_getOffset(){const{offset:s}=this._config;return typeof s=="string"?s.split(",").map(u=>Number.parseInt(u,10)):typeof s=="function"?u=>s(u,this._element):s}_resolvePossibleFunction(s){return V(s,[this._element])}_getPopperConfig(s){const u={placement:s,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:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...u,...V(this._config.popperConfig,[u])}}_setListeners(){const s=this._config.trigger.split(" ");for(const u of s)if(u==="click")k.on(this._element,this.constructor.eventName(mv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(u!==uv){const m=u===fi?this.constructor.eventName(yv):this.constructor.eventName(gv),C=u===fi?this.constructor.eventName(_v):this.constructor.eventName(vv);k.on(this._element,m,this._config.selector,P=>{const I=this._initializeOnDelegatedTarget(P);I._activeTrigger[P.type==="focusin"?sl:fi]=!0,I._enter()}),k.on(this._element,C,this._config.selector,P=>{const I=this._initializeOnDelegatedTarget(P);I._activeTrigger[P.type==="focusout"?sl:fi]=I._element.contains(P.relatedTarget),I._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},k.on(this._element.closest(yc),_c,this._hideModalHandler)}_fixTitle(){const s=this._element.getAttribute("title");s&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",s),this._element.setAttribute("data-bs-original-title",s),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(s,u){clearTimeout(this._timeout),this._timeout=setTimeout(s,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(s){const u=Ve.getDataAttributes(this._element);for(const m of Object.keys(u))ov.has(m)&&delete u[m];return s={...u,...typeof s=="object"&&s?s:{}},s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s.container=s.container===!1?document.body:$(s.container),typeof s.delay=="number"&&(s.delay={show:s.delay,hide:s.delay}),typeof s.title=="number"&&(s.title=s.title.toString()),typeof s.content=="number"&&(s.content=s.content.toString()),s}_getDelegateConfig(){const s={};for(const[u,m]of Object.entries(this._config))this.constructor.Default[u]!==m&&(s[u]=m);return s.selector=!1,s.trigger="manual",s}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(s){return this.each(function(){const u=Yn.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}}R(Yn);const Cv="popover",Nv=".popover-header",Tv=".popover-body",kv={...Yn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xv={...Yn.DefaultType,content:"(null|string|element|function)"};class Eo extends Yn{static get Default(){return kv}static get DefaultType(){return xv}static get NAME(){return Cv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Nv]:this._getTitle(),[Tv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(s){return this.each(function(){const u=Eo.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s]()}})}}R(Eo);const Av="scrollspy",ll=".bs.scrollspy",Ov=".data-api",Lv=`activate${ll}`,Ec=`click${ll}`,Iv=`load${ll}${Ov}`,Dv="dropdown-item",Cr="active",Pv='[data-bs-spy="scroll"]',al="[href]",bv=".nav, .list-group",wc=".nav-link",Mv=`${wc}, .nav-item > ${wc}, .list-group-item`,Rv=".dropdown",$v=".dropdown-toggle",jv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Fv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pi extends ne{constructor(s,u){super(s,u),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return jv}static get DefaultType(){return Fv}static get NAME(){return Av}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const s of this._observableSections.values())this._observer.observe(s)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(s){return s.target=$(s.target)||document.body,s.rootMargin=s.offset?`${s.offset}px 0px -30%`:s.rootMargin,typeof s.threshold=="string"&&(s.threshold=s.threshold.split(",").map(u=>Number.parseFloat(u))),s}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(k.off(this._config.target,Ec),k.on(this._config.target,Ec,al,s=>{const u=this._observableSections.get(s.target.hash);if(u){s.preventDefault();const m=this._rootElement||window,C=u.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:C,behavior:"smooth"});return}m.scrollTop=C}}))}_getNewObserver(){const s={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(u=>this._observerCallback(u),s)}_observerCallback(s){const u=I=>this._targetLinks.get(`#${I.target.id}`),m=I=>{this._previousScrollData.visibleEntryTop=I.target.offsetTop,this._process(u(I))},C=(this._rootElement||document.documentElement).scrollTop,P=C>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=C;for(const I of s){if(!I.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(I));continue}const W=I.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(P&&W){if(m(I),!C)return;continue}!P&&!W&&m(I)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const s=j.find(al,this._config.target);for(const u of s){if(!u.hash||h(u))continue;const m=j.findOne(decodeURI(u.hash),this._element);v(m)&&(this._targetLinks.set(decodeURI(u.hash),u),this._observableSections.set(u.hash,m))}}_process(s){this._activeTarget!==s&&(this._clearActiveClass(this._config.target),this._activeTarget=s,s.classList.add(Cr),this._activateParents(s),k.trigger(this._element,Lv,{relatedTarget:s}))}_activateParents(s){if(s.classList.contains(Dv)){j.findOne($v,s.closest(Rv)).classList.add(Cr);return}for(const u of j.parents(s,bv))for(const m of j.prev(u,Mv))m.classList.add(Cr)}_clearActiveClass(s){s.classList.remove(Cr);const u=j.find(`${al}.${Cr}`,s);for(const m of u)m.classList.remove(Cr)}static jQueryInterface(s){return this.each(function(){const u=pi.getOrCreateInstance(this,s);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(window,Iv,()=>{for(const f of j.find(Pv))pi.getOrCreateInstance(f)}),R(pi);const zv="tab",Gn=".bs.tab",Bv=`hide${Gn}`,Hv=`hidden${Gn}`,Vv=`show${Gn}`,Wv=`shown${Gn}`,Uv=`click${Gn}`,Qv=`keydown${Gn}`,Kv=`load${Gn}`,Yv="ArrowLeft",Sc="ArrowRight",Gv="ArrowUp",Cc="ArrowDown",ul="Home",Nc="End",Xn="active",Tc="fade",cl="show",Xv="dropdown",kc=".dropdown-toggle",Zv=".dropdown-menu",dl=`:not(${kc})`,Jv='.list-group, .nav, [role="tablist"]',qv=".nav-item, .list-group-item",ey=`.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`,xc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',fl=`${ey}, ${xc}`,ty=`.${Xn}[data-bs-toggle="tab"], .${Xn}[data-bs-toggle="pill"], .${Xn}[data-bs-toggle="list"]`;class Zn extends ne{constructor(s){super(s),this._parent=this._element.closest(Jv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),k.on(this._element,Qv,u=>this._keydown(u)))}static get NAME(){return zv}show(){const s=this._element;if(this._elemIsActive(s))return;const u=this._getActiveElem(),m=u?k.trigger(u,Bv,{relatedTarget:s}):null;k.trigger(s,Vv,{relatedTarget:u}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(u,s),this._activate(s,u))}_activate(s,u){if(!s)return;s.classList.add(Xn),this._activate(j.getElementFromSelector(s));const m=()=>{if(s.getAttribute("role")!=="tab"){s.classList.add(cl);return}s.removeAttribute("tabindex"),s.setAttribute("aria-selected",!0),this._toggleDropDown(s,!0),k.trigger(s,Wv,{relatedTarget:u})};this._queueCallback(m,s,s.classList.contains(Tc))}_deactivate(s,u){if(!s)return;s.classList.remove(Xn),s.blur(),this._deactivate(j.getElementFromSelector(s));const m=()=>{if(s.getAttribute("role")!=="tab"){s.classList.remove(cl);return}s.setAttribute("aria-selected",!1),s.setAttribute("tabindex","-1"),this._toggleDropDown(s,!1),k.trigger(s,Hv,{relatedTarget:u})};this._queueCallback(m,s,s.classList.contains(Tc))}_keydown(s){if(![Yv,Sc,Gv,Cc,ul,Nc].includes(s.key))return;s.stopPropagation(),s.preventDefault();const u=this._getChildren().filter(C=>!h(C));let m;if([ul,Nc].includes(s.key))m=u[s.key===ul?0:u.length-1];else{const C=[Sc,Cc].includes(s.key);m=X(u,s.target,C,!0)}m&&(m.focus({preventScroll:!0}),Zn.getOrCreateInstance(m).show())}_getChildren(){return j.find(fl,this._parent)}_getActiveElem(){return this._getChildren().find(s=>this._elemIsActive(s))||null}_setInitialAttributes(s,u){this._setAttributeIfNotExists(s,"role","tablist");for(const m of u)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(s){s=this._getInnerElement(s);const u=this._elemIsActive(s),m=this._getOuterElement(s);s.setAttribute("aria-selected",u),m!==s&&this._setAttributeIfNotExists(m,"role","presentation"),u||s.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(s,"role","tab"),this._setInitialAttributesOnTargetPanel(s)}_setInitialAttributesOnTargetPanel(s){const u=j.getElementFromSelector(s);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),s.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${s.id}`))}_toggleDropDown(s,u){const m=this._getOuterElement(s);if(!m.classList.contains(Xv))return;const C=(P,I)=>{const W=j.findOne(P,m);W&&W.classList.toggle(I,u)};C(kc,Xn),C(Zv,cl),m.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(s,u,m){s.hasAttribute(u)||s.setAttribute(u,m)}_elemIsActive(s){return s.classList.contains(Xn)}_getInnerElement(s){return s.matches(fl)?s:j.findOne(fl,s)}_getOuterElement(s){return s.closest(qv)||s}static jQueryInterface(s){return this.each(function(){const u=Zn.getOrCreateInstance(this);if(typeof s=="string"){if(u[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);u[s]()}})}}k.on(document,Uv,xc,function(f){["A","AREA"].includes(this.tagName)&&f.preventDefault(),!h(this)&&Zn.getOrCreateInstance(this).show()}),k.on(window,Kv,()=>{for(const f of j.find(ty))Zn.getOrCreateInstance(f)}),R(Zn);const ny="toast",En=".bs.toast",ry=`mouseover${En}`,iy=`mouseout${En}`,oy=`focusin${En}`,sy=`focusout${En}`,ly=`hide${En}`,ay=`hidden${En}`,uy=`show${En}`,cy=`shown${En}`,dy="fade",Ac="hide",wo="show",So="showing",fy={animation:"boolean",autohide:"boolean",delay:"number"},py={animation:!0,autohide:!0,delay:5e3};class hi extends ne{constructor(s,u){super(s,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return py}static get DefaultType(){return fy}static get NAME(){return ny}show(){if(k.trigger(this._element,uy).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(dy);const u=()=>{this._element.classList.remove(So),k.trigger(this._element,cy),this._maybeScheduleHide()};this._element.classList.remove(Ac),x(this._element),this._element.classList.add(wo,So),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||k.trigger(this._element,ly).defaultPrevented)return;const u=()=>{this._element.classList.add(Ac),this._element.classList.remove(So,wo),k.trigger(this._element,ay)};this._element.classList.add(So),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(wo),super.dispose()}isShown(){return this._element.classList.contains(wo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(s,u){switch(s.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=u;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=u;break}}if(u){this._clearTimeout();return}const m=s.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){k.on(this._element,ry,s=>this._onInteraction(s,!0)),k.on(this._element,iy,s=>this._onInteraction(s,!1)),k.on(this._element,oy,s=>this._onInteraction(s,!0)),k.on(this._element,sy,s=>this._onInteraction(s,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(s){return this.each(function(){const u=hi.getOrCreateInstance(this,s);if(typeof s=="string"){if(typeof u[s]>"u")throw new TypeError(`No method named "${s}"`);u[s](this)}})}}return be(hi),R(hi),{Alert:Qt,Button:vn,Carousel:_r,Collapse:wr,Dropdown:Ct,Modal:Kn,Offcanvas:Gt,Popover:Eo,ScrollSpy:pi,Tab:Zn,Toast:hi,Tooltip:Yn}})})(w0);function dE(){const[e,t]=D.useState(localStorage.getItem("teamNumber")==null?"":localStorage.getItem("teamNumber")),[n,r]=D.useState(localStorage.getItem("matchNumber")==null?"":localStorage.getItem("matchNumber")),[i,o]=D.useState(localStorage.getItem("scoutName")==null?"":localStorage.getItem("scoutName")),[l,a]=D.useState(localStorage.getItem("startingPosition")==null?"":localStorage.getItem("startingPosition")),[c,d]=D.useState(localStorage.getItem("leaveCommunity")==null?"":localStorage.getItem("leaveCommunity")),[g,E]=D.useState(localStorage.getItem("autoConesHigh")==null?0:localStorage.getItem("autoConesHigh")),[_,S]=D.useState(localStorage.getItem("autoConesMid")==null?0:localStorage.getItem("autoConesMid")),[T,N]=D.useState(localStorage.getItem("autoConesLow")==null?0:localStorage.getItem("autoConesLow")),[$,v]=D.useState(localStorage.getItem("autoConesMissed")==null?0:localStorage.getItem("autoConesMissed")),[h,y]=D.useState(localStorage.getItem("autoCubesHigh")==null?0:localStorage.getItem("autoCubesHigh")),[w,x]=D.useState(localStorage.getItem("autoCubesMid")==null?0:localStorage.getItem("autoCubesMid")),[A,L]=D.useState(localStorage.getItem("autoCubesLow")==null?0:localStorage.getItem("autoCubesLow")),[b,z]=D.useState(localStorage.getItem("autoCubesMissed")==null?0:localStorage.getItem("autoCubesMissed")),[R,V]=D.useState(localStorage.getItem("autoChargingStation")==null?"":localStorage.getItem("autoChargingStation")),[q,X]=D.useState(localStorage.getItem("teleConesHigh")==null?0:localStorage.getItem("teleConesHigh")),[ve,Be]=D.useState(localStorage.getItem("teleConesMid")==null?0:localStorage.getItem("teleConesMid")),[ie,ae]=D.useState(localStorage.getItem("teleConesLow")==null?0:localStorage.getItem("teleConesLow")),[M,B]=D.useState(localStorage.getItem("teleConesMissed")==null?0:localStorage.getItem("teleConesMissed")),[H,Y]=D.useState(localStorage.getItem("teleCubesHigh")==null?0:localStorage.getItem("teleCubesHigh")),[K,He]=D.useState(localStorage.getItem("teleCubesMid")==null?0:localStorage.getItem("teleCubesMid")),[ce,ye]=D.useState(localStorage.getItem("teleCubesLow")==null?0:localStorage.getItem("teleCubesLow")),[de,Pe]=D.useState(localStorage.getItem("teleCubesMissed")==null?0:localStorage.getItem("teleCubesMissed")),[Ae,un]=D.useState(localStorage.getItem("intakeFromFloorCommunity")==null?0:localStorage.getItem("intakeFromFloorCommunity")),[Ut,k]=D.useState(localStorage.getItem("intakeFromFloorNotCommunity")==null?0:localStorage.getItem("intakeFromFloorNotCommunity")),[Pt,cn]=D.useState(localStorage.getItem("intakeFromShelf")==null?0:localStorage.getItem("intakeFromShelf")),[bt,Ve]=D.useState(localStorage.getItem("intakeFromChute")==null?0:localStorage.getItem("intakeFromChute")),[_e,Et]=D.useState(localStorage.getItem("defenseQuantity")==null?"":localStorage.getItem("defenseQuantity")),[ne,Xe]=D.useState(localStorage.getItem("defenseQuality")==null?"":localStorage.getItem("defenseQuality")),[j,be]=D.useState(localStorage.getItem("endgameChargingStation")==null?"":localStorage.getItem("endgameChargingStation")),[lt,dn]=D.useState(localStorage.getItem("additionalRobots")==null?"":localStorage.getItem("additionalRobots")),[at,fn]=D.useState(localStorage.getItem("speed")==null?"":localStorage.getItem("speed")),[wt,pn]=D.useState(localStorage.getItem("movedBetween")==null?"":localStorage.getItem("movedBetween")),[St,Qt]=D.useState(localStorage.getItem("droppedCycling")==null?"":localStorage.getItem("droppedCycling")),[hn,uo]=D.useState(localStorage.getItem("timeToIntake")==null?"":localStorage.getItem("timeToIntake")),[mn,li]=D.useState(localStorage.getItem("droppedHit")==null?"":localStorage.getItem("droppedHit")),[gn,gr]=D.useState(localStorage.getItem("tripleClimb")==null?"":localStorage.getItem("tripleClimb")),[Wn,vn]=D.useState(localStorage.getItem("comment")==null?"":localStorage.getItem("comment")),[Xs,yn]=D.useState([]),[Kt,co]=D.useState(!1);D.useEffect(()=>{localStorage.setItem("teamNumber",e)},[e]),D.useEffect(()=>{localStorage.setItem("matchNumber",n)},[n]),D.useEffect(()=>{localStorage.setItem("scoutName",i)},[i]),D.useEffect(()=>{localStorage.setItem("startingPosition",l)},[l]),D.useEffect(()=>{localStorage.setItem("leaveCommunity",c)},[c]),D.useEffect(()=>{localStorage.setItem("autoConesHigh",g)},[g]),D.useEffect(()=>{localStorage.setItem("autoConesMid",_)},[_]),D.useEffect(()=>{localStorage.setItem("autoConesLow",T)},[T]),D.useEffect(()=>{localStorage.setItem("autoConesMissed",$)},[$]),D.useEffect(()=>{localStorage.setItem("autoCubesHigh",h)},[h]),D.useEffect(()=>{localStorage.setItem("autoCubesMid",w)},[w]),D.useEffect(()=>{localStorage.setItem("autoCubesLow",A)},[A]),D.useEffect(()=>{localStorage.setItem("autoCubesMissed",b)},[b]),D.useEffect(()=>{localStorage.setItem("autoChargingStation",R)},[R]),D.useEffect(()=>{localStorage.setItem("teleConesHigh",q)},[q]),D.useEffect(()=>{localStorage.setItem("teleConesMid",ve)},[ve]),D.useEffect(()=>{localStorage.setItem("teleConesLow",ie)},[ie]),D.useEffect(()=>{localStorage.setItem("teleConesMissed",M)},[M]),D.useEffect(()=>{localStorage.setItem("teleCubesHigh",H)},[H]),D.useEffect(()=>{localStorage.setItem("teleCubesMid",K)},[K]),D.useEffect(()=>{localStorage.setItem("teleCubesLow",ce)},[ce]),D.useEffect(()=>{localStorage.setItem("teleCubesMissed",de)},[de]),D.useEffect(()=>{localStorage.setItem("intakeFromFloorCommunity",Ae)},[Ae]),D.useEffect(()=>{localStorage.setItem("intakeFromFloorNotCommunity",Ut)},[Ut]),D.useEffect(()=>{localStorage.setItem("intakeFromShelf",Pt)},[Pt]),D.useEffect(()=>{localStorage.setItem("intakeFromChute",bt)},[bt]),D.useEffect(()=>{localStorage.setItem("defenseQuantity",_e)},[_e]),D.useEffect(()=>{localStorage.setItem("defenseQuality",ne)},[ne]),D.useEffect(()=>{localStorage.setItem("endgameChargingStation",j)},[j]),D.useEffect(()=>{localStorage.setItem("additionalRobots",lt)},[lt]),D.useEffect(()=>{localStorage.setItem("speed",at)},[at]),D.useEffect(()=>{localStorage.setItem("movedBetween",wt)},[wt]),D.useEffect(()=>{localStorage.setItem("droppedCycling",St)},[St]),D.useEffect(()=>{localStorage.setItem("timeToIntake",hn)},[hn]),D.useEffect(()=>{localStorage.setItem("droppedHit",mn)},[mn]),D.useEffect(()=>{localStorage.setItem("tripleClimb",gn)},[gn]),D.useEffect(()=>{localStorage.setItem("comment",Wn)},[Wn]);function Zs(){t(""),r(""),o(""),a(""),d(""),E(0),S(0),N(0),v(0),y(0),x(0),L(0),z(0),V(""),X(0),Be(0),ae(0),B(0),Y(0),He(0),ye(0),Pe(0),un(0),k(0),cn(0),Ve(0),Et(""),Xe(""),be(""),dn(""),fn(""),pn(""),Qt(""),uo(""),li(""),gr(""),vn("")}const ai=[n,e,Wn,!!l,c,parseInt(g),parseInt(_),parseInt(T),parseInt($),parseInt(h),parseInt(w),parseInt(A),parseInt(b),R,parseInt(q),parseInt(ve),parseInt(ve),parseInt(M),parseInt(H),parseInt(K),parseInt(ce),parseInt(de),parseInt(Ae),parseInt(Ut),parseInt(Pt),parseInt(bt),_e,ne,j,lt,at,wt==""?"":wt,St==""?"":St,hn==""?"":hn,mn==""?"":mn,gn==""?"":gn,i];function Js(){let Z=[];e||Z.push("Team number"),n||Z.push("Match number"),i||Z.push("Scout name"),l||Z.push("Starting position"),c||Z.push("Leave community"),R||Z.push("Auto charging station"),_e||Z.push("Defense quantity"),ne||Z.push("Defense quality"),j||Z.push("Endgame charging station"),lt||Z.push("Additional robots"),Wn||Z.push("Comment"),yn(Z.length==0?["No missing data!"]:Z)}D.useEffect(()=>{console.log(ai)},[ai]);function ui(){window.innerWidth<768?co(!0):co(!1)}return D.useLayoutEffect(()=>{ui(),window.addEventListener("resize",ui),window.addEventListener("orientationchange",ui)},[]),p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"modal fade",id:"missingDataModal",tabIndex:"-1","aria-labelledby":"missingDataModalLabel","aria-hidden":"true",children:p.jsx("div",{className:"modal-dialog",children:p.jsxs("div",{className:"modal-content",children:[p.jsxs("div",{className:"modal-header",children:[p.jsx("p",{className:"modal-title fs-5",id:"missingDataModalLabel",children:"Missing Data"}),p.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),p.jsx("div",{className:"modal-body",children:p.jsx("ul",{children:Xs.filter(Z=>!!Z).map(Z=>p.jsx("li",{children:Z},Z))})})]})})}),p.jsx("div",{className:"modal fade",id:"clearModal",tabIndex:"-1","aria-labelledby":"clearModalLabel","aria-hidden":"true",children:p.jsx("div",{className:"modal-dialog",children:p.jsxs("div",{className:"modal-content",children:[p.jsxs("div",{className:"modal-header",children:[p.jsx("h1",{className:"modal-title fs-5",id:"clearModalLabel",children:"Are you sure you want to clear?"}),p.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),p.jsxs("div",{className:"modal-body text-center",children:[p.jsx("button",{className:"btn btn-success btn-lg text-white mx-5","data-bs-dismiss":"modal",onClick:Zs,children:"Yes"}),p.jsx("button",{className:"btn btn-danger btn-lg text-white mx-5","data-bs-dismiss":"modal",children:"No"})]})]})})}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Match info"})}),p.jsxs("div",{className:"container mx-auto my-5 col-sm-4",children:[p.jsx("div",{children:p.jsx("input",{type:"text",placeholder:"Team Number",className:"form-control",onInput:Z=>t(Z.target.value),autoComplete:"false",value:e})}),p.jsx("div",{className:"pt-4",children:p.jsx("input",{type:"text",placeholder:"Match Number",className:"form-control",onInput:Z=>r(Z.target.value),autoComplete:"false",value:n})}),p.jsx("div",{className:"pt-4",children:p.jsx("input",{type:"text",placeholder:"Scout Name",className:"form-control",onInput:Z=>o(Z.target.value),autoComplete:"false",value:i})})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Autonomous"})}),p.jsxs("div",{className:"container mx-auto pt-4",children:[p.jsx("div",{className:"text-center",children:p.jsx("img",{src:"./robotPositions.png",alt:"Robot positions",className:"img-fluid"})}),p.jsxs("div",{className:"pt-5 row",children:[p.jsxs("div",{className:"col text-center",children:[p.jsx("p",{children:"Starting Position"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionA",onClick:()=>a("A"),checked:l=="A",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionA",children:"A"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionB",onClick:()=>a("B"),checked:l=="B",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionB",children:"B"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionC",onClick:()=>a("C"),checked:l=="C",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionC",children:"C"}),p.jsx("input",{type:"radio",className:"btn-check",name:"startingposition",id:"startingpositionD",onClick:()=>a("D"),checked:l=="D",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"startingpositionD",children:"D"})]})]}),p.jsxs("div",{className:"col text-center",children:[p.jsx("p",{children:"Leave Community?"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"leavecommuntiy",id:"leavecommunityyes",onClick:()=>d("true"),checked:c=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"leavecommunityyes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"leavecommuntiy",id:"leavecommunityno",onClick:()=>d("false"),checked:c=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"leavecommunityno",children:"No"})]})]})]}),p.jsxs("div",{className:"row mt-4",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones High",variable:g,setter:E})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Mid",variable:_,setter:S})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Low",variable:T,setter:N})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Missed (while placing high/mid)",variable:$,setter:v})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes High",variable:h,setter:y})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Mid",variable:w,setter:x})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Low",variable:A,setter:L})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Missed (while placing high/mid)",variable:b,setter:z})})]}),p.jsxs("div",{className:"my-5 text-center",children:[p.jsx("p",{className:"mb-2",children:"Charging Station"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationdocked",onClick:()=>V("Docked"),checked:R=="Docked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationdocked",children:"Docked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationengaged",onClick:()=>V("Engaged"),checked:R=="Engaged",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationengaged",children:"Engaged"}),p.jsx("input",{type:"radio",className:"btn-check",name:"autochargingstation",id:"autochargingstationnone",onClick:()=>V("None"),checked:R=="None",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"autochargingstationnone",children:"None"})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Teleoperated"})}),p.jsxs("div",{className:"container mx-auto pt-4",children:[p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes High",variable:H,setter:Y})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Mid",variable:K,setter:He})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Low",variable:ce,setter:ye})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cubes Missed",variable:de,setter:Pe})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones High",variable:q,setter:X})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Mid",variable:ve,setter:Be})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Low",variable:ie,setter:ae})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Cones Missed",variable:M,setter:B})})]}),p.jsxs("div",{className:"row",children:[p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Floor (Community)",variable:Ae,setter:un})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Floor (Outside Community)",variable:Ut,setter:k})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Shelf",variable:Pt,setter:cn})}),p.jsx("div",{className:"col-sm",children:p.jsx(pe,{label:"Intake From Chute",variable:bt,setter:Ve})})]}),p.jsxs("div",{className:"row gy-5 my-5",children:[p.jsxs("div",{className:"col-sm text-center",children:[p.jsx("p",{children:"Defense Quantity %"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity0",onClick:()=>Et("0"),checked:_e=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity25",onClick:()=>Et("25"),checked:_e=="25",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity25",children:"25"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity50",onClick:()=>Et("50"),checked:_e=="50",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity50",children:"50"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity75",onClick:()=>Et("75"),checked:_e=="75",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity75",children:"75"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuantity",id:"defenseQuantity100",onClick:()=>Et("100"),checked:_e=="100",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity100",children:"100"})]})]}),p.jsxs("div",{className:"col-sm text-center",children:[p.jsx("p",{children:"Defense Quality"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality0",onClick:()=>Xe("0"),checked:ne=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality1",onClick:()=>Xe("1"),checked:ne=="1",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality1",children:"1"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality2",onClick:()=>Xe("2"),checked:ne=="2",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality2",children:"2"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality3",onClick:()=>Xe("3"),checked:ne=="3",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality3",children:"3"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality4",onClick:()=>Xe("4"),checked:ne=="4",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuality4",children:"4"}),p.jsx("input",{type:"radio",className:"btn-check",name:"defenseQuality",id:"defenseQuality5",onClick:()=>Xe("5"),checked:ne=="5",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"defenseQuantity5",children:"5"})]})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Endgame"})}),p.jsxs("div",{className:"row mx-auto mt-4 mb-5 gy-4",children:[p.jsxs("div",{className:"col-6 col-lg-12 text-center",children:[p.jsx("p",{className:"mb-2",children:"Charging Station"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationdocked",onClick:()=>be("Docked"),checked:j=="Docked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationdocked",children:"Docked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationengaged",onClick:()=>be("Engaged"),checked:j=="Engaged",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationengaged",children:"Engaged"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationparked",onClick:()=>be("Parked"),checked:j=="Parked",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationparked",children:"Parked"}),p.jsx("input",{type:"radio",className:"btn-check",name:"endgameChargingStation",id:"endgameChargingStationnone",onClick:()=>be("None"),checked:j=="None",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"endgameChargingStationnone",children:"None"})]})]}),p.jsxs("div",{className:"col-6 col-lg-12 text-center",children:[p.jsx("p",{className:"mb-2",children:"Additional Robots"}),p.jsxs("div",{className:`${Kt?"btn-group-vertical":"btn-group"}`,role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots0",onClick:()=>dn("0"),checked:lt=="0",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots0",children:"0"}),p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots1",onClick:()=>dn("1"),checked:lt=="1",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots1",children:"1"}),p.jsx("input",{type:"radio",className:"btn-check",name:"additionalRobots",id:"additionalRobots2",onClick:()=>dn("2"),checked:lt=="2",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"additionalRobots2",children:"2"})]})]})]})]}),p.jsxs("section",{children:[p.jsx("div",{className:"container-fluid bg-secondary py-3 text-center display-5",children:p.jsx("p",{children:"Export"})}),p.jsx("div",{className:"mt-5 mx-auto text-center",children:p.jsx(E0,{title:"Export QR Code",value:JSON.stringify(ai),bgColor:"white",fgcolor:"black",size:384,style:{border:"20px solid white"}})}),p.jsx("div",{className:"mx-auto text-center mt-3 mb-5",children:p.jsx("button",{className:"btn btn-primary btn-lg",onClick:()=>Js(),"data-bs-toggle":"modal","data-bs-target":"#missingDataModal",children:"Show missing data"})}),p.jsxs("div",{className:"container text-center",children:[p.jsx("p",{className:"h2",children:"The following questions are OPTIONAL fields"}),p.jsx("p",{className:"h3",children:"However, please still fill out the comments box"}),p.jsxs("div",{children:[p.jsxs("div",{className:"row m-0 gy-5",children:[p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Slow or Fast"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"speed",id:"speedSlow",onClick:()=>fn("Slow"),checked:at=="Slow",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"speedSlow",children:"Slow"}),p.jsx("input",{type:"radio",className:"btn-check",name:"speed",id:"speedFast",onClick:()=>fn("Fast"),checked:at=="Fast",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"speedFast",children:"Fast"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Moved Pieces Between Nodes?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"movedBetween",id:"movedBetweenYes",onClick:()=>pn("true"),checked:wt=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"movedBetweenYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"movedBetween",id:"movedBetweenNo",onClick:()=>pn("false"),checked:wt=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"movedBetweenNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Dropped Pieces While Cycling?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"droppedCycling",id:"droppedCyclingYes",onClick:()=>Qt("true"),checked:St=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedCyclingYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"droppedCycling",id:"droppedCyclingNo",onClick:()=>Qt("false"),checked:St=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedCyclingNo",children:"No"})]})]})]}),p.jsxs("div",{className:"row m-0 gy-5",children:[p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Long Time To Intake?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"timeToIntake",id:"timeToIntakeYes",onClick:()=>uo("true"),checked:hn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"timeToIntakeYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"timeToIntake",id:"timeToIntakeNo",onClick:()=>uo("false"),checked:hn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"timeToIntakeNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Dropped When Hit?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"droppedHit",id:"droppedHitYes",onClick:()=>li("true"),checked:mn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedHitYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"droppedHit",id:"droppedHitNo",onClick:()=>li("false"),checked:mn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"droppedHitNo",children:"No"})]})]}),p.jsxs("div",{className:"col-sm",children:[p.jsx("p",{className:"mb-2",children:"Triple Climb?"}),p.jsxs("div",{className:"btn-group",role:"group",children:[p.jsx("input",{type:"radio",className:"btn-check",name:"tripleClimb",id:"tripleClimbYes",onClick:()=>gr("true"),checked:gn=="true",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"tripleClimbYes",children:"Yes"}),p.jsx("input",{type:"radio",className:"btn-check",name:"tripleClimb",id:"tripleClimbNo",onClick:()=>gr("false"),checked:gn=="false",readOnly:!0}),p.jsx("label",{className:"btn btn-primary p-5",htmlFor:"tripleClimbNo",children:"No"})]})]})]})]}),p.jsxs("div",{className:"mt-5",children:[p.jsx("p",{className:"mb-1 h4",children:"Comment"}),p.jsx("p",{children:"i.e if they can intake from the grid, did they score many links, etc. etc."}),p.jsx("textarea",{name:"",id:"",cols:"30",rows:"5",className:"form-control",placeholder:"Comment",onChange:Z=>vn(Z.target.value),value:Wn})]})]})]}),p.jsx("section",{className:"mt-5",children:p.jsx("button",{className:"btn btn-success container-fluid py-5","data-bs-toggle":"modal","data-bs-target":"#clearModal",children:p.jsx("span",{className:"display-4 text-white",children:"Clear"})})})]})}Fl.createRoot(document.getElementById("root")).render(p.jsx(Py.StrictMode,{children:p.jsx(dE,{})}));