PageSourceSearch

https://konbini.vercel.app/assets/index-BX5rxFuZ.js

js konbini.vercel.app collected 2026-10-03 07:11:24 UTC 187,449 bytes, 11 lines download raw bytes

vendor: 7,563 bytes, line 1
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var jt,D,bi,lt,Sr,xi,yi,wi,or,Un,Wn,vi,Ut={},ki=[],Sa=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Vt=Array.isArray;function De(e,t){for(var n in t)e[n]=t[n];return e}function lr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function ue(e,t,n){var r,i,o,l={};for(o in t)o=="key"?r=t[o]:o=="ref"?i=t[o]:l[o]=t[o];if(arguments.length>2&&(l.children=arguments.length>3?jt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)l[o]===void 0&&(l[o]=e.defaultProps[o]);return Ht(e,l,r,i,null)}function Ht(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++bi,__i:-1,__u:0};return i==null&&D.vnode!=null&&D.vnode(o),o}function Ea(){return{current:null}}function z(e){return e.children}function $e(e,t){this.props=e,this.context=t}function bt(e,t){if(t==null)return e.__?bt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?bt(e):null}function Ci(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Ci(e)}}function jn(e){(!e.__d&&(e.__d=!0)&&lt.push(e)&&!mn.__r++||Sr!=D.debounceRendering)&&((Sr=D.debounceRendering)||xi)(mn)}function mn(){for(var e,t,n,r,i,o,l,s=1;lt.length;)lt.length>s&&lt.sort(yi),e=lt.shift(),s=lt.length,e.__d&&(n=void 0,r=void 0,i=(r=(t=e).__v).__e,o=[],l=[],t.__P&&((n=De({},r)).__v=r.__v+1,D.vnode&&D.vnode(n),sr(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[i]:null,o,i??bt(r),!!(32&r.__u),l),n.__v=r.__v,n.__.__k[n.__i]=n,Ai(o,n,l),r.__e=r.__=null,n.__e!=i&&Ci(n)));mn.__r=0}function Si(e,t,n,r,i,o,l,s,h,u,m){var c,_,f,y,A,T,x,w=r&&r.__k||ki,k=t.length;for(h=Aa(n,t,w,h,k),c=0;c<k;c++)(f=n.__k[c])!=null&&(_=f.__i==-1?Ut:w[f.__i]||Ut,f.__i=c,T=sr(e,f,_,i,o,l,s,h,u,m),y=f.__e,f.ref&&_.ref!=f.ref&&(_.ref&&ur(_.ref,null,f),m.push(f.ref,f.__c||y,f)),A==null&&y!=null&&(A=y),(x=!!(4&f.__u))||_.__k===f.__k?h=Ei(f,h,e,x):typeof f.type=="function"&&T!==void 0?h=T:y&&(h=y.nextSibling),f.__u&=-7);return n.__e=A,h}function Aa(e,t,n,r,i){var o,l,s,h,u,m=n.length,c=m,_=0;for(e.__k=new Array(i),o=0;o<i;o++)(l=t[o])!=null&&typeof l!="boolean"&&typeof l!="function"?(h=o+_,(l=e.__k[o]=typeof l=="string"||typeof l=="number"||typeof l=="bigint"||l.constructor==String?Ht(null,l,null,null,null):Vt(l)?Ht(z,{children:l},null,null,null):l.constructor==null&&l.__b>0?Ht(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,s=null,(u=l.__i=Ta(l,n,h,c))!=-1&&(c--,(s=n[u])&&(s.__u|=2)),s==null||s.__v==null?(u==-1&&(i>m?_--:i<m&&_++),typeof l.type!="function"&&(l.__u|=4)):u!=h&&(u==h-1?_--:u==h+1?_++:(u>h?_--:_++,l.__u|=4))):e.__k[o]=null;if(c)for(o=0;o<m;o++)(s=n[o])!=null&&(2&s.__u)==0&&(s.__e==r&&(r=bt(s)),Ni(s,s));return r}function Ei(e,t,n,r){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=Ei(i[o],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=bt(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function He(e,t){return t=t||[],e==null||typeof e=="boolean"||(Vt(e)?e.some(function(n){He(n,t)}):t.push(e)),t}function Ta(e,t,n,r){var i,o,l,s=e.key,h=e.type,u=t[n],m=u!=null&&(2&u.__u)==0;if(u===null&&e.key==null||m&&s==u.key&&h==u.type)return n;if(r>(m?1:0)){for(i=n-1,o=n+1;i>=0||o<t.length;)if((u=t[l=i>=0?i--:o++])!=null&&(2&u.__u)==0&&s==u.key&&h==u.type)return l}return-1}function Er(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Sa.test(t)?n:n+"px"}function nn(e,t,n,r,i){var o,l;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Er(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Er(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(wi,"$1")),l=t.toLowerCase(),t=l in e||t=="onFocusOut"||t=="onFocusIn"?l.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=or,e.addEventListener(t,o?Wn:Un,o)):e.removeEventListener(t,o?Wn:Un,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ar(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=or++;else if(t.t<n.u)return;return n(D.event?D.event(t):t)}}}function sr(e,t,n,r,i,o,l,s,h,u){var m,c,_,f,y,A,T,x,w,k,P,O,b,F,B,M,U,S=t.type;if(t.constructor!=null)return null;128&n.__u&&(h=!!(32&n.__u),o=[s=t.__e=n.__e]),(m=D.__b)&&m(t);e:if(typeof S=="function")try{if(x=t.props,w="prototype"in S&&S.prototype.render,k=(m=S.contextType)&&r[m.__c],P=m?k?k.props.value:m.__:r,n.__c?T=(c=t.__c=n.__c).__=c.__E:(w?t.__c=c=new S(x,P):(t.__c=c=new $e(x,P),c.constructor=S,c.render=Ia),k&&k.sub(c),c.props=x,c.state||(c.state={}),c.context=P,c.__n=r,_=c.__d=!0,c.__h=[],c._sb=[]),w&&c.__s==null&&(c.__s=c.state),w&&S.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=De({},c.__s)),De(c.__s,S.getDerivedStateFromProps(x,c.__s))),f=c.props,y=c.state,c.__v=t,_)w&&S.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),w&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(w&&S.getDerivedStateFromProps==null&&x!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(x,P),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(x,c.__s,P)===!1||t.__v==n.__v){for(t.__v!=n.__v&&(c.props=x,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(N){N&&(N.__=t)}),O=0;O<c._sb.length;O++)c.__h.push(c._sb[O]);c._sb=[],c.__h.length&&l.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(x,c.__s,P),w&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,y,A)})}if(c.context=P,c.props=x,c.__P=e,c.__e=!1,b=D.__r,F=0,w){for(c.state=c.__s,c.__d=!1,b&&b(t),m=c.render(c.props,c.state,c.context),B=0;B<c._sb.length;B++)c.__h.push(c._sb[B]);c._sb=[]}else do c.__d=!1,b&&b(t),m=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++F<25);c.state=c.__s,c.getChildContext!=null&&(r=De(De({},r),c.getChildContext())),w&&!_&&c.getSnapshotBeforeUpdate!=null&&(A=c.getSnapshotBeforeUpdate(f,y)),M=m,m!=null&&m.type===z&&m.key==null&&(M=Ti(m.props.children)),s=Si(e,Vt(M)?M:[M],t,n,r,i,o,l,s,h,u),c.base=t.__e,t.__u&=-161,c.__h.length&&l.push(c),T&&(c.__E=c.__=null)}catch(N){if(t.__v=null,h||o!=null)if(N.then){for(t.__u|=h?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else{for(U=o.length;U--;)lr(o[U]);Vn(t)}
vendor: 14,300 bytes, line 1
1else t.__e=n.__e,t.__k=n.__k,N.then||Vn(t);D.__e(N,t,n)}else o==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=Na(n.__e,t,n,r,i,o,l,h,u);return(m=D.diffed)&&m(t),128&t.__u?void 0:s}function Vn(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Vn)}function Ai(e,t,n){for(var r=0;r<n.length;r++)ur(n[r],n[++r],n[++r]);D.__c&&D.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){D.__e(o,i.__v)}})}function Ti(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:Vt(e)?e.map(Ti):De({},e)}function Na(e,t,n,r,i,o,l,s,h){var u,m,c,_,f,y,A,T=n.props,x=t.props,w=t.type;if(w=="svg"?i="http://www.w3.org/2000/svg":w=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!w&&(w?f.localName==w:f.nodeType==3)){e=f,o[u]=null;break}}if(e==null){if(w==null)return document.createTextNode(x);e=document.createElementNS(i,w,x.is&&x),s&&(D.__m&&D.__m(t,o),s=!1),o=null}if(w==null)T===x||s&&e.data==x||(e.data=x);else{if(o=o&&jt.call(e.childNodes),T=n.props||Ut,!s&&o!=null)for(T={},u=0;u<e.attributes.length;u++)T[(f=e.attributes[u]).name]=f.value;for(u in T)if(f=T[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(!(u in x)){if(u=="value"&&"defaultValue"in x||u=="checked"&&"defaultChecked"in x)continue;nn(e,u,null,f,i)}}for(u in x)f=x[u],u=="children"?_=f:u=="dangerouslySetInnerHTML"?m=f:u=="value"?y=f:u=="checked"?A=f:s&&typeof f!="function"||T[u]===f||nn(e,u,f,T[u],i);if(m)s||c&&(m.__html==c.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(c&&(e.innerHTML=""),Si(t.type=="template"?e.content:e,Vt(_)?_:[_],t,n,r,w=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,l,o?o[0]:n.__k&&bt(n,0),s,h),o!=null)for(u=o.length;u--;)lr(o[u]);s||(u="value",w=="progress"&&y==null?e.removeAttribute("value"):y!=null&&(y!==e[u]||w=="progress"&&!y||w=="option"&&y!=T[u])&&nn(e,u,y,T[u],i),u="checked",A!=null&&A!=e[u]&&nn(e,u,A,T[u],i))}return e}function ur(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(i){D.__e(i,n)}}function Ni(e,t,n){var r,i;if(D.unmount&&D.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||ur(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){D.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ni(r[i],t,n||typeof e.type!="function");n||lr(e.__e),e.__c=e.__=e.__e=void 0}function Ia(e,t,n){return this.constructor(e,n)}function xt(e,t,n){var r,i,o,l;t==document&&(t=document.documentElement),D.__&&D.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],l=[],sr(t,e=(!r&&n||t).__k=ue(z,null,[e]),i||Ut,Ut,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?jt.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,l),Ai(o,e,l)}function Ii(e,t){xt(e,t,Ii)}function qn(e,t,n){var r,i,o,l,s=De({},e.props);for(o in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?i=t[o]:s[o]=t[o]===void 0&&l!=null?l[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?jt.call(arguments,2):n),Ht(e.type,s,r||e.key,i||e.ref,null)}function cr(e){function t(n){var r,i;return this.getChildContext||(r=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(o){this.props.value!=o.value&&r.forEach(function(l){l.__e=!0,jn(l)})},this.sub=function(o){r.add(o);var l=o.componentWillUnmount;o.componentWillUnmount=function(){r&&r.delete(o),l&&l.call(o)}}),n.children}return t.__c="__cC"+vi++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}jt=ki.slice,D={__e:function(e,t,n,r){for(var i,o,l;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),l=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),l=i.__d),l)return i.__E=i}catch(s){e=s}throw e}},bi=0,$e.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=De({},this.state),typeof e=="function"&&(e=e(De({},n),this.props)),e&&De(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),jn(this))},$e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),jn(this))},$e.prototype.render=z,lt=[],xi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,yi=function(e,t){return e.__v.__b-t.__v.__b},mn.__r=0,wi=/(PointerCapture)$|Capture$/i,or=0,Un=Ar(!1),Wn=Ar(!0),vi=0;var Pa=0;function a(e,t,n,r,i,o){t||(t={});var l,s,h=t;if("ref"in h)for(s in h={},t)s=="ref"?l=t[s]:h[s]=t[s];var u={type:e,props:h,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Pa,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(l=e.defaultProps))for(s in l)h[s]===void 0&&(h[s]=l[s]);return D.vnode&&D.vnode(u),u}var et,Y,Nn,Tr,yt=0,Pi=[],J=D,Nr=J.__b,Ir=J.__r,Pr=J.diffed,Fr=J.__c,Lr=J.unmount,Or=J.__;function wt(e,t){J.__h&&J.__h(Y,e,yt||t),yt=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ee(e){return yt=1,qt(Mi,e)}function qt(e,t,n){var r=wt(et++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Mi(void 0,t),function(s){var h=r.__N?r.__N[0]:r.__[0],u=r.t(h,s);h!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.__f)){var i=function(s,h,u){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(_){return!!_.__c});if(m.every(function(_){return!_.__N}))return!o||o.call(this,s,h,u);var c=r.__c.props!==s;return m.forEach(function(_){if(_.__N){var f=_.__[0];_.__=_.__N,_.__N=void 0,f!==_.__[0]&&(c=!0)}}),o&&o.call(this,s,h,u)||c};Y.__f=!0;var o=Y.shouldComponentUpdate,l=Y.componentWillUpdate;Y.componentWillUpdate=function(s,h,u){if(this.__e){var m=o;o=void 0,i(s,h,u),o=m}l&&l.call(this,s,h,u)},Y.shouldComponentUpdate=i}return r.__N||r.__}function ce(e,t){var n=wt(et++,3);!J.__s&&hr(n.__H,t)&&(n.__=e,n.u=t,Y.__H.__h.push(n))}function ut(e,t){var n=wt(et++,4);!J.__s&&hr(n.__H,t)&&(n.__=e,n.u=t,Y.__h.push(n))}function Fe(e){return yt=5,vt(function(){return{current:e}},[])}function Fi(e,t,n){yt=6,ut(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function vt(e,t){var n=wt(et++,7);return hr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Li(e,t){return yt=8,vt(function(){return e},t)}function Kt(e){var t=Y.context[e.__c],n=wt(et++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function Oi(e,t){J.useDebugValue&&J.useDebugValue(t?t(e):e)}function Ri(){var e=wt(et++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Fa(){for(var e;e=Pi.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(cn),e.__H.__h.forEach(Kn),e.__H.__h=[]}catch(t){e.__H.__h=[],J.__e(t,e.__v)}}J.__b=function(e){Y=null,Nr&&Nr(e)},J.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Or&&Or(e,t)},J.__r=function(e){Ir&&Ir(e),et=0;var t=(Y=e.__c).__H;t&&(Nn===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(cn),t.__h.forEach(Kn),t.__h=[],et=0)),Nn=Y},J.diffed=function(e){Pr&&Pr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pi.push(t)!==1&&Tr===J.requestAnimationFrame||((Tr=J.requestAnimationFrame)||La)(Fa)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Nn=Y=null},J.__c=function(e,t){t.some(function(n){try{n.__h.forEach(cn),n.__h=n.__h.filter(function(r){return!r.__||Kn(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],J.__e(r,n.__v)}}),Fr&&Fr(e,t)},J.unmount=function(e){Lr&&Lr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{cn(r)}catch(i){t=i}}),n.__H=void 0,t&&J.__e(t,n.__v))};var Rr=typeof requestAnimationFrame=="function";function La(e){var t,n=function(){clearTimeout(r),Rr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Rr&&(t=requestAnimationFrame(n))}function cn(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Kn(e){var t=Y;e.__c=e.__(),Y=t}function hr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Mi(e,t){return typeof t=="function"?t(e):t}function Di(e,t){for(var n in t)e[n]=t[n];return e}function Gn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function zi(e,t){var n=t(),r=ee({t:{__:n,u:t}}),i=r[0].t,o=r[1];return ut(function(){i.__=n,i.u=t,In(i)&&o({t:i})},[e,n,t]),ce(function(){return In(i)&&o({t:i}),e(function(){In(i)&&o({t:i})})},[e]),n}function In(e){var t,n,r=e.u,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function $i(e){e()}function Hi(e){return e}function Bi(){return[!1,$i]}var Ui=ut;function Yn(e,t){this.props=e,this.context=t}function Oa(e,t){function n(i){var o=this.props.ref,l=o==i.ref;return!l&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!l:Gn(this.props,i)}function r(i){return this.shouldComponentUpdate=n,ue(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Yn.prototype=new $e).isPureReactComponent=!0,Yn.prototype.shouldComponentUpdate=function(e,t){return Gn(this.props,e)||Gn(this.state,t)};var Mr=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Mr&&Mr(e)};var Ra=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ma(e){function t(n){var r=Di({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ra,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Dr=function(e,t){return e==null?null:He(He(e).map(t))},Da={map:Dr,forEach:Dr,count:function(e){return e?He(e).length:0},only:function(e){var t=He(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:He},za=D.__e;D.__e=function(e,t,n,r){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}za(e,t,n,r)};var zr=D.unmount;function Wi(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Di({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Wi(r,t,n)})),e}function ji(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ji(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function hn(){this.__u=0,this.o=null,this.__b=null}function Vi(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function $a(e){var t,n,r;function i(o){if(t||(t=e()).then(function(l){n=l.default||l},function(l){r=l}),r)throw r;if(!n)throw t;return ue(n,o)}return i.displayName="Lazy",i.__f=!0,i}function zt(){this.i=null,this.l=null}D.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),zr&&zr(e)},(hn.prototype=new $e).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var i=Vi(r.__v),o=!1,l=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=l;var s=function(){if(!--r.__u){if(r.state.__a){var h=r.state.__a;r.__v.__k[0]=ji(h,h.__c.__P,h.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},hn.prototype.componentWillUnmount=function(){this.o=[]},hn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Wi(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&ue(z,null,e.fallback);return i&&(i.__u&=-33),[ue(z,null,t.__a?null:e.children),i]};var $r=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ha(e){return this.getChildContext=function(){return e.context},e.children}function Ba(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){xt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},insertBefore:function(i,o){this.childNodes.push(i),t.h.insertBefore(i,o)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),t.h.removeChild(i)}}}xt(ue(Ha,{context:t.context},e.__v),t.v)}function Ua(e,t){var n=ue(Ba,{__v:e,h:t});return n.containerInfo=t,n}(zt.prototype=new $e).__a=function(e){var t=this,n=Vi(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),$r(t,e,r)):i()};n?n(o):o()}},zt.prototype.render=function(e){this.i=null,this.l=new Map;var t=He(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},zt.prototype.componentDidUpdate=zt.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){$r(e,n,t)})};var qi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Wa=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ja=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Va=/[A-Z0-9]/g,qa=typeof document<"u",Ka=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ga(e,t,n){return t.__k==null&&(t.textContent=""),xt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ya(e,t,n){return Ii(e,t),typeof n=="function"&&n(),e?e.__c:null}$e.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($e.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Hr=D.event;function Za(){}function Qa(){return this.cancelBubble}function Xa(){return this.defaultPrevented}
1D.event=function(e){return Hr&&(e=Hr(e)),e.persist=Za,e.isPropagationStopped=Qa,e.isDefaultPrevented=Xa,e.nativeEvent=e};var fr,Ja={enumerable:!1,configurable:!0,get:function(){return this.class}},Br=D.vnode;D.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,r=t.type,i={},o=r.indexOf("-")===-1;for(var l in n){var s=n[l];if(!(l==="value"&&"defaultValue"in n&&s==null||qa&&l==="children"&&r==="noscript"||l==="class"||l==="className")){var h=l.toLowerCase();l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&s===!0?s="":h==="translate"&&s==="no"?s=!1:h[0]==="o"&&h[1]==="n"?h==="ondoubleclick"?l="ondblclick":h!=="onchange"||r!=="input"&&r!=="textarea"||Ka(n.type)?h==="onfocus"?l="onfocusin":h==="onblur"?l="onfocusout":ja.test(l)&&(l=h):h=l="oninput":o&&Wa.test(l)?l=l.replace(Va,"-$&").toLowerCase():s===null&&(s=void 0),h==="oninput"&&i[l=h]&&(l="oninputCapture"),i[l]=s}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=He(n.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=He(n.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Ja)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i})(e),e.$$typeof=qi,Br&&Br(e)};var Ur=D.__r;D.__r=function(e){Ur&&Ur(e),fr=e.__c};var Wr=D.diffed;D.diffed=function(e){Wr&&Wr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),fr=null};var eo={ReactCurrentDispatcher:{current:{readContext:function(e){return fr.__n[e.__c].props.value},useCallback:Li,useContext:Kt,useDebugValue:Oi,useDeferredValue:Hi,useEffect:ce,useId:Ri,useImperativeHandle:Fi,useInsertionEffect:Ui,useLayoutEffect:ut,useMemo:vt,useReducer:qt,useRef:Fe,useState:ee,useSyncExternalStore:zi,useTransition:Bi}}};function to(e){return ue.bind(null,e)}function yn(e){return!!e&&e.$$typeof===qi}function no(e){return yn(e)&&e.type===z}function ro(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function io(e){return yn(e)?qn.apply(null,arguments):e}function ao(e){return!!e.__k&&(xt(null,e),!0)}function oo(e){return e&&(e.base||e.nodeType===1&&e)||null}var lo=function(e,t){return e(t)},so=function(e,t){return e(t)},uo=z,co=yn,st={useState:ee,useId:Ri,useReducer:qt,useEffect:ce,useLayoutEffect:ut,useInsertionEffect:Ui,useTransition:Bi,useDeferredValue:Hi,useSyncExternalStore:zi,startTransition:$i,useRef:Fe,useImperativeHandle:Fi,useMemo:vt,useCallback:Li,useContext:Kt,useDebugValue:Oi,version:"18.3.1",Children:Da,render:Ga,hydrate:Ya,unmountComponentAtNode:ao,createPortal:Ua,createElement:ue,createContext:cr,createFactory:to,cloneElement:io,createRef:Ea,Fragment:z,isValidElement:yn,isElement:co,isFragment:no,isMemo:ro,findDOMNode:oo,Component:$e,PureComponent:Yn,memo:Oa,forwardRef:Ma,flushSync:so,unstable_batchedUpdates:lo,StrictMode:uo,Suspense:hn,SuspenseList:zt,lazy:$a,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:eo},jr={},ho="@vercel/analytics",fo="1.5.0",po=()=>{window.va||(window.va=function(...t){(window.vaq=window.vaq||[]).push(t)})};function Ki(){return typeof window<"u"}function Gi(){try{const e="production"}catch{}return"production"}function mo(e="auto"){if(e==="auto"){window.vam=Gi();return}window.vam=e}function go(){return(Ki()?window.vam:Gi())||"production"}function Zn(){return go()==="development"}function _o(e){return e.scriptSrc?e.scriptSrc:Zn()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js"}function bo(e={debug:!0}){var t;if(!Ki())return;mo(e.mode),po(),e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend));const n=_o(e);if(document.head.querySelector(`script[src*="${n}"]`))return;const r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn=ho+(e.framework?`/${e.framework}`:""),r.dataset.sdkv=fo,e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{const i=Zn()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${i}`)},Zn()&&e.debug===!1&&(r.dataset.debug="false"),document.head.appendChild(r)}function xo({route:e,path:t}){var n;(n=window.va)==null||n.call(window,"pageview",{route:e,path:t})}
1function yo(){if(!(typeof process>"u"||typeof jr>"u"))return jr.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function wo(e){return ce(()=>{var t;e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),ce(()=>{bo({framework:e.framework||"react",basePath:e.basePath??yo(),...e.route!==void 0&&{disableAutoTrack:!0},...e})},[]),ce(()=>{e.route&&e.path&&xo({route:e.route,path:e.path})},[e.route,e.path]),null}var Vr={},vo="@vercel/speed-insights",ko="1.2.0",Co=()=>{window.si||(window.si=function(...t){(window.siq=window.siq||[]).push(t)})};function So(){return typeof window<"u"}function Eo(){try{const e="production"}catch{}return"production"}function Yi(){return Eo()==="development"}function Ao(e){return e.scriptSrc?e.scriptSrc:Yi()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js"}function To(e={}){var t;if(!So()||e.route===null)return null;Co();const n=Ao(e);if(document.head.querySelector(`script[src*="${n}"]`))return null;e.beforeSend&&((t=window.si)==null||t.call(window,"beforeSend",e.beforeSend));const r=document.createElement("script");return r.src=n,r.defer=!0,r.dataset.sdkn=vo+(e.framework?`/${e.framework}`:""),r.dataset.sdkv=ko,e.sampleRate&&(r.dataset.sampleRate=e.sampleRate.toString()),e.route&&(r.dataset.route=e.route),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(r.dataset.dsn=e.dsn),Yi()&&e.debug===!1&&(r.dataset.debug="false"),r.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(r),{setRoute:i=>{r.dataset.route=i??void 0}}}function No(){if(!(typeof process>"u"||typeof Vr>"u"))return Vr.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function Io(e){ce(()=>{var n;e.beforeSend&&((n=window.si)==null||n.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);const t=Fe(null);return ce(()=>{if(t.current)e.route&&t.current(e.route);else{const n=To({framework:e.framework??"react",basePath:e.basePath??No(),...e});n&&(t.current=n.setRoute)}},[e.route]),null}let _t,$t;function Po(e){return!$t||(typeof $t=="string"?e.startsWith($t):$t.test(e))}function Fo(e,t){let n="";if(_t=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const r=t.composedPath().find(o=>o.nodeName=="A"&&o.href),i=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(r.target)||!Po(i))return e;_t=!0,t.preventDefault(),n=r.href.replace(location.origin,"")}else t&&t.url?(_t=!t.replace,n=t.url):n=location.pathname+location.search;return _t===!0?history.pushState(null,"",n):_t===!1&&history.replaceState(null,"",n),n}const Lo=(e,t,n={})=>{e=e.split("/").filter(Boolean),t=(t||"").split("/").filter(Boolean),n.params||(n.params={});for(let r=0,i,o;r<Math.max(e.length,t.length);r++){let[,l,s,h]=(t[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(i=e[r],!(!l&&s==i)){if(!l&&i&&h=="*"){n.rest="/"+e.slice(r).map(decodeURIComponent).join("/");break}if(!l||!i&&h!="?"&&h!="*")return;if(o=h=="+"||h=="*",o?i=e.slice(r).map(decodeURIComponent).join("/")||void 0:i&&(i=decodeURIComponent(i)),n.params[s]=i,s in n||(n[s]=i),o)break}}return n};function Gt(e){const[t,n]=qt(Fo,e.url||location.pathname+location.search);e.scope&&($t=e.scope);const r=_t===!0,i=vt(()=>{const o=new URL(t,location.origin),l=o.pathname.replace(/\/+$/g,"")||"/";return{url:t,path:l,query:Object.fromEntries(o.searchParams),route:(s,h)=>n({url:s,replace:h}),wasPush:r}},[t]);return ut(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),ue(Gt.ctx.Provider,{value:i},e.children)}const Oo=Promise.resolve();function Zi(e){const[t,n]=qt(M=>M+1,0),{url:r,query:i,wasPush:o,path:l}=Ro();if(!r)throw new Error("preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider");const{rest:s=l,params:h={}}=Kt(Qn),u=Fe(!1),m=Fe(l),c=Fe(0),_=Fe(),f=Fe(),y=Fe(),A=Fe(!1),T=Fe();T.current=!1;let x,w,k;He(e.children).some(M=>{if(Lo(s,M.props.path,k={...M.props,path:s,query:i,params:Object.assign({},h),rest:""}))return x=qn(M,k);M.props.default&&(w=qn(M,k))});let P=x||w;const O=_.current&&_.current.__u&rn&&_.current.__u&an,b=_.current&&_.current.__h,F=vt(()=>{f.current=_.current,_.current=ue(Qn.Provider,{value:k},P);const M=f.current&&f.current.props.children;return!M||!P||P.type!==M.type||P.props.component!==M.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),c.current++,!0):!1},[r,JSON.stringify(k)]);O?(_.current.__u|=rn,_.current.__u|=an):b&&(_.current.__h=!0);const B=f.current;return f.current=null,this.__c=(M,U)=>{T.current=!0,f.current=B,e.onLoadStart&&e.onLoadStart(r),u.current=!0;let S=c.current;M.then(()=>{S===c.current&&(f.current=null,_.current&&(U.__h&&(_.current.__h=U.__h),U.__u&an&&(_.current.__u|=an),U.__u&rn&&(_.current.__u|=rn)),Oo.then(n))})},ut(()=>{const M=this.__v&&this.__v.__e;if(T.current){!A.current&&!y.current&&(y.current=M);return}!A.current&&y.current&&(y.current!==M&&y.current.remove(),y.current=null),A.current=!0,m.current!==l&&(o&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(r),m.current=l),e.onLoadEnd&&u.current&&e.onLoadEnd(r),u.current=!1},[l,o,t]),F?[ue(Pn,{r:_}),ue(Pn,{r:f})]:ue(Pn,{r:_})}const rn=32,an=128,Pn=({r:e})=>e.current;Zi.Provider=Gt;Gt.ctx=cr({});const Qn=cr({}),Ae=e=>ue(e.component,e),Ro=()=>Kt(Gt.ctx),Mo=()=>Kt(Qn),qr=D.__b;D.__b=e=>{e.type&&e.type._forwarded&&e.ref&&(e.props.ref=e.ref,e.ref=null),qr&&qr(e)};const Kr=D.__e;
1D.__e=(e,t,n)=>{if(e&&e.then){let r=t;for(;r=r.__;)if(r.__c&&r.__c.__c)return t.__e==null&&(t.__c.__z=[n.__e],t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),r.__c.__c(e,t)}Kr&&Kr(e,t,n)};function Do(e){return this.__c=zo,this.componentDidCatch=e.onError,e.children}function zo(e){e.then(()=>this.forceUpdate())}function pr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ze(e){return!(e==null||typeof e!="string"||gn(e)==="")}function wn(e,t){return typeof e=="string"&&ze(e)&&t.includes(e)}function $o(e){return e.replace(/\x1b\[[0-9;?]*[ -/]*[@-~]/g,"").replace(/\e\[[0-9;?]*[ -/]*[@-~]/g,"")}function gn(e,t){const{preserveCase:n,strict:r,removeCliColors:i,keepSpaces:o}={preserveCase:!1,strict:!1,keepSpaces:!0,removeCliColors:!1,...t};if(e==null||typeof e!="string"||e.trim()=="")return"";const l=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g," ").trim(),s=i?$o(l):l,h=n?s:s.toLowerCase();return r?h.replace(o?/[^a-zA-Z0-9 ]+/g:/[\s\W_]+/g,""):h}function Ho(e){if(!ze(e))throw`Invalid KPS (not a string): ${e}.`;const t=e.split(":");if(t.length!==2&&t.length!==3)throw`Invalid KPS (${t.length} occurrences upon splitting): ${e}`;const n=t[0],r=t[1];if(!n)throw`Invalid KPS (no prefix): ${e}`;if(!r)throw`Invalid KPS (no suffix): ${e}`;if(!wn(n,Bo))throw`Invalid KPS (prefix does not match specification): ${e}`;const i=n==="apt"?"apt":n==="nix"?"nix-env":n==="brew"?"brew":n==="brew-k"?"brew --cask":n==="wget"?"winget":n==="fpak"?"flatpak":n==="snap"||n==="snap-c"?"snap":n==="cho"?"choco":"scoop",o=n==="cho"?"Chocolatey":n==="scp"?"Scoop":n==="fpak"?"Flatpak":n==="wget"?"WinGet":n==="brew"||n==="brew-k"?"Homebrew":n==="apt"?"DPKG":n==="nix"?"Nix":"SnapCraft";if(!r.includes("@"))return n==="kbi"?{src:n,value:r,cmd:null,name:"Konbini"}:{src:n,value:r,cmd:i,name:o};const l=e.split("@")[1];if(!ze(l))throw`Invalid KPS (w/srcset) (Invalid string): ${l}`;const s=l.split("#"),h=s[0],u=s[1];if(!ze(h))throw`Invalid KPS (w/srcset) (no/invalid prefix): ${l}`;if(!ze(u)&&n!=="apt")throw`Invalid KPS (w/srcset) (no suffix): ${l}`;return{src:n,value:r.split("@")[0],cmd:i,name:o,at:{url:h==="-"?null:h??null,name:u??null}}}const Bo=["wget","apt","snap","snap-c","nix","brew","brew-k","fpak","scp","cho","kbi"];function Uo(e){switch(e){case"MIT":return"MIT License";case"AGPLv3":return"GNU Affero General Public License v3.0";case"GPLv3":return"GNU General Public License v3.0";case"GPLv2":return"GNU General Public License v2.0";case"Apache2":return"Apache License 2.0";case"BSD2Clause":return"BSD 2-Clause License";case"BSD3Clause":return"BSD 3-Clause License";case"ISC":return"ISC License";case"MPLv2":return"Mozilla Public License 2.0";case"LGPLv3":return"GNU Lesser General Public License v3.0";case"EPLv2":return"Eclipse Public License 2.0";case"Unlicense":return"The Unlicense";case"Zlib":return"zlib License";case"PublicDomain":return"Public domain";case"ProprietaryLicense":return"Proprietary license"}}function Wo(e){return!!e.startsWith("kbi:")}function jo(e){return e.substances||e.violence?"very_high":e.money?"high":e.social?"mid":"everyone"}function Vo(e){const t=e.split(":");if(!ze(t[0])||!ze(t[1])||!wn(t[0],["gh","gl","cb"]))return!1;const n=t[1].split("/");return!(!ze(n[0])||!ze(n[1]))}function qo(e){if(!Vo(e))throw`Invalid REPOSITORY_SCOPE "${e}".`;const t=e.split(":"),n=t[1],r=n.split("/");return t[0]==="gh"?{source:"gh",main:`https://api.github.com/repos/${r[0]}/${r[1]}`,all_releases:`https://api.github.com/repos/${r[0]}/${r[1]}/releases`,release:i=>`https://api.github.com/repos/${r[0]}/${r[1]}/releases/tags/${i}`,public:`https://github.com/${r[0]}/${r[1]}`,file:(i,o)=>`https://raw.githubusercontent.com/${r[0]}/${r[1]}/${i}/${o}`}:t[0]==="gl"?{source:"gl",main:`https://gitlab.com/api/v4/projects/${encodeURIComponent(n)}`,all_releases:`https://gitlab.com/api/v4/projects/${encodeURIComponent(n)}/releases`,release:i=>`https://gitlab.com/api/v4/projects/${encodeURIComponent(n)}/releases/${i}`,public:`https://gitlab.com/${r[0]}/${r[1]}`,file:(i,o)=>`https://gitlab.com/${r[0]}/${r[1]}/-/raw/${i}/${o}`}:{source:"cb",main:`https://codeberg.org/api/v1/repos/${r[0]}/${r[1]}`,all_releases:`https://codeberg.org/api/v1/repos/${r[0]}/${r[1]}/releases`,release:i=>`https://codeberg.org/api/v1/repos/${r[0]}/${r[1]}/releases/tags/${i}`,public:`https://codeberg.org/${r[0]}/${r[1]}`,file:(i,o)=>`https://codeberg.org/${r[0]}/${r[1]}/raw/${i}/${o}`}}const Ko={},on=Ko.BEARER,Qi=typeof window<"u"&&typeof document<"u",Go=Qi?caches:{open:async e=>({match:async()=>{},put:async()=>{}})},Yo=2880*60*1e3;function Zo(e){if(!Qi)return!1;const t=e.headers.get("x-cache-date");if(!t)return!1;const n=new Date(t);return Number.isNaN(n.getTime())?!1:Date.now()-n.getTime()<=Yo}async function Yt(e,t="GET"){const n=e.replaceAll("//","/").replace("https:/","https://").replace("?ref=main",""),r=await Go.open("kbi-cache"),i=await r.match(n);if(i&&Zo(i))return i;const o=await fetch(n,{headers:ze(on)&&n.startsWith("https://api.github")?{Authorization:on.startsWith("Bearer ")?on:"Bearer "+on.trim()}:void 0,method:t}),l=o.clone(),s=o.clone(),h=await l.json().catch(c=>{const _=String(c);
1if(_.includes("Failed to parse JSON")||_.includes("is not valid JSON")||_.includes("JSON Parse error"))return{};throw c});if(h.message&&h.message.includes("rate limit exceeded"))throw console.debug("[ X ] Failed with error",h),`API rate limit exceeded. Konbini has a slightly strict per-user API limit.
2This error occurs if you use the CLI too much in a short period of time.
3('Use it' in the sense of downloading packages; internet-less operations like 'list' do not cause this).
4Please try again later (in an hour at most, possibly less).`;const u=new Headers(s.headers);u.set("x-cache-date",new Date().toISOString());const m=new Response(await s.blob(),{status:s.status,statusText:s.statusText,headers:u});return await r.put(n,m),o}function Qo(e){return gn(e,{preserveCase:!1,strict:!1,removeCliColors:!0})}function Xi(e){const t=Qo(e).split(".");if(t.length!==2&&t.length!==3)throw`Invalid author/package ID length (checking ${e})`;if(!wn(t[0],["usr","org"]))throw`Invalid author/package ID prefix (checking ${e}).`;if(!t[1])throw`Invalid author/package ID, no 2nd part (checking ${e}).`;const n=(t[2]??t[1]).slice(0,2);if(n.length!==2)throw`Invalid author/package ID, delimiter too short (checking ${e}).`;return{pref:t[0],delimiter:n,user:t[1],package:t[2]??null,user_id:`${t[0]}.${t[1]}`,package_id:t[2]?`${t[0]}.${t[1]}.${t[2]}`:null}}function Xo(e){const t=Xi(e);if(!t.package)throw`No package provided for supposedly package ID (${e})`;const n=`https://konbini-data.vercel.app/api/pkg?id=${e}`,r=`https://github.com/HanaOrg/KonbiniPkgs/blob/main/${t.delimiter}/${t.pref}.${t.user}/${t.package}.yaml`;return{manifest:n,manifestPub:r}}function Jo(e){const t=Xi(e),n=`https://konbini-data.vercel.app/api/author?id=${e}`,r=`https://github.com/HanaOrg/KonbiniAuthors/blob/main/${t.pref}/${t.delimiter}/${t.user}.yaml`,i=["https://raw.githubusercontent.com/HanaOrg/KonbiniAuthors/main",t.pref,t.delimiter,t.user+".asc"].join("/"),o=i.replace("raw.githubusercontent","github").replace("main","blob/main");return{manifest:n,manifestPub:r,signature:i,signaturePub:o}}const Gr=document.createElement("i");function Ji(e){const t="&"+e+";";Gr.innerHTML=t;const n=Gr.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Be(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function oe(e,t){return e.length>0?(Be(e,e.length,0,t),e):t}const Xn={}.hasOwnProperty;function el(e){const t={};let n=-1;for(;++n<e.length;)tl(t,e[n]);return t}function tl(e,t){let n;for(n in t){const i=(Xn.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Xn.call(i,l)||(i[l]=[]);const s=o[l];nl(i[l],Array.isArray(s)?s:s?[s]:[])}}}function nl(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Be(e,0,0,r)}function rl(e){const t={};let n=-1;for(;++n<e.length;)il(t,e[n]);return t}function il(e,t){let n;for(n in t){const i=(Xn.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o)i[l]=o[l]}}function al(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const ol={'"':"quot","&":"amp","<":"lt",">":"gt"};function ea(e){return e.replace(/["&<>]/g,t);function t(n){return"&"+ol[n]+";"}}function Wt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Me=tt(/[A-Za-z]/),Ce=tt(/[\dA-Za-z]/),ll=tt(/[#-'*+\--9=?A-Z^-~]/);function Jn(e){return e!==null&&(e<32||e===127)}const er=tt(/\d/),sl=tt(/[\dA-Fa-f]/),ul=tt(/[!-/:-@[-`{-~]/);function R(e){return e!==null&&e<-2}function _e(e){return e!==null&&(e<0||e===32)}function W(e){return e===-2||e===-1||e===32}const cl=tt(/\p{P}|\p{S}/u),hl=tt(/\s/);function tt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ln(e,t){const n=ea(fl(e||""));if(!t)return n;const r=n.indexOf(":"),i=n.indexOf("?"),o=n.indexOf("#"),l=n.indexOf("/");return r<0||l>-1&&r>l||i>-1&&r>i||o>-1&&r>o||t.test(n.slice(0,r))?n:""}function fl(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&Ce(e.charCodeAt(n+1))&&Ce(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(l=String.fromCharCode(o,s),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Yr={}.hasOwnProperty,Zr=/^(https?|ircs?|mailto|xmpp)$/i,pl=/^https?$/i;function dl(e){const t=e||{};let n=!0;const r={},i=[[]],o=[],l=[],h=rl([{enter:{blockQuote:H,codeFenced:Ne,codeFencedFenceInfo:T,codeFencedFenceMeta:T,codeIndented:Se,codeText:Je,content:pt,definition:ht,definitionDestinationString:kt,definitionLabelString:T,definitionTitleString:T,emphasis:dt,htmlFlow:At,htmlText:rt,image:de,label:T,link:q,listItemMarker:S,listItemValue:U,listOrdered:B,listUnordered:M,paragraph:ne,reference:T,resource:je,resourceDestinationString:Oe,resourceTitleString:T,setextHeading:Xt,strong:Ie},exit:{atxHeading:St,atxHeadingSequence:Qt,autolinkEmail:En,autolinkProtocol:at,blockQuote:re,characterEscapeValue:Ee,characterReferenceMarkerHexadecimal:it,characterReferenceMarkerNumeric:it,characterReferenceValue:Sn,codeFenced:
4p,codeFencedFence:j,codeFencedFenceInfo:d,codeFencedFenceMeta:F,codeFlowValue:en,codeIndented:p,codeText:Nt,codeTextData:Ee,data:Ee,definition:ft,definitionDestinationString:Ct,definitionLabelString:qe,definitionTitleString:Qe,emphasis:It,hardBreakEscape:Et,hardBreakTrailing:Et,htmlFlow:Tt,htmlFlowData:Ee,htmlText:Tt,htmlTextData:Ee,image:Ve,label:We,labelText:Q,lineEnding:Jt,link:Ve,listOrdered:N,listUnordered:V,paragraph:pe,reference:F,referenceString:le,resource:F,resourceDestinationString:ct,resourceTitleString:Zt,setextHeading:Xe,setextHeadingLineSequence:nt,setextHeadingText:kn,strong:Cn,thematicBreak:mt}},...t.htmlExtensions||[]]),u={definitions:r,tightStack:l},m={buffer:T,encode:b,getData:A,lineEndingIfNeeded:O,options:t,raw:k,resume:x,setData:y,tag:w};let c=t.defaultLineEnding;return _;function _(C){let E=-1,X=0;const be=[];let xe=[],ye=[];for(;++E<C.length;)!c&&(C[E][1].type==="lineEnding"||C[E][1].type==="lineEndingBlank")&&(c=C[E][2].sliceSerialize(C[E][1])),(C[E][1].type==="listOrdered"||C[E][1].type==="listUnordered")&&(C[E][0]==="enter"?be.push(E):f(C.slice(be.pop(),E))),C[E][1].type==="definition"&&(C[E][0]==="enter"?(ye=oe(ye,C.slice(X,E)),X=E):(xe=oe(xe,C.slice(X,E+1)),X=E+1));xe=oe(xe,ye),xe=oe(xe,C.slice(X)),E=-1;const we=xe;for(h.enter.null&&h.enter.null.call(m);++E<C.length;){const Pt=h[we[E][0]],tn=we[E][1].type,ve=Pt[tn];Yr.call(Pt,tn)&&ve&&ve.call({sliceSerialize:we[E][2].sliceSerialize,...m},we[E][1])}return h.exit.null&&h.exit.null.call(m),i[0].join("")}function f(C){const E=C.length;let X=0,be=0,xe=!1,ye;for(;++X<E;){const we=C[X];if(we[1]._container)ye=void 0,we[0]==="enter"?be++:be--;else switch(we[1].type){case"listItemPrefix":{we[0]==="exit"&&(ye=!0);break}case"linePrefix":break;case"lineEndingBlank":{we[0]==="enter"&&!be&&(ye?ye=void 0:xe=!0);break}default:ye=void 0}}C[0][1]._loose=xe}function y(C,E){u[C]=E}function A(C){return u[C]}function T(){i.push([])}function x(){return i.pop().join("")}function w(C){n&&(y("lastWasTag",!0),i[i.length-1].push(C))}function k(C){y("lastWasTag"),i[i.length-1].push(C)}function P(){k(c||`
5`)}
vendor: 6,437 bytes, line 5
5function O(){const C=i[i.length-1],E=C[C.length-1],X=E?E.charCodeAt(E.length-1):null;X===10||X===13||X===null||P()}function b(C){return A("ignoreEncode")?C:ea(C)}function F(){x()}function B(C){l.push(!C._loose),O(),w("<ol"),y("expectFirstItem",!0)}function M(C){l.push(!C._loose),O(),w("<ul"),y("expectFirstItem",!0)}function U(C){if(A("expectFirstItem")){const E=Number.parseInt(this.sliceSerialize(C),10);E!==1&&w(' start="'+b(String(E))+'"')}}function S(){A("expectFirstItem")?w(">"):K(),O(),w("<li>"),y("expectFirstItem"),y("lastWasTag")}function N(){K(),l.pop(),P(),w("</ol>")}function V(){K(),l.pop(),P(),w("</ul>")}function K(){A("lastWasTag")&&!A("slurpAllLineEndings")&&O(),w("</li>"),y("slurpAllLineEndings")}function H(){l.push(!1),O(),w("<blockquote>")}function re(){l.pop(),O(),w("</blockquote>"),y("slurpAllLineEndings")}function ne(){l[l.length-1]||(O(),w("<p>")),y("slurpAllLineEndings")}function pe(){l[l.length-1]?y("slurpAllLineEndings",!0):w("</p>")}function Ne(){O(),w("<pre><code"),y("fencesCount",0)}function d(){const C=x();w(' class="language-'+C+'"')}function j(){const C=A("fencesCount")||0;C||(w(">"),y("slurpOneLineEnding",!0)),y("fencesCount",C+1)}function Se(){O(),w("<pre><code>")}function p(){const C=A("fencesCount");C!==void 0&&C<2&&u.tightStack.length>0&&!A("lastWasTag")&&P(),A("flowCodeSeenData")&&O(),w("</code></pre>"),C!==void 0&&C<2&&O(),y("flowCodeSeenData"),y("fencesCount"),y("slurpOneLineEnding")}function de(){o.push({image:!0}),n=void 0}function q(){o.push({})}function Q(C){o[o.length-1].labelId=this.sliceSerialize(C)}function We(){o[o.length-1].label=x()}function le(C){o[o.length-1].referenceId=this.sliceSerialize(C)}function je(){T(),o[o.length-1].destination=""}function Oe(){T(),y("ignoreEncode",!0)}function ct(){o[o.length-1].destination=x(),y("ignoreEncode")}function Zt(){o[o.length-1].title=x()}function Ve(){let C=o.length-1;const E=o[C],X=E.referenceId||E.labelId,be=E.destination===void 0?r[Wt(X)]:E;for(n=!0;C--;)if(o[C].image){n=void 0;break}E.image?(w('<img src="'+ln(be.destination,t.allowDangerousProtocol?void 0:pl)+'" alt="'),k(E.label),w('"')):w('<a href="'+ln(be.destination,t.allowDangerousProtocol?void 0:Zr)+'"'),w(be.title?' title="'+be.title+'"':""),E.image?w(" />"):(w(">"),k(E.label),w("</a>")),o.pop()}function ht(){T(),o.push({})}function qe(C){x(),o[o.length-1].labelId=this.sliceSerialize(C)}function kt(){T(),y("ignoreEncode",!0)}function Ct(){o[o.length-1].destination=x(),y("ignoreEncode")}function Qe(){o[o.length-1].title=x()}function ft(){const C=o[o.length-1],E=Wt(C.labelId);x(),Yr.call(r,E)||(r[E]=o[o.length-1]),o.pop()}function pt(){y("slurpAllLineEndings",!0)}function Qt(C){A("headingRank")||(y("headingRank",this.sliceSerialize(C).length),O(),w("<h"+A("headingRank")+">"))}function Xt(){T(),y("slurpAllLineEndings")}function kn(){y("slurpAllLineEndings",!0)}function St(){w("</h"+A("headingRank")+">"),y("headingRank")}function nt(C){y("headingRank",this.sliceSerialize(C).charCodeAt(0)===61?1:2)}function Xe(){const C=x();O(),w("<h"+A("headingRank")+">"),k(C),w("</h"+A("headingRank")+">"),y("slurpAllLineEndings"),y("headingRank")}function Ee(C){k(b(this.sliceSerialize(C)))}function Jt(C){if(!A("slurpAllLineEndings")){if(A("slurpOneLineEnding")){y("slurpOneLineEnding");return}if(A("inCodeText")){k(" ");return}k(b(this.sliceSerialize(C)))}}function en(C){k(b(this.sliceSerialize(C))),y("flowCodeSeenData",!0)}function Et(){w("<br />")}function At(){O(),rt()}function Tt(){y("ignoreEncode")}function rt(){t.allowDangerousHtml&&y("ignoreEncode",!0)}function dt(){w("<em>")}function Ie(){w("<strong>")}function Je(){y("inCodeText",!0),w("<code>")}function Nt(){y("inCodeText"),w("</code>")}function It(){w("</em>")}function Cn(){w("</strong>")}function mt(){O(),w("<hr />")}function it(C){y("characterReferenceType",C.type)}function Sn(C){const E=this.sliceSerialize(C),X=A("characterReferenceType")?al(E,A("characterReferenceType")==="characterReferenceMarkerNumeric"?10:16):Ji(E);k(b(X)),y("characterReferenceType")}function at(C){const E=this.sliceSerialize(C);w('<a href="'+ln(E,t.allowDangerousProtocol?void 0:Zr)+'">'),k(b(E)),w("</a>")}function En(C){const E=this.sliceSerialize(C);w('<a href="'+ln("mailto:"+E)+'">'),k(b(E)),w("</a>")}}function G(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(h){return W(h)?(e.enter(n),s(h)):t(h)}function s(h){return W(h)&&o++<i?(e.consume(h),s):(e.exit(n),t(h))}}const ml={tokenize:gl};function gl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),G(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const h=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=h),n=h,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return R(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),l)}}const _l={tokenize:bl},Qr={tokenize:xl};function bl(e){const t=this,n=[];let r=0,i,o,l;return s;function s(k){if(r<n.length){const P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,h,u)(k)}return u(k)}function h(k){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&w();const P=t.events.length;let O=P,b;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){b=t.events[O][1].end;break}x(r);let F=P;for(;F<t.events.length;)t.events[F][1].end={...b},F++;return Be(t.events,O+1,0,t.events.slice(P)),t.events.length=F,u(k)}return s(k)}function u(k){if(r===n.length){if(!i)return _(k);if(i.currentConstruct&&i.currentConstruct.concrete)return y(k);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Qr,m,c)(k)}function m(k){return i&&w(),x(r),_(k)}function c(k){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,y(k)}function _(k){return t.containerState={},e.attempt(Qr,f,y)(k)}function f(k){return r++,n.push([t.currentConstruct,t.containerState]),_(k)}function y(k){if(k===null){i&&w(),x(0),e.consume(k);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),A(k)}function A(k){if(k===null){T(e.exit("chunkFlow"),!0),x(0),e.consume(k);return}return R(k)?(e.consume(k),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(k),A)}function T(k,P){const O=t.sliceStream(k);
vendor: 6,646 bytes, line 5
5if(P&&O.push(null),k.previous=o,o&&(o.next=k),o=k,i.defineSkip(k.start),i.write(O),t.parser.lazy[k.start.line]){let b=i.events.length;for(;b--;)if(i.events[b][1].start.offset<l&&(!i.events[b][1].end||i.events[b][1].end.offset>l))return;const F=t.events.length;let B=F,M,U;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(M){U=t.events[B][1].end;break}M=!0}for(x(r),b=F;b<t.events.length;)t.events[b][1].end={...U},b++;Be(t.events,B+1,0,t.events.slice(F)),t.events.length=b}}function x(k){let P=n.length;for(;P-- >k;){const O=n[P];t.containerState=O[1],O[0].exit.call(t,e)}n.length=k}function w(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xl(e,t,n){return G(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Xr(e){if(e===null||_e(e)||hl(e))return 1;if(cl(e))return 2}function dr(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const tr={name:"attention",resolveAll:yl,tokenize:wl};function yl(e,t){let n=-1,r,i,o,l,s,h,u,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;h=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},_={...e[n][1].start};Jr(c,-h),Jr(_,h),l={type:h>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},s={type:h>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:_},o={type:h>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:h>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[r][1].end={...l.start},e[n][1].start={...s.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=oe(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=oe(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=oe(u,dr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=oe(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,u=oe(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,Be(e,r-1,n-r+3,u),n=r+u.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function wl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Xr(r);let o;return l;function l(h){return o=h,e.enter("attentionSequence"),s(h)}function s(h){if(h===o)return e.consume(h),s;const u=e.exit("attentionSequence"),m=Xr(h),c=!m||m===2&&i||n.includes(h),_=!i||i===2&&m||n.includes(r);return u._open=!!(o===42?c:c&&(i||!_)),u._close=!!(o===42?_:_&&(m||!c)),t(h)}}function Jr(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const vl={name:"autolink",tokenize:kl};function kl(e,t,n){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(f){return Me(f)?(e.consume(f),l):f===64?n(f):u(f)}function l(f){return f===43||f===45||f===46||Ce(f)?(r=1,s(f)):u(f)}function s(f){return f===58?(e.consume(f),r=0,h):(f===43||f===45||f===46||Ce(f))&&r++<32?(e.consume(f),s):(r=0,u(f))}function h(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||Jn(f)?n(f):(e.consume(f),h)}function u(f){return f===64?(e.consume(f),m):ll(f)?(e.consume(f),u):n(f)}function m(f){return Ce(f)?c(f):n(f)}function c(f){return f===46?(e.consume(f),r=0,m):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):_(f)}function _(f){if((f===45||Ce(f))&&r++<63){const y=f===45?_:c;return e.consume(f),y}return n(f)}}const vn={partial:!0,tokenize:Cl};function Cl(e,t,n){return r;function r(o){return W(o)?G(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||R(o)?t(o):n(o)}}const ta={continuation:{tokenize:El},exit:Al,name:"blockQuote",tokenize:Sl};function Sl(e,t,n){const r=this;return i;function i(l){if(l===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return W(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function El(e,t,n){const r=this;return i;function i(l){return W(l)?G(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(ta,t,n)(l)}}function Al(e){e.exit("blockQuote")}const na={name:"characterEscape",tokenize:Tl};function Tl(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return ul(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const ra={name:"characterReference",tokenize:Nl};function Nl(e,t,n){const r=this;let i=0,o,l;return s;function s(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),h}function h(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,l=Ce,m(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=sl,m):(e.enter("characterReferenceValue"),o=7,l=er,m(c))}function m(c){if(c===59&&i){const _=e.exit("characterReferenceValue");return l===Ce&&!Ji(r.sliceSerialize(_))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<o?(e.consume(c),m):n(c)}}const ei={partial:!0,tokenize:Pl},ti={concrete:!0,name:"codeFenced",tokenize:Il};function Il(e,t,n){const r=this,i={partial:!0,tokenize:O};let o=0,l=0,s;return h;function h(b){return u(b)}function u(b){const F=r.events[r.events.length-1];return o=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,s=b,e.enter("co
5deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(b)}function m(b){return b===s?(l++,e.consume(b),m):l<3?n(b):(e.exit("codeFencedFenceSequence"),W(b)?G(e,c,"whitespace")(b):c(b))}function c(b){return b===null||R(b)?(e.exit("codeFencedFence"),r.interrupt?t(b):e.check(ei,A,P)(b)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),_(b))}function _(b){return b===null||R(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(b)):W(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),G(e,f,"whitespace")(b)):b===96&&b===s?n(b):(e.consume(b),_)}function f(b){return b===null||R(b)?c(b):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(b))}function y(b){return b===null||R(b)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(b)):b===96&&b===s?n(b):(e.consume(b),y)}function A(b){return e.attempt(i,P,T)(b)}function T(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),x}function x(b){return o>0&&W(b)?G(e,w,"linePrefix",o+1)(b):w(b)}function w(b){return b===null||R(b)?e.check(ei,A,P)(b):(e.enter("codeFlowValue"),k(b))}function k(b){return b===null||R(b)?(e.exit("codeFlowValue"),w(b)):(e.consume(b),k)}function P(b){return e.exit("codeFenced"),t(b)}function O(b,F,B){let M=0;return U;function U(H){return b.enter("lineEnding"),b.consume(H),b.exit("lineEnding"),S}function S(H){return b.enter("codeFencedFence"),W(H)?G(b,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):N(H)}function N(H){return H===s?(b.enter("codeFencedFenceSequence"),V(H)):B(H)}function V(H){return H===s?(M++,b.consume(H),V):M>=l?(b.exit("codeFencedFenceSequence"),W(H)?G(b,K,"whitespace")(H):K(H)):B(H)}function K(H){return H===null||R(H)?(b.exit("codeFencedFence"),F(H)):B(H)}}}function Pl(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const Fn={name:"codeIndented",tokenize:Ll},Fl={partial:!0,tokenize:Ol};function Ll(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),G(e,o,"linePrefix",5)(u)}function o(u){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?h(u):R(u)?e.attempt(Fl,l,h)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||R(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function h(u){return e.exit("codeIndented"),t(u)}}function Ol(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):R(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):G(e,o,"linePrefix",5)(l)}function o(l){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):R(l)?i(l):n(l)}}const Rl={name:"codeText",previous:Dl,resolve:Ml,tokenize:zl};function Ml(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Dl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zl(e,t,n){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),s(c)}function s(c){return c===96?(e.consume(c),r++,s):(e.exit("codeTextSequence"),h(c))}function h(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),h):c===96?(o=e.enter("codeTextSequence"),i=0,m(c)):R(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),h):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||R(c)?(e.exit("codeTextData"),h(c)):(e.consume(c),u)}function m(c){return c===96?(e.consume(c),i++,m):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(o.type="codeTextData",u(c))}}class $l{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Ft(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ft(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ft(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ft(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ft(this.left,n.reverse())}}}function Ft(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ia(e){const t={};let n=-1,r,i,o,l,s,h,u;const m=new $l(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(h=r[1]._tokenizer.events,o=0,o<h.length&&h[o][1].type==="lineEndingBlank"&&(o+=2),o<h.length&&h[o][1].type==="content"))for(;++o<h.length&&h[o][1].type!=="content";)h[o][1].type==="chunkText"&&(h[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Hl(m,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=m.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(m.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...m.get(i)[1].start},s=m.slice(i,n),s.unshift(r),m.splice(i,n-i+1,s))}}return Be(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!u}function Hl(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const s=l.events,h=[],u={};let m,c,_=-1,f=n,y=0,A=0;const T=[A];for(;f;){for(;e.get(++i)[1]!==f;);o.push(i),f._tokenizer||(m=r.sliceStream(f),f.next||m.push(null),c&&l.defineSki
vendor: 18,539 bytes, line 5
5p(f.start),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=n;++_<s.length;)s[_][0]==="exit"&&s[_-1][0]==="enter"&&s[_][1].type===s[_-1][1].type&&s[_][1].start.line!==s[_][1].end.line&&(A=_+1,T.push(A),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(l.events=[],f?(f._tokenizer=void 0,f.previous=void 0):T.pop(),_=T.length;_--;){const x=s.slice(T[_],T[_+1]),w=o.pop();h.push([w,w+x.length-1]),e.splice(w,2,x)}for(h.reverse(),_=-1;++_<h.length;)u[y+h[_][0]]=y+h[_][1],y+=h[_][1]-h[_][0]-1;return u}const Bl={resolve:Wl,tokenize:jl},Ul={partial:!0,tokenize:Vl};function Wl(e){return ia(e),e}function jl(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):R(s)?e.check(Ul,l,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function l(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Vl(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),G(e,o,"linePrefix")}function o(l){if(l===null||R(l))return n(l);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function aa(e,t,n,r,i,o,l,s,h){const u=h||Number.POSITIVE_INFINITY;let m=0;return c;function c(x){return x===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(x),e.exit(o),_):x===null||x===32||x===41||Jn(x)?n(x):(e.enter(r),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),A(x))}function _(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===62?(e.exit("chunkString"),e.exit(s),_(x)):x===null||x===60||R(x)?n(x):(e.consume(x),x===92?y:f)}function y(x){return x===60||x===62||x===92?(e.consume(x),f):f(x)}function A(x){return!m&&(x===null||x===41||_e(x))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(r),t(x)):m<u&&x===40?(e.consume(x),m++,A):x===41?(e.consume(x),m--,A):x===null||x===32||x===40||Jn(x)?n(x):(e.consume(x),x===92?T:A)}function T(x){return x===40||x===41||x===92?(e.consume(x),A):A(x)}}function oa(e,t,n,r,i,o){const l=this;let s=0,h;return u;function u(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(o),m}function m(f){return s>999||f===null||f===91||f===93&&!h||f===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(f):f===93?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):R(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||R(f)||s++>999?(e.exit("chunkString"),m(f)):(e.consume(f),h||(h=!W(f)),f===92?_:c)}function _(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}function la(e,t,n,r,i,o){let l;return s;function s(_){return _===34||_===39||_===40?(e.enter(r),e.enter(i),e.consume(_),e.exit(i),l=_===40?41:_,h):n(_)}function h(_){return _===l?(e.enter(i),e.consume(_),e.exit(i),e.exit(r),t):(e.enter(o),u(_))}function u(_){return _===l?(e.exit(o),h(l)):_===null?n(_):R(_)?(e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),G(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===l||_===null||R(_)?(e.exit("chunkString"),u(_)):(e.consume(_),_===92?c:m)}function c(_){return _===l||_===92?(e.consume(_),m):m(_)}}function Bt(e,t){let n;return r;function r(i){return R(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):W(i)?G(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ql={name:"definition",tokenize:Gl},Kl={partial:!0,tokenize:Yl};function Gl(e,t,n){const r=this;let i;return o;function o(f){return e.enter("definition"),l(f)}function l(f){return oa.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function s(f){return i=Wt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),h):n(f)}function h(f){return _e(f)?Bt(e,u)(f):u(f)}function u(f){return aa(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function m(f){return e.attempt(Kl,c,c)(f)}function c(f){return W(f)?G(e,_,"whitespace")(f):_(f)}function _(f){return f===null||R(f)?(e.exit("definition"),r.parser.defined.push(i),t(f)):n(f)}}function Yl(e,t,n){return r;function r(s){return _e(s)?Bt(e,i)(s):n(s)}function i(s){return la(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return W(s)?G(e,l,"whitespace")(s):l(s)}function l(s){return s===null||R(s)?t(s):n(s)}}const Zl={name:"hardBreakEscape",tokenize:Ql};function Ql(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return R(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Xl={name:"headingAtx",resolve:Jl,tokenize:es};function Jl(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Be(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function es(e,t,n){let r=0;return i;function i(m){return e.enter("atxHeading"),o(m)}function o(m){return e.enter("atxHeadingSequence"),l(m)}function l(m){return m===35&&r++<6?(e.consume(m),l):m===null||_e(m)?(e.exit("atxHeadingSequence"),s(m)):n(m)}function s(m){return m===35?(e.enter("atxHeadingSequence"),h(m)):m===null||R(m)?(e.exit("atxHeading"),t(m)):W(m)?G(e,s,"whitespace")(m):(e.enter("atxHeadingText"),u(m))}function h(m){return m===35?(e.consume(m),h):(e.exit("atxHeadingSequence"),s(m))}function u(m){return m===null||m===35||_e(m)?(e.exit("atxHeadingText"),s(m)):(e.consume(m),u)}}const ts=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ni=["pre","script","style","textarea"],ns={concrete:!0,name:"htmlFlow",resolveTo:as,tokenize:os},rs={partial:!0,tokenize:ss},is={partial:!0,tokenize:ls};function as(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function os(e,t,n){const r=this;let i,o,l,s,h;return u;function u(p){return m(p)}function m(p){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(p),c}function c(p){return p===33?(e.consume(p),_):p===47?(e.consume(p),o=!0,A):p===63?(e.consume(p),i=3,r.interrupt?t:d):Me(p)?(e.consume(p),l=String.fromCharCode(p),T):n(p)}function _(p){return p===45?(e.consume(p),i=2,f):p===91?(e.consume(p),i=5,s=0,y):Me(p)?(e.consume(p),i=4,r.interrupt?t:d):n(p)}function f(p){return p===45?(e.consume(p),r.interrupt?t:d):n(p)}function y(p){const de="CDATA[";return p===de.charCodeAt(s++)?(e.consume(p),s===de.length?r.interrupt?t:N:y):n(p)}function A(p){return Me(p)?(e.consume(p),l=String.fromCharCode(p),T):n(p)}function T(p){if(p===null||p===47||p===62||_e(p)){const de=p===47,q=l.toLowerCase();return!de&&!o&&ni.includes(q)?(i=1,r.interrupt?t(p):N(p)):ts.includes(l.toLowerCase())?(i=6,de?(e.consume(p),x):r.interrupt?t(p):N(p)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(p):o?w(p):k(p))}return p===45||Ce(p)?(e.consume(p),l+=String.fromCharCode(p),T):n(p)}function x(p){return p===62?(e.consume(p),r.interrupt?t:N):n(p)}function w(p){return W(p)?(e.consume(p),w):U(p)}function k(p){return p===47?(e.consume(p),U):p===58||p===95||Me(p)?(e.consume(p),P):W(p)?(e.consume(p),k):U(p)}function P(p){return p===45||p===46||p===58||p===95||Ce(p)?(e.consume(p),P):O(p)}function O(p){return p===61?(e.consume(p),b):W(p)?(e.consume(p),O):k(p)}function b(p){return p===null||p===60||p===61||p===62||p===96?n(p):p===34||p===39?(e.consume(p),h=p,F):W(p)?(e.consume(p),b):B(p)}function F(p){return p===h?(e.consume(p),h=null,M):p===null||R(p)?n(p):(e.consume(p),F)}function B(p){return p===null||p===34||p===39||p===47||p===60||p===61||p===62||p===96||_e(p)?O(p):(e.consume(p),B)}function M(p){return p===47||p===62||W(p)?k(p):n(p)}function U(p){return p===62?(e.consume(p),S):n(p)}function S(p){return p===null||R(p)?N(p):W(p)?(e.consume(p),S):n(p)}function N(p){return p===45&&i===2?(e.consume(p),re):p===60&&i===1?(e.consume(p),ne):p===62&&i===4?(e.consume(p),j):p===63&&i===3?(e.consume(p),d):p===93&&i===5?(e.consume(p),Ne):R(p)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(rs,Se,V)(p)):p===null||R(p)?(e.exit("htmlFlowData"),V(p)):(e.consume(p),N)}function V(p){return e.check(is,K,Se)(p)}function K(p){return e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),H}function H(p){return p===null||R(p)?V(p):(e.enter("htmlFlowData"),N(p))}function re(p){return p===45?(e.consume(p),d):N(p)}function ne(p){return p===47?(e.consume(p),l="",pe):N(p)}function pe(p){if(p===62){const de=l.toLowerCase();return ni.includes(de)?(e.consume(p),j):N(p)}return Me(p)&&l.length<8?(e.consume(p),l+=String.fromCharCode(p),pe):N(p)}function Ne(p){return p===93?(e.consume(p),d):N(p)}function d(p){return p===62?(e.consume(p),j):p===45&&i===2?(e.consume(p),d):N(p)}function j(p){return p===null||R(p)?(e.exit("htmlFlowData"),Se(p)):(e.consume(p),j)}function Se(p){return e.exit("htmlFlow"),t(p)}}function ls(e,t,n){const r=this;return i;function i(l){return R(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function ss(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(vn,t,n)}}const us={name:"htmlText",tokenize:cs};function cs(e,t,n){const r=this;let i,o,l;return s;function s(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),h}function h(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),O):d===63?(e.consume(d),k):Me(d)?(e.consume(d),B):n(d)}function u(d){return d===45?(e.consume(d),m):d===91?(e.consume(d),o=0,y):Me(d)?(e.consume(d),w):n(d)}function m(d){return d===45?(e.consume(d),f):n(d)}function c(d){return d===null?n(d):d===45?(e.consume(d),_):R(d)?(l=c,ne(d)):(e.consume(d),c)}function _(d){return d===45?(e.consume(d),f):c(d)}function f(d){return d===62?re(d):d===45?_(d):c(d)}function y(d){const j="CDATA[";return d===j.charCodeAt(o++)?(e.consume(d),o===j.length?A:y):n(d)}function A(d){return d===null?n(d):d===93?(e.consume(d),T):R(d)?(l=A,ne(d)):(e.consume(d),A)}function T(d){return d===93?(e.consume(d),x):A(d)}function x(d){return d===62?re(d):d===93?(e.consume(d),x):A(d)}function w(d){return d===null||d===62?re(d):R(d)?(l=w,ne(d)):(e.consume(d),w)}function k(d){return d===null?n(d):d===63?(e.consume(d),P):R(d)?(l=k,ne(d)):(e.consume(d),k)}function P(d){return d===62?re(d):k(d)}function O(d){return Me(d)?(e.consume(d),b):n(d)}function b(d){return d===45||Ce(d)?(e.consume(d),b):F(d)}function F(d){return R(d)?(l=F,ne(d)):W(d)?(e.consume(d),F):re(d)}function B(d){return d===45||Ce(d)?(e.consume(d),B):d===47||d===62||_e(d)?M(d):n(d)}function M(d){return d===47?(e.consume(d),re):d===58||d===95||Me(d)?(e.consume(d),U):R(d)?(l=M,ne(d)):W(d)?(e.consume(d),M):re(d)}function U(d){return d===45||d===46||d===58||d===95||Ce(d)?(e.consume(d),U):S(d)}function S(d){return d===61?(e.consume(d),N):R(d)?(l=S,ne(d)):W(d)?(e.consume(d),S):M(d)}function N(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),i=d,V):R(d)?(l=N,ne(d)):W(d)?(e.consume(d),N):(e.consume(d),K)}function V(d){return d===i?(e.consume(d),i=void 0,H):d===null?n(d):R(d)?(l=V,ne(d)):(e.consume(d),V)}function K(d){return d===null||d===34||d===39||d===60||d===61||d===96?n(d):d===47||d===62||_e(d)?M(d):(e.consume(d),K)}function H(d){return d===47||d===62||_e(d)?M(d):n(d)}function re(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):n(d)}function ne(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),pe}function pe(d){return W(d)?G(e,Ne,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Ne(d)}function Ne(d){return e.enter("htmlTextData"),l(d)}}const mr={name:"labelEnd",resolveAll:ds,resolveTo:ms,tokenize:gs},hs={tokenize:_s},fs={tokenize:bs},ps={tokenize:xs};function ds(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Be(e,0,e.length,n),e}function ms(e,t){let n=e.length,r=0,i,o,l,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const h={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},m={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return s=[["enter",h,t],["enter",u,t]],s=oe(s,e.slice(o+1,o+r+3)),s=oe(s,[["enter",m,t]]),s=oe(s,dr(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),s=oe(s,[["exit",m,t],e[l-2],e[l-1],["exit",u,t]]),s=oe(s,e.slice(l+1)),s=oe(s,[["exit",h,t]]),Be(e,o,e.length,s),e}function gs(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(_){return o?o._inactive?c(_):(l=r.parser.defined.includes(Wt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(_),e.exit("labelMarker"),e.exit("labelEnd"),h):n(_)}function h(_){return _===40?e.attempt(hs,m,l?m:c)(_):_===91?e.attempt(fs,m,l?u:c)(_):l?m(_):c(_)}function u(_){return e.attempt(ps,m,c)(_)}function m(_){return t(_)}function c(_){return o._balanced=!0,n(_)}}function _s(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return _e(c)?Bt(e,o)(c):o(c)}function o(c){return c===41?m(c):aa(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return _e(c)?Bt(e,h)(c):m(c)}function s(c){return n(c)}function h(c){return c===34||c===39||c===40?la(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):m(c)}function u(c){return _e(c)?Bt(e,m)(c):m(c)}function m(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function bs(e,t,n){const r=this;return i;function i(s){return oa.call(r,e,o,l,"reference","referenceMarker","referenceString")(s)}function o(s){return r.parser.defined.includes(Wt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function l(s){return n(s)}}function xs(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const ys={name:"labelStartImage",resolveAll:mr.resolveAll,tokenize:ws};function ws(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),l):n(s)}function l(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const vs={name:"labelStartLink",resolveAll:mr.resolveAll,tokenize:ks};function ks(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const Ln={name:"lineEnding",tokenize:Cs};function Cs(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),G(e,t,"linePrefix")}}const fn={name:"thematicBreak",tokenize:Ss};function Ss(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),h(u)):r>=3&&(u===null||R(u))?(e.exit("thematicBreak"),t(u)):n(u)}function h(u){return u===i?(e.consume(u),r++,h):(e.exit("thematicBreakSequence"),W(u)?G(e,s,"whitespace")(u):s(u))}}const ge={continuation:{tokenize:Ns},exit:Ps,name:"list",tokenize:Ts},Es={partial:!0,tokenize:Fs},As={partial:!0,tokenize:Is};function Ts(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return s;function s(f){const y=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:er(f)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(fn,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),h(f)}return n(f)}function h(f){return er(f)&&++l<10?(e.consume(f),h):(!r.interrupt||l<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(vn,r.interrupt?n:m,e.attempt(Es,_,c))}
vendor: 5,348 bytes, line 5
5function m(f){return r.containerState.initialBlankLine=!0,o++,_(f)}function c(f){return W(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),_):n(f)}function _(f){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function Ns(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vn,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!W(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(As,t,l)(s))}function l(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,G(e,e.attempt(ge,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Is(e,t,n){const r=this;return G(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Ps(e){e.exit(this.containerState.type)}function Fs(e,t,n){const r=this;return G(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!W(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const ri={name:"setextUnderline",resolveTo:Ls,tokenize:Os};function Ls(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function Os(e,t,n){const r=this;let i;return o;function o(u){let m=r.events.length,c;for(;m--;)if(r.events[m][1].type!=="lineEnding"&&r.events[m][1].type!=="linePrefix"&&r.events[m][1].type!=="content"){c=r.events[m][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),W(u)?G(e,h,"lineSuffix")(u):h(u))}function h(u){return u===null||R(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Rs={tokenize:Ms};function Ms(e){const t=this,n=e.attempt(vn,r,e.attempt(this.parser.constructs.flowInitial,i,G(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Bl,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Ds={resolveAll:ua()},zs=sa("string"),$s=sa("text");function sa(e){return{resolveAll:ua(e==="text"?Hs:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,s);return l;function l(m){return u(m)?o(m):s(m)}function s(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),h}function h(m){return u(m)?(n.exit("data"),o(m)):(n.consume(m),h)}function u(m){if(m===null)return!0;const c=i[m];let _=-1;if(c)for(;++_<c.length;){const f=c[_];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function ua(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Hs(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,l=-1,s=0,h;for(;o--;){const u=i[o];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)s++,l--;if(l)break;l=-1}else if(u===-2)h=!0,s++;else if(u!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const u={type:n===e.length||h||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const Bs={42:ge,43:ge,45:ge,48:ge,49:ge,50:ge,51:ge,52:ge,53:ge,54:ge,55:ge,56:ge,57:ge,62:ta},Us={91:ql},Ws={[-2]:Fn,[-1]:Fn,32:Fn},js={35:Xl,42:fn,45:[ri,fn],60:ns,61:ri,95:fn,96:ti,126:ti},Vs={38:ra,92:na},qs={[-5]:Ln,[-4]:Ln,[-3]:Ln,33:ys,38:ra,42:tr,60:[vl,us],91:vs,92:[Zl,na],93:mr,95:tr,96:Rl},Ks={null:[tr,Ds]},Gs={null:[42,95]},Ys={null:[]},Zs=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Gs,contentInitial:Us,disable:Ys,document:Bs,flow:js,flowInitial:Ws,insideSpan:Ks,string:Vs,text:qs},Symbol.toStringTag,{value:"Module"}));function Qs(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 3,551 bytes, lines 5-7
5olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],s=[];const h={attempt:F(O),check:F(b),consume:w,enter:k,exit:P,interrupt:F(b,{interrupt:!0})},u={code:null,containerState:{},defineSkip:A,events:[],now:y,parser:e,previous:null,sliceSerialize:_,sliceStream:f,write:c};let m=t.tokenize.call(u,h);return t.resolveAll&&o.push(t),u;function c(S){return l=oe(l,S),T(),l[l.length-1]!==null?[]:(B(t,0),u.events=dr(o,u.events,u),u.events)}function _(S,N){return Js(f(S),N)}function f(S){return Xs(l,S)}function y(){const{_bufferIndex:S,_index:N,line:V,column:K,offset:H}=r;return{_bufferIndex:S,_index:N,line:V,column:K,offset:H}}function A(S){i[S.line]=S.column,U()}function T(){let S;for(;r._index<l.length;){const N=l[r._index];if(typeof N=="string")for(S=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===S&&r._bufferIndex<N.length;)x(N.charCodeAt(r._bufferIndex));else x(N)}}function x(S){m=m(S)}function w(S){R(S)?(r.line++,r.column=1,r.offset+=S===-3?2:1,U()):S!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=S}function k(S,N){const V=N||{};return V.type=S,V.start=y(),u.events.push(["enter",V,u]),s.push(V),V}function P(S){const N=s.pop();return N.end=y(),u.events.push(["exit",N,u]),N}function O(S,N){B(S,N.from)}function b(S,N){N.restore()}function F(S,N){return V;function V(K,H,re){let ne,pe,Ne,d;return Array.isArray(K)?Se(K):"tokenize"in K?Se([K]):j(K);function j(Q){return We;function We(le){const je=le!==null&&Q[le],Oe=le!==null&&Q.null,ct=[...Array.isArray(je)?je:je?[je]:[],...Array.isArray(Oe)?Oe:Oe?[Oe]:[]];return Se(ct)(le)}}function Se(Q){return ne=Q,pe=0,Q.length===0?re:p(Q[pe])}function p(Q){return We;function We(le){return d=M(),Ne=Q,Q.partial||(u.currentConstruct=Q),Q.name&&u.parser.constructs.disable.null.includes(Q.name)?q():Q.tokenize.call(N?Object.assign(Object.create(u),N):u,h,de,q)(le)}}function de(Q){return S(Ne,d),H}function q(Q){return d.restore(),++pe<ne.length?p(ne[pe]):re}}}function B(S,N){S.resolveAll&&!o.includes(S)&&o.push(S),S.resolve&&Be(u.events,N,u.events.length-N,S.resolve(u.events.slice(N),u)),S.resolveTo&&(u.events=S.resolveTo(u.events,u))}function M(){const S=y(),N=u.previous,V=u.currentConstruct,K=u.events.length,H=Array.from(s);return{from:K,restore:re};function re(){r=S,u.previous=N,u.currentConstruct=V,u.events.length=K,s=H,U()}}function U(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Xs(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const s=l[0];typeof s=="string"?l[0]=s.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Js(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
6`;break}case-3:{l=`\r
7`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function eu(e){const r={constructs:el([Zs,...(e||{}).extensions||[]]),content:i(ml),defined:[],document:i(_l),flow:i(Rs),lazy:{},string:i(zs),text:i($s)};return r;function i(o){return l;function l(s){return Qs(r,o,s)}}}function tu(e){for(;!ia(e););return e}const ii=/[\0\t\n\r]/g;function nu(){let e=1,t="",n=!0,r;return i;function i(o,l,s){const h=[];let u,m,c,_,f;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,t="",n&&(o.charCo
vendor: 5,855 bytes, line 7
7deAt(0)===65279&&c++,n=void 0);c<o.length;){if(ii.lastIndex=c,u=ii.exec(o),_=u&&u.index!==void 0?u.index:o.length,f=o.charCodeAt(_),!u){t=o.slice(c);break}if(f===10&&c===_&&r)h.push(-3),r=void 0;else switch(r&&(h.push(-5),r=void 0),c<_&&(h.push(o.slice(c,_)),e+=_-c),f){case 0:{h.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,h.push(-2);e++<m;)h.push(-1);break}case 10:{h.push(-4),e=1;break}default:r=!0,e=1}c=_+1}return s&&(r&&h.push(-5),t&&h.push(t),h.push(null)),h}}function ai(e,t,n){return typeof t!="string"&&(n=t,t=void 0),dl(n)(tu(eu(n).document().write(nu()(e,t,!0))))}const{entries:ca,setPrototypeOf:oi,isFrozen:ru,getPrototypeOf:iu,getOwnPropertyDescriptor:au}=Object;let{freeze:he,seal:Te,create:nr}=Object,{apply:rr,construct:ir}=typeof Reflect<"u"&&Reflect;he||(he=function(t){return t});Te||(Te=function(t){return t});rr||(rr=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return t.apply(n,i)});ir||(ir=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const sn=fe(Array.prototype.forEach),ou=fe(Array.prototype.lastIndexOf),li=fe(Array.prototype.pop),Lt=fe(Array.prototype.push),lu=fe(Array.prototype.splice),pn=fe(String.prototype.toLowerCase),On=fe(String.prototype.toString),Rn=fe(String.prototype.match),Ot=fe(String.prototype.replace),su=fe(String.prototype.indexOf),uu=fe(String.prototype.trim),Pe=fe(Object.prototype.hasOwnProperty),se=fe(RegExp.prototype.test),Rt=cu(TypeError);function fe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return rr(e,t,r)}}function cu(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ir(e,n)}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pn;oi&&oi(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(ru(t)||(t[r]=o),i=o)}e[i]=!0}return e}function hu(e){for(let t=0;t<e.length;t++)Pe(e,t)||(e[t]=null);return e}function Ye(e){const t=nr(null);for(const[n,r]of ca(e))Pe(e,n)&&(Array.isArray(r)?t[n]=hu(r):r&&typeof r=="object"&&r.constructor===Object?t[n]=Ye(r):t[n]=r);return t}function Mt(e,t){for(;e!==null;){const r=au(e,t);if(r){if(r.get)return fe(r.get);if(typeof r.value=="function")return fe(r.value)}e=iu(e)}function n(){return null}return n}const si=he(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Mn=he(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Dn=he(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fu=he(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),zn=he(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pu=he(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ui=he(["#text"]),ci=he(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
7spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),$n=he(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),hi=he(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),un=he(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),du=Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mu=Te(/<%[\w\W]*|[\w\W]*%>/gm),gu=Te(/\$\{[\w\W]*/gm),_u=Te(/^data-[\-\w.\u00B7-\uFFFF]+$/),bu=Te(/^aria-[\-\w]+$/),ha=Te(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xu=Te(/^(?:\w+script|data):/i),yu=Te(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fa=Te(/^html$/i),wu=Te(/^[a-z][.\w]*(-[.\w]+)+$/i);var fi=Object.freeze({__proto__:null,ARIA_ATTR:bu,ATTR_WHITESPACE:yu,CUSTOM_ELEMENT:wu,DATA_ATTR:_u,DOCTYPE_NAME:fa,ERB_EXPR:mu,IS_ALLOWED_URI:ha,IS_SCRIPT_OR_DATA:xu,MUSTACHE_EXPR:du,TMPLIT_EXPR:gu});const Dt={element:1,text:3,progressingInstruction:7,comment:8,document:9},vu=function(){return typeof window>"u"?null:window},ku=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;
vendor: 9,882 bytes, line 7
7const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},pi=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function pa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vu();const t=L=>pa(L);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==Dt.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:s,Element:h,NodeFilter:u,NamedNodeMap:m=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:c,DOMParser:_,trustedTypes:f}=e,y=h.prototype,A=Mt(y,"cloneNode"),T=Mt(y,"remove"),x=Mt(y,"nextSibling"),w=Mt(y,"childNodes"),k=Mt(y,"parentNode");if(typeof l=="function"){const L=n.createElement("template");L.content&&L.content.ownerDocument&&(n=L.content.ownerDocument)}let P,O="";const{implementation:b,createNodeIterator:F,createDocumentFragment:B,getElementsByTagName:M}=n,{importNode:U}=r;let S=pi();t.isSupported=typeof ca=="function"&&typeof k=="function"&&b&&b.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:N,ERB_EXPR:V,TMPLIT_EXPR:K,DATA_ATTR:H,ARIA_ATTR:re,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:Ne}=fi;let{IS_ALLOWED_URI:d}=fi,j=null;const Se=$({},[...si,...Mn,...Dn,...zn,...ui]);let p=null;const de=$({},[...ci,...$n,...hi,...un]);let q=Object.seal(nr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Q=null,We=null;const le=Object.seal(nr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,Oe=!0,ct=!1,Zt=!0,Ve=!1,ht=!0,qe=!1,kt=!1,Ct=!1,Qe=!1,ft=!1,pt=!1,Qt=!0,Xt=!1;const kn="user-content-";let St=!0,nt=!1,Xe={},Ee=null;const Jt=$({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let en=null;const Et=$({},["audio","video","img","source","image","track"]);let At=null;const Tt=$({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rt="http://www.w3.org/1998/Math/MathML",dt="http://www.w3.org/2000/svg",Ie="http://www.w3.org/1999/xhtml";let Je=Ie,Nt=!1,It=null;const Cn=$({},[rt,dt,Ie],On);let mt=$({},["mi","mo","mn","ms","mtext"]),it=$({},["annotation-xml"]);const Sn=$({},["title","style","font","a","script"]);let at=null;const En=["application/xhtml+xml","text/html"],C="text/html";let E=null,X=null;const be=n.createElement("form"),xe=function(g){return g instanceof RegExp||g instanceof Function},ye=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(X&&X===g)){if((!g||typeof g!="object")&&(g={}),g=Ye(g),at=En.indexOf(g.PARSER_MEDIA_TYPE)===-1?C:g.PARSER_MEDIA_TYPE,E=at==="application/xhtml+xml"?On:pn,j=Pe(g,"ALLOWED_TAGS")?$({},g.ALLOWED_TAGS,E):Se,p=Pe(g,"ALLOWED_ATTR")?$({},g.ALLOWED_ATTR,E):de,It=Pe(g,"ALLOWED_NAMESPACES")?$({},g.ALLOWED_NAMESPACES,On):Cn,At=Pe(g,"ADD_URI_SAFE_ATTR")?$(Ye(Tt),g.ADD_URI_SAFE_ATTR,E):Tt,en=Pe(g,"ADD_DATA_URI_TAGS")?$(Ye(Et),g.ADD_DATA_URI_TAGS,E):Et,Ee=Pe(g,"FORBID_CONTENTS")?$({},g.FORBID_CONTENTS,E):Jt,Q=Pe(g,"FORBID_TAGS")?$({},g.FORBID_TAGS,E):Ye({}),We=Pe(g,"FORBID_ATTR")?$({},g.FORBID_ATTR,E):Ye({}),Xe=Pe(g,"USE_PROFILES")?g.USE_PROFILES:!1,je=g.ALLOW_ARIA_ATTR!==!1,Oe=g.ALLOW_DATA_ATTR!==!1,ct=g.ALLOW_UNKNOWN_PROTOCOLS||!1,Zt=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ve=g.SAFE_FOR_TEMPLATES||!1,ht=g.SAFE_FOR_XML!==!1,qe=g.WHOLE_DOCUMENT||!1,Qe=g.RETURN_DOM||!1,ft=g.RETURN_DOM_FRAGMENT||!1,pt=g.RETURN_TRUSTED_TYPE||!1,Ct=g.FORCE_BODY||!1,Qt=g.SANITIZE_DOM!==!1,Xt=g.SANITIZE_NAMED_PROPS||!1,St=g.KEEP_CONTENT!==!1,nt=g.IN_PLACE||!1,d=g.ALLOWED_URI_REGEXP||ha,Je=g.NAMESPACE||Ie,mt=g.MATHML_TEXT_INTEGRATION_POINTS||mt,it=g.HTML_INTEGRATION_POINTS||it,q=g.CUSTOM_ELEMENT_HANDLING||{},g.CUSTOM_ELEMENT_HANDLING&&xe(g.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=g.CUSTOM_ELEMENT_HANDLING.tagNameCheck),g.CUSTOM_ELEMENT_HANDLING&&xe(g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),g.CUSTOM_ELEMENT_HANDLING&&typeof g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ve&&(Oe=!1),ft&&(Qe=!0),Xe&&(j=$({},ui),p=[],Xe.html===!0&&($(j,si),$(p,ci)),Xe.svg===!0&&($(j,Mn),$(p,$n),$(p,un)),Xe.svgFilters===!0&&($(j,Dn),$(p,$n),$(p,un)),Xe.mathMl===!0&&($(j,zn),$(p,hi),$(p,un))),g.ADD_TAGS&&(typeof g.ADD_TAGS=="function"?le.tagCheck=g.ADD_TAGS:(j===Se&&(j=Ye(j)),$(j,g.ADD_TAGS,E))),g.ADD_ATTR&&(typeof g.ADD_ATTR=="function"?le.attributeCheck=g.ADD_ATTR:(p===de&&(p=Ye(p)),$(p,g.ADD_ATTR,E))),g.ADD_URI_SAFE_ATTR&&$(At,g.ADD_URI_SAFE_ATTR,E),g.FORBID_CONTENTS&&(Ee===Jt&&(Ee=Ye(Ee)),$(Ee,g.FORBID_CONTENTS,E)),St&&(j["#text"]=!0),qe&&$(j,["html","head","body"]),j.table&&($(j,["tbody"]),delete Q.tbody),g.TRUSTED_TYPES_POLICY){if(typeof g.TRUSTED_TYPES_POLICY.createHTML!="function")throw Rt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof g.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Rt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');P=g.TRUSTED_TYPES_POLICY,O=P.createHTML("")}else P===void 0&&(P=ku(f,i)),P!==null&&typeof O=="string"&&(O=P.createHTML(""));he&&he(g),X=g}},we=$({},[...Mn,...Dn,...fu]),Pt=$({},[...zn,...pu]),tn=function(g){let v=k(g);(!v||!v.tagName)&&(v={namespaceURI:Je,tagName:"template"});const I=pn(g.tagName),Z=pn(v.tagName);return It[g.namespaceURI]?g.namespaceURI===dt?v.namespaceURI===Ie?I==="svg":v.namespaceURI===rt?I==="svg"&&(Z==="annotation-xml"||mt[Z]):!!we[I]:g.namespaceURI===rt?v.namespaceURI===Ie?I==="math":v.namespaceURI===dt?I==="math"&&it[Z]:!!Pt[I]:g.namespaceURI===Ie?v.namespaceURI===dt&&!it[Z]||v.namespaceURI===rt&&!mt[Z]?!1:!Pt[I]&&(Sn[I]||!we[I]):!!(at==="application/xhtml+xml"&&It[g.namespaceURI]):!1},ve=function(g){Lt(t.removed,{element:g});try{k(g).removeChild(g)}catch{T(g)}},ot=function(g,v){try{Lt(t.removed,{attribute:v.getAttributeNode(g),from:v})}catch{Lt(t.removed,{attribute:null,from:v})}if(v.removeAttribute(g),g==="is")if(Qe||ft)try{ve(v)}catch{}else try{v.setAttribute(g,"")}catch{}},gr=function(g){let v=null,I=null;if(Ct)g="<remove></remove>"+g;else{const te=Rn(g,/^[\r\n\t ]+/);I=te&&te[0]}at==="application/xhtml+xml"&&Je===Ie&&(g='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+g+"</body></html>");const Z=P?P.createHTML(g):g;if(Je===Ie)try{v=new _().parseFromString(Z,at)}catch{}if(!v||!v.documentElement){v=b.createDocument(Je,"template",null);try{v.documentElement.innerHTML=Nt?O:Z}catch{}}const ae=v.body||v.documentElement;return g&&I&&ae.insertBefore(n.createTextNode(I),ae.childNodes[0]||null),Je===Ie?M.call(v,qe?"html":"body")[0]:qe?v.documentElement:ae},_r=function(g){return F.call(g.ownerDocument||g,g,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},An=function(g){return g instanceof c&&(typeof g.nodeName!="string"||typeof g.textContent!="string"||typeof g.removeChild!="function"||!(g.attributes instanceof m)||typeof g.removeAttribute!="function"||typeof g.setAttribute!="function"||typeof g.namespaceURI!="string"||typeof g.insertBefore!="function"||typeof g.hasChildNodes!="function")},br=function(g){return typeof s=="function"&&g instanceof s};function Ke(L,g,v){sn(L,I=>{I.call(t,g,v,X)})}const xr=function(g){let v=null;if(Ke(S.beforeSanitizeElements,g,null),An(g))return ve(g),!0;const I=E(g.nodeName);if(Ke(S.uponSanitizeElement,g,{tagName:I,allowedTags:j}),ht&&g.hasChildNodes()&&!br(g.firstElementChild)&&se(/<[/\w!]/g,g.innerHTML)&&se(/<[/\w!]/g,g.textContent)||g.nodeType===Dt.progressingInstruction||ht&&g.nodeType===Dt.comment&&se(/<[/\w]/g,g.data))return ve(g),!0;if(!(le.tagCheck instanceof Function&&le.tagCheck(I))&&(!j[I]||Q[I])){if(!Q[I]&&wr(I)&&(q.tagNameCheck instanceof RegExp&&se(q.tagNameCheck,I)||q.tagNameCheck instanceof Function&&q.tagNameCheck(I)))return!1;if(St&&!Ee[I]){const Z=k(g)||g.parentNode,ae=w(g)||g.childNodes;if(ae&&Z){const te=ae.length;for(let me=te-1;me>=0;--me){const Ge=A(ae[me],!0);Ge.__removalCount=(g.__removalCount||0)+1,Z.insertBefore(Ge,x(g))}}}return ve(g),!0}return g instanceof h&&!tn(g)||(I==="noscript"||I==="noembed"||I==="noframes")&&se(/<\/no(script|embed|frames)/i,g.innerHTML)?(ve(g),!0):(Ve&&g.nodeType===Dt.text&&(v=g.textContent,sn([N,V,K],Z=>{v=Ot(v,Z," ")}),g.textContent!==v&&(Lt(t.removed,{element:g.cloneNode()}),g.textContent=v)),Ke(S.afterSanitizeElements,g,null),!1)},yr=function(g,v,I){if(Qt&&(v==="id"||v==="name")&&(I in n||I in be))return!1;if(!(Oe&&!We[v]&&se(H,v))){if(!(je&&se(re,v))){if(!(le.attributeCheck instanceof Function&&le.attributeCheck(v,g))){if(!p[v]||We[v]){if(!(wr(g)&&(q.tagNameCheck instanceof RegExp&&se(q.tagNameCheck,g)||q.tagNameCheck instanceof Function&&q.tagNameCheck(g))&&(q.attributeNameCheck instanceof RegExp&&se(q.attributeNameCheck,v)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(v,g))||v==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&se(q.tagNameCheck,I)||q.tagNameCheck instanceof Function&&q.tagNameCheck(I)
vendor: 4,097 bytes, lines 7-8
7)))return!1}else if(!At[v]){if(!se(d,Ot(I,pe,""))){if(!((v==="src"||v==="xlink:href"||v==="href")&&g!=="script"&&su(I,"data:")===0&&en[g])){if(!(ct&&!se(ne,Ot(I,pe,"")))){if(I)return!1}}}}}}}return!0},wr=function(g){return g!=="annotation-xml"&&Rn(g,Ne)},vr=function(g){Ke(S.beforeSanitizeAttributes,g,null);const{attributes:v}=g;if(!v||An(g))return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p,forceKeepAttr:void 0};let Z=v.length;for(;Z--;){const ae=v[Z],{name:te,namespaceURI:me,value:Ge}=ae,gt=E(te),Tn=Ge;let ie=te==="value"?Tn:uu(Tn);if(I.attrName=gt,I.attrValue=ie,I.keepAttr=!0,I.forceKeepAttr=void 0,Ke(S.uponSanitizeAttribute,g,I),ie=I.attrValue,Xt&&(gt==="id"||gt==="name")&&(ot(te,g),ie=kn+ie),ht&&se(/((--!?|])>)|<\/(style|title|textarea)/i,ie)){ot(te,g);continue}if(gt==="attributename"&&Rn(ie,"href")){ot(te,g);continue}if(I.forceKeepAttr)continue;if(!I.keepAttr){ot(te,g);continue}if(!Zt&&se(/\/>/i,ie)){ot(te,g);continue}Ve&&sn([N,V,K],Cr=>{ie=Ot(ie,Cr," ")});const kr=E(g.nodeName);if(!yr(kr,gt,ie)){ot(te,g);continue}if(P&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!me)switch(f.getAttributeType(kr,gt)){case"TrustedHTML":{ie=P.createHTML(ie);break}case"TrustedScriptURL":{ie=P.createScriptURL(ie);break}}if(ie!==Tn)try{me?g.setAttributeNS(me,te,ie):g.setAttribute(te,ie),An(g)?ve(g):li(t.removed)}catch{ot(te,g)}}Ke(S.afterSanitizeAttributes,g,null)},Ca=function L(g){let v=null;const I=_r(g);for(Ke(S.beforeSanitizeShadowDOM,g,null);v=I.nextNode();)Ke(S.uponSanitizeShadowNode,v,null),xr(v),vr(v),v.content instanceof o&&L(v.content);Ke(S.afterSanitizeShadowDOM,g,null)};return t.sanitize=function(L){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,I=null,Z=null,ae=null;if(Nt=!L,Nt&&(L="<!-->"),typeof L!="string"&&!br(L))if(typeof L.toString=="function"){if(L=L.toString(),typeof L!="string")throw Rt("dirty is not a string, aborting")}else throw Rt("toString is not a function");if(!t.isSupported)return L;if(kt||ye(g),t.removed=[],typeof L=="string"&&(nt=!1),nt){if(L.nodeName){const Ge=E(L.nodeName);if(!j[Ge]||Q[Ge])throw Rt("root node is forbidden and cannot be sanitized in-place")}}else if(L instanceof s)v=gr("<!---->"),I=v.ownerDocument.importNode(L,!0),I.nodeType===Dt.element&&I.nodeName==="BODY"||I.nodeName==="HTML"?v=I:v.appendChild(I);else{if(!Qe&&!Ve&&!qe&&L.indexOf("<")===-1)return P&&pt?P.createHTML(L):L;if(v=gr(L),!v)return Qe?null:pt?O:""}v&&Ct&&ve(v.firstChild);const te=_r(nt?L:v);for(;Z=te.nextNode();)xr(Z),vr(Z),Z.content instanceof o&&Ca(Z.content);if(nt)return L;if(Qe){if(ft)for(ae=B.call(v.ownerDocument);v.firstChild;)ae.appendChild(v.firstChild);else ae=v;return(p.shadowroot||p.shadowrootmode)&&(ae=U.call(r,ae,!0)),ae}let me=qe?v.outerHTML:v.innerHTML;return qe&&j["!doctype"]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&se(fa,v.ownerDocument.doctype.name)&&(me="<!DOCTYPE "+v.ownerDocument.doctype.name+`>
8`+me),Ve&&sn([N,V,K],Ge=>{me=Ot(me,Ge," ")}),P&&pt?P.createHTML(me):me},t.setConfig=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(L),kt=!0},t.clearConfig=function(){X=null,kt=!1},t.isValidAttribute=function(L,g,v){X||ye({});const I=E(L),Z=E(g);return yr(I,Z,v)},t.addHook=function(L,g){typeof g=="function"&&Lt(S[L],g)},t.removeHook=function(L,g){if(g!==void 0){const v=ou(S[L],g);return v===-1?void 0:lu(S[L],v,1)[0]}return li(S[L])},t.removeHooks=function(L){S[L]=[]},t.removeAllHooks=function(){S=pi()},t}var Cu=pa();function _n(){const e=navigator.userAgent,t={plat:e.includes("Windows")?"Windows":e.includes("Macintosh")?"macOS":"Linux",arch:e.includes("ARM")||e.includes("aarch64")?"ARM":e.includes("x86_64")||e.includes("x64")||e.includes("Intel Mac")?"64":"32"};return{...t,asSupported:t.plat==="Windows"?"win64":t.plat==="Linux"?t.arch==="ARM"?"linuxArm":"linux64":t.arch==="ARM"?"macArm":"mac64"}}function da(){return a("svg",{width:"50",height:"50",viewBox:"0 0 800 800",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M522.84 127.716C
8552.003 93.9161 571.661 46.8396 566.281 0C524.256 1.60001 473.412 26.8461 443.278 60.606C416.218 90.5659 392.597 138.437 398.947 184.357C445.826 187.837 493.677 161.556 522.84 127.716ZM627.965 425.004C629.138 546.083 738.793 586.36 740.006 586.88C739.116 589.72 722.492 644.271 682.246 700.67C647.42 749.391 611.3 797.913 554.389 798.953C498.49 799.953 480.49 767.195 416.542 767.195C352.634 767.195 332.652 797.909 279.746 799.949C224.817 801.909 182.953 747.238 147.885 698.678C76.1295 599.359 21.3223 418.007 94.938 295.608C131.503 234.848 196.827 196.313 267.773 195.353C321.691 194.353 372.615 230.119 405.58 230.119C438.546 230.119 500.431 187.119 565.472 193.439C592.694 194.519 669.141 203.956 718.205 272.795C714.241 275.155 626.994 323.805 627.965 425.004Z",fill:"white"})})}function ma(){return a("svg",{width:"50",height:"50",viewBox:"0 0 800 800",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a("path",{d:"M693.156 632.891C690.875 631.656 688.703 630.484 686.906 629.453C676.797 623.469 666.594 613.016 668.391 601.594C672.172 576.687 672.906 564.922 667.625 556.609C664.782 552.17 660.577 548.771 655.641 546.922V546.828C657.844 542.828 659.172 537.984 660.063 531.016C662.313 513.828 652.25 462.266 638.656 420.547C626.031 381.984 592.969 342.422 568.812 313.422L563.172 306.641C525.859 261.437 525.141 246.969 521.688 177.469C521.188 167.359 520.609 155.906 519.859 143.094C515.359 64.7344 474.937 25 399.937 25C360.562 25 330.219 36.1719 309.75 58.2187C293.359 75.8594 284.312 100 284.312 126.219C284.312 172.344 287.437 209.031 287.672 211.047C289.859 266.828 289.234 275.453 274.687 300.969C271.203 307.109 261.594 317.953 251.422 329.422C238.172 344.375 223.156 361.313 214.922 375.078C209.031 384.938 205.734 394.813 202.25 405.281C196.937 421.234 190.906 439.313 173.891 462.422C154.25 489.094 149.641 508.687 156.703 536.562C148.984 546.641 149.156 559.016 149.281 568.172C149.501 571.351 149.344 574.545 148.812 577.688C145.234 589.547 129.406 592.375 114.437 593.594C111.969 593.781 109.594 593.922 107.328 594.047C95.9844 594.656 86.1875 595.203 80.5625 603.891C75.1406 612.266 78.8125 625.453 83.9063 643.703C85.0313 647.734 86.1875 651.906 87.3281 656.297C90.1875 667.234 87.0781 672.672 83.1406 679.484C79.3281 686.062 75 693.547 75 706.906C75 729.828 106.25 735.031 142.266 741.187C153.766 743.125 165.703 745.141 177.625 747.813C195.788 751.959 213.594 757.539 230.875 764.5C246.063 770.328 258.062 774.937 272.172 774.937C297.453 774.937 316.312 759.672 334.547 744.922L337.906 742.188C346.547 735.172 371.5 735.937 391.563 736.5C396.969 736.656 402.078 736.812 406.641 736.812H416.359C437.422 736.687 466.266 736.531 482.344 740.719C488.203 742.281 492.031 746.531 496.859 751.953C506.031 762.203 517.438 775 549.031 775C579.328 775 595.203 761.391 613.594 745.625C624.781 736.047 636.344 726.125 652.766 717.719C658.891 714.594 664.672 711.672 670.078 708.953C705.453 691.172 724.937 681.375 724.937 665.484C724.937 650 705.812 639.703 693.156 632.891ZM329.797 138.094C334.067 138.262 338.194 139.686 341.659 142.188C345.125 144.689 347.776 148.156 349.281 152.156C352.328 160.828 352.109 168.437 349.609 172.375C349.609 172.375 349.266 170.812 349.047 170.125C347.484 164.553 343.895 159.766 338.984 156.703C336.939 155.382 334.642 154.496 332.239 154.1C329.836 153.705 327.377 153.809 325.016 154.406C318.359 156.172 311.875 162.219 311.094 183.766C303.031 167.406 307.484 155.641 312.531 147.828C316.141 142 324.203 137.937 329.797 138.094ZM302.453 724.031C299.938 748.813 273.687 748.437 265.703 747.797C250.375 746.516 231.859 740.469 213.938 734.625C206.875 732.328 199.578 729.938 192.484 727.844C171.859 721.766 145.422 717.313 124.172 713.781C119.141 712.922 114.375 712.125 110.031 711.359C105.687 710.594 102.828 709.375 101.906 707.766C100.344 705.188 102.5 699.562 104.922 693.062C108.172 684.375 112.609 672.406 112.437 657.812C112.437 651.703 110.141 644.844 108 638.188C105.469 630.375 102.875 622.297 104.984 618.469C106.906 614.984 115.531 614.578 123.109 614.578H126.641C132.187 614.578 136.984 614.672 140.312 613.75C150.484 610.922 163.531 602.938 168.141 592.063C169.547 588.672 170.281 581.219 171.266 570.188C171.844 563.75 172.422 557.109 173.172 553.656C173.356 552.774 173.753 551.951 174.328 551.256C174.902 550.562 175.637 5
850.018 176.469 549.672C179.047 548.469 187.062 546.687 205.578 556.047C223.047 564.875 241.328 596.422 259.016 626.937C264.578 636.531 269.828 645.594 275.109 654.063C297.047 689.281 304.531 703.437 302.453 724.062V724.031ZM503.766 674.719C501.889 680.589 499.51 686.287 496.656 691.75C496.562 691.963 496.389 692.132 496.173 692.221C495.958 692.31 495.716 692.313 495.499 692.228C495.282 692.143 495.105 691.978 495.007 691.767C494.908 691.556 494.894 691.315 494.969 691.094C497.644 681.741 498.758 672.012 498.266 662.297C497.875 654.906 497.641 650.437 494.109 649C490.578 647.562 487.453 650.297 479.344 657.656C477.625 659.219 475.656 661 473.438 662.969C456.562 677.766 431.437 695.281 386.547 699.484C360.234 701.969 343.438 692.25 338.234 686.766C337.929 686.44 337.562 686.179 337.155 685.996C336.748 685.814 336.308 685.714 335.862 685.702C335.416 685.691 334.972 685.767 334.556 685.929C334.14 686.09 333.76 686.332 333.437 686.641C332.985 687.104 332.671 687.684 332.53 688.316C332.39 688.948 332.428 689.607 332.641 690.219C335.953 700.906 334.516 709.375 331.875 715.516C330.391 718.953 328.984 718.719 328.75 714.984C328.359 707.734 327.187 699.547 324.062 692.812C319.203 681.969 313.125 670.406 310.172 664.875V664.797C315.234 662.469 324.016 657.25 327.938 647.797C331.859 638.344 334.937 619.672 312.594 598.203C302.781 588.75 278.062 571.391 256.25 556.016C239.219 544.063 221.609 531.703 219.297 528.656C212.281 519.453 209.344 514.125 208.453 497.953C208.562 494.359 208.656 490.781 208.75 487.187L209.172 483.297C209.201 483.079 209.308 482.879 209.473 482.734C209.638 482.589 209.851 482.509 210.07 482.509C210.29 482.509 210.502 482.589 210.668 482.734C210.833 482.879 210.94 483.079 210.969 483.297C211.61 488.434 212.655 493.512 214.094 498.484C215.781 504.312 217.844 510.328 219.75 512.828C224.734 519.422 231.563 524.375 237.984 526.094C239.281 526.547 240.668 526.681 242.028 526.485C243.388 526.289 244.68 525.769 245.797 524.969C250.375 521.328 249.937 513.094 249.219 499.438C248.484 485.375 247.484 466.094 252.109 445.453C260.891 406.391 269.156 394.656 279.625 379.828C280.969 377.922 282.359 375.969 283.766 373.906C286.016 370.656 288.453 367.5 291.062 364.172C302.734 349.156 315.953 332.156 312.813 300.187C312.016 292.078 311.625 286.391 311.469 282.391C311.42 282.026 311.502 281.656 311.7 281.345C311.898 281.035 312.199 280.805 312.55 280.694C312.901 280.584 313.28 280.601 313.619 280.743C313.959 280.885 314.238 281.142 314.406 281.469L315.172 282.672L317.063 285.797C324.656 298.297 338.375 321.062 356.281 321.062C357.518 321.06 358.751 320.951 359.969 320.734C396.516 314.594 441.062 273.469 441.484 273.062C446.359 268.375 445.922 263.469 444.047 260.703C442.954 259.139 441.342 258.011 439.498 257.52C437.654 257.028 435.696 257.203 433.969 258.016C428.828 260.203 422.812 262.938 416.437 265.828C394.844 275.625 358.625 292 350.422 288.234C346.682 286.168 343.338 283.454 340.547 280.219C340.378 280.102 340.233 279.953 340.121 279.78C340.01 279.607 339.933 279.414 339.896 279.211C339.859 279.009 339.862 278.801 339.906 278.6C339.949 278.399 340.031 278.208 340.148 278.039C340.265 277.87 340.415 277.725 340.587 277.614C340.76 277.502 340.953 277.425 341.156 277.388C341.358 277.351 341.566 277.355 341.767 277.398C341.968 277.441 342.159 277.524 342.328 277.641C351.062 281.219 357.25 279.906 364.516 277.516L366.078 276.984C380.719 272.156 388.266 269.531 414.141 258.109C422.318 254.274 430.82 251.173 439.547 248.844C445.797 247.281 449.578 246.297 451.594 242.062C452.538 240.324 452.965 238.352 452.827 236.378C452.689 234.405 451.99 232.512 450.812 230.922C448.422 228 444.453 226.906 439.875 227.953C434.844 229.125 432.531 232.641 429.859 234.969C426.109 238.172 422.047 241.469 403 248.484C360.812 264.109 348.969 265.063 332.359 253.844C316.984 243.391 308.687 233.172 308.687 228.844C308.687 225.516 317.203 219.937 322.297 216.594C324.375 215.234 326.344 213.953 327.953 212.75C334.734 207.719 348.266 194.953 348.859 194.422C357.297 185.969 376.844 191.016 387.922 198.453C388.302 198.737 388.737 198.941 389.199 199.051C389.662 199.161 390.141 199.176 390.609 199.094C391.05 199.009 391.469 198.836 391.842 198.585C392.214 198.334 392.532 198.011 392.777 197.635C393.022 197.259 393.189 196.837 393.268 196.395C393.346 195.953 393.335 195.5 393.234 195.062C386.672 167.781 393.031 152.344 399.484 144.203C402.764 140.101 406.918 136.783 411.643 134.49C416.368 132.198 421.545 130.99 426.797 130.953C446.812 130.953 460.797 146.578 460.797 169.109C460.797 186.297 456.391 195.344 452.234 200.828C452.001 201.13 451.707 201.38 451.37 201.56C451.034 201.741 450.663 201.847 450.282 201.874C449.901 201.901 449.519 201.846 449.161 201.714C448.802 201.583 448.476 201.376 448.203 201.109C447.762 200.663 447.485 200.08 447.416 199.456C447.348 198.832 447.493 198.203 447.828 197.672C451.287 191.74 453.094 184.991 453.062 178.125C453.082 174.677 452.412 171.259 451.093 168.073C449.774 164.887 447.833 161.996 445.382 159.57C442.931 157.144 440.021 155.232 436.821 153.945C433.622 152.659 430.198 152.024 426.75 152.078C420.594 152.078 405.688 154.422 400.547 176.203C399.291 181.885 399.111 187.752 400.016 193.5L400.141 194.609C401.547 206.141 424.047 214.156 442.687 218.844C460.437 223.297 463 228.563 456.5 249.516C450 270.469 461.359 290.5 465.406 295.719C470.347 301.783 474.695 308.308 478.391 315.203C482.645 323.44 486.109 332.062 488.734 340.953C492.125 351.563 495.062 360.719 505.344 374.109C522.641 396.609 532.937 450.109 528.781 495.984C528.453 499.75 527.953 502.688 527.578 504.844C526.906 508.797 526.453 511.406 528.609 513.25C530.766 515.094 533.547 514.344 539.953 512.266L545.312 510.563C551.773 508.719 558.336 507.258 564.969 506.187C565.497 506.105 565.998 505.897 566.431 505.582C566.863 505.267 567.213 504.853 567.453 504.375C572.812 493.578 573.469 480.594 573.703 469.266C573.703 467.901 573.734 466.448 573.797 464.906C574.094 452.766 574.5 435.328 569.187 414.906C569.055 414.506 569.087 414.07 569.276 413.694C569.465 413.317 569.795 413.031 570.195 412.898C570.595 412.766 571.031 412.798 571.408 412.987C571.784 413.176 572.071 413.506 572.203 413.906C577.553 426.651 581.057 440.094 582.609 453.828C586.594 489.109 579.641 503.969 579.578 504.094C579.417 504.418 579.327 504.774 579.316 505.136C579.305 505.498 579.372 505.859 579.513 506.192C579.654 506.526 579.865 506.826 580.133 507.07C580.4 507.315 580.717 507.499 581.063 507.609C585.23 509.105 588.962 511.613 591.922 514.906C594.203 517.5 593.375 518.656 590.141 517.438C583.759 515.055 577 513.843 570.187 513.859C553.937 513.859 541.922 521.594 536.578 528.219C531.594 534.375 530.797 540.203 530.594 545.828L530.5 545.906C518.812 544.734 510.281 547.797 503.203 555.609L503.078 555.75C493.297 567.859 496.828 594.234 501.062 615.875C503.062 625.953 509.797 655.75 503.766 674.75V674.719ZM653.922 690.453C629.375 700.938 614.187 713.125 600.797 723.875C591.969 730.953 583.609 737.641 573.797 742.844C557.984 751.188 534.875 753.047 521.812 730.813C518.109 724.563 520.703 715.406 524.281 702.766C529.047 685.969 535.578 662.984 530.078 633C528.609 625 527.312 618.141 526.187 612.203C521.812 589.062 520.094 580.359 521.812 573.438C522.797 569.609 527.172 568.7
85 530.984 568.75C532.359 568.762 533.732 568.861 535.094 569.047C537.173 576.134 540.924 582.618 546.031 587.953C554.937 597.109 567.328 601.75 582.844 601.781C586.125 602.047 623.375 604.203 639.937 566.781C642.219 567.062 645.641 567.875 646.656 570.375C648.656 575.359 646.234 584.297 644.281 591.469C642.875 596.641 641.656 601.094 641.734 604.547C642.219 629.547 658.922 640.141 682.094 654.797C684.891 656.563 687.812 658.406 690.766 660.328C693.719 662.25 695.25 664.062 695.25 665.625C694.437 673.109 664 686.188 653.922 690.484V690.453Z",fill:"white"})})}function ga(){return a("svg",{width:"50",height:"50",viewBox:"0 0 800 800",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a("path",{d:"M462.5 99.7326L386.467 363.266C386.467 363.266 300 302.833 236.467 309.099C173.967 315.366 89.6 346.599 89.6 346.599L166.7 80.966C166.7 80.966 326.067 -4.46734 462.533 99.7326H462.5ZM427.1 388.266L503.133 126.799C526.067 142.433 566.667 170.566 632.3 178.899C697.933 186.199 800 144.533 800 144.533L723.967 408.066C712.5 412.233 664.6 439.333 577.1 444.533C488.567 449.733 427.1 388.266 427.1 388.266ZM0 658.066L76.0333 392.433C76.0333 392.433 161.467 352.833 233.333 358.066C304.167 362.233 361.467 401.833 372.933 411.199L296.9 676.833C296.9 676.833 209.4 619.533 148.967 624.733C88.5333 629.933 35.4333 640.366 0 658.066ZM337.5 699.733L413.533 436.199C413.533 436.199 494.8 489.333 547.9 487.233C601.033 486.199 637.5 483.066 709.367 454.933H710.4C705.2 468.466 634.367 716.399 634.367 716.399C634.367 716.399 551.033 755.999 473.933 751.833C397.9 748.699 352.067 704.966 337.467 699.733H337.5Z",fill:"white"})})}function Su({platforms:e}){function t(h){return h?Wo(h)?"supported":`alias -> ${Ho(h).name}`:"unsupported"}const n=t(e.linux64),r=t(e.linuxArm),i=t(e.mac64),o=t(e.macArm),l=t(e.win64),s=[{plat:"Windows",arch:"64",support:l},{plat:"Linux",arch:"64",support:n},{plat:"Linux",arch:"ARM",support:r},{plat:"macOS",arch:"64",support:i},{plat:"macOS",arch:"ARM",support:o}];return a(z,{children:[[n,r,i,o,l].includes("aliased")&&a("p",{children:a("i",{children:['"Aliased" means it is supported, but not via Konbini itself. Konbini is both a standalone package manager and a downloader for other package managers such as WinGet, DPKG, Homebrew, or Flathub (among others); "aliased" means the package will be downloaded through a trusted 3',a("sup",{children:"rd"})," party package manager."]})}),a("div",{className:"w-full grid grid-cols-5 grid-rows-1",children:s.map(h=>a("div",{title:h.support.startsWith("alias")?`For ${h.plat}${h.arch} this package can be installed through Konbini,
9though it is actually published to the shown package manager.`:h.support==="unsupported"?`This package is not supported for ${h.plat}${h.arch}. How sad :(`:`This package can be installed for ${h.plat}${h.arch} through Konbini! How cool.`,className:"h-45 p-6 border border-[#303030] bg-[#151515] hover:bg-[#1F1F1F] relative overflow-hidden",children:[a("p",{className:"text-3xl text-white font-semibold",children:h.plat}),a("p",{className:"text-xl text-white font-light opacity-[0.7]",children:h.arch}),a("div",{className:"absolute top-7 right-4 opacity-[0.95]",children:[h.plat==="Linux"&&a(ma,{}),h.plat==="macOS"&&a(da,{}),h.plat==="Windows"&&a(ga,{})]}),a("p",{className:"text-xl font-normal absolute bottom-4 text-center left-5",children:pr(h.support)}),a("div",{className:"w-[120%] m-auto h-14 absolute top-2 right-5 blur-[65px]",style:{backgroundColor:h.support.startsWith("alias")?"#65A5FF":h.support==="unsupported"?"#FF7C65":"#6FFF65"}})]}))})]})}function _a(e){return e=e.replace("#",""),{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}}function Hn(e,t){let{r:n,g:r,b:i}=_a(e);return n=Math.max(Math.min(255,n+t),0),r=Math.max(Math.min(255,r+t),0),i=Math.max(Math.min(255,i+t),0),`#${[n,r,i].map(o=>o.toString(16).padStart(2,"0")).join("")}`}function ar(e){let{r:t,g:n,b:r}=_a(e);return Math.round((t*299+n*587+r*114)/1e3)>125?"#000000":"#FFFFFF"}function ba(e){const t=e?Hn(e,40):"#BFBFBF";document.documentElement.style.setProperty("--k",t),document.documentElement.style.setProperty("--k-dimmed",Hn(t,-40)+"40"),document.documentElement.style.setProperty("--k-lighter",Hn(t,80))}var xa={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},di=st.createContext&&st.createContext(xa),Eu=["attr","size","title"];function Au(e,t){if(e==null)return{};var n=Tu(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tu(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(this,arguments)}function mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
9t%2?mi(Object(n),!0).forEach(function(r){Nu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mi(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nu(e,t,n){return t=Iu(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){var t=Pu(e,"string");return typeof t=="symbol"?t:t+""}function Pu(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ya(e){return e&&e.map((t,n)=>st.createElement(t.tag,xn({key:n},t.attr),ya(t.child)))}function Le(e){return t=>st.createElement(Fu,bn({attr:xn({},e.attr)},t),ya(e.child))}function Fu(e){var t=n=>{var{attr:r,size:i,title:o}=e,l=Au(e,Eu),s=i||n.size||"1em",h;return n.className&&(h=n.className),e.className&&(h=(h?h+" ":"")+e.className),st.createElement("svg",bn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,l,{className:h,style:xn(xn({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&st.createElement("title",null,o),e.children)};return di!==void 0?st.createElement(di.Consumer,null,n=>t(n)):t(xa)}function Lu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM176,168H80a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm0-32H80a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm0-32H80a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Z"},child:[]}]})(e)}function Ou(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-24,96-25.61-19.2a4,4,0,0,0-4.8,0L128,120V40h56Z"},child:[]}]})(e)}function Ru(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z"},child:[]}]})(e)}function wa(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"},child:[]}]})(e)}function Mu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},child:[]}]})(e)}function Du(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M224,64H32A16,16,0,0,0,16,80v96a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V80A16,16,0,0,0,224,64Zm-36,76a12,12,0,1,1,12-12A12,12,0,0,1,188,140Z"},child:[]}]})(e)}function zu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm-80,84a12,12,0,1,1,12-12A12,12,0,0,1,128,164Zm32-84H96V56a32,32,0,0,1,64,0Z"},child:[]}]})(e)}function $u(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,141.66a8,8,0,0,1-11.32,0l-64-64a8,8,0,0,1,11.32-11.32l64,64A8,8,0,0,1,165.66,165.66Z"},child:[]}]})(e)}function Hu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M239.43,133l-32-80A8,8,0,0,0,200,48a8.27,8.27,0,0,0-1.73.21L136,62V40a8,8,0,0,0-16,0V65.58L54.27,80.21A8,8,0,0,0,48.57,85l-32,80a7.92,7.92,0,0,0-.57,3c0,23.31,24.54,32,40,32s40-8.69,40-32a7.92,7.92,0,0,0-.57-3L66.92,93.77,120,82V208H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16H136V78.42L187,67.1,160.57,133a7.92,7.92,0,0,0-.57,3c0,23.31,24.54,32,40,32s40-8.69,40-32A7.92,7.92,0,0,0,239.43,133Zm-160,35H32.62L56,109.54Zm97.24-32L200,77.54,223.38,136Z"},child:[]}]})(e)}function Bu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},child:[]}]})(e)}function Uu(e){return Le({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},child:[]}]})(e)}function Ue(){return ce(()=>{window.location.pathname.includes("/package/")||ba(void 0)},[]),a("nav",{className:"py-6 px-14 flex flex-row items-center justify-between",children:[a("a",{href:"/",children:a("img",{height:80,className:"h-8 object-scale-down cursor-pointer",src:"/konball.png",alt:"Konbini logo"})}),a("form",{action:"/search",className:"border border-[#FFFFFF17] hover:bg-[#FFFFFF1F] focus:bg-[#FFFFFF2F] bg-[#FFFFFF14] focus:border focus:border-[#FFFFFF5A]  flex flex-row items-center pl-4",children:[a(Uu,{size:25,color:"#FFFFFF5A"})," ",a("input",{type:"search",name:"q",placeholder:"Search for packages",className:"w-full px-4 py-3 focus:outline-none"})]})]})}function Ze(){return a(z,{children:a("footer",{className:"p-10 bg-[#00000035] flex flex-row items-start justify-between overflow-hidden relative h-120",children:[a("div",{className:"bg-[#FF0088] w-lg h-128 blur-[200px] absolute top-[-50px] left-[-150px] opacity-[0.4] z-[-1]"}),a("div",{className:"flex flex-col items-start justify-start",children:[a("a",{href:"/",children:a("img",{height:80,className:"h-20 object-scale-down cursor-pointer mb-6",src:"/konball.png",alt:"Konbini logo"})}),a("p",{children:a("i",{children:"Your convenience store."})}),a("p",{children:["Copyright ©"," ",a("a",{href:"https://hana-org.vercel.app",target:"_blank",rel:"noopener noreferrer",children:"The Hana Organization"}),", 2025"]})]}),a("div",{className:"flex flex-col gap-4 items-end justify-start",children:[a("a",{href:"/safety",className:"text-lg font-medium",children:"How we keep Konbini apps safe"}),a("a",{href:"/credits",className:"text-lg font-medium",children:"Credits and acknowledgments"}),a("a",{href:"https://github.com/HanaOrg/Konbini/blob/main/doc/README.md",target:"_blank",rel:"noopener noreferrer",className:"text-lg font-medium",children:"How to publish your app"}),a("a",{href:"https://github.com/HanaOrg/Konbini/",target:"_blank",rel:"noopener noreferrer",className:"text-lg font-medium",children:"Konbini ♥ Open Source"}),a("a",{href:"/tos",className:"text-lg font-medium",children:"Terms of Service"}),a("a",{href:"/privacy",className:"text-lg font-medium",children:"Privacy Policy"}),a("div",{className:"bg-[#FFCF574D] flex flex-col gap-2 p-4 border-2 border-[#FFFFFF33]",children:[a("h3",{className:"text-xl font-semibold text-[#FFCC96]",children:"This is alpha software."}),a("hr",{}),a("p",{className:"text-lg font-medium text-[#FFCC96]",children:["Konbini is a newly made project.",a("br",{}),"Expect bugs, issues, and missing features.",a("br",{}),"Report any issue you find. Thanks!"]})]})]})]})})}
9function Wu({appName:e,appId:t,supported:n}){return a("dialog",{id:"install_dialog",className:"p-8 bg-[#0000000F]  backdrop-blur-2xl border border-[#FFFFFF2E] top-[50%] left-[50%] translate-[-50%]",children:[a("div",{className:"flex flex-row items-start justify-between mb-4",children:[a("div",{className:"flex flex-col",children:[a("h1",{style:{fontWeight:800,color:"#fff",fontSize:"2.5em"},children:["Download ",e]}),a("h2",{style:{fontWeight:600,color:"#fff",fontSize:"1.5em"},children:"from Konbini"}),!n&&a("b",{className:"text-yellow-300",children:"This won't work as the package is unsupported on your platform."})]}),a("button",{onClick:()=>{const r=document.getElementById("install_dialog");if(!r){console.error("No modal rendered?");return}r.close()},className:"w-14 h-14 ",style:{backgroundColor:"transparent"},children:"X"})]}),a("h3",{className:"text-lg text-white font-bold",children:"1. Get Konbini"}),a("p",{className:"ml-4 mb-2",children:["On"," ",_n().plat==="Windows"?a("b",{children:"a PowerShell session"}):a("b",{children:"a BASH (or your system's shell) session"}),", run this:"]}),a("code",{className:"ml-4 p-3  bg-[#FFFFFF19] font-mono font-light text-sm",children:["$"," ",_n().plat==="Windows"?'powershell -c "irm https://konbini.vercel.app/dl.ps1 | iex"':"curl -fsSL https://konbini.vercel.app/dl.sh | bash"]}),a("h3",{className:"mt-4 text-lg text-white font-bold",children:["2. Install ",e]}),a("p",{className:"ml-4 mb-2",children:"Once Konbini installs, restart your terminal and run this:"}),a("code",{className:"ml-4 p-3  bg-[#FFFFFF19] font-mono font-light text-sm",children:["$ kbi install ",t]})]})}function ke({color:e,children:t,text:n}){return a("div",{className:"px-3 py-2 font-mono text-sm font-medium  w-fit",style:{backgroundColor:e,color:n},children:t})}function ju(e){return wn(e.type,["PRIVATE_CORP","NON_PROFIT","GOVT_ORG","COLLAB_ORG","OTHER"])}function Re({children:e,className:t,justify:n="center"}){return a("div",{className:`flex flex-row items-center justify-${n} text-lg gap-2 px-4 py-3 bg-(--k-dimmed) font-semibold  w-fit border border-[#ffffff10] ${t}`,children:e})}function va({authorId:e,usr:t,apps:n}){const[r,i]=ee(document.documentElement.style.getPropertyValue("--k")),o=Jo(e).manifestPub,l=ju(t),s=l?t.type==="PRIVATE_CORP"?"a private corporation":t.type==="GOVT_ORG"?"a public/government organization":t.type==="NON_PROFIT"?"a non-profit organization":t.type==="COLLAB_ORG"?"a collab organization":"an organization":"a regular user";return ce(()=>{const h=()=>{const m=document.documentElement.style.getPropertyValue("--k").trim();i(m)};h();const u=new MutationObserver(h);return u.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>u.disconnect()},[]),a(z,{children:[a("h2",{className:"mt-12 text-3xl text-white font-semibold",children:"Publisher details"}),a("p",{children:["This is ",s,".",n&&a(z,{children:[" ","See more details and other apps from them"," ",a("a",{href:`https://konbini.vercel.app/author/${e}`,children:"here"}),"."]})]}),a("div",{className:"flex flex-row gap-1 mt-2 mb-1",children:[a(ke,{color:"#ffffff3a",children:t.name}),t.verified&&a(ke,{color:"var(--k)",text:ar(r),children:["This ",s==="a regular user"?"user":"organization"," is verified"]})]}),a("div",{className:"flex flex-row gap-1 mb-2",children:[t.email&&a(ke,{color:"var(--k-dimmed)",children:a("a",{href:`mailto:${t.email}`,children:t.email})}),t.website&&a(ke,{color:"var(--k-dimmed)",children:a("a",{target:"_blank",rel:"noopener noreferrer",href:`https://${t.website}`,children:t.website})}),(l?t.hiring:t.for_hire)?a(ke,{color:"#30ff801a",children:["Currently ",l?"hiring":"for hire"]}):a(ke,{color:"#ff30301a",children:["Not currently ",l?"hiring":"for hire"]}),t.bs&&a(ke,{color:"var(--k-dimmed)",children:"Bootstrapped package"})]}),t.socials&&a(z,{children:[a("p",{children:"Follow them"}),a("div",{className:"flex flex-row gap-1 mt-2 mb-1",children:Object.entries(t.socials).map(h=>a("a",{href:h[0]==="bluesky"?`https://bsky.app/profile/${h[1]}`:`https://${h[0]}.com/${h[1]}`,target:"_blank",rel:"noopener noreferrer",className:"py-2 px-4 bg-[#00000030]  hover:bg-[#00000060]",children:[pr(h[0])," @",h[1]]}))})]}),n&&a(z,{children:[a("h2",{className:"mt-12 mb-4 text-3xl text-white font-semibold",children:["All apps from ",t.name]}),a("div",{className:"grid grid-cols-4 gap-2",children:Object.entries(n).map(([h,u])=>a(Re,{justify:"start",className:"w-full",children:[u.icon&&a("img",{src:u.icon,width:50,height:50,className:"object-scale-down"}),a("div",{className:"flex flex-col",children:[a("h3",{className:"text-2xl text-white font-medium",children:u.name}),a("a",{href:`https://konbini.vercel.app/package/${h}`,children:"See in Konbini"})]})]},h))}),a("h2",{className:"mt-12 mb-4 text-3xl text-white font-semibold",children:"Transparency"}),a(Re,{children:[a(wa,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:o,target:"_blank",rel:"noopener noreferrer",children:"Author manifest"}),a("p",{className:"text-xs font-light",children:o.replace("https://github.com/HanaOrg/","").replace(`blob/main/${e.split(".")[0]}/${e.slice(0,2)}`,"")})]})]})]})]})}function Vu({ss:e}){const[t,n]=ee(0);function r(i){if(i<0){n(e.length-1);return}if(i>e.length-1){n(0);return}n(i)}return a(z,{children:[a("h2",{className:"mt-12 mb-4 text-3xl text-white font-semibold",children:"Screenshots"}),a("div",{className:"slideshow-container",children:[e.map((i,o)=>a("div",{className:`slides ${o===t?"flex":"hidden"}`,children:[a("div",{className:"number-text",children:o+1+"/"+e.length}),a("img",{src:"https://"+i.link,alt:i.text}),a("div",{className:"w-[80%] text-base min-h-18 mx-auto flex items-center justify-center text-center",children:i.text}),e.length>1&&a("div",{className:"flex flex-row gap-1 items-center justify-center",children:e.map((l,s)=>a("div",{className:s==t?"dot active":"dot",onClick:()=>r(s)}))})]})),e.length>1&&a(z,{children:[a("a",{className:"prev",onClick:()=>r(t-1),children:"❮"}),a("a",{className:"next",onClick:()=>r(t+1),children:"❯"})]})]})]})}function qu({requirements:e}){const t=e;return a(z,{children:[a("h2",{className:"mt-12 mb-4 text-3xl text-white font-semibold",children:"System requirements"}),a("div",{className:"flex flex-row gap-12",children:[t.os_ver&&a("div",{className:"flex flex-col gap-1",children:[a("b",{className:"mb-2",children:"OS"}),t.os_ver.win&&a("p",{children:[a("b",{children:"Windows"})," | ",t.os_ver.win]}),t.os_ver.mac&&a("p",{children:[a("b",{children:"macOS"})," | ",t.os_ver.mac]}),t.os_ver.lin&&a("p",{children:[a("b",{children:"Linux"})," | ",t.os_ver.lin]})]}),t.ram_mb&&a("div",{className:"flex flex-col gap-1",children:[a("b",{className:"mb-2",children:"RAM"}),t.ram_mb," MB"]}),t.disk_mb&&a("div",{className:"flex flex-col gap-1",children:[a("b",{className:"mb-2",children:"Storage"}),t.disk_mb," MB"]})]})]})}function Ku({author:e,maintainers:t}){return a(z,{children:[a("h2",{className:"mt-12 text-3xl text-white font-semibold",children:"Maintainers of this package"}),a("p",{className:"mb-4",children:["besides ",e]}),a("div",{className:"flex flex-row gap-4 flex-wrap",children:t.map(n=>a("div",{className:"flex flex-col gap-1 grow",children:[a("h3",{className:"text-xl font-semibold text-white",children:n.name}),n.email&&a("a",{href:`mailto:${n.email}`,children:n.email}),a("div",{className:"flex flex-row gap-2",children:[n.github&&a("a",{href:`https://github.com/${n.github}`,rel:"noopener noreferrer",target:"_blank",className:"py-2 px-4  bg-[#00000020] w-auto hover:bg-[#00000090]",children:[n.github," on GitHub"]}),n.link&&a("a",{href:n.link,rel:"noopener noreferrer",target:"_blank",className:"py-2 px-4  bg-[#00000020] w-auto hover:bg-[#00000090]",children:n.link})]})]}))})]})}function Gu({app:e,manifestUrl:t}){const n=e.repository?e.repository.startsWith("url:")?{public:e.repository.slice(4)}:qo(e.repository):null,r=_n(),i=r.plat==="Windows"&&r.arch==="64"?"win64":r.plat==="Linux"?r.arch==="64"?"linux64":r.arch==="ARM"?"linuxArm":null:r.plat==="macOS"?r.arch==="ARM"?"macArm":r.arch==="64"?"mac64":null:null,o=i&&e.filesizes?e.filesizes[i]??null:null;return a(z,{children:[a("h2",{className:"mt-12 mb-4 text-3xl text-white font-semibold",children:"Package details"}),a("div",{className:"flex flex-row gap-3 flex-wrap w-full",children:[o&&a(Re,{children:[a(Du,{size:35}),a("p",{children:["Takes ",(o/1048576).toFixed(2)," MB."]})]}),e.privacy&&a(Re,{children:[a(zu,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:"https://"+e.privacy,target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),a("p",{className:"text-xs font-light",children:e.privacy})]})]}),e.terms&&a(Re,{children:[a(Lu,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:"https://"+e.terms,target:"_blank",rel:"noopener noreferrer",children:"Terms of Use"}),a("p",{className:"text-xs font-light",children:e.terms})]})]}),a(Re,{children:[a(Hu,{size:35}),e.license?a("p",{children:["Licensed under ",a("i",{children:Uo(e.license)})]}):a("p",{children:"No license."})]}),e.homepage&&a(Re,{children:[a(Mu,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:"https://"+e.homepage,target:"_blank",rel:"noopener noreferrer",children:"Package's website"}),a("p",{className:"text-xs font-light",children:e.homepage})]})]}),e.docs&&a(Re,{children:[a(Ou,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:"https://"+e.docs,target:"_blank",rel:"noopener noreferrer",children:"Learn to use it"}),a("p",{className:"text-xs font-light",children:e.docs})]})]}),a(Re,{children:[n?a(Ru,{size:35}):a($u,{size:35}),n?a("div",{className:"flex flex-col",children:[a("a",{href:n.public,target:"_blank",rel:"noopener noreferrer",children:["Open source code ",":]"]}),a("p",{className:"text-xs font-light",children:n.public})]}):a("p",{className:"font-normal",children:["Closed source ",":["]})]}),a(Re,{children:[a(wa,{size:35}),a("div",{className:"flex flex-col",children:[a("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:"Project manifest"}),a("p",{className:"text-xs font-light",children:t.replace("https://github.com/HanaOrg/","").replace("blob/main/","")})]})]})]})]})}async function Yu(e){const t=await Yt(`https://konbini-data.vercel.app/api/guard?id=${e}`);if(t.status===404)throw`Package doesn't seem to exist (404 for endpoint api/guard?id=${e})`;const n=await t.json();if(!n.results)throw"No results object received from KGuard(@KDATA API).";return e.split("@")[1]==="0"?n:{...n,isSafe:Object.values(n.results).every(r=>r===!0)}}async function Zu(e){return await(await Yt(`https://konbini-data.vercel.app/api/pkg?id=${e}`)).json()}async function Bn(e,t){return await(await Yt(`https://konbini-data.vercel.app/api/group?sorting=${e}${t?`&entries=${t}`:""}`)).json()}async function ka(e){return await(await Yt(`https://konbini-data.vercel.app/api/author?id=${e}`)).json()}async function Qu(e){const n=await(await Yt("https://konbini-data.vercel.app/api/group?sorting=d")).json(),r=[],i=gn(e),o=l=>gn(l,{strict:!0}).includes(i);
9return Object.entries(n).forEach(([l,s])=>{(o(s.name)||o(s.desc)||o(s.slogan)||(s.categories||[]).some(o))&&r.push(s)}),r}function Xu({downloads:e}){const t=e.installs.length+e.removals.length,n=e.installs.length/t*100,r=e.removals.length/t*100;return a(z,{children:[a("h2",{className:"mt-12 text-3xl text-white font-semibold",children:"Downloads vs. removals"}),e.removals.length?a("p",{className:"mb-4",children:["This package was"," ",a("b",{className:"text-teal-300",children:["installed ",e.installs.length," times"]}),", but ",a("b",{className:"text-red-400",children:["removed ",e.removals.length," times"]}),"."]}):a("p",{className:"mb-4",children:["This package was"," ",a("b",{className:"text-teal-300",children:["installed ",e.installs.length," times"]}),". It hasn't been removed by anyone yet, if it did, a"," ",a("b",{className:"text-red-400",children:"red chunk"})," would be visible in the graph."]}),a("div",{className:"flex flex-row w-full  overflow-hidden",children:[a("div",{className:"bg-teal-300 h-5 grid place-items-center",style:{width:`${n}%`},children:a("p",{className:"font-bold text-sm text-black leading-none",children:[n.toPrecision(3),"%"]})}),a("div",{className:"bg-red-400 h-5 grid place-items-center",style:{width:`${r}%`},children:a("p",{className:"font-bold text-sm text-black leading-none",children:[r.toPrecision(3),"%"]})})]}),a("p",{className:"mt-4 text-xs",children:"Statistics aren't 100% accurate. They're meant to show the overall trend, whether people chooses to keep this package or tends to remove it."})]})}function Ju({res:e,app:t}){return a("div",{className:"flex flex-col absolute z-99 gap-5 p-10 px-30 top-0 left-0 right-0 bottom-0 bg-red-700/60 backdrop-blur-lg",children:[a("h2",{className:"text-4xl font-bold text-white",children:["This package, ",t.name,", has",a("br",{}),"been reported as unsafe!"]}),a("p",{children:[a("a",{href:"/",className:"text-white!",children:"Click here to go back home."})," ","Keep reading for more info, if you want to."]}),a("h3",{className:"text-2xl font-bold text-white",children:"What happened"}),a("p",{className:"text-lg text-white font-medium",children:"We're continuously scanning all packages to ensure they're secure to download. In the latest scan, this package did n
9ot pass all checks, so we've blocked it."}),a("h3",{className:"text-2xl font-bold text-white",children:"Security checks"}),a("div",{className:"p-4  bg-[#00000070] font-mono flex flex-col gap-2",children:[e.results.authentic?a("p",{children:[a("b",{children:"Package is authentic."})," All signatures match."]}):a("p",{children:[a("b",{children:"Package is NOT authentic."})," At least one signature doesn't match."]}),e.results.integral?a("p",{children:[a("b",{children:"Binaries are unmodified."})," All hashes match."]}):a("p",{children:[a("b",{children:"Binaries are NOT unmodified."})," At least one hash doesn't match."]}),e.results.safe?a("p",{children:[a("b",{children:"Binaries are safe."})," AV tests pass."]}):a("p",{children:[a("b",{children:"Binaries are NOT safe."})," AV has flagged this package."]})]}),!e.results.safe&&a("p",{className:"text-lg text-white font-medium",children:a("b",{children:["The publisher, ",t.author,", supposedly attempted to distribute software with virus, which can damage your computer or steal personal data."]})}),!e.results.authentic&&a("p",{className:"text-lg text-white font-medium",children:a("b",{children:["The publisher, ",t.author,", attempted to distribute software without a proper signature. It's not possible to certify if the binaries really came from him or from somebody else."]})}),!e.results.integral&&a("p",{className:"text-lg text-white font-medium",children:a("b",{children:"The downloadable content of this package did n
9ot pass hashing tests, meaning it may have been corrupted."})}),a("p",{className:"text-lg text-white font-medium",children:"We'll manually review them to verify if it's true or not. For now, this package has been blocked and is not accessible."}),a("h3",{className:"text-2xl font-bold text-white",children:"I'm the maker of this package, what do I do?"}),a("p",{className:"text-lg text-white",children:["We will try to get in touch with you by any mean (email, and issue in your repo, etc...). If you did nothing wrong (meaning this is a false positive), we'll likely find out and manually remove this warning. If it's not,"," ",a("i",{children:"well, consider yourself permanently banned from Konbini"}),"."]})]})}function ec(){const[e,t]=ee(),[n,r]=ee(),[i,o]=ee(!0),[l,s]=ee(null),[h,u]=ee(null),[m,c]=ee(!1),[_,f]=ee(!1),[y,A]=ee("mid"),T=window.location.pathname.split("/package/").filter(Boolean)[0],x=_n();if(ce(()=>{async function b(){try{const F=await Zu(T),B=await Yu(`${T}@${F.latest_release}@${x.asSupported}`).catch(U=>{if(String(U).includes("404"))return{isSafe:!0,date:"",results:{safe:!0,authentic:!0,integral:!0,hash:"",ver:""}};throw U}),M=await ka(F.author);u(B),r(M),t(F),ba(F.accent),c(F.platforms&&(x.plat=="Windows"&&typeof F.platforms.win64=="string"||x.plat=="macOS"&&x.arch=="64"&&typeof F.platforms.mac64=="string"||x.plat=="macOS"&&x.arch=="ARM"&&typeof F.platforms.macArm=="string"||x.plat=="Linux"&&x.arch=="64"&&typeof F.platforms.linux64=="string"||x.plat=="Linux"&&x.arch=="ARM"&&typeof F.platforms.linuxArm=="string")||!1),f(x.plat=="macOS"&&(typeof F.platforms.mac64=="string"||typeof F.platforms.macArm=="string")||x.plat=="Linux"&&(typeof F.platforms.linux64=="string"||typeof F.platforms.linuxArm=="string")),A(jo(F.age_rating))}catch{if(String(l).includes("does NOT exist")){window.location.pathname="/404";return}s(String(l))}finally{o(!1)}}b()},[]),i)return a(z,{children:[a("div",{className:"bg-[#8800FF] w-lg h-128 blur-[300px] opacity-[0.75] absolute top-[650px] left-[-50px] z-[-1]"}),a("div",{className:"bg-[#FF07EA] w-lg h-128 blur-[300px] opacity-[0.65] absolute bottom-[50px] right-[-300px] z-[-1]"}),a("div",{className:"bg-[#C23282] w-lg h-128 blur-[300px] opacity-[0.50] absolute top-[-150px] right-[-150px] z-[-1]"}),a("h1",{children:['Loading package "',T,'"...']})]});if(!e||!n)return a(z,{children:[a("h1",{children:"Oops! An error happened"}),a("p",{children:[l??"An unknown error prevented the app from loading. That's all we know.",a("br",{}),a("a",{href:"/",children:"Go back."})]})]});const[w,k]=ee(document.documentElement.style.getPropertyValue("--k"));ce(()=>{const b=()=>{const B=document.documentElement.style.getPropertyValue("--k").trim();k(B)};b();const F=new MutationObserver(b);return F.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),()=>F.disconnect()},[]);const P=m?"Works on your device":_?"Maybe works on your device":"Does not work on your device",O=m?"var(--k-lighter)":_?"#FF7C65":"#FF3863";return a(z,{children:[h&&![h.results.authentic,h.results.integral,h.results.safe].every(b=>b==!0)&&a(Ju,{res:h,app:e}),a("div",{className:"bg-(--k) w-lg h-128 blur-[300px] opacity-[0.6] absolute top-[-150px] right-[-150px] z-[-1]"}),a("div",{className:"bg-(--k) w-lg h-128 blur-[300px] opacity-[0.7] absolute top-[650px] left-[-150px] z-[-1]"}),a("div",{className:"bg-(--k) w-lg h-128 blur-[300px] opacity-[0.4] absolute bottom-[50px] right-[-300px] z-[-1]"}),a(Ue,{}),a(Wu,{appName:e.name,appId:T,supported:m||_}),a("div",{className:"app-main-cont",children:[a("div",{className:"flex flex-row",children:[e.icon&&a("img",{className:"w-24 h-24  mr-4",src:"https://"+e.icon,alt:`${e.name}'s icon.`}),a("div",{className:"flex flex-col w-fit min-w-[50%] gap-0",children:[a("h1",{className:"grad",children:e.name}),a("h2",{className:"text-xl text-white opacity-[0.8] mb-2 italic w-[70%]",children:e.slogan}),a("h2",{className:"text-lg text-white opacity-[0.5] mb-2",children:[e.downloads.active," active installs (est.)"]}),a("div",{className:"flex flex-row gap-1",children:[a(ke,{color:"var(--k-dimmed)",children:["By"," ",a("a",{href:`https://konbini.vercel.app/author/${e.author}`,children:e.author})]}),e.bs&&a(ke,{color:"var(--k-dimmed)",children:"Bootstrapped package"}),n.verified&&a(ke,{color:"var(--k)",text:ar(w),children:"[√] Verified"})]}),a("div",{className:"flex flex-row gap-1 mt-1",children:[a(ke,{color:y==="everyone"?"#00FF6F1a":y==="mid"?"#FF8C001A":y==="high"?"#FF6C002A":"#FF1C003A",children:y==="everyone"?"For everyone":y==="mid"?"May be inappropriate for kids":y==="high"?"Inappropriate for kids":"Inappropriate for young users"}),e.telemetry&&a(ke,{color:"#FF8C001A",children:"Shares telemetry data"}),(e.categories||[]).map(b=>a(ke,{color:"#FFE8BF1A",children:pr(b)},b))]})]}),a("div",{className:"ml-auto h-fit text-xl flex flex-col items-end gap-2",children:[a("button",{onClick:()=>{const b=document.getElementById("install_dialog");if(!b){console.error("No modal rendered?");return}b.showModal()},className:m||_?"":"button-unsupported",style:{color:m||_?ar(w):void 0},children:[a(Bu,{}),"Download"]}),a("div",{className:"text-base text-end",style:{color:O},children:[P,".",a("br",{}),e.type==="both"?"Both CLI and GUI app.":e.type==="cli"?"Command Line app.":"Graphical app.",a("br",{}),e.latest_release&&e.last_release_at&&`Known version ${e.latest_release} (released ${e.last_release_at}).`]})]})]}),a("br",{}),a("div",{className:"markdown",dangerouslySetInnerHTML:{__html:ai(e.desc.replaceAll("\\n",`
10`),{allowDangerousHtml:!0})}}),e.changelog&&a(z,{children:[a("hr",{className:"mt-6"}),a("h2",{className:"mt-6 text-3xl text-white font-semibold",children:"Changelog for the latest update"}),a("p",{className:"mb-4 text-white font-semibold",children:e.last_release_at?`Published ${new Date(e.last_release_at).toUTCString()}`:a("i",{children:"Exact release date unknown."})}),a("div",{className:"markdown",dangerouslySetInnerHTML:{__html:Cu.sanitize(ai(e.changelog.replaceAll("\\n",`
11`),{}))}}),a("hr",{className:"mt-6"})]}),e.images&&e.images.length>0&&a(Vu,{ss:e.images}),a("hr",{className:"mt-6"}),a("h2",{className:"mt-12 mb-2 text-3xl text-white font-semibold",children:"Platform support"}),a("h3",{className:"mb-4 text-lg",children:"Note that this refers to platforms where a Konbini install is supported. The package just might be available for platforms not shown here, via a distribution method not supported by Konbini."}),a(Su,{platforms:e.platforms}),a(Gu,{app:e,manifestUrl:Xo(T).manifestPub}),e.requirements&&a(qu,{requirements:e.requirements}),a("hr",{className:"mt-6"}),a(va,{authorId:e.author,usr:n,apps:null}),e.maintainers&&a(Ku,{maintainers:e.maintainers,author:n.name}),(e.downloads.installs.length>0||e.downloads.removals.length>0)&&a(Xu,{downloads:e.downloads})]}),a(Ze,{})]})}function dn({apps:e,desc:t,title:n}){return a("div",{className:"flex flex-col",children:[a("h2",{className:"text-3xl font-semibold text-white ",children:n}),a("p",{className:"mb-4 ",children:t}),a("div",{className:"app-grid",children:Object.values(e).map(r=>a("a",{style:{backgroundColor:r.accent?r.accent+"2F":"#FFFFFF14"},href:`/package/${r.id}`,className:"overflow-hidden hover:opacity-[0.9] active:scale-[0.95] active:opacity-[0.8] duration-100 p-6 border border-[#FFFFFF17] flex flex-col gap-2 relative",children:[r.icon&&a("img",{className:"w-24 h-24 absolute bottom-[-5px] right-[-5px] blur-[60px]",src:"https://"+r.icon,alt:`${r.name}'s icon`}),a("div",{className:"hidden __konbini_item_info_giver",children:[r.name,r.slogan]}),a("div",{className:"flex flex-row items-center gap-2",children:[r.icon&&a("img",{className:"w-10 h-10 ",src:"https://"+r.icon,alt:`${r.name}'s icon`}),a("h3",{className:"text-white text-2xl font-semibold",children:r.name},r.name)]}),a("p",{className:"opacity-50 text-sm",children:["by ",a("b",{children:r.author})]}),a("p",{className:"text-white text-lg/[105%] font-normal",children:r.slogan}),a("div",{className:"mt-auto flex flex-row gap-2 items-center",children:[r.platforms.win64&&a(ga,{}),(r.platforms.linux64||r.platforms.linuxArm)&&a(ma,{}),(r.platforms.mac64||r.platforms.macArm)&&a(da,{}),a("div",{className:"ml-auto",children:a("p",{className:"opacity-50",children:[r.downloads.active," installs"]})})]})]}))})]})}function tc(){const[e,t]=ee([]),[n,r]=ee([]),[i,o]=ee(),[l,s]=ee(!0);return ce(()=>{async function h(){const u=await Bn("d",6),m=await Bn("r",6),c=await Bn("c");t(Object.values(u)),r(Object.values(m)),o(c),s(!1)}h()},[]),a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont",style:{backgroundColor:"#121212"},children:[a("h1",{style:{color:"#fff",fontSize:"3em"},children:["Get some cool"," ",a("div",{class:"rotating-words",children:[a("span",{class:"word",children:"Flatpak"}),a("span",{class:"word",children:"SnapCraft"}),a("span",{class:"word",children:"Homebrew"}),a("span",{class:"word",children:"DPKG"}),a("span",{class:"word",children:"Nix"}),a("span",{class:"word",children:"WinGet"}),a("span",{class:"word",children:"Scoop"}),a("span",{class:"word",children:"Chocolatey"}),a("span",{class:"word",children:"Konbini"})]})," ","apps"]}),a("hr",{className:"my-4"}),l?a("h1",{children:"Loading, just one sec!"}):a("div",{className:"flex flex-col gap-8",children:[a(dn,{title:"Most downloaded",desc:"The most downloaded apps of the moment",apps:e}),a("hr",{className:"my-4"}),a("h2",{style:{fontSize:"3em"},children:[a("span",{children:"Konbini"})," is the universal package manager"]}),a("p",{children:[a("span",{children:"You're an app user?"})," Everyone is. Download and enjoy apps from Konbini packages, Konpaks, DPKG, Flatpak, Snap, Homebrew, Nix, and more places from a single, unified tool that deals with all package managers under the hood for you and g
11ives you the best experience.",a("br",{}),a("br",{}),a("span",{children:"You're an app developer?"})," Get the best developer experience with the easiest publishing in the market thanks to repository releases, and give your package the nicest web homepage, even if not hosted with us."]}),a("hr",{className:"my-4"}),a(dn,{title:"Recently updated",desc:"Apps that got updated recently",apps:n}),a("hr",{className:"my-4"}),a("p",{children:"Konbini is still a very early, work in progress project. Expect lack of packages, bugs, and an unpolished CLI. We're slowly working on it."}),i&&Object.entries(i).map(([h,u])=>{const m=Object.values(u);return m.length>0?a(z,{children:[a("hr",{className:"my-4"}),a(dn,{title:h,desc:`All apps from the ${h} category`,apps:m})]}):a(z,{})})]})]}),a(Ze,{})]})}function nc(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont",children:[a("h1",{children:"Got lost through the store?"}),a("p",{children:["We couldn't find the requested route. ",a("a",{href:"/",children:"Go home."})]})]}),a(Ze,{})]})}function rc(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont",children:[a("h1",{children:"Keeping Konbini apps safe"}),a("h4",{className:"text-xl font-medium text-[#ddd] mb-2",children:'Yet another package registry, without the "reputation" of it being managed by a large scale corporation (like Microsoft or Canonical) can raise doubts about its safety. This is what we do at Konbini to keep all uploads safe and sound.'}),a("p",{className:"mb-6",children:["This only applies to ",a("i",{children:"Konbini apps"}),". Aliased packages come from third-party managers we don't control. They're usually safe enough - and anyway Konbini allows you to disable downloads from any aliased registry you don't trust."]}),a("hr",{}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Konbini runs on a public registry"}),a("p",{children:["Whenever someone adds a package, their username and the exact manifest of their package is public for anyone to view, and so is the source from where the package is downloaded.",a("br",{}),'You can access this info by clicking on "Package manifest" from the "Package details" section of each package.']}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Konbini apps require to be hashed and digitally signed"}),a("p",{children:["EVERY binary distributed directly through Konbini requires a SHA3-512 hash (",a("i",{children:"Secure Hash Algorithm 3-512 bits"}),") and a PGP (",a("i",{children:"Pretty Good Privacy"}),") digital signature. Hashes assert integrity and signatures assert authenticity. Binaries are checked immediately after download, and if anything doesn't match, they're immediately removed from your system and you get notified about the incident, so that you can report the package to us as broken."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Konbini publishers are audited"}),a("p",{children:'A random guy with no public repos who uploaded his code yesterday is less likely to get his package accepted than someone with a "normal" developer history. Since packages are managed via GitHub, we can run a small auditory over each publisher before letting them in.'}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Konbini packages are constantly scanned"}),a("p",{children:[`"Don't trust, verify" —`," ",a("b",{children:"we've setup an action runner to periodically test binaries served through Konbini against antivirus software"}),". We run ClamAV through an open-source script on Konbini's main repository. All Konbini packages, even if open source or verified, must and will undergo this scan."]})]}),a(Ze,{})]})}function ic(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont",children:[a("h1",{className:"mb-6",children:"Credits and acknowledgments"}),a("hr",{}),a("p",{className:"mt-6 text-xl",children:["Created and developed almost entirely by"," ",a("a",{href:"http://zakahacecosas.github.io/",target:"_blank",rel:"noopener noreferrer",children:"ZakaHaceCosas"})," ","alone.",a("br",{}),a("br",{}),"Huge thank you to"," ",a("a",{href:"http://github.com/pico190",target:"_blank",rel:"noopener noreferrer",children:"Pico190"})," ","for helping a lot with this website's beautiful design.",a("br",{}),"Also thank you to"," ",a("a",{href:"http://github.com/MrSerge01",target:"_blank",rel:"noopener noreferrer",children:"MrSerge01"})," ","and"," ",a("a",{href:"http://github.com/dimkauzh",target:"_blank",rel:"noopener noreferrer",children:"dimkauzh"})," ","for helping out with testing, ideas, and other stuff."]}),a("hr",{className:"my-6"}),a("p",{className:"text-xl mb-4",children:"Thanks to the following software, that powers Konbini:"}),a("div",{className:"flex flex-row w-full gap-2",children:[a("div",{onClick:()=>window.location.href="https://vercel.com",className:"cursor-pointer text-white font-bold text-2xl text-center p-4 w-full  bg-black hover:bg-[#222]",children:"Vercel"}),a("div",{onClick:()=>window.location.href="https://upstash.com",className:"cursor-pointer text-black font-bold text-2xl text-center p-4 w-full  bg-[#6ee7b7] hover:bg-[#499a7a]",children:"Upstash"}),a("div",{onClick:()=>window.location.href="https://bun.sh",className:"cursor-pointer text-black font-bold text-2xl text-center p-4 w-full  bg-[#f9f1e1] hover:bg-[#aca69b]",children:"BunJS"}),a("div",{onClick:()=>window.location.href="https://www.clamav.net",className:"cursor-pointer text-black font-bold text-2xl text-center p-4 w-full  bg-[#ef3e42] hover:bg-[#a22a2c]",children:"ClamAV"}),a("div",{onClick:()=>window.location.href="https://github.com/features/actions",className:"cursor-pointer text-white font-bold text-2xl text-center p-4 w-full  bg-black hover:bg-[#222]",children:"GitHub Actions"})]})]}),a(Ze,{})]})}function ac(){const[e,t]=ee(),[n,r]=ee(!0),i=window.location.pathname.split("/author/").filter(
11Boolean)[0];return ce(()=>{async function o(){try{const l=await ka(i);t(l),r(!1)}catch(l){if(String(l).includes("does NOT exist")){window.location.pathname="/404";return}throw console.error(l),l}}o()},[]),!e&&n?a(z,{children:[a("div",{className:"bg-[#8800FF] w-lg h-128 blur-[300px] opacity-[0.75] absolute top-[650px] left-[-50px] z-[-1]"}),a("div",{className:"bg-[#FF07EA] w-lg h-128 blur-[300px] opacity-[0.65] absolute bottom-[50px] right-[-300px] z-[-1]"}),a("div",{className:"bg-[#C23282] w-lg h-128 blur-[300px] opacity-[0.50] absolute top-[-150px] right-[-150px] z-[-1]"}),a("h1",{children:['Loading author "',i,'"...']})]}):e?a(z,{children:[a("div",{className:"bg-(--k) w-lg h-128 blur-[300px] opacity-[0.6] absolute top-[-150px] right-[-150px] z-[-1]"}),a("div",{className:"bg-(--k) w-lg h-128 blur-[300px] opacity-[0.4] absolute bottom-[50px] right-[-300px] z-[-1]"}),a(Ue,{}),a("div",{className:"app-main-cont",children:[a("h1",{className:"grad",children:e.name}),e.biography&&a("p",{className:"text-xl italic text-[#EEE] max-w-[60%]",children:e.biography}),a(va,{authorId:i,usr:e,apps:e.packages})]}),a(Ze,{})]}):a("h1",{children:["Error loading ",i,". Failed to load author data."]})}function oc(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont markdown",children:[a("h1",{children:"Konbini's Privacy Policy"}),a("h4",{className:"text-xl font-medium text-[#ddd] mb-2",children:"We don't spy on you, promise."}),a("p",{className:"mb-6",children:["Seriously, we handle minimal data. We have this privacy policy because it's legally required. ",a("i",{children:"This is legal text."})," ",a("b",{children:"Last update: never."})]}),a("hr",{}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"What data we may collect"}),a("h3",{className:"text-white text-xl font-semibold mb-2",children:"From our website"}),a("p",{children:["When you visit our main website (",a("a",{href:"/",children:"https://konbini.vercel.app/"}),"), Vercel Analytics collect anonymous data about user devices, browsers, and countries. We do not have access to any personal data from this."]}),a("h3",{className:"text-white text-xl font-semibold mb-2 mt-2",children:"From the Konbini application"}),a("p",{children:["When you install or remove a package via Konbini, a request is sent to a data endpoint hosted on Vercel. Vercel may log your IP address for rate limiting and security (see their"," ",a("a",{href:"https://vercel.com/legal/privacy-policy",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),"). We do not store IPs. Our database only keeps anonymous records of the event type (install or removal), operating system, country code, affected app, and timestamp."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"How we process this data"}),a("p",{children:["Website analytics are handled and stored by Vercel only; we just use the anonymous reports to monitor performance and may publish them anytime.",a("br",{}),"The install/removal data is stored by us in a Redis database hosted by"," ",a("a",{href:"https://upstash.com",target:"_blank",rel:"noopener noreferrer",children:"Upstash"}),". The database is private but the anonymized statistics can be viewed publicly on our site per app."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"How to tell we're telling the truth"}),a("p",{children:["Konbini is open source, so if you're curious you can check the source code to see exactly what data is sent from the app.",a("br",{}),"Vercel Analytics isn't open source, but anyone can set it up for free. You can create a test site, enable analytics, and visit it yourself to verify that no sensitive data is ever sent to Vercel's dashboard."]})]}),a(Ze,{})]})}function lc(){const[e,t]=ee(!0),[n,r]=ee([]),{query:i}=Mo();return ce(()=>{async function o(){const l=i.q;if(!l){r([]),t(!1);return}const s=await Qu(l);r(s),t(!1)}o()},[]),a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont",children:[a("div",{className:"bg-[#c23282] w-350 h-200 blur-[200px] opacity-[0.2] absolute top-[-300px] left-[-300px] z-[-1]"}),e?a("h1",{children:['Searching "',i.q,'" up...']}):n.length?a(dn,{apps:n,title:`Results for "${i.q}".`,desc:`Found ${n.length} packages. They're sorted by downloads (and alphabetically if these are equal).`}):a(z,{children:[a("h1",{children:['No results for "',i.q,'"']}),a("p",{children:["Check you didn't misspell anything.",a("br",{}),"If you're sure it's right, maybe the package isn't yet on Konbini, or perhaps y
11ou're just to original for us. Who knows?"]})]})]})]})}function gi(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont markdown",children:[a("h1",{children:"Konbini's Terms of Service"}),a("h4",{className:"text-xl font-medium text-[#ddd] mb-2",children:"A small set of rules we enforce for Konbini to stay cool and clean."}),a("p",{className:"mb-6",children:[a("i",{children:"This is legal text."})," ",a("b",{children:"Last update: never."})]}),a("hr",{}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Terms and Definitions"}),a("p",{children:['Through these Terms of Service (later referred to as "Terms"), The Konbini team will be referred to as "we", "us", "our/ours", or "Hana" (as in "The Hana Organization").The Privacy Policy of Konbini can be found at https://konbini.vercel.app/privacy. Throughout the Terms, we comply with our legal obligations. By using Konbini you hereby agree to these Terms.',a("br",{}),a("br",{}),"Throughout these Terms, the following definitions apply:",a("br",{}),a("br",{}),a("ul",{children:[a("li",{children:[a("b",{children:'"You"'})," refers to you as an individual and a user of Konbini."]}),a("li",{children:[a("b",{children:'"Package"'})," refers to an application, library, tool, or other software component contributed to Konbini, including its manifest and associated metadata."]}),a("li",{children:[a("b",{children:'"Konbini Guard"'})," refers to the automated systems, processes, and audits used by Hana to check all uploaded Packages for malware, viruses, or other unsafe behavior."]})]})]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Governing Law"}),a("p",{children:["Throughout these Terms, whenever we reference the ",a("i",{children:"law"}),", we will be referring to both the law of your country of legal residence, and the law of the Kingdom of Spain (",a("i",{children:"our"})," country of residence).",a("br",{}),a("br",{}),"If your law and our law happen to disagree, Spanish law will always prevail.",a("br",{}),"If your law grants a right that is not granted under Spanish law, it ",a("i",{children:"will"})," ","however be respected by these Terms, giving you the ability to enforce it against us at any time."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"About Published Packages"}),a("p",{children:'Whenever you begin the process to serve a "package" through Konbini (by contributing its manifest to our code repository), you are granting us certain rights:'}),a("ul",{className:"my-3",children:[a("li",{children:["The right to accept or reject a submission for any reason."," ",a("i",{children:"You will always be explained the reason in detail."})]}),a("li",{children:"The right to edit, alter, add, or remove information from its public manifest, both in the moment of the submission and any time after."}),a("li",{children:['The right to remove the package from public listing at any time, as long as it is for any of the following "valid" reasons:',a("ul",{children:[a("li",{children:"Complying with a request from any legal or governmental authority."}),a("li",{children:"Complying with our safety promise, in the event of your package being flagged as unsafe by Konbini Guard."}),a("li",{children:"Complying with our own Terms of Service. If your package is found anytime to not be in compliance with our ToS, it will be removed without prior notification."})]})]}),a("li",{children:["The right to use your package's name, icon if provided, and any contents shown in its public page for marketing, promotions, or other communications."," ",a("i",{children:"You will always be attributed as the package owner and maker and this clause only grants us usage permission, not ownership and not the ability to alter or modify your package's given image in any way."})]})]}),a("p",{children:[a("b",{children:"You retain all copyright and intellectual property rights over your Package, except for the limited rights granted above."})," ","Any copyright or intellectual property violation your Package may be involved in in any way will always be your responsibility, even if the violation comes to light as a result of our use of the Package's public information for the purposes described above."]}),a("p",{children:["If you happen to disagree with any decision we may take ",a("i",{children:"against"})," you, you always have the right to appeal it by directly talking to anyone publicly labeled as a member of Hana. The right to appeal our decisions is provided as a courtesy, and we hold no obligation to lift any action we may have previously taken."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Rules to comply with when publishing a Package"}),a("p",{children:["To ensure everyone can benefit from a fair, safe, and clean market, we enforce a small set of rules that all packages have to comply with in order to be allowed in Konbini.",a("ul",{className:"my-3",children:[a("li",{children:"Your package must not violate any applicable law."}),a("li",{children:"Your package must not include malware, viruses, or any other malicious or potentially unwanted software."}),a("li",{children:"Your package must not violate the intellectual property rights of any individual or organization."}),a("li",{children:"Your package must not contain sexual or explicit content in any form."}),a("li",{children:"May include social interactions, non-explicit violence, references to drugs or other substances, or real-currency interactions; but these must be properly specified in your package's manifest."}),a("li",{children:["Your package may collect user data (including telemetry); but only if the user is explicitly notified and if said user is given a clear option to opt-out of any data collection (excluding any that can be proven to be intrinsic to the package's functionality) at any time.",a("ul",{children:a("li",{children:"Package data collection must also comply with applicable privacy laws, including GDPR for European Union publishers."})})]})]})]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:'Service "AS IS"'}),a("p",{children:`We make no express or implied warranty about Konbini. It's service is provided "AS IS", thus Hana disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose.`}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Limitation of liability"}),a("p",{children:["To the maximum extent permitted by law, Hana is not liable for any indirect, incidental, consequential, or special damages, including loss of profits, business interruption, or data loss, except where proven to be caused by gross negligence, bad faith, or willful misconduct by Hana.",a("br",{}),"Hana is not responsible for the actions, omissions, or content of users or contributors.",a("br",{}),a("br",{}),"Nothing in these Terms limits any liability that cannot be legally excluded by applicable law."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Resolution of Legal Disputes"}),a("p",{children:["As of now, Hana lacks a legal office. We're still in the process of registering one. Because of this, disputes between you and Hana can only be resolved 
11informally; you may contact us for this purpose at any time."," ",a("i",{children:"This clause does not remove your right to attempt a formal resolution through a lawyer, as granted to you by applicable law. You are however warned no legal office exists on our side to respond to said resolution."})]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Contact"}),a("p",{children:["You may contact us at any time for questions, claims, or anything else.",a("br",{}),a("br",{}),"As of now, Konbini is operated by The Hana Organization, informally based in Spain (with no official office at the moment).",a("br",{}),a("br",{}),"For any purpose, be it legal or not, you may contact us via e-mail at"," ",a("a",{href:"mailto:[email protected]",children:"[email protected]"}),"."]})]}),a(Ze,{})]})}function _i(){return a(z,{children:[a(Ue,{}),a("div",{className:"app-main-cont markdown",children:[a("h1",{children:"About Konbini"}),a("h4",{className:"text-xl font-medium text-[#ddd] mb-2"}),a("hr",{}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"What it is"}),a("p",{children:"A universal package manager. It serves to you both its packages and the ones from most other registries, like WinGet, Scoop, Homebrew, or Nix, to any platform."}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"Why Konbini"}),a("p",{children:a("ul",{children:[a("b",{children:"It's safe."})," Always-on antivirus scans, strong hashing and signing requirements, and a public registry are what power the store.",a("br",{}),a("b",{children:"It's easy."}),' "',a("code",{children:"kbi install package-id"}),`", that's how easy installing apps should be (and it is, with Konbini).`,a("br",{}),a("b",{children:"It's beautiful."})," A nice website to browse packages and a good looking CLI aren't too much to ask for, or at least that's what we think.",a("br",{}),a("b",{children:"It's dev-friendly."})," Automated updates via repository releases, easy 3rd-party-package-manager aliasing, and a minimal yet sufficient toolchain for publishing.",a("br",{}),a("b",{children:"It's free."})," Free as in freedom, fully open source, auditable, with no ads and no tracking."]})}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"How it works"}),a("p",{children:["Under the hood it literally just runs other package managers for you when aliasing, and works like a regular package manager when installing Konbini packages.",a("br",{}),"It also automatically installs package managers under demand, so when a package you want is only available from a source you don't have, there's no issue.",a("br",{}),"It's not rocket science. Being useful enough to look like it was unintended."]}),a("h2",{className:"mt-6 text-white text-3xl font-semibold mb-2",children:"What else?"}),a("p",{children:["Nothing. It's a very simple thing, actually.",a("br",{}),"Yet, we're confident you'll find it really useful."]})]}),a(Ze,{})]})}function sc(){return a(Gt,{children:[a(Do,{children:a(Zi,{children:[a(Ae,{path:"/",component:tc}),a(Ae,{path:"/search",component:lc}),a(Ae,{path:"/author/:id",component:ac}),a(Ae,{path:"/package/:id",component:ec}),a(Ae,{path:"/safety",component:rc}),a(Ae,{path:"/credits",component:ic}),a(Ae,{path:"/privacy",component:oc}),a(Ae,{path:"/tos",component:gi}),a(Ae,{path:"/terms",component:gi}),a(Ae,{path:"/about",component:_i}),a(Ae,{path:"/about-us",component:_i}),a(Ae,{default:!0,component:nc})]})}),a(wo,{}),a(Io,{})]})}xt(a(sc,{}),document.getElementById("app"));

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.