PageSourceSearch

https://accessmedia.nz/v11.1_Live/js/bootstrap.min.BnSvp_6c.js

js accessmedia.nz collected 2026-10-03 22:11:30 UTC 60,596 bytes, 5 lines download raw bytes

1import{a as nn,g as on,c as rn}from"./_commonjsHelpers.BosuxZz1.js";import{P as an}from"./index.DQe_go6b.js";function ln(J,Ce){for(var W=0;W<Ce.length;W++){const E=Ce[W];if(typeof E!="string"&&!Array.isArray(E)){for(const A in E)if(A!=="default"&&!(A in J)){const f=Object.getOwnPropertyDescriptor(E,A);f&&Object.defineProperty(J,A,f.get?f:{enumerable:!0,get:()=>E[A]})}}}return Object.freeze(Object.defineProperty(J,Symbol.toStringTag,{value:"Module"}))}var Ut={exports:{}};const cn=nn(an);/*!
2  * Bootstrap v5.3.3 (https://getbootstrap.com/)
3  * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5  */(function(J,Ce){(function(W,E){J.exports=E(cn)})(rn,function(W){function E(s){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>s[t]})}}return e.default=s,Object.freeze(e)}const A=E(W),f=new Map,Te={set(s,e,t){f.has(s)||f.set(s,new Map);const i=f.get(s);i.has(e)||i.size===0?i.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(s,e)=>f.has(s)&&f.get(s).get(e)||null,remove(s,e){if(!f.has(s))return;const t=f.get(s);t.delete(e),t.size===0&&f.delete(s)}},ke="transitionend",Xe=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),s),Ye=s=>{s.dispatchEvent(new Event(ke))},C=s=>!(!s||typeof s!="object")&&(s.jquery!==void 0&&(s=s[0]),s.nodeType!==void 0),O=s=>C(s)?s.jquery?s[0]:s:typeof s=="string"&&s.length>0?document.querySelector(Xe(s)):null,R=s=>{if(!C(s)||s.getClientRects().length===0)return!1;const e=getComputedStyle(s).getPropertyValue("visibility")==="visible",t=s.closest("details:not([open])");if(!t)return e;if(t!==s){const i=s.closest("summary");if(i&&i.parentNode!==t||i===null)return!1}return e},I=s=>!s||s.nodeType!==Node.ELEMENT_NODE||!!s.classList.contains("disabled")||(s.disabled!==void 0?s.disabled:s.hasAttribute("disabled")&&s.getAttribute("disabled")!=="false"),Ue=s=>{if(!document.documentElement.attachShadow)return null;if(typeof s.getRootNode=="function"){const e=s.getRootNode();return e instanceof ShadowRoot?e:null}return s instanceof ShadowRoot?s:s.parentNode?Ue(s.parentNode):null},he=()=>{},ee=s=>{s.offsetHeight},Ge=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$e=[],g=()=>document.documentElement.dir==="rtl",m=s=>{var e;e=()=>
vendor: 8,576 bytes, line 5
5{const t=Ge();if(t){const i=s.NAME,n=t.fn[i];t.fn[i]=s.jQueryInterface,t.fn[i].Constructor=s,t.fn[i].noConflict=()=>(t.fn[i]=n,s.jQueryInterface)}},document.readyState==="loading"?($e.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of $e)t()}),$e.push(e)):e()},u=(s,e=[],t=s)=>typeof s=="function"?s(...e):t,Ze=(s,e,t=!0)=>{if(!t)return void u(s);const i=(a=>{if(!a)return 0;let{transitionDuration:c,transitionDelay:h}=window.getComputedStyle(a);const d=Number.parseFloat(c),_=Number.parseFloat(h);return d||_?(c=c.split(",")[0],h=h.split(",")[0],1e3*(Number.parseFloat(c)+Number.parseFloat(h))):0})(e)+5;let n=!1;const r=({target:a})=>{a===e&&(n=!0,e.removeEventListener(ke,r),u(s))};e.addEventListener(ke,r),setTimeout(()=>{n||Ye(e)},i)},Se=(s,e,t,i)=>{const n=s.length;let r=s.indexOf(e);return r===-1?!t&&i?s[n-1]:s[0]:(r+=t?1:-1,i&&(r=(r+n)%n),s[Math.max(0,Math.min(r,n-1))])},Zt=/[^.]*(?=\..*)\.|.*/,Jt=/\..*/,ei=/::\d+$/,Le={};let Je=1;const et={mouseenter:"mouseover",mouseleave:"mouseout"},ti=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 tt(s,e){return e&&`${e}::${Je++}`||s.uidEvent||Je++}function it(s){const e=tt(s);return s.uidEvent=e,Le[e]=Le[e]||{},Le[e]}function st(s,e,t=null){return Object.values(s).find(i=>i.callable===e&&i.delegationSelector===t)}function nt(s,e,t){const i=typeof e=="string",n=i?t:e||t;let r=rt(s);return ti.has(r)||(r=s),[i,n,r]}function ot(s,e,t,i,n){if(typeof e!="string"||!s)return;let[r,a,c]=nt(e,t,i);e in et&&(a=(B=>function(w){if(!w.relatedTarget||w.relatedTarget!==w.delegateTarget&&!w.delegateTarget.contains(w.relatedTarget))return B.call(this,w)})(a));const h=it(s),d=h[c]||(h[c]={}),_=st(d,a,r?t:null);if(_)return void(_.oneOff=_.oneOff&&n);const y=tt(a,e.replace(Zt,"")),S=r?function(L,B,w){return function ce(Ee){const tn=L.querySelectorAll(B);for(let{target:q}=Ee;q&&q!==this;q=q.parentNode)for(const sn of tn)if(sn===q)return Ie(Ee,{delegateTarget:q}),ce.oneOff&&o.off(L,Ee.type,B,w),w.apply(q,[Ee])}}(s,t,a):function(L,B){return function w(ce){return Ie(ce,{delegateTarget:L}),w.oneOff&&o.off(L,ce.type,B),B.apply(L,[ce])}}(s,a);S.delegationSelector=r?t:null,S.callable=a,S.oneOff=n,S.uidEvent=y,d[y]=S,s.addEventListener(c,S,r)}function Oe(s,e,t,i,n){const r=st(e[t],i,n);r&&(s.removeEventListener(t,r,!!n),delete e[t][r.uidEvent])}function ii(s,e,t,i){const n=e[t]||{};for(const[r,a]of Object.entries(n))r.includes(i)&&Oe(s,e,t,a.callable,a.delegationSelector)}function rt(s){return s=s.replace(Jt,""),et[s]||s}const o={on(s,e,t,i){ot(s,e,t,i,!1)},one(s,e,t,i){ot(s,e,t,i,!0)},off(s,e,t,i){if(typeof e!="string"||!s)return;const[n,r,a]=nt(e,t,i),c=a!==e,h=it(s),d=h[a]||{},_=e.startsWith(".");if(r===void 0){if(_)for(const y of Object.keys(h))ii(s,h,y,e.slice(1));for(const[y,S]of Object.entries(d)){const L=y.replace(ei,"");c&&!e.includes(L)||Oe(s,h,a,S.callable,S.delegationSelector)}}else{if(!Object.keys(d).length)return;Oe(s,h,a,r,n?t:null)}},trigger(s,e,t){if(typeof e!="string"||!s)return null;const i=Ge();let n=null,r=!0,a=!0,c=!1;e!==rt(e)&&i&&(n=i.Event(e,t),i(s).trigger(n),r=!n.isPropagationStopped(),a=!n.isImmediatePropagationStopped(),c=n.isDefaultPrevented());const h=Ie(new Event(e,{bubbles:r,cancelable:!0}),t);return c&&h.preventDefault(),a&&s.dispatchEvent(h),h.defaultPrevented&&n&&n.preventDefault(),h}};function Ie(s,e={}){for(const[t,i]of Object.entries(e))try{s[t]=i}catch{Object.defineProperty(s,t,{configurable:!0,get:()=>i})}return s}function at(s){if(s==="true")return!0;if(s==="false")return!1;if(s===Number(s).toString())return Number(s);if(s===""||s==="null")return null;if(typeof s!="string")return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function De(s){return s.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const T={setDataAttribute(s,e,t){s.setAttribute(`data-bs-${De(e)}`,t)},removeDataAttribute(s,e){s.removeAttribute(`data-bs-${De(e)}`)},getDataAttributes(s){if(!s)return{};const e={},t=Object.keys(s.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of t){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=at(s.dataset[i])}return e},getDataAttribute:(s,e)=>at(s.getAttribute(`data-bs-${De(e)}`))};class te{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=C(t)?T.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...C(t)?T.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const a=e[n],c=C(a)?"element":(i=a)==null?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(c))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${c}" but expected type "${r}".`)}var i}}class b extends te{constructor(e,t){super(),(e=O(e))&&(this._element=e,this._config=this._getConfig(t),Te.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Te.remove(this._element,this.constructor.DATA_KEY),o.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){Ze(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Te.get(O(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ne=s=>{let e=s.getAttribute("data-bs-target");if(!e||e==="#"){let t=s.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return e?e.split(",").map(t=>Xe(t)).join(","):null},l={find:(s,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,s)),findOne:(s,e=document.documentElement)=>Element.prototype.querySelector.call(e,s),children:(s,e)=>[].concat(...s.children).filter(t=>t.matches(e)),parents(s,e){const t=[];let i=s.parentNode.closest(e);for(;i;)t.push(i),i=i.parentNode.closest(e);return t},prev(s,e){let t=s.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(s,e){let t=s.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(s){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,s).filter(t=>!I(t)&&R(t))},getSelectorFromElement(s){const e=Ne(s);return e&&l.findOne(e)?e:null},getElementFromSelector(s){const e=Ne(s);return e?l.findOne(e):null},getMultipleElementsFromSelector(s){const e=Ne(s);return e?l.find(e):[]}},ue=(s,e="hide")=>{const t=`click.dismiss${s.EVENT_KEY}`,i=s.NAME;o.on(document,t,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),I(this))return;const r=l.getElementFromSelector(this)||this.closest(`.${i}`);s.getOrCreateInstance(r)[e]()})},lt=".bs.alert",si=`close${lt}`,ni=`closed${lt}`;class ie extends b{static get NAME(){return"alert"}close(){if(o.trigger(this._element,si).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),o.trigger(this._element,ni),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=ie.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
5amed "${e}"`);t[e](this)}})}}ue(ie,"close"),m(ie);const ct='[data-bs-toggle="button"]';class se extends b{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=se.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}o.on(document,"click.bs.button.data-api",ct,s=>{s.preventDefault();const e=s.target.closest(ct);se.getOrCreateInstance(e).toggle()}),m(se);const K=".bs.swipe",oi=`touchstart${K}`,ri=`touchmove${K}`,ai=`touchend${K}`,li=`pointerdown${K}`,ci=`pointerup${K}`,hi={endCallback:null,leftCallback:null,rightCallback:null},ui={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class de extends te{constructor(e,t){super(),this._element=e,e&&de.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return hi}static get DefaultType(){return ui}static get NAME(){return"swipe"}dispose(){o.off(this._element,K)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),u(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&u(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(o.on(this._element,li,e=>this._start(e)),o.on(this._element,ci,e=>this._end(e)),this._element.classList.add("pointer-event")):(o.on(this._element,oi,e=>this._start(e)),o.on(this._element,ri,e=>this._move(e)),o.on(this._element,ai,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType==="pen"||e.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const D=".bs.carousel",ht=".data-api",ne="next",V="prev",Q="left",_e="right",di=`slide${D}`,Pe=`slid${D}`,_i=`keydown${D}`,fi=`mouseenter${D}`,gi=`mouseleave${D}`,mi=`dragstart${D}`,pi=`load${D}${ht}`,bi=`click${D}${ht}`,ut="carousel",fe="active",dt=".active",_t=".carousel-item",vi=dt+_t,yi={ArrowLeft:_e,ArrowRight:Q},wi={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ai={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class X extends b{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=l.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ut&&this.cycle()}static get Default(){return wi}static get DefaultType(){return Ai}static get NAME(){return"carousel"}next(){this._slide(ne)}nextWhenVisible(){!document.hidden&&R(this._element)&&this.next()}prev(){this._slide(V)}pause(){this._isSliding&&Ye(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?o.one(this._element,Pe,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void o.one(this._element,Pe,()=>this.to(e));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?ne:V;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&o.on(this._element,_i,e=>this._keydown(e)),this._config.pause==="hover"&&(o.on(this._element,fi,()=>this.pause()),o.on(this._element,gi,()=>this._maybeEnableCycle())),this._config.touch&&de.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of l.find(".carousel-item img",this._element))o.on(t,mi,i=>i.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(Q)),rightCallback:()=>this._slide(this._directionToOrder(_e)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new de(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=yi[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=l.findOne(dt,this._indicatorsElement);t.classList.remove(fe),t.removeAttribute("aria-current");const i=l.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(fe),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===ne,r=t||Se(this._getItems(),i,n,this._config.wrap);if(r===i)return;const a=this._getItemIndex(r),c=y=>o.trigger(this._element,y,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:a});if(c(di).defaultPrevented||!i||!r)return;const h=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const d=n?"carousel-item-start":"carousel-item-end",_=n?"carousel-item-next":"carousel-item-prev";r.classList.add(_),ee(r),i.classList.add(d),r.classList.add(d),this._queueCallback(()=>{r.classList.remove(d,_),r.classList.add(fe),i.classList.remove(fe,_,d),this._isSliding=!1,c(Pe)},i,this._isAnimated()),h&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return l.findOne(vi,this._element)}_getItems(){return l.find(_t,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return g()?e===Q?V:ne:e===Q?ne:V}_orderToDirection(e){return g()?e===V?Q:_e:e===V?_e:Q}static jQueryInterface(e){return this.each(function(){const t=X.getOrCreateInstance(this,e);if(typeof e!="number"){if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
5amed "${e}"`);t[e]()}}else t.to(e)})}}o.on(document,bi,"[data-bs-slide], [data-bs-slide-to]",function(s){const e=l.getElementFromSelector(this);if(!e||!e.classList.contains(ut))return;s.preventDefault();const t=X.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");return i?(t.to(i),void t._maybeEnableCycle()):T.getDataAttribute(this,"slide")==="next"?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),o.on(window,pi,()=>{const s=l.find('[data-bs-ride="carousel"]');for(const e of s)X.getOrCreateInstance(e)}),m(X);const oe=".bs.collapse",Ei=`show${oe}`,Ci=`shown${oe}`,Ti=`hide${oe}`,ki=`hidden${oe}`,$i=`click${oe}.data-api`,xe="show",Y="collapse",ge="collapsing",Si=`:scope .${Y} .${Y}`,Me='[data-bs-toggle="collapse"]',Li={parent:null,toggle:!0},Oi={parent:"(null|element)",toggle:"boolean"};class U extends b{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=l.find(Me);for(const n of i){const r=l.getSelectorFromElement(n),a=l.find(r).filter(c=>c===this._element);r!==null&&a.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Li}static get DefaultType(){return Oi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
vendor: 3,998 bytes, line 5
5if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(n=>n!==this._element).map(n=>U.getOrCreateInstance(n,{toggle:!1}))),e.length&&e[0]._isTransitioning||o.trigger(this._element,Ei).defaultPrevented)return;for(const n of e)n.hide();const t=this._getDimension();this._element.classList.remove(Y),this._element.classList.add(ge),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ge),this._element.classList.add(Y,xe),this._element.style[t]="",o.trigger(this._element,Ci)},this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||o.trigger(this._element,Ti).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,ee(this._element),this._element.classList.add(ge),this._element.classList.remove(Y,xe);for(const t of this._triggerArray){const i=l.getElementFromSelector(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ge),this._element.classList.add(Y),o.trigger(this._element,ki)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(xe)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=O(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Me);for(const t of e){const i=l.getElementFromSelector(t);i&&this._addAriaAndCollapsedClass([t],this._isShown(i))}}_getFirstLevelChildren(e){const t=l.find(Si,this._config.parent);return l.find(e,this._config.parent).filter(i=>!t.includes(i))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const i=U.getOrCreateInstance(this,t);if(typeof e=="string"){if(i[e]===void 0)throw new TypeError(`No method named "${e}"`);i[e]()}})}}o.on(document,$i,Me,function(s){(s.target.tagName==="A"||s.delegateTarget&&s.delegateTarget.tagName==="A")&&s.preventDefault();for(const e of l.getMultipleElementsFromSelector(this))U.getOrCreateInstance(e,{toggle:!1}).toggle()}),m(U);const ft="dropdown",P=".bs.dropdown",je=".data-api",Ii="ArrowUp",gt="ArrowDown",Di=`hide${P}`,Ni=`hidden${P}`,Pi=`show${P}`,xi=`shown${P}`,mt=`click${P}${je}`,pt=`keydown${P}${je}`,Mi=`keyup${P}${je}`,G="show",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ji=`${x}.${G}`,me=".dropdown-menu",Fi=g()?"top-end":"top-start",zi=g()?"top-start":"top-end",Hi=g()?"bottom-end":"bottom-start",Bi=g()?"bottom-start":"bottom-end",qi=g()?"left-start":"right-start",Wi=g()?"right-start":"left-start",Ri={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ki={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class v extends b{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=l.next(this._element,me)[0]||l.prev(this._element,me)[0]||l.findOne(me,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ri}static get DefaultType(){return Ki}static get NAME(){return ft}toggle(){return this._isShown()?this.hide():this.show()}show(){if(I(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!o.trigger(this._element,Pi,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
5navbar-nav"))for(const t of[].concat(...document.body.children))o.on(t,"mouseover",he);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(G),this._element.classList.add(G),o.trigger(this._element,xi,e)}}hide(){if(I(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!o.trigger(this._element,Di,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))o.off(t,"mouseover",he);this._popper&&this._popper.destroy(),this._menu.classList.remove(G),this._element.classList.remove(G),this._element.setAttribute("aria-expanded","false"),T.removeDataAttribute(this._menu,"popper"),o.trigger(this._element,Ni,e)}}_getConfig(e){if(typeof(e=super._getConfig(e)).reference=="object"&&!C(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${ft.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(A===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:C(this._config.reference)?e=O(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=A.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(G)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return qi;if(e.classList.contains("dropstart"))return Wi;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains("dropup")?t?zi:Fi:t?Bi:Hi}
vendor: 5,932 bytes, line 5
5_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(T.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...u(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const i=l.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(n=>R(n));i.length&&Se(i,t,e===gt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=v.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===2||e.type==="keyup"&&e.key!=="Tab")return;const t=l.find(ji);for(const i of t){const n=v.getInstance(i);if(!n||n._config.autoClose===!1)continue;const r=e.composedPath(),a=r.includes(n._menu);if(r.includes(n._element)||n._config.autoClose==="inside"&&!a||n._config.autoClose==="outside"&&a||n._menu.contains(e.target)&&(e.type==="keyup"&&e.key==="Tab"||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const c={relatedTarget:n._element};e.type==="click"&&(c.clickEvent=e),n._completeHide(c)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i=e.key==="Escape",n=[Ii,gt].includes(e.key);if(!n&&!i||t&&!i)return;e.preventDefault();const r=this.matches(x)?this:l.prev(this,x)[0]||l.next(this,x)[0]||l.findOne(x,e.delegateTarget.parentNode),a=v.getOrCreateInstance(r);if(n)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),r.focus())}}o.on(document,pt,x,v.dataApiKeydownHandler),o.on(document,pt,me,v.dataApiKeydownHandler),o.on(document,mt,v.clearMenus),o.on(document,Mi,v.clearMenus),o.on(document,mt,x,function(s){s.preventDefault(),v.getOrCreateInstance(this).toggle()}),m(v);const bt="backdrop",vt="show",yt=`mousedown.bs.${bt}`,Vi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wt extends te{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Vi}static get DefaultType(){return Qi}static get NAME(){return bt}show(e){if(!this._config.isVisible)return void u(e);this._append();const t=this._getElement();this._config.isAnimated&&ee(t),t.classList.add(vt),this._emulateAnimation(()=>{u(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(vt),this._emulateAnimation(()=>{this.dispose(),u(e)})):u(e)}dispose(){this._isAppended&&(o.off(this._element,yt),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=O(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),o.on(e,yt,()=>{u(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ze(e,this._getElement(),this._config.isAnimated)}}const pe=".bs.focustrap",Xi=`focusin${pe}`,Yi=`keydown.tab${pe}`,At="backward",Ui={autofocus:!0,trapElement:null},Gi={autofocus:"boolean",trapElement:"element"};class Et extends te{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ui}static get DefaultType(){return Gi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),o.off(document,pe),o.on(document,Xi,e=>this._handleFocusin(e)),o.on(document,Yi,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,o.off(document,pe))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=l.focusableChildren(t);i.length===0?t.focus():this._lastTabNavDirection===At?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key==="Tab"&&(this._lastTabNavDirection=e.shiftKey?At:"forward")}}const Ct=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Tt=".sticky-top",be="padding-right",kt="margin-right";class Fe{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,be,t=>t+e),this._setElementAttributes(Ct,be,t=>t+e),this._setElementAttributes(Tt,kt,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,be),this._resetElementAttributes(Ct,be),this._resetElementAttributes(Tt,kt)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+n)return;this._saveInitialAttribute(r,t);const a=window.getComputedStyle(r).getPropertyValue(t);r.style.setProperty(t,`${i(Number.parseFloat(a))}px`)})}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&T.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,i=>{const n=T.getDataAttribute(i,t);n!==null?(T.removeDataAttribute(i,t),i.style.setProperty(t,n)):i.style.removeProperty(t)})}
vendor: 4,217 bytes, line 5
5_applyManipulationCallback(e,t){if(C(e))t(e);else for(const i of l.find(e,this._element))t(i)}}const p=".bs.modal",Zi=`hide${p}`,Ji=`hidePrevented${p}`,$t=`hidden${p}`,St=`show${p}`,es=`shown${p}`,ts=`resize${p}`,is=`click.dismiss${p}`,ss=`mousedown.dismiss${p}`,ns=`keydown.dismiss${p}`,os=`click${p}.data-api`,Lt="modal-open",Ot="show",ze="modal-static",rs={backdrop:!0,focus:!0,keyboard:!0},as={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class M extends b{constructor(e,t){super(e,t),this._dialog=l.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fe,this._addEventListeners()}static get Default(){return rs}static get DefaultType(){return as}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||o.trigger(this._element,St,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Lt),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(o.trigger(this._element,Zi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ot),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){o.off(window,p),o.off(this._dialog,p),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wt({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Et({trapElement:this._element})}_showElement(e){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 t=l.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),ee(this._element),this._element.classList.add(Ot),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,o.trigger(this._element,es,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){o.on(this._element,ns,e=>{e.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),o.on(window,ts,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),o.on(this._element,ss,e=>{o.one(this._element,is,t=>{this._element===e.target&&this._element===t.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Lt),this._resetAdjustments(),this._scrollBar.reset(),o.trigger(this._element,$t)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(o.trigger(this._element,Ji).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t==="hidden"||this._element.classList.contains(ze)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ze),this._queueCallback(()=>{this._element.classList.remove(ze),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const n=g()?"paddingLeft":"paddingRight";this._element.style[n]=`${t}px`}if(!i&&e){const n=g()?"paddingRight":"paddingLeft";this._element.style[n]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=M.getOrCreateInstance(this,e);if(typeof e=="string"){if(i[e]===void 0)throw new TypeError(`No method n
5amed "${e}"`);i[e](t)}})}}o.on(document,os,'[data-bs-toggle="modal"]',function(s){const e=l.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),o.one(e,St,i=>{i.defaultPrevented||o.one(e,$t,()=>{R(this)&&this.focus()})});const t=l.findOne(".modal.show");t&&M.getInstance(t).hide(),M.getOrCreateInstance(e).toggle(this)}),ue(M),m(M);const k=".bs.offcanvas",It=".data-api",ls=`load${k}${It}`,Dt="show",Nt="showing",Pt="hiding",xt=".offcanvas.show",cs=`show${k}`,hs=`shown${k}`,us=`hide${k}`,Mt=`hidePrevented${k}`,jt=`hidden${k}`,ds=`resize${k}`,_s=`click${k}${It}`,fs=`keydown.dismiss${k}`,gs={backdrop:!0,keyboard:!0,scroll:!1},ms={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $ extends b{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return gs}static get DefaultType(){return ms}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||o.trigger(this._element,cs,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fe().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Nt),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Dt),this._element.classList.remove(Nt),o.trigger(this._element,hs,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(o.trigger(this._element,us).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Pt),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Dt,Pt),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fe().reset(),o.trigger(this._element,jt)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new wt({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{this._config.backdrop!=="static"?this.hide():o.trigger(this._element,Mt)}:null})}_initializeFocusTrap(){return new Et({trapElement:this._element})}_addEventListeners(){o.on(this._element,fs,e=>{e.key==="Escape"&&(this._config.keyboard?this.hide():o.trigger(this._element,Mt))})}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}o.on(document,_s,'[data-bs-toggle="offcanvas"]',function(s){const e=l.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),I(this))return;o.one(e,jt,()=>{R(this)&&this.focus()});const t=l.findOne(xt);t&&t!==e&&$.getInstance(t).hide(),$.getOrCreateInstance(e).toggle(this)}),o.on(window,ls,()=>{for(const s of l.find(xt))$.getOrCreateInstance(s).show()}),o.on(window,ds,()=>{for(const s of l.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(s).position!=="fixed"&&$.getOrCreateInstance(s).hide()}),ue($),m($);const Ft={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ps=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bs=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,vs=(s,e)=>{const t=s.nodeName.toLowerCase();return e.includes(t)?!ps.has(t)||!!bs.test(s.nodeValue):e.filter(i=>i instanceof RegExp).some(i=>i.test(t))},ys={allowList:Ft,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ws={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},As={entry:"(string|element|function|null)",selector:"(string|element)"};class Es extends te{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ys}static get DefaultType(){return ws}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
vendor: 4,604 bytes, line 5
5this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[n,r]of Object.entries(this._config.content))this._setContent(e,r,n);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},As)}_setContent(e,t,i){const n=l.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?C(t)?this._putElementInTemplate(O(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,i,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const r=new window.DOMParser().parseFromString(t,"text/html"),a=[].concat(...r.body.querySelectorAll("*"));for(const c of a){const h=c.nodeName.toLowerCase();if(!Object.keys(i).includes(h)){c.remove();continue}const d=[].concat(...c.attributes),_=[].concat(i["*"]||[],i[h]||[]);for(const y of d)vs(y,_)||c.removeAttribute(y.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return u(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Cs=new Set(["sanitize","allowList","sanitizeFn"]),He="fade",ve="show",zt=".modal",Ht="hide.bs.modal",re="hover",Be="focus",Ts={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},ks={allowList:Ft,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},$s={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 j extends b{constructor(e,t){if(A===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ks}static get DefaultType(){return $s}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),o.off(this._element.closest(zt),Ht,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 e=o.trigger(this._element,this.constructor.eventName("show")),t=(Ue(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),o.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(ve),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))o.on(r,"mouseover",he);this._queueCallback(()=>{o.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}
vendor: 5,386 bytes, line 5
5hide(){if(this._isShown()&&!o.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ve),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))o.off(e,"mouseover",he);this._activeTrigger.click=!1,this._activeTrigger[Be]=!1,this._activeTrigger[re]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),o.trigger(this._element,this.constructor.eventName("hidden")))},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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(He,ve),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(n=>{do n+=Math.floor(1e6*Math.random());while(document.getElementById(n));return n})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(He),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Es({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(He)}_isShown(){return this.tip&&this.tip.classList.contains(ve)}_createPopper(e){const t=u(this._config.placement,[this,e,this._element]),i=Ts[t.toUpperCase()];return A.createPopper(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return u(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...t,...u(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")o.on(this._element,this.constructor.eventName("click"),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if(t!=="manual"){const i=t===re?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===re?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");o.on(this._element,i,this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger[r.type==="focusin"?Be:re]=!0,a._enter()}),o.on(this._element,n,this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger[r.type==="focusout"?Be:re]=a._element.contains(r.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},o.on(this._element.closest(zt),Ht,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=T.getDataAttributes(this._element);for(const i of Object.keys(t))Cs.has(i)&&delete t[i];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:O(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,i]of Object.entries(this._config))this.constructor.Default[t]!==i&&(e[t]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=j.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method n
5amed "${e}"`);t[e]()}})}}m(j);const Ss={...j.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ls={...j.DefaultType,content:"(null|string|element|function)"};class ye extends j{static get Default(){return Ss}static get DefaultType(){return Ls}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=ye.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e]()}})}}m(ye);const qe=".bs.scrollspy",Os=`activate${qe}`,Bt=`click${qe}`,Is=`load${qe}.data-api`,Z="active",We="[href]",qt=".nav-link",Ds=`${qt}, .nav-item > ${qt}, .list-group-item`,Ns={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ps={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ae extends b{constructor(e,t){super(e,t),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 Ns}static get DefaultType(){return Ps}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=O(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(o.off(this._config.target,Bt),o.on(this._config.target,Bt,We,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=a=>this._targetLinks.get(`#${a.target.id}`),i=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(t(a))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const c=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&c){if(i(a),!n)return}else r||c||i(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=l.find(We,this._config.target);for(const t of e){if(!t.hash||I(t))continue;const i=l.findOne(decodeURI(t.hash),this._element);R(i)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,i))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Z),this._activateParents(e),o.trigger(this._element,Os,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))l.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Z);else for(const t of l.parents(e,".nav, .list-group"))for(const i of l.prev(t,Ds))i.classList.add(Z)}_clearActiveClass(e){e.classList.remove(Z);const t=l.find(`${We}.${Z}`,e);for(const i of t)i.classList.remove(Z)}static jQueryInterface(e){return this.each(function(){const t=ae.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method n
5amed "${e}"`);t[e]()}})}}o.on(window,Is,()=>{for(const s of l.find('[data-bs-spy="scroll"]'))ae.getOrCreateInstance(s)}),m(ae);const F=".bs.tab",xs=`hide${F}`,Ms=`hidden${F}`,js=`show${F}`,Fs=`shown${F}`,zs=`click${F}`,Hs=`keydown${F}`,Bs=`load${F}`,qs="ArrowLeft",Wt="ArrowRight",Ws="ArrowUp",Rt="ArrowDown",Re="Home",Kt="End",z="active",Vt="fade",Ke="show",Qt=".dropdown-toggle",Ve=`:not(${Qt})`,Xt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Qe=`.nav-link${Ve}, .list-group-item${Ve}, [role="tab"]${Ve}, ${Xt}`,Rs=`.${z}[data-bs-toggle="tab"], .${z}[data-bs-toggle="pill"], .${z}[data-bs-toggle="list"]`;class H extends b{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),o.on(this._element,Hs,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?o.trigger(t,xs,{relatedTarget:e}):null;o.trigger(e,js,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(z),this._activate(l.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute("role")==="tab"?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),o.trigger(e,Fs,{relatedTarget:t})):e.classList.add(Ke)},e,e.classList.contains(Vt)))}_deactivate(e,t){e&&(e.classList.remove(z),e.blur(),this._deactivate(l.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute("role")==="tab"?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),o.trigger(e,Ms,{relatedTarget:t})):e.classList.remove(Ke)},e,e.classList.contains(Vt)))}_keydown(e){if(![qs,Wt,Ws,Rt,Re,Kt].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(n=>!I(n));let i;if([Re,Kt].includes(e.key))i=t[e.key===Re?0:t.length-1];else{const n=[Wt,Rt].includes(e.key);i=Se(t,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),H.getOrCreateInstance(i).show())}_getChildren(){return l.find(Qe,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=l.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(r,a)=>{const c=l.findOne(r,i);c&&c.classList.toggle(a,t)};n(Qt,z),n(".dropdown-menu",Ke),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(z)}_getInnerElement(e){return e.matches(Qe)?e:l.findOne(Qe,e)}
vendor: 3,018 bytes, line 5
5_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=H.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}o.on(document,zs,Xt,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),I(this)||H.getOrCreateInstance(this).show()}),o.on(window,Bs,()=>{for(const s of l.find(Rs))H.getOrCreateInstance(s)}),m(H);const N=".bs.toast",Ks=`mouseover${N}`,Vs=`mouseout${N}`,Qs=`focusin${N}`,Xs=`focusout${N}`,Ys=`hide${N}`,Us=`hidden${N}`,Gs=`show${N}`,Zs=`shown${N}`,Yt="hide",we="show",Ae="showing",Js={animation:"boolean",autohide:"boolean",delay:"number"},en={animation:!0,autohide:!0,delay:5e3};class le extends b{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return en}static get DefaultType(){return Js}static get NAME(){return"toast"}show(){o.trigger(this._element,Gs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Yt),ee(this._element),this._element.classList.add(we,Ae),this._queueCallback(()=>{this._element.classList.remove(Ae),o.trigger(this._element,Zs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(o.trigger(this._element,Ys).defaultPrevented||(this._element.classList.add(Ae),this._queueCallback(()=>{this._element.classList.add(Yt),this._element.classList.remove(Ae,we),o.trigger(this._element,Us)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(we),super.dispose()}isShown(){return this._element.classList.contains(we)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){o.on(this._element,Ks,e=>this._onInteraction(e,!0)),o.on(this._element,Vs,e=>this._onInteraction(e,!1)),o.on(this._element,Qs,e=>this._onInteraction(e,!0)),o.on(this._element,Xs,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=le.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return ue(le),m(le),{Alert:ie,Button:se,Carousel:X,Collapse:U,Dropdown:v,Modal:M,Offcanvas:$,Popover:ye,ScrollSpy:ae,Tab:H,Toast:le,Tooltip:j}})})(Ut);var Gt=Ut.exports;const hn=on(Gt),_n=ln({__proto__:null,default:hn},[Gt]);export{_n as b};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.