conductor-remote 1.30.0 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,7 +10,7 @@ Error generating stack: `+x.message+`
|
|
|
10
10
|
|
|
11
11
|
Please change the parent <Route path="${F}"> to <Route path="${F==="/"?"*":`${F}/*`}">.`)}let m=Mn(),E;if(r){let F=typeof r=="string"?ra(r):r;We(f==="/"||F.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${F.pathname}" was given in the \`location\` prop.`),E=F}else E=m;let C=E.pathname||"/",y=C;if(f!=="/"){let F=f.replace(/^\//,"").split("/");y="/"+C.replace(/^\//,"").split("/").slice(F.length).join("/")}let g=a&&a.state.matches.length?a.state.matches.map(F=>Object.assign(F,{route:a.manifest[F.route.id]||F.route})):Sh(e,{pathname:y});Sn(h||g!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Sn(g==null||g[g.length-1].route.element!==void 0||g[g.length-1].route.Component!==void 0||g[g.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let A=Pm(g&&g.map(F=>Object.assign({},F,{params:Object.assign({},u,F.params),pathname:kn([f,i.encodeLocation?i.encodeLocation(F.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?f:kn([f,i.encodeLocation?i.encodeLocation(F.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathnameBase])})),o,a);return r&&A?L.createElement(kl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...E},navigationType:"POP"}},A):A}function Rm(){let e=Qm(),r=pm(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=L.createElement(L.Fragment,null,L.createElement("p",null,"💿 Hey developer 👋"),L.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",L.createElement("code",{style:s},"ErrorBoundary")," or"," ",L.createElement("code",{style:s},"errorElement")," prop on your route.")),L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},r),a?L.createElement("pre",{style:o},a):null,u)}var Om=L.createElement(Rm,null),Gh=class extends L.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=bm(e.digest);a&&(e=a)}let r=e!==void 0?L.createElement(gn.Provider,{value:this.props.routeContext},L.createElement(ic.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?L.createElement(jm,{error:e},r):r}};Gh.contextType=Ph;var ru=new WeakMap;function jm({children:e,error:r}){let{basename:a}=L.useContext(ln);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let i=km(r.digest);if(i){let o=ru.get(r);if(o)throw o;let s=jh(i.location,a),u=s.absoluteURL||s.to;if(Bm(u))throw new Error("Invalid redirect location");if(Oh&&!ru.get(r))if(s.isExternal||i.reloadDocument)window.location.href=u;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:i.replace}));throw ru.set(r,d),d}return L.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function Lm({routeContext:e,match:r,children:a}){let i=L.useContext(aa);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),L.createElement(gn.Provider,{value:e},a)}function Pm(e,r=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,s=i?.errors;if(s!=null){let m=o.findIndex(E=>E.route.id&&s?.[E.route.id]!==void 0);We(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),o=o.slice(0,Math.min(o.length,m+1))}let u=!1,d=-1;if(a&&i){u=i.renderFallback;for(let m=0;m<o.length;m++){let E=o[m];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(d=m),E.route.id){let{loaderData:C,errors:y}=i,g=E.route.loader&&!C.hasOwnProperty(E.route.id)&&(!y||y[E.route.id]===void 0);if(E.route.lazy||g){a.isStatic&&(u=!0),d>=0?o=o.slice(0,d+1):o=[o[0]];break}}}}let f=a?.onError,h=i&&f?(m,E)=>{f(m,{location:i.location,params:i.matches?.[0]?.params??{},pattern:mm(i.matches),errorInfo:E})}:void 0;return o.reduceRight((m,E,C)=>{let y,g=!1,A=null,F=null;i&&(y=s&&E.route.id?s[E.route.id]:void 0,A=E.route.errorElement||Om,u&&(d<0&&C===0?(Ih("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,F=null):d===C&&(g=!0,F=E.route.hydrateFallbackElement||null)));let v=r.concat(o.slice(0,C+1)),R=()=>{let M;return y?M=A:g?M=F:E.route.Component?M=L.createElement(E.route.Component,null):E.route.element?M=E.route.element:M=m,L.createElement(Lm,{match:E,routeContext:{outlet:m,matches:v,isDataRoute:i!=null},children:M})};return i&&(E.route.ErrorBoundary||E.route.errorElement||C===0)?L.createElement(Gh,{location:i.location,revalidation:i.revalidation,component:A,error:y,children:R(),routeContext:{outlet:null,matches:v,isDataRoute:!0},onError:h}):R()},null)}function xc(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Um(e){let r=L.useContext(aa);return We(r,xc(e)),r}function Hm(e){let r=L.useContext(Ax);return We(r,xc(e)),r}function qm(e){let r=L.useContext(gn);return We(r,xc(e)),r}function oc(e){let r=qm(e),a=r.matches[r.matches.length-1];return We(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function Vm(){return oc("useRouteId")}function Qm(){let e=L.useContext(ic),r=Hm("useRouteError"),a=oc("useRouteError");return e!==void 0?e:r.errors?.[a]}function Gm(){let{router:e}=Um("useNavigate"),r=oc("useNavigate"),a=L.useRef(!1);return Vh(()=>{a.current=!0}),L.useCallback(async(o,s={})=>{Sn(a.current,qh),a.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:r,...s}))},[e,r])}var l8={};function Ih(e,r,a){!r&&!l8[e]&&(l8[e]=!0,Sn(!1,a))}L.memo(Im);function Im({routes:e,manifest:r,future:a,state:i,isStatic:o,onError:s}){return Qh(e,void 0,{manifest:r,state:i,isStatic:o,onError:s})}function $m({to:e,replace:r,state:a,relative:i}){We(ur(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=L.useContext(ln);Sn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=L.useContext(gn),{pathname:u}=Mn(),d=Dx(),f=gx(e,lc(s),u,i==="path"),h=JSON.stringify(f);return L.useEffect(()=>{d(JSON.parse(h),{replace:r,state:a,relative:i})},[d,h,i,r,a]),null}function Ym(e){return zm(e.context)}function sl(e){We(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Xm({basename:e="/",children:r=null,location:a,navigationType:i="POP",navigator:o,static:s=!1,useTransitions:u}){We(!ur(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=L.useMemo(()=>({basename:d,navigator:o,static:s,useTransitions:u,future:{}}),[d,o,s,u]);typeof a=="string"&&(a=ra(a));let{pathname:h="/",search:m="",hash:E="",state:C=null,key:y="default",mask:g}=a,A=L.useMemo(()=>{let F=i0(h,d);return F==null?null:{location:{pathname:F,search:m,hash:E,state:C,key:y,mask:g},navigationType:i}},[d,h,m,E,C,y,i,g]);return Sn(A!=null,`<Router basename="${d}"> is not able to match the URL "${h}${m}${E}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:L.createElement(ln.Provider,{value:f},L.createElement(kl.Provider,{children:r,value:A}))}function Zm({children:e,location:r}){return Nm(ju(e),r)}function ju(e,r=[]){let a=[];return L.Children.forEach(e,(i,o)=>{if(!L.isValidElement(i))return;let s=[...r,o];if(i.type===L.Fragment){a.push.apply(a,ju(i.props.children,s));return}We(i.type===sl,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),We(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=ju(i.props.children,s)),a.push(u)}),a}var ax="get",lx="application/x-www-form-urlencoded";function Fx(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Km(e){return Fx(e)&&e.tagName.toLowerCase()==="button"}function Jm(e){return Fx(e)&&e.tagName.toLowerCase()==="form"}function Wm(e){return Fx(e)&&e.tagName.toLowerCase()==="input"}function e4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function t4(e,r){return e.button===0&&(!r||r==="_self")&&!e4(e)}var Zi=null;function n4(){if(Zi===null)try{new FormData(document.createElement("form"),0),Zi=!1}catch{Zi=!0}return Zi}var r4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function au(e){return e!=null&&!r4.has(e)?(Sn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${lx}"`),null):e}function a4(e,r){let a,i,o,s,u;if(Jm(e)){let d=e.getAttribute("action");i=d?i0(d,r):null,a=e.getAttribute("method")||ax,o=au(e.getAttribute("enctype"))||lx,s=new FormData(e)}else if(Km(e)||Wm(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||d.getAttribute("action");if(i=f?i0(f,r):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||ax,o=au(e.getAttribute("formenctype"))||au(d.getAttribute("enctype"))||lx,s=new FormData(d,e),!n4()){let{name:h,type:m,value:E}=e;if(m==="image"){let C=h?`${h}.`:"";s.append(`${C}x`,"0"),s.append(`${C}y`,"0")}else h&&s.append(h,E)}}else{if(Fx(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=ax,i=null,o=lx,u=e}return s&&o==="text/plain"&&(u=s,s=void 0),{action:i,method:a.toLowerCase(),encType:o,formData:s,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function sc(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function $h(e,r,a,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:r&&i0(o.pathname,r)==="/"?o.pathname=`${cx(r)}/_root.${i}`:o.pathname=`${cx(o.pathname)}.${i}`,o}async function l4(e,r){if(e.id in r)return r[e.id];try{let a=await import(e.module);return r[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function i4(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function x4(e,r,a){let i=await Promise.all(e.map(async o=>{let s=r.routes[o.route.id];if(s){let u=await l4(s,a);return u.links?u.links():[]}return[]}));return c4(i.flat(1).filter(i4).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function i8(e,r,a,i,o,s){let u=(f,h)=>a[h]?f.route.id!==a[h].route.id:!0,d=(f,h)=>a[h].pathname!==f.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==f.params["*"];return s==="assets"?r.filter((f,h)=>u(f,h)||d(f,h)):s==="data"?r.filter((f,h)=>{let m=i.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(u(f,h)||d(f,h))return!0;if(f.route.shouldRevalidate){let E=f.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function o4(e,r,{includeHydrateFallback:a}={}){return s4(e.map(i=>{let o=r.routes[i.route.id];if(!o)return[];let s=[o.module];return o.clientActionModule&&(s=s.concat(o.clientActionModule)),o.clientLoaderModule&&(s=s.concat(o.clientLoaderModule)),a&&o.hydrateFallbackModule&&(s=s.concat(o.hydrateFallbackModule)),o.imports&&(s=s.concat(o.imports)),s}).flat(1))}function s4(e){return[...new Set(e)]}function u4(e){let r={},a=Object.keys(e).sort();for(let i of a)r[i]=e[i];return r}function c4(e,r){let a=new Set;return new Set(r),e.reduce((i,o)=>{let s=JSON.stringify(u4(o));return a.has(s)||(a.add(s),i.push({key:s,link:o})),i},[])}function uc(){let e=L.useContext(aa);return sc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function f4(){let e=L.useContext(Ax);return sc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cc=L.createContext(void 0);cc.displayName="FrameworkContext";function vx(){let e=L.useContext(cc);return sc(e,"You must render this element inside a <HydratedRouter> element"),e}function d4(e,r){let a=L.useContext(cc),[i,o]=L.useState(!1),[s,u]=L.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:m,onTouchStart:E}=r,C=L.useRef(null);L.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let A=v=>{v.forEach(R=>{u(R.isIntersecting)})},F=new IntersectionObserver(A,{threshold:.5});return C.current&&F.observe(C.current),()=>{F.disconnect()}}},[e]),L.useEffect(()=>{if(i){let A=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(A)}}},[i]);let y=()=>{o(!0)},g=()=>{o(!1),u(!1)};return a?e!=="intent"?[s,C,{}]:[s,C,{onFocus:tl(d,y),onBlur:tl(f,g),onMouseEnter:tl(h,y),onMouseLeave:tl(m,g),onTouchStart:tl(E,y)}]:[!1,C,{}]}function tl(e,r){return a=>{e&&e(a),a.defaultPrevented||r(a)}}function h4({page:e,...r}){let a=gm(),{nonce:i}=vx(),{router:o}=uc(),s=L.useMemo(()=>Sh(o.routes,e,o.basename),[o.routes,e,o.basename]);return s?(r.nonce==null&&i&&(r={...r,nonce:i}),a?L.createElement(p4,{page:e,matches:s,...r}):L.createElement(m4,{page:e,matches:s,...r})):null}function E4(e){let{manifest:r,routeModules:a}=vx(),[i,o]=L.useState([]);return L.useEffect(()=>{let s=!1;return x4(e,r,a).then(u=>{s||o(u)}),()=>{s=!0}},[e,r,a]),i}function p4({page:e,matches:r,...a}){let i=Mn(),{future:o}=vx(),{basename:s}=uc(),u=L.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let d=$h(e,s,o.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,h=[];for(let m of r)typeof m.route.shouldRevalidate=="function"?f=!0:h.push(m.route.id);return f&&h.length>0&&d.searchParams.set("_routes",h.join(",")),[d.pathname+d.search]},[s,o.v8_trailingSlashAwareDataRequests,e,i,r]);return L.createElement(L.Fragment,null,u.map(d=>L.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...a})))}function m4({page:e,matches:r,...a}){let i=Mn(),{future:o,manifest:s,routeModules:u}=vx(),{basename:d}=uc(),{loaderData:f,matches:h}=f4(),m=L.useMemo(()=>i8(e,r,h,s,i,"data"),[e,r,h,s,i]),E=L.useMemo(()=>i8(e,r,h,s,i,"assets"),[e,r,h,s,i]),C=L.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let A=new Set,F=!1;if(r.forEach(R=>{let M=s.routes[R.route.id];!M||!M.hasLoader||(!m.some(T=>T.route.id===R.route.id)&&R.route.id in f&&u[R.route.id]?.shouldRevalidate||M.hasClientLoader?F=!0:A.add(R.route.id))}),A.size===0)return[];let v=$h(e,d,o.v8_trailingSlashAwareDataRequests,"data");return F&&A.size>0&&v.searchParams.set("_routes",r.filter(R=>A.has(R.route.id)).map(R=>R.route.id).join(",")),[v.pathname+v.search]},[d,o.v8_trailingSlashAwareDataRequests,f,i,s,m,r,e,u]),y=L.useMemo(()=>o4(E,s),[E,s]),g=E4(E);return L.createElement(L.Fragment,null,C.map(A=>L.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...a})),y.map(A=>L.createElement("link",{key:A,rel:"modulepreload",href:A,...a})),g.map(({key:A,link:F})=>L.createElement("link",{key:A,nonce:a.nonce,...F,crossOrigin:F.crossOrigin??a.crossOrigin})))}function C4(...e){return r=>{e.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var y4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{y4&&(window.__reactRouterVersion="7.18.1")}catch{}function B4({basename:e,children:r,useTransitions:a,window:i}){let o=L.useRef();o.current==null&&(o.current=Yp({window:i,v5Compat:!0}));let s=o.current,[u,d]=L.useState({action:s.action,location:s.location}),f=L.useCallback(h=>{a===!1?d(h):L.startTransition(()=>d(h))},[a]);return L.useLayoutEffect(()=>s.listen(f),[s,f]),L.createElement(Xm,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:s,useTransitions:a})}var Yh=L.forwardRef(function({onClick:r,discover:a="render",prefetch:i="none",relative:o,reloadDocument:s,replace:u,mask:d,state:f,target:h,to:m,preventScrollReset:E,viewTransition:C,defaultShouldRevalidate:y,...g},A){let{basename:F,navigator:v,useTransitions:R}=L.useContext(ln),M=typeof m=="string"&&ac.test(m),T=jh(m,F);m=T.to;let N=wm(m,{relative:o}),S=Mn(),_=null;if(d){let X=gx(d,[],S.mask?S.mask.pathname:"/",!0);F!=="/"&&(X.pathname=X.pathname==="/"?F:kn([F,X.pathname])),_=v.createHref(X)}let[j,I,P]=d4(i,g),J=F4(m,{replace:u,mask:d,state:f,target:h,preventScrollReset:E,relative:o,viewTransition:C,defaultShouldRevalidate:y,useTransitions:R});function K(X){r&&r(X),X.defaultPrevented||J(X)}let ie=!(T.isExternal||s),ae=L.createElement("a",{...g,...P,href:(ie?_:void 0)||T.absoluteURL||N,onClick:ie?K:r,ref:C4(A,I),target:h,"data-discover":!M&&a==="render"?"true":void 0});return j&&!M?L.createElement(L.Fragment,null,ae,L.createElement(h4,{page:N})):ae});Yh.displayName="Link";var g4=L.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:i="",end:o=!1,style:s,to:u,viewTransition:d,children:f,...h},m){let E=bl(u,{relative:h.relative}),C=Mn(),y=L.useContext(Ax),{navigator:g,basename:A}=L.useContext(ln),F=y!=null&&S4(E)&&d===!0,v=g.encodeLocation?g.encodeLocation(E).pathname:E.pathname,R=C.pathname,M=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;a||(R=R.toLowerCase(),M=M?M.toLowerCase():null,v=v.toLowerCase()),M&&A&&(M=i0(M,A)||M);const T=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let N=R===v||!o&&R.startsWith(v)&&R.charAt(T)==="/",S=M!=null&&(M===v||!o&&M.startsWith(v)&&M.charAt(v.length)==="/"),_={isActive:N,isPending:S,isTransitioning:F},j=N?r:void 0,I;typeof i=="function"?I=i(_):I=[i,N?"active":null,S?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let P=typeof s=="function"?s(_):s;return L.createElement(Yh,{...h,"aria-current":j,className:I,ref:m,style:P,to:u,viewTransition:d},typeof f=="function"?f(_):f)});g4.displayName="NavLink";var A4=L.forwardRef(({discover:e="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:o,state:s,method:u=ax,action:d,onSubmit:f,relative:h,preventScrollReset:m,viewTransition:E,defaultShouldRevalidate:C,...y},g)=>{let{useTransitions:A}=L.useContext(ln),F=b4(),v=w4(d,{relative:h}),R=u.toLowerCase()==="get"?"get":"post",M=typeof d=="string"&&ac.test(d),T=N=>{if(f&&f(N),N.defaultPrevented)return;N.preventDefault();let S=N.nativeEvent.submitter,_=S?.getAttribute("formmethod")||u,j=()=>F(S||N.currentTarget,{fetcherKey:r,method:_,navigate:a,replace:o,state:s,relative:h,preventScrollReset:m,viewTransition:E,defaultShouldRevalidate:C});A&&a!==!1?L.startTransition(()=>j()):j()};return L.createElement("form",{ref:g,method:R,action:v,onSubmit:i?f:T,...y,"data-discover":!M&&e==="render"?"true":void 0})});A4.displayName="Form";function D4(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Xh(e){let r=L.useContext(aa);return We(r,D4(e)),r}function F4(e,{target:r,replace:a,mask:i,state:o,preventScrollReset:s,relative:u,viewTransition:d,defaultShouldRevalidate:f,useTransitions:h}={}){let m=Dx(),E=Mn(),C=bl(e,{relative:u});return L.useCallback(y=>{if(t4(y,r)){y.preventDefault();let g=a!==void 0?a:ml(E)===ml(C),A=()=>m(e,{replace:g,mask:i,state:o,preventScrollReset:s,relative:u,viewTransition:d,defaultShouldRevalidate:f});h?L.startTransition(()=>A()):A()}},[E,m,C,a,i,o,r,e,s,u,d,f,h])}var v4=0,k4=()=>`__${String(++v4)}__`;function b4(){let{router:e}=Xh("useSubmit"),{basename:r}=L.useContext(ln),a=Vm(),i=e.fetch,o=e.navigate;return L.useCallback(async(s,u={})=>{let{action:d,method:f,encType:h,formData:m,body:E}=a4(s,r);if(u.navigate===!1){let C=u.fetcherKey||k4();await i(C,a,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:E,formMethod:u.method||f,formEncType:u.encType||h,flushSync:u.flushSync})}else await o(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:E,formMethod:u.method||f,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,o,r,a])}function w4(e,{relative:r}={}){let{basename:a}=L.useContext(ln),i=L.useContext(gn);We(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),s={...bl(e||".",{relative:r})},u=Mn();if(e==null){s.search=u.search;let d=new URLSearchParams(s.search),f=d.getAll("index");if(f.some(m=>m==="")){d.delete("index"),f.filter(E=>E).forEach(E=>d.append("index",E));let m=d.toString();s.search=m?`?${m}`:""}}return(!e||e===".")&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(s.pathname=s.pathname==="/"?a:kn([a,s.pathname])),ml(s)}function S4(e,{relative:r}={}){let a=L.useContext(Uh);We(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Xh("useViewTransitionState"),o=bl(e,{relative:r});if(!a.isTransitioning)return!1;let s=i0(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=i0(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Cl(o.pathname,u)!=null||Cl(o.pathname,s)!=null}const M4="modulepreload",_4=function(e){return"/"+e},x8={},z4=function(r,a,i){let o=Promise.resolve();if(a&&a.length>0){let h=function(m){return Promise.all(m.map(E=>Promise.resolve(E).then(C=>({status:"fulfilled",value:C}),C=>({status:"rejected",reason:C}))))};var u=h;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),f=d?.nonce||d?.getAttribute("nonce");o=h(a.map(m=>{if(m=_4(m),m in x8)return;x8[m]=!0;const E=m.endsWith(".css"),C=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${C}`))return;const y=document.createElement("link");if(y.rel=E?"stylesheet":M4,E||(y.as="script"),y.crossOrigin="",y.href=m,f&&y.setAttribute("nonce",f),document.head.appendChild(y),E)return new Promise((g,A)=>{y.addEventListener("load",g),y.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${m}`)))})}))}function s(d){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=d,window.dispatchEvent(f),!f.defaultPrevented)throw d}return o.then(d=>{for(const f of d||[])f.status==="rejected"&&s(f.reason);return r().catch(s)})};function T4(e={}){const{immediate:r=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:s,onRegisteredSW:u,onRegisterError:d}=e;let f,h,m;const E=async(y=!0)=>{await h,m?.()};async function C(){if("serviceWorker"in navigator){if(f=await z4(async()=>{const{Workbox:y}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:y}},[]).then(({Workbox:y})=>new y("/sw.js",{scope:"/",type:"classic"})).catch(y=>{d?.(y)}),!f)return;m=()=>{f?.messageSkipWaiting()};{let y=!1;const g=()=>{y=!0,f?.addEventListener("controlling",A=>{A.isUpdate&&(a?a():window.location.reload())}),i?.()};f.addEventListener("installed",A=>{typeof A.isUpdate>"u"?typeof A.isExternal<"u"&&A.isExternal?g():!y&&o?.():A.isUpdate||o?.()}),f.addEventListener("waiting",g)}f.register({immediate:r}).then(y=>{u?u("/sw.js",y):s?.(y)}).catch(y=>{d?.(y)})}}return h=C(),E}function N4(e={}){const{immediate:r=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:s,onRegisteredSW:u,onRegisterError:d}=e,[f,h]=L.useState(!1),[m,E]=L.useState(!1),[C]=L.useState(()=>T4({immediate:r,onNeedReload:a,onOfflineReady(){E(!0),o?.()},onNeedRefresh(){h(!0),i?.()},onRegistered:s,onRegisteredSW:u,onRegisterError:d}));return{needRefresh:[f,h],offlineReady:[m,E],updateServiceWorker:C}}const Zh=(...e)=>e.filter((r,a,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();const R4=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const O4=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());const o8=e=>{const r=O4(e);return r.charAt(0).toUpperCase()+r.slice(1)};var j4={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const L4=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const P4=L.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:o="",children:s,iconNode:u,...d},f)=>L.createElement("svg",{ref:f,...j4,width:r,height:r,stroke:e,strokeWidth:i?Number(a)*24/Number(r):a,className:Zh("lucide",o),...!s&&!L4(d)&&{"aria-hidden":"true"},...d},[...u.map(([h,m])=>L.createElement(h,m)),...Array.isArray(s)?s:[s]]));const V=(e,r)=>{const a=L.forwardRef(({className:i,...o},s)=>L.createElement(P4,{ref:s,iconNode:r,className:Zh(`lucide-${R4(o8(e))}`,`lucide-${e}`,i),...o}));return a.displayName=o8(e),a};const U4=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],H4=V("activity",U4);const q4=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],V4=V("anchor",q4);const Q4=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],G4=V("apple",Q4);const I4=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],$4=V("arrow-up-right",I4);const Y4=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],X4=V("arrow-up",Y4);const Z4=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],K4=V("atom",Z4);const J4=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],W4=V("award",J4);const e7=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],t7=V("banknote",e7);const n7=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],r7=V("battery",n7);const a7=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],l7=V("beer",a7);const i7=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],x7=V("bell",i7);const o7=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],s7=V("bike",o7);const u7=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],c7=V("bird",u7);const f7=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],d7=V("bluetooth",f7);const h7=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],E7=V("book-open",h7);const p7=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],m7=V("book",p7);const C7=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],y7=V("bookmark",C7);const B7=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],g7=V("bot",B7);const A7=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],D7=V("box",A7);const F7=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],v7=V("brain",F7);const k7=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],b7=V("briefcase",k7);const w7=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],S7=V("brush",w7);const M7=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],_7=V("bug-play",M7);const z7=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],T7=V("bug",z7);const N7=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],R7=V("building-2",N7);const O7=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],j7=V("building",O7);const L7=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],P7=V("cake",L7);const U7=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],H7=V("calendar",U7);const q7=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],V7=V("camera",q7);const Q7=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],G7=V("car",Q7);const I7=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],$7=V("carrot",I7);const Y7=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],X7=V("cat",Y7);const Z7=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],K7=V("chart-bar",Z7);const J7=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],W7=V("chart-line",J7);const e3=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],t3=V("chart-pie",e3);const n3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],kx=V("check",n3);const r3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fc=V("chevron-down",r3);const a3=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],l3=V("clapperboard",a3);const i3=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],x3=V("clock",i3);const o3=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],s3=V("cloud-upload",o3);const u3=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],c3=V("cloud",u3);const f3=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],d3=V("code-xml",f3);const h3=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],E3=V("code",h3);const p3=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],m3=V("coffee",p3);const C3=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],y3=V("cog",C3);const B3=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],g3=V("compass",B3);const A3=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Kh=V("copy",A3);const D3=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],F3=V("cpu",D3);const v3=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],k3=V("credit-card",v3);const b3=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],w3=V("crown",b3);const S3=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],M3=V("database",S3);const _3=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],z3=V("dna",_3);const T3=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],N3=V("dog",T3);const R3=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],O3=V("dollar-sign",R3);const j3=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],L3=V("dumbbell",j3);const P3=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],U3=V("egg",P3);const H3=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],q3=V("factory",H3);const V3=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],Q3=V("feather",V3);const G3=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],I3=V("file-code",G3);const $3=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Y3=V("file-diff",$3);const X3=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Z3=V("file",X3);const K3=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],J3=V("film",K3);const W3=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],eC=V("fish",W3);const tC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],nC=V("flag",tC);const rC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],aC=V("flame",rC);const lC=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],iC=V("flask-conical",lC);const xC=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],oC=V("folder",xC);const sC=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],uC=V("gamepad-2",sC);const cC=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],fC=V("gem",cC);const dC=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],hC=V("gift",dC);const EC=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],pC=V("git-branch",EC);const mC=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],CC=V("git-merge",mC);const yC=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],BC=V("github",yC);const gC=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],AC=V("glasses",gC);const DC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],FC=V("globe",DC);const vC=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],kC=V("graduation-cap",vC);const bC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],wC=V("grid-3x3",bC);const SC=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],MC=V("hammer",SC);const _C=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],zC=V("headphones",_C);const TC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],NC=V("heart-pulse",TC);const RC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],OC=V("heart",RC);const jC=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],LC=V("house",jC);const PC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],UC=V("image",PC);const HC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],qC=V("info",HC);const VC=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],QC=V("key",VC);const GC=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],IC=V("laptop",GC);const $C=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],YC=V("layers",$C);const XC=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],ZC=V("layout-grid",XC);const KC=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],JC=V("leaf",KC);const WC=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],ey=V("lightbulb",WC);const ty=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],ny=V("link",ty);const ry=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Jh=V("loader-circle",ry);const ay=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],ly=V("lock",ay);const iy=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],xy=V("log-out",iy);const oy=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],sy=V("mail",oy);const uy=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],cy=V("map-pin",uy);const fy=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],dy=V("map",fy);const hy=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],Ey=V("martini",hy);const py=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],my=V("medal",py);const Cy=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],yy=V("message-circle",Cy);const By=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],gy=V("message-square",By);const Ay=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Dy=V("mic",Ay);const Fy=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],vy=V("microscope",Fy);const ky=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],by=V("monitor",ky);const wy=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Sy=V("moon",wy);const My=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],_y=V("music",My);const zy=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],Ty=V("orbit",zy);const Ny=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Ry=V("package",Ny);const Oy=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],jy=V("paintbrush",Oy);const Ly=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Py=V("panel-left",Ly);const Uy=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Hy=V("paperclip",Uy);const qy=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],Vy=V("paw-print",qy);const Qy=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Gy=V("pen",Qy);const Iy=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],$y=V("pencil",Iy);const Yy=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Xy=V("phone",Yy);const Zy=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],Ky=V("pill",Zy);const Jy=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],Wy=V("pipette",Jy);const eB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],tB=V("pizza",eB);const nB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],rB=V("plane",nB);const aB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],lB=V("plug",aB);const iB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Wh=V("plus",iB);const xB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],oB=V("power",xB);const sB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],uB=V("puzzle",sB);const cB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],e2=V("qr-code",cB);const fB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],dB=V("rabbit",fB);const hB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],EB=V("radio",hB);const pB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],t2=V("refresh-cw",pB);const mB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],CB=V("rocket",mB);const yB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],BB=V("salad",yB);const gB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],AB=V("ruler",gB);const DB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],FB=V("satellite",DB);const vB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],kB=V("scissors",vB);const bB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],wB=V("server",bB);const SB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],MB=V("settings",SB);const _B=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],zB=V("shell",_B);const TB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],NB=V("shield",TB);const RB=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],OB=V("ship",RB);const jB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],LB=V("shopping-bag",jB);const PB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],UB=V("shopping-cart",PB);const HB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],qB=V("sliders-horizontal",HB);const VB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],QB=V("smartphone",VB);const GB=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],IB=V("snail",GB);const $B=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],YB=V("soup",$B);const XB=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],ZB=V("sparkles",XB);const KB=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],JB=V("sprout",KB);const WB=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],eg=V("star",WB);const tg=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],ng=V("stethoscope",tg);const rg=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],ag=V("store",rg);const lg=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],ig=V("sun",lg);const xg=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],og=V("tag",xg);const sg=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],ug=V("tags",sg);const cg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],fg=V("target",cg);const dg=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],hg=V("telescope",dg);const Eg=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],pg=V("terminal",Eg);const mg=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],Cg=V("ticket",mg);const yg=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],Bg=V("train-front",yg);const gg=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],Ag=V("tree-pine",gg);const Dg=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Fg=V("trending-up",Dg);const vg=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],n2=V("triangle-alert",vg);const kg=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],bg=V("trophy",kg);const wg=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],Sg=V("turtle",wg);const Mg=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],_g=V("user",Mg);const zg=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Tg=V("users",zg);const Ng=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],Rg=V("utensils",Ng);const Og=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],jg=V("video",Og);const Lg=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Pg=V("wallet",Lg);const Ug=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],s8=V("wand-sparkles",Ug);const Hg=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],qg=V("warehouse",Hg);const Vg=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],Qg=V("wheat",Vg);const Gg=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],r2=V("wifi-off",Gg);const Ig=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],$g=V("wifi",Ig);const Yg=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],Xg=V("wine",Yg);const Zg=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],Kg=V("wrench",Zg);const Jg=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],la=V("x",Jg);const Wg=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],a2=V("zap",Wg),yl="conductor-remote-token";function eA(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(yl,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(yl)}function l2(){return localStorage.getItem(yl)}function tA(){localStorage.removeItem(yl)}function nA(e){localStorage.setItem(yl,e)}function rA(e){const r=e.trim();if(!r)return null;const a=r.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(r)?null:r}class fx extends Error{constructor(r,a){super(r),this.status=a}status}const i2=6e3,Jr=25e3;async function yn(e,r={},a=i2){const i=l2();let o;try{o=await fetch(e,{...r,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json",...r.headers}})}catch(s){throw s instanceof DOMException&&s.name==="TimeoutError"?new fx("Request timed out",0):s}if(!o.ok){const s=await o.json().catch(()=>({}));throw new fx(s.error||`HTTP ${o.status}`,o.status)}return o.json()}const lu=new Map;async function aA(e){const r=l2(),a=await fetch(e,{headers:{authorization:`Bearer ${r??""}`},signal:AbortSignal.timeout(i2)});if(!a.ok)throw new fx(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}const Nt={state:()=>yn("/api/state"),repoIcon:e=>{let r=lu.get(e);return r||(r=aA(`/api/repos/${encodeURIComponent(e)}/icon`),r.catch(()=>lu.delete(e)),lu.set(e,r)),r},sessions:e=>yn(`/api/workspaces/${encodeURIComponent(e)}/sessions`),messages:(e,r)=>yn(`/api/sessions/${encodeURIComponent(e)}/messages?after=${r}`),diff:e=>yn(`/api/workspaces/${encodeURIComponent(e)}/diff`),sendPrompt:(e,r,a)=>yn(`/api/sessions/${encodeURIComponent(e)}/prompt`,{method:"POST",body:JSON.stringify({text:r,workspaceId:a})},Jr),newChat:e=>yn(`/api/workspaces/${encodeURIComponent(e)}/sessions`,{method:"POST"},Jr),repos:()=>yn("/api/repos"),createWorkspace:(e,r)=>yn("/api/workspaces",{method:"POST",body:JSON.stringify({repo:e,prompt:r})},Jr),setAgent:(e,r,a)=>yn(`/api/sessions/${encodeURIComponent(e)}/agent`,{method:"POST",body:JSON.stringify({...r,workspaceId:a})},Jr),models:(e,r)=>yn(`/api/sessions/${encodeURIComponent(e)}/models?workspaceId=${encodeURIComponent(r)}`,{},Jr),logs:(e,r=300)=>yn(`/api/logs?limit=${r}${e?`&file=${encodeURIComponent(e)}`:""}`),merge:e=>yn(`/api/workspaces/${encodeURIComponent(e)}/merge`,{method:"POST"},Jr)},u8=e=>{let r;const a=new Set,i=(h,m)=>{const E=typeof h=="function"?h(r):h;if(!Object.is(E,r)){const C=r;r=m??(typeof E!="object"||E===null)?E:Object.assign({},r,E),a.forEach(y=>y(r,C))}},o=()=>r,d={setState:i,getState:o,getInitialState:()=>f,subscribe:h=>(a.add(h),()=>a.delete(h))},f=r=e(i,o,d);return d},lA=(e=>e?u8(e):u8),iA=e=>e;function xA(e,r=iA){const a=Xi.useSyncExternalStore(e.subscribe,Xi.useCallback(()=>r(e.getState()),[e,r]),Xi.useCallback(()=>r(e.getInitialState()),[e,r]));return Xi.useDebugValue(a),a}const c8=e=>{const r=lA(e),a=i=>xA(r,i);return Object.assign(a,r),a},oA=(e=>e?c8(e):c8),dx="conductor-remote-draft:";function sA(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(dx))continue;const i=localStorage.getItem(a);i&&(e[a.slice(dx.length)]=i)}}catch{}return e}function uA(e,r){try{r?localStorage.setItem(dx+e,r):localStorage.removeItem(dx+e)}catch{}}const x2="conductor-remote-view",f8={groupBy:"status",repo:null,sortBy:"updated",collapsed:[]};function cA(){try{return{...f8,...JSON.parse(localStorage.getItem(x2)??"{}")}}catch{return f8}}const Re=oA((e,r)=>{const a=i=>{localStorage.setItem(x2,JSON.stringify(i)),e({view:i})};return{token:eA(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:[],drafts:sA(),sidebarOpen:!location.pathname.startsWith("/w/"),view:cA(),setToken:i=>{i?nA(i):tA(),e({token:i})},setOnline:i=>e(i?{online:i,lastSyncAt:Date.now()}:{online:i}),setUpdate:i=>e({update:i}),markWorking:i=>e({workingHints:{...r().workingHints,[i]:Date.now()}}),addPending:i=>e({pending:[...r().pending.filter(o=>o.id!==i.id),{...i,status:"sending",error:void 0,createdAt:Date.now()}]}),failPending:(i,o)=>e({pending:r().pending.map(s=>s.id===i?{...s,status:"error",error:o}:s)}),removePending:i=>e({pending:r().pending.filter(o=>o.id!==i)}),setDraft:(i,o)=>{uA(i,o),e({drafts:{...r().drafts,[i]:o}})},stashDraft:(i,o)=>{const s=r().drafts[i]??"";s.includes(o)||r().setDraft(i,s?`${o}
|
|
12
12
|
|
|
13
|
-
${s}`:o)},clearDraftIfEqual:(i,o)=>{(r().drafts[i]??"").trim()===o.trim()&&r().setDraft(i,"")},setSidebarOpen:i=>e({sidebarOpen:i}),setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:o}=r().view;a({...r().view,collapsed:o.includes(i)?o.filter(s=>s!==i):[...o,i]})}}}),fA=6e4,dA=1e4,iu="pwa-update-attempted-at",hA=2500;async function EA(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function pA(){const e=Re(m=>m.token),r=L.useRef(null),a=L.useRef(!1),{needRefresh:[i,o],updateServiceWorker:s}=N4({onRegisteredSW(m,E){E&&(r.current=E,setInterval(()=>{E.update().catch(()=>{})},fA))}}),{data:u}=sr({queryKey:["state"],queryFn:()=>Nt.state(),enabled:!!e,refetchInterval:!1}),d=u?.version,f=L.useRef(null);if(L.useEffect(()=>{!d||d==="1.30.0"||f.current===d||(f.current=d,r.current?.update().catch(()=>{}))},[d]),L.useEffect(()=>{if(!i)return;const m=Number(sessionStorage.getItem(iu));sessionStorage.removeItem(iu),m&&Date.now()-m<dA&&o(!1)},[i,o]),!i)return null;const h=()=>{sessionStorage.setItem(iu,String(Date.now()));const m=()=>{a.current||(a.current=!0,window.location.reload())},E=r.current?.waiting;E?(navigator.serviceWorker?.addEventListener("controllerchange",m,{once:!0}),E.addEventListener("statechange",()=>{E.state==="activated"&&m()}),E.postMessage({type:"SKIP_WAITING"})):s(!0),window.setTimeout(()=>{a.current||(a.current=!0,EA())},hA)};return D.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[D.jsx(t2,{size:15,className:"shrink-0 text-accent"}),D.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),D.jsx("button",{type:"button",onClick:()=>o(!1),className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),D.jsx("button",{type:"button",onClick:h,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}const Bl="conductor-remote-first-prompt:";function o2(e){let r;try{r=localStorage.getItem(Bl+e)}catch{return null}if(!r)return null;try{const a=JSON.parse(r);if(typeof a?.text!="string")throw new Error("not a record");return{workspaceId:e,text:a.text,attempts:typeof a.attempts=="number"?a.attempts:0,createdAt:typeof a.createdAt=="number"?a.createdAt:Date.now()}}catch{return{workspaceId:e,text:r,attempts:0,createdAt:Date.now()}}}function s2(e){try{const{text:r,attempts:a,createdAt:i}=e;localStorage.setItem(Bl+e.workspaceId,JSON.stringify({text:r,attempts:a,createdAt:i}))}catch{}}function mA(e,r){s2({workspaceId:e,text:r,attempts:0,createdAt:Date.now()})}function xu(){const e=[];try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Bl))continue;const i=o2(a.slice(Bl.length));i&&e.push(i)}}catch{}return e.sort((r,a)=>r.createdAt-a.createdAt)}function CA(e){const r=o2(e);if(!r)return 0;const a=r.attempts+1;return s2({...r,attempts:a}),a}function yA(e){try{localStorage.removeItem(Bl+e)}catch{}}function BA(e){const r=Re(o=>o.setSidebarOpen),a=Re(o=>o.sidebarOpen),i=L.useRef(a);i.current=a,L.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),d=()=>e.current;let f=!1,h=!1,m=!1,E=0,C=0,y=0,g=0;const A=T=>{const N=d();N&&(N.style.transition="none",N.style.transform=`translateX(${T}px)`,g=T)},F=()=>{const T=d();T&&(T.style.transition="",T.style.transform="")},v=T=>{if(u.matches||T.touches.length!==1)return;const N=T.touches[0];if(i.current){const S=d()?.getBoundingClientRect().right??0;if(N.clientX>S)return}else if(N.clientX>28)return;f=!0,h=!1,m=!1,E=N.clientX,C=N.clientY,y=d()?.offsetWidth??0},R=T=>{if(!f||m)return;const N=T.touches[0],S=N.clientX-E,_=N.clientY-C;if(!h){if(Math.abs(_)>Math.abs(S)&&Math.abs(_)>8){m=!0;return}if(Math.abs(S)<6)return;h=!0}T.preventDefault();const j=i.current?0:-y;A(Math.max(-y,Math.min(0,j+S)))},M=()=>{if(!f)return;if(f=!1,!h||m)return F();const T=y?(g+y)/y:0;F(),r(T>.4)};return window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",R,{passive:!1}),window.addEventListener("touchend",M),window.addEventListener("touchcancel",M),()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",R),window.removeEventListener("touchend",M),window.removeEventListener("touchcancel",M)}},[e,r])}const d8='input, textarea, [contenteditable]:not([contenteditable="false"])';function gA(){L.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;let a=0,i;const o=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},s=m=>{m&&!i?i=setInterval(u,300):!m&&i&&(clearInterval(i),i=void 0)},u=()=>{const m=document.activeElement,E=m instanceof HTMLElement&&m.matches(d8),C=e.scale>1.01;!E||C?(!C&&window.innerHeight-e.height<120&&(a=e.height),o()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):o(),s(E||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let d;const f=()=>{u(),clearTimeout(d),d=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const m=document.activeElement;m instanceof HTMLElement&&m.matches(d8)&&m.blur(),o(),s(!1)}else f()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{clearTimeout(d),s(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",f),document.removeEventListener("focusout",f),o()}},[])}function bx(){const e=Re(a=>a.setOnline),r=Re(a=>a.setToken);return L.useCallback((a,i)=>{e(a),i instanceof fx&&i.status===401&&r(null)},[e,r])}function wx(){const e=bx(),r=Re(i=>i.setUpdate),a=sr({queryKey:["state"],queryFn:()=>Nt.state(),refetchInterval:2500});return L.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function AA(){return sr({queryKey:["repos"],queryFn:()=>Nt.repos(),staleTime:6e4})}function u2(e){const r=bx(),a=sr({queryKey:["sessions",e],queryFn:()=>Nt.sessions(e),enabled:!!e,refetchInterval:2e3});return L.useEffect(()=>{a.isError&&r(!1,a.error)},[a.isError,a.error,r]),a}function c2(e,r){const a=bx(),i=sr({queryKey:["diff",e],queryFn:()=>Nt.diff(e),enabled:!!e,refetchInterval:5e3});return L.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function DA(e){return sr({queryKey:["repoIcon",e],queryFn:()=>Nt.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function FA(e,r){return sr({queryKey:["logs",e],queryFn:()=>Nt.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}function vA(e){const r=bx(),[a,i]=L.useState({entries:[],loading:!0,error:null}),o=L.useRef(0);return L.useEffect(()=>{if(!e){i({entries:[],loading:!1,error:null});return}o.current=0,i({entries:[],loading:!0,error:null});let s=!0;const u=async()=>{try{const{entries:f,cursor:h}=await Nt.messages(e,o.current);if(!s)return;r(!0),f.length?(o.current=h,i(m=>({entries:[...m.entries,...f],loading:!1,error:null}))):i(m=>m.loading?{...m,loading:!1}:m)}catch(f){if(!s)return;r(!1,f),i(h=>({...h,loading:!1,error:f instanceof Error?f.message:String(f)}))}};u();const d=setInterval(u,1e3);return()=>{s=!1,clearInterval(d)}},[e,r]),a}function dc(){const e=na(),r=Re(u=>u.addPending),a=Re(u=>u.failPending),i=Re(u=>u.removePending),o=Re(u=>u.markWorking),s=Re(u=>u.clearDraftIfEqual);return L.useCallback(async u=>{const d=u.text.trim();if(!d)return!1;const f=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:m}=u;r({id:f,sessionId:h,workspaceId:m,text:d});try{const E=await Nt.sendPrompt(h,d,m);if(E.ok)return o(h),e.invalidateQueries({queryKey:["sessions",m]}),s(m,d),setTimeout(()=>i(f),4e3),!0;a(f,E.error||"Send failed")}catch(E){a(f,E instanceof Error?E.message:String(E))}return!1},[r,a,i,o,s,e])}const kA=3,bA=1440*60*1e3;function wA(){const{data:e}=wx(),[r,a]=L.useState(xu),i=dc(),o=Re(E=>E.stashDraft),s=L.useRef(!1),u=r[0],d=u?e?.workspaces.find(E=>E.id===u.workspaceId):void 0,{data:f}=u2(d?.state==="ready"?d.id:void 0),h=f?.sessions??[],m=h.find(E=>E.id===d?.active_session_id)??h[0];L.useEffect(()=>{if(!u||s.current)return;const E=()=>{yA(u.workspaceId),a(xu())},C=()=>{o(u.workspaceId,u.text),E()};if(Date.now()-u.createdAt>bA)return C();if(d?.state!=="ready"||!m)return;if(m.last_user_message_at)return E();s.current=!0;const y=CA(u.workspaceId),g={id:`first:${u.workspaceId}`,sessionId:m.id,workspaceId:u.workspaceId};(async()=>(await i({...g,text:u.text}).catch(()=>!1)?E():y>=kA?C():a(xu()),s.current=!1))()},[u,d,m,i,o])}function f2(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(a=f2(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function SA(){for(var e,r,a=0,i="",o=arguments.length;a<o;a++)(e=arguments[a])&&(r=f2(e))&&(i&&(i+=" "),i+=r);return i}const MA=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},_A=(e,r)=>({classGroupId:e,validator:r}),d2=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),hx="-",h8=[],zA="arbitrary..",TA=e=>{const r=RA(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return NA(u);const d=u.split(hx),f=d[0]===""&&d.length>1?1:0;return h2(d,f,r)},getConflictingClassGroupIds:(u,d)=>{if(d){const f=i[u],h=a[u];return f?h?MA(h,f):f:h||h8}return a[u]||h8}}},h2=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const o=e[r],s=a.nextPart.get(o);if(s){const h=h2(e,r+1,s);if(h)return h}const u=a.validators;if(u===null)return;const d=r===0?e.join(hx):e.slice(r).join(hx),f=u.length;for(let h=0;h<f;h++){const m=u[h];if(m.validator(d))return m.classGroupId}},NA=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?zA+i:void 0})(),RA=e=>{const{theme:r,classGroups:a}=e;return OA(a,r)},OA=(e,r)=>{const a=d2();for(const i in e){const o=e[i];hc(o,a,i,r)}return a},hc=(e,r,a,i)=>{const o=e.length;for(let s=0;s<o;s++){const u=e[s];jA(u,r,a,i)}},jA=(e,r,a,i)=>{if(typeof e=="string"){LA(e,r,a);return}if(typeof e=="function"){PA(e,r,a,i);return}UA(e,r,a,i)},LA=(e,r,a)=>{const i=e===""?r:E2(r,e);i.classGroupId=a},PA=(e,r,a,i)=>{if(HA(e)){hc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(_A(a,e))},UA=(e,r,a,i)=>{const o=Object.entries(e),s=o.length;for(let u=0;u<s;u++){const[d,f]=o[u];hc(f,E2(r,d),a,i)}},E2=(e,r)=>{let a=e;const i=r.split(hx),o=i.length;for(let s=0;s<o;s++){const u=i[s];let d=a.nextPart.get(u);d||(d=d2(),a.nextPart.set(u,d)),a=d}return a},HA=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,qA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const o=(s,u)=>{a[s]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(s){let u=a[s];if(u!==void 0)return u;if((u=i[s])!==void 0)return o(s,u),u},set(s,u){s in a?a[s]=u:o(s,u)}}},Lu="!",E8=":",VA=[],p8=(e,r,a,i,o)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:o}),QA=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=o=>{const s=[];let u=0,d=0,f=0,h;const m=o.length;for(let A=0;A<m;A++){const F=o[A];if(u===0&&d===0){if(F===E8){s.push(o.slice(f,A)),f=A+1;continue}if(F==="/"){h=A;continue}}F==="["?u++:F==="]"?u--:F==="("?d++:F===")"&&d--}const E=s.length===0?o:o.slice(f);let C=E,y=!1;E.endsWith(Lu)?(C=E.slice(0,-1),y=!0):E.startsWith(Lu)&&(C=E.slice(1),y=!0);const g=h&&h>f?h-f:void 0;return p8(s,y,C,g)};if(r){const o=r+E8,s=i;i=u=>u.startsWith(o)?s(u.slice(o.length)):p8(VA,!1,u,void 0,!0)}if(a){const o=i;i=s=>a({className:s,parseClassName:o})}return i},GA=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let o=[];for(let s=0;s<a.length;s++){const u=a[s],d=u[0]==="[",f=r.has(u);d||f?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(u)):o.push(u)}return o.length>0&&(o.sort(),i.push(...o)),i}},IA=e=>({cache:qA(e.cacheSize),parseClassName:QA(e),sortModifiers:GA(e),postfixLookupClassGroupIds:$A(e),...TA(e)}),$A=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},YA=/\s+/,XA=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:u}=r,d=[],f=e.trim().split(YA);let h="";for(let m=f.length-1;m>=0;m-=1){const E=f[m],{isExternal:C,modifiers:y,hasImportantModifier:g,baseClassName:A,maybePostfixModifierPosition:F}=a(E);if(C){h=E+(h.length>0?" "+h:h);continue}let v=!!F,R;if(v){const _=A.substring(0,F);R=i(_);const j=R&&u[R]?i(A):void 0;j&&j!==R&&(R=j,v=!1)}else R=i(A);if(!R){if(!v){h=E+(h.length>0?" "+h:h);continue}if(R=i(A),!R){h=E+(h.length>0?" "+h:h);continue}v=!1}const M=y.length===0?"":y.length===1?y[0]:s(y).join(":"),T=g?M+Lu:M,N=T+R;if(d.indexOf(N)>-1)continue;d.push(N);const S=o(R,v);for(let _=0;_<S.length;++_){const j=S[_];d.push(T+j)}h=E+(h.length>0?" "+h:h)}return h},ZA=(...e)=>{let r=0,a,i,o="";for(;r<e.length;)(a=e[r++])&&(i=p2(a))&&(o&&(o+=" "),o+=i);return o},p2=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=p2(e[i]))&&(a&&(a+=" "),a+=r);return a},KA=(e,...r)=>{let a,i,o,s;const u=f=>{const h=r.reduce((m,E)=>E(m),e());return a=IA(h),i=a.cache.get,o=a.cache.set,s=d,d(f)},d=f=>{const h=i(f);if(h)return h;const m=XA(f,a);return o(f,m),m};return s=u,(...f)=>s(ZA(...f))},JA=[],Et=e=>{const r=a=>a[e]||JA;return r.isThemeGetter=!0,r},m2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,C2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,WA=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,eD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T0=e=>WA.test(e),be=e=>!!e&&!Number.isNaN(Number(e)),On=e=>!!e&&Number.isInteger(Number(e)),ou=e=>e.endsWith("%")&&be(e.slice(0,-1)),l0=e=>eD.test(e),y2=()=>!0,lD=e=>tD.test(e)&&!nD.test(e),Ec=()=>!1,iD=e=>rD.test(e),xD=e=>aD.test(e),oD=e=>!de(e)&&!he(e),sD=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),uD=e=>j0(e,A2,Ec),de=e=>m2.test(e),rr=e=>j0(e,D2,lD),m8=e=>j0(e,CD,be),cD=e=>j0(e,v2,y2),fD=e=>j0(e,F2,Ec),C8=e=>j0(e,B2,Ec),dD=e=>j0(e,g2,xD),Ki=e=>j0(e,k2,iD),he=e=>C2.test(e),nl=e=>cr(e,D2),hD=e=>cr(e,F2),y8=e=>cr(e,B2),ED=e=>cr(e,A2),pD=e=>cr(e,g2),Ji=e=>cr(e,k2,!0),mD=e=>cr(e,v2,!0),j0=(e,r,a)=>{const i=m2.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},cr=(e,r,a=!1)=>{const i=C2.exec(e);return i?i[1]?r(i[1]):a:!1},B2=e=>e==="position"||e==="percentage",g2=e=>e==="image"||e==="url",A2=e=>e==="length"||e==="size"||e==="bg-size",D2=e=>e==="length",CD=e=>e==="number",F2=e=>e==="family-name",v2=e=>e==="number"||e==="weight",k2=e=>e==="shadow",yD=()=>{const e=Et("color"),r=Et("font"),a=Et("text"),i=Et("font-weight"),o=Et("tracking"),s=Et("leading"),u=Et("breakpoint"),d=Et("container"),f=Et("spacing"),h=Et("radius"),m=Et("shadow"),E=Et("inset-shadow"),C=Et("text-shadow"),y=Et("drop-shadow"),g=Et("blur"),A=Et("perspective"),F=Et("aspect"),v=Et("ease"),R=Et("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...T(),he,de],S=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],j=()=>[he,de,f],I=()=>[T0,"full","auto",...j()],P=()=>[On,"none","subgrid",he,de],J=()=>["auto",{span:["full",On,he,de]},On,he,de],K=()=>[On,"auto",he,de],ie=()=>["auto","min","max","fr",he,de],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...j()],$=()=>[T0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],xe=()=>[T0,"screen","full","dvw","lvw","svw","min","max","fit",...j()],fe=()=>[T0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],b=()=>[e,he,de],z=()=>[...T(),y8,C8,{position:[he,de]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],w=()=>["auto","cover","contain",ED,uD,{size:[he,de]}],re=()=>[ou,nl,rr],ce=()=>["","none","full",h,he,de],se=()=>["",be,nl,rr],me=()=>["solid","dashed","dotted","double"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[be,ou,y8,C8],Ct=()=>["","none",g,he,de],at=()=>["none",be,he,de],xn=()=>["none",be,he,de],$t=()=>[be,he,de],xt=()=>[T0,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[l0],breakpoint:[l0],color:[y2],container:[l0],"drop-shadow":[l0],ease:["in","out","in-out"],font:[oD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[l0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[l0],shadow:[l0],spacing:["px",be],text:[l0],"text-shadow":[l0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",T0,de,he,F]}],container:["container"],"container-type":[{"@container":["","normal","size",he,de]}],"container-named":[sD],columns:[{columns:[be,de,he,d]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[On,"auto",he,de]}],basis:[{basis:[T0,"full","auto",d,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,T0,"auto","initial","none",de]}],grow:[{grow:["",be,he,de]}],shrink:[{shrink:["",be,he,de]}],order:[{order:[On,"first","last","none",he,de]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...xe()]}],"min-inline-size":[{"min-inline":["auto",...xe()]}],"max-inline-size":[{"max-inline":["none",...xe()]}],"block-size":[{block:["auto",...fe()]}],"min-block-size":[{"min-block":["auto",...fe()]}],"max-block-size":[{"max-block":["none",...fe()]}],w:[{w:[d,"screen",...$()]}],"min-w":[{"min-w":[d,"screen","none",...$()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",a,nl,rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,mD,cD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ou,de]}],"font-family":[{font:[hD,fD,r]}],"font-features":[{"font-features":[de]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,he,de]}],"line-clamp":[{"line-clamp":[be,"none",he,m8]}],leading:[{leading:[s,...j()]}],"list-image":[{"list-image":["none",he,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",he,rr]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[be,"auto",he,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"tab-size":[{tab:[On,he,de]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:w()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},On,he,de],radial:["",he,de],conic:[On,he,de]},pD,dD]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-bs":[{"border-bs":se()}],"border-w-be":[{"border-be":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":se()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-bs":[{"border-bs":b()}],"border-color-be":[{"border-be":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,he,de]}],"outline-w":[{outline:["",be,nl,rr]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",m,Ji,Ki]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",E,Ji,Ki]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[be,rr]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",C,Ji,Ki]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[be,he,de]}],"mix-blend":[{"mix-blend":[...je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":je()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[he,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:w()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,de]}],filter:[{filter:["","none",he,de]}],blur:[{blur:Ct()}],brightness:[{brightness:[be,he,de]}],contrast:[{contrast:[be,he,de]}],"drop-shadow":[{"drop-shadow":["","none",y,Ji,Ki]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",be,he,de]}],"hue-rotate":[{"hue-rotate":[be,he,de]}],invert:[{invert:["",be,he,de]}],saturate:[{saturate:[be,he,de]}],sepia:[{sepia:["",be,he,de]}],"backdrop-filter":[{"backdrop-filter":["","none",he,de]}],"backdrop-blur":[{"backdrop-blur":Ct()}],"backdrop-brightness":[{"backdrop-brightness":[be,he,de]}],"backdrop-contrast":[{"backdrop-contrast":[be,he,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,he,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,he,de]}],"backdrop-invert":[{"backdrop-invert":["",be,he,de]}],"backdrop-opacity":[{"backdrop-opacity":[be,he,de]}],"backdrop-saturate":[{"backdrop-saturate":[be,he,de]}],"backdrop-sepia":[{"backdrop-sepia":["",be,he,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",he,de]}],ease:[{ease:["linear","initial",v,he,de]}],delay:[{delay:[be,he,de]}],animate:[{animate:["none",R,he,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,he,de]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:at()}],"rotate-x":[{"rotate-x":at()}],"rotate-y":[{"rotate-y":at()}],"rotate-z":[{"rotate-z":at()}],scale:[{scale:xn()}],"scale-x":[{"scale-x":xn()}],"scale-y":[{"scale-y":xn()}],"scale-z":[{"scale-z":xn()}],"scale-3d":["scale-3d"],skew:[{skew:$t()}],"skew-x":[{"skew-x":$t()}],"skew-y":[{"skew-y":$t()}],transform:[{transform:[he,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],zoom:[{zoom:[On,he,de]}],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":b()}],"scrollbar-track-color":[{"scrollbar-track":b()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,de]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[be,nl,rr,m8]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},BD=KA(yD);function tt(...e){return BD(SA(e))}function gl(e){return e.workspace_name||e.pr_title||gD(e.branch)||e.directory_name||e.id.slice(0,8)}function gD(e){if(!e)return"";const a=(e.includes("/")?e.slice(e.indexOf("/")+1):e).replace(/[-_]/g," ").trim();return a?a[0].toUpperCase()+a.slice(1):""}function b2(e){return e.state==="setting_up"}const AD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function DD(e){return{color:e.pr_status&&AD[e.pr_status]||"var(--color-accent)",pulse:e.session_status==="working"}}function FD(e){return b2(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const B8=["done","in-review","in-progress","setting-up","backlog"];function vD(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog"}[e]??e}function pc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function kD(e){const r=new Date(e).getTime();if(!Number.isFinite(r))return"";const a=Math.round((Date.now()-r)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const o=Math.round(i/60);return o<24?`${o}h`:`${Math.round(o/24)}d`}const w2={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},su=Object.keys(w2);function bD(e){const r=pc(e.model);return r?r.includes(":")?r.split("/").pop()??r:r:"Model"}function wD({session:e,workspaceId:r}){const[a,i]=L.useState(null),[o,s]=L.useState(null),[u,d]=L.useState(null),[f,h]=L.useState(!1),m=Re(v=>v.online),E=na(),C=async(v,R)=>{if(!(a||!m)){i(v),s(null);try{const M=await Nt.setAgent(e.id,R,r);M.ok||s(M.error??"change failed"),await E.invalidateQueries({queryKey:["sessions",r]})}catch(M){s(M instanceof Error?M.message:"change failed")}finally{i(null)}}},y=async()=>{if(h(v=>!v),!(u||a)){i("model");try{const v=await Nt.models(e.id,r);v.ok&&v.models?d(v.models):s(v.error??"could not read the model list")}catch(v){s(v instanceof Error?v.message:"could not read the model list")}finally{i(null)}}},g=()=>{const v=su.indexOf(e.claude_effort_level??"");return su[(v+1)%su.length]},A=e.permission_mode==="plan",F=!!e.fast_mode;return D.jsxs("div",{className:"shrink-0 border-t border-border-soft bg-bg px-3 pt-2",children:[D.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[D.jsxs("button",{type:"button",onClick:y,disabled:!m||a!==null,className:"pill flex items-center gap-1 disabled:opacity-40",children:[bD(e),D.jsx(fc,{size:13})]}),e.claude_effort_level?D.jsx("button",{type:"button",onClick:()=>C("effort",{effort:g()}),disabled:!m||a!==null,className:"pill disabled:opacity-40",children:a==="effort"?"…":w2[e.claude_effort_level]}):null,D.jsx("button",{type:"button",onClick:()=>C("plan",{plan:!A}),disabled:!m||a!==null,className:tt("pill disabled:opacity-40",A&&"pill-active"),children:a==="plan"?"…":"Plan"}),D.jsxs("button",{type:"button",onClick:()=>C("fast",{fast:!F}),disabled:!m||a!==null,className:tt("pill flex items-center gap-1 disabled:opacity-40",F&&"pill-active"),children:[D.jsx(a2,{size:13}),a==="fast"?"…":"Fast"]})]}),f?D.jsx("div",{className:"mt-2 max-h-44 overflow-y-auto rounded-lg border border-border-soft",children:u===null?D.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:"Reading Conductor’s model list…"}):u.map(v=>D.jsx("button",{type:"button",onClick:()=>{h(!1),C("model",{model:v})},className:"block w-full px-3 py-2 text-left text-sm active:bg-surface-2",children:v},v))}):null,o?D.jsx("div",{className:"mt-1.5 text-xs text-del",children:o}):null]})}function SD({sessionId:e,workspaceId:r,actuator:a}){const i=Re(C=>C.drafts[r]??""),o=Re(C=>C.setDraft),s=Re(C=>C.online),u=dc(),d=L.useRef(null),f=()=>{const C=d.current;C&&(C.style.height="auto",C.style.height=`${Math.min(C.scrollHeight,160)}px`)};L.useEffect(f,[i]);const h=()=>{const C=i.trim();!C||!e||!s||(u({sessionId:e,workspaceId:r,text:C}),o(r,""))},m=!e,E=a?.precise&&a.available;return D.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[s?!E&&D.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[D.jsx(qC,{size:12}),a?.caveat||"Sends to the focused session"]}):D.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[D.jsx(r2,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),D.jsxs("div",{className:"flex items-end gap-2 rounded-2xl border border-border bg-surface px-2.5 py-1.5 focus-within:border-accent/60",children:[D.jsx("textarea",{ref:d,rows:1,value:i,disabled:m,placeholder:m?"No active session":"Send a prompt…",className:"max-h-40 flex-1 resize-none bg-transparent py-1.5 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:C=>o(r,C.target.value),onKeyDown:C=>{C.key==="Enter"&&(C.metaKey||C.ctrlKey)&&(C.preventDefault(),h())}}),D.jsx("button",{type:"button",onClick:h,disabled:m||!i.trim()||!s,"aria-label":"Send",className:"mb-0.5 flex size-9 shrink-0 items-center justify-center rounded-full bg-accent text-white transition active:scale-90 disabled:bg-surface-2 disabled:text-faint",children:D.jsx(X4,{size:19})})]})]})}function MD(e,r){if(r&&(r.dirty||r.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const _D={push:{label:"Uncommitted changes",tone:"text-working",icon:D.jsx(s3,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:D.jsx(n2,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},draft:{label:"Draft",tone:"text-muted"}},zD={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function TD({ws:e,local:r}){const a=na(),[i,o]=L.useState(!1),[s,u]=L.useState(!1),[d,f]=L.useState(null);if(d?.ok)return D.jsxs(g8,{children:[D.jsx(kx,{size:15,className:"shrink-0 text-add"}),D.jsx("span",{className:"truncate font-medium text-add",children:d.msg})]});if(e.pr_status==="merged")return null;const h=MD(e,r);if(!h)return null;const{label:m,tone:E,icon:C}=_D[h],y=async()=>{u(!0),f(null);try{const A=await Nt.merge(e.id);A.ok?(f({ok:!0,msg:`Merged${A.method?` (${A.method})`:""}`}),a.invalidateQueries({queryKey:["state"]}),a.invalidateQueries({queryKey:["diff",e.id]})):(f({ok:!1,msg:A.error||"Merge failed"}),o(!1))}catch(A){f({ok:!1,msg:A instanceof Error?A.message:String(A)}),o(!1)}finally{u(!1)}},g=async A=>{if(!e.active_session_id)return f({ok:!1,msg:"No active session to message"});u(!0),f(null);try{const F=await Nt.sendPrompt(e.active_session_id,zD[A],e.id);f(F.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:F.error||"Send failed"})}catch(F){f({ok:!1,msg:F instanceof Error?F.message:String(F)})}finally{u(!1)}};return D.jsxs(g8,{tint:h==="merge",children:[e.pr_number?D.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:"flex shrink-0 items-center gap-0.5 rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted active:bg-surface",children:["#",e.pr_number,D.jsx($4,{size:12})]}):null,D.jsxs("span",{className:tt("flex items-center gap-1 truncate font-medium",E),children:[C,m]}),D.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[d&&!d.ok?D.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:d.msg}):null,h==="draft"?null:h==="merge"?i?D.jsxs(D.Fragment,{children:[D.jsx(ND,{onClick:()=>o(!1)}),D.jsx(Wi,{onClick:y,busy:s,className:"bg-add text-black",children:"Confirm"})]}):D.jsxs(Wi,{onClick:()=>o(!0),className:"bg-add text-black",children:[D.jsx(CC,{size:13}),"Merge"]}):h==="push"?D.jsx(Wi,{onClick:()=>g("push"),busy:s,className:"bg-working text-black",children:"Commit & push"}):D.jsx(Wi,{onClick:()=>g("resolve"),busy:s,className:"border border-border bg-surface-2 text-text",children:"Resolve"})]})]})}function Wi({onClick:e,busy:r,className:a,children:i}){return D.jsxs("button",{type:"button",onClick:e,disabled:r,className:tt("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",a),children:[r?D.jsx(Jh,{size:13,className:"animate-spin"}):null,i]})}function ND({onClick:e}){return D.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}function g8({tint:e,children:r}){return D.jsx("div",{className:tt("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?"bg-add/10":"bg-surface/95"),children:r})}const RD={activity:H4,anchor:V4,apple:G4,atom:K4,award:W4,banknote:t7,battery:r7,beer:l7,bell:x7,bike:s7,bird:c7,bluetooth:d7,book:m7,"book-open":E7,bookmark:y7,bot:g7,box:D7,brain:v7,briefcase:b7,brush:S7,bug:T7,"bug-play":_7,building:j7,"building-2":R7,cake:P7,calendar:H7,camera:V7,car:G7,carrot:$7,cat:X7,"chart-bar":K7,"chart-line":W7,"chart-pie":t3,clapperboard:l3,clock:x3,cloud:c3,code:E3,"code-xml":d3,coffee:m3,cog:y3,compass:g3,cpu:F3,"credit-card":k3,crown:w3,database:M3,dna:z3,dog:N3,"dollar-sign":O3,dumbbell:L3,egg:U3,factory:q3,feather:Q3,file:Z3,"file-code":I3,film:J3,fish:eC,flag:nC,flame:aC,"flask-conical":iC,folder:oC,"gamepad-2":uC,gem:fC,gift:hC,"git-branch":pC,github:BC,glasses:AC,globe:FC,"graduation-cap":kC,"grid-3x3":wC,hammer:MC,headphones:zC,heart:OC,"heart-pulse":NC,house:LC,image:UC,key:QC,laptop:IC,"layout-grid":ZC,layers:YC,leaf:JC,lightbulb:ey,link:ny,lock:ly,mail:sy,map:dy,"map-pin":cy,martini:Ey,medal:my,"message-circle":yy,"message-square":gy,mic:Dy,microscope:vy,monitor:by,moon:Sy,music:_y,orbit:Ty,package:Ry,paintbrush:jy,paperclip:Hy,"paw-print":Vy,pen:Gy,pencil:$y,phone:Xy,pill:Ky,pipette:Wy,pizza:tB,plane:rB,plug:lB,power:oB,puzzle:uB,rabbit:dB,radio:EB,rocket:CB,ruler:AB,salad:BB,satellite:FB,scissors:kB,server:wB,settings:MB,shell:zB,shield:NB,ship:OB,"shopping-bag":LB,"shopping-cart":UB,smartphone:QB,snail:IB,soup:YB,sparkles:ZB,sprout:JB,star:eg,stethoscope:ng,store:ag,sun:ig,tag:og,tags:ug,target:fg,telescope:hg,terminal:pg,ticket:Cg,"train-front":Bg,"tree-pine":Ag,"trending-up":Fg,trophy:bg,turtle:Sg,user:_g,users:Tg,utensils:Rg,video:jg,wallet:Pg,"wand-2":s8,"wand-sparkles":s8,warehouse:qg,wheat:Qg,wifi:$g,wine:Xg,wrench:Kg,zap:a2};function OD({w:e,className:r}){const{color:a,pulse:i}=DD(e);return D.jsx("span",{className:tt("dot",i&&"dot-pulse",r),style:{background:a,"--pulse-color":a}})}function jD(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s`;const a=Math.round(r/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function LD(){const e=Re(u=>u.online),r=Re(u=>u.lastSyncAt),a=Re(u=>u.update),i=a?.mode==="auto"&&a.available,[o,s]=L.useState(()=>Date.now());return L.useEffect(()=>{if(e)return;const u=setInterval(()=>s(Date.now()),1e3);return()=>clearInterval(u)},[e]),i?D.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[D.jsx(t2,{size:13,className:"animate-spin"}),D.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:D.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[D.jsx(r2,{size:13}),D.jsxs("span",{children:["Offline — retrying…",r?` last synced ${jD(o-r)} ago`:""]})]})}function A8({children:e,className:r}){return D.jsx("span",{className:tt("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:e})}function S2({children:e}){return D.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:e})}function bn({children:e}){return D.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function wl({label:e}){return D.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[D.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const ix="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function Pu({icon:e,name:r}){const a=D.jsx("div",{className:tt(ix,"text-xs"),children:(r.trim()[0]??"?").toUpperCase()});if(!e)return a;if(e.kind==="emoji")return D.jsx("div",{className:tt(ix,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const i=RD[e.value];return i?D.jsx("div",{className:ix,children:D.jsx(i,{size:18,className:"text-muted"})}):a}return e.kind==="github"?D.jsx(M2,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",fallback:a}):D.jsx(PD,{repoName:r,fallback:a})}function M2({src:e,fit:r,fallback:a}){const[i,o]=L.useState(!1);return i?D.jsx(D.Fragment,{children:a}):D.jsx("div",{className:ix,children:D.jsx("img",{src:e,alt:"",loading:"lazy",className:tt("size-full",r==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function PD({repoName:e,fallback:r}){const{data:a,isError:i}=DA(e);return!e||i||!a?D.jsx(D.Fragment,{children:r}):D.jsx(M2,{src:a,fit:"contain",fallback:r})}function UD({workspaceId:e}){const{data:r}=wx(),a=r?.workspaces.find(s=>s.id===e),{data:i}=c2(e),o=i?{dirty:i.dirty,unpushed:i.unpushed}:void 0;return D.jsxs("div",{className:"pb-safe flex flex-1 flex-col overflow-y-auto",children:[a?D.jsx(TD,{ws:a,local:o}):null,D.jsx(HD,{workspaceId:e})]})}function HD({workspaceId:e}){const{data:r,isLoading:a,isError:i,error:o}=c2(e);return a&&!r?D.jsx(wl,{label:"Computing diff…"}):i?D.jsx(bn,{children:o?.message}):r?r.files.length===0?D.jsxs(bn,{children:["No changes vs ",D.jsx("span",{className:"font-mono",children:r.base}),"."]}):D.jsxs(D.Fragment,{children:[D.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",D.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),D.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(s=>D.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[D.jsx("span",{className:"truncate text-muted",children:s.path}),D.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",s.added]}),D.jsxs("span",{className:"shrink-0 text-del",children:["−",s.removed]})]},s.path))}),D.jsx(qD,{patch:r.patch,truncated:r.truncated})]}):D.jsx(bn,{children:"No diff."})}function qD({patch:e,truncated:r}){const a=L.useMemo(()=>e.split(`
|
|
13
|
+
${s}`:o)},clearDraftIfEqual:(i,o)=>{(r().drafts[i]??"").trim()===o.trim()&&r().setDraft(i,"")},setSidebarOpen:i=>e({sidebarOpen:i}),setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:o}=r().view;a({...r().view,collapsed:o.includes(i)?o.filter(s=>s!==i):[...o,i]})}}}),fA=6e4,dA=1e4,iu="pwa-update-attempted-at",hA=2500;async function EA(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function pA(){const e=Re(m=>m.token),r=L.useRef(null),a=L.useRef(!1),{needRefresh:[i,o],updateServiceWorker:s}=N4({onRegisteredSW(m,E){E&&(r.current=E,setInterval(()=>{E.update().catch(()=>{})},fA))}}),{data:u}=sr({queryKey:["state"],queryFn:()=>Nt.state(),enabled:!!e,refetchInterval:!1}),d=u?.version,f=L.useRef(null);if(L.useEffect(()=>{!d||d==="1.30.1"||f.current===d||(f.current=d,r.current?.update().catch(()=>{}))},[d]),L.useEffect(()=>{if(!i)return;const m=Number(sessionStorage.getItem(iu));sessionStorage.removeItem(iu),m&&Date.now()-m<dA&&o(!1)},[i,o]),!i)return null;const h=()=>{sessionStorage.setItem(iu,String(Date.now()));const m=()=>{a.current||(a.current=!0,window.location.reload())},E=r.current?.waiting;E?(navigator.serviceWorker?.addEventListener("controllerchange",m,{once:!0}),E.addEventListener("statechange",()=>{E.state==="activated"&&m()}),E.postMessage({type:"SKIP_WAITING"})):s(!0),window.setTimeout(()=>{a.current||(a.current=!0,EA())},hA)};return D.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[D.jsx(t2,{size:15,className:"shrink-0 text-accent"}),D.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),D.jsx("button",{type:"button",onClick:()=>o(!1),className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),D.jsx("button",{type:"button",onClick:h,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}const Bl="conductor-remote-first-prompt:";function o2(e){let r;try{r=localStorage.getItem(Bl+e)}catch{return null}if(!r)return null;try{const a=JSON.parse(r);if(typeof a?.text!="string")throw new Error("not a record");return{workspaceId:e,text:a.text,attempts:typeof a.attempts=="number"?a.attempts:0,createdAt:typeof a.createdAt=="number"?a.createdAt:Date.now()}}catch{return{workspaceId:e,text:r,attempts:0,createdAt:Date.now()}}}function s2(e){try{const{text:r,attempts:a,createdAt:i}=e;localStorage.setItem(Bl+e.workspaceId,JSON.stringify({text:r,attempts:a,createdAt:i}))}catch{}}function mA(e,r){s2({workspaceId:e,text:r,attempts:0,createdAt:Date.now()})}function xu(){const e=[];try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Bl))continue;const i=o2(a.slice(Bl.length));i&&e.push(i)}}catch{}return e.sort((r,a)=>r.createdAt-a.createdAt)}function CA(e){const r=o2(e);if(!r)return 0;const a=r.attempts+1;return s2({...r,attempts:a}),a}function yA(e){try{localStorage.removeItem(Bl+e)}catch{}}function BA(e){const r=Re(o=>o.setSidebarOpen),a=Re(o=>o.sidebarOpen),i=L.useRef(a);i.current=a,L.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),d=()=>e.current;let f=!1,h=!1,m=!1,E=0,C=0,y=0,g=0;const A=T=>{const N=d();N&&(N.style.transition="none",N.style.transform=`translateX(${T}px)`,g=T)},F=()=>{const T=d();T&&(T.style.transition="",T.style.transform="")},v=T=>{if(u.matches||T.touches.length!==1)return;const N=T.touches[0];if(i.current){const S=d()?.getBoundingClientRect().right??0;if(N.clientX>S)return}else if(N.clientX>28)return;f=!0,h=!1,m=!1,E=N.clientX,C=N.clientY,y=d()?.offsetWidth??0},R=T=>{if(!f||m)return;const N=T.touches[0],S=N.clientX-E,_=N.clientY-C;if(!h){if(Math.abs(_)>Math.abs(S)&&Math.abs(_)>8){m=!0;return}if(Math.abs(S)<6)return;h=!0}T.preventDefault();const j=i.current?0:-y;A(Math.max(-y,Math.min(0,j+S)))},M=()=>{if(!f)return;if(f=!1,!h||m)return F();const T=y?(g+y)/y:0;F(),r(T>.4)};return window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",R,{passive:!1}),window.addEventListener("touchend",M),window.addEventListener("touchcancel",M),()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",R),window.removeEventListener("touchend",M),window.removeEventListener("touchcancel",M)}},[e,r])}const d8='input, textarea, [contenteditable]:not([contenteditable="false"])';function gA(){L.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&r.setAttribute("data-standalone","");let a=0,i;const o=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},s=m=>{m&&!i?i=setInterval(u,300):!m&&i&&(clearInterval(i),i=void 0)},u=()=>{const m=document.activeElement,E=m instanceof HTMLElement&&m.matches(d8),C=e.scale>1.01;!E||C?(!C&&window.innerHeight-e.height<120&&(a=e.height),o()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):o(),s(E||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let d;const f=()=>{u(),clearTimeout(d),d=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const m=document.activeElement;m instanceof HTMLElement&&m.matches(d8)&&m.blur(),o(),s(!1)}else f()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{clearTimeout(d),s(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",f),document.removeEventListener("focusout",f),o()}},[])}function bx(){const e=Re(a=>a.setOnline),r=Re(a=>a.setToken);return L.useCallback((a,i)=>{e(a),i instanceof fx&&i.status===401&&r(null)},[e,r])}function wx(){const e=bx(),r=Re(i=>i.setUpdate),a=sr({queryKey:["state"],queryFn:()=>Nt.state(),refetchInterval:2500});return L.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function AA(){return sr({queryKey:["repos"],queryFn:()=>Nt.repos(),staleTime:6e4})}function u2(e){const r=bx(),a=sr({queryKey:["sessions",e],queryFn:()=>Nt.sessions(e),enabled:!!e,refetchInterval:2e3});return L.useEffect(()=>{a.isError&&r(!1,a.error)},[a.isError,a.error,r]),a}function c2(e,r){const a=bx(),i=sr({queryKey:["diff",e],queryFn:()=>Nt.diff(e),enabled:!!e,refetchInterval:5e3});return L.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function DA(e){return sr({queryKey:["repoIcon",e],queryFn:()=>Nt.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function FA(e,r){return sr({queryKey:["logs",e],queryFn:()=>Nt.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}function vA(e){const r=bx(),[a,i]=L.useState({entries:[],loading:!0,error:null}),o=L.useRef(0);return L.useEffect(()=>{if(!e){i({entries:[],loading:!1,error:null});return}o.current=0,i({entries:[],loading:!0,error:null});let s=!0;const u=async()=>{try{const{entries:f,cursor:h}=await Nt.messages(e,o.current);if(!s)return;r(!0),f.length?(o.current=h,i(m=>({entries:[...m.entries,...f],loading:!1,error:null}))):i(m=>m.loading?{...m,loading:!1}:m)}catch(f){if(!s)return;r(!1,f),i(h=>({...h,loading:!1,error:f instanceof Error?f.message:String(f)}))}};u();const d=setInterval(u,1e3);return()=>{s=!1,clearInterval(d)}},[e,r]),a}function dc(){const e=na(),r=Re(u=>u.addPending),a=Re(u=>u.failPending),i=Re(u=>u.removePending),o=Re(u=>u.markWorking),s=Re(u=>u.clearDraftIfEqual);return L.useCallback(async u=>{const d=u.text.trim();if(!d)return!1;const f=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:m}=u;r({id:f,sessionId:h,workspaceId:m,text:d});try{const E=await Nt.sendPrompt(h,d,m);if(E.ok)return o(h),e.invalidateQueries({queryKey:["sessions",m]}),s(m,d),setTimeout(()=>i(f),4e3),!0;a(f,E.error||"Send failed")}catch(E){a(f,E instanceof Error?E.message:String(E))}return!1},[r,a,i,o,s,e])}const kA=3,bA=1440*60*1e3;function wA(){const{data:e}=wx(),[r,a]=L.useState(xu),i=dc(),o=Re(E=>E.stashDraft),s=L.useRef(!1),u=r[0],d=u?e?.workspaces.find(E=>E.id===u.workspaceId):void 0,{data:f}=u2(d?.state==="ready"?d.id:void 0),h=f?.sessions??[],m=h.find(E=>E.id===d?.active_session_id)??h[0];L.useEffect(()=>{if(!u||s.current)return;const E=()=>{yA(u.workspaceId),a(xu())},C=()=>{o(u.workspaceId,u.text),E()};if(Date.now()-u.createdAt>bA)return C();if(d?.state!=="ready"||!m)return;if(m.last_user_message_at)return E();s.current=!0;const y=CA(u.workspaceId),g={id:`first:${u.workspaceId}`,sessionId:m.id,workspaceId:u.workspaceId};(async()=>(await i({...g,text:u.text}).catch(()=>!1)?E():y>=kA?C():a(xu()),s.current=!1))()},[u,d,m,i,o])}function f2(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(a=f2(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function SA(){for(var e,r,a=0,i="",o=arguments.length;a<o;a++)(e=arguments[a])&&(r=f2(e))&&(i&&(i+=" "),i+=r);return i}const MA=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},_A=(e,r)=>({classGroupId:e,validator:r}),d2=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),hx="-",h8=[],zA="arbitrary..",TA=e=>{const r=RA(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return NA(u);const d=u.split(hx),f=d[0]===""&&d.length>1?1:0;return h2(d,f,r)},getConflictingClassGroupIds:(u,d)=>{if(d){const f=i[u],h=a[u];return f?h?MA(h,f):f:h||h8}return a[u]||h8}}},h2=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const o=e[r],s=a.nextPart.get(o);if(s){const h=h2(e,r+1,s);if(h)return h}const u=a.validators;if(u===null)return;const d=r===0?e.join(hx):e.slice(r).join(hx),f=u.length;for(let h=0;h<f;h++){const m=u[h];if(m.validator(d))return m.classGroupId}},NA=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?zA+i:void 0})(),RA=e=>{const{theme:r,classGroups:a}=e;return OA(a,r)},OA=(e,r)=>{const a=d2();for(const i in e){const o=e[i];hc(o,a,i,r)}return a},hc=(e,r,a,i)=>{const o=e.length;for(let s=0;s<o;s++){const u=e[s];jA(u,r,a,i)}},jA=(e,r,a,i)=>{if(typeof e=="string"){LA(e,r,a);return}if(typeof e=="function"){PA(e,r,a,i);return}UA(e,r,a,i)},LA=(e,r,a)=>{const i=e===""?r:E2(r,e);i.classGroupId=a},PA=(e,r,a,i)=>{if(HA(e)){hc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(_A(a,e))},UA=(e,r,a,i)=>{const o=Object.entries(e),s=o.length;for(let u=0;u<s;u++){const[d,f]=o[u];hc(f,E2(r,d),a,i)}},E2=(e,r)=>{let a=e;const i=r.split(hx),o=i.length;for(let s=0;s<o;s++){const u=i[s];let d=a.nextPart.get(u);d||(d=d2(),a.nextPart.set(u,d)),a=d}return a},HA=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,qA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const o=(s,u)=>{a[s]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(s){let u=a[s];if(u!==void 0)return u;if((u=i[s])!==void 0)return o(s,u),u},set(s,u){s in a?a[s]=u:o(s,u)}}},Lu="!",E8=":",VA=[],p8=(e,r,a,i,o)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:o}),QA=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=o=>{const s=[];let u=0,d=0,f=0,h;const m=o.length;for(let A=0;A<m;A++){const F=o[A];if(u===0&&d===0){if(F===E8){s.push(o.slice(f,A)),f=A+1;continue}if(F==="/"){h=A;continue}}F==="["?u++:F==="]"?u--:F==="("?d++:F===")"&&d--}const E=s.length===0?o:o.slice(f);let C=E,y=!1;E.endsWith(Lu)?(C=E.slice(0,-1),y=!0):E.startsWith(Lu)&&(C=E.slice(1),y=!0);const g=h&&h>f?h-f:void 0;return p8(s,y,C,g)};if(r){const o=r+E8,s=i;i=u=>u.startsWith(o)?s(u.slice(o.length)):p8(VA,!1,u,void 0,!0)}if(a){const o=i;i=s=>a({className:s,parseClassName:o})}return i},GA=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let o=[];for(let s=0;s<a.length;s++){const u=a[s],d=u[0]==="[",f=r.has(u);d||f?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(u)):o.push(u)}return o.length>0&&(o.sort(),i.push(...o)),i}},IA=e=>({cache:qA(e.cacheSize),parseClassName:QA(e),sortModifiers:GA(e),postfixLookupClassGroupIds:$A(e),...TA(e)}),$A=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},YA=/\s+/,XA=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:u}=r,d=[],f=e.trim().split(YA);let h="";for(let m=f.length-1;m>=0;m-=1){const E=f[m],{isExternal:C,modifiers:y,hasImportantModifier:g,baseClassName:A,maybePostfixModifierPosition:F}=a(E);if(C){h=E+(h.length>0?" "+h:h);continue}let v=!!F,R;if(v){const _=A.substring(0,F);R=i(_);const j=R&&u[R]?i(A):void 0;j&&j!==R&&(R=j,v=!1)}else R=i(A);if(!R){if(!v){h=E+(h.length>0?" "+h:h);continue}if(R=i(A),!R){h=E+(h.length>0?" "+h:h);continue}v=!1}const M=y.length===0?"":y.length===1?y[0]:s(y).join(":"),T=g?M+Lu:M,N=T+R;if(d.indexOf(N)>-1)continue;d.push(N);const S=o(R,v);for(let _=0;_<S.length;++_){const j=S[_];d.push(T+j)}h=E+(h.length>0?" "+h:h)}return h},ZA=(...e)=>{let r=0,a,i,o="";for(;r<e.length;)(a=e[r++])&&(i=p2(a))&&(o&&(o+=" "),o+=i);return o},p2=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=p2(e[i]))&&(a&&(a+=" "),a+=r);return a},KA=(e,...r)=>{let a,i,o,s;const u=f=>{const h=r.reduce((m,E)=>E(m),e());return a=IA(h),i=a.cache.get,o=a.cache.set,s=d,d(f)},d=f=>{const h=i(f);if(h)return h;const m=XA(f,a);return o(f,m),m};return s=u,(...f)=>s(ZA(...f))},JA=[],Et=e=>{const r=a=>a[e]||JA;return r.isThemeGetter=!0,r},m2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,C2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,WA=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,eD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aD=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T0=e=>WA.test(e),be=e=>!!e&&!Number.isNaN(Number(e)),On=e=>!!e&&Number.isInteger(Number(e)),ou=e=>e.endsWith("%")&&be(e.slice(0,-1)),l0=e=>eD.test(e),y2=()=>!0,lD=e=>tD.test(e)&&!nD.test(e),Ec=()=>!1,iD=e=>rD.test(e),xD=e=>aD.test(e),oD=e=>!de(e)&&!he(e),sD=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),uD=e=>j0(e,A2,Ec),de=e=>m2.test(e),rr=e=>j0(e,D2,lD),m8=e=>j0(e,CD,be),cD=e=>j0(e,v2,y2),fD=e=>j0(e,F2,Ec),C8=e=>j0(e,B2,Ec),dD=e=>j0(e,g2,xD),Ki=e=>j0(e,k2,iD),he=e=>C2.test(e),nl=e=>cr(e,D2),hD=e=>cr(e,F2),y8=e=>cr(e,B2),ED=e=>cr(e,A2),pD=e=>cr(e,g2),Ji=e=>cr(e,k2,!0),mD=e=>cr(e,v2,!0),j0=(e,r,a)=>{const i=m2.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},cr=(e,r,a=!1)=>{const i=C2.exec(e);return i?i[1]?r(i[1]):a:!1},B2=e=>e==="position"||e==="percentage",g2=e=>e==="image"||e==="url",A2=e=>e==="length"||e==="size"||e==="bg-size",D2=e=>e==="length",CD=e=>e==="number",F2=e=>e==="family-name",v2=e=>e==="number"||e==="weight",k2=e=>e==="shadow",yD=()=>{const e=Et("color"),r=Et("font"),a=Et("text"),i=Et("font-weight"),o=Et("tracking"),s=Et("leading"),u=Et("breakpoint"),d=Et("container"),f=Et("spacing"),h=Et("radius"),m=Et("shadow"),E=Et("inset-shadow"),C=Et("text-shadow"),y=Et("drop-shadow"),g=Et("blur"),A=Et("perspective"),F=Et("aspect"),v=Et("ease"),R=Et("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...T(),he,de],S=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],j=()=>[he,de,f],I=()=>[T0,"full","auto",...j()],P=()=>[On,"none","subgrid",he,de],J=()=>["auto",{span:["full",On,he,de]},On,he,de],K=()=>[On,"auto",he,de],ie=()=>["auto","min","max","fr",he,de],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...j()],$=()=>[T0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],xe=()=>[T0,"screen","full","dvw","lvw","svw","min","max","fit",...j()],fe=()=>[T0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],b=()=>[e,he,de],z=()=>[...T(),y8,C8,{position:[he,de]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],w=()=>["auto","cover","contain",ED,uD,{size:[he,de]}],re=()=>[ou,nl,rr],ce=()=>["","none","full",h,he,de],se=()=>["",be,nl,rr],me=()=>["solid","dashed","dotted","double"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[be,ou,y8,C8],Ct=()=>["","none",g,he,de],at=()=>["none",be,he,de],xn=()=>["none",be,he,de],$t=()=>[be,he,de],xt=()=>[T0,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[l0],breakpoint:[l0],color:[y2],container:[l0],"drop-shadow":[l0],ease:["in","out","in-out"],font:[oD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[l0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[l0],shadow:[l0],spacing:["px",be],text:[l0],"text-shadow":[l0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",T0,de,he,F]}],container:["container"],"container-type":[{"@container":["","normal","size",he,de]}],"container-named":[sD],columns:[{columns:[be,de,he,d]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[On,"auto",he,de]}],basis:[{basis:[T0,"full","auto",d,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,T0,"auto","initial","none",de]}],grow:[{grow:["",be,he,de]}],shrink:[{shrink:["",be,he,de]}],order:[{order:[On,"first","last","none",he,de]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...xe()]}],"min-inline-size":[{"min-inline":["auto",...xe()]}],"max-inline-size":[{"max-inline":["none",...xe()]}],"block-size":[{block:["auto",...fe()]}],"min-block-size":[{"min-block":["auto",...fe()]}],"max-block-size":[{"max-block":["none",...fe()]}],w:[{w:[d,"screen",...$()]}],"min-w":[{"min-w":[d,"screen","none",...$()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",a,nl,rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,mD,cD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ou,de]}],"font-family":[{font:[hD,fD,r]}],"font-features":[{"font-features":[de]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,he,de]}],"line-clamp":[{"line-clamp":[be,"none",he,m8]}],leading:[{leading:[s,...j()]}],"list-image":[{"list-image":["none",he,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",he,rr]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[be,"auto",he,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"tab-size":[{tab:[On,he,de]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:w()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},On,he,de],radial:["",he,de],conic:[On,he,de]},pD,dD]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-bs":[{"border-bs":se()}],"border-w-be":[{"border-be":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":se()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-bs":[{"border-bs":b()}],"border-color-be":[{"border-be":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,he,de]}],"outline-w":[{outline:["",be,nl,rr]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",m,Ji,Ki]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",E,Ji,Ki]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[be,rr]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",C,Ji,Ki]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[be,he,de]}],"mix-blend":[{"mix-blend":[...je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":je()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[he,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:w()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,de]}],filter:[{filter:["","none",he,de]}],blur:[{blur:Ct()}],brightness:[{brightness:[be,he,de]}],contrast:[{contrast:[be,he,de]}],"drop-shadow":[{"drop-shadow":["","none",y,Ji,Ki]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",be,he,de]}],"hue-rotate":[{"hue-rotate":[be,he,de]}],invert:[{invert:["",be,he,de]}],saturate:[{saturate:[be,he,de]}],sepia:[{sepia:["",be,he,de]}],"backdrop-filter":[{"backdrop-filter":["","none",he,de]}],"backdrop-blur":[{"backdrop-blur":Ct()}],"backdrop-brightness":[{"backdrop-brightness":[be,he,de]}],"backdrop-contrast":[{"backdrop-contrast":[be,he,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,he,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,he,de]}],"backdrop-invert":[{"backdrop-invert":["",be,he,de]}],"backdrop-opacity":[{"backdrop-opacity":[be,he,de]}],"backdrop-saturate":[{"backdrop-saturate":[be,he,de]}],"backdrop-sepia":[{"backdrop-sepia":["",be,he,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",he,de]}],ease:[{ease:["linear","initial",v,he,de]}],delay:[{delay:[be,he,de]}],animate:[{animate:["none",R,he,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,he,de]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:at()}],"rotate-x":[{"rotate-x":at()}],"rotate-y":[{"rotate-y":at()}],"rotate-z":[{"rotate-z":at()}],scale:[{scale:xn()}],"scale-x":[{"scale-x":xn()}],"scale-y":[{"scale-y":xn()}],"scale-z":[{"scale-z":xn()}],"scale-3d":["scale-3d"],skew:[{skew:$t()}],"skew-x":[{"skew-x":$t()}],"skew-y":[{"skew-y":$t()}],transform:[{transform:[he,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],zoom:[{zoom:[On,he,de]}],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":b()}],"scrollbar-track-color":[{"scrollbar-track":b()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,de]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[be,nl,rr,m8]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},BD=KA(yD);function tt(...e){return BD(SA(e))}function gl(e){return e.workspace_name||e.pr_title||gD(e.branch)||e.directory_name||e.id.slice(0,8)}function gD(e){if(!e)return"";const a=(e.includes("/")?e.slice(e.indexOf("/")+1):e).replace(/[-_]/g," ").trim();return a?a[0].toUpperCase()+a.slice(1):""}function b2(e){return e.state==="setting_up"}const AD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function DD(e){return{color:e.pr_status&&AD[e.pr_status]||"var(--color-accent)",pulse:e.session_status==="working"}}function FD(e){return b2(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const B8=["done","in-review","in-progress","setting-up","backlog"];function vD(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog"}[e]??e}function pc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function kD(e){const r=new Date(e).getTime();if(!Number.isFinite(r))return"";const a=Math.round((Date.now()-r)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const o=Math.round(i/60);return o<24?`${o}h`:`${Math.round(o/24)}d`}const w2={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},su=Object.keys(w2);function bD(e){const r=pc(e.model);return r?r.includes(":")?r.split("/").pop()??r:r:"Model"}function wD({session:e,workspaceId:r}){const[a,i]=L.useState(null),[o,s]=L.useState(null),[u,d]=L.useState(null),[f,h]=L.useState(!1),m=Re(v=>v.online),E=na(),C=async(v,R)=>{if(!(a||!m)){i(v),s(null);try{const M=await Nt.setAgent(e.id,R,r);M.ok||s(M.error??"change failed"),await E.invalidateQueries({queryKey:["sessions",r]})}catch(M){s(M instanceof Error?M.message:"change failed")}finally{i(null)}}},y=async()=>{if(h(v=>!v),!(u||a)){i("model");try{const v=await Nt.models(e.id,r);v.ok&&v.models?d(v.models):s(v.error??"could not read the model list")}catch(v){s(v instanceof Error?v.message:"could not read the model list")}finally{i(null)}}},g=()=>{const v=su.indexOf(e.claude_effort_level??"");return su[(v+1)%su.length]},A=e.permission_mode==="plan",F=!!e.fast_mode;return D.jsxs("div",{className:"shrink-0 border-t border-border-soft bg-bg px-3 pt-2",children:[D.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[D.jsxs("button",{type:"button",onClick:y,disabled:!m||a!==null,className:"pill flex items-center gap-1 disabled:opacity-40",children:[bD(e),D.jsx(fc,{size:13})]}),e.claude_effort_level?D.jsx("button",{type:"button",onClick:()=>C("effort",{effort:g()}),disabled:!m||a!==null,className:"pill disabled:opacity-40",children:a==="effort"?"…":w2[e.claude_effort_level]}):null,D.jsx("button",{type:"button",onClick:()=>C("plan",{plan:!A}),disabled:!m||a!==null,className:tt("pill disabled:opacity-40",A&&"pill-active"),children:a==="plan"?"…":"Plan"}),D.jsxs("button",{type:"button",onClick:()=>C("fast",{fast:!F}),disabled:!m||a!==null,className:tt("pill flex items-center gap-1 disabled:opacity-40",F&&"pill-active"),children:[D.jsx(a2,{size:13}),a==="fast"?"…":"Fast"]})]}),f?D.jsx("div",{className:"mt-2 max-h-44 overflow-y-auto rounded-lg border border-border-soft",children:u===null?D.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:"Reading Conductor’s model list…"}):u.map(v=>D.jsx("button",{type:"button",onClick:()=>{h(!1),C("model",{model:v})},className:"block w-full px-3 py-2 text-left text-sm active:bg-surface-2",children:v},v))}):null,o?D.jsx("div",{className:"mt-1.5 text-xs text-del",children:o}):null]})}function SD({sessionId:e,workspaceId:r,actuator:a}){const i=Re(C=>C.drafts[r]??""),o=Re(C=>C.setDraft),s=Re(C=>C.online),u=dc(),d=L.useRef(null),f=()=>{const C=d.current;C&&(C.style.height="auto",C.style.height=`${Math.min(C.scrollHeight,160)}px`)};L.useEffect(f,[i]);const h=()=>{const C=i.trim();!C||!e||!s||(u({sessionId:e,workspaceId:r,text:C}),o(r,""))},m=!e,E=a?.precise&&a.available;return D.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[s?!E&&D.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[D.jsx(qC,{size:12}),a?.caveat||"Sends to the focused session"]}):D.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[D.jsx(r2,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),D.jsxs("div",{className:"flex items-end gap-2 rounded-2xl border border-border bg-surface px-2.5 py-1.5 focus-within:border-accent/60",children:[D.jsx("textarea",{ref:d,rows:1,value:i,disabled:m,placeholder:m?"No active session":"Send a prompt…",className:"max-h-40 flex-1 resize-none bg-transparent py-1.5 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:C=>o(r,C.target.value),onKeyDown:C=>{C.key==="Enter"&&(C.metaKey||C.ctrlKey)&&(C.preventDefault(),h())}}),D.jsx("button",{type:"button",onClick:h,disabled:m||!i.trim()||!s,"aria-label":"Send",className:"mb-0.5 flex size-9 shrink-0 items-center justify-center rounded-full bg-accent text-white transition active:scale-90 disabled:bg-surface-2 disabled:text-faint",children:D.jsx(X4,{size:19})})]})]})}function MD(e,r){if(r&&(r.dirty||r.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const _D={push:{label:"Uncommitted changes",tone:"text-working",icon:D.jsx(s3,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:D.jsx(n2,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},draft:{label:"Draft",tone:"text-muted"}},zD={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function TD({ws:e,local:r}){const a=na(),[i,o]=L.useState(!1),[s,u]=L.useState(!1),[d,f]=L.useState(null);if(d?.ok)return D.jsxs(g8,{children:[D.jsx(kx,{size:15,className:"shrink-0 text-add"}),D.jsx("span",{className:"truncate font-medium text-add",children:d.msg})]});if(e.pr_status==="merged")return null;const h=MD(e,r);if(!h)return null;const{label:m,tone:E,icon:C}=_D[h],y=async()=>{u(!0),f(null);try{const A=await Nt.merge(e.id);A.ok?(f({ok:!0,msg:`Merged${A.method?` (${A.method})`:""}`}),a.invalidateQueries({queryKey:["state"]}),a.invalidateQueries({queryKey:["diff",e.id]})):(f({ok:!1,msg:A.error||"Merge failed"}),o(!1))}catch(A){f({ok:!1,msg:A instanceof Error?A.message:String(A)}),o(!1)}finally{u(!1)}},g=async A=>{if(!e.active_session_id)return f({ok:!1,msg:"No active session to message"});u(!0),f(null);try{const F=await Nt.sendPrompt(e.active_session_id,zD[A],e.id);f(F.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:F.error||"Send failed"})}catch(F){f({ok:!1,msg:F instanceof Error?F.message:String(F)})}finally{u(!1)}};return D.jsxs(g8,{tint:h==="merge",children:[e.pr_number?D.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:"flex shrink-0 items-center gap-0.5 rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted active:bg-surface",children:["#",e.pr_number,D.jsx($4,{size:12})]}):null,D.jsxs("span",{className:tt("flex items-center gap-1 truncate font-medium",E),children:[C,m]}),D.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[d&&!d.ok?D.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:d.msg}):null,h==="draft"?null:h==="merge"?i?D.jsxs(D.Fragment,{children:[D.jsx(ND,{onClick:()=>o(!1)}),D.jsx(Wi,{onClick:y,busy:s,className:"bg-add text-black",children:"Confirm"})]}):D.jsxs(Wi,{onClick:()=>o(!0),className:"bg-add text-black",children:[D.jsx(CC,{size:13}),"Merge"]}):h==="push"?D.jsx(Wi,{onClick:()=>g("push"),busy:s,className:"bg-working text-black",children:"Commit & push"}):D.jsx(Wi,{onClick:()=>g("resolve"),busy:s,className:"border border-border bg-surface-2 text-text",children:"Resolve"})]})]})}function Wi({onClick:e,busy:r,className:a,children:i}){return D.jsxs("button",{type:"button",onClick:e,disabled:r,className:tt("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",a),children:[r?D.jsx(Jh,{size:13,className:"animate-spin"}):null,i]})}function ND({onClick:e}){return D.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}function g8({tint:e,children:r}){return D.jsx("div",{className:tt("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?"bg-add/10":"bg-surface/95"),children:r})}const RD={activity:H4,anchor:V4,apple:G4,atom:K4,award:W4,banknote:t7,battery:r7,beer:l7,bell:x7,bike:s7,bird:c7,bluetooth:d7,book:m7,"book-open":E7,bookmark:y7,bot:g7,box:D7,brain:v7,briefcase:b7,brush:S7,bug:T7,"bug-play":_7,building:j7,"building-2":R7,cake:P7,calendar:H7,camera:V7,car:G7,carrot:$7,cat:X7,"chart-bar":K7,"chart-line":W7,"chart-pie":t3,clapperboard:l3,clock:x3,cloud:c3,code:E3,"code-xml":d3,coffee:m3,cog:y3,compass:g3,cpu:F3,"credit-card":k3,crown:w3,database:M3,dna:z3,dog:N3,"dollar-sign":O3,dumbbell:L3,egg:U3,factory:q3,feather:Q3,file:Z3,"file-code":I3,film:J3,fish:eC,flag:nC,flame:aC,"flask-conical":iC,folder:oC,"gamepad-2":uC,gem:fC,gift:hC,"git-branch":pC,github:BC,glasses:AC,globe:FC,"graduation-cap":kC,"grid-3x3":wC,hammer:MC,headphones:zC,heart:OC,"heart-pulse":NC,house:LC,image:UC,key:QC,laptop:IC,"layout-grid":ZC,layers:YC,leaf:JC,lightbulb:ey,link:ny,lock:ly,mail:sy,map:dy,"map-pin":cy,martini:Ey,medal:my,"message-circle":yy,"message-square":gy,mic:Dy,microscope:vy,monitor:by,moon:Sy,music:_y,orbit:Ty,package:Ry,paintbrush:jy,paperclip:Hy,"paw-print":Vy,pen:Gy,pencil:$y,phone:Xy,pill:Ky,pipette:Wy,pizza:tB,plane:rB,plug:lB,power:oB,puzzle:uB,rabbit:dB,radio:EB,rocket:CB,ruler:AB,salad:BB,satellite:FB,scissors:kB,server:wB,settings:MB,shell:zB,shield:NB,ship:OB,"shopping-bag":LB,"shopping-cart":UB,smartphone:QB,snail:IB,soup:YB,sparkles:ZB,sprout:JB,star:eg,stethoscope:ng,store:ag,sun:ig,tag:og,tags:ug,target:fg,telescope:hg,terminal:pg,ticket:Cg,"train-front":Bg,"tree-pine":Ag,"trending-up":Fg,trophy:bg,turtle:Sg,user:_g,users:Tg,utensils:Rg,video:jg,wallet:Pg,"wand-2":s8,"wand-sparkles":s8,warehouse:qg,wheat:Qg,wifi:$g,wine:Xg,wrench:Kg,zap:a2};function OD({w:e,className:r}){const{color:a,pulse:i}=DD(e);return D.jsx("span",{className:tt("dot",i&&"dot-pulse",r),style:{background:a,"--pulse-color":a}})}function jD(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s`;const a=Math.round(r/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function LD(){const e=Re(u=>u.online),r=Re(u=>u.lastSyncAt),a=Re(u=>u.update),i=a?.mode==="auto"&&a.available,[o,s]=L.useState(()=>Date.now());return L.useEffect(()=>{if(e)return;const u=setInterval(()=>s(Date.now()),1e3);return()=>clearInterval(u)},[e]),i?D.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[D.jsx(t2,{size:13,className:"animate-spin"}),D.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:D.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[D.jsx(r2,{size:13}),D.jsxs("span",{children:["Offline — retrying…",r?` last synced ${jD(o-r)} ago`:""]})]})}function A8({children:e,className:r}){return D.jsx("span",{className:tt("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:e})}function S2({children:e}){return D.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:e})}function bn({children:e}){return D.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function wl({label:e}){return D.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[D.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const ix="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function Pu({icon:e,name:r}){const a=D.jsx("div",{className:tt(ix,"text-xs"),children:(r.trim()[0]??"?").toUpperCase()});if(!e)return a;if(e.kind==="emoji")return D.jsx("div",{className:tt(ix,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const i=RD[e.value];return i?D.jsx("div",{className:ix,children:D.jsx(i,{size:18,className:"text-muted"})}):a}return e.kind==="github"?D.jsx(M2,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",fallback:a}):D.jsx(PD,{repoName:r,fallback:a})}function M2({src:e,fit:r,fallback:a}){const[i,o]=L.useState(!1);return i?D.jsx(D.Fragment,{children:a}):D.jsx("div",{className:ix,children:D.jsx("img",{src:e,alt:"",loading:"lazy",className:tt("size-full",r==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function PD({repoName:e,fallback:r}){const{data:a,isError:i}=DA(e);return!e||i||!a?D.jsx(D.Fragment,{children:r}):D.jsx(M2,{src:a,fit:"contain",fallback:r})}function UD({workspaceId:e}){const{data:r}=wx(),a=r?.workspaces.find(s=>s.id===e),{data:i}=c2(e),o=i?{dirty:i.dirty,unpushed:i.unpushed}:void 0;return D.jsxs("div",{className:"pb-safe flex flex-1 flex-col overflow-y-auto",children:[a?D.jsx(TD,{ws:a,local:o}):null,D.jsx(HD,{workspaceId:e})]})}function HD({workspaceId:e}){const{data:r,isLoading:a,isError:i,error:o}=c2(e);return a&&!r?D.jsx(wl,{label:"Computing diff…"}):i?D.jsx(bn,{children:o?.message}):r?r.files.length===0?D.jsxs(bn,{children:["No changes vs ",D.jsx("span",{className:"font-mono",children:r.base}),"."]}):D.jsxs(D.Fragment,{children:[D.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",D.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),D.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(s=>D.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[D.jsx("span",{className:"truncate text-muted",children:s.path}),D.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",s.added]}),D.jsxs("span",{className:"shrink-0 text-del",children:["−",s.removed]})]},s.path))}),D.jsx(qD,{patch:r.patch,truncated:r.truncated})]}):D.jsx(bn,{children:"No diff."})}function qD({patch:e,truncated:r}){const a=L.useMemo(()=>e.split(`
|
|
14
14
|
`),[e]);return D.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[a.map((i,o)=>D.jsx("div",{className:tt("whitespace-pre",VD(i)),children:i||" "},o)),r?D.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function VD(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function Uu({title:e,subtitle:r,menu:a,right:i}){const o=Re(s=>s.setSidebarOpen);return D.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[D.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?D.jsx("button",{type:"button",onClick:()=>o(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:D.jsx(Py,{size:20})}):D.jsx("span",{className:"w-1"}),D.jsxs("div",{className:"min-w-0 flex-1",children:[D.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),r?D.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:r}):null]}),i]}),D.jsx(LD,{})]})}function QD(e,r){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const GD=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ID=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$D={};function D8(e,r){return($D.jsx?ID:GD).test(e)}const YD=/[ \t\n\f\r]/g;function XD(e){return typeof e=="object"?e.type==="text"?F8(e.value):!1:F8(e)}function F8(e){return e.replace(YD,"")===""}class Sl{constructor(r,a,i){this.normal=a,this.property=r,i&&(this.space=i)}}Sl.prototype.normal={};Sl.prototype.property={};Sl.prototype.space=void 0;function _2(e,r){const a={},i={};for(const o of e)Object.assign(a,o.property),Object.assign(i,o.normal);return new Sl(a,i,r)}function Hu(e){return e.toLowerCase()}class It{constructor(r,a){this.attribute=a,this.property=r}}It.prototype.attribute="";It.prototype.booleanish=!1;It.prototype.boolean=!1;It.prototype.commaOrSpaceSeparated=!1;It.prototype.commaSeparated=!1;It.prototype.defined=!1;It.prototype.mustUseProperty=!1;It.prototype.number=!1;It.prototype.overloadedBoolean=!1;It.prototype.property="";It.prototype.spaceSeparated=!1;It.prototype.space=void 0;let ZD=0;const De=fr(),ft=fr(),qu=fr(),oe=fr(),Xe=fr(),xr=fr(),nn=fr();function fr(){return 2**++ZD}const Vu=Object.freeze(Object.defineProperty({__proto__:null,boolean:De,booleanish:ft,commaOrSpaceSeparated:nn,commaSeparated:xr,number:oe,overloadedBoolean:qu,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),uu=Object.keys(Vu);class mc extends It{constructor(r,a,i,o){let s=-1;if(super(r,a),v8(this,"space",o),typeof i=="number")for(;++s<uu.length;){const u=uu[s];v8(this,uu[s],(i&Vu[u])===Vu[u])}}}mc.prototype.defined=!0;function v8(e,r,a){a&&(e[r]=a)}function ia(e){const r={},a={};for(const[i,o]of Object.entries(e.properties)){const s=new mc(i,e.transform(e.attributes||{},i),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),r[i]=s,a[Hu(i)]=i,a[Hu(s.attribute)]=i}return new Sl(r,a,e.space)}const z2=ia({properties:{ariaActiveDescendant:null,ariaAtomic:ft,ariaAutoComplete:null,ariaBusy:ft,ariaChecked:ft,ariaColCount:oe,ariaColIndex:oe,ariaColSpan:oe,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:ft,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:ft,ariaFlowTo:Xe,ariaGrabbed:ft,ariaHasPopup:null,ariaHidden:ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:oe,ariaLive:null,ariaModal:ft,ariaMultiLine:ft,ariaMultiSelectable:ft,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:oe,ariaPressed:ft,ariaReadOnly:ft,ariaRelevant:null,ariaRequired:ft,ariaRoleDescription:Xe,ariaRowCount:oe,ariaRowIndex:oe,ariaRowSpan:oe,ariaSelected:ft,ariaSetSize:oe,ariaSort:null,ariaValueMax:oe,ariaValueMin:oe,ariaValueNow:oe,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function T2(e,r){return r in e?e[r]:r}function N2(e,r){return T2(e,r.toLowerCase())}const KD=ia({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xr,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alpha:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:Xe,autoFocus:De,autoPlay:De,blocking:Xe,capture:null,charSet:null,checked:De,cite:null,className:Xe,closedBy:null,colorSpace:null,cols:oe,colSpan:oe,command:null,commandFor:null,content:null,contentEditable:ft,controls:De,controlsList:Xe,coords:oe|xr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:qu,draggable:ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:Xe,height:oe,hidden:qu,high:oe,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:De,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:oe,manifest:null,max:null,maxLength:oe,media:null,method:null,min:null,minLength:oe,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:De,optimum:oe,pattern:null,ping:Xe,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:Xe,required:De,reversed:De,rows:oe,rowSpan:oe,sandbox:Xe,scope:null,scoped:De,seamless:De,selected:De,shadowRootClonable:De,shadowRootCustomElementRegistry:De,shadowRootDelegatesFocus:De,shadowRootMode:null,shadowRootSerializable:De,shape:null,size:oe,sizes:null,slot:null,span:oe,spellCheck:ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:oe,step:null,style:null,tabIndex:oe,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:ft,width:oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:oe,borderColor:null,bottomMargin:oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:oe,leftMargin:oe,link:null,longDesc:null,lowSrc:null,marginHeight:oe,marginWidth:oe,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:oe,rules:null,scheme:null,scrolling:ft,standby:null,summary:null,text:null,topMargin:oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:oe,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:De,disablePictureInPicture:De,disableRemotePlayback:De,exportParts:xr,part:Xe,prefix:null,property:null,results:oe,security:null,unselectable:null},space:"html",transform:N2}),JD=ia({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:nn,accentHeight:oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:oe,amplitude:oe,arabicForm:null,ascent:oe,attributeName:null,attributeType:null,azimuth:oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:oe,by:null,calcMode:null,capHeight:oe,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:oe,diffuseConstant:oe,direction:null,display:null,dur:null,divisor:oe,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:oe,enableBackground:null,end:null,event:null,exponent:oe,externalResourcesRequired:null,fill:null,fillOpacity:oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:xr,g2:xr,glyphName:xr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:oe,horizOriginX:oe,horizOriginY:oe,id:null,ideographic:oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:oe,k:oe,k1:oe,k2:oe,k3:oe,k4:oe,kernelMatrix:nn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:oe,overlineThickness:oe,paintOrder:null,panose1:null,path:null,pathLength:oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:oe,pointsAtY:oe,pointsAtZ:oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nn,rev:nn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nn,requiredFeatures:nn,requiredFonts:nn,requiredFormats:nn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:oe,specularExponent:oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:oe,strikethroughThickness:oe,string:null,stroke:null,strokeDashArray:nn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:oe,strokeOpacity:oe,strokeWidth:null,style:null,surfaceScale:oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nn,tabIndex:oe,tableValues:null,target:null,targetX:oe,targetY:oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:oe,underlineThickness:oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:oe,values:null,vAlphabetic:oe,vMathematical:oe,vectorEffect:null,vHanging:oe,vIdeographic:oe,version:null,vertAdvY:oe,vertOriginX:oe,vertOriginY:oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T2}),R2=ia({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}}),O2=ia({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:N2}),j2=ia({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}}),WD={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},eF=/[A-Z]/g,k8=/-[a-z]/g,tF=/^data[-\w.:]+$/i;function nF(e,r){const a=Hu(r);let i=r,o=It;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&tF.test(r)){if(r.charAt(4)==="-"){const s=r.slice(5).replace(k8,aF);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=r.slice(4);if(!k8.test(s)){let u=s.replace(eF,rF);u.charAt(0)!=="-"&&(u="-"+u),r="data"+u}}o=mc}return new o(i,r)}function rF(e){return"-"+e.toLowerCase()}function aF(e){return e.charAt(1).toUpperCase()}const lF=_2([z2,KD,R2,O2,j2],"html"),Cc=_2([z2,JD,R2,O2,j2],"svg");function iF(e){return e.join(" ").trim()}var Wr={},cu,b8;function xF(){if(b8)return cu;b8=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
|
|
15
15
|
`,h="/",m="*",E="",C="comment",y="declaration";function g(F,v){if(typeof F!="string")throw new TypeError("First argument must be a string");if(!F)return[];v=v||{};var R=1,M=1;function T(ae){var X=ae.match(r);X&&(R+=X.length);var H=ae.lastIndexOf(f);M=~H?ae.length-H:M+ae.length}function N(){var ae={line:R,column:M};return function(X){return X.position=new S(ae),I(),X}}function S(ae){this.start=ae,this.end={line:R,column:M},this.source=v.source}S.prototype.content=F;function _(ae){var X=new Error(v.source+":"+R+":"+M+": "+ae);if(X.reason=ae,X.filename=v.source,X.line=R,X.column=M,X.source=F,!v.silent)throw X}function j(ae){var X=ae.exec(F);if(X){var H=X[0];return T(H),F=F.slice(H.length),X}}function I(){j(a)}function P(ae){var X;for(ae=ae||[];X=J();)X!==!1&&ae.push(X);return ae}function J(){var ae=N();if(!(h!=F.charAt(0)||m!=F.charAt(1))){for(var X=2;E!=F.charAt(X)&&(m!=F.charAt(X)||h!=F.charAt(X+1));)++X;if(X+=2,E===F.charAt(X-1))return _("End of comment missing");var H=F.slice(2,X-2);return M+=2,T(H),F=F.slice(X),M+=2,ae({type:C,comment:H})}}function K(){var ae=N(),X=j(i);if(X){if(J(),!j(o))return _("property missing ':'");var H=j(s),$=ae({type:y,property:A(X[0].replace(e,E)),value:H?A(H[0].replace(e,E)):E});return j(u),$}}function ie(){var ae=[];P(ae);for(var X;X=K();)X!==!1&&(ae.push(X),P(ae));return ae}return I(),ie()}function A(F){return F?F.replace(d,E):E}return cu=g,cu}var w8;function oF(){if(w8)return Wr;w8=1;var e=Wr&&Wr.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.default=a;const r=e(xF());function a(i,o){let s=null;if(!i||typeof i!="string")return s;const u=(0,r.default)(i),d=typeof o=="function";return u.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:m}=f;d?o(h,m,f):m&&(s=s||{},s[h]=m)}),s}return Wr}var rl={},S8;function sF(){if(S8)return rl;S8=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(h){return!h||a.test(h)||e.test(h)},u=function(h,m){return m.toUpperCase()},d=function(h,m){return"".concat(m,"-")},f=function(h,m){return m===void 0&&(m={}),s(h)?h:(h=h.toLowerCase(),m.reactCompat?h=h.replace(o,d):h=h.replace(i,d),h.replace(r,u))};return rl.camelCase=f,rl}var al,M8;function uF(){if(M8)return al;M8=1;var e=al&&al.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},r=e(oF()),a=sF();function i(o,s){var u={};return!o||typeof o!="string"||(0,r.default)(o,function(d,f){d&&f&&(u[(0,a.camelCase)(d,s)]=f)}),u}return i.default=i,al=i,al}var cF=uF();const fF=Bx(cF),L2=P2("end"),yc=P2("start");function P2(e){return r;function r(a){const i=a&&a.position&&a.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function dF(e){const r=yc(e),a=L2(e);if(r&&a)return{start:r,end:a}}function ul(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?_8(e.position):"start"in e||"end"in e?_8(e):"line"in e||"column"in e?Qu(e):""}function Qu(e){return z8(e&&e.line)+":"+z8(e&&e.column)}function _8(e){return Qu(e&&e.start)+"-"+Qu(e&&e.end)}function z8(e){return e&&typeof e=="number"?e:1}class St extends Error{constructor(r,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let o="",s={},u=!1;if(a&&("line"in a&&"column"in a?s={place:a}:"start"in a&&"end"in a?s={place:a}:"type"in a?s={ancestors:[a],place:a.position}:s={...a}),typeof r=="string"?o=r:!s.cause&&r&&(u=!0,o=r.message,s.cause=r),!s.ruleId&&!s.source&&typeof i=="string"){const f=i.indexOf(":");f===-1?s.ruleId=i:(s.source=i.slice(0,f),s.ruleId=i.slice(f+1))}if(!s.place&&s.ancestors&&s.ancestors){const f=s.ancestors[s.ancestors.length-1];f&&(s.place=f.position)}const d=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=d?d.line:void 0,this.name=ul(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=u&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}St.prototype.file="";St.prototype.name="";St.prototype.reason="";St.prototype.message="";St.prototype.stack="";St.prototype.column=void 0;St.prototype.line=void 0;St.prototype.ancestors=void 0;St.prototype.cause=void 0;St.prototype.fatal=void 0;St.prototype.place=void 0;St.prototype.ruleId=void 0;St.prototype.source=void 0;const Bc={}.hasOwnProperty,hF=new Map,EF=/[A-Z]/g,pF=new Set(["table","tbody","thead","tfoot","tr"]),mF=new Set(["td","th"]),U2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function CF(e,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let i;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=kF(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=vF(a,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Cc:lF,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},s=H2(o,e,void 0);return s&&typeof s!="string"?s:o.create(e,o.Fragment,{children:s||void 0},void 0)}function H2(e,r,a){if(r.type==="element")return yF(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return BF(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return AF(e,r,a);if(r.type==="mdxjsEsm")return gF(e,r);if(r.type==="root")return DF(e,r,a);if(r.type==="text")return FF(e,r)}function yF(e,r,a){const i=e.schema;let o=i;r.tagName.toLowerCase()==="svg"&&i.space==="html"&&(o=Cc,e.schema=o),e.ancestors.push(r);const s=V2(e,r.tagName,!1),u=bF(e,r);let d=Ac(e,r);return pF.has(r.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!XD(f):!0})),q2(e,u,s,r),gc(u,d),e.ancestors.pop(),e.schema=i,e.create(r,s,u,a)}function BF(e,r){if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}Al(e,r.position)}function gF(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);Al(e,r.position)}function AF(e,r,a){const i=e.schema;let o=i;r.name==="svg"&&i.space==="html"&&(o=Cc,e.schema=o),e.ancestors.push(r);const s=r.name===null?e.Fragment:V2(e,r.name,!0),u=wF(e,r),d=Ac(e,r);return q2(e,u,s,r),gc(u,d),e.ancestors.pop(),e.schema=i,e.create(r,s,u,a)}function DF(e,r,a){const i={};return gc(i,Ac(e,r)),e.create(r,e.Fragment,i,a)}function FF(e,r){return r.value}function q2(e,r,a,i){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(r.node=i)}function gc(e,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(e.children=a)}}function vF(e,r,a){return i;function i(o,s,u,d){const h=Array.isArray(u.children)?a:r;return d?h(s,u,d):h(s,u)}}function kF(e,r){return a;function a(i,o,s,u){const d=Array.isArray(s.children),f=yc(i);return r(o,s,u,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function bF(e,r){const a={};let i,o;for(o in r.properties)if(o!=="children"&&Bc.call(r.properties,o)){const s=SF(e,o,r.properties[o]);if(s){const[u,d]=s;e.tableCellAlignToStyle&&u==="align"&&typeof d=="string"&&mF.has(r.tagName)?i=d:a[u]=d}}if(i){const s=a.style||(a.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function wF(e,r){const a={};for(const i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const s=i.data.estree.body[0];s.type;const u=s.expression;u.type;const d=u.properties[0];d.type,Object.assign(a,e.evaluater.evaluateExpression(d.argument))}else Al(e,r.position);else{const o=i.name;let s;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const d=i.value.data.estree.body[0];d.type,s=e.evaluater.evaluateExpression(d.expression)}else Al(e,r.position);else s=i.value===null?!0:i.value;a[o]=s}return a}function Ac(e,r){const a=[];let i=-1;const o=e.passKeys?new Map:hF;for(;++i<r.children.length;){const s=r.children[i];let u;if(e.passKeys){const f=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(f){const h=o.get(f)||0;u=f+"-"+h,o.set(f,h+1)}}const d=H2(e,s,u);d!==void 0&&a.push(d)}return a}function SF(e,r,a){const i=nF(e.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=i.commaSeparated?QD(a):iF(a)),i.property==="style"){let o=typeof a=="object"?a:MF(e,String(a));return e.stylePropertyNameCase==="css"&&(o=_F(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&i.space?WD[i.property]||i.property:i.attribute,a]}}function MF(e,r){try{return fF(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const i=a,o=new St("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=U2+"#cannot-parse-style-attribute",o}}function V2(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let s=-1,u;for(;++s<o.length;){const d=D8(o[s])?{type:"Identifier",name:o[s]}:{type:"Literal",value:o[s]};u=u?{type:"MemberExpression",object:u,property:d,computed:!!(s&&d.type==="Literal"),optional:!1}:d}i=u}else i=D8(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){const o=i.value;return Bc.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(i);Al(e)}function Al(e,r){const a=new St("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=U2+"#cannot-handle-mdx-estrees-without-createevaluater",a}function _F(e){const r={};let a;for(a in e)Bc.call(e,a)&&(r[zF(a)]=e[a]);return r}function zF(e){let r=e.replace(EF,TF);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function TF(e){return"-"+e.toLowerCase()}const fu={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},NF={};function Dc(e,r){const a=NF,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,o=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Q2(e,i,o)}function Q2(e,r,a){if(RF(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return T8(e.children,r,a)}return Array.isArray(e)?T8(e,r,a):""}function T8(e,r,a){const i=[];let o=-1;for(;++o<e.length;)i[o]=Q2(e[o],r,a);return i.join("")}function RF(e){return!!(e&&typeof e=="object")}const N8=document.createElement("i");function Fc(e){const r="&"+e+";";N8.innerHTML=r;const a=N8.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===r?!1:a}function an(e,r,a,i){const o=e.length;let s=0,u;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,a=a>0?a:0,i.length<1e4)u=Array.from(i),u.unshift(r,a),e.splice(...u);else for(a&&e.splice(r,a);s<i.length;)u=i.slice(s,s+1e4),u.unshift(r,0),e.splice(...u),s+=1e4,r+=1e4}function Bn(e,r){return e.length>0?(an(e,e.length,0,r),e):r}const R8={}.hasOwnProperty;function G2(e){const r={};let a=-1;for(;++a<e.length;)OF(r,e[a]);return r}function OF(e,r){let a;for(a in r){const o=(R8.call(e,a)?e[a]:void 0)||(e[a]={}),s=r[a];let u;if(s)for(u in s){R8.call(o,u)||(o[u]=[]);const d=s[u];jF(o[u],Array.isArray(d)?d:d?[d]:[])}}}function jF(e,r){let a=-1;const i=[];for(;++a<r.length;)(r[a].add==="after"?e:i).push(r[a]);an(e,0,0,i)}function I2(e,r){const a=Number.parseInt(e,r);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function wn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Tt=L0(/[A-Za-z]/),wt=L0(/[\dA-Za-z]/),LF=L0(/[#-'*+\--9=?A-Z^-~]/);function Ex(e){return e!==null&&(e<32||e===127)}const Gu=L0(/\d/),PF=L0(/[\dA-Fa-f]/),UF=L0(/[!-/:-@[-`{-~]/);function Be(e){return e!==null&&e<-2}function Ze(e){return e!==null&&(e<0||e===32)}function _e(e){return e===-2||e===-1||e===32}const Sx=L0(new RegExp("\\p{P}|\\p{S}","u")),or=L0(/\s/);function L0(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function xa(e){const r=[];let a=-1,i=0,o=0;for(;++a<e.length;){const s=e.charCodeAt(a);let u="";if(s===37&&wt(e.charCodeAt(a+1))&&wt(e.charCodeAt(a+2)))o=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(u=String.fromCharCode(s));else if(s>55295&&s<57344){const d=e.charCodeAt(a+1);s<56320&&d>56319&&d<57344?(u=String.fromCharCode(s,d),o=1):u="�"}else u=String.fromCharCode(s);u&&(r.push(e.slice(i,a),encodeURIComponent(u)),i=a+o+1,u=""),o&&(a+=o,o=0)}return r.join("")+e.slice(i)}function Oe(e,r,a,i){const o=i?i-1:Number.POSITIVE_INFINITY;let s=0;return u;function u(f){return _e(f)?(e.enter(a),d(f)):r(f)}function d(f){return _e(f)&&s++<o?(e.consume(f),d):(e.exit(a),r(f))}}const HF={tokenize:qF};function qF(e){const r=e.attempt(this.parser.constructs.contentInitial,i,o);let a;return r;function i(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Oe(e,r,"linePrefix")}function o(d){return e.enter("paragraph"),s(d)}function s(d){const f=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=f),a=f,u(d)}function u(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Be(d)?(e.consume(d),e.exit("chunkText"),s):(e.consume(d),u)}}const VF={tokenize:QF},O8={tokenize:GF};function QF(e){const r=this,a=[];let i=0,o,s,u;return d;function d(M){if(i<a.length){const T=a[i];return r.containerState=T[1],e.attempt(T[0].continuation,f,h)(M)}return h(M)}function f(M){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&R();const T=r.events.length;let N=T,S;for(;N--;)if(r.events[N][0]==="exit"&&r.events[N][1].type==="chunkFlow"){S=r.events[N][1].end;break}v(i);let _=T;for(;_<r.events.length;)r.events[_][1].end={...S},_++;return an(r.events,N+1,0,r.events.slice(T)),r.events.length=_,h(M)}return d(M)}function h(M){if(i===a.length){if(!o)return C(M);if(o.currentConstruct&&o.currentConstruct.concrete)return g(M);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(O8,m,E)(M)}function m(M){return o&&R(),v(i),C(M)}function E(M){return r.parser.lazy[r.now().line]=i!==a.length,u=r.now().offset,g(M)}function C(M){return r.containerState={},e.attempt(O8,y,g)(M)}function y(M){return i++,a.push([r.currentConstruct,r.containerState]),C(M)}function g(M){if(M===null){o&&R(),v(0),e.consume(M);return}return o=o||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:s}),A(M)}function A(M){if(M===null){F(e.exit("chunkFlow"),!0),v(0),e.consume(M);return}return Be(M)?(e.consume(M),F(e.exit("chunkFlow")),i=0,r.interrupt=void 0,d):(e.consume(M),A)}function F(M,T){const N=r.sliceStream(M);if(T&&N.push(null),M.previous=s,s&&(s.next=M),s=M,o.defineSkip(M.start),o.write(N),r.parser.lazy[M.start.line]){let S=o.events.length;for(;S--;)if(o.events[S][1].start.offset<u&&(!o.events[S][1].end||o.events[S][1].end.offset>u))return;const _=r.events.length;let j=_,I,P;for(;j--;)if(r.events[j][0]==="exit"&&r.events[j][1].type==="chunkFlow"){if(I){P=r.events[j][1].end;break}I=!0}for(v(i),S=_;S<r.events.length;)r.events[S][1].end={...P},S++;an(r.events,j+1,0,r.events.slice(_)),r.events.length=S}}function v(M){let T=a.length;for(;T-- >M;){const N=a[T];r.containerState=N[1],N[0].exit.call(r,e)}a.length=M}function R(){o.write([null]),s=void 0,o=void 0,r.containerState._closeFlow=void 0}}function GF(e,r,a){return Oe(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ta(e){if(e===null||Ze(e)||or(e))return 1;if(Sx(e))return 2}function Mx(e,r,a){const i=[];let o=-1;for(;++o<e.length;){const s=e[o].resolveAll;s&&!i.includes(s)&&(r=s(r,a),i.push(s))}return r}const Iu={name:"attention",resolveAll:IF,tokenize:$F};function IF(e,r){let a=-1,i,o,s,u,d,f,h,m;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(i=a;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;f=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const E={...e[i][1].end},C={...e[a][1].start};j8(E,-f),j8(C,f),u={type:f>1?"strongSequence":"emphasisSequence",start:E,end:{...e[i][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:C},s={type:f>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},o={type:f>1?"strong":"emphasis",start:{...u.start},end:{...d.end}},e[i][1].end={...u.start},e[a][1].start={...d.end},h=[],e[i][1].end.offset-e[i][1].start.offset&&(h=Bn(h,[["enter",e[i][1],r],["exit",e[i][1],r]])),h=Bn(h,[["enter",o,r],["enter",u,r],["exit",u,r],["enter",s,r]]),h=Bn(h,Mx(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),h=Bn(h,[["exit",s,r],["enter",d,r],["exit",d,r],["exit",o,r]]),e[a][1].end.offset-e[a][1].start.offset?(m=2,h=Bn(h,[["enter",e[a][1],r],["exit",e[a][1],r]])):m=0,an(e,i-1,a-i+3,h),a=i+h.length-m-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function $F(e,r){const a=this.parser.constructs.attentionMarkers.null,i=this.previous,o=ta(i);let s;return u;function u(f){return s=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===s)return e.consume(f),d;const h=e.exit("attentionSequence"),m=ta(f),E=!m||m===2&&o||a.includes(f),C=!o||o===2&&m||a.includes(i);return h._open=!!(s===42?E:E&&(o||!C)),h._close=!!(s===42?C:C&&(m||!E)),r(f)}}function j8(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}const YF={name:"autolink",tokenize:XF};function XF(e,r,a){let i=0;return o;function o(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(y){return Tt(y)?(e.consume(y),u):y===64?a(y):h(y)}function u(y){return y===43||y===45||y===46||wt(y)?(i=1,d(y)):h(y)}function d(y){return y===58?(e.consume(y),i=0,f):(y===43||y===45||y===46||wt(y))&&i++<32?(e.consume(y),d):(i=0,h(y))}function f(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r):y===null||y===32||y===60||Ex(y)?a(y):(e.consume(y),f)}function h(y){return y===64?(e.consume(y),m):LF(y)?(e.consume(y),h):a(y)}function m(y){return wt(y)?E(y):a(y)}function E(y){return y===46?(e.consume(y),i=0,m):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r):C(y)}function C(y){if((y===45||wt(y))&&i++<63){const g=y===45?C:E;return e.consume(y),g}return a(y)}}const Ml={partial:!0,tokenize:ZF};function ZF(e,r,a){return i;function i(s){return _e(s)?Oe(e,o,"linePrefix")(s):o(s)}function o(s){return s===null||Be(s)?r(s):a(s)}}const $2={continuation:{tokenize:JF},exit:WF,name:"blockQuote",tokenize:KF};function KF(e,r,a){const i=this;return o;function o(u){if(u===62){const d=i.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),s}return a(u)}function s(u){return _e(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r):(e.exit("blockQuotePrefix"),r(u))}}function JF(e,r,a){const i=this;return o;function o(u){return _e(u)?Oe(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):s(u)}function s(u){return e.attempt($2,r,a)(u)}}function WF(e){e.exit("blockQuote")}const Y2={name:"characterEscape",tokenize:ev};function ev(e,r,a){return i;function i(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),o}function o(s){return UF(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),r):a(s)}}const X2={name:"characterReference",tokenize:tv};function tv(e,r,a){const i=this;let o=0,s,u;return d;function d(E){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(E),e.exit("characterReferenceMarker"),f}function f(E){return E===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(E),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),s=31,u=wt,m(E))}function h(E){return E===88||E===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(E),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,u=PF,m):(e.enter("characterReferenceValue"),s=7,u=Gu,m(E))}function m(E){if(E===59&&o){const C=e.exit("characterReferenceValue");return u===wt&&!Fc(i.sliceSerialize(C))?a(E):(e.enter("characterReferenceMarker"),e.consume(E),e.exit("characterReferenceMarker"),e.exit("characterReference"),r)}return u(E)&&o++<s?(e.consume(E),m):a(E)}}const L8={partial:!0,tokenize:rv},P8={concrete:!0,name:"codeFenced",tokenize:nv};function nv(e,r,a){const i=this,o={partial:!0,tokenize:N};let s=0,u=0,d;return f;function f(S){return h(S)}function h(S){const _=i.events[i.events.length-1];return s=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,d=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(S)}function m(S){return S===d?(u++,e.consume(S),m):u<3?a(S):(e.exit("codeFencedFenceSequence"),_e(S)?Oe(e,E,"whitespace")(S):E(S))}function E(S){return S===null||Be(S)?(e.exit("codeFencedFence"),i.interrupt?r(S):e.check(L8,A,T)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),C(S))}function C(S){return S===null||Be(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),E(S)):_e(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Oe(e,y,"whitespace")(S)):S===96&&S===d?a(S):(e.consume(S),C)}function y(S){return S===null||Be(S)?E(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||Be(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),E(S)):S===96&&S===d?a(S):(e.consume(S),g)}function A(S){return e.attempt(o,T,F)(S)}function F(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),v}function v(S){return s>0&&_e(S)?Oe(e,R,"linePrefix",s+1)(S):R(S)}function R(S){return S===null||Be(S)?e.check(L8,A,T)(S):(e.enter("codeFlowValue"),M(S))}function M(S){return S===null||Be(S)?(e.exit("codeFlowValue"),R(S)):(e.consume(S),M)}function T(S){return e.exit("codeFenced"),r(S)}function N(S,_,j){let I=0;return P;function P(X){return S.enter("lineEnding"),S.consume(X),S.exit("lineEnding"),J}function J(X){return S.enter("codeFencedFence"),_e(X)?Oe(S,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):K(X)}function K(X){return X===d?(S.enter("codeFencedFenceSequence"),ie(X)):j(X)}function ie(X){return X===d?(I++,S.consume(X),ie):I>=u?(S.exit("codeFencedFenceSequence"),_e(X)?Oe(S,ae,"whitespace")(X):ae(X)):j(X)}function ae(X){return X===null||Be(X)?(S.exit("codeFencedFence"),_(X)):j(X)}}}function rv(e,r,a){const i=this;return o;function o(u){return u===null?a(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s)}function s(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}const du={name:"codeIndented",tokenize:lv},av={partial:!0,tokenize:iv};function lv(e,r,a){const i=this;return o;function o(h){return e.enter("codeIndented"),Oe(e,s,"linePrefix",5)(h)}function s(h){const m=i.events[i.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?u(h):a(h)}function u(h){return h===null?f(h):Be(h)?e.attempt(av,u,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Be(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),r(h)}}function iv(e,r,a){const i=this;return o;function o(u){return i.parser.lazy[i.now().line]?a(u):Be(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):Oe(e,s,"linePrefix",5)(u)}function s(u){const d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?r(u):Be(u)?o(u):a(u)}}const xv={name:"codeText",previous:sv,resolve:ov,tokenize:uv};function ov(e){let r=e.length-4,a=3,i,o;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(i=a;++i<r;)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(i=a-1,r++;++i<=r;)o===void 0?i!==r&&e[i][1].type!=="lineEnding"&&(o=i):(i===r||e[i][1].type==="lineEnding")&&(e[o][1].type="codeTextData",i!==o+2&&(e[o][1].end=e[i-1][1].end,e.splice(o+2,i-o-2),r-=i-o-2,i=o+2),o=void 0);return e}function sv(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function uv(e,r,a){let i=0,o,s;return u;function u(E){return e.enter("codeText"),e.enter("codeTextSequence"),d(E)}function d(E){return E===96?(e.consume(E),i++,d):(e.exit("codeTextSequence"),f(E))}function f(E){return E===null?a(E):E===32?(e.enter("space"),e.consume(E),e.exit("space"),f):E===96?(s=e.enter("codeTextSequence"),o=0,m(E)):Be(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(E))}function h(E){return E===null||E===32||E===96||Be(E)?(e.exit("codeTextData"),f(E)):(e.consume(E),h)}function m(E){return E===96?(e.consume(E),o++,m):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),r(E)):(s.type="codeTextData",h(E))}}class cv{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const i=a??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(r,i):r>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(r,a,i){const o=a||0;this.setCursor(Math.trunc(r));const s=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return i&&ll(this.left,i),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),ll(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),ll(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);ll(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);ll(this.left,a.reverse())}}}function ll(e,r){let a=0;if(r.length<1e4)e.push(...r);else for(;a<r.length;)e.push(...r.slice(a,a+1e4)),a+=1e4}function Z2(e){const r={};let a=-1,i,o,s,u,d,f,h;const m=new cv(e);for(;++a<m.length;){for(;a in r;)a=r[a];if(i=m.get(a),a&&i[1].type==="chunkFlow"&&m.get(a-1)[1].type==="listItemPrefix"&&(f=i[1]._tokenizer.events,s=0,s<f.length&&f[s][1].type==="lineEndingBlank"&&(s+=2),s<f.length&&f[s][1].type==="content"))for(;++s<f.length&&f[s][1].type!=="content";)f[s][1].type==="chunkText"&&(f[s][1]._isInFirstContentOfListItem=!0,s++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,fv(m,a)),a=r[a],h=!0);else if(i[1]._container){for(s=a,o=void 0;s--;)if(u=m.get(s),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(o&&(m.get(o)[1].type="lineEndingBlank"),u[1].type="lineEnding",o=s);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;o&&(i[1].end={...m.get(o)[1].start},d=m.slice(o,a),d.unshift(i),m.splice(o,a-o+1,d))}}return an(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!h}function fv(e,r){const a=e.get(r)[1],i=e.get(r)[2];let o=r-1;const s=[];let u=a._tokenizer;u||(u=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const d=u.events,f=[],h={};let m,E,C=-1,y=a,g=0,A=0;const F=[A];for(;y;){for(;e.get(++o)[1]!==y;);s.push(o),y._tokenizer||(m=i.sliceStream(y),y.next||m.push(null),E&&u.defineSkip(y.start),y._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(m),y._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),E=y,y=y.next}for(y=a;++C<d.length;)d[C][0]==="exit"&&d[C-1][0]==="enter"&&d[C][1].type===d[C-1][1].type&&d[C][1].start.line!==d[C][1].end.line&&(A=C+1,F.push(A),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(u.events=[],y?(y._tokenizer=void 0,y.previous=void 0):F.pop(),C=F.length;C--;){const v=d.slice(F[C],F[C+1]),R=s.pop();f.push([R,R+v.length-1]),e.splice(R,2,v)}for(f.reverse(),C=-1;++C<f.length;)h[g+f[C][0]]=g+f[C][1],g+=f[C][1]-f[C][0]-1;return h}const dv={resolve:Ev,tokenize:pv},hv={partial:!0,tokenize:mv};function Ev(e){return Z2(e),e}function pv(e,r){let a;return i;function i(d){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),o(d)}function o(d){return d===null?s(d):Be(d)?e.check(hv,u,s)(d):(e.consume(d),o)}function s(d){return e.exit("chunkContent"),e.exit("content"),r(d)}function u(d){return e.consume(d),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,o}}function mv(e,r,a){const i=this;return o;function o(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Oe(e,s,"linePrefix")}function s(u){if(u===null||Be(u))return a(u);const d=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?r(u):e.interrupt(i.parser.constructs.flow,a,r)(u)}}function K2(e,r,a,i,o,s,u,d,f){const h=f||Number.POSITIVE_INFINITY;let m=0;return E;function E(v){return v===60?(e.enter(i),e.enter(o),e.enter(s),e.consume(v),e.exit(s),C):v===null||v===32||v===41||Ex(v)?a(v):(e.enter(i),e.enter(u),e.enter(d),e.enter("chunkString",{contentType:"string"}),A(v))}function C(v){return v===62?(e.enter(s),e.consume(v),e.exit(s),e.exit(o),e.exit(i),r):(e.enter(d),e.enter("chunkString",{contentType:"string"}),y(v))}function y(v){return v===62?(e.exit("chunkString"),e.exit(d),C(v)):v===null||v===60||Be(v)?a(v):(e.consume(v),v===92?g:y)}function g(v){return v===60||v===62||v===92?(e.consume(v),y):y(v)}function A(v){return!m&&(v===null||v===41||Ze(v))?(e.exit("chunkString"),e.exit(d),e.exit(u),e.exit(i),r(v)):m<h&&v===40?(e.consume(v),m++,A):v===41?(e.consume(v),m--,A):v===null||v===32||v===40||Ex(v)?a(v):(e.consume(v),v===92?F:A)}function F(v){return v===40||v===41||v===92?(e.consume(v),A):A(v)}}function J2(e,r,a,i,o,s){const u=this;let d=0,f;return h;function h(y){return e.enter(i),e.enter(o),e.consume(y),e.exit(o),e.enter(s),m}function m(y){return d>999||y===null||y===91||y===93&&!f||y===94&&!d&&"_hiddenFootnoteSupport"in u.parser.constructs?a(y):y===93?(e.exit(s),e.enter(o),e.consume(y),e.exit(o),e.exit(i),r):Be(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),E(y))}function E(y){return y===null||y===91||y===93||Be(y)||d++>999?(e.exit("chunkString"),m(y)):(e.consume(y),f||(f=!_e(y)),y===92?C:E)}function C(y){return y===91||y===92||y===93?(e.consume(y),d++,E):E(y)}}function W2(e,r,a,i,o,s){let u;return d;function d(C){return C===34||C===39||C===40?(e.enter(i),e.enter(o),e.consume(C),e.exit(o),u=C===40?41:C,f):a(C)}function f(C){return C===u?(e.enter(o),e.consume(C),e.exit(o),e.exit(i),r):(e.enter(s),h(C))}function h(C){return C===u?(e.exit(s),f(u)):C===null?a(C):Be(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Oe(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===u||C===null||Be(C)?(e.exit("chunkString"),h(C)):(e.consume(C),C===92?E:m)}function E(C){return C===u||C===92?(e.consume(C),m):m(C)}}function cl(e,r){let a;return i;function i(o){return Be(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a=!0,i):_e(o)?Oe(e,i,a?"linePrefix":"lineSuffix")(o):r(o)}}const Cv={name:"definition",tokenize:Bv},yv={partial:!0,tokenize:gv};function Bv(e,r,a){const i=this;let o;return s;function s(y){return e.enter("definition"),u(y)}function u(y){return J2.call(i,e,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function d(y){return o=wn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),f):a(y)}function f(y){return Ze(y)?cl(e,h)(y):h(y)}function h(y){return K2(e,m,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function m(y){return e.attempt(yv,E,E)(y)}function E(y){return _e(y)?Oe(e,C,"whitespace")(y):C(y)}function C(y){return y===null||Be(y)?(e.exit("definition"),i.parser.defined.push(o),r(y)):a(y)}}function gv(e,r,a){return i;function i(d){return Ze(d)?cl(e,o)(d):a(d)}function o(d){return W2(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function s(d){return _e(d)?Oe(e,u,"whitespace")(d):u(d)}function u(d){return d===null||Be(d)?r(d):a(d)}}const Av={name:"hardBreakEscape",tokenize:Dv};function Dv(e,r,a){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),o}function o(s){return Be(s)?(e.exit("hardBreakEscape"),r(s)):a(s)}}const Fv={name:"headingAtx",resolve:vv,tokenize:kv};function vv(e,r){let a=e.length-2,i=3,o,s;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(o={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},s={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},an(e,i,a-i+1,[["enter",o,r],["enter",s,r],["exit",s,r],["exit",o,r]])),e}function kv(e,r,a){let i=0;return o;function o(m){return e.enter("atxHeading"),s(m)}function s(m){return e.enter("atxHeadingSequence"),u(m)}function u(m){return m===35&&i++<6?(e.consume(m),u):m===null||Ze(m)?(e.exit("atxHeadingSequence"),d(m)):a(m)}function d(m){return m===35?(e.enter("atxHeadingSequence"),f(m)):m===null||Be(m)?(e.exit("atxHeading"),r(m)):_e(m)?Oe(e,d,"whitespace")(m):(e.enter("atxHeadingText"),h(m))}function f(m){return m===35?(e.consume(m),f):(e.exit("atxHeadingSequence"),d(m))}function h(m){return m===null||m===35||Ze(m)?(e.exit("atxHeadingText"),d(m)):(e.consume(m),h)}}const bv=["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"],U8=["pre","script","style","textarea"],wv={concrete:!0,name:"htmlFlow",resolveTo:_v,tokenize:zv},Sv={partial:!0,tokenize:Nv},Mv={partial:!0,tokenize:Tv};function _v(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function zv(e,r,a){const i=this;let o,s,u,d,f;return h;function h(w){return m(w)}function m(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),E}function E(w){return w===33?(e.consume(w),C):w===47?(e.consume(w),s=!0,A):w===63?(e.consume(w),o=3,i.interrupt?r:b):Tt(w)?(e.consume(w),u=String.fromCharCode(w),F):a(w)}function C(w){return w===45?(e.consume(w),o=2,y):w===91?(e.consume(w),o=5,d=0,g):Tt(w)?(e.consume(w),o=4,i.interrupt?r:b):a(w)}function y(w){return w===45?(e.consume(w),i.interrupt?r:b):a(w)}function g(w){const re="CDATA[";return w===re.charCodeAt(d++)?(e.consume(w),d===re.length?i.interrupt?r:K:g):a(w)}function A(w){return Tt(w)?(e.consume(w),u=String.fromCharCode(w),F):a(w)}function F(w){if(w===null||w===47||w===62||Ze(w)){const re=w===47,ce=u.toLowerCase();return!re&&!s&&U8.includes(ce)?(o=1,i.interrupt?r(w):K(w)):bv.includes(u.toLowerCase())?(o=6,re?(e.consume(w),v):i.interrupt?r(w):K(w)):(o=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(w):s?R(w):M(w))}return w===45||wt(w)?(e.consume(w),u+=String.fromCharCode(w),F):a(w)}function v(w){return w===62?(e.consume(w),i.interrupt?r:K):a(w)}function R(w){return _e(w)?(e.consume(w),R):P(w)}function M(w){return w===47?(e.consume(w),P):w===58||w===95||Tt(w)?(e.consume(w),T):_e(w)?(e.consume(w),M):P(w)}function T(w){return w===45||w===46||w===58||w===95||wt(w)?(e.consume(w),T):N(w)}function N(w){return w===61?(e.consume(w),S):_e(w)?(e.consume(w),N):M(w)}function S(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(e.consume(w),f=w,_):_e(w)?(e.consume(w),S):j(w)}function _(w){return w===f?(e.consume(w),f=null,I):w===null||Be(w)?a(w):(e.consume(w),_)}function j(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||Ze(w)?N(w):(e.consume(w),j)}function I(w){return w===47||w===62||_e(w)?M(w):a(w)}function P(w){return w===62?(e.consume(w),J):a(w)}function J(w){return w===null||Be(w)?K(w):_e(w)?(e.consume(w),J):a(w)}function K(w){return w===45&&o===2?(e.consume(w),H):w===60&&o===1?(e.consume(w),$):w===62&&o===4?(e.consume(w),z):w===63&&o===3?(e.consume(w),b):w===93&&o===5?(e.consume(w),fe):Be(w)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(Sv,Z,ie)(w)):w===null||Be(w)?(e.exit("htmlFlowData"),ie(w)):(e.consume(w),K)}function ie(w){return e.check(Mv,ae,Z)(w)}function ae(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),X}function X(w){return w===null||Be(w)?ie(w):(e.enter("htmlFlowData"),K(w))}function H(w){return w===45?(e.consume(w),b):K(w)}function $(w){return w===47?(e.consume(w),u="",xe):K(w)}function xe(w){if(w===62){const re=u.toLowerCase();return U8.includes(re)?(e.consume(w),z):K(w)}return Tt(w)&&u.length<8?(e.consume(w),u+=String.fromCharCode(w),xe):K(w)}function fe(w){return w===93?(e.consume(w),b):K(w)}function b(w){return w===62?(e.consume(w),z):w===45&&o===2?(e.consume(w),b):K(w)}function z(w){return w===null||Be(w)?(e.exit("htmlFlowData"),Z(w)):(e.consume(w),z)}function Z(w){return e.exit("htmlFlow"),r(w)}}function Tv(e,r,a){const i=this;return o;function o(u){return Be(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):a(u)}function s(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}function Nv(e,r,a){return i;function i(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Ml,r,a)}}const Rv={name:"htmlText",tokenize:Ov};function Ov(e,r,a){const i=this;let o,s,u;return d;function d(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),f}function f(b){return b===33?(e.consume(b),h):b===47?(e.consume(b),N):b===63?(e.consume(b),M):Tt(b)?(e.consume(b),j):a(b)}function h(b){return b===45?(e.consume(b),m):b===91?(e.consume(b),s=0,g):Tt(b)?(e.consume(b),R):a(b)}function m(b){return b===45?(e.consume(b),y):a(b)}function E(b){return b===null?a(b):b===45?(e.consume(b),C):Be(b)?(u=E,$(b)):(e.consume(b),E)}function C(b){return b===45?(e.consume(b),y):E(b)}function y(b){return b===62?H(b):b===45?C(b):E(b)}function g(b){const z="CDATA[";return b===z.charCodeAt(s++)?(e.consume(b),s===z.length?A:g):a(b)}function A(b){return b===null?a(b):b===93?(e.consume(b),F):Be(b)?(u=A,$(b)):(e.consume(b),A)}function F(b){return b===93?(e.consume(b),v):A(b)}function v(b){return b===62?H(b):b===93?(e.consume(b),v):A(b)}function R(b){return b===null||b===62?H(b):Be(b)?(u=R,$(b)):(e.consume(b),R)}function M(b){return b===null?a(b):b===63?(e.consume(b),T):Be(b)?(u=M,$(b)):(e.consume(b),M)}function T(b){return b===62?H(b):M(b)}function N(b){return Tt(b)?(e.consume(b),S):a(b)}function S(b){return b===45||wt(b)?(e.consume(b),S):_(b)}function _(b){return Be(b)?(u=_,$(b)):_e(b)?(e.consume(b),_):H(b)}function j(b){return b===45||wt(b)?(e.consume(b),j):b===47||b===62||Ze(b)?I(b):a(b)}function I(b){return b===47?(e.consume(b),H):b===58||b===95||Tt(b)?(e.consume(b),P):Be(b)?(u=I,$(b)):_e(b)?(e.consume(b),I):H(b)}function P(b){return b===45||b===46||b===58||b===95||wt(b)?(e.consume(b),P):J(b)}function J(b){return b===61?(e.consume(b),K):Be(b)?(u=J,$(b)):_e(b)?(e.consume(b),J):I(b)}function K(b){return b===null||b===60||b===61||b===62||b===96?a(b):b===34||b===39?(e.consume(b),o=b,ie):Be(b)?(u=K,$(b)):_e(b)?(e.consume(b),K):(e.consume(b),ae)}function ie(b){return b===o?(e.consume(b),o=void 0,X):b===null?a(b):Be(b)?(u=ie,$(b)):(e.consume(b),ie)}function ae(b){return b===null||b===34||b===39||b===60||b===61||b===96?a(b):b===47||b===62||Ze(b)?I(b):(e.consume(b),ae)}function X(b){return b===47||b===62||Ze(b)?I(b):a(b)}function H(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),r):a(b)}function $(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),xe}function xe(b){return _e(b)?Oe(e,fe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):fe(b)}function fe(b){return e.enter("htmlTextData"),u(b)}}const vc={name:"labelEnd",resolveAll:Uv,resolveTo:Hv,tokenize:qv},jv={tokenize:Vv},Lv={tokenize:Qv},Pv={tokenize:Gv};function Uv(e){let r=-1;const a=[];for(;++r<e.length;){const i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const o=i.type==="labelImage"?4:2;i.type="data",r+=o}}return e.length!==a.length&&an(e,0,e.length,a),e}function Hv(e,r){let a=e.length,i=0,o,s,u,d;for(;a--;)if(o=e[a][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[a][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(u){if(e[a][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=a,o.type!=="labelLink")){i=2;break}}else o.type==="labelEnd"&&(u=a);const f={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[s][1].start},end:{...e[u][1].end}},m={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[u-2][1].start}};return d=[["enter",f,r],["enter",h,r]],d=Bn(d,e.slice(s+1,s+i+3)),d=Bn(d,[["enter",m,r]]),d=Bn(d,Mx(r.parser.constructs.insideSpan.null,e.slice(s+i+4,u-3),r)),d=Bn(d,[["exit",m,r],e[u-2],e[u-1],["exit",h,r]]),d=Bn(d,e.slice(u+1)),d=Bn(d,[["exit",f,r]]),an(e,s,e.length,d),e}function qv(e,r,a){const i=this;let o=i.events.length,s,u;for(;o--;)if((i.events[o][1].type==="labelImage"||i.events[o][1].type==="labelLink")&&!i.events[o][1]._balanced){s=i.events[o][1];break}return d;function d(C){return s?s._inactive?E(C):(u=i.parser.defined.includes(wn(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(C),e.exit("labelMarker"),e.exit("labelEnd"),f):a(C)}function f(C){return C===40?e.attempt(jv,m,u?m:E)(C):C===91?e.attempt(Lv,m,u?h:E)(C):u?m(C):E(C)}function h(C){return e.attempt(Pv,m,E)(C)}function m(C){return r(C)}function E(C){return s._balanced=!0,a(C)}}function Vv(e,r,a){return i;function i(E){return e.enter("resource"),e.enter("resourceMarker"),e.consume(E),e.exit("resourceMarker"),o}function o(E){return Ze(E)?cl(e,s)(E):s(E)}function s(E){return E===41?m(E):K2(e,u,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(E)}function u(E){return Ze(E)?cl(e,f)(E):m(E)}function d(E){return a(E)}function f(E){return E===34||E===39||E===40?W2(e,h,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(E):m(E)}function h(E){return Ze(E)?cl(e,m)(E):m(E)}function m(E){return E===41?(e.enter("resourceMarker"),e.consume(E),e.exit("resourceMarker"),e.exit("resource"),r):a(E)}}function Qv(e,r,a){const i=this;return o;function o(d){return J2.call(i,e,s,u,"reference","referenceMarker","referenceString")(d)}function s(d){return i.parser.defined.includes(wn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(d):a(d)}function u(d){return a(d)}}function Gv(e,r,a){return i;function i(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),o}function o(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),r):a(s)}}const Iv={name:"labelStartImage",resolveAll:vc.resolveAll,tokenize:$v};function $v(e,r,a){const i=this;return o;function o(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),s}function s(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),u):a(d)}function u(d){return d===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(d):r(d)}}const Yv={name:"labelStartLink",resolveAll:vc.resolveAll,tokenize:Xv};function Xv(e,r,a){const i=this;return o;function o(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),s}function s(u){return u===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(u):r(u)}}const hu={name:"lineEnding",tokenize:Zv};function Zv(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Oe(e,r,"linePrefix")}}const xx={name:"thematicBreak",tokenize:Kv};function Kv(e,r,a){let i=0,o;return s;function s(h){return e.enter("thematicBreak"),u(h)}function u(h){return o=h,d(h)}function d(h){return h===o?(e.enter("thematicBreakSequence"),f(h)):i>=3&&(h===null||Be(h))?(e.exit("thematicBreak"),r(h)):a(h)}function f(h){return h===o?(e.consume(h),i++,f):(e.exit("thematicBreakSequence"),_e(h)?Oe(e,d,"whitespace")(h):d(h))}}const Qt={continuation:{tokenize:tk},exit:rk,name:"list",tokenize:ek},Jv={partial:!0,tokenize:ak},Wv={partial:!0,tokenize:nk};function ek(e,r,a){const i=this,o=i.events[i.events.length-1];let s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,u=0;return d;function d(y){const g=i.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!i.containerState.marker||y===i.containerState.marker:Gu(y)){if(i.containerState.type||(i.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(xx,a,h)(y):h(y);if(!i.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(y)}return a(y)}function f(y){return Gu(y)&&++u<10?(e.consume(y),f):(!i.interrupt||u<2)&&(i.containerState.marker?y===i.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),h(y)):a(y)}function h(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||y,e.check(Ml,i.interrupt?a:m,e.attempt(Jv,C,E))}function m(y){return i.containerState.initialBlankLine=!0,s++,C(y)}function E(y){return _e(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),C):a(y)}function C(y){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(y)}}function tk(e,r,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Ml,o,s);function o(d){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Oe(e,r,"listItemIndent",i.containerState.size+1)(d)}function s(d){return i.containerState.furtherBlankLines||!_e(d)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,u(d)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(Wv,r,u)(d))}function u(d){return i.containerState._closeFlow=!0,i.interrupt=void 0,Oe(e,e.attempt(Qt,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function nk(e,r,a){const i=this;return Oe(e,o,"listItemIndent",i.containerState.size+1);function o(s){const u=i.events[i.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===i.containerState.size?r(s):a(s)}}function rk(e){e.exit(this.containerState.type)}function ak(e,r,a){const i=this;return Oe(e,o,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(s){const u=i.events[i.events.length-1];return!_e(s)&&u&&u[1].type==="listItemPrefixWhitespace"?r(s):a(s)}}const H8={name:"setextUnderline",resolveTo:lk,tokenize:ik};function lk(e,r){let a=e.length,i,o,s;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(o=a)}else e[a][1].type==="content"&&e.splice(a,1),!s&&e[a][1].type==="definition"&&(s=a);const u={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",s?(e.splice(o,0,["enter",u,r]),e.splice(s+1,0,["exit",e[i][1],r]),e[i][1].end={...e[s][1].end}):e[i][1]=u,e.push(["exit",u,r]),e}function ik(e,r,a){const i=this;let o;return s;function s(h){let m=i.events.length,E;for(;m--;)if(i.events[m][1].type!=="lineEnding"&&i.events[m][1].type!=="linePrefix"&&i.events[m][1].type!=="content"){E=i.events[m][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||E)?(e.enter("setextHeadingLine"),o=h,u(h)):a(h)}function u(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===o?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),_e(h)?Oe(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Be(h)?(e.exit("setextHeadingLine"),r(h)):a(h)}}const xk={tokenize:ok};function ok(e){const r=this,a=e.attempt(Ml,i,e.attempt(this.parser.constructs.flowInitial,o,Oe(e,e.attempt(this.parser.constructs.flow,o,e.attempt(dv,o)),"linePrefix")));return a;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function o(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r.currentConstruct=void 0,a}}const sk={resolveAll:t5()},uk=e5("string"),ck=e5("text");function e5(e){return{resolveAll:t5(e==="text"?fk:void 0),tokenize:r};function r(a){const i=this,o=this.parser.constructs[e],s=a.attempt(o,u,d);return u;function u(m){return h(m)?s(m):d(m)}function d(m){if(m===null){a.consume(m);return}return a.enter("data"),a.consume(m),f}function f(m){return h(m)?(a.exit("data"),s(m)):(a.consume(m),f)}function h(m){if(m===null)return!0;const E=o[m];let C=-1;if(E)for(;++C<E.length;){const y=E[C];if(!y.previous||y.previous.call(i,i.previous))return!0}return!1}}}function t5(e){return r;function r(a,i){let o=-1,s;for(;++o<=a.length;)s===void 0?a[o]&&a[o][1].type==="data"&&(s=o,o++):(!a[o]||a[o][1].type!=="data")&&(o!==s+2&&(a[s][1].end=a[o-1][1].end,a.splice(s+2,o-s-2),o=s+2),s=void 0);return e?e(a,i):a}}function fk(e,r){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const i=e[a-1][1],o=r.sliceStream(i);let s=o.length,u=-1,d=0,f;for(;s--;){const h=o[s];if(typeof h=="string"){for(u=h.length;h.charCodeAt(u-1)===32;)d++,u--;if(u)break;u=-1}else if(h===-2)f=!0,d++;else if(h!==-1){s++;break}}if(r._contentTypeTextTrailing&&a===e.length&&(d=0),d){const h={type:a===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?u:i.start._bufferIndex+u,_index:i.start._index+s,line:i.end.line,column:i.end.column-d,offset:i.end.offset-d},end:{...i.end}};i.end={...h.start},i.start.offset===i.end.offset?Object.assign(i,h):(e.splice(a,0,["enter",h,r],["exit",h,r]),a+=2)}a++}return e}const dk={42:Qt,43:Qt,45:Qt,48:Qt,49:Qt,50:Qt,51:Qt,52:Qt,53:Qt,54:Qt,55:Qt,56:Qt,57:Qt,62:$2},hk={91:Cv},Ek={[-2]:du,[-1]:du,32:du},pk={35:Fv,42:xx,45:[H8,xx],60:wv,61:H8,95:xx,96:P8,126:P8},mk={38:X2,92:Y2},Ck={[-5]:hu,[-4]:hu,[-3]:hu,33:Iv,38:X2,42:Iu,60:[YF,Rv],91:Yv,92:[Av,Y2],93:vc,95:Iu,96:xv},yk={null:[Iu,sk]},Bk={null:[42,95]},gk={null:[]},Ak=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Bk,contentInitial:hk,disable:gk,document:dk,flow:pk,flowInitial:Ek,insideSpan:yk,string:mk,text:Ck},Symbol.toStringTag,{value:"Module"}));function Dk(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const o={},s=[];let u=[],d=[];const f={attempt:_(N),check:_(S),consume:R,enter:M,exit:T,interrupt:_(S,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:g,parser:e,previous:null,sliceSerialize:C,sliceStream:y,write:E};let m=r.tokenize.call(h,f);return r.resolveAll&&s.push(r),h;function E(J){return u=Bn(u,J),F(),u[u.length-1]!==null?[]:(j(r,0),h.events=Mx(s,h.events,h),h.events)}function C(J,K){return vk(y(J),K)}function y(J){return Fk(u,J)}function g(){const{_bufferIndex:J,_index:K,line:ie,column:ae,offset:X}=i;return{_bufferIndex:J,_index:K,line:ie,column:ae,offset:X}}function A(J){o[J.line]=J.column,P()}function F(){let J;for(;i._index<u.length;){const K=u[i._index];if(typeof K=="string")for(J=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===J&&i._bufferIndex<K.length;)v(K.charCodeAt(i._bufferIndex));else v(K)}}function v(J){m=m(J)}function R(J){Be(J)?(i.line++,i.column=1,i.offset+=J===-3?2:1,P()):J!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===u[i._index].length&&(i._bufferIndex=-1,i._index++)),h.previous=J}function M(J,K){const ie=K||{};return ie.type=J,ie.start=g(),h.events.push(["enter",ie,h]),d.push(ie),ie}function T(J){const K=d.pop();return K.end=g(),h.events.push(["exit",K,h]),K}function N(J,K){j(J,K.from)}function S(J,K){K.restore()}function _(J,K){return ie;function ie(ae,X,H){let $,xe,fe,b;return Array.isArray(ae)?Z(ae):"tokenize"in ae?Z([ae]):z(ae);function z(se){return me;function me(je){const Ce=je!==null&&se[je],Ct=je!==null&&se.null,at=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Ct)?Ct:Ct?[Ct]:[]];return Z(at)(je)}}function Z(se){return $=se,xe=0,se.length===0?H:w(se[xe])}function w(se){return me;function me(je){return b=I(),fe=se,se.partial||(h.currentConstruct=se),se.name&&h.parser.constructs.disable.null.includes(se.name)?ce():se.tokenize.call(K?Object.assign(Object.create(h),K):h,f,re,ce)(je)}}function re(se){return J(fe,b),X}function ce(se){return b.restore(),++xe<$.length?w($[xe]):H}}}function j(J,K){J.resolveAll&&!s.includes(J)&&s.push(J),J.resolve&&an(h.events,K,h.events.length-K,J.resolve(h.events.slice(K),h)),J.resolveTo&&(h.events=J.resolveTo(h.events,h))}function I(){const J=g(),K=h.previous,ie=h.currentConstruct,ae=h.events.length,X=Array.from(d);return{from:ae,restore:H};function H(){i=J,h.previous=K,h.currentConstruct=ie,h.events.length=ae,d=X,P()}}function P(){i.line in o&&i.column<2&&(i.column=o[i.line],i.offset+=o[i.line]-1)}}function Fk(e,r){const a=r.start._index,i=r.start._bufferIndex,o=r.end._index,s=r.end._bufferIndex;let u;if(a===o)u=[e[a].slice(i,s)];else{if(u=e.slice(a,o),i>-1){const d=u[0];typeof d=="string"?u[0]=d.slice(i):u.shift()}s>0&&u.push(e[o].slice(0,s))}return u}function vk(e,r){let a=-1;const i=[];let o;for(;++a<e.length;){const s=e[a];let u;if(typeof s=="string")u=s;else switch(s){case-5:{u="\r";break}case-4:{u=`
|
|
16
16
|
`;break}case-3:{u=`\r
|
|
@@ -39,5 +39,5 @@ ${s}`:o)},clearDraftIfEqual:(i,o)=>{(r().drafts[i]??"").trim()===o.trim()&&r().s
|
|
|
39
39
|
`))+1))}const u="#".repeat(o),d=a.enter("headingAtx"),f=a.enter("phrasing");s.move(u+" ");let h=a.containerPhrasing(e,{before:"# ",after:`
|
|
40
40
|
`,...s.current()});return/^[\t ]/.test(h)&&(h=Dl(h.charCodeAt(0))+h.slice(1)),h=h?u+" "+h:u,a.options.closeAtx&&(h+=" "+u),f(),d(),h}y5.peek=aS;function y5(e){return e.value||""}function aS(){return"<"}B5.peek=lS;function B5(e,r,a,i){const o=zc(a),s=o==='"'?"Quote":"Apostrophe",u=a.enter("image");let d=a.enter("label");const f=a.createTracker(i);let h=f.move("![");return h+=f.move(a.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=a.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(a.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=a.enter("destinationRaw"),h+=f.move(a.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=a.enter(`title${s}`),h+=f.move(" "+o),h+=f.move(a.safe(e.title,{before:h,after:o,...f.current()})),h+=f.move(o),d()),h+=f.move(")"),u(),h}function lS(){return"!"}g5.peek=iS;function g5(e,r,a,i){const o=e.referenceType,s=a.enter("imageReference");let u=a.enter("label");const d=a.createTracker(i);let f=d.move("![");const h=a.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const m=a.stack;a.stack=[],u=a.enter("reference");const E=a.safe(a.associationId(e),{before:f,after:"]",...d.current()});return u(),a.stack=m,s(),o==="full"||!h||h!==E?f+=d.move(E+"]"):o==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function iS(){return"!"}A5.peek=xS;function A5(e,r,a){let i=e.value||"",o="`",s=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(i);)o+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++s<a.unsafe.length;){const u=a.unsafe[s],d=a.compilePattern(u);let f;if(u.atBreak)for(;f=d.exec(i);){let h=f.index;i.charCodeAt(h)===10&&i.charCodeAt(h-1)===13&&h--,i=i.slice(0,h)+" "+i.slice(f.index+1)}}return o+i+o}function xS(){return"`"}function D5(e,r){const a=Dc(e);return!!(!r.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}F5.peek=oS;function F5(e,r,a,i){const o=zc(a),s=o==='"'?"Quote":"Apostrophe",u=a.createTracker(i);let d,f;if(D5(e,a)){const m=a.stack;a.stack=[],d=a.enter("autolink");let E=u.move("<");return E+=u.move(a.containerPhrasing(e,{before:E,after:">",...u.current()})),E+=u.move(">"),d(),a.stack=m,E}d=a.enter("link"),f=a.enter("label");let h=u.move("[");return h+=u.move(a.containerPhrasing(e,{before:h,after:"](",...u.current()})),h+=u.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(a.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(f=a.enter("destinationRaw"),h+=u.move(a.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),f(),e.title&&(f=a.enter(`title${s}`),h+=u.move(" "+o),h+=u.move(a.safe(e.title,{before:h,after:o,...u.current()})),h+=u.move(o),f()),h+=u.move(")"),d(),h}function oS(e,r,a){return D5(e,a)?"<":"["}v5.peek=sS;function v5(e,r,a,i){const o=e.referenceType,s=a.enter("linkReference");let u=a.enter("label");const d=a.createTracker(i);let f=d.move("[");const h=a.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const m=a.stack;a.stack=[],u=a.enter("reference");const E=a.safe(a.associationId(e),{before:f,after:"]",...d.current()});return u(),a.stack=m,s(),o==="full"||!h||h!==E?f+=d.move(E+"]"):o==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function sS(){return"["}function Tc(e){const r=e.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function uS(e){const r=Tc(e),a=e.options.bulletOther;if(!a)return r==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+a+"`) to be different");return a}function cS(e){const r=e.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function k5(e){const r=e.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function fS(e,r,a,i){const o=a.enter("list"),s=a.bulletCurrent;let u=e.ordered?cS(a):Tc(a);const d=e.ordered?u==="."?")":".":uS(a);let f=r&&a.bulletLastUsed?u===a.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&m&&(!m.children||!m.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(f=!0),k5(a)===u&&m){let E=-1;for(;++E<e.children.length;){const C=e.children[E];if(C&&C.type==="listItem"&&C.children&&C.children[0]&&C.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(u=d),a.bulletCurrent=u;const h=a.containerFlow(e,i);return a.bulletLastUsed=u,a.bulletCurrent=s,o(),h}function dS(e){const r=e.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function hS(e,r,a,i){const o=dS(a);let s=a.bulletCurrent||Tc(a);r&&r.type==="list"&&r.ordered&&(s=(typeof r.start=="number"&&r.start>-1?r.start:1)+(a.options.incrementListMarker===!1?0:r.children.indexOf(e))+s);let u=s.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||e.spread))&&(u=Math.ceil(u/4)*4);const d=a.createTracker(i);d.move(s+" ".repeat(u-s.length)),d.shift(u);const f=a.enter("listItem"),h=a.indentLines(a.containerFlow(e,d.current()),m);return f(),h;function m(E,C,y){return C?(y?"":" ".repeat(u))+E:(y?s:s+" ".repeat(u-s.length))+E}}function ES(e,r,a,i){const o=a.enter("paragraph"),s=a.enter("phrasing"),u=a.containerPhrasing(e,i);return s(),o(),u}const pS=zx(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mS(e,r,a,i){return(e.children.some(function(u){return pS(u)})?a.containerPhrasing:a.containerFlow).call(a,e,i)}function CS(e){const r=e.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}b5.peek=yS;function b5(e,r,a,i){const o=CS(a),s=a.enter("strong"),u=a.createTracker(i),d=u.move(o+o);let f=u.move(a.containerPhrasing(e,{after:o,before:d,...u.current()}));const h=f.charCodeAt(0),m=Cx(i.before.charCodeAt(i.before.length-1),h,o);m.inside&&(f=Dl(h)+f.slice(1));const E=f.charCodeAt(f.length-1),C=Cx(i.after.charCodeAt(0),E,o);C.inside&&(f=f.slice(0,-1)+Dl(E));const y=u.move(o+o);return s(),a.attentionEncodeSurroundingInfo={after:C.outside,before:m.outside},d+f+y}function yS(e,r,a){return a.options.strong||"*"}function BS(e,r,a,i){return a.safe(e.value,i)}function gS(e){const r=e.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function AS(e,r,a){const i=(k5(a)+(a.options.ruleSpaces?" ":"")).repeat(gS(a));return a.options.ruleSpaces?i.slice(0,-1):i}const w5={blockquote:Gw,break:oh,code:Kw,definition:Ww,emphasis:C5,hardBreak:oh,heading:rS,html:y5,image:B5,imageReference:g5,inlineCode:A5,link:F5,linkReference:v5,list:fS,listItem:hS,paragraph:ES,root:mS,strong:b5,text:BS,thematicBreak:AS};function DS(){return{enter:{table:FS,tableData:sh,tableHeader:sh,tableRow:kS},exit:{codeText:bS,table:vS,tableData:ku,tableHeader:ku,tableRow:ku}}}function FS(e){const r=e._align;this.enter({type:"table",align:r.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function vS(e){this.exit(e),this.data.inTable=void 0}function kS(e){this.enter({type:"tableRow",children:[]},e)}function ku(e){this.exit(e)}function sh(e){this.enter({type:"tableCell",children:[]},e)}function bS(e){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,wS));const a=this.stack[this.stack.length-1];a.type,a.value=r,this.exit(e)}function wS(e,r){return r==="|"?r:e}function SS(e){const r=e||{},a=r.tableCellPadding,i=r.tablePipeAlign,o=r.stringLength,s=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
41
41
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:C,table:u,tableCell:f,tableRow:d}};function u(y,g,A,F){return h(m(y,A,F),y.align)}function d(y,g,A,F){const v=E(y,A,F),R=h([v]);return R.slice(0,R.indexOf(`
|
|
42
|
-
`))}function f(y,g,A,F){const v=A.enter("tableCell"),R=A.enter("phrasing"),M=A.containerPhrasing(y,{...F,before:s,after:s});return R(),v(),M}function h(y,g){return Vw(y,{align:g,alignDelimiters:i,padding:a,stringLength:o})}function m(y,g,A){const F=y.children;let v=-1;const R=[],M=g.enter("table");for(;++v<F.length;)R[v]=E(F[v],g,A);return M(),R}function E(y,g,A){const F=y.children;let v=-1;const R=[],M=g.enter("tableRow");for(;++v<F.length;)R[v]=f(F[v],y,g,A);return M(),R}function C(y,g,A){let F=w5.inlineCode(y,g,A);return A.stack.includes("tableCell")&&(F=F.replace(/\|/g,"\\$&")),F}}function MS(){return{exit:{taskListCheckValueChecked:uh,taskListCheckValueUnchecked:uh,paragraph:zS}}}function _S(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:TS}}}function uh(e){const r=this.stack[this.stack.length-2];r.type,r.checked=e.type==="taskListCheckValueChecked"}function zS(e){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const i=a.children[0];if(i&&i.type==="text"){const o=r.children;let s=-1,u;for(;++s<o.length;){const d=o[s];if(d.type==="paragraph"){u=d;break}}u===a&&(i.value=i.value.slice(1),i.value.length===0?a.children.shift():a.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,a.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function TS(e,r,a,i){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=a.createTracker(i);s&&d.move(u);let f=w5.listItem(e,r,a,{...i,...d.current()});return s&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(m){return m+u}}function NS(){return[fw(),Tw(),jw(),DS(),MS()]}function RS(e){return{extensions:[dw(),Nw(e),Lw(),SS(e),_S()]}}const OS={tokenize:qS,partial:!0},S5={tokenize:VS,partial:!0},M5={tokenize:QS,partial:!0},_5={tokenize:GS,partial:!0},jS={tokenize:IS,partial:!0},z5={name:"wwwAutolink",tokenize:US,previous:N5},T5={name:"protocolAutolink",tokenize:HS,previous:R5},x0={name:"emailAutolink",tokenize:PS,previous:O5},Ln={};function LS(){return{text:Ln}}let ar=48;for(;ar<123;)Ln[ar]=x0,ar++,ar===58?ar=65:ar===91&&(ar=97);Ln[43]=x0;Ln[45]=x0;Ln[46]=x0;Ln[95]=x0;Ln[72]=[x0,T5];Ln[104]=[x0,T5];Ln[87]=[x0,z5];Ln[119]=[x0,z5];function PS(e,r,a){const i=this;let o,s;return u;function u(E){return!Ku(E)||!O5.call(i,i.previous)||Nc(i.events)?a(E):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(E))}function d(E){return Ku(E)?(e.consume(E),d):E===64?(e.consume(E),f):a(E)}function f(E){return E===46?e.check(jS,m,h)(E):E===45||E===95||wt(E)?(s=!0,e.consume(E),f):m(E)}function h(E){return e.consume(E),o=!0,f}function m(E){return s&&o&&Tt(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),r(E)):a(E)}}function US(e,r,a){const i=this;return o;function o(u){return u!==87&&u!==119||!N5.call(i,i.previous)||Nc(i.events)?a(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(OS,e.attempt(S5,e.attempt(M5,s),a),a)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),r(u)}}function HS(e,r,a){const i=this;let o="",s=!1;return u;function u(E){return(E===72||E===104)&&R5.call(i,i.previous)&&!Nc(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(E),e.consume(E),d):a(E)}function d(E){if(Tt(E)&&o.length<5)return o+=String.fromCodePoint(E),e.consume(E),d;if(E===58){const C=o.toLowerCase();if(C==="http"||C==="https")return e.consume(E),f}return a(E)}function f(E){return E===47?(e.consume(E),s?h:(s=!0,f)):a(E)}function h(E){return E===null||Ex(E)||Ze(E)||or(E)||Sx(E)?a(E):e.attempt(S5,e.attempt(M5,m),a)(E)}function m(E){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),r(E)}}function qS(e,r,a){let i=0;return o;function o(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),o):u===46&&i===3?(e.consume(u),s):a(u)}function s(u){return u===null?a(u):r(u)}}function VS(e,r,a){let i,o,s;return u;function u(h){return h===46||h===95?e.check(_5,f,d)(h):h===null||Ze(h)||or(h)||h!==45&&Sx(h)?f(h):(s=!0,e.consume(h),u)}function d(h){return h===95?i=!0:(o=i,i=void 0),e.consume(h),u}function f(h){return o||i||!s?a(h):r(h)}}function QS(e,r){let a=0,i=0;return o;function o(u){return u===40?(a++,e.consume(u),o):u===41&&i<a?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(_5,r,s)(u):u===null||Ze(u)||or(u)?r(u):(e.consume(u),o)}function s(u){return u===41&&i++,e.consume(u),o}}function GS(e,r,a){return i;function i(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),i):d===38?(e.consume(d),s):d===93?(e.consume(d),o):d===60||d===null||Ze(d)||or(d)?r(d):a(d)}function o(d){return d===null||d===40||d===91||Ze(d)||or(d)?r(d):i(d)}function s(d){return Tt(d)?u(d):a(d)}function u(d){return d===59?(e.consume(d),i):Tt(d)?(e.consume(d),u):a(d)}}function IS(e,r,a){return i;function i(s){return e.consume(s),o}function o(s){return wt(s)?a(s):r(s)}}function N5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ze(e)}function R5(e){return!Tt(e)}function O5(e){return!(e===47||Ku(e))}function Ku(e){return e===43||e===45||e===46||e===95||wt(e)}function Nc(e){let r=e.length,a=!1;for(;r--;){const i=e[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){a=!0;break}if(i._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const $S={tokenize:tM,partial:!0};function YS(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:JS,continuation:{tokenize:WS},exit:eM}},text:{91:{name:"gfmFootnoteCall",tokenize:KS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:XS,resolveTo:ZS}}}}function XS(e,r,a){const i=this;let o=i.events.length;const s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;o--;){const f=i.events[o][1];if(f.type==="labelImage"){u=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!u||!u._balanced)return a(f);const h=wn(i.sliceSerialize({start:u.end,end:i.now()}));return h.codePointAt(0)!==94||!s.includes(h.slice(1))?a(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),r(f))}}function ZS(e,r){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},d=[e[a+1],e[a+2],["enter",i,r],e[a+3],e[a+4],["enter",o,r],["exit",o,r],["enter",s,r],["enter",u,r],["exit",u,r],["exit",s,r],e[e.length-2],e[e.length-1],["exit",i,r]];return e.splice(a,e.length-a+1,...d),e}function KS(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s=0,u;return d;function d(E){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),f}function f(E){return E!==94?a(E):(e.enter("gfmFootnoteCallMarker"),e.consume(E),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(E){if(s>999||E===93&&!u||E===null||E===91||Ze(E))return a(E);if(E===93){e.exit("chunkString");const C=e.exit("gfmFootnoteCallString");return o.includes(wn(i.sliceSerialize(C)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):a(E)}return Ze(E)||(u=!0),s++,e.consume(E),E===92?m:h}function m(E){return E===91||E===92||E===93?(e.consume(E),s++,h):h(E)}}function JS(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,u=0,d;return f;function f(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):a(g)}function m(g){if(u>999||g===93&&!d||g===null||g===91||Ze(g))return a(g);if(g===93){e.exit("chunkString");const A=e.exit("gfmFootnoteDefinitionLabelString");return s=wn(i.sliceSerialize(A)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),C}return Ze(g)||(d=!0),u++,e.consume(g),g===92?E:m}function E(g){return g===91||g===92||g===93?(e.consume(g),u++,m):m(g)}function C(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),o.includes(s)||o.push(s),Oe(e,y,"gfmFootnoteDefinitionWhitespace")):a(g)}function y(g){return r(g)}}function WS(e,r,a){return e.check(Ml,r,e.attempt($S,r,a))}function eM(e){e.exit("gfmFootnoteDefinition")}function tM(e,r,a){const i=this;return Oe(e,o,"gfmFootnoteDefinitionIndent",5);function o(s){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(s):a(s)}}function nM(e){let a=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:s,resolveAll:o};return a==null&&(a=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function o(u,d){let f=-1;for(;++f<u.length;)if(u[f][0]==="enter"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._close){let h=f;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[f][1].end.offset-u[f][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[f][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[f][1].end)},E={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[f][1].start)},C=[["enter",m,d],["enter",u[h][1],d],["exit",u[h][1],d],["enter",E,d]],y=d.parser.constructs.insideSpan.null;y&&an(C,C.length,0,Mx(y,u.slice(h+1,f),d)),an(C,C.length,0,[["exit",E,d],["enter",u[f][1],d],["exit",u[f][1],d],["exit",m,d]]),an(u,h-1,f-h+3,C),f=h+C.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function s(u,d,f){const h=this.previous,m=this.events;let E=0;return C;function C(g){return h===126&&m[m.length-1][1].type!=="characterEscape"?f(g):(u.enter("strikethroughSequenceTemporary"),y(g))}function y(g){const A=ta(h);if(g===126)return E>1?f(g):(u.consume(g),E++,y);if(E<2&&!a)return f(g);const F=u.exit("strikethroughSequenceTemporary"),v=ta(g);return F._open=!v||v===2&&!!A,F._close=!A||A===2&&!!v,d(g)}}}class rM{constructor(){this.map=[]}add(r,a,i){aM(this,r,a,i)}consume(r){if(this.map.sort(function(s,u){return s[0]-u[0]}),this.map.length===0)return;let a=this.map.length;const i=[];for(;a>0;)a-=1,i.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];i.push(r.slice()),r.length=0;let o=i.pop();for(;o;){for(const s of o)r.push(s);o=i.pop()}this.map.length=0}}function aM(e,r,a,i){let o=0;if(!(a===0&&i.length===0)){for(;o<e.map.length;){if(e.map[o][0]===r){e.map[o][1]+=a,e.map[o][2].push(...i);return}o+=1}e.map.push([r,a,i])}}function lM(e,r){let a=!1;const i=[];for(;r<e.length;){const o=e[r];if(a){if(o[0]==="enter")o[1].type==="tableContent"&&i.push(e[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[r-1][1].type==="tableDelimiterMarker"){const s=i.length-1;i[s]=i[s]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return i}function iM(){return{flow:{null:{name:"table",tokenize:xM,resolveAll:oM}}}}function xM(e,r,a){const i=this;let o=0,s=0,u;return d;function d(P){let J=i.events.length-1;for(;J>-1;){const ae=i.events[J][1].type;if(ae==="lineEnding"||ae==="linePrefix")J--;else break}const K=J>-1?i.events[J][1].type:null,ie=K==="tableHead"||K==="tableRow"?S:f;return ie===S&&i.parser.lazy[i.now().line]?a(P):ie(P)}function f(P){return e.enter("tableHead"),e.enter("tableRow"),h(P)}function h(P){return P===124||(u=!0,s+=1),m(P)}function m(P){return P===null?a(P):Be(P)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),y):a(P):_e(P)?Oe(e,m,"whitespace")(P):(s+=1,u&&(u=!1,o+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),u=!0,m):(e.enter("data"),E(P)))}function E(P){return P===null||P===124||Ze(P)?(e.exit("data"),m(P)):(e.consume(P),P===92?C:E)}function C(P){return P===92||P===124?(e.consume(P),E):E(P)}function y(P){return i.interrupt=!1,i.parser.lazy[i.now().line]?a(P):(e.enter("tableDelimiterRow"),u=!1,_e(P)?Oe(e,g,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):g(P))}function g(P){return P===45||P===58?F(P):P===124?(u=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),A):N(P)}function A(P){return _e(P)?Oe(e,F,"whitespace")(P):F(P)}function F(P){return P===58?(s+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(s+=1,v(P)):P===null||Be(P)?T(P):N(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),R(P)):N(P)}function R(P){return P===45?(e.consume(P),R):P===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(P))}function M(P){return _e(P)?Oe(e,T,"whitespace")(P):T(P)}function T(P){return P===124?g(P):P===null||Be(P)?!u||o!==s?N(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(P)):N(P)}function N(P){return a(P)}function S(P){return e.enter("tableRow"),_(P)}function _(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),_):P===null||Be(P)?(e.exit("tableRow"),r(P)):_e(P)?Oe(e,_,"whitespace")(P):(e.enter("data"),j(P))}function j(P){return P===null||P===124||Ze(P)?(e.exit("data"),_(P)):(e.consume(P),P===92?I:j)}function I(P){return P===92||P===124?(e.consume(P),j):j(P)}}function oM(e,r){let a=-1,i=!0,o=0,s=[0,0,0,0],u=[0,0,0,0],d=!1,f=0,h,m,E;const C=new rM;for(;++a<e.length;){const y=e[a],g=y[1];y[0]==="enter"?g.type==="tableHead"?(d=!1,f!==0&&(ch(C,r,f,h,m),m=void 0,f=0),h={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(a,0,[["enter",h,r]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(i=!0,E=void 0,s=[0,0,0,0],u=[0,a+1,0,0],d&&(d=!1,m={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(a,0,[["enter",m,r]])),o=g.type==="tableDelimiterRow"?2:m?3:1):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(s[1]!==0&&(u[0]=u[1],E=rx(C,r,s,o,void 0,E),s=[0,0,0,0]),u[2]=a)):g.type==="tableCellDivider"&&(i?i=!1:(s[1]!==0&&(u[0]=u[1],E=rx(C,r,s,o,void 0,E)),s=u,u=[s[1],a,0,0])):g.type==="tableHead"?(d=!0,f=a):g.type==="tableRow"||g.type==="tableDelimiterRow"?(f=a,s[1]!==0?(u[0]=u[1],E=rx(C,r,s,o,a,E)):u[1]!==0&&(E=rx(C,r,u,o,a,E)),o=0):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(u[3]=a)}for(f!==0&&ch(C,r,f,h,m),C.consume(r.events),a=-1;++a<r.events.length;){const y=r.events[a];y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=lM(r.events,a))}return e}function rx(e,r,a,i,o,s){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",d="tableContent";a[0]!==0&&(s.end=Object.assign({},ea(r.events,a[0])),e.add(a[0],0,[["exit",s,r]]));const f=ea(r.events,a[1]);if(s={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(a[1],0,[["enter",s,r]]),a[2]!==0){const h=ea(r.events,a[2]),m=ea(r.events,a[3]),E={type:d,start:Object.assign({},h),end:Object.assign({},m)};if(e.add(a[2],0,[["enter",E,r]]),i!==2){const C=r.events[a[2]],y=r.events[a[3]];if(C[1].end=Object.assign({},y[1].end),C[1].type="chunkText",C[1].contentType="text",a[3]>a[2]+1){const g=a[2]+1,A=a[3]-a[2]-1;e.add(g,A,[])}}e.add(a[3]+1,0,[["exit",E,r]])}return o!==void 0&&(s.end=Object.assign({},ea(r.events,o)),e.add(o,0,[["exit",s,r]]),s=void 0),s}function ch(e,r,a,i,o){const s=[],u=ea(r.events,a);o&&(o.end=Object.assign({},u),s.push(["exit",o,r])),i.end=Object.assign({},u),s.push(["exit",i,r]),e.add(a+1,0,s)}function ea(e,r){const a=e[r],i=a[0]==="enter"?"start":"end";return a[1][i]}const sM={name:"tasklistCheck",tokenize:cM};function uM(){return{text:{91:sM}}}function cM(e,r,a){const i=this;return o;function o(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?a(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),s)}function s(f){return Ze(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),u):a(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):a(f)}function d(f){return Be(f)?r(f):_e(f)?e.check({tokenize:fM},r,a)(f):a(f)}}function fM(e,r,a){return Oe(e,i,"whitespace");function i(o){return o===null?a(o):r(o)}}function dM(e){return G2([LS(),YS(),nM(e),iM(),uM()])}const hM={};function EM(e){const r=this,a=e||hM,i=r.data(),o=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);o.push(dM(a)),s.push(NS()),u.push(RS(a))}function dl({children:e}){return D.jsx("div",{className:"md",children:D.jsx(ew,{remarkPlugins:[EM,cw],children:e})})}function pM({sessionId:e,working:r}){const{entries:a,loading:i,error:o}=vA(e),s=Re(A=>A.pending),u=Re(A=>A.removePending),d=dc(),f=L.useRef(null),h=L.useRef(!0),m=new Set(a.filter(A=>A.role==="user").map(A=>A.text.trim())),C=s.filter(A=>A.sessionId===e).filter(A=>!(A.status==="sending"&&m.has(A.text.trim())));L.useEffect(()=>{const A=new Set(a.filter(F=>F.role==="user").map(F=>F.text.trim()));for(const F of s)F.sessionId===e&&F.status==="sending"&&A.has(F.text.trim())&&u(F.id)},[a,s,e,u]);const y=()=>{const A=f.current;A&&(h.current=A.scrollHeight-A.scrollTop-A.clientHeight<120)};if(L.useLayoutEffect(()=>{const A=f.current;A&&h.current&&(A.scrollTop=A.scrollHeight)},[a,C.length,r]),L.useEffect(()=>{h.current=!0},[e]),L.useEffect(()=>{const A=f.current;if(!A)return;const F=new ResizeObserver(()=>{h.current&&(A.scrollTop=A.scrollHeight)});return F.observe(A),()=>F.disconnect()},[]),!e)return D.jsx(bn,{children:"No active session in this workspace."});const g=a.length===0&&C.length===0;return D.jsx("div",{ref:f,onScroll:y,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:i&&g?D.jsx(wl,{label:"Loading transcript…"}):o&&g?D.jsx(bn,{children:o}):g&&!r?D.jsx(bn,{children:"No messages yet."}):D.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[mM(a).map(A=>A.kind==="steps"?D.jsx(CM,{entries:A.entries},A.key):D.jsx(j5,{e:A.e},A.key)),C.map(A=>D.jsx(yM,{p:A,onRetry:()=>d({id:A.id,sessionId:A.sessionId,workspaceId:A.workspaceId,text:A.text}),onDismiss:()=>u(A.id)},A.id)),r?D.jsx(BM,{}):null]})})}const ox=e=>`${e.rowid}-${e.id}`;function mM(e){const r=[];let a=[];const i=()=>{if(a.length>1)r.push({kind:"steps",key:`steps-${ox(a[0])}`,entries:a});else for(const o of a)r.push({kind:"entry",key:ox(o),e:o});a=[]};for(const o of e){if(o.role==="tool"||o.role==="thinking"){a.push(o);continue}i(),r.push({kind:"entry",key:ox(o),e:o})}return i(),r}function CM({entries:e}){const r=e.filter(o=>o.error).length,a=e[e.length-1],i=a.role==="thinking"?"Thinking":a.text;return D.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[D.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[D.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),D.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[e.length," steps"]}),D.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:i}),r?D.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[r," failed"]}):null]}),D.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:e.map(o=>D.jsx(j5,{e:o},ox(o)))})]})}function yM({p:e,onRetry:r,onDismiss:a}){return e.status==="error"?D.jsxs("div",{className:"flex flex-col items-end gap-1",children:[D.jsx(yx,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:D.jsx(dl,{children:e.text})}),D.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[D.jsx(n2,{size:11,className:"shrink-0"}),D.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),D.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}),D.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):D.jsxs("div",{className:"flex flex-col items-end gap-1",children:[D.jsx(yx,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:D.jsx(dl,{children:e.text})}),D.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[D.jsx(Jh,{size:11,className:"animate-spin"}),"Sending…"]})]})}function j5({e}){return e.role==="user"?D.jsx("div",{className:"flex justify-end",children:D.jsxs(yx,{className:tt("max-w-[85%] bg-accent-soft text-text",e.queued&&"opacity-60"),children:[e.queued?D.jsx(gM,{children:"queued"}):null,D.jsx(dl,{children:e.text})]})}):e.role==="tool"?e.error?D.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:D.jsx("pre",{className:"line-clamp-4 whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-del/80 [overflow-wrap:anywhere]",children:e.text})}):D.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[D.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"▸"}),D.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:e.text}),e.detail?D.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint",children:e.detail}):null]}):e.role==="thinking"?D.jsxs("details",{className:"group/think px-1",children:[D.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[D.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),D.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:D.jsx(dl,{children:e.text})})]}):e.role==="system"?D.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:e.text}):D.jsx("div",{className:"flex justify-start",children:D.jsx(yx,{className:"max-w-[92%] bg-surface",children:D.jsx(dl,{children:e.text})})})}function BM(){return D.jsx("div",{className:"fade-in flex justify-start",children:D.jsxs("div",{className:"flex items-center gap-1 rounded-2xl bg-surface px-3.5 py-3",children:[D.jsx("span",{className:"typing-dot"}),D.jsx("span",{className:"typing-dot"}),D.jsx("span",{className:"typing-dot"})]})})}function yx({children:e,className:r}){return D.jsx("div",{className:tt("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:e})}function gM({children:e}){return D.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function AM(){const{workspaceId:e}=Tm(),[r,a]=L.useState(!1),[i,o]=L.useState(null),[s,u]=L.useState(!1),d=na(),{data:f,isLoading:h}=wx(),{data:m}=u2(e),E=Re(N=>N.workingHints);L.useEffect(()=>o(null),[e]);const C=f?.workspaces.find(N=>N.id===e),y=f?.actuator,g=m?.sessions??[],A=(i&&g.some(N=>N.id===i)?i:null)??C?.active_session_id??g[0]?.id??null,F=g.find(N=>N.id===A);if(!C)return D.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[D.jsx(Uu,{title:"Session",menu:!0}),h?D.jsx(wl,{}):D.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const v=A?E[A]:void 0,R=F?.status==="working"||v!==void 0&&Date.now()-v<15e3,M=[C.repo_name,C.branch,pc(C.model)].filter(Boolean).join(" · "),T=async()=>{if(!s){u(!0);try{const N=await Nt.newChat(C.id);N.ok&&(await d.invalidateQueries({queryKey:["sessions",C.id]}),N.sessionId&&o(N.sessionId))}finally{u(!1)}}};return D.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[D.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[D.jsx(Uu,{title:gl(C),subtitle:M,menu:!0,right:D.jsx("button",{type:"button",onClick:()=>a(N=>!N),"aria-label":"Toggle diff panel","aria-pressed":r,className:tt("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",r&&"bg-surface-2 text-text"),children:D.jsx(Y3,{size:19})})}),g.length>0?D.jsx(DM,{sessions:g,activeId:A,onSelect:o,onNewChat:T,creating:s}):null,D.jsx(pM,{sessionId:A,working:R}),F?D.jsx(wD,{session:F,workspaceId:C.id}):null,D.jsx(SD,{sessionId:A,workspaceId:C.id,actuator:y},C.id)]}),r?D.jsx(FM,{workspaceId:C.id,onClose:()=>a(!1)}):null]})}function DM({sessions:e,activeId:r,onSelect:a,onNewChat:i,creating:o}){return D.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[D.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(s=>D.jsxs("button",{type:"button",onClick:()=>a(s.id),className:tt("pill flex shrink-0 items-center gap-1.5",s.id===r&&"pill-active"),children:[s.status==="working"?D.jsx("span",{className:"dot dot-working size-1.5!"}):null,D.jsx("span",{className:"max-w-36 truncate",children:s.title||"Untitled"}),s.unread_count?D.jsx(S2,{children:s.unread_count}):null]},s.id))}),D.jsx("button",{type:"button",onClick:i,disabled:o,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:D.jsx(Wh,{size:18})})]})}function FM({workspaceId:e,onClose:r}){return D.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[D.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[D.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),D.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:20})})]}),D.jsx(UD,{workspaceId:e})]})}var sx={exports:{}},vM=sx.exports,fh;function kM(){return fh||(fh=1,(function(e,r){(function(i,o){e.exports=o()})(typeof self<"u"?self:vM,function(){return(function(a){var i={};function o(s){if(i[s])return i[s].exports;var u=i[s]={i:s,l:!1,exports:{}};return a[s].call(u.exports,u,u.exports,o),u.l=!0,u.exports}return o.m=a,o.c=i,o.d=function(s,u,d){o.o(s,u)||Object.defineProperty(s,u,{configurable:!1,enumerable:!0,get:d})},o.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return o.d(u,"a",u),u},o.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)},o.p="",o(o.s=3)})([(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=(function(){function u(d,f){this.width=f,this.height=d.length/f,this.data=d}return u.createEmpty=function(d,f){return new u(new Uint8ClampedArray(d*f),d)},u.prototype.get=function(d,f){return d<0||d>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+d]},u.prototype.set=function(d,f,h){this.data[f*this.width+d]=h?1:0},u.prototype.setRegion=function(d,f,h,m,E){for(var C=f;C<f+m;C++)for(var y=d;y<d+h;y++)this.set(y,C,!!E)},u})();i.BitMatrix=s}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(2);function u(f,h){return f^h}i.addOrSubtractGF=u;var d=(function(){function f(h,m,E){this.primitive=h,this.size=m,this.generatorBase=E,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var C=1,y=0;y<this.size;y++)this.expTable[y]=C,C=C*2,C>=this.size&&(C=(C^this.primitive)&this.size-1);for(var y=0;y<this.size-1;y++)this.logTable[this.expTable[y]]=y;this.zero=new s.default(this,Uint8ClampedArray.from([0])),this.one=new s.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,m){return h===0||m===0?0:this.expTable[(this.logTable[h]+this.logTable[m])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,m){if(h<0)throw new Error("Invalid monomial degree less than 0");if(m===0)return this.zero;var E=new Uint8ClampedArray(h+1);return E[0]=m,new s.default(this,E)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();i.default=d}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(1),u=(function(){function d(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var m=h.length;if(m>1&&h[0]===0){for(var E=1;E<m&&h[E]===0;)E++;if(E===m)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(m-E);for(var C=0;C<this.coefficients.length;C++)this.coefficients[C]=h[E+C]}}else this.coefficients=h}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},d.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var m=this.coefficients,E=f.coefficients;m.length>E.length&&(h=[E,m],m=h[0],E=h[1]);for(var C=new Uint8ClampedArray(E.length),y=E.length-m.length,g=0;g<y;g++)C[g]=E[g];for(var g=y;g<E.length;g++)C[g]=s.addOrSubtractGF(m[g-y],E[g]);return new d(this.field,C)},d.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,m=new Uint8ClampedArray(h),E=0;E<h;E++)m[E]=this.field.multiply(this.coefficients[E],f);return new d(this.field,m)},d.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,m=h.length,E=f.coefficients,C=E.length,y=new Uint8ClampedArray(m+C-1),g=0;g<m;g++)for(var A=h[g],F=0;F<C;F++)y[g+F]=s.addOrSubtractGF(y[g+F],this.field.multiply(A,E[F]));return new d(this.field,y)},d.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var m=this.coefficients.length,E=new Uint8ClampedArray(m+f),C=0;C<m;C++)E[C]=this.field.multiply(this.coefficients[C],h);return new d(this.field,E)},d.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var m=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(C){h=s.addOrSubtractGF(h,C)}),h;h=this.coefficients[0];for(var E=1;E<m;E++)h=s.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[E]);return h},d})();i.default=u}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(4),u=o(5),d=o(11),f=o(12);function h(C){var y=f.locate(C);if(!y)return null;for(var g=0,A=y;g<A.length;g++){var F=A[g],v=d.extract(C,F),R=u.decode(v.matrix);if(R)return{binaryData:R.bytes,data:R.text,chunks:R.chunks,version:R.version,location:{topRightCorner:v.mappingFunction(F.dimension,0),topLeftCorner:v.mappingFunction(0,0),bottomRightCorner:v.mappingFunction(F.dimension,F.dimension),bottomLeftCorner:v.mappingFunction(0,F.dimension),topRightFinderPattern:F.topRight,topLeftFinderPattern:F.topLeft,bottomLeftFinderPattern:F.bottomLeft,bottomRightAlignmentPattern:F.alignmentPattern}}}return null}var m={inversionAttempts:"attemptBoth"};function E(C,y,g,A){A===void 0&&(A={});var F=m;Object.keys(F||{}).forEach(function(_){F[_]=A[_]||F[_]});var v=F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst",R=F.inversionAttempts==="onlyInvert"||F.inversionAttempts==="invertFirst",M=s.binarize(C,y,g,v),T=M.binarized,N=M.inverted,S=h(R?N:T);return!S&&(F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst")&&(S=h(R?T:N)),S}E.default=E,i.default=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0),u=8,d=24;function f(E,C,y){return E<C?C:E>y?y:E}var h=(function(){function E(C,y){this.width=C,this.data=new Uint8ClampedArray(C*y)}return E.prototype.get=function(C,y){return this.data[y*this.width+C]},E.prototype.set=function(C,y,g){this.data[y*this.width+C]=g},E})();function m(E,C,y,g){if(E.length!==C*y*4)throw new Error("Malformed data passed to binarizer.");for(var A=new h(C,y),F=0;F<C;F++)for(var v=0;v<y;v++){var R=E[(v*C+F)*4+0],M=E[(v*C+F)*4+1],T=E[(v*C+F)*4+2];A.set(F,v,.2126*R+.7152*M+.0722*T)}for(var N=Math.ceil(C/u),S=Math.ceil(y/u),_=new h(N,S),j=0;j<S;j++)for(var I=0;I<N;I++){for(var P=0,J=1/0,K=0,v=0;v<u;v++)for(var F=0;F<u;F++){var ie=A.get(I*u+F,j*u+v);P+=ie,J=Math.min(J,ie),K=Math.max(K,ie)}var ae=P/Math.pow(u,2);if(K-J<=d&&(ae=J/2,j>0&&I>0)){var X=(_.get(I,j-1)+2*_.get(I-1,j)+_.get(I-1,j-1))/4;J<X&&(ae=X)}_.set(I,j,ae)}var H=s.BitMatrix.createEmpty(C,y),$=null;g&&($=s.BitMatrix.createEmpty(C,y));for(var j=0;j<S;j++)for(var I=0;I<N;I++){for(var xe=f(I,2,N-3),fe=f(j,2,S-3),P=0,b=-2;b<=2;b++)for(var z=-2;z<=2;z++)P+=_.get(xe+b,fe+z);for(var Z=P/25,b=0;b<u;b++)for(var z=0;z<u;z++){var F=I*u+b,v=j*u+z,w=A.get(F,v);H.set(F,v,w<=Z),g&&$.set(F,v,!(w<=Z))}}return g?{binarized:H,inverted:$}:{binarized:H}}i.binarize=m}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0),u=o(6),d=o(9),f=o(10);function h(T,N){for(var S=T^N,_=0;S;)_++,S&=S-1;return _}function m(T,N){return N<<1|T}var E=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],C=[function(T){return(T.y+T.x)%2===0},function(T){return T.y%2===0},function(T){return T.x%3===0},function(T){return(T.y+T.x)%3===0},function(T){return(Math.floor(T.y/2)+Math.floor(T.x/3))%2===0},function(T){return T.x*T.y%2+T.x*T.y%3===0},function(T){return(T.y*T.x%2+T.y*T.x%3)%2===0},function(T){return((T.y+T.x)%2+T.y*T.x%3)%2===0}];function y(T){var N=17+4*T.versionNumber,S=s.BitMatrix.createEmpty(N,N);S.setRegion(0,0,9,9,!0),S.setRegion(N-8,0,8,9,!0),S.setRegion(0,N-8,9,8,!0);for(var _=0,j=T.alignmentPatternCenters;_<j.length;_++)for(var I=j[_],P=0,J=T.alignmentPatternCenters;P<J.length;P++){var K=J[P];I===6&&K===6||I===6&&K===N-7||I===N-7&&K===6||S.setRegion(I-2,K-2,5,5,!0)}return S.setRegion(6,9,1,N-17,!0),S.setRegion(9,6,N-17,1,!0),T.versionNumber>6&&(S.setRegion(N-11,0,3,6,!0),S.setRegion(0,N-11,6,3,!0)),S}function g(T,N,S){for(var _=C[S.dataMask],j=T.height,I=y(N),P=[],J=0,K=0,ie=!0,ae=j-1;ae>0;ae-=2){ae===6&&ae--;for(var X=0;X<j;X++)for(var H=ie?j-1-X:X,$=0;$<2;$++){var xe=ae-$;if(!I.get(xe,H)){K++;var fe=T.get(xe,H);_({y:H,x:xe})&&(fe=!fe),J=m(fe,J),K===8&&(P.push(J),K=0,J=0)}}ie=!ie}return P}function A(T){var N=T.height,S=Math.floor((N-17)/4);if(S<=6)return f.VERSIONS[S-1];for(var _=0,j=5;j>=0;j--)for(var I=N-9;I>=N-11;I--)_=m(T.get(I,j),_);for(var P=0,I=5;I>=0;I--)for(var j=N-9;j>=N-11;j--)P=m(T.get(I,j),P);for(var J=1/0,K,ie=0,ae=f.VERSIONS;ie<ae.length;ie++){var X=ae[ie];if(X.infoBits===_||X.infoBits===P)return X;var H=h(_,X.infoBits);H<J&&(K=X,J=H),H=h(P,X.infoBits),H<J&&(K=X,J=H)}if(J<=3)return K}function F(T){for(var N=0,S=0;S<=8;S++)S!==6&&(N=m(T.get(S,8),N));for(var _=7;_>=0;_--)_!==6&&(N=m(T.get(8,_),N));for(var j=T.height,I=0,_=j-1;_>=j-7;_--)I=m(T.get(8,_),I);for(var S=j-8;S<j;S++)I=m(T.get(S,8),I);for(var P=1/0,J=null,K=0,ie=E;K<ie.length;K++){var ae=ie[K],X=ae.bits,H=ae.formatInfo;if(X===N||X===I)return H;var $=h(N,X);$<P&&(J=H,P=$),N!==I&&($=h(I,X),$<P&&(J=H,P=$))}return P<=3?J:null}function v(T,N,S){var _=N.errorCorrectionLevels[S],j=[],I=0;if(_.ecBlocks.forEach(function(fe){for(var b=0;b<fe.numBlocks;b++)j.push({numDataCodewords:fe.dataCodewordsPerBlock,codewords:[]}),I+=fe.dataCodewordsPerBlock+_.ecCodewordsPerBlock}),T.length<I)return null;T=T.slice(0,I);for(var P=_.ecBlocks[0].dataCodewordsPerBlock,J=0;J<P;J++)for(var K=0,ie=j;K<ie.length;K++){var ae=ie[K];ae.codewords.push(T.shift())}if(_.ecBlocks.length>1)for(var X=_.ecBlocks[0].numBlocks,H=_.ecBlocks[1].numBlocks,J=0;J<H;J++)j[X+J].codewords.push(T.shift());for(;T.length>0;)for(var $=0,xe=j;$<xe.length;$++){var ae=xe[$];ae.codewords.push(T.shift())}return j}function R(T){var N=A(T);if(!N)return null;var S=F(T);if(!S)return null;var _=g(T,N,S),j=v(_,N,S.errorCorrectionLevel);if(!j)return null;for(var I=j.reduce(function($,xe){return $+xe.numDataCodewords},0),P=new Uint8ClampedArray(I),J=0,K=0,ie=j;K<ie.length;K++){var ae=ie[K],X=d.decode(ae.codewords,ae.codewords.length-ae.numDataCodewords);if(!X)return null;for(var H=0;H<ae.numDataCodewords;H++)P[J++]=X[H]}try{return u.decode(P,N.versionNumber)}catch{return null}}function M(T){if(T==null)return null;var N=R(T);if(N)return N;for(var S=0;S<T.width;S++)for(var _=S+1;_<T.height;_++)T.get(S,_)!==T.get(_,S)&&(T.set(S,_,!T.get(S,_)),T.set(_,S,!T.get(_,S)));return R(T)}i.decode=M}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(7),u=o(8),d;(function(A){A.Numeric="numeric",A.Alphanumeric="alphanumeric",A.Byte="byte",A.Kanji="kanji",A.ECI="eci"})(d=i.Mode||(i.Mode={}));var f;(function(A){A[A.Terminator=0]="Terminator",A[A.Numeric=1]="Numeric",A[A.Alphanumeric=2]="Alphanumeric",A[A.Byte=4]="Byte",A[A.Kanji=8]="Kanji",A[A.ECI=7]="ECI"})(f||(f={}));function h(A,F){for(var v=[],R="",M=[10,12,14][F],T=A.readBits(M);T>=3;){var N=A.readBits(10);if(N>=1e3)throw new Error("Invalid numeric value above 999");var S=Math.floor(N/100),_=Math.floor(N/10)%10,j=N%10;v.push(48+S,48+_,48+j),R+=S.toString()+_.toString()+j.toString(),T-=3}if(T===2){var N=A.readBits(7);if(N>=100)throw new Error("Invalid numeric value above 99");var S=Math.floor(N/10),_=N%10;v.push(48+S,48+_),R+=S.toString()+_.toString()}else if(T===1){var N=A.readBits(4);if(N>=10)throw new Error("Invalid numeric value above 9");v.push(48+N),R+=N.toString()}return{bytes:v,text:R}}var m=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function E(A,F){for(var v=[],R="",M=[9,11,13][F],T=A.readBits(M);T>=2;){var N=A.readBits(11),S=Math.floor(N/45),_=N%45;v.push(m[S].charCodeAt(0),m[_].charCodeAt(0)),R+=m[S]+m[_],T-=2}if(T===1){var S=A.readBits(6);v.push(m[S].charCodeAt(0)),R+=m[S]}return{bytes:v,text:R}}function C(A,F){for(var v=[],R="",M=[8,16,16][F],T=A.readBits(M),N=0;N<T;N++){var S=A.readBits(8);v.push(S)}try{R+=decodeURIComponent(v.map(function(_){return"%"+("0"+_.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:v,text:R}}function y(A,F){for(var v=[],R="",M=[8,10,12][F],T=A.readBits(M),N=0;N<T;N++){var S=A.readBits(13),_=Math.floor(S/192)<<8|S%192;_<7936?_+=33088:_+=49472,v.push(_>>8,_&255),R+=String.fromCharCode(u.shiftJISTable[_])}return{bytes:v,text:R}}function g(A,F){for(var v,R,M,T,N=new s.BitStream(A),S=F<=9?0:F<=26?1:2,_={text:"",bytes:[],chunks:[],version:F};N.available()>=4;){var j=N.readBits(4);if(j===f.Terminator)return _;if(j===f.ECI)N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(7)}):N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(14)}):N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(21)}):_.chunks.push({type:d.ECI,assignmentNumber:-1});else if(j===f.Numeric){var I=h(N,S);_.text+=I.text,(v=_.bytes).push.apply(v,I.bytes),_.chunks.push({type:d.Numeric,text:I.text})}else if(j===f.Alphanumeric){var P=E(N,S);_.text+=P.text,(R=_.bytes).push.apply(R,P.bytes),_.chunks.push({type:d.Alphanumeric,text:P.text})}else if(j===f.Byte){var J=C(N,S);_.text+=J.text,(M=_.bytes).push.apply(M,J.bytes),_.chunks.push({type:d.Byte,bytes:J.bytes,text:J.text})}else if(j===f.Kanji){var K=y(N,S);_.text+=K.text,(T=_.bytes).push.apply(T,K.bytes),_.chunks.push({type:d.Kanji,bytes:K.bytes,text:K.text})}}if(N.available()===0||N.readBits(N.available())===0)return _}i.decode=g}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=(function(){function u(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return u.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,m=d<h?d:h,E=h-m,C=255>>8-m<<E;f=(this.bytes[this.byteOffset]&C)>>E,d-=m,this.bitOffset+=m,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var E=8-d,C=255>>E<<E;f=f<<d|(this.bytes[this.byteOffset]&C)>>E,this.bitOffset+=d}}return f},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=s}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(1),u=o(2);function d(E,C,y,g){var A;C.degree()<y.degree()&&(A=[y,C],C=A[0],y=A[1]);for(var F=C,v=y,R=E.zero,M=E.one;v.degree()>=g/2;){var T=F,N=R;if(F=v,R=M,F.isZero())return null;v=T;for(var S=E.zero,_=F.getCoefficient(F.degree()),j=E.inverse(_);v.degree()>=F.degree()&&!v.isZero();){var I=v.degree()-F.degree(),P=E.multiply(v.getCoefficient(v.degree()),j);S=S.addOrSubtract(E.buildMonomial(I,P)),v=v.addOrSubtract(F.multiplyByMonomial(I,P))}if(M=S.multiplyPoly(R).addOrSubtract(N),v.degree()>=F.degree())return null}var J=M.getCoefficient(0);if(J===0)return null;var K=E.inverse(J);return[M.multiply(K),v.multiply(K)]}function f(E,C){var y=C.degree();if(y===1)return[C.getCoefficient(1)];for(var g=new Array(y),A=0,F=1;F<E.size&&A<y;F++)C.evaluateAt(F)===0&&(g[A]=E.inverse(F),A++);return A!==y?null:g}function h(E,C,y){for(var g=y.length,A=new Array(g),F=0;F<g;F++){for(var v=E.inverse(y[F]),R=1,M=0;M<g;M++)F!==M&&(R=E.multiply(R,s.addOrSubtractGF(1,E.multiply(y[M],v))));A[F]=E.multiply(C.evaluateAt(v),E.inverse(R)),E.generatorBase!==0&&(A[F]=E.multiply(A[F],v))}return A}function m(E,C){var y=new Uint8ClampedArray(E.length);y.set(E);for(var g=new s.default(285,256,0),A=new u.default(g,y),F=new Uint8ClampedArray(C),v=!1,R=0;R<C;R++){var M=A.evaluateAt(g.exp(R+g.generatorBase));F[F.length-1-R]=M,M!==0&&(v=!0)}if(!v)return y;var T=new u.default(g,F),N=d(g,g.buildMonomial(C,1),T,C);if(N===null)return null;var S=f(g,N[0]);if(S==null)return null;for(var _=h(g,N[1],S),j=0;j<S.length;j++){var I=y.length-1-g.log(S[j]);if(I<0)return null;y[I]=s.addOrSubtractGF(y[I],_[j])}return y}i.decode=m}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0);function u(m,E,C,y){var g=m.x-E.x+C.x-y.x,A=m.y-E.y+C.y-y.y;if(g===0&&A===0)return{a11:E.x-m.x,a12:E.y-m.y,a13:0,a21:C.x-E.x,a22:C.y-E.y,a23:0,a31:m.x,a32:m.y,a33:1};var F=E.x-C.x,v=y.x-C.x,R=E.y-C.y,M=y.y-C.y,T=F*M-v*R,N=(g*M-v*A)/T,S=(F*A-g*R)/T;return{a11:E.x-m.x+N*E.x,a12:E.y-m.y+N*E.y,a13:N,a21:y.x-m.x+S*y.x,a22:y.y-m.y+S*y.y,a23:S,a31:m.x,a32:m.y,a33:1}}function d(m,E,C,y){var g=u(m,E,C,y);return{a11:g.a22*g.a33-g.a23*g.a32,a12:g.a13*g.a32-g.a12*g.a33,a13:g.a12*g.a23-g.a13*g.a22,a21:g.a23*g.a31-g.a21*g.a33,a22:g.a11*g.a33-g.a13*g.a31,a23:g.a13*g.a21-g.a11*g.a23,a31:g.a21*g.a32-g.a22*g.a31,a32:g.a12*g.a31-g.a11*g.a32,a33:g.a11*g.a22-g.a12*g.a21}}function f(m,E){return{a11:m.a11*E.a11+m.a21*E.a12+m.a31*E.a13,a12:m.a12*E.a11+m.a22*E.a12+m.a32*E.a13,a13:m.a13*E.a11+m.a23*E.a12+m.a33*E.a13,a21:m.a11*E.a21+m.a21*E.a22+m.a31*E.a23,a22:m.a12*E.a21+m.a22*E.a22+m.a32*E.a23,a23:m.a13*E.a21+m.a23*E.a22+m.a33*E.a23,a31:m.a11*E.a31+m.a21*E.a32+m.a31*E.a33,a32:m.a12*E.a31+m.a22*E.a32+m.a32*E.a33,a33:m.a13*E.a31+m.a23*E.a32+m.a33*E.a33}}function h(m,E){for(var C=d({x:3.5,y:3.5},{x:E.dimension-3.5,y:3.5},{x:E.dimension-6.5,y:E.dimension-6.5},{x:3.5,y:E.dimension-3.5}),y=u(E.topLeft,E.topRight,E.alignmentPattern,E.bottomLeft),g=f(y,C),A=s.BitMatrix.createEmpty(E.dimension,E.dimension),F=function(S,_){var j=g.a13*S+g.a23*_+g.a33;return{x:(g.a11*S+g.a21*_+g.a31)/j,y:(g.a12*S+g.a22*_+g.a32)/j}},v=0;v<E.dimension;v++)for(var R=0;R<E.dimension;R++){var M=R+.5,T=v+.5,N=F(M,T);A.set(R,v,m.get(Math.floor(N.x),Math.floor(N.y)))}return{matrix:A,mappingFunction:F}}i.extract=h}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=4,u=.5,d=1.5,f=function(M,T){return Math.sqrt(Math.pow(T.x-M.x,2)+Math.pow(T.y-M.y,2))};function h(M){return M.reduce(function(T,N){return T+N})}function m(M,T,N){var S,_,j,I,P=f(M,T),J=f(T,N),K=f(M,N),ie,ae,X;return J>=P&&J>=K?(S=[T,M,N],ie=S[0],ae=S[1],X=S[2]):K>=J&&K>=P?(_=[M,T,N],ie=_[0],ae=_[1],X=_[2]):(j=[M,N,T],ie=j[0],ae=j[1],X=j[2]),(X.x-ae.x)*(ie.y-ae.y)-(X.y-ae.y)*(ie.x-ae.x)<0&&(I=[X,ie],ie=I[0],X=I[1]),{bottomLeft:ie,topLeft:ae,topRight:X}}function E(M,T,N,S){var _=(h(y(M,N,S,5))/7+h(y(M,T,S,5))/7+h(y(N,M,S,5))/7+h(y(T,M,S,5))/7)/4;if(_<1)throw new Error("Invalid module size");var j=Math.round(f(M,T)/_),I=Math.round(f(M,N)/_),P=Math.floor((j+I)/2)+7;switch(P%4){case 0:P++;break;case 2:P--;break}return{dimension:P,moduleSize:_}}function C(M,T,N,S){var _=[{x:Math.floor(M.x),y:Math.floor(M.y)}],j=Math.abs(T.y-M.y)>Math.abs(T.x-M.x),I,P,J,K;j?(I=Math.floor(M.y),P=Math.floor(M.x),J=Math.floor(T.y),K=Math.floor(T.x)):(I=Math.floor(M.x),P=Math.floor(M.y),J=Math.floor(T.x),K=Math.floor(T.y));for(var ie=Math.abs(J-I),ae=Math.abs(K-P),X=Math.floor(-ie/2),H=I<J?1:-1,$=P<K?1:-1,xe=!0,fe=I,b=P;fe!==J+H;fe+=H){var z=j?b:fe,Z=j?fe:b;if(N.get(z,Z)!==xe&&(xe=!xe,_.push({x:z,y:Z}),_.length===S+1))break;if(X+=ae,X>0){if(b===K)break;b+=$,X-=ie}}for(var w=[],re=0;re<S;re++)_[re]&&_[re+1]?w.push(f(_[re],_[re+1])):w.push(0);return w}function y(M,T,N,S){var _,j=T.y-M.y,I=T.x-M.x,P=C(M,T,N,Math.ceil(S/2)),J=C(M,{x:M.x-I,y:M.y-j},N,Math.ceil(S/2)),K=P.shift()+J.shift()-1;return(_=J.concat(K)).concat.apply(_,P)}function g(M,T){var N=h(M)/h(T),S=0;return T.forEach(function(_,j){S+=Math.pow(M[j]-_*N,2)}),{averageSize:N,error:S}}function A(M,T,N){try{var S=y(M,{x:-1,y:M.y},N,T.length),_=y(M,{x:M.x,y:-1},N,T.length),j={x:Math.max(0,M.x-M.y)-1,y:Math.max(0,M.y-M.x)-1},I=y(M,j,N,T.length),P={x:Math.min(N.width,M.x+M.y)+1,y:Math.min(N.height,M.y+M.x)+1},J=y(M,P,N,T.length),K=g(S,T),ie=g(_,T),ae=g(I,T),X=g(J,T),H=Math.sqrt(K.error*K.error+ie.error*ie.error+ae.error*ae.error+X.error*X.error),$=(K.averageSize+ie.averageSize+ae.averageSize+X.averageSize)/4,xe=(Math.pow(K.averageSize-$,2)+Math.pow(ie.averageSize-$,2)+Math.pow(ae.averageSize-$,2)+Math.pow(X.averageSize-$,2))/$;return H+xe}catch{return 1/0}}function F(M,T){for(var N=Math.round(T.x);M.get(N,Math.round(T.y));)N--;for(var S=Math.round(T.x);M.get(S,Math.round(T.y));)S++;for(var _=(N+S)/2,j=Math.round(T.y);M.get(Math.round(_),j);)j--;for(var I=Math.round(T.y);M.get(Math.round(_),I);)I++;var P=(j+I)/2;return{x:_,y:P}}function v(M){for(var T=[],N=[],S=[],_=[],j=function(z){for(var Z=0,w=!1,re=[0,0,0,0,0],ce=function(me){var je=M.get(me,z);if(je===w)Z++;else{re=[re[1],re[2],re[3],re[4],Z],Z=1,w=je;var Ce=h(re)/7,Ct=Math.abs(re[0]-Ce)<Ce&&Math.abs(re[1]-Ce)<Ce&&Math.abs(re[2]-3*Ce)<3*Ce&&Math.abs(re[3]-Ce)<Ce&&Math.abs(re[4]-Ce)<Ce&&!je,at=h(re.slice(-3))/3,xn=Math.abs(re[2]-at)<at&&Math.abs(re[3]-at)<at&&Math.abs(re[4]-at)<at&&je;if(Ct){var $t=me-re[3]-re[4],xt=$t-re[2],Rt={startX:xt,endX:$t,y:z},on=N.filter(function(yt){return xt>=yt.bottom.startX&&xt<=yt.bottom.endX||$t>=yt.bottom.startX&&xt<=yt.bottom.endX||xt<=yt.bottom.startX&&$t>=yt.bottom.endX&&re[2]/(yt.bottom.endX-yt.bottom.startX)<d&&re[2]/(yt.bottom.endX-yt.bottom.startX)>u});on.length>0?on[0].bottom=Rt:N.push({top:Rt,bottom:Rt})}if(xn){var Pn=me-re[4],_n=Pn-re[3],Rt={startX:_n,y:z,endX:Pn},on=_.filter(function(kt){return _n>=kt.bottom.startX&&_n<=kt.bottom.endX||Pn>=kt.bottom.startX&&_n<=kt.bottom.endX||_n<=kt.bottom.startX&&Pn>=kt.bottom.endX&&re[2]/(kt.bottom.endX-kt.bottom.startX)<d&&re[2]/(kt.bottom.endX-kt.bottom.startX)>u});on.length>0?on[0].bottom=Rt:_.push({top:Rt,bottom:Rt})}}},se=-1;se<=M.width;se++)ce(se);T.push.apply(T,N.filter(function(me){return me.bottom.y!==z&&me.bottom.y-me.top.y>=2})),N=N.filter(function(me){return me.bottom.y===z}),S.push.apply(S,_.filter(function(me){return me.bottom.y!==z})),_=_.filter(function(me){return me.bottom.y===z})},I=0;I<=M.height;I++)j(I);T.push.apply(T,N.filter(function(z){return z.bottom.y-z.top.y>=2})),S.push.apply(S,_);var P=T.filter(function(z){return z.bottom.y-z.top.y>=2}).map(function(z){var Z=(z.top.startX+z.top.endX+z.bottom.startX+z.bottom.endX)/4,w=(z.top.y+z.bottom.y+1)/2;if(M.get(Math.round(Z),Math.round(w))){var re=[z.top.endX-z.top.startX,z.bottom.endX-z.bottom.startX,z.bottom.y-z.top.y+1],ce=h(re)/re.length,se=A({x:Math.round(Z),y:Math.round(w)},[1,1,3,1,1],M);return{score:se,x:Z,y:w,size:ce}}}).filter(function(z){return!!z}).sort(function(z,Z){return z.score-Z.score}).map(function(z,Z,w){if(Z>s)return null;var re=w.filter(function(se,me){return Z!==me}).map(function(se){return{x:se.x,y:se.y,score:se.score+Math.pow(se.size-z.size,2)/z.size,size:se.size}}).sort(function(se,me){return se.score-me.score});if(re.length<2)return null;var ce=z.score+re[0].score+re[1].score;return{points:[z].concat(re.slice(0,2)),score:ce}}).filter(function(z){return!!z}).sort(function(z,Z){return z.score-Z.score});if(P.length===0)return null;var J=m(P[0].points[0],P[0].points[1],P[0].points[2]),K=J.topRight,ie=J.topLeft,ae=J.bottomLeft,X=R(M,S,K,ie,ae),H=[];X&&H.push({alignmentPattern:{x:X.alignmentPattern.x,y:X.alignmentPattern.y},bottomLeft:{x:ae.x,y:ae.y},dimension:X.dimension,topLeft:{x:ie.x,y:ie.y},topRight:{x:K.x,y:K.y}});var $=F(M,K),xe=F(M,ie),fe=F(M,ae),b=R(M,S,$,xe,fe);return b&&H.push({alignmentPattern:{x:b.alignmentPattern.x,y:b.alignmentPattern.y},bottomLeft:{x:fe.x,y:fe.y},topLeft:{x:xe.x,y:xe.y},topRight:{x:$.x,y:$.y},dimension:b.dimension}),H.length===0?null:H}i.locate=v;function R(M,T,N,S,_){var j,I,P;try{j=E(S,N,_,M),I=j.dimension,P=j.moduleSize}catch{return null}var J={x:N.x-S.x+_.x,y:N.y-S.y+_.y},K=(f(S,_)+f(S,N))/2/P,ie=1-3/K,ae={x:S.x+ie*(J.x-S.x),y:S.y+ie*(J.y-S.y)},X=T.map(function($){var xe=($.top.startX+$.top.endX+$.bottom.startX+$.bottom.endX)/4,fe=($.top.y+$.bottom.y+1)/2;if(M.get(Math.floor(xe),Math.floor(fe))){var b=[$.top.endX-$.top.startX,$.bottom.endX-$.bottom.startX,$.bottom.y-$.top.y+1];h(b)/b.length;var z=A({x:Math.floor(xe),y:Math.floor(fe)},[1,1,1],M),Z=z+f({x:xe,y:fe},ae);return{x:xe,y:fe,score:Z}}}).filter(function($){return!!$}).sort(function($,xe){return $.score-xe.score}),H=K>=15&&X.length?X[0]:ae;return{alignmentPattern:H,dimension:I}}})]).default})})(sx)),sx.exports}var bM=kM();const wM=Bx(bM);function SM({onResult:e,onClose:r}){const a=L.useRef(null),[i,o]=L.useState(null);return L.useEffect(()=>{let s=null,u=0,d=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),m=()=>{const E=a.current;if(!(d||!E||!h)){if(E.readyState>=E.HAVE_ENOUGH_DATA&&E.videoWidth){f.width=E.videoWidth,f.height=E.videoHeight,h.drawImage(E,0,0,f.width,f.height);const{data:C,width:y,height:g}=h.getImageData(0,0,f.width,f.height),A=wM(C,y,g,{inversionAttempts:"dontInvert"});if(A?.data){d=!0,e(A.data);return}}u=requestAnimationFrame(m)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(E=>{if(d){for(const y of E.getTracks())y.stop();return}s=E;const C=a.current;C&&(C.srcObject=E,C.play(),u=requestAnimationFrame(m))}).catch(E=>o(MM(E))),()=>{if(d=!0,cancelAnimationFrame(u),s)for(const E of s.getTracks())E.stop()}},[e]),D.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[D.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),D.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:D.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),D.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[D.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),D.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:D.jsx(la,{size:20})})]}),i?D.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function MM(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function _M(){const e=Re(h=>h.setToken),[r,a]=L.useState(""),[i,o]=L.useState(!1),[s,u]=L.useState(!1),d=h=>{const m=rA(h);u(!1),m?e(m):o(!0)},f=h=>{h.preventDefault(),d(r)};return s?D.jsx(SM,{onResult:d,onClose:()=>u(!1)}):D.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 px-8 text-center",children:[D.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),D.jsxs("div",{children:[D.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),D.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),D.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",D.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",D.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),D.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[D.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),o(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),D.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),D.jsxs("button",{type:"button",onClick:()=>{o(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[D.jsx(e2,{size:16}),"Scan QR"]}),i?D.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),D.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",D.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}var Rc=bh();const Fl=new Uint8Array(512),Ju=new Uint8Array(256);let xl=1;for(let e=0;e<255;e++)Fl[e]=xl,Ju[xl]=e,xl<<=1,xl&256&&(xl^=285);for(let e=255;e<512;e++)Fl[e]=Fl[e-255];function L5(e,r){return e===0||r===0?0:Fl[Ju[e]+Ju[r]]}function zM(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let o=0;o<r.length;o++)i[o]^=r[o],i[o+1]^=L5(r[o],Fl[a]);r=i}return r}function TM(e,r){const a=zM(r),i=new Array(r).fill(0);for(const o of e){const s=o^i[0];if(i.shift(),i.push(0),s!==0)for(let u=0;u<r;u++)i[u]^=L5(a[u+1],s)}return i}const Oc={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function dh(e){return Oc[e].groups.reduce((r,[a,i])=>r+a*i,0)}function hh(e){return e<=9?8:16}function ol(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function NM(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let g=1;g<=10;g++)if(4+hh(g)+8*r.length<=dh(g)*8){a=g;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=dh(a)*8,o=[];ol(o,4,4),ol(o,r.length,hh(a));for(const g of r)ol(o,g,8);for(let g=0,A=Math.min(4,i-o.length);g<A;g++)o.push(0);for(;o.length%8!==0;)o.push(0);const s=[236,17];for(let g=0;o.length<i;g++)ol(o,s[g%2],8);const u=[];for(let g=0;g<o.length;g+=8){let A=0;for(let F=0;F<8;F++)A=A<<1|o[g+F];u.push(A)}const{ec:d,groups:f}=Oc[a],h=[];let m=0;for(const[g,A]of f)for(let F=0;F<g;F++){const v=u.slice(m,m+A);m+=A,h.push({data:v,ec:TM(v,d)})}const E=[],C=Math.max(...h.map(g=>g.data.length));for(let g=0;g<C;g++)for(const A of h)g<A.data.length&&E.push(A.data[g]);for(let g=0;g<d;g++)for(const A of h)E.push(A.ec[g]);const y=[];for(const g of E)ol(y,g,8);return{version:a,bits:y}}function RM(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),o=Array.from({length:a},()=>new Array(a).fill(!1)),s=(E,C)=>{for(let y=-1;y<=7;y++)for(let g=-1;g<=7;g++){const A=E+y,F=C+g;if(A<0||A>=a||F<0||F>=a)continue;const v=y>=0&&y<=6&&(g===0||g===6)||g>=0&&g<=6&&(y===0||y===6),R=y>=2&&y<=4&&g>=2&&g<=4;i[A][F]=v||R,o[A][F]=!0}};s(0,0),s(0,a-7),s(a-7,0);for(let E=8;E<a-8;E++){const C=E%2===0;o[6][E]||(i[6][E]=C,o[6][E]=!0),o[E][6]||(i[E][6]=C,o[E][6]=!0)}const u=Oc[e].align;for(let E=0;E<u.length;E++)for(let C=0;C<u.length;C++){if(E===0&&C===0||E===0&&C===u.length-1||E===u.length-1&&C===0)continue;const g=u[E],A=u[C];for(let F=-2;F<=2;F++)for(let v=-2;v<=2;v++)i[g+F][A+v]=Math.max(Math.abs(F),Math.abs(v))!==1,o[g+F][A+v]=!0}for(let E=0;E<=8;E++)E!==6&&(o[8][E]=!0,o[E][8]=!0);for(let E=0;E<8;E++)o[8][a-1-E]=!0,o[a-1-E][8]=!0;if(o[a-8][8]=!0,e>=7)for(let E=0;E<18;E++){const C=a-11+E%3,y=Math.floor(E/3);o[y][C]=!0,o[C][y]=!0}let d=0,f=!0;for(let E=a-1;E>0;E-=2){E===6&&E--;for(let C=0;C<a;C++){const y=f?a-1-C:C;for(let g=0;g<2;g++){const A=E-g;o[y][A]||(i[y][A]=d<r.length?r[d]===1:!1,d++)}}f=!f}e>=7&&LM(i,e,a);let h=null,m=Number.POSITIVE_INFINITY;for(let E=0;E<8;E++){const C=i.map(g=>g.slice());for(let g=0;g<a;g++)for(let A=0;A<a;A++)!o[g][A]&&OM(E,g,A)&&(C[g][A]=!C[g][A]);jM(C,E,a);const y=PM(C);y<m&&(m=y,h=C)}return h}function OM(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function jM(e,r,a){const i=0|r;let o=i;for(let d=0;d<10;d++)o=o<<1^(o>>9&1?1335:0);const s=((i<<10|o&1023)^21522)&32767,u=d=>(s>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=u(d);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let d=9;d<15;d++)e[8][14-d]=u(d);for(let d=0;d<8;d++)e[8][a-1-d]=u(d);for(let d=8;d<15;d++)e[a-15+d][8]=u(d);e[a-8][8]=!0}function LM(e,r,a){let i=r;for(let s=0;s<12;s++)i=i<<1^(i>>11&1?7973:0);const o=r<<12|i&4095;for(let s=0;s<18;s++){const u=(o>>s&1)===1,d=a-11+s%3,f=Math.floor(s/3);e[f][d]=u,e[d][f]=u}}function PM(e){const r=e.length;let a=0;const i=f=>{let h=f(0),m=1;for(let E=1;E<r;E++)f(E)===h?m++:(m>=5&&(a+=m-2),h=f(E),m=1);m>=5&&(a+=m-2)};for(let f=0;f<r;f++)i(h=>e[f][h]);for(let f=0;f<r;f++)i(h=>e[h][f]);for(let f=0;f<r-1;f++)for(let h=0;h<r-1;h++){const m=e[f][h];m===e[f][h+1]&&m===e[f+1][h]&&m===e[f+1][h+1]&&(a+=3)}const o=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],s=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(f,h,m)=>{for(let E=0;E<11;E++)if(f(h+E)!==m[E])return!1;return!0};for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(m=>e[f][m],h,o)||u(m=>e[f][m],h,s))&&(a+=40);for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(m=>e[m][f],h,o)||u(m=>e[m][f],h,s))&&(a+=40);let d=0;for(let f=0;f<r;f++)for(let h=0;h<r;h++)e[f][h]&&d++;return a+=Math.floor(Math.abs(d/(r*r)*100-50)/5)*10,a}function UM(e){const{version:r,bits:a}=NM(e);return RM(r,a)}function HM({text:e,size:r=220,className:a}){const i=UM(e),o=i.length,s=4,u=o+s*2;let d="";for(let f=0;f<o;f++)for(let h=0;h<o;h++)i[f][h]&&(d+=`M${h+s} ${f+s}h1v1h-1z`);return D.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[D.jsx("title",{children:"QR code"}),D.jsx("rect",{width:u,height:u,fill:"#fff"}),D.jsx("path",{d,fill:"#000"})]})}function qM({version:e,onLogs:r,onClose:a}){const i=Re(m=>m.token),o=Re(m=>m.setToken),[s,u]=L.useState(!1),d=i?`${location.origin}/#token=${i}`:location.origin,f=!!e&&e!=="1.30.0",h=async()=>{try{await navigator.clipboard.writeText(d),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return Rc.createPortal(D.jsxs(D.Fragment,{children:[D.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),D.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[D.jsxs("div",{className:"flex w-full items-center justify-between",children:[D.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),D.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[D.jsx("button",{type:"button",onClick:()=>o(null),"aria-label":"Disconnect",title:"Disconnect",className:"flex size-8 items-center justify-center rounded-full text-del/80 active:bg-surface-2",children:D.jsx(xy,{size:17})}),D.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:18})})]})]}),D.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),D.jsx("div",{className:"rounded-2xl bg-white p-3",children:D.jsx(HM,{text:d,size:216})}),D.jsxs("button",{type:"button",onClick:h,className:"flex w-full items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[s?D.jsx(kx,{size:16}):D.jsx(Kh,{size:16}),s?"Copied":"Copy link"]}),D.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[D.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",D.jsxs("span",{className:f?"text-working":void 0,children:["app v","1.30.0"]}),f?" · update pending":""]}),D.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]}),document.body)}const VM={info:"text-muted",warn:"text-working",error:"text-del"};function R0(e){return String(e).padStart(2,"0")}function QM(e){if(e==null)return"·";const r=new Date(e);return`${R0(r.getHours())}:${R0(r.getMinutes())}:${R0(r.getSeconds())}`}function Eh(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${R0(r.getMonth()+1)}-${R0(r.getDate())} ${R0(r.getHours())}:${R0(r.getMinutes())}:${R0(r.getSeconds())}`}function GM(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function ph(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function IM({onClose:e}){const[r,a]=L.useState(null),[i,o]=L.useState(!1),[s,u]=L.useState(null),{data:d,isLoading:f,isError:h,error:m}=FA(r,!0),E=L.useRef(null),C=L.useRef(!0),y=L.useMemo(()=>(d?.entries??[]).filter(F=>!i||F.level!=="info"),[d,i]);L.useEffect(()=>{const F=E.current;F&&C.current&&y.length&&(F.scrollTop=F.scrollHeight)},[y]);const g=async()=>{const F=`# conductor-remote ${r??"live"} log · app v1.30.0 · copied ${Eh(Date.now())}`,v=y.map(R=>`${Eh(R.t)} ${R.level==="info"?"":R.level.toUpperCase()} ${R.text}`);try{await navigator.clipboard.writeText([F,...v].join(`
|
|
42
|
+
`))}function f(y,g,A,F){const v=A.enter("tableCell"),R=A.enter("phrasing"),M=A.containerPhrasing(y,{...F,before:s,after:s});return R(),v(),M}function h(y,g){return Vw(y,{align:g,alignDelimiters:i,padding:a,stringLength:o})}function m(y,g,A){const F=y.children;let v=-1;const R=[],M=g.enter("table");for(;++v<F.length;)R[v]=E(F[v],g,A);return M(),R}function E(y,g,A){const F=y.children;let v=-1;const R=[],M=g.enter("tableRow");for(;++v<F.length;)R[v]=f(F[v],y,g,A);return M(),R}function C(y,g,A){let F=w5.inlineCode(y,g,A);return A.stack.includes("tableCell")&&(F=F.replace(/\|/g,"\\$&")),F}}function MS(){return{exit:{taskListCheckValueChecked:uh,taskListCheckValueUnchecked:uh,paragraph:zS}}}function _S(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:TS}}}function uh(e){const r=this.stack[this.stack.length-2];r.type,r.checked=e.type==="taskListCheckValueChecked"}function zS(e){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const i=a.children[0];if(i&&i.type==="text"){const o=r.children;let s=-1,u;for(;++s<o.length;){const d=o[s];if(d.type==="paragraph"){u=d;break}}u===a&&(i.value=i.value.slice(1),i.value.length===0?a.children.shift():a.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,a.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function TS(e,r,a,i){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=a.createTracker(i);s&&d.move(u);let f=w5.listItem(e,r,a,{...i,...d.current()});return s&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(m){return m+u}}function NS(){return[fw(),Tw(),jw(),DS(),MS()]}function RS(e){return{extensions:[dw(),Nw(e),Lw(),SS(e),_S()]}}const OS={tokenize:qS,partial:!0},S5={tokenize:VS,partial:!0},M5={tokenize:QS,partial:!0},_5={tokenize:GS,partial:!0},jS={tokenize:IS,partial:!0},z5={name:"wwwAutolink",tokenize:US,previous:N5},T5={name:"protocolAutolink",tokenize:HS,previous:R5},x0={name:"emailAutolink",tokenize:PS,previous:O5},Ln={};function LS(){return{text:Ln}}let ar=48;for(;ar<123;)Ln[ar]=x0,ar++,ar===58?ar=65:ar===91&&(ar=97);Ln[43]=x0;Ln[45]=x0;Ln[46]=x0;Ln[95]=x0;Ln[72]=[x0,T5];Ln[104]=[x0,T5];Ln[87]=[x0,z5];Ln[119]=[x0,z5];function PS(e,r,a){const i=this;let o,s;return u;function u(E){return!Ku(E)||!O5.call(i,i.previous)||Nc(i.events)?a(E):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(E))}function d(E){return Ku(E)?(e.consume(E),d):E===64?(e.consume(E),f):a(E)}function f(E){return E===46?e.check(jS,m,h)(E):E===45||E===95||wt(E)?(s=!0,e.consume(E),f):m(E)}function h(E){return e.consume(E),o=!0,f}function m(E){return s&&o&&Tt(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),r(E)):a(E)}}function US(e,r,a){const i=this;return o;function o(u){return u!==87&&u!==119||!N5.call(i,i.previous)||Nc(i.events)?a(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(OS,e.attempt(S5,e.attempt(M5,s),a),a)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),r(u)}}function HS(e,r,a){const i=this;let o="",s=!1;return u;function u(E){return(E===72||E===104)&&R5.call(i,i.previous)&&!Nc(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(E),e.consume(E),d):a(E)}function d(E){if(Tt(E)&&o.length<5)return o+=String.fromCodePoint(E),e.consume(E),d;if(E===58){const C=o.toLowerCase();if(C==="http"||C==="https")return e.consume(E),f}return a(E)}function f(E){return E===47?(e.consume(E),s?h:(s=!0,f)):a(E)}function h(E){return E===null||Ex(E)||Ze(E)||or(E)||Sx(E)?a(E):e.attempt(S5,e.attempt(M5,m),a)(E)}function m(E){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),r(E)}}function qS(e,r,a){let i=0;return o;function o(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),o):u===46&&i===3?(e.consume(u),s):a(u)}function s(u){return u===null?a(u):r(u)}}function VS(e,r,a){let i,o,s;return u;function u(h){return h===46||h===95?e.check(_5,f,d)(h):h===null||Ze(h)||or(h)||h!==45&&Sx(h)?f(h):(s=!0,e.consume(h),u)}function d(h){return h===95?i=!0:(o=i,i=void 0),e.consume(h),u}function f(h){return o||i||!s?a(h):r(h)}}function QS(e,r){let a=0,i=0;return o;function o(u){return u===40?(a++,e.consume(u),o):u===41&&i<a?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(_5,r,s)(u):u===null||Ze(u)||or(u)?r(u):(e.consume(u),o)}function s(u){return u===41&&i++,e.consume(u),o}}function GS(e,r,a){return i;function i(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),i):d===38?(e.consume(d),s):d===93?(e.consume(d),o):d===60||d===null||Ze(d)||or(d)?r(d):a(d)}function o(d){return d===null||d===40||d===91||Ze(d)||or(d)?r(d):i(d)}function s(d){return Tt(d)?u(d):a(d)}function u(d){return d===59?(e.consume(d),i):Tt(d)?(e.consume(d),u):a(d)}}function IS(e,r,a){return i;function i(s){return e.consume(s),o}function o(s){return wt(s)?a(s):r(s)}}function N5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ze(e)}function R5(e){return!Tt(e)}function O5(e){return!(e===47||Ku(e))}function Ku(e){return e===43||e===45||e===46||e===95||wt(e)}function Nc(e){let r=e.length,a=!1;for(;r--;){const i=e[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){a=!0;break}if(i._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const $S={tokenize:tM,partial:!0};function YS(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:JS,continuation:{tokenize:WS},exit:eM}},text:{91:{name:"gfmFootnoteCall",tokenize:KS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:XS,resolveTo:ZS}}}}function XS(e,r,a){const i=this;let o=i.events.length;const s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;o--;){const f=i.events[o][1];if(f.type==="labelImage"){u=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!u||!u._balanced)return a(f);const h=wn(i.sliceSerialize({start:u.end,end:i.now()}));return h.codePointAt(0)!==94||!s.includes(h.slice(1))?a(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),r(f))}}function ZS(e,r){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},d=[e[a+1],e[a+2],["enter",i,r],e[a+3],e[a+4],["enter",o,r],["exit",o,r],["enter",s,r],["enter",u,r],["exit",u,r],["exit",s,r],e[e.length-2],e[e.length-1],["exit",i,r]];return e.splice(a,e.length-a+1,...d),e}function KS(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s=0,u;return d;function d(E){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),f}function f(E){return E!==94?a(E):(e.enter("gfmFootnoteCallMarker"),e.consume(E),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(E){if(s>999||E===93&&!u||E===null||E===91||Ze(E))return a(E);if(E===93){e.exit("chunkString");const C=e.exit("gfmFootnoteCallString");return o.includes(wn(i.sliceSerialize(C)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(E),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):a(E)}return Ze(E)||(u=!0),s++,e.consume(E),E===92?m:h}function m(E){return E===91||E===92||E===93?(e.consume(E),s++,h):h(E)}}function JS(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,u=0,d;return f;function f(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):a(g)}function m(g){if(u>999||g===93&&!d||g===null||g===91||Ze(g))return a(g);if(g===93){e.exit("chunkString");const A=e.exit("gfmFootnoteDefinitionLabelString");return s=wn(i.sliceSerialize(A)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),C}return Ze(g)||(d=!0),u++,e.consume(g),g===92?E:m}function E(g){return g===91||g===92||g===93?(e.consume(g),u++,m):m(g)}function C(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),o.includes(s)||o.push(s),Oe(e,y,"gfmFootnoteDefinitionWhitespace")):a(g)}function y(g){return r(g)}}function WS(e,r,a){return e.check(Ml,r,e.attempt($S,r,a))}function eM(e){e.exit("gfmFootnoteDefinition")}function tM(e,r,a){const i=this;return Oe(e,o,"gfmFootnoteDefinitionIndent",5);function o(s){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(s):a(s)}}function nM(e){let a=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:s,resolveAll:o};return a==null&&(a=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function o(u,d){let f=-1;for(;++f<u.length;)if(u[f][0]==="enter"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._close){let h=f;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[f][1].end.offset-u[f][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[f][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[f][1].end)},E={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[f][1].start)},C=[["enter",m,d],["enter",u[h][1],d],["exit",u[h][1],d],["enter",E,d]],y=d.parser.constructs.insideSpan.null;y&&an(C,C.length,0,Mx(y,u.slice(h+1,f),d)),an(C,C.length,0,[["exit",E,d],["enter",u[f][1],d],["exit",u[f][1],d],["exit",m,d]]),an(u,h-1,f-h+3,C),f=h+C.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function s(u,d,f){const h=this.previous,m=this.events;let E=0;return C;function C(g){return h===126&&m[m.length-1][1].type!=="characterEscape"?f(g):(u.enter("strikethroughSequenceTemporary"),y(g))}function y(g){const A=ta(h);if(g===126)return E>1?f(g):(u.consume(g),E++,y);if(E<2&&!a)return f(g);const F=u.exit("strikethroughSequenceTemporary"),v=ta(g);return F._open=!v||v===2&&!!A,F._close=!A||A===2&&!!v,d(g)}}}class rM{constructor(){this.map=[]}add(r,a,i){aM(this,r,a,i)}consume(r){if(this.map.sort(function(s,u){return s[0]-u[0]}),this.map.length===0)return;let a=this.map.length;const i=[];for(;a>0;)a-=1,i.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];i.push(r.slice()),r.length=0;let o=i.pop();for(;o;){for(const s of o)r.push(s);o=i.pop()}this.map.length=0}}function aM(e,r,a,i){let o=0;if(!(a===0&&i.length===0)){for(;o<e.map.length;){if(e.map[o][0]===r){e.map[o][1]+=a,e.map[o][2].push(...i);return}o+=1}e.map.push([r,a,i])}}function lM(e,r){let a=!1;const i=[];for(;r<e.length;){const o=e[r];if(a){if(o[0]==="enter")o[1].type==="tableContent"&&i.push(e[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[r-1][1].type==="tableDelimiterMarker"){const s=i.length-1;i[s]=i[s]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return i}function iM(){return{flow:{null:{name:"table",tokenize:xM,resolveAll:oM}}}}function xM(e,r,a){const i=this;let o=0,s=0,u;return d;function d(P){let J=i.events.length-1;for(;J>-1;){const ae=i.events[J][1].type;if(ae==="lineEnding"||ae==="linePrefix")J--;else break}const K=J>-1?i.events[J][1].type:null,ie=K==="tableHead"||K==="tableRow"?S:f;return ie===S&&i.parser.lazy[i.now().line]?a(P):ie(P)}function f(P){return e.enter("tableHead"),e.enter("tableRow"),h(P)}function h(P){return P===124||(u=!0,s+=1),m(P)}function m(P){return P===null?a(P):Be(P)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),y):a(P):_e(P)?Oe(e,m,"whitespace")(P):(s+=1,u&&(u=!1,o+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),u=!0,m):(e.enter("data"),E(P)))}function E(P){return P===null||P===124||Ze(P)?(e.exit("data"),m(P)):(e.consume(P),P===92?C:E)}function C(P){return P===92||P===124?(e.consume(P),E):E(P)}function y(P){return i.interrupt=!1,i.parser.lazy[i.now().line]?a(P):(e.enter("tableDelimiterRow"),u=!1,_e(P)?Oe(e,g,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):g(P))}function g(P){return P===45||P===58?F(P):P===124?(u=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),A):N(P)}function A(P){return _e(P)?Oe(e,F,"whitespace")(P):F(P)}function F(P){return P===58?(s+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(s+=1,v(P)):P===null||Be(P)?T(P):N(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),R(P)):N(P)}function R(P){return P===45?(e.consume(P),R):P===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(P))}function M(P){return _e(P)?Oe(e,T,"whitespace")(P):T(P)}function T(P){return P===124?g(P):P===null||Be(P)?!u||o!==s?N(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(P)):N(P)}function N(P){return a(P)}function S(P){return e.enter("tableRow"),_(P)}function _(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),_):P===null||Be(P)?(e.exit("tableRow"),r(P)):_e(P)?Oe(e,_,"whitespace")(P):(e.enter("data"),j(P))}function j(P){return P===null||P===124||Ze(P)?(e.exit("data"),_(P)):(e.consume(P),P===92?I:j)}function I(P){return P===92||P===124?(e.consume(P),j):j(P)}}function oM(e,r){let a=-1,i=!0,o=0,s=[0,0,0,0],u=[0,0,0,0],d=!1,f=0,h,m,E;const C=new rM;for(;++a<e.length;){const y=e[a],g=y[1];y[0]==="enter"?g.type==="tableHead"?(d=!1,f!==0&&(ch(C,r,f,h,m),m=void 0,f=0),h={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(a,0,[["enter",h,r]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(i=!0,E=void 0,s=[0,0,0,0],u=[0,a+1,0,0],d&&(d=!1,m={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},C.add(a,0,[["enter",m,r]])),o=g.type==="tableDelimiterRow"?2:m?3:1):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(s[1]!==0&&(u[0]=u[1],E=rx(C,r,s,o,void 0,E),s=[0,0,0,0]),u[2]=a)):g.type==="tableCellDivider"&&(i?i=!1:(s[1]!==0&&(u[0]=u[1],E=rx(C,r,s,o,void 0,E)),s=u,u=[s[1],a,0,0])):g.type==="tableHead"?(d=!0,f=a):g.type==="tableRow"||g.type==="tableDelimiterRow"?(f=a,s[1]!==0?(u[0]=u[1],E=rx(C,r,s,o,a,E)):u[1]!==0&&(E=rx(C,r,u,o,a,E)),o=0):o&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(u[3]=a)}for(f!==0&&ch(C,r,f,h,m),C.consume(r.events),a=-1;++a<r.events.length;){const y=r.events[a];y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=lM(r.events,a))}return e}function rx(e,r,a,i,o,s){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",d="tableContent";a[0]!==0&&(s.end=Object.assign({},ea(r.events,a[0])),e.add(a[0],0,[["exit",s,r]]));const f=ea(r.events,a[1]);if(s={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(a[1],0,[["enter",s,r]]),a[2]!==0){const h=ea(r.events,a[2]),m=ea(r.events,a[3]),E={type:d,start:Object.assign({},h),end:Object.assign({},m)};if(e.add(a[2],0,[["enter",E,r]]),i!==2){const C=r.events[a[2]],y=r.events[a[3]];if(C[1].end=Object.assign({},y[1].end),C[1].type="chunkText",C[1].contentType="text",a[3]>a[2]+1){const g=a[2]+1,A=a[3]-a[2]-1;e.add(g,A,[])}}e.add(a[3]+1,0,[["exit",E,r]])}return o!==void 0&&(s.end=Object.assign({},ea(r.events,o)),e.add(o,0,[["exit",s,r]]),s=void 0),s}function ch(e,r,a,i,o){const s=[],u=ea(r.events,a);o&&(o.end=Object.assign({},u),s.push(["exit",o,r])),i.end=Object.assign({},u),s.push(["exit",i,r]),e.add(a+1,0,s)}function ea(e,r){const a=e[r],i=a[0]==="enter"?"start":"end";return a[1][i]}const sM={name:"tasklistCheck",tokenize:cM};function uM(){return{text:{91:sM}}}function cM(e,r,a){const i=this;return o;function o(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?a(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),s)}function s(f){return Ze(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),u):a(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):a(f)}function d(f){return Be(f)?r(f):_e(f)?e.check({tokenize:fM},r,a)(f):a(f)}}function fM(e,r,a){return Oe(e,i,"whitespace");function i(o){return o===null?a(o):r(o)}}function dM(e){return G2([LS(),YS(),nM(e),iM(),uM()])}const hM={};function EM(e){const r=this,a=e||hM,i=r.data(),o=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);o.push(dM(a)),s.push(NS()),u.push(RS(a))}function dl({children:e}){return D.jsx("div",{className:"md",children:D.jsx(ew,{remarkPlugins:[EM,cw],children:e})})}function pM({sessionId:e,working:r}){const{entries:a,loading:i,error:o}=vA(e),s=Re(A=>A.pending),u=Re(A=>A.removePending),d=dc(),f=L.useRef(null),h=L.useRef(!0),m=new Set(a.filter(A=>A.role==="user").map(A=>A.text.trim())),C=s.filter(A=>A.sessionId===e).filter(A=>!(A.status==="sending"&&m.has(A.text.trim())));L.useEffect(()=>{const A=new Set(a.filter(F=>F.role==="user").map(F=>F.text.trim()));for(const F of s)F.sessionId===e&&F.status==="sending"&&A.has(F.text.trim())&&u(F.id)},[a,s,e,u]);const y=()=>{const A=f.current;A&&(h.current=A.scrollHeight-A.scrollTop-A.clientHeight<120)};if(L.useLayoutEffect(()=>{const A=f.current;A&&h.current&&(A.scrollTop=A.scrollHeight)},[a,C.length,r]),L.useEffect(()=>{h.current=!0},[e]),L.useEffect(()=>{const A=f.current;if(!A)return;const F=new ResizeObserver(()=>{h.current&&(A.scrollTop=A.scrollHeight)});return F.observe(A),()=>F.disconnect()},[]),!e)return D.jsx(bn,{children:"No active session in this workspace."});const g=a.length===0&&C.length===0;return D.jsx("div",{ref:f,onScroll:y,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:i&&g?D.jsx(wl,{label:"Loading transcript…"}):o&&g?D.jsx(bn,{children:o}):g&&!r?D.jsx(bn,{children:"No messages yet."}):D.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[mM(a).map(A=>A.kind==="steps"?D.jsx(CM,{entries:A.entries},A.key):D.jsx(j5,{e:A.e},A.key)),C.map(A=>D.jsx(yM,{p:A,onRetry:()=>d({id:A.id,sessionId:A.sessionId,workspaceId:A.workspaceId,text:A.text}),onDismiss:()=>u(A.id)},A.id)),r?D.jsx(BM,{}):null]})})}const ox=e=>`${e.rowid}-${e.id}`;function mM(e){const r=[];let a=[];const i=()=>{if(a.length>1)r.push({kind:"steps",key:`steps-${ox(a[0])}`,entries:a});else for(const o of a)r.push({kind:"entry",key:ox(o),e:o});a=[]};for(const o of e){if(o.role==="tool"||o.role==="thinking"){a.push(o);continue}i(),r.push({kind:"entry",key:ox(o),e:o})}return i(),r}function CM({entries:e}){const r=e.filter(o=>o.error).length,a=e[e.length-1],i=a.role==="thinking"?"Thinking":a.text;return D.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[D.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[D.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),D.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[e.length," steps"]}),D.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:i}),r?D.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[r," failed"]}):null]}),D.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:e.map(o=>D.jsx(j5,{e:o},ox(o)))})]})}function yM({p:e,onRetry:r,onDismiss:a}){return e.status==="error"?D.jsxs("div",{className:"flex flex-col items-end gap-1",children:[D.jsx(yx,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:D.jsx(dl,{children:e.text})}),D.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[D.jsx(n2,{size:11,className:"shrink-0"}),D.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),D.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}),D.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):D.jsxs("div",{className:"flex flex-col items-end gap-1",children:[D.jsx(yx,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:D.jsx(dl,{children:e.text})}),D.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[D.jsx(Jh,{size:11,className:"animate-spin"}),"Sending…"]})]})}function j5({e}){return e.role==="user"?D.jsx("div",{className:"flex justify-end",children:D.jsxs(yx,{className:tt("max-w-[85%] bg-accent-soft text-text",e.queued&&"opacity-60"),children:[e.queued?D.jsx(gM,{children:"queued"}):null,D.jsx(dl,{children:e.text})]})}):e.role==="tool"?e.error?D.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:D.jsx("pre",{className:"line-clamp-4 whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-del/80 [overflow-wrap:anywhere]",children:e.text})}):D.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[D.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"▸"}),D.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:e.text}),e.detail?D.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint",children:e.detail}):null]}):e.role==="thinking"?D.jsxs("details",{className:"group/think px-1",children:[D.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[D.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),D.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:D.jsx(dl,{children:e.text})})]}):e.role==="system"?D.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:e.text}):D.jsx("div",{className:"flex justify-start",children:D.jsx(yx,{className:"max-w-[92%] bg-surface",children:D.jsx(dl,{children:e.text})})})}function BM(){return D.jsx("div",{className:"fade-in flex justify-start",children:D.jsxs("div",{className:"flex items-center gap-1 rounded-2xl bg-surface px-3.5 py-3",children:[D.jsx("span",{className:"typing-dot"}),D.jsx("span",{className:"typing-dot"}),D.jsx("span",{className:"typing-dot"})]})})}function yx({children:e,className:r}){return D.jsx("div",{className:tt("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:e})}function gM({children:e}){return D.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function AM(){const{workspaceId:e}=Tm(),[r,a]=L.useState(!1),[i,o]=L.useState(null),[s,u]=L.useState(!1),d=na(),{data:f,isLoading:h}=wx(),{data:m}=u2(e),E=Re(N=>N.workingHints);L.useEffect(()=>o(null),[e]);const C=f?.workspaces.find(N=>N.id===e),y=f?.actuator,g=m?.sessions??[],A=(i&&g.some(N=>N.id===i)?i:null)??C?.active_session_id??g[0]?.id??null,F=g.find(N=>N.id===A);if(!C)return D.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[D.jsx(Uu,{title:"Session",menu:!0}),h?D.jsx(wl,{}):D.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const v=A?E[A]:void 0,R=F?.status==="working"||v!==void 0&&Date.now()-v<15e3,M=[C.repo_name,C.branch,pc(C.model)].filter(Boolean).join(" · "),T=async()=>{if(!s){u(!0);try{const N=await Nt.newChat(C.id);N.ok&&(await d.invalidateQueries({queryKey:["sessions",C.id]}),N.sessionId&&o(N.sessionId))}finally{u(!1)}}};return D.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[D.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[D.jsx(Uu,{title:gl(C),subtitle:M,menu:!0,right:D.jsx("button",{type:"button",onClick:()=>a(N=>!N),"aria-label":"Toggle diff panel","aria-pressed":r,className:tt("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",r&&"bg-surface-2 text-text"),children:D.jsx(Y3,{size:19})})}),g.length>0?D.jsx(DM,{sessions:g,activeId:A,onSelect:o,onNewChat:T,creating:s}):null,D.jsx(pM,{sessionId:A,working:R}),F?D.jsx(wD,{session:F,workspaceId:C.id}):null,D.jsx(SD,{sessionId:A,workspaceId:C.id,actuator:y},C.id)]}),r?D.jsx(FM,{workspaceId:C.id,onClose:()=>a(!1)}):null]})}function DM({sessions:e,activeId:r,onSelect:a,onNewChat:i,creating:o}){return D.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[D.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(s=>D.jsxs("button",{type:"button",onClick:()=>a(s.id),className:tt("pill flex shrink-0 items-center gap-1.5",s.id===r&&"pill-active"),children:[s.status==="working"?D.jsx("span",{className:"dot dot-working size-1.5!"}):null,D.jsx("span",{className:"max-w-36 truncate",children:s.title||"Untitled"}),s.unread_count?D.jsx(S2,{children:s.unread_count}):null]},s.id))}),D.jsx("button",{type:"button",onClick:i,disabled:o,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:D.jsx(Wh,{size:18})})]})}function FM({workspaceId:e,onClose:r}){return D.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[D.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[D.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),D.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:20})})]}),D.jsx(UD,{workspaceId:e})]})}var sx={exports:{}},vM=sx.exports,fh;function kM(){return fh||(fh=1,(function(e,r){(function(i,o){e.exports=o()})(typeof self<"u"?self:vM,function(){return(function(a){var i={};function o(s){if(i[s])return i[s].exports;var u=i[s]={i:s,l:!1,exports:{}};return a[s].call(u.exports,u,u.exports,o),u.l=!0,u.exports}return o.m=a,o.c=i,o.d=function(s,u,d){o.o(s,u)||Object.defineProperty(s,u,{configurable:!1,enumerable:!0,get:d})},o.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return o.d(u,"a",u),u},o.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)},o.p="",o(o.s=3)})([(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=(function(){function u(d,f){this.width=f,this.height=d.length/f,this.data=d}return u.createEmpty=function(d,f){return new u(new Uint8ClampedArray(d*f),d)},u.prototype.get=function(d,f){return d<0||d>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+d]},u.prototype.set=function(d,f,h){this.data[f*this.width+d]=h?1:0},u.prototype.setRegion=function(d,f,h,m,E){for(var C=f;C<f+m;C++)for(var y=d;y<d+h;y++)this.set(y,C,!!E)},u})();i.BitMatrix=s}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(2);function u(f,h){return f^h}i.addOrSubtractGF=u;var d=(function(){function f(h,m,E){this.primitive=h,this.size=m,this.generatorBase=E,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var C=1,y=0;y<this.size;y++)this.expTable[y]=C,C=C*2,C>=this.size&&(C=(C^this.primitive)&this.size-1);for(var y=0;y<this.size-1;y++)this.logTable[this.expTable[y]]=y;this.zero=new s.default(this,Uint8ClampedArray.from([0])),this.one=new s.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,m){return h===0||m===0?0:this.expTable[(this.logTable[h]+this.logTable[m])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,m){if(h<0)throw new Error("Invalid monomial degree less than 0");if(m===0)return this.zero;var E=new Uint8ClampedArray(h+1);return E[0]=m,new s.default(this,E)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();i.default=d}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(1),u=(function(){function d(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var m=h.length;if(m>1&&h[0]===0){for(var E=1;E<m&&h[E]===0;)E++;if(E===m)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(m-E);for(var C=0;C<this.coefficients.length;C++)this.coefficients[C]=h[E+C]}}else this.coefficients=h}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},d.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var m=this.coefficients,E=f.coefficients;m.length>E.length&&(h=[E,m],m=h[0],E=h[1]);for(var C=new Uint8ClampedArray(E.length),y=E.length-m.length,g=0;g<y;g++)C[g]=E[g];for(var g=y;g<E.length;g++)C[g]=s.addOrSubtractGF(m[g-y],E[g]);return new d(this.field,C)},d.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,m=new Uint8ClampedArray(h),E=0;E<h;E++)m[E]=this.field.multiply(this.coefficients[E],f);return new d(this.field,m)},d.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,m=h.length,E=f.coefficients,C=E.length,y=new Uint8ClampedArray(m+C-1),g=0;g<m;g++)for(var A=h[g],F=0;F<C;F++)y[g+F]=s.addOrSubtractGF(y[g+F],this.field.multiply(A,E[F]));return new d(this.field,y)},d.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var m=this.coefficients.length,E=new Uint8ClampedArray(m+f),C=0;C<m;C++)E[C]=this.field.multiply(this.coefficients[C],h);return new d(this.field,E)},d.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var m=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(C){h=s.addOrSubtractGF(h,C)}),h;h=this.coefficients[0];for(var E=1;E<m;E++)h=s.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[E]);return h},d})();i.default=u}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(4),u=o(5),d=o(11),f=o(12);function h(C){var y=f.locate(C);if(!y)return null;for(var g=0,A=y;g<A.length;g++){var F=A[g],v=d.extract(C,F),R=u.decode(v.matrix);if(R)return{binaryData:R.bytes,data:R.text,chunks:R.chunks,version:R.version,location:{topRightCorner:v.mappingFunction(F.dimension,0),topLeftCorner:v.mappingFunction(0,0),bottomRightCorner:v.mappingFunction(F.dimension,F.dimension),bottomLeftCorner:v.mappingFunction(0,F.dimension),topRightFinderPattern:F.topRight,topLeftFinderPattern:F.topLeft,bottomLeftFinderPattern:F.bottomLeft,bottomRightAlignmentPattern:F.alignmentPattern}}}return null}var m={inversionAttempts:"attemptBoth"};function E(C,y,g,A){A===void 0&&(A={});var F=m;Object.keys(F||{}).forEach(function(_){F[_]=A[_]||F[_]});var v=F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst",R=F.inversionAttempts==="onlyInvert"||F.inversionAttempts==="invertFirst",M=s.binarize(C,y,g,v),T=M.binarized,N=M.inverted,S=h(R?N:T);return!S&&(F.inversionAttempts==="attemptBoth"||F.inversionAttempts==="invertFirst")&&(S=h(R?T:N)),S}E.default=E,i.default=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0),u=8,d=24;function f(E,C,y){return E<C?C:E>y?y:E}var h=(function(){function E(C,y){this.width=C,this.data=new Uint8ClampedArray(C*y)}return E.prototype.get=function(C,y){return this.data[y*this.width+C]},E.prototype.set=function(C,y,g){this.data[y*this.width+C]=g},E})();function m(E,C,y,g){if(E.length!==C*y*4)throw new Error("Malformed data passed to binarizer.");for(var A=new h(C,y),F=0;F<C;F++)for(var v=0;v<y;v++){var R=E[(v*C+F)*4+0],M=E[(v*C+F)*4+1],T=E[(v*C+F)*4+2];A.set(F,v,.2126*R+.7152*M+.0722*T)}for(var N=Math.ceil(C/u),S=Math.ceil(y/u),_=new h(N,S),j=0;j<S;j++)for(var I=0;I<N;I++){for(var P=0,J=1/0,K=0,v=0;v<u;v++)for(var F=0;F<u;F++){var ie=A.get(I*u+F,j*u+v);P+=ie,J=Math.min(J,ie),K=Math.max(K,ie)}var ae=P/Math.pow(u,2);if(K-J<=d&&(ae=J/2,j>0&&I>0)){var X=(_.get(I,j-1)+2*_.get(I-1,j)+_.get(I-1,j-1))/4;J<X&&(ae=X)}_.set(I,j,ae)}var H=s.BitMatrix.createEmpty(C,y),$=null;g&&($=s.BitMatrix.createEmpty(C,y));for(var j=0;j<S;j++)for(var I=0;I<N;I++){for(var xe=f(I,2,N-3),fe=f(j,2,S-3),P=0,b=-2;b<=2;b++)for(var z=-2;z<=2;z++)P+=_.get(xe+b,fe+z);for(var Z=P/25,b=0;b<u;b++)for(var z=0;z<u;z++){var F=I*u+b,v=j*u+z,w=A.get(F,v);H.set(F,v,w<=Z),g&&$.set(F,v,!(w<=Z))}}return g?{binarized:H,inverted:$}:{binarized:H}}i.binarize=m}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0),u=o(6),d=o(9),f=o(10);function h(T,N){for(var S=T^N,_=0;S;)_++,S&=S-1;return _}function m(T,N){return N<<1|T}var E=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],C=[function(T){return(T.y+T.x)%2===0},function(T){return T.y%2===0},function(T){return T.x%3===0},function(T){return(T.y+T.x)%3===0},function(T){return(Math.floor(T.y/2)+Math.floor(T.x/3))%2===0},function(T){return T.x*T.y%2+T.x*T.y%3===0},function(T){return(T.y*T.x%2+T.y*T.x%3)%2===0},function(T){return((T.y+T.x)%2+T.y*T.x%3)%2===0}];function y(T){var N=17+4*T.versionNumber,S=s.BitMatrix.createEmpty(N,N);S.setRegion(0,0,9,9,!0),S.setRegion(N-8,0,8,9,!0),S.setRegion(0,N-8,9,8,!0);for(var _=0,j=T.alignmentPatternCenters;_<j.length;_++)for(var I=j[_],P=0,J=T.alignmentPatternCenters;P<J.length;P++){var K=J[P];I===6&&K===6||I===6&&K===N-7||I===N-7&&K===6||S.setRegion(I-2,K-2,5,5,!0)}return S.setRegion(6,9,1,N-17,!0),S.setRegion(9,6,N-17,1,!0),T.versionNumber>6&&(S.setRegion(N-11,0,3,6,!0),S.setRegion(0,N-11,6,3,!0)),S}function g(T,N,S){for(var _=C[S.dataMask],j=T.height,I=y(N),P=[],J=0,K=0,ie=!0,ae=j-1;ae>0;ae-=2){ae===6&&ae--;for(var X=0;X<j;X++)for(var H=ie?j-1-X:X,$=0;$<2;$++){var xe=ae-$;if(!I.get(xe,H)){K++;var fe=T.get(xe,H);_({y:H,x:xe})&&(fe=!fe),J=m(fe,J),K===8&&(P.push(J),K=0,J=0)}}ie=!ie}return P}function A(T){var N=T.height,S=Math.floor((N-17)/4);if(S<=6)return f.VERSIONS[S-1];for(var _=0,j=5;j>=0;j--)for(var I=N-9;I>=N-11;I--)_=m(T.get(I,j),_);for(var P=0,I=5;I>=0;I--)for(var j=N-9;j>=N-11;j--)P=m(T.get(I,j),P);for(var J=1/0,K,ie=0,ae=f.VERSIONS;ie<ae.length;ie++){var X=ae[ie];if(X.infoBits===_||X.infoBits===P)return X;var H=h(_,X.infoBits);H<J&&(K=X,J=H),H=h(P,X.infoBits),H<J&&(K=X,J=H)}if(J<=3)return K}function F(T){for(var N=0,S=0;S<=8;S++)S!==6&&(N=m(T.get(S,8),N));for(var _=7;_>=0;_--)_!==6&&(N=m(T.get(8,_),N));for(var j=T.height,I=0,_=j-1;_>=j-7;_--)I=m(T.get(8,_),I);for(var S=j-8;S<j;S++)I=m(T.get(S,8),I);for(var P=1/0,J=null,K=0,ie=E;K<ie.length;K++){var ae=ie[K],X=ae.bits,H=ae.formatInfo;if(X===N||X===I)return H;var $=h(N,X);$<P&&(J=H,P=$),N!==I&&($=h(I,X),$<P&&(J=H,P=$))}return P<=3?J:null}function v(T,N,S){var _=N.errorCorrectionLevels[S],j=[],I=0;if(_.ecBlocks.forEach(function(fe){for(var b=0;b<fe.numBlocks;b++)j.push({numDataCodewords:fe.dataCodewordsPerBlock,codewords:[]}),I+=fe.dataCodewordsPerBlock+_.ecCodewordsPerBlock}),T.length<I)return null;T=T.slice(0,I);for(var P=_.ecBlocks[0].dataCodewordsPerBlock,J=0;J<P;J++)for(var K=0,ie=j;K<ie.length;K++){var ae=ie[K];ae.codewords.push(T.shift())}if(_.ecBlocks.length>1)for(var X=_.ecBlocks[0].numBlocks,H=_.ecBlocks[1].numBlocks,J=0;J<H;J++)j[X+J].codewords.push(T.shift());for(;T.length>0;)for(var $=0,xe=j;$<xe.length;$++){var ae=xe[$];ae.codewords.push(T.shift())}return j}function R(T){var N=A(T);if(!N)return null;var S=F(T);if(!S)return null;var _=g(T,N,S),j=v(_,N,S.errorCorrectionLevel);if(!j)return null;for(var I=j.reduce(function($,xe){return $+xe.numDataCodewords},0),P=new Uint8ClampedArray(I),J=0,K=0,ie=j;K<ie.length;K++){var ae=ie[K],X=d.decode(ae.codewords,ae.codewords.length-ae.numDataCodewords);if(!X)return null;for(var H=0;H<ae.numDataCodewords;H++)P[J++]=X[H]}try{return u.decode(P,N.versionNumber)}catch{return null}}function M(T){if(T==null)return null;var N=R(T);if(N)return N;for(var S=0;S<T.width;S++)for(var _=S+1;_<T.height;_++)T.get(S,_)!==T.get(_,S)&&(T.set(S,_,!T.get(S,_)),T.set(_,S,!T.get(_,S)));return R(T)}i.decode=M}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(7),u=o(8),d;(function(A){A.Numeric="numeric",A.Alphanumeric="alphanumeric",A.Byte="byte",A.Kanji="kanji",A.ECI="eci"})(d=i.Mode||(i.Mode={}));var f;(function(A){A[A.Terminator=0]="Terminator",A[A.Numeric=1]="Numeric",A[A.Alphanumeric=2]="Alphanumeric",A[A.Byte=4]="Byte",A[A.Kanji=8]="Kanji",A[A.ECI=7]="ECI"})(f||(f={}));function h(A,F){for(var v=[],R="",M=[10,12,14][F],T=A.readBits(M);T>=3;){var N=A.readBits(10);if(N>=1e3)throw new Error("Invalid numeric value above 999");var S=Math.floor(N/100),_=Math.floor(N/10)%10,j=N%10;v.push(48+S,48+_,48+j),R+=S.toString()+_.toString()+j.toString(),T-=3}if(T===2){var N=A.readBits(7);if(N>=100)throw new Error("Invalid numeric value above 99");var S=Math.floor(N/10),_=N%10;v.push(48+S,48+_),R+=S.toString()+_.toString()}else if(T===1){var N=A.readBits(4);if(N>=10)throw new Error("Invalid numeric value above 9");v.push(48+N),R+=N.toString()}return{bytes:v,text:R}}var m=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function E(A,F){for(var v=[],R="",M=[9,11,13][F],T=A.readBits(M);T>=2;){var N=A.readBits(11),S=Math.floor(N/45),_=N%45;v.push(m[S].charCodeAt(0),m[_].charCodeAt(0)),R+=m[S]+m[_],T-=2}if(T===1){var S=A.readBits(6);v.push(m[S].charCodeAt(0)),R+=m[S]}return{bytes:v,text:R}}function C(A,F){for(var v=[],R="",M=[8,16,16][F],T=A.readBits(M),N=0;N<T;N++){var S=A.readBits(8);v.push(S)}try{R+=decodeURIComponent(v.map(function(_){return"%"+("0"+_.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:v,text:R}}function y(A,F){for(var v=[],R="",M=[8,10,12][F],T=A.readBits(M),N=0;N<T;N++){var S=A.readBits(13),_=Math.floor(S/192)<<8|S%192;_<7936?_+=33088:_+=49472,v.push(_>>8,_&255),R+=String.fromCharCode(u.shiftJISTable[_])}return{bytes:v,text:R}}function g(A,F){for(var v,R,M,T,N=new s.BitStream(A),S=F<=9?0:F<=26?1:2,_={text:"",bytes:[],chunks:[],version:F};N.available()>=4;){var j=N.readBits(4);if(j===f.Terminator)return _;if(j===f.ECI)N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(7)}):N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(14)}):N.readBits(1)===0?_.chunks.push({type:d.ECI,assignmentNumber:N.readBits(21)}):_.chunks.push({type:d.ECI,assignmentNumber:-1});else if(j===f.Numeric){var I=h(N,S);_.text+=I.text,(v=_.bytes).push.apply(v,I.bytes),_.chunks.push({type:d.Numeric,text:I.text})}else if(j===f.Alphanumeric){var P=E(N,S);_.text+=P.text,(R=_.bytes).push.apply(R,P.bytes),_.chunks.push({type:d.Alphanumeric,text:P.text})}else if(j===f.Byte){var J=C(N,S);_.text+=J.text,(M=_.bytes).push.apply(M,J.bytes),_.chunks.push({type:d.Byte,bytes:J.bytes,text:J.text})}else if(j===f.Kanji){var K=y(N,S);_.text+=K.text,(T=_.bytes).push.apply(T,K.bytes),_.chunks.push({type:d.Kanji,bytes:K.bytes,text:K.text})}}if(N.available()===0||N.readBits(N.available())===0)return _}i.decode=g}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=(function(){function u(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return u.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,m=d<h?d:h,E=h-m,C=255>>8-m<<E;f=(this.bytes[this.byteOffset]&C)>>E,d-=m,this.bitOffset+=m,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var E=8-d,C=255>>E<<E;f=f<<d|(this.bytes[this.byteOffset]&C)>>E,this.bitOffset+=d}}return f},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=s}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(1),u=o(2);function d(E,C,y,g){var A;C.degree()<y.degree()&&(A=[y,C],C=A[0],y=A[1]);for(var F=C,v=y,R=E.zero,M=E.one;v.degree()>=g/2;){var T=F,N=R;if(F=v,R=M,F.isZero())return null;v=T;for(var S=E.zero,_=F.getCoefficient(F.degree()),j=E.inverse(_);v.degree()>=F.degree()&&!v.isZero();){var I=v.degree()-F.degree(),P=E.multiply(v.getCoefficient(v.degree()),j);S=S.addOrSubtract(E.buildMonomial(I,P)),v=v.addOrSubtract(F.multiplyByMonomial(I,P))}if(M=S.multiplyPoly(R).addOrSubtract(N),v.degree()>=F.degree())return null}var J=M.getCoefficient(0);if(J===0)return null;var K=E.inverse(J);return[M.multiply(K),v.multiply(K)]}function f(E,C){var y=C.degree();if(y===1)return[C.getCoefficient(1)];for(var g=new Array(y),A=0,F=1;F<E.size&&A<y;F++)C.evaluateAt(F)===0&&(g[A]=E.inverse(F),A++);return A!==y?null:g}function h(E,C,y){for(var g=y.length,A=new Array(g),F=0;F<g;F++){for(var v=E.inverse(y[F]),R=1,M=0;M<g;M++)F!==M&&(R=E.multiply(R,s.addOrSubtractGF(1,E.multiply(y[M],v))));A[F]=E.multiply(C.evaluateAt(v),E.inverse(R)),E.generatorBase!==0&&(A[F]=E.multiply(A[F],v))}return A}function m(E,C){var y=new Uint8ClampedArray(E.length);y.set(E);for(var g=new s.default(285,256,0),A=new u.default(g,y),F=new Uint8ClampedArray(C),v=!1,R=0;R<C;R++){var M=A.evaluateAt(g.exp(R+g.generatorBase));F[F.length-1-R]=M,M!==0&&(v=!0)}if(!v)return y;var T=new u.default(g,F),N=d(g,g.buildMonomial(C,1),T,C);if(N===null)return null;var S=f(g,N[0]);if(S==null)return null;for(var _=h(g,N[1],S),j=0;j<S.length;j++){var I=y.length-1-g.log(S[j]);if(I<0)return null;y[I]=s.addOrSubtractGF(y[I],_[j])}return y}i.decode=m}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=o(0);function u(m,E,C,y){var g=m.x-E.x+C.x-y.x,A=m.y-E.y+C.y-y.y;if(g===0&&A===0)return{a11:E.x-m.x,a12:E.y-m.y,a13:0,a21:C.x-E.x,a22:C.y-E.y,a23:0,a31:m.x,a32:m.y,a33:1};var F=E.x-C.x,v=y.x-C.x,R=E.y-C.y,M=y.y-C.y,T=F*M-v*R,N=(g*M-v*A)/T,S=(F*A-g*R)/T;return{a11:E.x-m.x+N*E.x,a12:E.y-m.y+N*E.y,a13:N,a21:y.x-m.x+S*y.x,a22:y.y-m.y+S*y.y,a23:S,a31:m.x,a32:m.y,a33:1}}function d(m,E,C,y){var g=u(m,E,C,y);return{a11:g.a22*g.a33-g.a23*g.a32,a12:g.a13*g.a32-g.a12*g.a33,a13:g.a12*g.a23-g.a13*g.a22,a21:g.a23*g.a31-g.a21*g.a33,a22:g.a11*g.a33-g.a13*g.a31,a23:g.a13*g.a21-g.a11*g.a23,a31:g.a21*g.a32-g.a22*g.a31,a32:g.a12*g.a31-g.a11*g.a32,a33:g.a11*g.a22-g.a12*g.a21}}function f(m,E){return{a11:m.a11*E.a11+m.a21*E.a12+m.a31*E.a13,a12:m.a12*E.a11+m.a22*E.a12+m.a32*E.a13,a13:m.a13*E.a11+m.a23*E.a12+m.a33*E.a13,a21:m.a11*E.a21+m.a21*E.a22+m.a31*E.a23,a22:m.a12*E.a21+m.a22*E.a22+m.a32*E.a23,a23:m.a13*E.a21+m.a23*E.a22+m.a33*E.a23,a31:m.a11*E.a31+m.a21*E.a32+m.a31*E.a33,a32:m.a12*E.a31+m.a22*E.a32+m.a32*E.a33,a33:m.a13*E.a31+m.a23*E.a32+m.a33*E.a33}}function h(m,E){for(var C=d({x:3.5,y:3.5},{x:E.dimension-3.5,y:3.5},{x:E.dimension-6.5,y:E.dimension-6.5},{x:3.5,y:E.dimension-3.5}),y=u(E.topLeft,E.topRight,E.alignmentPattern,E.bottomLeft),g=f(y,C),A=s.BitMatrix.createEmpty(E.dimension,E.dimension),F=function(S,_){var j=g.a13*S+g.a23*_+g.a33;return{x:(g.a11*S+g.a21*_+g.a31)/j,y:(g.a12*S+g.a22*_+g.a32)/j}},v=0;v<E.dimension;v++)for(var R=0;R<E.dimension;R++){var M=R+.5,T=v+.5,N=F(M,T);A.set(R,v,m.get(Math.floor(N.x),Math.floor(N.y)))}return{matrix:A,mappingFunction:F}}i.extract=h}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var s=4,u=.5,d=1.5,f=function(M,T){return Math.sqrt(Math.pow(T.x-M.x,2)+Math.pow(T.y-M.y,2))};function h(M){return M.reduce(function(T,N){return T+N})}function m(M,T,N){var S,_,j,I,P=f(M,T),J=f(T,N),K=f(M,N),ie,ae,X;return J>=P&&J>=K?(S=[T,M,N],ie=S[0],ae=S[1],X=S[2]):K>=J&&K>=P?(_=[M,T,N],ie=_[0],ae=_[1],X=_[2]):(j=[M,N,T],ie=j[0],ae=j[1],X=j[2]),(X.x-ae.x)*(ie.y-ae.y)-(X.y-ae.y)*(ie.x-ae.x)<0&&(I=[X,ie],ie=I[0],X=I[1]),{bottomLeft:ie,topLeft:ae,topRight:X}}function E(M,T,N,S){var _=(h(y(M,N,S,5))/7+h(y(M,T,S,5))/7+h(y(N,M,S,5))/7+h(y(T,M,S,5))/7)/4;if(_<1)throw new Error("Invalid module size");var j=Math.round(f(M,T)/_),I=Math.round(f(M,N)/_),P=Math.floor((j+I)/2)+7;switch(P%4){case 0:P++;break;case 2:P--;break}return{dimension:P,moduleSize:_}}function C(M,T,N,S){var _=[{x:Math.floor(M.x),y:Math.floor(M.y)}],j=Math.abs(T.y-M.y)>Math.abs(T.x-M.x),I,P,J,K;j?(I=Math.floor(M.y),P=Math.floor(M.x),J=Math.floor(T.y),K=Math.floor(T.x)):(I=Math.floor(M.x),P=Math.floor(M.y),J=Math.floor(T.x),K=Math.floor(T.y));for(var ie=Math.abs(J-I),ae=Math.abs(K-P),X=Math.floor(-ie/2),H=I<J?1:-1,$=P<K?1:-1,xe=!0,fe=I,b=P;fe!==J+H;fe+=H){var z=j?b:fe,Z=j?fe:b;if(N.get(z,Z)!==xe&&(xe=!xe,_.push({x:z,y:Z}),_.length===S+1))break;if(X+=ae,X>0){if(b===K)break;b+=$,X-=ie}}for(var w=[],re=0;re<S;re++)_[re]&&_[re+1]?w.push(f(_[re],_[re+1])):w.push(0);return w}function y(M,T,N,S){var _,j=T.y-M.y,I=T.x-M.x,P=C(M,T,N,Math.ceil(S/2)),J=C(M,{x:M.x-I,y:M.y-j},N,Math.ceil(S/2)),K=P.shift()+J.shift()-1;return(_=J.concat(K)).concat.apply(_,P)}function g(M,T){var N=h(M)/h(T),S=0;return T.forEach(function(_,j){S+=Math.pow(M[j]-_*N,2)}),{averageSize:N,error:S}}function A(M,T,N){try{var S=y(M,{x:-1,y:M.y},N,T.length),_=y(M,{x:M.x,y:-1},N,T.length),j={x:Math.max(0,M.x-M.y)-1,y:Math.max(0,M.y-M.x)-1},I=y(M,j,N,T.length),P={x:Math.min(N.width,M.x+M.y)+1,y:Math.min(N.height,M.y+M.x)+1},J=y(M,P,N,T.length),K=g(S,T),ie=g(_,T),ae=g(I,T),X=g(J,T),H=Math.sqrt(K.error*K.error+ie.error*ie.error+ae.error*ae.error+X.error*X.error),$=(K.averageSize+ie.averageSize+ae.averageSize+X.averageSize)/4,xe=(Math.pow(K.averageSize-$,2)+Math.pow(ie.averageSize-$,2)+Math.pow(ae.averageSize-$,2)+Math.pow(X.averageSize-$,2))/$;return H+xe}catch{return 1/0}}function F(M,T){for(var N=Math.round(T.x);M.get(N,Math.round(T.y));)N--;for(var S=Math.round(T.x);M.get(S,Math.round(T.y));)S++;for(var _=(N+S)/2,j=Math.round(T.y);M.get(Math.round(_),j);)j--;for(var I=Math.round(T.y);M.get(Math.round(_),I);)I++;var P=(j+I)/2;return{x:_,y:P}}function v(M){for(var T=[],N=[],S=[],_=[],j=function(z){for(var Z=0,w=!1,re=[0,0,0,0,0],ce=function(me){var je=M.get(me,z);if(je===w)Z++;else{re=[re[1],re[2],re[3],re[4],Z],Z=1,w=je;var Ce=h(re)/7,Ct=Math.abs(re[0]-Ce)<Ce&&Math.abs(re[1]-Ce)<Ce&&Math.abs(re[2]-3*Ce)<3*Ce&&Math.abs(re[3]-Ce)<Ce&&Math.abs(re[4]-Ce)<Ce&&!je,at=h(re.slice(-3))/3,xn=Math.abs(re[2]-at)<at&&Math.abs(re[3]-at)<at&&Math.abs(re[4]-at)<at&&je;if(Ct){var $t=me-re[3]-re[4],xt=$t-re[2],Rt={startX:xt,endX:$t,y:z},on=N.filter(function(yt){return xt>=yt.bottom.startX&&xt<=yt.bottom.endX||$t>=yt.bottom.startX&&xt<=yt.bottom.endX||xt<=yt.bottom.startX&&$t>=yt.bottom.endX&&re[2]/(yt.bottom.endX-yt.bottom.startX)<d&&re[2]/(yt.bottom.endX-yt.bottom.startX)>u});on.length>0?on[0].bottom=Rt:N.push({top:Rt,bottom:Rt})}if(xn){var Pn=me-re[4],_n=Pn-re[3],Rt={startX:_n,y:z,endX:Pn},on=_.filter(function(kt){return _n>=kt.bottom.startX&&_n<=kt.bottom.endX||Pn>=kt.bottom.startX&&_n<=kt.bottom.endX||_n<=kt.bottom.startX&&Pn>=kt.bottom.endX&&re[2]/(kt.bottom.endX-kt.bottom.startX)<d&&re[2]/(kt.bottom.endX-kt.bottom.startX)>u});on.length>0?on[0].bottom=Rt:_.push({top:Rt,bottom:Rt})}}},se=-1;se<=M.width;se++)ce(se);T.push.apply(T,N.filter(function(me){return me.bottom.y!==z&&me.bottom.y-me.top.y>=2})),N=N.filter(function(me){return me.bottom.y===z}),S.push.apply(S,_.filter(function(me){return me.bottom.y!==z})),_=_.filter(function(me){return me.bottom.y===z})},I=0;I<=M.height;I++)j(I);T.push.apply(T,N.filter(function(z){return z.bottom.y-z.top.y>=2})),S.push.apply(S,_);var P=T.filter(function(z){return z.bottom.y-z.top.y>=2}).map(function(z){var Z=(z.top.startX+z.top.endX+z.bottom.startX+z.bottom.endX)/4,w=(z.top.y+z.bottom.y+1)/2;if(M.get(Math.round(Z),Math.round(w))){var re=[z.top.endX-z.top.startX,z.bottom.endX-z.bottom.startX,z.bottom.y-z.top.y+1],ce=h(re)/re.length,se=A({x:Math.round(Z),y:Math.round(w)},[1,1,3,1,1],M);return{score:se,x:Z,y:w,size:ce}}}).filter(function(z){return!!z}).sort(function(z,Z){return z.score-Z.score}).map(function(z,Z,w){if(Z>s)return null;var re=w.filter(function(se,me){return Z!==me}).map(function(se){return{x:se.x,y:se.y,score:se.score+Math.pow(se.size-z.size,2)/z.size,size:se.size}}).sort(function(se,me){return se.score-me.score});if(re.length<2)return null;var ce=z.score+re[0].score+re[1].score;return{points:[z].concat(re.slice(0,2)),score:ce}}).filter(function(z){return!!z}).sort(function(z,Z){return z.score-Z.score});if(P.length===0)return null;var J=m(P[0].points[0],P[0].points[1],P[0].points[2]),K=J.topRight,ie=J.topLeft,ae=J.bottomLeft,X=R(M,S,K,ie,ae),H=[];X&&H.push({alignmentPattern:{x:X.alignmentPattern.x,y:X.alignmentPattern.y},bottomLeft:{x:ae.x,y:ae.y},dimension:X.dimension,topLeft:{x:ie.x,y:ie.y},topRight:{x:K.x,y:K.y}});var $=F(M,K),xe=F(M,ie),fe=F(M,ae),b=R(M,S,$,xe,fe);return b&&H.push({alignmentPattern:{x:b.alignmentPattern.x,y:b.alignmentPattern.y},bottomLeft:{x:fe.x,y:fe.y},topLeft:{x:xe.x,y:xe.y},topRight:{x:$.x,y:$.y},dimension:b.dimension}),H.length===0?null:H}i.locate=v;function R(M,T,N,S,_){var j,I,P;try{j=E(S,N,_,M),I=j.dimension,P=j.moduleSize}catch{return null}var J={x:N.x-S.x+_.x,y:N.y-S.y+_.y},K=(f(S,_)+f(S,N))/2/P,ie=1-3/K,ae={x:S.x+ie*(J.x-S.x),y:S.y+ie*(J.y-S.y)},X=T.map(function($){var xe=($.top.startX+$.top.endX+$.bottom.startX+$.bottom.endX)/4,fe=($.top.y+$.bottom.y+1)/2;if(M.get(Math.floor(xe),Math.floor(fe))){var b=[$.top.endX-$.top.startX,$.bottom.endX-$.bottom.startX,$.bottom.y-$.top.y+1];h(b)/b.length;var z=A({x:Math.floor(xe),y:Math.floor(fe)},[1,1,1],M),Z=z+f({x:xe,y:fe},ae);return{x:xe,y:fe,score:Z}}}).filter(function($){return!!$}).sort(function($,xe){return $.score-xe.score}),H=K>=15&&X.length?X[0]:ae;return{alignmentPattern:H,dimension:I}}})]).default})})(sx)),sx.exports}var bM=kM();const wM=Bx(bM);function SM({onResult:e,onClose:r}){const a=L.useRef(null),[i,o]=L.useState(null);return L.useEffect(()=>{let s=null,u=0,d=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),m=()=>{const E=a.current;if(!(d||!E||!h)){if(E.readyState>=E.HAVE_ENOUGH_DATA&&E.videoWidth){f.width=E.videoWidth,f.height=E.videoHeight,h.drawImage(E,0,0,f.width,f.height);const{data:C,width:y,height:g}=h.getImageData(0,0,f.width,f.height),A=wM(C,y,g,{inversionAttempts:"dontInvert"});if(A?.data){d=!0,e(A.data);return}}u=requestAnimationFrame(m)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(E=>{if(d){for(const y of E.getTracks())y.stop();return}s=E;const C=a.current;C&&(C.srcObject=E,C.play(),u=requestAnimationFrame(m))}).catch(E=>o(MM(E))),()=>{if(d=!0,cancelAnimationFrame(u),s)for(const E of s.getTracks())E.stop()}},[e]),D.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[D.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),D.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:D.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),D.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[D.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),D.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:D.jsx(la,{size:20})})]}),i?D.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function MM(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function _M(){const e=Re(h=>h.setToken),[r,a]=L.useState(""),[i,o]=L.useState(!1),[s,u]=L.useState(!1),d=h=>{const m=rA(h);u(!1),m?e(m):o(!0)},f=h=>{h.preventDefault(),d(r)};return s?D.jsx(SM,{onResult:d,onClose:()=>u(!1)}):D.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[D.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),D.jsxs("div",{children:[D.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),D.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),D.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",D.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",D.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),D.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[D.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),o(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),D.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),D.jsxs("button",{type:"button",onClick:()=>{o(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[D.jsx(e2,{size:16}),"Scan QR"]}),i?D.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),D.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",D.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}var Rc=bh();const Fl=new Uint8Array(512),Ju=new Uint8Array(256);let xl=1;for(let e=0;e<255;e++)Fl[e]=xl,Ju[xl]=e,xl<<=1,xl&256&&(xl^=285);for(let e=255;e<512;e++)Fl[e]=Fl[e-255];function L5(e,r){return e===0||r===0?0:Fl[Ju[e]+Ju[r]]}function zM(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let o=0;o<r.length;o++)i[o]^=r[o],i[o+1]^=L5(r[o],Fl[a]);r=i}return r}function TM(e,r){const a=zM(r),i=new Array(r).fill(0);for(const o of e){const s=o^i[0];if(i.shift(),i.push(0),s!==0)for(let u=0;u<r;u++)i[u]^=L5(a[u+1],s)}return i}const Oc={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function dh(e){return Oc[e].groups.reduce((r,[a,i])=>r+a*i,0)}function hh(e){return e<=9?8:16}function ol(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function NM(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let g=1;g<=10;g++)if(4+hh(g)+8*r.length<=dh(g)*8){a=g;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=dh(a)*8,o=[];ol(o,4,4),ol(o,r.length,hh(a));for(const g of r)ol(o,g,8);for(let g=0,A=Math.min(4,i-o.length);g<A;g++)o.push(0);for(;o.length%8!==0;)o.push(0);const s=[236,17];for(let g=0;o.length<i;g++)ol(o,s[g%2],8);const u=[];for(let g=0;g<o.length;g+=8){let A=0;for(let F=0;F<8;F++)A=A<<1|o[g+F];u.push(A)}const{ec:d,groups:f}=Oc[a],h=[];let m=0;for(const[g,A]of f)for(let F=0;F<g;F++){const v=u.slice(m,m+A);m+=A,h.push({data:v,ec:TM(v,d)})}const E=[],C=Math.max(...h.map(g=>g.data.length));for(let g=0;g<C;g++)for(const A of h)g<A.data.length&&E.push(A.data[g]);for(let g=0;g<d;g++)for(const A of h)E.push(A.ec[g]);const y=[];for(const g of E)ol(y,g,8);return{version:a,bits:y}}function RM(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),o=Array.from({length:a},()=>new Array(a).fill(!1)),s=(E,C)=>{for(let y=-1;y<=7;y++)for(let g=-1;g<=7;g++){const A=E+y,F=C+g;if(A<0||A>=a||F<0||F>=a)continue;const v=y>=0&&y<=6&&(g===0||g===6)||g>=0&&g<=6&&(y===0||y===6),R=y>=2&&y<=4&&g>=2&&g<=4;i[A][F]=v||R,o[A][F]=!0}};s(0,0),s(0,a-7),s(a-7,0);for(let E=8;E<a-8;E++){const C=E%2===0;o[6][E]||(i[6][E]=C,o[6][E]=!0),o[E][6]||(i[E][6]=C,o[E][6]=!0)}const u=Oc[e].align;for(let E=0;E<u.length;E++)for(let C=0;C<u.length;C++){if(E===0&&C===0||E===0&&C===u.length-1||E===u.length-1&&C===0)continue;const g=u[E],A=u[C];for(let F=-2;F<=2;F++)for(let v=-2;v<=2;v++)i[g+F][A+v]=Math.max(Math.abs(F),Math.abs(v))!==1,o[g+F][A+v]=!0}for(let E=0;E<=8;E++)E!==6&&(o[8][E]=!0,o[E][8]=!0);for(let E=0;E<8;E++)o[8][a-1-E]=!0,o[a-1-E][8]=!0;if(o[a-8][8]=!0,e>=7)for(let E=0;E<18;E++){const C=a-11+E%3,y=Math.floor(E/3);o[y][C]=!0,o[C][y]=!0}let d=0,f=!0;for(let E=a-1;E>0;E-=2){E===6&&E--;for(let C=0;C<a;C++){const y=f?a-1-C:C;for(let g=0;g<2;g++){const A=E-g;o[y][A]||(i[y][A]=d<r.length?r[d]===1:!1,d++)}}f=!f}e>=7&&LM(i,e,a);let h=null,m=Number.POSITIVE_INFINITY;for(let E=0;E<8;E++){const C=i.map(g=>g.slice());for(let g=0;g<a;g++)for(let A=0;A<a;A++)!o[g][A]&&OM(E,g,A)&&(C[g][A]=!C[g][A]);jM(C,E,a);const y=PM(C);y<m&&(m=y,h=C)}return h}function OM(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function jM(e,r,a){const i=0|r;let o=i;for(let d=0;d<10;d++)o=o<<1^(o>>9&1?1335:0);const s=((i<<10|o&1023)^21522)&32767,u=d=>(s>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=u(d);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let d=9;d<15;d++)e[8][14-d]=u(d);for(let d=0;d<8;d++)e[8][a-1-d]=u(d);for(let d=8;d<15;d++)e[a-15+d][8]=u(d);e[a-8][8]=!0}function LM(e,r,a){let i=r;for(let s=0;s<12;s++)i=i<<1^(i>>11&1?7973:0);const o=r<<12|i&4095;for(let s=0;s<18;s++){const u=(o>>s&1)===1,d=a-11+s%3,f=Math.floor(s/3);e[f][d]=u,e[d][f]=u}}function PM(e){const r=e.length;let a=0;const i=f=>{let h=f(0),m=1;for(let E=1;E<r;E++)f(E)===h?m++:(m>=5&&(a+=m-2),h=f(E),m=1);m>=5&&(a+=m-2)};for(let f=0;f<r;f++)i(h=>e[f][h]);for(let f=0;f<r;f++)i(h=>e[h][f]);for(let f=0;f<r-1;f++)for(let h=0;h<r-1;h++){const m=e[f][h];m===e[f][h+1]&&m===e[f+1][h]&&m===e[f+1][h+1]&&(a+=3)}const o=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],s=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(f,h,m)=>{for(let E=0;E<11;E++)if(f(h+E)!==m[E])return!1;return!0};for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(m=>e[f][m],h,o)||u(m=>e[f][m],h,s))&&(a+=40);for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(m=>e[m][f],h,o)||u(m=>e[m][f],h,s))&&(a+=40);let d=0;for(let f=0;f<r;f++)for(let h=0;h<r;h++)e[f][h]&&d++;return a+=Math.floor(Math.abs(d/(r*r)*100-50)/5)*10,a}function UM(e){const{version:r,bits:a}=NM(e);return RM(r,a)}function HM({text:e,size:r=220,className:a}){const i=UM(e),o=i.length,s=4,u=o+s*2;let d="";for(let f=0;f<o;f++)for(let h=0;h<o;h++)i[f][h]&&(d+=`M${h+s} ${f+s}h1v1h-1z`);return D.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[D.jsx("title",{children:"QR code"}),D.jsx("rect",{width:u,height:u,fill:"#fff"}),D.jsx("path",{d,fill:"#000"})]})}function qM({version:e,onLogs:r,onClose:a}){const i=Re(m=>m.token),o=Re(m=>m.setToken),[s,u]=L.useState(!1),d=i?`${location.origin}/#token=${i}`:location.origin,f=!!e&&e!=="1.30.1",h=async()=>{try{await navigator.clipboard.writeText(d),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return Rc.createPortal(D.jsxs(D.Fragment,{children:[D.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),D.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[D.jsxs("div",{className:"flex w-full items-center justify-between",children:[D.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),D.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[D.jsx("button",{type:"button",onClick:()=>o(null),"aria-label":"Disconnect",title:"Disconnect",className:"flex size-8 items-center justify-center rounded-full text-del/80 active:bg-surface-2",children:D.jsx(xy,{size:17})}),D.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:18})})]})]}),D.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),D.jsx("div",{className:"rounded-2xl bg-white p-3",children:D.jsx(HM,{text:d,size:216})}),D.jsxs("button",{type:"button",onClick:h,className:"flex w-full items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[s?D.jsx(kx,{size:16}):D.jsx(Kh,{size:16}),s?"Copied":"Copy link"]}),D.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[D.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",D.jsxs("span",{className:f?"text-working":void 0,children:["app v","1.30.1"]}),f?" · update pending":""]}),D.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]}),document.body)}const VM={info:"text-muted",warn:"text-working",error:"text-del"};function R0(e){return String(e).padStart(2,"0")}function QM(e){if(e==null)return"·";const r=new Date(e);return`${R0(r.getHours())}:${R0(r.getMinutes())}:${R0(r.getSeconds())}`}function Eh(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${R0(r.getMonth()+1)}-${R0(r.getDate())} ${R0(r.getHours())}:${R0(r.getMinutes())}:${R0(r.getSeconds())}`}function GM(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function ph(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function IM({onClose:e}){const[r,a]=L.useState(null),[i,o]=L.useState(!1),[s,u]=L.useState(null),{data:d,isLoading:f,isError:h,error:m}=FA(r,!0),E=L.useRef(null),C=L.useRef(!0),y=L.useMemo(()=>(d?.entries??[]).filter(F=>!i||F.level!=="info"),[d,i]);L.useEffect(()=>{const F=E.current;F&&C.current&&y.length&&(F.scrollTop=F.scrollHeight)},[y]);const g=async()=>{const F=`# conductor-remote ${r??"live"} log · app v1.30.1 · copied ${Eh(Date.now())}`,v=y.map(R=>`${Eh(R.t)} ${R.level==="info"?"":R.level.toUpperCase()} ${R.text}`);try{await navigator.clipboard.writeText([F,...v].join(`
|
|
43
43
|
`)),u("ok")}catch{u("failed")}setTimeout(()=>u(null),2e3)},A=[{key:null,label:"Live",hint:d?`since ${ph(d.now-d.startedAt)}`:void 0},...(d?.files??[]).map(F=>({key:F.name,label:F.name,hint:GM(F.size)}))];return Rc.createPortal(D.jsxs(D.Fragment,{children:[D.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),D.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[D.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[D.jsxs("div",{className:"min-w-0",children:[D.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),D.jsx("p",{className:"truncate text-xs text-muted",children:d?`${y.length} line${y.length===1?"":"s"} · relay started ${ph(d.now-d.startedAt)}`:"Loading…"})]}),D.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:18})})]}),D.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:A.map(F=>D.jsxs("button",{type:"button",onClick:()=>{C.current=!0,a(F.key)},className:tt("pill shrink-0 whitespace-nowrap",F.key===r&&"pill-active"),children:[F.label,F.hint?D.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:F.hint}):null]},F.key??"live"))}),r&&d&&!d.managed?D.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,D.jsx("div",{ref:E,onScroll:F=>{const v=F.currentTarget;C.current=v.scrollHeight-v.scrollTop-v.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:f&&!d?D.jsx(wl,{label:"Reading logs…"}):h?D.jsx(bn,{children:m?.message}):y.length===0?D.jsx(bn,{children:i?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):y.map((F,v)=>D.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[D.jsx("span",{className:"shrink-0 text-faint",children:QM(F.t)}),D.jsx("span",{className:tt("min-w-0 flex-1",VM[F.level]),children:F.text})]},v))}),D.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[D.jsx("button",{type:"button",onClick:()=>o(F=>!F),className:tt("pill shrink-0",i&&"pill-active"),children:"Problems only"}),D.jsxs("button",{type:"button",onClick:g,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[s==="ok"?D.jsx(kx,{size:16}):D.jsx(Kh,{size:16}),s==="ok"?"Copied":s==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}function $M({onClose:e}){const{data:r}=AA(),[a,i]=L.useState(""),[o,s]=L.useState(""),[u,d]=L.useState(!1),[f,h]=L.useState(!1),[m,E]=L.useState(null),C=Dx(),y=na(),g=r?.repos??[],A=g.find(v=>v.name===a);L.useEffect(()=>{!a&&g.length&&i(g[0].name)},[a,g]);const F=async()=>{const v=o.trim();if(!(!a||f)){h(!0),E(null);try{const R=await Nt.createWorkspace(a,v);if(!R.ok||!R.workspaceId){E(R.error??"could not create the workspace");return}v&&mA(R.workspaceId,v),await y.invalidateQueries({queryKey:["state"]}),e(),C(`/w/${R.workspaceId}`)}catch(R){E(R instanceof Error?R.message:"could not create the workspace")}finally{h(!1)}}};return Rc.createPortal(D.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[D.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[D.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),D.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(la,{size:20})})]}),D.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[D.jsxs("div",{className:"relative",children:[D.jsxs("button",{type:"button",onClick:()=>d(v=>!v),"aria-haspopup":"menu","aria-expanded":u,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[A?D.jsx(Pu,{icon:A.icon,name:A.name}):null,D.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:A?.name??"Choose a repo"}),D.jsx(fc,{size:18,className:tt("shrink-0 text-muted transition",u&&"rotate-180")})]}),u?D.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:g.map(v=>D.jsx("li",{children:D.jsxs("button",{type:"button",onClick:()=>{i(v.name),d(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[D.jsx(Pu,{icon:v.icon,name:v.name}),D.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:v.name}),v.name===a?D.jsx(kx,{size:16,className:"shrink-0 text-accent"}):null]})},v.name))}):null]}),D.jsx("textarea",{value:o,onChange:v=>s(v.target.value),placeholder:"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"w-full resize-none rounded-2xl border border-border bg-surface px-4 py-3 text-base outline-none placeholder:text-faint"}),m?D.jsx("div",{className:"text-xs text-del",children:m}):null]}),D.jsx("div",{className:"pb-safe border-t border-border-soft p-3",children:D.jsx("button",{type:"button",onClick:F,disabled:!a||f,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:f?"Creating…":o.trim()?"Create & start":"Create empty workspace"})})]}),document.body)}function YM(e,r){return[...e].sort((a,i)=>{const o=+!!i.pinned_at-+!!a.pinned_at;return o||(r==="name"?gl(a).localeCompare(gl(i)):r==="created"?i.created_at.localeCompare(a.created_at):i.updated_at.localeCompare(a.updated_at))})}function XM(e,r){if(r==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const i of e){const o=r==="status"?FD(i):i.repo_name??"",s=a.get(o);s?s.push(i):a.set(o,[i])}return r==="status"?[...B8,...[...a.keys()].filter(o=>!B8.includes(o))].filter(o=>a.has(o)).map(o=>({key:`status:${o}`,label:vD(o),status:o,items:a.get(o)??[]})):[...a.keys()].sort((i,o)=>i.localeCompare(o)).map(i=>({key:`repo:${i}`,label:i||"No repo",items:a.get(i)??[]}))}function ZM({selectedId:e}){const r=Dx(),a=Re(_=>_.setSidebarOpen),i=Re(_=>_.view),o=Re(_=>_.toggleGroup),[s,u]=L.useState(!1),[d,f]=L.useState(!1),[h,m]=L.useState(!1),[E,C]=L.useState(!1),{data:y,isLoading:g,isError:A,error:F}=wx(),v=y?.workspaces??[],R=[...new Set(v.map(_=>_.repo_name).filter(_=>!!_))].sort();i.repo&&!R.includes(i.repo)&&R.push(i.repo);const M=i.repo?v.filter(_=>_.repo_name===i.repo):v,T=XM(YM(M,i.sortBy),i.groupBy),N=_=>{r(`/w/${_}`),a(!1)},S=v.length?i.repo?`${M.length} of ${v.length} · ${i.repo}`:`${v.length} active`:void 0;return D.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[D.jsxs("div",{className:"relative",children:[D.jsx(Uu,{title:"Workspaces",subtitle:S,right:D.jsxs(D.Fragment,{children:[D.jsx("button",{type:"button",onClick:()=>m(!0),"aria-label":"New workspace",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(Wh,{size:20})}),D.jsxs("button",{type:"button",onClick:()=>u(_=>!_),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[D.jsx(qB,{size:18}),i.repo?D.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),D.jsx("button",{type:"button",onClick:()=>f(!0),"aria-label":"Connect a device",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:D.jsx(e2,{size:18})}),D.jsx("button",{type:"button",onClick:()=>a(!1),"aria-label":"Close workspaces",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:D.jsx(la,{size:20})})]})}),s?D.jsx(JM,{repos:R,view:i,onClose:()=>u(!1)}):null]}),D.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:g&&!y?D.jsx(wl,{label:"Loading workspaces…"}):A?D.jsxs(bn,{children:[F?.message,D.jsx("br",{}),D.jsx("br",{}),"Check the relay is running and the token is correct."]}):v.length===0?D.jsx(bn,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):M.length===0?D.jsxs(bn,{children:["No workspaces in ",i.repo,"."]}):T.map(_=>{const j=!!_.label&&i.collapsed.includes(_.key);return D.jsxs("section",{children:[_.label?D.jsxs("button",{type:"button",onClick:()=>o(_.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[D.jsx(KM,{status:_.status}),D.jsx("span",{className:"truncate",children:_.label}),j?D.jsx("span",{className:"font-normal text-muted text-xs",children:_.items.length}):null,D.jsx(fc,{size:14,className:tt("ml-auto shrink-0 text-faint transition-transform",j&&"-rotate-90")})]}):null,j?null:D.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:_.items.map(I=>D.jsx("li",{className:"fade-in",children:D.jsx("button",{type:"button",className:tt("card w-full",I.id===e?"border-accent/50 bg-surface-2":I.unread&&"border-l-accent"),onClick:()=>N(I.id),children:D.jsx(WM,{w:I,selected:I.id===e})})},I.id))})]},_.key)})}),d?D.jsx(qM,{version:y?.version,onLogs:()=>{f(!1),C(!0)},onClose:()=>f(!1)}):null,h?D.jsx($M,{onClose:()=>m(!1)}):null,E?D.jsx(IM,{onClose:()=>C(!1)}):null]})}function KM({status:e}){if(!e)return null;const a={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)","setting-up":"var(--color-working)"}[e];return a?D.jsx("span",{className:"dot size-2",style:{background:a}}):D.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function JM({repos:e,view:r,onClose:a}){const i=Re(o=>o.setView);return D.jsxs(D.Fragment,{children:[D.jsx("div",{className:"fixed inset-0 z-20",onClick:a,"aria-hidden":!0}),D.jsxs("div",{className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[D.jsx(bu,{id:"view-group",label:"Group by",children:D.jsx(wu,{id:"view-group",value:r.groupBy,onChange:o=>i({groupBy:o}),options:[["status","Status"],["repo","Repo"],["none","None"]]})}),D.jsx(bu,{id:"view-repo",label:"Repo",children:D.jsx(wu,{id:"view-repo",value:r.repo??"all",onChange:o=>i({repo:o==="all"?null:o}),options:[["all","All repos"],...e.map(o=>[o,o])]})}),D.jsx(bu,{id:"view-sort",label:"Sort by",children:D.jsx(wu,{id:"view-sort",value:r.sortBy,onChange:o=>i({sortBy:o}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})})]})]})}function bu({id:e,label:r,children:a}){return D.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[D.jsx("label",{htmlFor:e,children:r}),a]})}function wu({id:e,value:r,options:a,onChange:i}){return D.jsx("select",{id:e,value:r,onChange:o=>i(o.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text [color-scheme:dark]",children:a.map(([o,s])=>D.jsx("option",{value:o,children:s},o))})}function WM({w:e,selected:r}){const a=pc(e.model),i=e.context_used_percent;return D.jsxs(D.Fragment,{children:[D.jsxs("div",{className:"relative shrink-0 self-start",children:[D.jsx(Pu,{icon:e.icon,name:e.repo_name||gl(e)}),D.jsx(OD,{w:e,className:"absolute -right-0.5 -bottom-0.5 ring-2 ring-surface"})]}),D.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[D.jsxs("div",{className:"flex items-center gap-2",children:[D.jsx("span",{className:tt("min-w-0 flex-1 truncate",e.unread?"font-bold":"font-medium",e.unread||r?"text-text":"text-muted"),children:gl(e)}),b2(e)?D.jsx("span",{className:"shrink-0 rounded-md bg-working/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-working",children:"Setting up"}):null,e.pinned_at?D.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,e.unread?D.jsx(S2,{children:e.unread}):null]}),D.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[e.repo_name?D.jsx("span",{className:"shrink-0 font-mono text-faint",children:e.repo_name}):null,e.branch?D.jsx(A8,{className:"min-w-0 flex-1 truncate",children:e.branch}):null]}),D.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[a?D.jsx(A8,{children:a}):null,typeof i=="number"&&i>0?D.jsxs("span",{className:"shrink-0 text-faint",children:[Math.round(i),"% ctx"]}):null,D.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:kD(e.updated_at)})]})]})]})}function e_(){gA();const e=Re(r=>r.token);return D.jsxs(D.Fragment,{children:[D.jsx(pA,{}),e?D.jsxs(Zm,{children:[D.jsxs(sl,{element:D.jsx(t_,{}),children:[D.jsx(sl,{index:!0,element:D.jsx(n_,{})}),D.jsx(sl,{path:"/w/:workspaceId",element:D.jsx(AM,{})})]}),D.jsx(sl,{path:"*",element:D.jsx($m,{to:"/",replace:!0})})]}):D.jsx(_M,{})]})}function t_(){const e=Sm("/w/:workspaceId"),r=Re(o=>o.sidebarOpen),a=Re(o=>o.setSidebarOpen),i=L.useRef(null);return BA(i),wA(),D.jsxs("div",{className:"flex h-full overflow-hidden",children:[r?D.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,D.jsx("aside",{ref:i,className:tt("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",r?"translate-x-0":"-translate-x-full"),children:D.jsx(ZM,{selectedId:e?.params.workspaceId})}),D.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:D.jsx(Ym,{})})]})}function n_(){const e=Re(r=>r.setSidebarOpen);return D.jsxs("div",{className:"grid h-full place-items-center",children:[D.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),D.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});const r_=new bp({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),P5=document.getElementById("root");if(!P5)throw new Error("#root missing");Ip.createRoot(P5).render(D.jsx(L.StrictMode,{children:D.jsx(Sp,{client:r_,children:D.jsx(B4,{children:D.jsx(e_,{})})})}));
|