10 lines
124 KiB
JavaScript
10 lines
124 KiB
JavaScript
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();var M="top",H="bottom",j="right",P="left",ln="auto",ee=[M,H,j,P],It="start",zt="end",cs="clippingParents",vi="viewport",Bt="popper",ls="reference",Gn=ee.reduce(function(e,t){return e.concat([t+"-"+It,t+"-"+zt])},[]),bi=[].concat(ee,[ln]).reduce(function(e,t){return e.concat([t,t+"-"+It,t+"-"+zt])},[]),us="beforeRead",fs="read",ds="afterRead",hs="beforeMain",ps="main",_s="afterMain",gs="beforeWrite",ms="write",Es="afterWrite",vs=[us,fs,ds,hs,ps,_s,gs,ms,Es];function et(e){return e?(e.nodeName||"").toLowerCase():null}function F(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mt(e){var t=F(e).Element;return e instanceof t||e instanceof Element}function W(e){var t=F(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yi(e){if(typeof ShadowRoot>"u")return!1;var t=F(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ca(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},r=t.attributes[n]||{},s=t.elements[n];!W(s)||!et(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function xa(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],s=t.attributes[i]||{},o=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=o.reduce(function(c,u){return c[u]="",c},{});!W(r)||!et(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(c){r.removeAttribute(c)}))})}}const Ai={name:"applyStyles",enabled:!0,phase:"write",fn:Ca,effect:xa,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var xt=Math.max,tn=Math.min,Ut=Math.round;function Xn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function bs(){return!/^((?!chrome|android).)*safari/i.test(Xn())}function qt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&W(e)&&(r=e.offsetWidth>0&&Ut(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ut(i.height)/e.offsetHeight||1);var o=Mt(e)?F(e):window,a=o.visualViewport,c=!bs()&&n,u=(i.left+(c&&a?a.offsetLeft:0))/r,l=(i.top+(c&&a?a.offsetTop:0))/s,h=i.width/r,p=i.height/s;return{width:h,height:p,top:l,right:u+h,bottom:l+p,left:u,x:u,y:l}}function wi(e){var t=qt(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function ys(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yi(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function rt(e){return F(e).getComputedStyle(e)}function Na(e){return["table","td","th"].indexOf(et(e))>=0}function _t(e){return((Mt(e)?e.ownerDocument:e.document)||window.document).documentElement}function un(e){return et(e)==="html"?e:e.assignedSlot||e.parentNode||(yi(e)?e.host:null)||_t(e)}function dr(e){return!W(e)||rt(e).position==="fixed"?null:e.offsetParent}function $a(
|
||
|
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
||
|
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
|
*/const ct=new Map,Nn={set(e,t,n){ct.has(e)||ct.set(e,new Map);const i=ct.get(e);if(!i.has(t)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(t,n)},get(e,t){return ct.has(e)&&ct.get(e).get(t)||null},remove(e,t){if(!ct.has(e))return;const n=ct.get(e);n.delete(t),n.size===0&&ct.delete(e)}},hc=1e6,pc=1e3,Jn="transitionend",Is=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),_c=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),gc=e=>{do e+=Math.floor(Math.random()*hc);while(document.getElementById(e));return e},mc=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return!i&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*pc)},Ms=e=>{e.dispatchEvent(new Event(Jn))},nt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ut=e=>nt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Is(e)):null,ne=e=>{if(!nt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const i=e.closest("summary");if(i&&i.parentNode!==n||i===null)return!1}return t},ft=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Ps=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ps(e.parentNode):null},en=()=>{},Oe=e=>{e.offsetHeight},Rs=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$n=[],Ec=e=>{document.readyState==="loading"?($n.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of $n)t()}),$n.push(e)):e()},K=()=>document.documentElement.dir==="rtl",z=e=>{Ec(()=>{const t=Rs();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},k=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,ks=(e,t,n=!0)=>{if(!n){k(e);return}const r=mc(t)+5;let s=!1;const o=({target:a})=>{a===t&&(s=!0,t.removeEventListener(Jn,o),k(e))};t.addEventListener(Jn,o),setTimeout(()=>{s||Ms(t)},r)},Li=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return s===-1?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},vc=/[^.]*(?=\..*)\.|.*/,bc=/\..*/,yc=/::\d+$/,Dn={};let br=1;const Vs={mouseenter:"mouseover",mouseleave:"mouseout"},Ac=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 Hs(e,t){return t&&`${t}::${br++}`||e.uidEvent||br++}function js(e){const t=Hs(e);return e.uidEvent=t,Dn[t]=Dn[t]||{},Dn[t]}function wc(e,t){return function n(i){return Ii(i,{delegateTarget:e}),n.oneOff&&f.off(e,i.type,t),t.apply(e,[i])}}function Tc(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return Ii(r,{delegateTarget:o}),i.oneOff&&f.off(e,r.type,t,n),n.apply(o,[r])}}function Fs(e,t,n=null){return Object.values(e).find(i=>i.callable===t&&i.delegationSelector===n)}function Bs(e,t,n){const i=typeof t=="string",r=i?n:t||n;let s=Ws(e);return Ac.has(s)||(s=e),[i,r,s]}function yr(e,t,n,i,r){if(typeof t!="string"||!e)return;let[s,
|
||
|
|
||
|
${n?'Expression: "'+n+`"
|
||
|
|
||
|
`:""}`,t),setTimeout(()=>{throw e},0)}var Je=!0;function Ao(e){let t=Je;Je=!1;let n=e();return Je=t,n}function $t(e,t,n={}){let i;return R(e,t)(r=>i=r,n),i}function R(...e){return wo(...e)}var wo=To;function zd(e){wo=e}function To(e,t){let n={};ai(n,e);let i=[n,...Zt(e)],r=typeof t=="function"?Ud(i,t):Gd(i,t,e);return Yd.bind(null,e,t,r)}function Ud(e,t){return(n=()=>{},{scope:i={},params:r=[]}={})=>{let s=t.apply($e([i,...e]),r);on(n,s)}}var Kn={};function qd(e,t){if(Kn[e])return Kn[e];let n=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,s=(()=>{try{let o=new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(o,"name",{value:`[Alpine] ${e}`}),o}catch(o){return we(o,t,e),Promise.resolve()}})();return Kn[e]=s,s}function Gd(e,t,n){let i=qd(t,n);return(r=()=>{},{scope:s={},params:o=[]}={})=>{i.result=void 0,i.finished=!1;let a=$e([s,...e]);if(typeof i=="function"){let c=i(i,a).catch(u=>we(u,n,t));i.finished?(on(r,i.result,a,o,n),i.result=void 0):c.then(u=>{on(r,u,a,o,n)}).catch(u=>we(u,n,t)).finally(()=>i.result=void 0)}}}function on(e,t,n,i,r){if(Je&&typeof t=="function"){let s=t.apply(n,i);s instanceof Promise?s.then(o=>on(e,o,n,i)).catch(o=>we(o,r,t)):e(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>e(s)):e(t)}var Bi="x-";function ae(e=""){return Bi+e}function Xd(e){Bi=e}var an={};function $(e,t){return an[e]=t,{before(n){if(!an[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}const i=Ct.indexOf(n);Ct.splice(i>=0?i:Ct.indexOf("DEFAULT"),0,e)}}}function Qd(e){return Object.keys(an).includes(e)}function Wi(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let s=Object.entries(e._x_virtualDirectives).map(([a,c])=>({name:a,value:c})),o=Oo(s);s=s.map(a=>o.find(c=>c.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(s)}let i={};return t.map($o((s,o)=>i[s]=o)).filter(Lo).map(th(i,n)).sort(eh).map(s=>Zd(e,s))}function Oo(e){return Array.from(e).map($o()).filter(t=>!Lo(t))}var ci=!1,me=new Map,So=Symbol();function Jd(e){ci=!0;let t=Symbol();So=t,me.set(t,[]);let n=()=>{for(;me.get(t).length;)me.get(t).shift()();me.delete(t)},i=()=>{ci=!1,n()};e(n),i()}function Co(e){let t=[],n=a=>t.push(a),[i,r]=Pd(e);return t.push(r),[{Alpine:De,effect:i,cleanup:n,evaluateLater:R.bind(R,e),evaluate:$t.bind($t,e)},()=>t.forEach(a=>a())]}function Zd(e,t){let n=()=>{},i=an[t.type]||n,[r,s]=Co(e);_o(e,t.original,s);let o=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,r),i=i.bind(i,e,t,r),ci?me.get(So).push(i):i())};return o.runCleanups=s,o}var xo=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i}),No=e=>e;function $o(e=()=>{}){return({name:t,value:n})=>{let{name:i,value:r}=Do.reduce((s,o)=>o(s),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var Do=[];function Ki(e){Do.push(e)}function Lo({name:e}){return Io().test(e)}var Io=()=>new RegExp(`^${Bi}([^:^.]+)\\b`);function th(e,t){return({name:n,value:i})=>{let r=n.match(Io()),s=n.match(/:([a-zA-Z0-9\-_:]+)/),o=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[n]||n;return{type:r?r[1]:null,value:s?s[1]:null,modifiers:o.map(c=>c.replace(".","")),expression:i,original:a}}}var li="DEFAULT",Ct=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",li,"teleport"];function eh(e,t){let n=Ct.indexOf(e.type)===-1?li:e.type,i=Ct.indexOf(t.type)===-1?li:t.type;return Ct.indexOf(n)-Ct.indexOf(i)}function be(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function Pt(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(r=>Pt(r,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let i=e.firstElementChild;for(;i;)Pt(i,t),i=i.nextElementSibling}function B(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Gr=!1;function nh(){Gr&&B("Alpine has already b
|