PageSourceSearch

https://solid-command-palette.vercel.app/assets/vendor.734fbe5a.js

js solid-command-palette.vercel.app collected 2026-10-03 07:45:58 UTC 50,558 bytes, 1 lines download raw bytes

vendor: 15,624 bytes, line 1
1const O={};function U(e){O.context=e}const Jt=(e,t)=>e===t,z=Symbol("solid-proxy"),me={equals:Jt};let nt=ft;const q={},$=1,Z=2,st={owned:null,cleanups:null,context:null,owner:null},[Zt,rt]=k(!1);var A=null;let g=null,_=null,oe=null,I=null,R=null,$e=0;function X(e,t){t&&(A=t);const n=_,s=A,r=e.length===0?st:{owned:null,cleanups:null,context:null,owner:s};A=r,_=null;try{return ne(()=>e(()=>le(r)),!0)}finally{_=n,A=s}}function k(e,t){t=t?Object.assign({},me,t):me;const n={value:e,observers:null,observerSlots:null,pending:q,comparator:t.equals||void 0},s=r=>(typeof r=="function"&&(g&&g.running&&g.sources.has(n)?r=r(n.pending!==q?n.pending:n.tValue):r=r(n.pending!==q?n.pending:n.value)),Te(n,r));return[at.bind(n),s]}function ye(e,t,n){const s=be(e,t,!0,$);te(s)}function G(e,t,n){const s=be(e,t,!1,$);te(s)}function en(e,t,n){nt=an;const s=be(e,t,!1,$),r=Q&&Ee(A,Q.id);r&&(s.suspense=r),s.user=!0,R?R.push(s):queueMicrotask(()=>te(s))}function P(e,t,n){n=n?Object.assign({},me,n):me;const s=be(e,t,!0,0);return s.pending=q,s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,te(s),at.bind(s)}function tn(e,t,n){arguments.length===2?typeof t=="object"&&(n=t,t=e,e=!0):arguments.length===1&&(t=e,e=!0),n||(n={}),n.globalRefetch!==!1&&(we||(we=new Set),we.add(C),A&&ee(()=>we.delete(C)));const s=new Set,[r,i]=k(n.initialValue),[c,o]=k(void 0,{equals:!1}),[l,u]=k(!1),[a,f]=k();let d,h=null,m=null,b=!1,M=typeof e=="function";O.context&&""+O.context.id+O.context.count++;function p(y,w,L,v){return h===y&&(h=null,m&&y===m&&n.onHydrated&&n.onHydrated(v,{value:w}),m=null,f(d=L),g&&y&&b?(g.promises.delete(y),b=!1,ne(()=>{g.running=!0,g.promises.size||(R.push.apply(R,g.effects),g.effects=[]),S(w)},!1)):S(w)),w}function S(y){Y(()=>{i(()=>y),u(!1);for(const w of s.keys())w.decrement();s.clear()})}function E(){const y=Q&&Ee(A,Q.id),w=r();if(d)throw d;return _&&!_.user&&y&&ye(()=>{c(),h&&(y.resolved&&g?g.promises.add(h):s.has(y)||(y.increment(),s.add(y)))}),w}function C(y=!0){f(d=void 0);const w=M?e():e;if(b=g&&g.running,w==null||w===!1){p(h,N(r));return}g&&h&&g.promises.delete(h);const L=m||N(()=>t(w,{value:r(),refetching:y}));return typeof L!="object"||!("then"in L)?(p(h,L),L):(h=L,Y(()=>{u(!0),o()}),L.then(v=>p(L,v,void 0,w),v=>p(L,v,v)))}return Object.defineProperties(E,{loading:{get(){return l()}},error:{get(){return a()}}}),M?ye(()=>C(!1)):C(!1),[E,{refetch:C,mutate:i}]}let we;function Y(e){if(oe)return e();let t;const n=oe=[];try{t=e()}finally{oe=null}return ne(()=>{for(let s=0;s<n.length;s+=1){const r=n[s];if(r.pending!==q){const i=r.pending;r.pending=q,Te(r,i)}}},!1),t}function N(e){let t,n=_;return _=null,t=e(),_=n,t}function it(e,t,n){const s=Array.isArray(e);let r,i=n&&n.defer;return c=>{let o;if(s){o=[];for(let u=0;u<e.length;u++)o.push(e[u]())}else o=e();if(i){i=!1;return}const l=N(()=>t(o,r,c));return r=o,l}}function Ys(e){en(()=>N(e))}function ee(e){return A===null||(A.cleanups===null?A.cleanups=[e]:A.cleanups.push(e)),e}function ot(){return _}function ct(){return A}function nn(e,t){const n=A;A=e;try{return ne(t,!0)}finally{A=n}}function sn(e){if(g&&g.running)return e(),g.done;const t=_,n=A;return Promise.resolve().then(()=>{_=t,A=n;let s;return Q&&(s=g||(g={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),s.done||(s.done=new Promise(r=>s.resolve=r)),s.running=!0),Y(e),s?s.done:void 0})}function rn(){return[Zt,sn]}function on(e){R.push.apply(R,e),e.length=0}function xe(e){const t=Symbol("context");return{id:t,Provider:un(t),defaultValue:e}}function Se(e){return Ee(A,e.id)||e.defaultValue}function lt(e){const t=P(e);return P(()=>Fe(t()))}let Q;function cn(){return Q||(Q=xe({}))}function at(){const e=g&&g.running;if(this.sources&&(!e&&this.state||e&&this.tState)){const t=I;I=null,!e&&this.state===$||e&&this.tState===$?te(this):je(this),I=t}if(_){const t=this.observers?this.observers.length:0;_.sources?(_.sources.push(this),_.sourceSlots.push(t)):(_.sources=[this],_.sourceSlots=[t]),this.observers?(this.observers.push(_),this.observerSlots.push(_.sources.length-1)):(this.observers=[_],this.observerSlots=[_.sources.length-1])}return e&&g.sources.has(this)?this.tValue:this.value}function Te(e,t,n){if(e.comparator){if(g&&g.running&&g.sources.has(e)){if(e.comparator(e.tValue,t))return t}else if(e.comparator(e.value,t))return t}if(oe)return e.pending===q&&oe.push(e),e.pending=t,t;let s=!1;return g?(s=g.running,(s||!n&&g.sources.has(e))&&(g.sources.add(e),e.tValue=t),s||(e.value=t)):e.value=t,e.observers&&e.observers.length&&ne(()=>{for(let r=0;r<e.observers.length;r+=1){const i=e.observers[r];s&&g.disposed.has(i)||(i.pure?I.push(i):R.push(i),i.observers&&(s&&!i.tState||!s&&!i.state)&&ht(i),s?i.tState=$:i.state=$)}if(I.length>1e6)throw I=[],new Error},!1),t}function te(e){if(!e.fn)return;le(e);const t=A,n=_,s=$e;_=A=e,ut(e,g&&g.running&&g.sources.has(e)?e.tValue:e.value,s),g&&!g.running&&g.sources.has(e)&&queueMicrotask(()=>{ne(()=>{g&&(g.running=!0),ut(e,e.tValue,s)},!1)}),_=n,A=t}function ut(e,t,n){let s;try{s=e.fn(t)}catch(r){gt(r)}(!e.updatedAt||e.updatedAt<=n)&&(e.observers&&e.observers.length?Te(e,s,!0):g&&g.running&&e.pure?(g.sources.add(e),e.tValue=s):e.value=s,e.updatedAt=n)}function be(e,t,n,s=$,r){const i={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:A,context:null,pure:n};return g&&g.running&&(i.state=0,i.tState=s),A===null||A!==st&&(g&&g.running&&A.pure?A.tOwned?A.tOwned.push(i):A.tOwned=[i]:A.owned?A.owned.push(i):A.owned=[i]),i}function ce(e){const t=g&&g.running;if(!t&&e.state!==$)return e.state=0;if(t&&e.tState!==$)return e.tState=0;if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<$e);){if(t&&g.disposed.has(e))return;(!t&&e.state||t&&e.tState)&&n.push(e)}for(let s=n.length-1;s>=0;s--){if(e=n[s],t){let r=e,i=n[s+1];for(;(r=r.owner)&&r!==i;)if(g.disposed.has(r))return}if(!t&&e.state===$||t&&e.tState===$)te(e);else if(!t&&e.state===Z||t&&e.tState===Z){const r=I;I=null,je(e,n[0]),I=r}}}function ne(e,t){if(I)return e();let n=!1;t||(I=[]),R?n=!0:R=[],$e++;try{return e()}catch(s){gt(s)}finally{ln(n)}}function ln(e){if(I&&(ft(I),I=null),e)return;let t;if(g&&g.running){if(g.promises.size||g.queue.size){g.running=!1,g.effects.push.apply(g.effects,R),R=null,rt(!0);return}const n=g.sources;t=g.resolve,R.forEach(s=>{"tState"in s&&(s.state=s.tState),delete s.tState}),g=null,Y(()=>{n.forEach(s=>{if(s.value=s.tValue,s.owned)for(let r=0,i=s.owned.length;r<i;r++)le(s.owned[r]);s.tOwned&&(s.owned=s.tOwned),delete s.tValue,delete s.tOwned,s.tState=0}),rt(!1)})}R.length?Y(()=>{nt(R),R=null}):R=null,t&&t()}function ft(e){for(let t=0;t<e.length;t++)ce(e[t])}function an(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:ce(r)}const s=e.length;for(t=0;t<n;t++)ce(e[t]);for(t=s;t<e.length;t++)ce(e[t])}function je(e,t){e.state=0;const n=g&&g.running;for(let s=0;s<e.sources.length;s+=1){const r=e.sources[s];r.sources&&(!n&&r.state===$||n&&r.tState===$?r!==t&&ce(r):(!n&&r.state===Z||n&&r.tState===Z)&&je(r,t))}}function ht(e){const t=g&&g.running;for(let n=0;n<e.observers.length;n+=1){const s=e.observers[n];(!t&&!s.state||t&&!s.tState)&&(t?s.tState=Z:s.state=Z,s.pure?I.push(s):R.push(s),s.observers&&ht(s))}}function le(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),s=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const i=r.pop(),c=n.observerSlots.pop();s<r.length&&(i.sourceSlots[c]=s,r[s]=i,n.observerSlots[s]=c)}}if(g&&g.running&&e.pure){if(e.tOwned){for(t=0;t<e.tOwned.length;t++)le(e.tOwned[t]);delete e.tOwned}dt(e,!0)}else if(e.owned){for(t=0;t<e.owned.length;t++)le(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}g&&g.running?e.tState=0:e.state=0,e.context=null}function dt(e,t){if(t||(e.tState=0,g.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)dt(e.owned[n])}function gt(e){throw e}function Ee(e,t){return e&&(e.context&&e.context[t]!==void 0?e.context[t]:e.owner&&Ee(e.owner,t))}function Fe(e){if(typeof e=="function"&&!e.length)return Fe(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const s=Fe(e[n]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return t}return e}function un(e){return function(n){let s;return ye(()=>s=N(()=>(A.context={[e]:n.value},lt(()=>n.children)))),s}}const fn=Symbol("fallback");function pt(e){for(let t=0;t<e.length;t++)e[t]()}function hn(e,t,n={}){let s=[],r=[],i=[],c=0,o=t.length>1?[]:null;return ee(()=>pt(i)),()=>{let l=e()||[],u,a;return N(()=>{let d=l.length,h,m,b,M,p,S,E,C,y;if(d===0)c!==0&&(pt(i),i=[],s=[],r=[],c=0,o&&(o=[])),n.fallback&&(s=[fn],r[0]=X(w=>(i[0]=w,n.fallback())),c=1);else if(c===0){for(r=new Array(d),a=0;a<d;a++)s[a]=l[a],r[a]=X(f);c=d}else{for(b=new Array(d),M=new Array(d),o&&(p=new Array(d)),S=0,E=Math.min(c,d);S<E&&s[S]===l[S];S++);for(E=c-1,C=d-1;E>=S&&C>=S&&s[E]===l[C];E--,C--)b[C]=r[E],M[C]=i[E],o&&(p[C]=o[E]);for(h=new Map,m=new Array(C+1),a=C;a>=S;a--)y=l[a],u=h.get(y),m[a]=u===void 0?-1:u,h.set(y,a);for(u=S;u<=E;u++)y=s[u],a=h.get(y),a!==void 0&&a!==-1?(b[a]=r[u],M[a]=i[u],o&&(p[a]=o[u]),a=m[a],h.set(y,a)):i[u]();for(a=S;a<d;a++)a in b?(r[a]=b[a],i[a]=M[a],o&&(o[a]=p[a],o[a](a))):r[a]=X(f);r=r.slice(0,c=d),s=l.slice(0)}return r});function f(d){if(i[a]=d,o){const[h,m]=k(a);return o[a]=m,t(l[a],h)}return t(l[a])}}}function D(e,t){return N(()=>e(t))}function Ae(){return!0}const mt={get(e,t,n){return t===z?n:e.get(t)},has(e,t){return e.has(t)},set:Ae,deleteProperty:Ae,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Ae,deleteProperty:Ae}},ownKeys(e){return e.keys()}};function De(e){return typeof e=="function"?e():e}function Me(...e){return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const s=De(e[n])[t];if(s!==void 0)return s}},has(t){for(let n=e.length-1;n>=0;n--)if(t in De(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(De(e[n])));return[...new Set(t)]}},mt)}function Be(e,...t){const n=new Set(t.flat()),s=Object.getOwnPropertyDescriptors(e),r=t.map(i=>{const c={};for(let o=0;o<i.length;o++){const l=i[o];Object.defineProperty(c,l,s[l]?s[l]:{get(){return e[l]},set(){return!0}})}return c});return r.push(new Proxy({get(i){return n.has(i)?void 0:e[i]},has(i){return n.has(i)?!1:i in e},keys(){return Object.keys(e).filter(i=>!n.has(i))}},mt)),r}function Qs(e){let t,n;const s=r=>{const i=O.context;if(i){i.count++;const[o,l]=k();(n||(n=e())).then(u=>{U(i),l(()=>u.default),U()}),t=o}else if(t){const o=t();if(o)return o(r)}else{const[o]=tn(()=>(n||(n=e())).then(l=>l.default),{globalRefetch:!1});t=o}let c;return P(()=>(c=t())&&N(()=>{if(!i)return c(r);const o=O.context;U(i);const l=c(r);return U(o),l}))};return s.preload=()=>n||((n=e()).then(r=>t=()=>r.default),n),s}let dn=0;function Js(){const e=O.context;return e?`${e.id}${e.count++}`:`cl:${dn++}`}function Zs(e){const t="fallback"in e&&{fallback:()=>e.fallback};return P(hn(()=>e.each,e.children,t||void 0))}function yt(e){let t=!1;const n=P(()=>e.when,void 0,{equals:(s,r)=>t?s===r:!s==!r});return P(()=>{const s=n();if(s){const r=e.children;return(t=typeof r=="function"&&r.length>0)?N(()=>r(s)):r}return e.fallback})}const gn=xe();function er(e){let t=0,n,s,r,i,c,o;const[l,u]=k(!1),a=cn(),f={increment:()=>{++t==1&&u(!0)},decrement:()=>{--t==0&&u(!1)},inFallback:l,effects:[],resolved:!1},d=ct();if(O.context){const b=O.context.id+O.context.count;if(i=O.load(b),i){(typeof i!="object"||!("then"in i))&&(i=Promise.resolve(i));const[M,p]=k(void 0,{equals:!1});c=M,i.then(S=>{if(o=S)return p();O.gather(b),U(r),p(),U()})}}const h=Se(gn);h&&([n,s]=h.register(f.inFallback));let m;return ee(()=>m&&m()),D(a.Provider,{value:f,get children(){return P(()=>{if(o)throw o;if(r=O.context,c)return c(),c=void 0;r&&i===void 0&&U();const b=N(()=>e.children);return P(()=>{const M=f.inFallback(),p=n?n():!0,S=s?s():!0;if(m&&m(),(!M||i!==void 0)&&p)return f.resolved=!0,r=i=void 0,on(f.effects),b;if(!!S)return X(E=>(m=E,r&&(U({id:r.id+"f",count:0}),r=void 0),e.fallback),d)})})}})}const pn=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],mn=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...pn]),yn=new Set(["innerHTML","textContent","innerText","children"]),wn={className:"class",htmlFor:"for"},wt={class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"},xn=new Set(["beforeinput","click","dblclick","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Sn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),bn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function tr(e,t){return P(e,void 0,t?void 0:{equals:t})}function xt(e,t,n){let s=n.length,r=t.length,i=s,c=0,o=0,l=t[r-1].nextSibling,u=null;for(;c<r||o<i;){if(t[c]===n[o]){c++,o++;continue}for(;t[r-1]===n[i-1];)r--,i--;if(r===c){const a=i<s?o?n[o-1].nextSibling:n[i-o]:l;for(;o<i;)e.insertBefore(n[o++],a)}else if(i===o)for(;c<r;)(!u||!u.has(t[c]))&&t[c].remove(),c++;else if(t[c]===n[i-1]&&n[o]===t[r-1]){const a=t[--r].nextSibling;e.insertBefore(n[o++],t[c++].nextSibling),e.insertBefore(n[--i],a),t[r]=n[i]}else{if(!u){u=new Map;let f=o;for(;f<i;)u.set(n[f],f++)}const a=u.get(t[c]);if(a!=null)if(o<a&&a<i){let f=c,d=1,h;for(;++f<r&&f<i&&!((h=u.get(t[f]))==null||h!==a+d);)d++;if(d>a-o){const m=t[c];for(;o<a;)e.insertBefore(n[o++],m)}else e.replaceChild(n[o++],t[c++])}else c++;else t[c++].remove()}}}const St="_$DX_DELEGATE";function nr(e,t,n){let s;return X(r=>{s=r,t===document?e():Ce(t,e(),t.firstChild?null:void 0,n)}),()=>{s(),t.textContent=""}}function En(e,t,n){const s=document.createElement("template");s.innerHTML=e;let r=s.content.firstChild;return n&&(r=r.firstChild),r}function bt(e,t=window.document){const n=t[St]||(t[St]=new Set);for(let s=0,r=e.length;s<r;s++){const i=e[s];n.has(i)||(n.add(i),t.addEventListener(i,kn))}}function Et(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function An(e,t,n,s){s==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,s)}function Mn(e,t,n,s){s?Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n:Array.isArray(n)?e.addEventListener(t,r=>n[0](n[1],r)):e.addEventListener(t,n)}function Cn(e,t,n={}){const s=Object.keys(t||{}),r=Object.keys(n);let i,c;
1for(i=0,c=r.length;i<c;i++){const o=r[i];!o||o==="undefined"||t[o]||(Mt(e,o,!1),delete n[o])}for(i=0,c=s.length;i<c;i++){const o=s[i],l=!!t[o];!o||o==="undefined"||n[o]===l||!l||(Mt(e,o,!0),n[o]=l)}return n}function Ln(e,t,n={}){const s=e.style;if(t==null||typeof t=="string")return s.cssText=t;typeof n=="string"&&(n={});let r,i;for(i in n)t[i]==null&&s.removeProperty(i),delete n[i];for(i in t)r=t[i],r!==n[i]&&(s.setProperty(i,r),n[i]=r);return n}function At(e,t,n,s){typeof t=="function"?G(r=>Lt(e,t(),r,n,s)):Lt(e,t,void 0,n,s)}function Ce(e,t,n,s){if(n!==void 0&&!s&&(s=[]),typeof t!="function")return se(e,t,s,n);G(r=>se(e,t(),r,n),s)}function Pn(e,t,n,s,r={}){for(const i in r)if(!(i in t)){if(i==="children")continue;Ct(e,i,null,r[i],n)}for(const i in t){if(i==="children"){s||se(e,t.children);continue}const c=t[i];r[i]=Ct(e,i,c,r[i],n)}}function On(e){let t,n;return!O.context||!(t=O.registry.get(n=vn()))?e.cloneNode(!0):(O.registry.delete(n),t)}function _n(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Mt(e,t,n){const s=t.trim().split(/\s+/);for(let r=0,i=s.length;r<i;r++)e.classList.toggle(s[r],n)}function Ct(e,t,n,s,r){let i,c,o;if(t==="style")return Ln(e,n,s);if(t==="classList")return Cn(e,n,s);if(n===s)return s;if(t==="ref")n(e);else if(t.slice(0,3)==="on:")e.addEventListener(t.slice(3),n);else if(t.slice(0,10)==="oncapture:")e.addEventListener(t.slice(10),n,!0);else if(t.slice(0,2)==="on"){const l=t.slice(2).toLowerCase(),u=xn.has(l);Mn(e,l,n,u),u&&bt([l])}else if((o=yn.has(t))||!r&&(wt[t]||(c=mn.has(t)))||(i=e.nodeName.includes("-")))i&&!c&&!o?e[_n(t)]=n:e[wt[t]||t]=n;else{const l=r&&t.indexOf(":")>-1&&bn[t.split(":")[0]];l?An(e,l,t,n):Et(e,wn[t]||t,n)}return n}function kn(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}});n!==null;){const s=n[t];if(s&&!n.disabled){const r=n[`${t}Data`];if(r!==void 0?s(r,e):s(e),e.cancelBubble)return}n=n.host&&n.host!==n&&n.host instanceof Node?n.host:n.parentNode}}function Lt(e,t,n={},s,r){return!r&&"children"in t&&G(()=>n.children=se(e,t.children,n.children)),G(()=>Pn(e,t,s,!0,n)),n}function se(e,t,n,s,r){for(O.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const i=typeof t,c=s!==void 0;if(e=c&&n[0]&&n[0].parentNode||e,i==="string"||i==="number")if(i==="number"&&(t=t.toString()),c){let o=n[0];o&&o.nodeType===3?o.data=t:o=document.createTextNode(t),n=ae(e,n,s,o)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;else if(t==null||i==="boolean"){if(O.context)return n;n=ae(e,n,s)}else{if(i==="function")return G(()=>{let o=t();for(;typeof o=="function";)o=o();n=se(e,o,n,s)}),()=>n;if(Array.isArray(t)){const o=[];if(Ke(o,t,r))return G(()=>n=se(e,o,n,s,!0)),()=>n;if(O.context&&n&&n.length){for(let l=0;l<o.length;l++)if(o[l].parentNode)return n=o;return n}if(o.length===0){if(n=ae(e,n,s),c)return n}else Array.isArray(n)?n.length===0?Pt(e,o,s):xt(e,n,o):n==null||n===""?Pt(e,o):xt(e,c&&n||[e.firstChild],o);n=o}else if(t instanceof Node){if(O.context)return n=t.parentNode?c?[t]:t:n;if(Array.isArray(n)){if(c)return n=ae(e,n,s,t);ae(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Ke(e,t,n){let s=!1;for(let r=0,i=t.length;r<i;r++){let c=t[r],o;if(c instanceof Node)e.push(c);else if(!(c==null||c===!0||c===!1))if(Array.isArray(c))s=Ke(e,c)||s;else if((o=typeof c)==="string")e.push(document.createTextNode(c));else if(o==="function")if(n){for(;typeof c=="function";)c=c();s=Ke(e,Array.isArray(c)?c:[c])||s}else e.push(c),s=!0;else e.push(document.createTextNode(c.toString()))}return s}function Pt(e,t,n){for(let s=0,r=t.length;s<r;s++)e.insertBefore(t[s],n)}function ae(e,t,n,s){if(n===void 0)return e.textContent="";const r=s||document.createTextNode("");if(t.length){let i=!1;for(let c=t.length-1;c>=0;c--){const o=t[c];if(r!==o){const l=o.parentNode===e;!i&&!c?l?e.replaceChild(r,o):e.insertBefore(r,n):l&&o.remove()}else i=!0}}else e.insertBefore(r,n);return[r]}function vn(){const e=O.context;return`${e.id}${e.count++}`}const Rn="http://www.w3.org/2000/svg";function Ot(e,t=!1){return t?document.createElementNS(Rn,e):document.createElement(e)}function sr(e){const{useShadow:t}=e,n=document.createTextNode(""),s=e.mount||document.body;function r(){if(O.context){const[i,c]=k(!1);return queueMicrotask(()=>c(!0)),()=>i()&&e.children}else return()=>e.children}if(s instanceof HTMLHeadElement){const[i,c]=k(!1),o=()=>c(!0);X(l=>Ce(s,()=>i()?l():r()(),null)),ee(()=>{O.context?queueMicrotask(o):o()})}else{const i=Ot(e.isSVG?"g":"div",e.isSVG),c=t&&i.attachShadow?i.attachShadow({mode:"open"}):i;Object.defineProperty(i,"host",{get(){return n.parentNode}}),Ce(c,r()),s.appendChild(i),e.ref&&e.ref(i),ee(()=>s.removeChild(i))}return n}function rr(e){const[t,n]=Be(e,["component"]);return P(()=>{const s=t.component;switch(typeof s){case"function":return N(()=>s(n));case"string":const r=Sn.has(s),i=O.context?On():Ot(s,r);return At(i,n,r),i}})}function In(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function Nn([e,t],n,s){return[n?()=>n(e()):e,s?r=>t(s(r)):t]}function $n(e,t,n,s){let r=!1;const i=o=>
vendor: 4,452 bytes, line 1
1typeof o=="string"?{value:o}:o,c=Nn(k(i(e()),{equals:(o,l)=>o.value===l.value}),void 0,o=>(!r&&t(o),o));return n&&ee(n((o=e())=>{r=!0,c[1](i(o)),r=!1})),{signal:c,utils:s}}function Tn(e){if(e){if(Array.isArray(e))return{signal:e}}else return{signal:k({value:""})};return e}function jn(){return $n(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:s})=>{t?window.history.replaceState(s,"",e):window.history.pushState(s,"",e),n&&window.scrollTo(0,0)},e=>In(window,"popstate",()=>e()),{go:e=>window.history.go(e)})}const Fn=/^(?:[a-z0-9]+:)?\/\//i,Dn=/^\/+|\/+$|\s+/g;function ue(e){const t=e.replace(Dn,"");return t?t.startsWith("?")?t:"/"+t:""}function Le(e,t,n){if(Fn.test(t))return;const s=ue(e),r=n&&ue(n);let i="";return!r||t.charAt(0)==="/"?i=s:r.toLowerCase().indexOf(s.toLowerCase())!==0?i=s+r:i=r,i+ue(t)||"/"}function Bn(e,t){if(e==null)throw new Error(t);return e}function _t(e,t){const n=ue(t);if(n){const s=e.replace(/^\/+|\/*(\*.*)?$/g,"");return s?`/${s}${n}`:n}return ue(e)}function Kn(e){const t={};return e.searchParams.forEach((n,s)=>{t[s]=n}),t}function kt(e,t){const[n,s]=e.split("/*",2),r=n.split("/").filter(Boolean),i=r.length;return c=>{const o=c.split("/").filter(Boolean),l=o.length-i;if(l<0||l>0&&s===void 0&&!t)return null;const u={path:i?"":"/",params:{}};for(let a=0;a<i;a++){const f=r[a],d=o[a];if(f[0]===":")u.params[f.slice(1)]=d;else if(f.localeCompare(d,void 0,{sensitivity:"base"})!==0)return null;u.path+=`/${d}`}return s&&(u.params[s]=l?o.slice(-l).join("/"):""),u}}function Vn(e){const[t,n]=e.pattern.split("/*",2),s=t.split("/").filter(Boolean);return s.reduce((r,i)=>r+(i.startsWith(":")?2:3),s.length-(n===void 0?0:1))}function vt(e){const t=new Map,n=ct();return new Proxy({},{get(s,r){return t.has(r)||nn(n,()=>t.set(r,P(()=>e()[r]))),t.get(r)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function Un(e,t){const n=new URLSearchParams(e);return Object.entries(t).forEach(([s,r])=>{r==null||r===""?n.delete(s):n.set(s,String(r))}),n.toString()}const Gn=100,Rt=xe(),Pe=xe(),re=()=>Bn(Se(Rt),"Make sure your app is wrapped in a <Router />"),Ve=()=>Se(Pe)||re().base,It=e=>{const t=Ve();return P(()=>t.resolvePath(e()))},Hn=e=>{const t=re();return P(()=>{const n=e();return n!==void 0?t.renderPath(n):n})},Ue=()=>re().navigatorFactory(),Oe=()=>re().location,ir=()=>re().isRouting,or=e=>{const t=Oe(),n=P(()=>kt(e()));return P(()=>n()(t.pathname))},cr=()=>{const e=Oe(),t=Ue(),n=(s,r)=>{const i=Un(e.search,s);t(i?`?${i}`:"",{scroll:!1,...r,resolve:!0})};return[e.query,n]};function Wn(e,t="",n){const{path:s,component:r,data:i,children:c}=e,o=!c||Array.isArray(c)&&!c.length,l=_t(t,s),u=o?l:l.split("/*",1)[0];return{originalPath:s,pattern:u,element:r?()=>D(r,{}):()=>{const{element:a}=e;return a===void 0&&n?D(n,{}):a},preload:e.component?r.preload:e.preload,data:i,matcher:kt(u,!o)}}function zn(e,t=0){return{routes:e,score:Vn(e[e.length-1])*1e4-t,matcher(n){const s=[];for(let r=e.length-1;r>=0;r--){const i=e[r],c=i.matcher(n);if(!c)return null;s.unshift({...c,route:i})}return s}}}function Nt(e,t="",n,s=[],r=[]){const i=Array.isArray(e)?e:[e];for(let c=0,o=i.length;c<o;c++){const l=i[c];if(l&&typeof l=="object"&&l.hasOwnProperty("path")){const u=Wn(l,t,n);if(s.push(u),l.children)Nt(l.children,u.pattern,n,s,r);else{const a=zn([...s],r.length);r.push(a)}s.pop()}}return s.length?r:r.sort((c,o)=>o.score-c.score)}function qn(e,t){for(let n=0,s=e.length;n<s;n++){const r=e[n].matcher(t);if(r)return r}return[]}function Xn(e,t){const n=new URL("http://sar"),s=P(l=>{const u=e();try{return new URL(u,n)}catch{return console.error(`Invalid path ${u}`),l}},n,{equals:(l,u)=>l.href===u.href}),r=P(()=>s().pathname),i=P(()=>s().search.slice(1)),c=P(()=>s().hash.slice(1)),o=P(()=>"");return{get pathname(){return r()},get search(){return i()},get hash(){return c()},get state(){return t()},get key(){return o()},query:vt(it(i,()=>Kn(s())))}}function Yn(e,t="",n,s){const{signal:[r,i],utils:c={}}=Tn(e),o=Le("",t),l=void 0;if(o===void 0)throw new Error(`${o} is not a valid base path`);o&&!r().value&&i({value:o,replace:!0,scroll:!1});const[u,a]=rn(),[f,d]=k(r().value),[h,m]=k(r().state),b=Xn(f,h),M=[],p={pattern:o,params:{},path:()=>o,outlet:()=>null,resolvePath(y){return Le(o,y)}};n&&(p.data=n({params:{},location:b,navigate:E(p)}));function S(y,w,L){N(()=>
1{if(typeof w=="number"){w&&(c.go?c.go(w):console.warn("Router integration does not support relative routing"));return}const{replace:v,resolve:B,scroll:ge,state:W}={replace:!1,resolve:!0,scroll:!0,...L},F=B?y.resolvePath(w):Le("",w);if(F===void 0)throw new Error(`Path '${w}' is not a routable path`);if(M.length>=Gn)throw new Error("Too many redirects");const Ne=f();if(F!==Ne||W!==h()){const T=M.push({value:Ne,replace:v,scroll:ge,state:h});a(()=>{d(F),m(W)}).then(()=>{M.length===T&&C({value:F,state:W})})}})}function E(y){return y=y||Se(Pe)||p,(w,L)=>S(y,w,L)}function C(y){const w=M[0];w&&((y.value!==w.value||y.state!==w.state)&&i({...y,replace:w.replace,scroll:w.scroll}),M.length=0)}return G(()=>{const{value:y,state:w}=r();y!==N(f)&&a(()=>{d(y),m(w)})}),{base:p,out:l,location:b,isRouting:u,renderPath:c.renderPath||(y=>y),navigatorFactory:E}}function Qn(e,t,n,s){const{base:r,location:i,navigatorFactory:c}=e,{pattern:o,element:l,preload:u,data:a}=s().route,f=P(()=>s().path),d=vt(()=>s().params);u&&u();const h={parent:t,pattern:o,get child(){return n()},path:f,params:d,outlet:l,resolvePath(m){return Le(r.path(),m,f())}};return a&&(h.data=a({params:d,location:i,navigate:c(h)})),h}const Jn=En("<a></a>"),lr=e=>{const{source:t,url:n,base:s,data:r,out:i}=e,c=t||jn(),o=Yn(c,s,r);return D(Rt.Provider,{value:o,get children(){return e.children}})},Zn=e=>{const t=re(),n=Ve(),s=P(()=>Nt(e.children,_t(n.pattern,e.base||""),es)),r=P(()=>qn(s(),t.location.pathname));t.out&&t.out.matches.push(r().map(({route:l,path:u,params:a})=>({originalPath:l.originalPath,pattern:l.pattern,path:u,params:a})));const i=[];let c;const o=P(it(r,(l,u,a)=>{let f=u&&l.length===u.length;const d=[];for(let h=0,m=l.length;h<m;h++){const b=u&&u[h],M=l[h];a&&b&&M.route.pattern===b.route.pattern?d[h]=a[h]:(f=!1,i[h]&&i[h](),X(p=>{i[h]=p,d[h]=Qn(t,d[h-1]||n,()=>o()[h+1],()=>r()[h])}))}return i.splice(l.length).forEach(h=>h()),a&&f?a:(c=d[0],d)}));return D(yt,{get when(){return o()&&c},children:l=>D(Pe.Provider,{value:l,get children(){return l.outlet()}})})},ar=(e,t)=>()=>D(Zn,{base:t,children:e}),es=()=>{const e=Ve();return D(yt,{get when(){return e.child},children:t=>D(Pe.Provider,{value:t,get children(){return t.outlet()}})})};function $t(e){const[,t]=Be(e,["children","to","href","state","onClick"]),n=Ue(),s=Hn(()=>e.to),r=i=>{const{onClick:c,to:o,target:l}=e;typeof c=="function"?c(i):c&&c[0](c[1],i),o!==void 0&&!i.defaultPrevented&&i.button===0&&(!l||l==="_self")&&!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&(i.preventDefault(),n(o,{resolve:!1,replace:e.replace||!1,scroll:!e.noScroll,state:e.state}))};return(()=>{const i=Jn.cloneNode(!0);return i.$$click=r,At(i,t,!1,!0),Ce(i,()=>e.children),G(()=>Et(i,"href",s()||e.href)),i})()}function ur(e){const t=It(()=>e.href);return D($t,Me(e,{get to(){return t()}}))}function fr(e){e=Me({activeClass:"active"},e);const[,t]=Be(e,["activeClass","end"]),n=Oe(),s=It(()=>e.href),r=P(()=>{const i=s();if(i===void 0)return!1;const c=i.split(/[?#]/,1)[0].toLowerCase(),o=n.pathname.toLowerCase();return e.end?c===o:o.startsWith(c)});return D($t,Me(t,{get to(){return s()},get classList(){return{[e.activeClass]:r()}},get["aria-current"](){return r()?"page":void 0}}))}function hr(e){const t=Ue(),n=Oe(),{href:s,state:r}=e,i=typeof s=="function"?s({navigate:t,location:n}):s;return t(i,{replace:!0,state:r}),null}bt(["click"]);const Ge=Symbol("store-raw"),_e=Symbol("store-node"),ts=Symbol("store-name");function Tt(e,t){let n=e[z];if(!n){Object.defineProperty(e,z,{value:n=new Proxy(e,rs)});const s=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let i=0,c=s.length;i<c;i++){const o=s[i];if(r[o].get){const l=r[o].get.bind(n);Object.defineProperty(e,o,{get:l})}}}return n}function ie(e){return e!=null&&typeof e=="object"&&(e[z]||!e.__proto__||e.__proto__===Object.prototype||Array.isArray(e))}function fe(e,t=new Set){let n,s,r,i;if(n=e!=null&&e[Ge])return n;if(!ie(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let c=0,o=e.length;c<o;c++)r=e[c],(s=fe(r,t))!==r&&(e[c]=s)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const c=Object.keys(e),o=Object.getOwnPropertyDescriptors(e);for(let l=0,u=c.length;l<u;l++)i=c[l],!o[i].get&&(r=e[i],(s=fe(r,t))!==r&&(e[i]=s))}return e}function ke(e){let t=e[_e];return t||Object.defineProperty(e,_e,{value:t={}}),t}function ns(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===z||t===_e||t===ts||(delete n.value,delete n.writable,n.get=()=>e[z][t]),n}function ss(e){if(ot()){const t=ke(e);(t._||(t._=He()))()}return Reflect.ownKeys(e)}function He(){const[e,t]=k(void 0,{equals:!1,internal:!0});return e.$=t,e}const rs={get(e,t,n){if(t===Ge)return e;if(t===z)return n;const s=e[t];if(t===_e||t==="__proto__")return s;const r=ie(s);if(ot()&&(typeof s!="function"||e.hasOwnProperty(t))){let i,c;r&&(i=ke(s))&&(c=i._||(i._=He()),c()),i=ke(e),c=i[t]||(i[t]=He()),c()}return r?Tt(s):s},set(){return!0},deleteProperty(){return!0},ownKeys:ss,getOwnPropertyDescriptor:ns};function ve(e,t,n){if(e[t]===n)return;const s=Array.isArray(e),r=e.length,i=n===void 0,c=s||i===t in e;i?delete e[t]:e[t]=n;let o=ke(e),l;(l=o[t])&&l.$(),s&&e.length!==r&&(l=o.length)&&l.$(),c&&(l=o._)&&l.$()}function is(e,t){const n=Object.keys(t);for(let s=0;s<n.length;s+=1){const r=n[s];ve(e,r,t[r])}}function he(e,t,n=[]){let s,r=e;if(t.length>1){s=t.shift();const c=typeof s,o=Array.isArray(e);if(Array.isArray(s)){for(let l=0;l<s.length;l++)he(e,[s[l]].concat(t),[s[l]].concat(n));return}else if(o&&c==="function"){for(let l=0;l<e.length;l++)s(e[l],l)&&he(e,[l].concat(t),[l].concat(n));return}else if(o&&c==="object"){const{from:l=0,to:u=e.length-1,by:a=1}=s;for(let f=l;f<=u;f+=a)he(e,[f].concat(t),[f].concat(n));return}else if(t.length>
11){he(e[s],t,[s].concat(n));return}r=e[s],n=[s].concat(n)}let i=t[0];typeof i=="function"&&(i=i(r,n),i===r)||s===void 0&&i==null||(i=fe(i),s===void 0||ie(r)&&ie(i)&&!Array.isArray(i)?is(r,i):ve(e,s,i))}function dr(e,t){const n=fe(e||{}),s=Tt(n);function r(...i){Y(()=>he(n,i))}return[s,r]}const jt={get(e,t){if(t===Ge)return e;const n=e[t];return ie(n)?new Proxy(n,jt):n},set(e,t,n){return ve(e,t,fe(n)),!0},deleteProperty(e,t){return ve(e,t,void 0),!0}};function gr(e){return t=>(ie(t)&&e(new Proxy(t,jt)),t)}var os=["Shift","Meta","Alt","Control"],cs=typeof navigator=="object"&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"Meta":"Control";function We(e,t){return typeof e.getModifierState=="function"&&e.getModifierState(t)}function ls(e){return e.trim().split(" ").map(function(t){var n=t.split(/\b\+/),s=n.pop();return[n=n.map(function(r){return r==="$mod"?cs:r}),s]})}function as(e,t){var n;t===void 0&&(t={});var s=(n=t.timeout)!=null?n:1e3,r=Object.keys(e).map(function(o){return[ls(o),e[o]]}),i=new Map,c=null;return function(o){o instanceof KeyboardEvent&&(r.forEach(function(l){var u=l[0],a=l[1],f=i.get(u)||u;(function(d,h){return!(h[1].toUpperCase()!==d.key.toUpperCase()&&h[1]!==d.code||h[0].find(function(m){return!We(d,m)})||os.find(function(m){return!h[0].includes(m)&&h[1]!==m&&We(d,m)}))})(o,f[0])?f.length>1?i.set(u,f.slice(1)):(i.delete(u),a(o)):We(o,o.key)||i.delete(u)}),c&&clearTimeout(c),c=setTimeout(i.clear.bind(i),s))}}function pr(e,t,n){var s;n===void 0&&(n={});var r=(s=n.event)!=null?s:"keydown",i=as(t,n);return e.addEventListener(r,i),function(){e.removeEventListener(r,i)}}function K(e){return Array.isArray?Array.isArray(e):Bt(e)==="[object Array]"}const us=1/0;function fs(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-us?"-0":t}function hs(e){return e==null?"":fs(e)}function V(e){return typeof e=="string"}function Ft(e){return typeof e=="number"}function ds(e){return e===!0||e===!1||gs(e)&&Bt(e)=="[object Boolean]"}function Dt(e){return typeof e=="object"}function gs(e){return Dt(e)&&e!==null}function j(e){return e!=null}function ze(e){return!e.trim().length}function Bt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ps="Incorrect 'index' type",ms=e=>`Invalid value for key ${e}`,ys=e=>`Pattern length exceeds max of ${e}.`,ws=e=>`Missing ${e} property in key`,xs=e=>`Property 'weight' in key '${e}' must be a positive integer`,Kt=Object.prototype.hasOwnProperty;class Ss{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let r=Vt(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Vt(e){let t=null,n=null,s=null,r=1;if(V(e)||K(e))s=e,t=Ut(e),n=qe(e);else{if(!Kt.call(e,"name"))throw new Error(ws("name"));const i=e.name;if(s=i,Kt.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(xs(i));t=Ut(i),n=qe(i)}return{path:t,id:n,weight:r,src:s}}function Ut(e){return K(e)?e:e.split(".")}function qe(e){return K(e)?e.join("."):e}function bs(e,t){let n=[],s=!1;const r=(i,c,o)=>{if(!!j(i))if(!c[o])n.push(i);else{let l=c[o];const u=i[l];if(!j(u))return;if(o===c.length-1&&(V(u)||Ft(u)||ds(u)))n.push(hs(u));else if(K(u)){s=!0;for(let a=0,f=u.length;a<f;a+=1)r(u[a],c,o+1)}else c.length&&r(u,c,o+1)}};return r(e,V(t)?t.split("."):t,0),s?n:n[0]}const Es={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},As={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},Ms={location:0,threshold:.6,distance:100},Cs={useExtendedSearch:!1,getFn:bs,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var x={...As,...Es,...Ms,...Cs};const Ls=/[^ ]+/g;function Ps(e=1,t=3){const n=new Map,s=Math.pow(10,t);return{get(r){const i=r.match(Ls).length;if(n.has(i))return n.get(i);const c=1/Math.pow(i,.5*e),o=parseFloat(Math.round(c*s)/s);return n.set(i,o),o},clear(){n.clear()}}}class Xe{constructor({getFn:t=x.getFn,fieldNormWeight:n=x.fieldNormWeight}={}){this.norm=Ps(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,s)=>{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,V(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();V(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n<s;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!j(t)||ze(t))return;let s={v:t,i:n,n:this.norm.get(t)};this.records.push(s)}_addObject(t,n){let s={i:n,$:{}};this.keys.forEach((r,i)=>{let c=this.getFn(t,r.path);
vendor: 8,611 bytes, line 1
1if(!!j(c)){if(K(c)){let o=[];const l=[{nestedArrIndex:-1,value:c}];for(;l.length;){const{nestedArrIndex:u,value:a}=l.pop();if(!!j(a))if(V(a)&&!ze(a)){let f={v:a,i:u,n:this.norm.get(a)};o.push(f)}else K(a)&&a.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}s.$[i]=o}else if(!ze(c)){let o={v:c,n:this.norm.get(c)};s.$[i]=o}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function Gt(e,t,{getFn:n=x.getFn,fieldNormWeight:s=x.fieldNormWeight}={}){const r=new Xe({getFn:n,fieldNormWeight:s});return r.setKeys(e.map(Vt)),r.setSources(t),r.create(),r}function Os(e,{getFn:t=x.getFn,fieldNormWeight:n=x.fieldNormWeight}={}){const{keys:s,records:r}=e,i=new Xe({getFn:t,fieldNormWeight:n});return i.setKeys(s),i.setIndexRecords(r),i}function Re(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:r=x.distance,ignoreLocation:i=x.ignoreLocation}={}){const c=t/e.length;if(i)return c;const o=Math.abs(s-n);return r?c+o/r:o?1:c}function _s(e=[],t=x.minMatchCharLength){let n=[],s=-1,r=-1,i=0;for(let c=e.length;i<c;i+=1){let o=e[i];o&&s===-1?s=i:!o&&s!==-1&&(r=i-1,r-s+1>=t&&n.push([s,r]),s=-1)}return e[i-1]&&i-s>=t&&n.push([s,i-1]),n}const J=32;function ks(e,t,n,{location:s=x.location,distance:r=x.distance,threshold:i=x.threshold,findAllMatches:c=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,includeMatches:l=x.includeMatches,ignoreLocation:u=x.ignoreLocation}={}){if(t.length>J)throw new Error(ys(J));const a=t.length,f=e.length,d=Math.max(0,Math.min(s,f));let h=i,m=d;const b=o>1||l,M=b?Array(f):[];let p;for(;(p=e.indexOf(t,m))>-1;){let L=Re(t,{currentLocation:p,expectedLocation:d,distance:r,ignoreLocation:u});if(h=Math.min(L,h),m=p+a,b){let v=0;for(;v<a;)M[p+v]=1,v+=1}}m=-1;let S=[],E=1,C=a+f;const y=1<<a-1;for(let L=0;L<a;L+=1){let v=0,B=C;for(;v<B;)Re(t,{errors:L,currentLocation:d+B,expectedLocation:d,distance:r,ignoreLocation:u})<=h?v=B:C=B,B=Math.floor((C-v)/2+v);C=B;let ge=Math.max(1,d-B+1),W=c?f:Math.min(d+B,f)+a,F=Array(W+2);F[W+1]=(1<<L)-1;for(let T=W;T>=ge;T-=1){let pe=T-1,tt=n[e.charAt(pe)];if(b&&(M[pe]=+!!tt),F[T]=(F[T+1]<<1|1)&tt,L&&(F[T]|=(S[T+1]|S[T])<<1|1|S[T+1]),F[T]&y&&(E=Re(t,{errors:L,currentLocation:pe,expectedLocation:d,distance:r,ignoreLocation:u}),E<=h)){if(h=E,m=pe,m<=d)break;ge=Math.max(1,2*d-m)}}if(Re(t,{errors:L+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:u})>h)break;S=F}const w={isMatch:m>=0,score:Math.max(.001,E)};if(b){const L=_s(M,o);L.length?l&&(w.indices=L):w.isMatch=!1}return w}function vs(e){let t={};for(let n=0,s=e.length;n<s;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<s-n-1}return t}class Ht{constructor(t,{location:n=x.location,threshold:s=x.threshold,distance:r=x.distance,includeMatches:i=x.includeMatches,findAllMatches:c=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:l=x.isCaseSensitive,ignoreLocation:u=x.ignoreLocation}={}){if(this.options={location:n,threshold:s,distance:r,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:l,ignoreLocation:u},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const a=(d,h)=>{this.chunks.push({pattern:d,alphabet:vs(d),startIndex:h})},f=this.pattern.length;if(f>J){let d=0;const h=f%J,m=f-h;for(;d<m;)a(this.pattern.substr(d,J),d),d+=J;if(h){const b=f-J;a(this.pattern.substr(b),b)}}else a(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let m={isMatch:!0,score:0};return s&&(m.indices=[[0,t.length-1]]),m}const{location:r,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:l,ignoreLocation:u}=this.options;let a=[],f=0,d=!1;this.chunks.forEach(({pattern:m,alphabet:b,startIndex:M})=>{const{isMatch:p,score:S,indices:E}=ks(t,m,b,{location:r+M,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:l,includeMatches:s,ignoreLocation:u});p&&(d=!0),f+=S,p&&E&&(a=[...a,...E])});let h={isMatch:d,score:d?f/this.chunks.length:1};return d&&s&&(h.indices=a),h}}class H{constructor(t){this.pattern=t}static isMultiMatch(t){return Wt(t,this.multiRegex)}static isSingleMatch(t){return Wt(t,this.singleRegex)}search(){}}function Wt(e,t){const n=e.match(t);return n?n[1]:null}class Rs extends H{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Is extends H{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class Ns extends H{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class $s extends H{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ts extends H{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class js extends H{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class zt extends H{constructor(t,{location:n=x.location,threshold:s=x.threshold,distance:r=x.distance,includeMatches:i=x.includeMatches,findAllMatches:c=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:l=x.isCaseSensitive,ignoreLocation:u=x.ignoreLocation}={}){super(t);this._bitapSearch=new Ht(t,{location:n,threshold:s,distance:r,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:l,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class qt extends H{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const r=[],i=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+i,r.push([s,n-1]);const c=!!r.length;return{isMatch:c,score:c?0:1,indices:r}}}const Ye=[Rs,qt,Ns,$s,js,Ts,Is,zt],Xt=Ye.length,Fs=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,Ds="|";function Bs(e,t={}){return e.split(Ds).map(n=>{let s=n.trim().split(Fs).filter(i=>i&&!!i.trim()),r=[];for(let i=0,c=s.length;i<c;i+=1){const o=s[i];let l=!1,u=-1;for(;!l&&++u<Xt;){const a=Ye[u];let f=a.isMultiMatch(o);f&&(r.push(new a(f,t)),l=!0)}if(!l)for(u=-1;++u<Xt;){const a=Ye[u];let f=a.isSingleMatch(o);if(f){r.push(new a(f,t));break}}}return r})}const Ks=new Set([zt.type,qt.type]);class Vs{constructor(t,{isCaseSensitive:n=x.isCaseSensitive,includeMatches:s=x.includeMatches,minMatchCharLength:r=x.minMatchCharLength,ignoreLocation:i=x.ignoreLocation,findAllMatches:c=x.findAllMatches,location:o=x.location,threshold:l=x.threshold,distance:u=x.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:s,minMatchCharLength:r,findAllMatches:c,ignoreLocation:i,location:o,threshold:l,distance:u},this.pattern=n?t:t.toLowerCase(),this.query=Bs(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:s,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let i=0,c=[],o=0;for(let l=0,u=n.length;l<u;l+=1){const a=n[l];c.length=0,i=0;for(let f=0,d=a.length;f<d;f+=1){const h=a[f],{isMatch:m,indices:b,score:M}=h.search(t);if(m){if(i+=1,o+=M,s){const p=h.constructor.type;Ks.has(p)?c=[...c,...b]:c.push(b)}}else{o=0,i=0,c.length=0;break}}if(i){let f={isMatch:!0,score:o/i};return s&&(f.indices=c),f}}return{isMatch:!1,score:1}}}const Qe=[];function Us(...e){Qe.push(...e)}function Je(e,t){for(let n=0,s=Qe.length;n<s;n+=1){let r=Qe[n];if(r.condition(e,t))return new r(e,t)}return new Ht(e,t)}const Ie={AND:"$and",OR:"$or"},Ze={PATH:"$path",PATTERN:"$val"},et=e=>!!(e[Ie.AND]||e[Ie.OR]),Gs=e=>
1!!e[Ze.PATH],Hs=e=>!K(e)&&Dt(e)&&!et(e),Yt=e=>({[Ie.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Qt(e,t,{auto:n=!0}={}){const s=r=>{let i=Object.keys(r);const c=Gs(r);if(!c&&i.length>1&&!et(r))return s(Yt(r));if(Hs(r)){const l=c?r[Ze.PATH]:i[0],u=c?r[Ze.PATTERN]:r[l];if(!V(u))throw new Error(ms(l));const a={keyId:qe(l),pattern:u};return n&&(a.searcher=Je(u,t)),a}let o={children:[],operator:i[0]};return i.forEach(l=>{const u=r[l];K(u)&&u.forEach(a=>{o.children.push(s(a))})}),o};return et(e)||(e=Yt(e)),s(e)}function Ws(e,{ignoreFieldNorm:t=x.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:i,score:c})=>{const o=r?r.weight:null;s*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(t?1:i))}),n.score=s})}function zs(e,t){const n=e.matches;t.matches=[],!!j(n)&&n.forEach(s=>{if(!j(s.indices)||!s.indices.length)return;const{indices:r,value:i}=s;let c={indices:r,value:i};s.key&&(c.key=s.key.src),s.idx>-1&&(c.refIndex=s.idx),t.matches.push(c)})}function qs(e,t){t.score=e.score}function Xs(e,t,{includeMatches:n=x.includeMatches,includeScore:s=x.includeScore}={}){const r=[];return n&&r.push(zs),s&&r.push(qs),e.map(i=>{const{idx:c}=i,o={item:t[c],refIndex:c};return r.length&&r.forEach(l=>{l(i,o)}),o})}class de{constructor(t,n={},s){this.options={...x,...n},this.options.useExtendedSearch,this._keyStore=new Ss(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Xe))throw new Error(ps);this._myIndex=n||Gt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){!j(t)||(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,r=this._docs.length;s<r;s+=1){const i=this._docs[s];t(i,s)&&(this.removeAt(s),s-=1,r-=1,n.push(i))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:s,includeScore:r,shouldSort:i,sortFn:c,ignoreFieldNorm:o}=this.options;let l=V(t)?V(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Ws(l,{ignoreFieldNorm:o}),i&&l.sort(c),Ft(n)&&n>-1&&(l=l.slice(0,n)),Xs(l,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(t){const n=Je(t,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:i,i:c,n:o})=>{if(!j(i))return;const{isMatch:l,score:u,indices:a}=n.searchIn(i);l&&r.push({item:i,idx:c,matches:[{score:u,value:i,norm:o,indices:a}]})}),r}_searchLogical(t){const n=Qt(t,this.options),s=(o,l,u)=>{if(!o.children){const{keyId:f,searcher:d}=o,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return h&&h.length?[{idx:u,item:l,matches:h}]:[]}const a=[];for(let f=0,d=o.children.length;f<d;f+=1){const h=o.children[f],m=s(h,l,u);if(m.length)a.push(...m);else if(o.operator===Ie.AND)return[]}return a},r=this._myIndex.records,i={},c=[];return r.forEach(({$:o,i:l})=>{if(j(o)){let u=s(n,o,l);u.length&&(i[l]||(i[l]={idx:l,item:o,matches:[]},c.push(i[l])),u.forEach(({matches:a})=>{i[l].matches.push(...a)}))}}),c}_searchObjectList(t){const n=Je(t,this.options),{keys:s,records:r}=this._myIndex,i=[];return r.forEach(({$:c,i:o})=>{if(!j(c))return;let l=[];s.forEach((u,a)=>{l.push(...this._findMatches({key:u,value:c[a],searcher:n}))}),l.length&&i.push({idx:o,item:c,matches:l})}),i}_findMatches({key:t,value:n,searcher:s}){if(!j(n))return[];let r=[];if(K(n))n.forEach(({v:i,i:c,n:o})=>{if(!j(i))return;const{isMatch:l,score:u,indices:a}=s.searchIn(i);l&&r.push({score:u,key:t,value:i,idx:c,norm:o,indices:a})});else{const{v:i,n:c}=n,{isMatch:o,score:l,indices:u}=s.searchIn(i);o&&r.push({score:l,key:t,value:i,norm:c,indices:u})}return r}}de.version="6.5.3";de.createIndex=Gt;de.parseIndex=Os;de.config=x;de.parseQuery=Qt;Us(Vs);const mr=e=>{let t,n=!0;const[s,r]=k(),[i,c]=k(),o=lt(()=>e.children),l=e.name||"s";e=Me({name:l,enterActiveClass:l+"-enter-active",enterClass:l+"-enter",enterToClass:l+"-enter-to",exitActiveClass:l+"-exit-active",exitClass:l+"-exit",exitToClass:l+"-exit-to"},e);const{onBeforeEnter:u,onEnter:a,onAfterEnter:f,onBeforeExit:d,onExit:h,onAfterExit:m}=e;function b(p,S){if(!n||e.appear){let w=function(){p&&(p.classList.remove(...C),p.classList.remove(...y),Y(()=>{s()!==p&&r(p),i()===p&&c(void 0)}),f&&f(p),e.mode==="inout"&&M(p,S))};const E=e.enterClass.split(" "),C=e.enterActiveClass.split(" "),y=e.enterToClass.split(" ");u&&u(p),p.classList.add(...E),p.classList.add(...C),requestAnimationFrame(()=>{p.classList.remove(...E),p.classList.add(...y),a&&a(p,w),(!a||a.length<2)&&(p.addEventListener("transitionend",w,{once:!0}),p.addEventListener("animationend",w,{once:!0}))})}S&&!e.mode?c(p):r(p)}function M(p,S){const E=e.exitClass.split(" "),C=e.exitActiveClass.split(" "),y=e.exitToClass.split(" ");if(!S.parentNode)return w();d&&d(S),S.classList.add(...E),S.classList.add(...C),requestAnimationFrame(()=>{S.classList.remove(...E),S.classList.add(...y)}),h&&h(S,w),(!h||h.length<2)&&(S.addEventListener("transitionend",w,{once:!0}),S.addEventListener("animationend",w,{once:!0}));function w(){S.classList.remove(...C),S.classList.remove(...y),s()===S&&r(void 0),m&&m(S),e.mode==="outin"&&b(p,S)}}return ye(p=>{for(t=o();typeof t=="function";)t=t();return N(()=>
1(t&&t!==p&&(e.mode!=="outin"?b(t,p):n&&r(t)),p&&p!==t&&e.mode!=="inout"&&M(t,p),n=!1,t))}),[s,i]};export{ir as A,er as B,hr as C,rr as D,Mn as E,de as F,ar as G,Qs as H,nr as I,tn as J,cr as K,ur as L,fr as N,es as O,sr as P,lr as R,yt as S,mr as T,P as a,en as b,xe as c,ee as d,dr as e,D as f,G as g,At as h,pr as i,Ce as j,Zs as k,bt as l,tr as m,Et as n,Ys as o,gr as p,Cn as q,ls as r,Be as s,En as t,Se as u,k as v,Js as w,Me as x,or as y,Ue as z};

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.