From ce8b3d9e176526c03cc6c803d73e67bc56cd0e87 Mon Sep 17 00:00:00 2001 From: RealKai42 Date: Fri, 1 Nov 2024 11:36:20 +0000 Subject: [PATCH] deploy: 6061c4bb483710c0961303250cc4b910adbfa429 --- ...-b2017535.js => FileSaver.min-51ee65c5.js} | 2 +- ...2e0.js => dexie-export-import-7d892582.js} | 2 +- assets/ezbdc-cf864505.jpg | Bin 0 -> 73146 bytes .../{index-2a5e35e4.js => index-36a0d2f5.js} | 2 +- .../{index-9571a940.js => index-521960bf.js} | 2 +- ...{index-1e5b13ee.css => index-a8a3aa3d.css} | 2 +- .../{index-c6b77a4f.js => index-e6c822b9.js} | 72 +++++++++--------- assets/kk-0105d16d.jpg | Bin 0 -> 54728 bytes assets/web-worker-26dc48ed.png | Bin 0 -> 75484 bytes index.html | 4 +- 10 files changed, 43 insertions(+), 43 deletions(-) rename assets/{FileSaver.min-b2017535.js => FileSaver.min-51ee65c5.js} (97%) rename assets/{dexie-export-import-be1032e0.js => dexie-export-import-7d892582.js} (99%) create mode 100644 assets/ezbdc-cf864505.jpg rename assets/{index-2a5e35e4.js => index-36a0d2f5.js} (99%) rename assets/{index-9571a940.js => index-521960bf.js} (99%) rename assets/{index-1e5b13ee.css => index-a8a3aa3d.css} (65%) rename assets/{index-c6b77a4f.js => index-e6c822b9.js} (61%) create mode 100644 assets/kk-0105d16d.jpg create mode 100644 assets/web-worker-26dc48ed.png diff --git a/assets/FileSaver.min-b2017535.js b/assets/FileSaver.min-51ee65c5.js similarity index 97% rename from assets/FileSaver.min-b2017535.js rename to assets/FileSaver.min-51ee65c5.js index db634e7a99..f1f2431166 100644 --- a/assets/FileSaver.min-b2017535.js +++ b/assets/FileSaver.min-51ee65c5.js @@ -1 +1 @@ -import{aC as O,c as d}from"./index-c6b77a4f.js";function A(u,v){for(var l=0;lr[c]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(u,v){(function(l,r){r()})(d,function(){function l(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,i)},o.onerror=function(){},o.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,i){var o=a.URL||a.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?s(n):c(n.href)?r(e,t,i):s(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){s(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(l(e,i),t);else if(c(e))r(e,t,i);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){s(o)})}}:function(e,t,i,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var n=e.type==="application/octet-stream",g=/constructor/i.test(a.HTMLElement)||a.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&g||y)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var f=m.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},m.readAsDataURL(e)}else{var j=a.URL||a.webkitURL,w=j.createObjectURL(e);o?o.location=w:location.href=w,o=null,setTimeout(function(){j.revokeObjectURL(w)},4e4)}});a.saveAs=p.saveAs=p,u.exports=p})})(E);var h=E.exports;const L=O(h),S=A({__proto__:null,default:L},[h]);export{S as F}; +import{aC as O,c as d}from"./index-e6c822b9.js";function A(u,v){for(var l=0;lr[c]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(u,v){(function(l,r){r()})(d,function(){function l(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,i)},o.onerror=function(){},o.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,i){var o=a.URL||a.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?s(n):c(n.href)?r(e,t,i):s(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){s(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(l(e,i),t);else if(c(e))r(e,t,i);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){s(o)})}}:function(e,t,i,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var n=e.type==="application/octet-stream",g=/constructor/i.test(a.HTMLElement)||a.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&g||y)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var f=m.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},m.readAsDataURL(e)}else{var j=a.URL||a.webkitURL,w=j.createObjectURL(e);o?o.location=w:location.href=w,o=null,setTimeout(function(){j.revokeObjectURL(w)},4e4)}});a.saveAs=p.saveAs=p,u.exports=p})})(E);var h=E.exports;const L=O(h),S=A({__proto__:null,default:L},[h]);export{S as F}; diff --git a/assets/dexie-export-import-be1032e0.js b/assets/dexie-export-import-7d892582.js similarity index 99% rename from assets/dexie-export-import-be1032e0.js rename to assets/dexie-export-import-7d892582.js index b23176c31f..6e4500eb28 100644 --- a/assets/dexie-export-import-be1032e0.js +++ b/assets/dexie-export-import-7d892582.js @@ -1,4 +1,4 @@ -import{aD as Ce}from"./index-c6b77a4f.js";/*! ***************************************************************************** +import{aD as Ce}from"./index-e6c822b9.js";/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any diff --git a/assets/ezbdc-cf864505.jpg b/assets/ezbdc-cf864505.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ee1456e666f07189f924d45d48bed14cd4f42592 GIT binary patch literal 73146 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 literal 0 HcmV?d00001 diff --git a/assets/index-2a5e35e4.js b/assets/index-36a0d2f5.js similarity index 99% rename from assets/index-2a5e35e4.js rename to assets/index-36a0d2f5.js index 1b59bb42dc..d9693a6764 100644 --- a/assets/index-2a5e35e4.js +++ b/assets/index-36a0d2f5.js @@ -1,4 +1,4 @@ -import{r as s,m as xo,n as G,_ as E,o as zt,p as Wt,D as Ut,M as Eo,s as Io,I as Yt,v as K,H as Zt,w as qt,y as Jt,T as Fo,x as Po,$,z as Mo,A as To,B as Go,R as Vo,X as Kt,C as No,E as Do,G as ko,J as Q,O as yt,K as fe,N as $t,P as Oo,Q as xt,S as _o,a as p,d as ct,U as Et,j as R,F as Fe,V as M,W as Xt,Y as Qt,Z as en,a0 as tn,a1 as jo,a2 as nn,a3 as Lo,a4 as Ho,a5 as we,e as dt,a6 as on,a7 as rn,a8 as Bo,a9 as an,aa as gt,ab as ln,ac as zo,ad as Wo,ae as Uo,h as ft,k as sn,af as Yo,ag as un,ah as Zo,ai as cn,aj as de,ak as X,al as pt,am as oe,an as qe,ao as N,ap as se,aq as Pe,u as It,ar as qo,as as Jo,at as Ko,au as ht,av as Xo,aw as Qo,ax as dn,ay as er,az as tr,aA as nr,f as or,L as rr,t as ar,aB as ir,l as lr}from"./index-c6b77a4f.js";const sr=s.forwardRef((e,t)=>{var n;const{container:o=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...r}=e;return o?xo.createPortal(s.createElement(G.div,E({},r,{ref:t})),o):null});function ur({container:e,accept:t,walk:n,enabled:o=!0}){let r=s.useRef(t),a=s.useRef(n);s.useEffect(()=>{r.current=t,a.current=n},[t,n]),zt(()=>{if(!e||!o)return;let i=Wt(e);if(!i)return;let l=r.current,u=a.current,d=Object.assign(g=>l(g),{acceptNode:l}),c=i.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,d,!1);for(;c.nextNode();)u(c.currentNode)},[e,o,r,a])}var cr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(cr||{});let dr={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:_o(n,o=>o.element.current)}},[1](e,t){let n=e.options.slice(),o=e.options.findIndex(r=>r.id===t.id);return o===-1?e:(n.splice(o,1),{...e,options:n})}},mt=s.createContext(null);mt.displayName="RadioGroupDataContext";function gn(e){let t=s.useContext(mt);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,gn),n}return t}let vt=s.createContext(null);vt.displayName="RadioGroupActionsContext";function fn(e){let t=s.useContext(vt);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,fn),n}return t}function gr(e,t){return ko(t.type,dr,e,t)}let fr="div";function pr(e,t){let n=Yt(),{id:o=`headlessui-radiogroup-${n}`,value:r,defaultValue:a,form:i,name:l,onChange:u,by:d=(I,_)=>I===_,disabled:c=!1,...g}=e,h=K(typeof d=="string"?(I,_)=>{let D=d;return(I==null?void 0:I[D])===(_==null?void 0:_[D])}:d),[m,v]=s.useReducer(gr,{options:[]}),f=m.options,[A,C]=Zt(),[w,S]=qt(),b=s.useRef(null),x=Jt(b,t),[P,F]=Fo(r,u,a),T=s.useMemo(()=>f.find(I=>!I.propsRef.current.disabled),[f]),k=s.useMemo(()=>f.some(I=>h(I.propsRef.current.value,P)),[f,P]),O=K(I=>{var _;if(c||h(I,P))return!1;let D=(_=f.find(J=>h(J.propsRef.current.value,I)))==null?void 0:_.propsRef.current;return D!=null&&D.disabled?!1:(F==null||F(I),!0)});ur({container:b.current,accept(I){return I.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:I.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(I){I.setAttribute("role","none")}});let re=K(I=>{let _=b.current;if(!_)return;let D=Wt(_),J=f.filter(V=>V.propsRef.current.disabled===!1).map(V=>V.element.current);switch(I.key){case Q.Enter:Oo(I.currentTarget);break;case Q.ArrowLeft:case Q.ArrowUp:if(I.preventDefault(),I.stopPropagation(),yt(J,fe.Previous|fe.WrapAround)===$t.Success){let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break;case Q.ArrowRight:case Q.ArrowDown:if(I.preventDefault(),I.stopPropagation(),yt(J,fe.Next|fe.WrapAround)===$t.Success){let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break;case Q.Space:{I.preventDefault(),I.stopPropagation();let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break}}),B=K(I=>(v({type:0,...I}),()=>v({type:1,id:I.id}))),ae=s.useMemo(()=>({value:P,firstOption:T,containsCheckedOption:k,disabled:c,compare:h,...m}),[P,T,k,c,h,m]),Ve=s.useMemo(()=>({registerOption:B,change:O}),[B,O]),W={ref:x,id:o,role:"radiogroup","aria-labelledby":A,"aria-describedby":w,onKeyDown:re},yo=s.useMemo(()=>({value:P}),[P]),ge=s.useRef(null),$o=Po();return s.useEffect(()=>{ge.current&&a!==void 0&&$o.addEventListener(ge.current,"reset",()=>{O(a)})},[ge,O]),$.createElement(S,{name:"RadioGroup.Description"},$.createElement(C,{name:"RadioGroup.Label"},$.createElement(vt.Provider,{value:Ve},$.createElement(mt.Provider,{value:ae},l!=null&&P!=null&&Mo({[l]:P}).map(([I,_],D)=>$.createElement(To,{features:Go.Hidden,ref:D===0?J=>{var V;ge.current=(V=J==null?void 0:J.closest("form"))!=null?V:null}:void 0,...Vo({key:I,as:"input",type:"radio",checked:_!=null,hidden:!0,readOnly:!0,form:i,name:I,value:_})})),Kt({ourProps:W,theirProps:g,slot:yo,defaultTag:fr,name:"RadioGroup"})))))}var hr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(hr||{});let mr="div";function vr(e,t){var n;let o=Yt(),{id:r=`headlessui-radiogroup-option-${o}`,value:a,disabled:i=!1,...l}=e,u=s.useRef(null),d=Jt(u,t),[c,g]=Zt(),[h,m]=qt(),{addFlag:v,removeFlag:f,hasFlag:A}=No(1),C=Do({value:a,disabled:i}),w=gn("RadioGroup.Option"),S=fn("RadioGroup.Option");zt(()=>S.registerOption({id:r,element:u,propsRef:C}),[r,S,u,e]);let b=K(B=>{var ae;if(xt(B.currentTarget))return B.preventDefault();S.change(a)&&(v(2),(ae=u.current)==null||ae.focus())}),x=K(B=>{if(xt(B.currentTarget))return B.preventDefault();v(2)}),P=K(()=>f(2)),F=((n=w.firstOption)==null?void 0:n.id)===r,T=w.disabled||i,k=w.compare(w.value,a),O={ref:d,id:r,role:"radio","aria-checked":k?"true":"false","aria-labelledby":c,"aria-describedby":h,"aria-disabled":T?!0:void 0,tabIndex:(()=>T?-1:k||!w.containsCheckedOption&&F?0:-1)(),onClick:T?void 0:b,onFocus:T?void 0:x,onBlur:T?void 0:P},re=s.useMemo(()=>({checked:k,disabled:T,active:A(2)}),[k,T,A]);return $.createElement(m,{name:"RadioGroup.Description"},$.createElement(g,{name:"RadioGroup.Label"},Kt({ourProps:O,theirProps:l,slot:re,defaultTag:mr,name:"RadioGroup.Option"})))}let Ar=Ut(pr),Cr=Ut(vr),Ee=Object.assign(Ar,{Option:Cr,Label:Eo,Description:Io});var br=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ee=new WeakMap,pe=new WeakMap,he={},Ne=0,pn=function(e){return e&&(e.host||pn(e.parentNode))},wr=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=pn(n);return o&&e.contains(o)?o:null}).filter(function(n){return!!n})},Sr=function(e,t,n,o){var r=wr(t,Array.isArray(e)?e:[e]);he[n]||(he[n]=new WeakMap);var a=he[n],i=[],l=new Set,u=new Set(r),d=function(g){!g||l.has(g)||(l.add(g),d(g.parentNode))};r.forEach(d);var c=function(g){!g||u.has(g)||Array.prototype.forEach.call(g.children,function(h){if(l.has(h))c(h);else{var m=h.getAttribute(o),v=m!==null&&m!=="false",f=(ee.get(h)||0)+1,A=(a.get(h)||0)+1;ee.set(h,f),a.set(h,A),i.push(h),f===1&&v&&pe.set(h,!0),A===1&&h.setAttribute(n,"true"),v||h.setAttribute(o,"true")}})};return c(t),l.clear(),Ne++,function(){i.forEach(function(g){var h=ee.get(g)-1,m=a.get(g)-1;ee.set(g,h),a.set(g,m),h||(pe.has(g)||g.removeAttribute(o),pe.delete(g)),m||g.removeAttribute(n)}),Ne--,Ne||(ee=new WeakMap,ee=new WeakMap,pe=new WeakMap,he={})}},Rr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=t||br(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),Sr(o,r,n,"aria-hidden")):function(){return null}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function yr({tagList:e,currentTag:t,onChangeCurrentTag:n}){const o=s.useCallback(r=>{n(r)},[n]);return p(Ee,{value:t,onChange:o,children:p("div",{className:"flex items-center space-x-4",children:e.map(r=>p(Ee.Option,{value:r,className:({checked:a})=>`cursor-pointer whitespace-nowrap rounded-[3rem] px-4 py-2 ${a?"bg-indigo-400 text-white":"bg-white text-gray-600 dark:bg-gray-800 dark:text-gray-200"} ${!a&&"hover:bg-indigo-100 dark:hover:bg-gray-600"}`,children:p("p",{className:"font-normal ",children:r})},r))})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function $r(e,t,n){const[o,r]=s.useState(null);return s.useEffect(()=>{n&&!o&&(async()=>{const i=await xr(t,e);r(i)})()},[t,e,n]),o}async function xr(e,t){const n=await ct.chapterRecords.where({dict:e,chapter:t}).toArray(),o=n.length,r=n.reduce((u,{wordNumber:d,correctWordIndexes:c})=>u+(d-c.length),0),a=o>0?Et(r/o,2):0,i=n.reduce((u,{wrongCount:d})=>u+(d??0),0),l=o>0?Et(i/o,2):0;return{exerciseCount:o,avgWrongWordCount:a,avgWrongInputCount:l}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function hn(e,{threshold:t=0,root:n=null,rootMargin:o="0%",freezeOnceVisible:r=!1}){const[a,i]=s.useState(),l=(a==null?void 0:a.isIntersecting)&&r,u=([d])=>{i(d)};return s.useEffect(()=>{const d=e==null?void 0:e.current;if(!!!window.IntersectionObserver||l||!d)return;const g={threshold:t,root:n,rootMargin:o},h=new IntersectionObserver(u,g);return h.observe(d),()=>h.disconnect()},[e==null?void 0:e.current,JSON.stringify(t),n,o,l]),a}const Er=e=>p("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75s-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12m13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094z",clipRule:"evenodd"})}),Ir=Er;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Fr({index:e,checked:t,dictID:n,onChange:o}){const r=s.useRef(null),a=hn(r,{}),i=!!(a!=null&&a.isIntersecting),l=$r(e,n,i);return s.useEffect(()=>{var u,d;if(t&&r.current!==null){const c=r.current,g=(d=(u=c.parentElement)==null?void 0:u.parentElement)==null?void 0:d.parentElement;g==null||g.scroll({top:c.offsetTop-g.offsetTop-300,behavior:"smooth"})}},[t]),R("div",{ref:r,className:"relative flex h-16 w-40 cursor-pointer flex-col items-start justify-center overflow-hidden rounded-xl bg-slate-100 px-3 py-2 dark:bg-slate-800",onClick:()=>o(e),children:[R("h1",{children:["第 ",e+1," 章"]}),p("p",{className:"pt-[2px] text-xs text-slate-600",children:l?l.exerciseCount>0?`练习 ${l.exerciseCount} 次`:"未练习":"加载中..."}),t&&p(Ir,{className:"absolute -bottom-4 -right-4 h-18 w-18 text-6xl text-green-500 opacity-40 dark:text-green-300"})]})}function Pr(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mr(...e){return t=>e.forEach(n=>Pr(n,t))}var mn=s.forwardRef((e,t)=>{const{children:n,...o}=e,r=s.Children.toArray(n),a=r.find(Gr);if(a){const i=a.props.children,l=r.map(u=>u===a?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:u);return p(Je,{...o,ref:t,children:s.isValidElement(i)?s.cloneElement(i,void 0,l):null})}return p(Je,{...o,ref:t,children:n})});mn.displayName="Slot";var Je=s.forwardRef((e,t)=>{const{children:n,...o}=e;if(s.isValidElement(n)){const r=Nr(n);return s.cloneElement(n,{...Vr(o,n.props),ref:t?Mr(t,r):r})}return s.Children.count(n)>1?s.Children.only(null):null});Je.displayName="SlotClone";var Tr=({children:e})=>p(Fe,{children:e});function Gr(e){return s.isValidElement(e)&&e.type===Tr}function Vr(e,t){const n={...t};for(const o in t){const r=e[o],a=t[o];/^on[A-Z]/.test(o)?r&&a?n[o]=(...l)=>{a(...l),r(...l)}:r&&(n[o]=r):o==="style"?n[o]={...r,...a}:o==="className"&&(n[o]=[r,a].filter(Boolean).join(" "))}return{...e,...n}}function Nr(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Dr=Xt("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-slate-950 dark:focus-visible:ring-slate-300",{variants:{variant:{default:"bg-indigo-500 shadow text-white hover:opacity-90 dark:text-opacity-80 focus:outline-none rounded-lg",destructive:"bg-red-500 text-slate-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-slate-50 dark:hover:bg-red-900/90",outline:"border border-slate-200 bg-white hover:bg-slate-100 hover:text-slate-900 dark:border-slate-800 dark:bg-slate-950 dark:hover:bg-slate-800 dark:hover:text-slate-50",secondary:"bg-slate-100 text-slate-900 hover:bg-slate-100/80 dark:bg-slate-800 dark:text-slate-50 dark:hover:bg-slate-800/80",ghost:"hover:bg-slate-100 hover:text-slate-900 dark:hover:bg-slate-800 dark:hover:text-slate-50",link:"text-slate-900 underline-offset-4 hover:underline dark:text-slate-50"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ue=s.forwardRef(({className:e,variant:t,size:n,asChild:o=!1,...r},a)=>p(o?mn:"button",{className:M(Dr({variant:t,size:n,className:e})),ref:a,...r}));ue.displayName="Button";const Ft=e=>p("svg",{viewBox:"0 0 256 256",width:"1.2em",height:"1.2em",...e,children:p("path",{fill:"currentColor",d:"M119.39 172.94a8 8 0 0 1-1.73 8.72l-32 32a8 8 0 0 1-11.32 0l-32-32A8 8 0 0 1 48 168h24V48a8 8 0 0 1 16 0v120h24a8 8 0 0 1 7.39 4.94m94.27-98.6l-32-32a8 8 0 0 0-11.32 0l-32 32A8 8 0 0 0 144 88h24v120a8 8 0 0 0 16 0V88h24a8 8 0 0 0 5.66-13.66"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kr=e=>[{accessorKey:"word",size:100,header:({column:t})=>R(ue,{variant:"ghost",className:"p-0",onClick:()=>t.toggleSorting(t.getIsSorted()==="asc"),children:["单词",p(Ft,{className:"ml-1.5 h-4 w-4"})]})},{accessorKey:"trans",size:500,header:"释义"},{accessorKey:"errorCount",size:40,header:({column:t})=>R(ue,{variant:"ghost",className:"p-0",onClick:()=>t.toggleSorting(t.getIsSorted()==="asc"),children:["错误次数",p(Ft,{className:"ml-1.5 h-4 w-4"})]}),cell:({row:t})=>R("span",{className:"flex justify-center",children:[t.original.errorCount," "]})},{accessorKey:"errorChar",header:"易错字母",size:100,cell:({row:t})=>p("p",{children:t.getValue("errorChar").map((n,o)=>p("kbd",{className:"flex justify-center",children:n+" "},`${n}-${o}`))})},{accessorKey:"delete",header:"",size:40,cell:({row:t})=>p(Qt,{children:R(en,{children:[p(tn,{children:p(jo,{className:"cursor-pointer",onClick:()=>e(t.original.word)})}),p(nn,{children:p("p",{children:"Delete Records"})})]})})}];function Or(e){return e.map(t=>({word:t.word,trans:t.originData.trans.join(",")??"",errorCount:t.errorCount,errorChar:t.errorChar}))}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vn=s.forwardRef(({className:e,...t},n)=>p("div",{className:"relative h-full w-full overflow-auto",children:p("table",{ref:n,className:M("w-full caption-bottom text-sm",e),...t})}));vn.displayName="Table";const An=s.forwardRef(({className:e,...t},n)=>p("thead",{ref:n,className:M("[&_tr]:border-b",e),...t}));An.displayName="TableHeader";const Cn=s.forwardRef(({className:e,...t},n)=>p("tbody",{ref:n,className:M("[&_tr:last-child]:border-0",e),...t}));Cn.displayName="TableBody";const _r=s.forwardRef(({className:e,...t},n)=>p("tfoot",{ref:n,className:M("border-t bg-slate-100/50 font-medium dark:bg-slate-800/50 [&>tr]:last:border-b-0",e),...t}));_r.displayName="TableFooter";const Se=s.forwardRef(({className:e,...t},n)=>p("tr",{ref:n,className:M("border-b transition-colors hover:bg-slate-100/50 data-[state=selected]:bg-slate-100 dark:hover:bg-slate-800/50 dark:data-[state=selected]:bg-slate-800",e),...t}));Se.displayName="TableRow";const bn=s.forwardRef(({className:e,...t},n)=>p("th",{ref:n,className:M("h-12 px-4 text-left align-middle font-medium text-slate-500 dark:text-slate-400 [&:has([role=checkbox])]:pr-0",e),...t}));bn.displayName="TableHead";const Ke=s.forwardRef(({className:e,...t},n)=>p("td",{ref:n,className:M("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Ke.displayName="TableCell";const jr=s.forwardRef(({className:e,...t},n)=>p("caption",{ref:n,className:M("mt-4 text-sm text-slate-500 dark:text-slate-400",e),...t}));jr.displayName="TableCaption";/** +import{r as s,m as xo,n as G,_ as E,o as zt,p as Wt,D as Ut,M as Eo,s as Io,I as Yt,v as K,H as Zt,w as qt,y as Jt,T as Fo,x as Po,$,z as Mo,A as To,B as Go,R as Vo,X as Kt,C as No,E as Do,G as ko,J as Q,O as yt,K as fe,N as $t,P as Oo,Q as xt,S as _o,a as p,d as ct,U as Et,j as R,F as Fe,V as M,W as Xt,Y as Qt,Z as en,a0 as tn,a1 as jo,a2 as nn,a3 as Lo,a4 as Ho,a5 as we,e as dt,a6 as on,a7 as rn,a8 as Bo,a9 as an,aa as gt,ab as ln,ac as zo,ad as Wo,ae as Uo,h as ft,k as sn,af as Yo,ag as un,ah as Zo,ai as cn,aj as de,ak as X,al as pt,am as oe,an as qe,ao as N,ap as se,aq as Pe,u as It,ar as qo,as as Jo,at as Ko,au as ht,av as Xo,aw as Qo,ax as dn,ay as er,az as tr,aA as nr,f as or,L as rr,t as ar,aB as ir,l as lr}from"./index-e6c822b9.js";const sr=s.forwardRef((e,t)=>{var n;const{container:o=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...r}=e;return o?xo.createPortal(s.createElement(G.div,E({},r,{ref:t})),o):null});function ur({container:e,accept:t,walk:n,enabled:o=!0}){let r=s.useRef(t),a=s.useRef(n);s.useEffect(()=>{r.current=t,a.current=n},[t,n]),zt(()=>{if(!e||!o)return;let i=Wt(e);if(!i)return;let l=r.current,u=a.current,d=Object.assign(g=>l(g),{acceptNode:l}),c=i.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,d,!1);for(;c.nextNode();)u(c.currentNode)},[e,o,r,a])}var cr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(cr||{});let dr={[0](e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:_o(n,o=>o.element.current)}},[1](e,t){let n=e.options.slice(),o=e.options.findIndex(r=>r.id===t.id);return o===-1?e:(n.splice(o,1),{...e,options:n})}},mt=s.createContext(null);mt.displayName="RadioGroupDataContext";function gn(e){let t=s.useContext(mt);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,gn),n}return t}let vt=s.createContext(null);vt.displayName="RadioGroupActionsContext";function fn(e){let t=s.useContext(vt);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,fn),n}return t}function gr(e,t){return ko(t.type,dr,e,t)}let fr="div";function pr(e,t){let n=Yt(),{id:o=`headlessui-radiogroup-${n}`,value:r,defaultValue:a,form:i,name:l,onChange:u,by:d=(I,_)=>I===_,disabled:c=!1,...g}=e,h=K(typeof d=="string"?(I,_)=>{let D=d;return(I==null?void 0:I[D])===(_==null?void 0:_[D])}:d),[m,v]=s.useReducer(gr,{options:[]}),f=m.options,[A,C]=Zt(),[w,S]=qt(),b=s.useRef(null),x=Jt(b,t),[P,F]=Fo(r,u,a),T=s.useMemo(()=>f.find(I=>!I.propsRef.current.disabled),[f]),k=s.useMemo(()=>f.some(I=>h(I.propsRef.current.value,P)),[f,P]),O=K(I=>{var _;if(c||h(I,P))return!1;let D=(_=f.find(J=>h(J.propsRef.current.value,I)))==null?void 0:_.propsRef.current;return D!=null&&D.disabled?!1:(F==null||F(I),!0)});ur({container:b.current,accept(I){return I.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:I.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(I){I.setAttribute("role","none")}});let re=K(I=>{let _=b.current;if(!_)return;let D=Wt(_),J=f.filter(V=>V.propsRef.current.disabled===!1).map(V=>V.element.current);switch(I.key){case Q.Enter:Oo(I.currentTarget);break;case Q.ArrowLeft:case Q.ArrowUp:if(I.preventDefault(),I.stopPropagation(),yt(J,fe.Previous|fe.WrapAround)===$t.Success){let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break;case Q.ArrowRight:case Q.ArrowDown:if(I.preventDefault(),I.stopPropagation(),yt(J,fe.Next|fe.WrapAround)===$t.Success){let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break;case Q.Space:{I.preventDefault(),I.stopPropagation();let V=f.find(ie=>ie.element.current===(D==null?void 0:D.activeElement));V&&O(V.propsRef.current.value)}break}}),B=K(I=>(v({type:0,...I}),()=>v({type:1,id:I.id}))),ae=s.useMemo(()=>({value:P,firstOption:T,containsCheckedOption:k,disabled:c,compare:h,...m}),[P,T,k,c,h,m]),Ve=s.useMemo(()=>({registerOption:B,change:O}),[B,O]),W={ref:x,id:o,role:"radiogroup","aria-labelledby":A,"aria-describedby":w,onKeyDown:re},yo=s.useMemo(()=>({value:P}),[P]),ge=s.useRef(null),$o=Po();return s.useEffect(()=>{ge.current&&a!==void 0&&$o.addEventListener(ge.current,"reset",()=>{O(a)})},[ge,O]),$.createElement(S,{name:"RadioGroup.Description"},$.createElement(C,{name:"RadioGroup.Label"},$.createElement(vt.Provider,{value:Ve},$.createElement(mt.Provider,{value:ae},l!=null&&P!=null&&Mo({[l]:P}).map(([I,_],D)=>$.createElement(To,{features:Go.Hidden,ref:D===0?J=>{var V;ge.current=(V=J==null?void 0:J.closest("form"))!=null?V:null}:void 0,...Vo({key:I,as:"input",type:"radio",checked:_!=null,hidden:!0,readOnly:!0,form:i,name:I,value:_})})),Kt({ourProps:W,theirProps:g,slot:yo,defaultTag:fr,name:"RadioGroup"})))))}var hr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(hr||{});let mr="div";function vr(e,t){var n;let o=Yt(),{id:r=`headlessui-radiogroup-option-${o}`,value:a,disabled:i=!1,...l}=e,u=s.useRef(null),d=Jt(u,t),[c,g]=Zt(),[h,m]=qt(),{addFlag:v,removeFlag:f,hasFlag:A}=No(1),C=Do({value:a,disabled:i}),w=gn("RadioGroup.Option"),S=fn("RadioGroup.Option");zt(()=>S.registerOption({id:r,element:u,propsRef:C}),[r,S,u,e]);let b=K(B=>{var ae;if(xt(B.currentTarget))return B.preventDefault();S.change(a)&&(v(2),(ae=u.current)==null||ae.focus())}),x=K(B=>{if(xt(B.currentTarget))return B.preventDefault();v(2)}),P=K(()=>f(2)),F=((n=w.firstOption)==null?void 0:n.id)===r,T=w.disabled||i,k=w.compare(w.value,a),O={ref:d,id:r,role:"radio","aria-checked":k?"true":"false","aria-labelledby":c,"aria-describedby":h,"aria-disabled":T?!0:void 0,tabIndex:(()=>T?-1:k||!w.containsCheckedOption&&F?0:-1)(),onClick:T?void 0:b,onFocus:T?void 0:x,onBlur:T?void 0:P},re=s.useMemo(()=>({checked:k,disabled:T,active:A(2)}),[k,T,A]);return $.createElement(m,{name:"RadioGroup.Description"},$.createElement(g,{name:"RadioGroup.Label"},Kt({ourProps:O,theirProps:l,slot:re,defaultTag:mr,name:"RadioGroup.Option"})))}let Ar=Ut(pr),Cr=Ut(vr),Ee=Object.assign(Ar,{Option:Cr,Label:Eo,Description:Io});var br=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ee=new WeakMap,pe=new WeakMap,he={},Ne=0,pn=function(e){return e&&(e.host||pn(e.parentNode))},wr=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=pn(n);return o&&e.contains(o)?o:null}).filter(function(n){return!!n})},Sr=function(e,t,n,o){var r=wr(t,Array.isArray(e)?e:[e]);he[n]||(he[n]=new WeakMap);var a=he[n],i=[],l=new Set,u=new Set(r),d=function(g){!g||l.has(g)||(l.add(g),d(g.parentNode))};r.forEach(d);var c=function(g){!g||u.has(g)||Array.prototype.forEach.call(g.children,function(h){if(l.has(h))c(h);else{var m=h.getAttribute(o),v=m!==null&&m!=="false",f=(ee.get(h)||0)+1,A=(a.get(h)||0)+1;ee.set(h,f),a.set(h,A),i.push(h),f===1&&v&&pe.set(h,!0),A===1&&h.setAttribute(n,"true"),v||h.setAttribute(o,"true")}})};return c(t),l.clear(),Ne++,function(){i.forEach(function(g){var h=ee.get(g)-1,m=a.get(g)-1;ee.set(g,h),a.set(g,m),h||(pe.has(g)||g.removeAttribute(o),pe.delete(g)),m||g.removeAttribute(n)}),Ne--,Ne||(ee=new WeakMap,ee=new WeakMap,pe=new WeakMap,he={})}},Rr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=t||br(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),Sr(o,r,n,"aria-hidden")):function(){return null}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function yr({tagList:e,currentTag:t,onChangeCurrentTag:n}){const o=s.useCallback(r=>{n(r)},[n]);return p(Ee,{value:t,onChange:o,children:p("div",{className:"flex items-center space-x-4",children:e.map(r=>p(Ee.Option,{value:r,className:({checked:a})=>`cursor-pointer whitespace-nowrap rounded-[3rem] px-4 py-2 ${a?"bg-indigo-400 text-white":"bg-white text-gray-600 dark:bg-gray-800 dark:text-gray-200"} ${!a&&"hover:bg-indigo-100 dark:hover:bg-gray-600"}`,children:p("p",{className:"font-normal ",children:r})},r))})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function $r(e,t,n){const[o,r]=s.useState(null);return s.useEffect(()=>{n&&!o&&(async()=>{const i=await xr(t,e);r(i)})()},[t,e,n]),o}async function xr(e,t){const n=await ct.chapterRecords.where({dict:e,chapter:t}).toArray(),o=n.length,r=n.reduce((u,{wordNumber:d,correctWordIndexes:c})=>u+(d-c.length),0),a=o>0?Et(r/o,2):0,i=n.reduce((u,{wrongCount:d})=>u+(d??0),0),l=o>0?Et(i/o,2):0;return{exerciseCount:o,avgWrongWordCount:a,avgWrongInputCount:l}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function hn(e,{threshold:t=0,root:n=null,rootMargin:o="0%",freezeOnceVisible:r=!1}){const[a,i]=s.useState(),l=(a==null?void 0:a.isIntersecting)&&r,u=([d])=>{i(d)};return s.useEffect(()=>{const d=e==null?void 0:e.current;if(!!!window.IntersectionObserver||l||!d)return;const g={threshold:t,root:n,rootMargin:o},h=new IntersectionObserver(u,g);return h.observe(d),()=>h.disconnect()},[e==null?void 0:e.current,JSON.stringify(t),n,o,l]),a}const Er=e=>p("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75s-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12m13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094z",clipRule:"evenodd"})}),Ir=Er;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Fr({index:e,checked:t,dictID:n,onChange:o}){const r=s.useRef(null),a=hn(r,{}),i=!!(a!=null&&a.isIntersecting),l=$r(e,n,i);return s.useEffect(()=>{var u,d;if(t&&r.current!==null){const c=r.current,g=(d=(u=c.parentElement)==null?void 0:u.parentElement)==null?void 0:d.parentElement;g==null||g.scroll({top:c.offsetTop-g.offsetTop-300,behavior:"smooth"})}},[t]),R("div",{ref:r,className:"relative flex h-16 w-40 cursor-pointer flex-col items-start justify-center overflow-hidden rounded-xl bg-slate-100 px-3 py-2 dark:bg-slate-800",onClick:()=>o(e),children:[R("h1",{children:["第 ",e+1," 章"]}),p("p",{className:"pt-[2px] text-xs text-slate-600",children:l?l.exerciseCount>0?`练习 ${l.exerciseCount} 次`:"未练习":"加载中..."}),t&&p(Ir,{className:"absolute -bottom-4 -right-4 h-18 w-18 text-6xl text-green-500 opacity-40 dark:text-green-300"})]})}function Pr(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mr(...e){return t=>e.forEach(n=>Pr(n,t))}var mn=s.forwardRef((e,t)=>{const{children:n,...o}=e,r=s.Children.toArray(n),a=r.find(Gr);if(a){const i=a.props.children,l=r.map(u=>u===a?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:u);return p(Je,{...o,ref:t,children:s.isValidElement(i)?s.cloneElement(i,void 0,l):null})}return p(Je,{...o,ref:t,children:n})});mn.displayName="Slot";var Je=s.forwardRef((e,t)=>{const{children:n,...o}=e;if(s.isValidElement(n)){const r=Nr(n);return s.cloneElement(n,{...Vr(o,n.props),ref:t?Mr(t,r):r})}return s.Children.count(n)>1?s.Children.only(null):null});Je.displayName="SlotClone";var Tr=({children:e})=>p(Fe,{children:e});function Gr(e){return s.isValidElement(e)&&e.type===Tr}function Vr(e,t){const n={...t};for(const o in t){const r=e[o],a=t[o];/^on[A-Z]/.test(o)?r&&a?n[o]=(...l)=>{a(...l),r(...l)}:r&&(n[o]=r):o==="style"?n[o]={...r,...a}:o==="className"&&(n[o]=[r,a].filter(Boolean).join(" "))}return{...e,...n}}function Nr(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Dr=Xt("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-slate-950 dark:focus-visible:ring-slate-300",{variants:{variant:{default:"bg-indigo-500 shadow text-white hover:opacity-90 dark:text-opacity-80 focus:outline-none rounded-lg",destructive:"bg-red-500 text-slate-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-slate-50 dark:hover:bg-red-900/90",outline:"border border-slate-200 bg-white hover:bg-slate-100 hover:text-slate-900 dark:border-slate-800 dark:bg-slate-950 dark:hover:bg-slate-800 dark:hover:text-slate-50",secondary:"bg-slate-100 text-slate-900 hover:bg-slate-100/80 dark:bg-slate-800 dark:text-slate-50 dark:hover:bg-slate-800/80",ghost:"hover:bg-slate-100 hover:text-slate-900 dark:hover:bg-slate-800 dark:hover:text-slate-50",link:"text-slate-900 underline-offset-4 hover:underline dark:text-slate-50"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ue=s.forwardRef(({className:e,variant:t,size:n,asChild:o=!1,...r},a)=>p(o?mn:"button",{className:M(Dr({variant:t,size:n,className:e})),ref:a,...r}));ue.displayName="Button";const Ft=e=>p("svg",{viewBox:"0 0 256 256",width:"1.2em",height:"1.2em",...e,children:p("path",{fill:"currentColor",d:"M119.39 172.94a8 8 0 0 1-1.73 8.72l-32 32a8 8 0 0 1-11.32 0l-32-32A8 8 0 0 1 48 168h24V48a8 8 0 0 1 16 0v120h24a8 8 0 0 1 7.39 4.94m94.27-98.6l-32-32a8 8 0 0 0-11.32 0l-32 32A8 8 0 0 0 144 88h24v120a8 8 0 0 0 16 0V88h24a8 8 0 0 0 5.66-13.66"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kr=e=>[{accessorKey:"word",size:100,header:({column:t})=>R(ue,{variant:"ghost",className:"p-0",onClick:()=>t.toggleSorting(t.getIsSorted()==="asc"),children:["单词",p(Ft,{className:"ml-1.5 h-4 w-4"})]})},{accessorKey:"trans",size:500,header:"释义"},{accessorKey:"errorCount",size:40,header:({column:t})=>R(ue,{variant:"ghost",className:"p-0",onClick:()=>t.toggleSorting(t.getIsSorted()==="asc"),children:["错误次数",p(Ft,{className:"ml-1.5 h-4 w-4"})]}),cell:({row:t})=>R("span",{className:"flex justify-center",children:[t.original.errorCount," "]})},{accessorKey:"errorChar",header:"易错字母",size:100,cell:({row:t})=>p("p",{children:t.getValue("errorChar").map((n,o)=>p("kbd",{className:"flex justify-center",children:n+" "},`${n}-${o}`))})},{accessorKey:"delete",header:"",size:40,cell:({row:t})=>p(Qt,{children:R(en,{children:[p(tn,{children:p(jo,{className:"cursor-pointer",onClick:()=>e(t.original.word)})}),p(nn,{children:p("p",{children:"Delete Records"})})]})})}];function Or(e){return e.map(t=>({word:t.word,trans:t.originData.trans.join(",")??"",errorCount:t.errorCount,errorChar:t.errorChar}))}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vn=s.forwardRef(({className:e,...t},n)=>p("div",{className:"relative h-full w-full overflow-auto",children:p("table",{ref:n,className:M("w-full caption-bottom text-sm",e),...t})}));vn.displayName="Table";const An=s.forwardRef(({className:e,...t},n)=>p("thead",{ref:n,className:M("[&_tr]:border-b",e),...t}));An.displayName="TableHeader";const Cn=s.forwardRef(({className:e,...t},n)=>p("tbody",{ref:n,className:M("[&_tr:last-child]:border-0",e),...t}));Cn.displayName="TableBody";const _r=s.forwardRef(({className:e,...t},n)=>p("tfoot",{ref:n,className:M("border-t bg-slate-100/50 font-medium dark:bg-slate-800/50 [&>tr]:last:border-b-0",e),...t}));_r.displayName="TableFooter";const Se=s.forwardRef(({className:e,...t},n)=>p("tr",{ref:n,className:M("border-b transition-colors hover:bg-slate-100/50 data-[state=selected]:bg-slate-100 dark:hover:bg-slate-800/50 dark:data-[state=selected]:bg-slate-800",e),...t}));Se.displayName="TableRow";const bn=s.forwardRef(({className:e,...t},n)=>p("th",{ref:n,className:M("h-12 px-4 text-left align-middle font-medium text-slate-500 dark:text-slate-400 [&:has([role=checkbox])]:pr-0",e),...t}));bn.displayName="TableHead";const Ke=s.forwardRef(({className:e,...t},n)=>p("td",{ref:n,className:M("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Ke.displayName="TableCell";const jr=s.forwardRef(({className:e,...t},n)=>p("caption",{ref:n,className:M("mt-4 text-sm text-slate-500 dark:text-slate-400",e),...t}));jr.displayName="TableCaption";/** * table-core * * Copyright (c) TanStack diff --git a/assets/index-9571a940.js b/assets/index-521960bf.js similarity index 99% rename from assets/index-9571a940.js rename to assets/index-521960bf.js index a371a73423..4c2a2ecc81 100644 --- a/assets/index-9571a940.js +++ b/assets/index-521960bf.js @@ -1,4 +1,4 @@ -import{c as $P,g as HP,r as yr,u as mf,i as yf,j as to,a as st,$ as VP,q as GP,d as WP,b as Ms,e as YP,f as rm,L as UP,t as XP,h as ZP,k as qP,F as QP,l as KP}from"./index-c6b77a4f.js";var $d={},Sb={exports:{}};/** +import{c as $P,g as HP,r as yr,u as mf,i as yf,j as to,a as st,$ as VP,q as GP,d as WP,b as Ms,e as YP,f as rm,L as UP,t as XP,h as ZP,k as qP,F as QP,l as KP}from"./index-e6c822b9.js";var $d={},Sb={exports:{}};/** * chroma.js - JavaScript library for color conversions * * Copyright (c) 2011-2019, Gregor Aisch diff --git a/assets/index-1e5b13ee.css b/assets/index-a8a3aa3d.css similarity index 65% rename from assets/index-1e5b13ee.css rename to assets/index-a8a3aa3d.css index c87a9778af..153b5a1379 100644 --- a/assets/index-1e5b13ee.css +++ b/assets/index-a8a3aa3d.css @@ -1,4 +1,4 @@ -@charset "UTF-8";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1100px){.container{max-width:1100px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1440px){.container{max-width:1440px}}@media (min-width: 1536px){.container{max-width:1536px}}.icon{height:1.375rem;width:1.375rem}.icon:focus{outline:2px solid transparent;outline-offset:2px}.word-chip{display:flex;height:2.5rem;width:auto;cursor:pointer;flex-direction:row;align-items:center;justify-content:center;border-radius:.375rem;border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.125rem .5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;animation-duration:.1s}.word-chip:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .word-chip){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .word-chip:hover){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}@media (min-width: 768px){.word-chip{height:3rem;padding:.25rem 1.25rem}}.word-chip>span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1.5rem;line-height:2rem;font-weight:300;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .word-chip > span){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}@media (min-width: 768px){.word-chip>span{font-size:1.875rem;line-height:2.25rem}}.word-chip-tooltip{pointer-events:none;display:flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.25rem .5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .word-chip-tooltip){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.my-btn-primary{display:flex;align-items:center;justify-content:center;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity));padding:.25rem 1.5rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.my-btn-primary:hover{opacity:.9}.my-btn-primary:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .my-btn-primary){--tw-text-opacity: .8}.my-btn-info-panel{margin-top:.75rem;display:inline-flex;width:100%;justify-content:center;border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.my-btn-info-panel:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .my-btn-info-panel){--tw-bg-opacity: .7;--tw-text-opacity: .8}@media (min-width: 640px){.my-btn-info-panel{margin-left:.75rem;margin-top:0;width:auto;font-size:.875rem;line-height:1.25rem}}.tooltip{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.25rem .5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .tooltip){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.switch-root{position:relative;display:inline-flex;height:1.5rem;width:3rem;flex-shrink:0;cursor:pointer;align-items:center;border-radius:9999px;border-width:3px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.2s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.switch-root:focus{outline:2px solid transparent;outline-offset:2px}.switch-root[data-headlessui-state=checked]{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.switch-thumb{pointer-events:none;display:inline-block;height:1rem;width:1rem;--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.2s;animation-timing-function:cubic-bezier(.4,0,.2,1)}[data-headlessui-state=checked] .switch-thumb{--tw-translate-x: 25px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.listbox-button{position:relative;width:10rem;cursor:pointer;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem 2.5rem .5rem .75rem;text-align:left;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.listbox-button:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .listbox-button){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.listbox-button span:nth-of-type(1){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .listbox-button span:nth-of-type(1)){color:rgb(255 255 255 / var(--tw-text-opacity));--tw-text-opacity: .6}.listbox-button span:nth-of-type(2){pointer-events:none;position:absolute;top:0px;bottom:0px;right:0px;display:flex;align-items:center;padding-right:.5rem}.listbox-button span:nth-of-type(2):focus{outline:2px solid transparent;outline-offset:2px}.listbox-options{position:absolute;margin-top:.25rem;max-height:15rem;width:100%;overflow:auto;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-top:.25rem;padding-bottom:.25rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.listbox-options:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .listbox-options){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.listbox-options>li{position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.listbox-options>li[data-headlessui-state~=active]{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:where([data-headlessui-state~="active"]) .listbox-options>li{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .listbox-options > li){color:rgb(255 255 255 / var(--tw-text-opacity));--tw-text-opacity: .6}:is(.dark .listbox-options > li[data-headlessui-state~="active"]){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark :where([data-headlessui-state~="active"]) .listbox-options > li){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.listbox-options>li>span:first-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.listbox-options>li>span:first-child[data-headlessui-state~=selected]{font-weight:500}:where([data-headlessui-state~="selected"]) .listbox-options>li>span:first-child{font-weight:500}.listbox-options-icon{position:absolute;top:0px;bottom:0px;left:0px;display:flex;align-items:center;padding-left:.75rem;--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .listbox-options-icon){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.slider{position:relative;display:flex;height:2.5rem;width:100%;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center}.slider [data-disabled]{pointer-events:none;opacity:.5}.slider>span:nth-child(1){position:relative;height:5px;flex-grow:1;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.slider>span:nth-child(1)>span:nth-child(1){position:absolute;height:100%;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.slider>span:nth-child(2){display:block;height:1rem;width:1rem;cursor:pointer;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-inset-2{inset:-.5rem}.inset-0{inset:0px}.-bottom-4{bottom:-1rem}.-right-12{right:-3rem}.-right-2{right:-.5rem}.-right-4{right:-1rem}.-right-7{right:-1.75rem}.-right-9{right:-2.25rem}.bottom-0{bottom:0px}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.bottom-6{bottom:1.5rem}.bottom-full{bottom:100%}.left-0{left:0px}.left-1\/2{left:50%}.left-5{left:1.25rem}.left-\[50\%\]{left:50%}.right-0{right:0px}.right-1{right:.25rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.right-7{right:1.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.m-0{margin:0}.m-4{margin:1rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.\!mt-3{margin-top:.75rem!important}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-\[2px\]{margin-bottom:2px}.mb-\[3px\]{margin-bottom:3px}.mb-auto{margin-bottom:auto}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-8{margin-right:2rem}.mr-9{margin-right:2.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-0{height:0px}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-112{height:28rem}.h-12{height:3rem}.h-120{height:30rem}.h-14{height:3.5rem}.h-152{height:38rem}.h-16{height:4rem}.h-18{height:4.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-22{height:5.5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[10rem\]{height:10rem}.h-\[15rem\]{height:15rem}.h-\[20rem\]{height:20rem}.h-\[22rem\]{height:22rem}.h-\[25px\]{height:25px}.h-\[30rem\]{height:30rem}.h-\[32rem\]{height:32rem}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-0{max-height:0px}.max-h-\[300px\]{max-height:300px}.min-h-full{min-height:100%}.w-0{width:0px}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11\/12{width:91.666667%}.w-116{width:29rem}.w-12{width:3rem}.w-150{width:37.5rem}.w-16{width:4rem}.w-18{width:4.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-200{width:50rem}.w-3\/5{width:60%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/12{width:41.666667%}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-7\/12{width:58.333333%}.w-75{width:18.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-85{width:21.25rem}.w-9{width:2.25rem}.w-\[25px\]{width:25px}.w-\[35rem\]{width:35rem}.w-\[37rem\]{width:37rem}.w-\[60rem\]{width:60rem}.w-\[90vw\]{width:90vw}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[26rem\]{min-width:26rem}.min-w-max{min-width:max-content}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-\[24rem\]{max-width:24rem}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:max-content}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0,.grow-0{flex-grow:0}.basis-1\/12{flex-basis:8.333333%}.basis-2\/12{flex-basis:16.666667%}.basis-6\/12{flex-basis:50%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[0\.7\]{--tw-scale-x: .7;--tw-scale-y: .7;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.select-all{-webkit-user-select:all;user-select:all}.resize{resize:both}.appearance-none{-webkit-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-center{align-content:center}.content-start{align-content:flex-start}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-5{column-gap:1.25rem}.gap-y-10{row-gap:2.5rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.break-normal{overflow-wrap:normal;word-break:normal}.break-keep{word-break:keep-all}.\!rounded-\[20px\]{border-radius:20px!important}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[3rem\]{border-radius:3rem}.rounded-\[4rem\]{border-radius:4rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-8{border-width:8px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-r-transparent{border-right-color:transparent}.border-t-transparent{border-top-color:transparent}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-transparent{background-color:transparent!important}.bg-\[\#e7e7e7\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity))}.bg-\[\#faf9ff\;\]{background-color:#faf9ff}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-100\/50{background-color:#f1f5f980}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\[\#dee0ff\]{--tw-gradient-to: #dee0ff var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.\!p-4{padding:1rem!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-11{padding-left:2.75rem;padding-right:2.75rem}.px-12{padding-left:3rem;padding-right:3rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-60{padding-left:15rem;padding-right:15rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-\[20rem\]{padding-bottom:20rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-20{padding-left:5rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pl-\[15px\]{padding-left:15px}.pr-0{padding-right:0}.pr-0\.8{padding-right:.2rem}.pr-14{padding-right:3.5rem}.pr-20{padding-right:5rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-9{padding-top:2.25rem}.pt-\[20rem\]{padding-top:20rem}.pt-\[2px\]{padding-top:2px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.indent-0{text-indent:0px}.indent-4{text-indent:1rem}.align-middle{vertical-align:middle}.align-\[-0\.125em\]{vertical-align:-.125em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-\[12px\]{font-size:12px}.text-\[15px\]{font-size:15px}.text-\[2\.4rem\]{font-size:2.4rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-10{line-height:2.5rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-\[0px\]{line-height:0px}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-opacity-60{--tw-text-opacity: .6}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_2px_10px\]{--tw-shadow: 0 2px 10px;--tw-shadow-colored: 0 2px 10px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-gray-200{--tw-shadow-color: #e5e7eb;--tw-shadow: var(--tw-shadow-colored)}.shadow-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.shadow-indigo-300{--tw-shadow-color: #a5b4fc;--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-white{--tw-ring-offset-color: #fff}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[2px\]{--tw-blur: blur(2px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-sm{--tw-blur: blur(4px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-0{transition-duration:0ms}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-0{animation-duration:0ms}.duration-100{animation-duration:.1s}.duration-1000{animation-duration:1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#faf9ff;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;animation-duration:.3s;-webkit-user-select:none;user-select:none}html.dark body{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html,body,:global(#root){height:100%}.my-card{box-shadow:0 100px 80px #322e8112,0 41.7776px 33.4221px #322e810d,0 22.3363px 17.869px #322e810b,0 12.5216px 10.0172px #322e8109,0 6.6501px 5.32008px #322e8107,0 2.76726px 2.21381px #322e8105}.text-shadow{text-shadow:0 4px 8px rgba(0,0,0,.16),0 2px 4px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.04)}.shadow-upper{box-shadow:0 -1px 4px #0000001a}.customized-scrollbar::-webkit-scrollbar{width:6px;background:inherit}.customized-scrollbar::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25)}.customized-scrollbar::-webkit-scrollbar-track{background:transparent}.gradient-text{background-image:linear-gradient(90deg,#f66,#f90);-webkit-background-clip:text;background-clip:text;color:transparent;animation:gradient-text-hue 5s linear infinite}@keyframes gradient-text-hue{0%{filter:hue-rotate(0)}to{filter:hue-rotate(-1turn)}}@keyframes typing{0%{width:0}to{width:30em}}@keyframes blink-caret{0%,to{border-color:transparent}50%{border-color:#f0f0f0}}.typewriter{width:30em;margin:0 auto}@keyframes hideCaret{to{border-right-color:transparent}}@keyframes gradientBG{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.after\:block:after{content:var(--tw-content);display:block}.after\:h-\[11px\]:after{content:var(--tw-content);height:11px}.after\:w-\[11px\]:after{content:var(--tw-content);width:11px}.after\:rounded-\[50\%\]:after{content:var(--tw-content);border-radius:50%}.after\:bg-indigo-600:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:bg-\[\#e7e7e7\]:hover{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity))}.hover\:bg-amber-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-500\/90:hover{background-color:#ef4444e6}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/50:hover{background-color:#f1f5f980}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#1DA1F2\]:hover{--tw-text-opacity: 1;color:rgb(29 161 242 / var(--tw-text-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-indigo-400:hover{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-sky-500:hover{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:text-slate-900:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-slate-950:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(2 6 23 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-slate-950:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(2 6 23 / var(--tw-ring-opacity))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:bg-gray-300:disabled{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.disabled\:opacity-100:disabled{opacity:1}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.data-\[state\=active\]\:bg-white[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-slate-100[data-state=on],.data-\[state\=open\]\:bg-slate-100[data-state=open],.data-\[state\=selected\]\:bg-slate-100[data-state=selected]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:text-slate-950[data-state=active]{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-slate-900[data-state=on]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.data-\[state\=open\]\:text-slate-500[data-state=open]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}@media (prefers-reduced-motion: reduce){@keyframes spin{to{transform:rotate(360deg)}}.motion-reduce\:animate-\[spin_1\.5s_linear_infinite\]{animation:spin 1.5s linear infinite}}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-500){--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900\/50){border-color:#7f1d1d80}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark :is(.dark .dark\:dark\:border-red-900)){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:\!bg-gray-800){--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-amber-500){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-400){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-500){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950\/80){background-color:#020617cc}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-10){--tw-bg-opacity: .1}:is(.dark .dark\:bg-opacity-100){--tw-bg-opacity: 1}:is(.dark .dark\:bg-opacity-20){--tw-bg-opacity: .2}:is(.dark .dark\:bg-opacity-30){--tw-bg-opacity: .3}:is(.dark .dark\:bg-opacity-50){--tw-bg-opacity: .5}:is(.dark .dark\:fill-gray-400){fill:#9ca3af}:is(.dark .dark\:text-amber-300){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-700){--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-300){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-300){--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-opacity-60){--tw-text-opacity: .6}:is(.dark .dark\:text-opacity-70){--tw-text-opacity: .7}:is(.dark .dark\:text-opacity-80){--tw-text-opacity: .8}:is(.dark .dark\:text-opacity-90){--tw-text-opacity: .9}:is(.dark .dark\:opacity-80){opacity:.8}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-none){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-gray-700){--tw-shadow-color: #374151;--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-indigo-500\/60){--tw-shadow-color: rgb(99 102 241 / .6);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-offset-slate-950){--tw-ring-offset-color: #020617}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-900\/90:hover){background-color:#7f1d1de6}:is(.dark .dark\:hover\:bg-slate-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-800\/50:hover){background-color:#1e293b80}:is(.dark .dark\:hover\:bg-slate-800\/80:hover){background-color:#1e293bcc}:is(.dark .hover\:dark\:bg-gray-600):hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-\[\#1DA1F2\]:hover){--tw-text-opacity: 1;color:rgb(29 161 242 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-amber-500:hover){--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-100:hover){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-500:hover){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-indigo-400:hover){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-500:hover){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-sky-500:hover){--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-400:hover){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-50:hover){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-opacity-100:hover){--tw-text-opacity: 1}:is(.dark .dark\:focus\:ring-slate-300:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}:is(.dark .dark\:focus-visible\:ring-slate-300:focus-visible){--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=on\]\:bg-slate-800[data-state=on]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=open\]\:bg-slate-800[data-state=open]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=selected\]\:bg-slate-800[data-state=selected]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:text-slate-50[data-state=active]){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=on\]\:text-slate-50[data-state=on]){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=open\]\:text-slate-400[data-state=open]){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:mx-0{margin-left:0;margin-right:0}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:w-10{width:2.5rem}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-1{padding-left:.25rem;padding-right:.25rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:w-4\/5{width:80%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-2{padding-left:.5rem;padding-right:.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:w-3\/5{width:60%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1100px){.dic3\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1440px){.dic4\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-red-500>svg{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.\[\&\>svg\]\:text-slate-950>svg{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}:is(.dark .dark\:\[\&\>svg\]\:text-red-900>svg){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:\[\&\>svg\]\:text-slate-50>svg){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:.9}.core-styles-module_tooltip__3vRRp{left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease-out;visibility:hidden;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{background:inherit;position:absolute}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);visibility:visible}.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;padding:8px 16px;width:max-content}.styles-module_arrow__K0L3T{height:8px;transform:rotate(45deg);width:8px}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}._img-shake_3z8j7_1{animation:_tada_3z8j7_1 1.5s ease-in-out 1s 4;transition:background-color .1s ease-in-out}@keyframes _tada_3z8j7_1{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);fill:#818cf8}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1);animation-delay:2s}}._tab-content_1wty8_1{display:flex;width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2.5rem;overflow-y:auto;padding:2rem 2.25rem 10rem 1.5rem}._section_1wty8_5{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:1rem}._section-label_1wty8_8{padding-bottom:0;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._section-description_1wty8_11{margin-top:-.25rem;padding-left:1rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:400;line-height:1.25;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._block_1wty8_15{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:.5rem;padding-top:0;padding-bottom:0;padding-left:1rem}._block-label_1wty8_18{font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._switch-block_1wty8_21{flex-direction:row;align-items:center;justify-content:space-between}._wrong_124zb_1{animation:_shake_124zb_1 .82s cubic-bezier(.36,.07,.19,.97) both}@keyframes _shake_124zb_1{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}._word-sound_124zb_28{position:absolute;width:40px;height:40px;transform:translateY(calc(-50% - 23px));right:-55px;cursor:pointer;fill:#4b5563}._word-sound_124zb_28 ._prefix__icon_124zb_37{width:40px;height:40px}._dark_124zb_41 ._word-sound_124zb_28{fill:#f9fafb;opacity:.8}/*! +@charset "UTF-8";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1100px){.container{max-width:1100px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1440px){.container{max-width:1440px}}@media (min-width: 1536px){.container{max-width:1536px}}.icon{height:1.375rem;width:1.375rem}.icon:focus{outline:2px solid transparent;outline-offset:2px}.word-chip{display:flex;height:2.5rem;width:auto;cursor:pointer;flex-direction:row;align-items:center;justify-content:center;border-radius:.375rem;border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.125rem .5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;animation-duration:.1s}.word-chip:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .word-chip){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .word-chip:hover){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}@media (min-width: 768px){.word-chip{height:3rem;padding:.25rem 1.25rem}}.word-chip>span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1.5rem;line-height:2rem;font-weight:300;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .word-chip > span){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}@media (min-width: 768px){.word-chip>span{font-size:1.875rem;line-height:2.25rem}}.word-chip-tooltip{pointer-events:none;display:flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.25rem .5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .word-chip-tooltip){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.my-btn-primary{display:flex;align-items:center;justify-content:center;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity));padding:.25rem 1.5rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.my-btn-primary:hover{opacity:.9}.my-btn-primary:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .my-btn-primary){--tw-text-opacity: .8}.my-btn-info-panel{margin-top:.75rem;display:inline-flex;width:100%;justify-content:center;border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.my-btn-info-panel:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .my-btn-info-panel){--tw-bg-opacity: .7;--tw-text-opacity: .8}@media (min-width: 640px){.my-btn-info-panel{margin-left:.75rem;margin-top:0;width:auto;font-size:.875rem;line-height:1.25rem}}.tooltip{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.25rem .5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .tooltip){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.switch-root{position:relative;display:inline-flex;height:1.5rem;width:3rem;flex-shrink:0;cursor:pointer;align-items:center;border-radius:9999px;border-width:3px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.2s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.switch-root:focus{outline:2px solid transparent;outline-offset:2px}.switch-root[data-headlessui-state=checked]{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.switch-thumb{pointer-events:none;display:inline-block;height:1rem;width:1rem;--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.2s;animation-timing-function:cubic-bezier(.4,0,.2,1)}[data-headlessui-state=checked] .switch-thumb{--tw-translate-x: 25px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.listbox-button{position:relative;width:10rem;cursor:pointer;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem 2.5rem .5rem .75rem;text-align:left;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.listbox-button:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .listbox-button){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.listbox-button span:nth-of-type(1){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .listbox-button span:nth-of-type(1)){color:rgb(255 255 255 / var(--tw-text-opacity));--tw-text-opacity: .6}.listbox-button span:nth-of-type(2){pointer-events:none;position:absolute;top:0px;bottom:0px;right:0px;display:flex;align-items:center;padding-right:.5rem}.listbox-button span:nth-of-type(2):focus{outline:2px solid transparent;outline-offset:2px}.listbox-options{position:absolute;margin-top:.25rem;max-height:15rem;width:100%;overflow:auto;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-top:.25rem;padding-bottom:.25rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.listbox-options:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .listbox-options){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.listbox-options>li{position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.listbox-options>li[data-headlessui-state~=active]{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:where([data-headlessui-state~="active"]) .listbox-options>li{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .listbox-options > li){color:rgb(255 255 255 / var(--tw-text-opacity));--tw-text-opacity: .6}:is(.dark .listbox-options > li[data-headlessui-state~="active"]){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark :where([data-headlessui-state~="active"]) .listbox-options > li){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.listbox-options>li>span:first-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.listbox-options>li>span:first-child[data-headlessui-state~=selected]{font-weight:500}:where([data-headlessui-state~="selected"]) .listbox-options>li>span:first-child{font-weight:500}.listbox-options-icon{position:absolute;top:0px;bottom:0px;left:0px;display:flex;align-items:center;padding-left:.75rem;--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .listbox-options-icon){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.slider{position:relative;display:flex;height:2.5rem;width:100%;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center}.slider [data-disabled]{pointer-events:none;opacity:.5}.slider>span:nth-child(1){position:relative;height:5px;flex-grow:1;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.slider>span:nth-child(1)>span:nth-child(1){position:absolute;height:100%;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.slider>span:nth-child(2){display:block;height:1rem;width:1rem;cursor:pointer;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-inset-2{inset:-.5rem}.inset-0{inset:0px}.-bottom-4{bottom:-1rem}.-right-12{right:-3rem}.-right-2{right:-.5rem}.-right-4{right:-1rem}.-right-7{right:-1.75rem}.-right-9{right:-2.25rem}.bottom-0{bottom:0px}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.bottom-6{bottom:1.5rem}.bottom-full{bottom:100%}.left-0{left:0px}.left-1\/2{left:50%}.left-5{left:1.25rem}.left-\[50\%\]{left:50%}.right-0{right:0px}.right-1{right:.25rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.right-7{right:1.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.m-0{margin:0}.m-4{margin:1rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.\!mt-3{margin-top:.75rem!important}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-\[2px\]{margin-bottom:2px}.mb-\[3px\]{margin-bottom:3px}.mb-auto{margin-bottom:auto}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-8{margin-right:2rem}.mr-9{margin-right:2.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-0{height:0px}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-112{height:28rem}.h-12{height:3rem}.h-120{height:30rem}.h-14{height:3.5rem}.h-152{height:38rem}.h-16{height:4rem}.h-18{height:4.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-22{height:5.5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[10rem\]{height:10rem}.h-\[15rem\]{height:15rem}.h-\[20rem\]{height:20rem}.h-\[22rem\]{height:22rem}.h-\[25px\]{height:25px}.h-\[30rem\]{height:30rem}.h-\[32rem\]{height:32rem}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-0{max-height:0px}.max-h-\[300px\]{max-height:300px}.min-h-full{min-height:100%}.w-0{width:0px}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11\/12{width:91.666667%}.w-116{width:29rem}.w-12{width:3rem}.w-150{width:37.5rem}.w-16{width:4rem}.w-18{width:4.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-200{width:50rem}.w-3\/5{width:60%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/12{width:41.666667%}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-7\/12{width:58.333333%}.w-75{width:18.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-85{width:21.25rem}.w-9{width:2.25rem}.w-\[25px\]{width:25px}.w-\[35rem\]{width:35rem}.w-\[37rem\]{width:37rem}.w-\[60rem\]{width:60rem}.w-\[90vw\]{width:90vw}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[26rem\]{min-width:26rem}.min-w-max{min-width:max-content}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-\[24rem\]{max-width:24rem}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:max-content}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0,.grow-0{flex-grow:0}.basis-1\/12{flex-basis:8.333333%}.basis-2\/12{flex-basis:16.666667%}.basis-6\/12{flex-basis:50%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[0\.7\]{--tw-scale-x: .7;--tw-scale-y: .7;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.select-all{-webkit-user-select:all;user-select:all}.resize{resize:both}.appearance-none{-webkit-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-center{align-content:center}.content-start{align-content:flex-start}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-5{column-gap:1.25rem}.gap-y-10{row-gap:2.5rem}.gap-y-3{row-gap:.75rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.break-normal{overflow-wrap:normal;word-break:normal}.break-keep{word-break:keep-all}.\!rounded-\[20px\]{border-radius:20px!important}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[3rem\]{border-radius:3rem}.rounded-\[4rem\]{border-radius:4rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-8{border-width:8px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-r-transparent{border-right-color:transparent}.border-t-transparent{border-top-color:transparent}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-transparent{background-color:transparent!important}.bg-\[\#e7e7e7\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity))}.bg-\[\#faf9ff\;\]{background-color:#faf9ff}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-100\/50{background-color:#f1f5f980}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\[\#dee0ff\]{--tw-gradient-to: #dee0ff var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.\!p-4{padding:1rem!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-11{padding-left:2.75rem;padding-right:2.75rem}.px-12{padding-left:3rem;padding-right:3rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-60{padding-left:15rem;padding-right:15rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-\[20rem\]{padding-bottom:20rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-20{padding-left:5rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pl-\[15px\]{padding-left:15px}.pr-0{padding-right:0}.pr-0\.8{padding-right:.2rem}.pr-14{padding-right:3.5rem}.pr-20{padding-right:5rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-9{padding-top:2.25rem}.pt-\[20rem\]{padding-top:20rem}.pt-\[2px\]{padding-top:2px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.indent-0{text-indent:0px}.indent-4{text-indent:1rem}.align-middle{vertical-align:middle}.align-\[-0\.125em\]{vertical-align:-.125em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-\[12px\]{font-size:12px}.text-\[15px\]{font-size:15px}.text-\[2\.4rem\]{font-size:2.4rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-10{line-height:2.5rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-\[0px\]{line-height:0px}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-opacity-60{--tw-text-opacity: .6}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_2px_10px\]{--tw-shadow: 0 2px 10px;--tw-shadow-colored: 0 2px 10px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-gray-200{--tw-shadow-color: #e5e7eb;--tw-shadow: var(--tw-shadow-colored)}.shadow-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.shadow-indigo-300{--tw-shadow-color: #a5b4fc;--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-white{--tw-ring-offset-color: #fff}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[2px\]{--tw-blur: blur(2px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-sm{--tw-blur: blur(4px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-0{transition-duration:0ms}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-0{animation-duration:0ms}.duration-100{animation-duration:.1s}.duration-1000{animation-duration:1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#faf9ff;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;animation-duration:.3s;-webkit-user-select:none;user-select:none}html.dark body{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html,body,:global(#root){height:100%}.my-card{box-shadow:0 100px 80px #322e8112,0 41.7776px 33.4221px #322e810d,0 22.3363px 17.869px #322e810b,0 12.5216px 10.0172px #322e8109,0 6.6501px 5.32008px #322e8107,0 2.76726px 2.21381px #322e8105}.text-shadow{text-shadow:0 4px 8px rgba(0,0,0,.16),0 2px 4px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.04)}.shadow-upper{box-shadow:0 -1px 4px #0000001a}.customized-scrollbar::-webkit-scrollbar{width:6px;background:inherit}.customized-scrollbar::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25)}.customized-scrollbar::-webkit-scrollbar-track{background:transparent}.gradient-text{background-image:linear-gradient(90deg,#f66,#f90);-webkit-background-clip:text;background-clip:text;color:transparent;animation:gradient-text-hue 5s linear infinite}@keyframes gradient-text-hue{0%{filter:hue-rotate(0)}to{filter:hue-rotate(-1turn)}}@keyframes typing{0%{width:0}to{width:30em}}@keyframes blink-caret{0%,to{border-color:transparent}50%{border-color:#f0f0f0}}.typewriter{width:30em;margin:0 auto}@keyframes hideCaret{to{border-right-color:transparent}}@keyframes gradientBG{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.after\:block:after{content:var(--tw-content);display:block}.after\:h-\[11px\]:after{content:var(--tw-content);height:11px}.after\:w-\[11px\]:after{content:var(--tw-content);width:11px}.after\:rounded-\[50\%\]:after{content:var(--tw-content);border-radius:50%}.after\:bg-indigo-600:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:bg-\[\#e7e7e7\]:hover{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity))}.hover\:bg-amber-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-500\/90:hover{background-color:#ef4444e6}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/50:hover{background-color:#f1f5f980}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#1DA1F2\]:hover{--tw-text-opacity: 1;color:rgb(29 161 242 / var(--tw-text-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-indigo-400:hover{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-sky-500:hover{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:text-slate-900:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-slate-950:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(2 6 23 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-slate-950:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(2 6 23 / var(--tw-ring-opacity))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:bg-gray-300:disabled{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.disabled\:opacity-100:disabled{opacity:1}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.data-\[state\=active\]\:bg-white[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-slate-100[data-state=on],.data-\[state\=open\]\:bg-slate-100[data-state=open],.data-\[state\=selected\]\:bg-slate-100[data-state=selected]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:text-slate-950[data-state=active]{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-slate-900[data-state=on]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.data-\[state\=open\]\:text-slate-500[data-state=open]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}@media (prefers-reduced-motion: reduce){@keyframes spin{to{transform:rotate(360deg)}}.motion-reduce\:animate-\[spin_1\.5s_linear_infinite\]{animation:spin 1.5s linear infinite}}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-500){--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900\/50){border-color:#7f1d1d80}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark :is(.dark .dark\:dark\:border-red-900)){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:\!bg-gray-800){--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-amber-500){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-400){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-500){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950\/80){background-color:#020617cc}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-10){--tw-bg-opacity: .1}:is(.dark .dark\:bg-opacity-100){--tw-bg-opacity: 1}:is(.dark .dark\:bg-opacity-20){--tw-bg-opacity: .2}:is(.dark .dark\:bg-opacity-30){--tw-bg-opacity: .3}:is(.dark .dark\:bg-opacity-50){--tw-bg-opacity: .5}:is(.dark .dark\:fill-gray-400){fill:#9ca3af}:is(.dark .dark\:text-amber-300){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-700){--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-300){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-300){--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-opacity-60){--tw-text-opacity: .6}:is(.dark .dark\:text-opacity-70){--tw-text-opacity: .7}:is(.dark .dark\:text-opacity-80){--tw-text-opacity: .8}:is(.dark .dark\:text-opacity-90){--tw-text-opacity: .9}:is(.dark .dark\:opacity-80){opacity:.8}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-none){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-gray-700){--tw-shadow-color: #374151;--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-indigo-500\/60){--tw-shadow-color: rgb(99 102 241 / .6);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-offset-slate-950){--tw-ring-offset-color: #020617}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-900\/90:hover){background-color:#7f1d1de6}:is(.dark .dark\:hover\:bg-slate-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-800\/50:hover){background-color:#1e293b80}:is(.dark .dark\:hover\:bg-slate-800\/80:hover){background-color:#1e293bcc}:is(.dark .hover\:dark\:bg-gray-600):hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-\[\#1DA1F2\]:hover){--tw-text-opacity: 1;color:rgb(29 161 242 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-amber-500:hover){--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-100:hover){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-500:hover){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-indigo-400:hover){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-500:hover){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-sky-500:hover){--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-400:hover){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-50:hover){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-opacity-100:hover){--tw-text-opacity: 1}:is(.dark .dark\:focus\:ring-slate-300:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}:is(.dark .dark\:focus-visible\:ring-slate-300:focus-visible){--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=on\]\:bg-slate-800[data-state=on]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=open\]\:bg-slate-800[data-state=open]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=selected\]\:bg-slate-800[data-state=selected]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:text-slate-50[data-state=active]){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=on\]\:text-slate-50[data-state=on]){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=open\]\:text-slate-400[data-state=open]){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:mx-0{margin-left:0;margin-right:0}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:w-10{width:2.5rem}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-1{padding-left:.25rem;padding-right:.25rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:w-4\/5{width:80%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-2{padding-left:.5rem;padding-right:.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:w-3\/5{width:60%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1100px){.dic3\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1440px){.dic4\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-red-500>svg{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.\[\&\>svg\]\:text-slate-950>svg{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}:is(.dark .dark\:\[\&\>svg\]\:text-red-900>svg){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:\[\&\>svg\]\:text-slate-50>svg){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:.9}.core-styles-module_tooltip__3vRRp{left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease-out;visibility:hidden;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{background:inherit;position:absolute}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);visibility:visible}.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;padding:8px 16px;width:max-content}.styles-module_arrow__K0L3T{height:8px;transform:rotate(45deg);width:8px}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}._img-shake_3z8j7_1{animation:_tada_3z8j7_1 1.5s ease-in-out 1s 4;transition:background-color .1s ease-in-out}@keyframes _tada_3z8j7_1{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);fill:#818cf8}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1);animation-delay:2s}}._tab-content_1wty8_1{display:flex;width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2.5rem;overflow-y:auto;padding:2rem 2.25rem 10rem 1.5rem}._section_1wty8_5{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:1rem}._section-label_1wty8_8{padding-bottom:0;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._section-description_1wty8_11{margin-top:-.25rem;padding-left:1rem;text-align:left;font-size:.75rem;line-height:1rem;font-weight:400;line-height:1.25;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._block_1wty8_15{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:.5rem;padding-top:0;padding-bottom:0;padding-left:1rem}._block-label_1wty8_18{font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._switch-block_1wty8_21{flex-direction:row;align-items:center;justify-content:space-between}._wrong_124zb_1{animation:_shake_124zb_1 .82s cubic-bezier(.36,.07,.19,.97) both}@keyframes _shake_124zb_1{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}._word-sound_124zb_28{position:absolute;width:40px;height:40px;transform:translateY(calc(-50% - 23px));right:-55px;cursor:pointer;fill:#4b5563}._word-sound_124zb_28 ._prefix__icon_124zb_37{width:40px;height:40px}._dark_124zb_41 ._word-sound_124zb_28{fill:#f9fafb;opacity:.8}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/assets/index-c6b77a4f.js b/assets/index-e6c822b9.js similarity index 61% rename from assets/index-c6b77a4f.js rename to assets/index-e6c822b9.js index 70561566f2..749611dcbc 100644 --- a/assets/index-c6b77a4f.js +++ b/assets/index-e6c822b9.js @@ -1,4 +1,4 @@ -function B8(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();const vW="modulepreload",mW=function(e,t){return new URL(e,t).href},O5={},Je=function(t,r,n){if(!r||r.length===0)return t();const a=document.getElementsByTagName("link");return Promise.all(r.map(o=>{if(o=mW(o,n),o in O5)return;O5[o]=!0;const i=o.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let f=a.length-1;f>=0;f--){const c=a[f];if(c.href===o&&(!i||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":vW,i||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),i)return new Promise((f,c)=>{u.addEventListener("load",f),u.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Aje(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(t,a);return new o}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var U8={exports:{}},u0={},z8={exports:{}},xe={};/** +function B8(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();const mW="modulepreload",yW=function(e,t){return new URL(e,t).href},k5={},Je=function(t,r,n){if(!r||r.length===0)return t();const a=document.getElementsByTagName("link");return Promise.all(r.map(o=>{if(o=yW(o,n),o in k5)return;k5[o]=!0;const i=o.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let f=a.length-1;f>=0;f--){const c=a[f];if(c.href===o&&(!i||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":mW,i||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),i)return new Promise((f,c)=>{u.addEventListener("load",f),u.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Ya=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ije(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(t,a);return new o}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var U8={exports:{}},u0={},z8={exports:{}},xe={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function B8(e,t){for(var r=0;ry("div",{className:`inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-indigo-400 border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite] ${e}`,role:"status"}),FW=()=>y("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[#faf9ff;]",children:y("div",{className:"flex flex-col items-center justify-center ",children:y(Z8,{})})}),BW=Y.memo(FW);const UW=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const __=({className:e,isLoading:t,hasError:r})=>y("div",{className:`${e}`,children:r?y("div",{className:"tooltip !bg-transparent","data-tip":"数据加载失败",children:y(UW,{className:"text-red-500"})}):t&&y(Z8,{})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function Q8(e){return await(await fetch("/qwerty-learner"+e)).json()}var J8={exports:{}},e7={};/** + */var NW=p,LW=Symbol.for("react.element"),MW=Symbol.for("react.fragment"),DW=Object.prototype.hasOwnProperty,jW=NW.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,FW={key:!0,ref:!0,__self:!0,__source:!0};function X8(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)DW.call(t,n)&&!FW.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:LW,type:e,key:o,ref:i,props:a,_owner:jW.current}}u0.Fragment=MW;u0.jsx=X8;u0.jsxs=X8;U8.exports=u0;var oS=U8.exports;const Ne=oS.Fragment,y=oS.jsx,P=oS.jsxs;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Z8=({className:e})=>y("div",{className:`inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-indigo-400 border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite] ${e}`,role:"status"}),BW=()=>y("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[#faf9ff;]",children:y("div",{className:"flex flex-col items-center justify-center ",children:y(Z8,{})})}),UW=Y.memo(BW);const zW=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const __=({className:e,isLoading:t,hasError:r})=>y("div",{className:`${e}`,children:r?y("div",{className:"tooltip !bg-transparent","data-tip":"数据加载失败",children:y(zW,{className:"text-red-500"})}):t&&y(Z8,{})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function Q8(e){return await(await fetch("/qwerty-learner"+e)).json()}var J8={exports:{}},e7={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -22,7 +22,7 @@ function B8(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?YW:qW;e7.useSyncExternalStore=Lc.useSyncExternalStore!==void 0?Lc.useSyncExternalStore:XW;J8.exports=e7;var ZW=J8.exports;const Ya=new WeakMap,o1={},mp={},ii=()=>{},Qn=ii(),i1=Object,ze=e=>e===Qn,Xa=e=>typeof e=="function",Oi=(e,t)=>({...e,...t}),iS="undefined",d0=typeof window!=iS,$_=typeof document!=iS,QW=()=>d0&&typeof window.requestAnimationFrame!=iS,t7=(e,t)=>{const r=Ya.get(e);return[()=>!ze(t)&&e.get(t)||o1,n=>{if(!ze(t)){const a=e.get(t);t in mp||(mp[t]=a),r[5](t,Oi(a,n),a||o1)}},r[6],()=>!ze(t)&&t in mp?mp[t]:!ze(t)&&e.get(t)||o1]},yp=new WeakMap;let JW=0;const gf=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let a,o;if(i1(e)===e&&!n&&r!=RegExp){if(a=yp.get(e),a)return a;if(a=++JW+"~",yp.set(e,a),r==Array){for(a="@",o=0;ox_,[S_,E_]=d0&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ii,ii],tH=()=>{const e=$_&&document.visibilityState;return ze(e)||e!=="hidden"},rH=e=>($_&&document.addEventListener("visibilitychange",e),S_("focus",e),()=>{$_&&document.removeEventListener("visibilitychange",e),E_("focus",e)}),nH=e=>{const t=()=>{x_=!0,e()},r=()=>{x_=!1};return S_("online",t),S_("offline",r),()=>{E_("online",t),E_("offline",r)}},aH={isOnline:eH,isVisible:tH},oH={initFocus:rH,initReconnect:nH},N5=!Y.useId,vf=!d0||"Deno"in window,iH=e=>QW()?window.requestAnimationFrame(e):setTimeout(e,1),s1=vf?p.useEffect:p.useLayoutEffect,l1=typeof navigator<"u"&&navigator.connection,L5=!vf&&l1&&(["slow-2g","2g"].includes(l1.effectiveType)||l1.saveData),sS=e=>{if(Xa(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?gf(e):"",[e,t]};let sH=0;const C_=()=>++sH,r7=0,n7=1,a7=2,lH=3;var Zu={__proto__:null,ERROR_REVALIDATE_EVENT:lH,FOCUS_EVENT:r7,MUTATE_EVENT:a7,RECONNECT_EVENT:n7};async function o7(...e){const[t,r,n,a]=e,o=Oi({populateCache:!0,throwOnError:!0},typeof a=="boolean"?{revalidate:a}:a||{});let i=o.populateCache;const s=o.rollbackOnError;let l=o.optimisticData;const u=o.revalidate!==!1,f=h=>typeof s=="function"?s(h):s!==!1,c=o.throwOnError;if(Xa(r)){const h=r,g=[],m=t.keys();for(let w=m.next();!w.done;w=m.next()){const v=w.value;!/^\$(inf|sub)\$/.test(v)&&h(t.get(v)._k)&&g.push(v)}return Promise.all(g.map(d))}return d(r);async function d(h){const[g]=sS(h);if(!g)return;const[m,w]=t7(t,g),[v,b,_]=Ya.get(t),$=v[g],C=()=>u&&(delete _[g],$&&$[0])?$[0](a7).then(()=>m().data):m().data;if(e.length<3)return C();let O=n,x;const S=C_();b[g]=[S,0];const A=!ze(l),k=m(),L=k.data,P=k._c,N=ze(P)?L:P;if(A&&(l=Xa(l)?l(N):l,w({data:l,_c:N})),Xa(O))try{O=O(N)}catch(R){x=R}if(O&&Xa(O.then))if(O=await O.catch(R=>{x=R}),S!==b[g][0]){if(x)throw x;return O}else x&&A&&f(x)&&(i=!0,O=N,w({data:O,_c:Qn}));i&&(x||(Xa(i)&&(O=i(O,N)),w({data:O,_c:Qn}))),b[g][1]=C_();const E=await C();if(w({_c:Qn}),x){if(c)throw x;return}return i?E:O}}const M5=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},cH=(e,t)=>{if(!Ya.has(e)){const r=Oi(oH,t),n={},a=o7.bind(Qn,e);let o=ii;const i={},s=(f,c)=>{const d=i[f]||[];return i[f]=d,d.push(c),()=>d.splice(d.indexOf(c),1)},l=(f,c,d)=>{e.set(f,c);const h=i[f];if(h)for(const g of h)g(c,d)},u=()=>{if(!Ya.has(e)&&(Ya.set(e,[n,{},{},{},a,l,s]),!vf)){const f=r.initFocus(setTimeout.bind(Qn,M5.bind(Qn,n,r7))),c=r.initReconnect(setTimeout.bind(Qn,M5.bind(Qn,n,n7)));o=()=>{f&&f(),c&&c(),Ya.delete(e)}}};return u(),[e,a,u,o]}return[e,Ya.get(e)[4]]},uH=(e,t,r,n,a)=>{const o=r.errorRetryCount,i=a.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*r.errorRetryInterval;!ze(o)&&i>o||setTimeout(n,s,a)},dH=(e,t)=>gf(e)==gf(t),[i7,fH]=cH(new Map),hH=Oi({onLoadingSlow:ii,onSuccess:ii,onError:ii,onErrorRetry:uH,onDiscarded:ii,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L5?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:L5?5e3:3e3,compare:dH,isPaused:()=>!1,cache:i7,mutate:fH,fallback:{}},aH),pH=(e,t)=>{const r=Oi(e,t);if(t){const{use:n,fallback:a}=e,{use:o,fallback:i}=t;n&&o&&(r.use=n.concat(o)),a&&i&&(r.fallback=Oi(a,i))}return r},gH=p.createContext({}),s7=d0&&window.__SWR_DEVTOOLS_USE__,vH=s7?window.__SWR_DEVTOOLS_USE__:[],mH=()=>{s7&&(window.__SWR_DEVTOOLS_REACT__=Y)},yH=e=>Xa(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],bH=()=>Oi(hH,p.useContext(gH)),wH=e=>(t,r,n)=>e(t,r&&((...o)=>{const[i]=sS(t),[,,,s]=Ya.get(i7),l=s[i];return l?(delete s[i],l):r(...o)}),n),_H=vH.concat(wH),$H=e=>function(...r){const n=bH(),[a,o,i]=yH(r),s=pH(n,i);let l=e;const{use:u}=s,f=(u||[]).concat(_H);for(let c=f.length;c--;)l=f[c](l);return l(a,o||s.fetcher||null,s)},xH=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const a=n.indexOf(r);a>=0&&(n[a]=n[n.length-1],n.pop())}};mH();const c1={dedupe:!0},SH=(e,t,r)=>{const{cache:n,compare:a,suspense:o,fallbackData:i,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:d}=r,[h,g,m]=Ya.get(n),[w,v]=sS(e),b=p.useRef(!1),_=p.useRef(!1),$=p.useRef(w),C=p.useRef(t),O=p.useRef(r),x=()=>O.current,S=()=>x().isVisible()&&x().isOnline(),[A,k,L,P]=t7(n,w),N=p.useRef({}).current,E=ze(i)?r.fallback[w]:i,R=(ue,$e)=>{for(const Oe in N){const Me=Oe;if(Me==="data"){if(!a(ue[Me],$e[Me])&&(!ze(ue[Me])||!a(H,$e[Me])))return!1}else if($e[Me]!==ue[Me])return!1}return!0},F=p.useMemo(()=>{const ue=(()=>!w||!t?!1:ze(s)?x().isPaused()||o?!1:ze(l)?!0:l:s)(),$e=Xe=>{const vt=Oi(Xe);return delete vt._k,ue?{isValidating:!0,isLoading:!0,...vt}:vt},Oe=A(),Me=P(),at=$e(Oe),Wt=Oe===Me?at:$e(Me);let Ie=at;return[()=>{const Xe=$e(A());return R(Xe,Ie)?(Ie.data=Xe.data,Ie.isLoading=Xe.isLoading,Ie.isValidating=Xe.isValidating,Ie.error=Xe.error,Ie):(Ie=Xe,Xe)},()=>Wt]},[n,w]),B=ZW.useSyncExternalStore(p.useCallback(ue=>L(w,($e,Oe)=>{R(Oe,$e)||ue()}),[n,w]),F[0],F[1]),j=!b.current,M=h[w]&&h[w].length>0,D=B.data,U=ze(D)?E:D,V=B.error,G=p.useRef(U),H=d?ze(D)?G.current:D:U,K=(()=>M&&!ze(V)?!1:j&&!ze(s)?s:x().isPaused()?!1:o?ze(U)?!1:l:ze(U)||l)(),Q=!!(w&&t&&j&&K),J=ze(B.isValidating)?Q:B.isValidating,de=ze(B.isLoading)?Q:B.isLoading,ve=p.useCallback(async ue=>{const $e=C.current;if(!w||!$e||_.current||x().isPaused())return!1;let Oe,Me,at=!0;const Wt=ue||{},Ie=!m[w]||!Wt.dedupe,Xe=()=>N5?!_.current&&w===$.current&&b.current:w===$.current,vt={isValidating:!1,isLoading:!1},Br=()=>{k(vt)},mt=()=>{const $t=m[w];$t&&$t[1]===Me&&delete m[w]},hr={isValidating:!0};ze(A().data)&&(hr.isLoading=!0);try{if(Ie&&(k(hr),r.loadingTimeout&&ze(A().data)&&setTimeout(()=>{at&&Xe()&&x().onLoadingSlow(w,r)},r.loadingTimeout),m[w]=[$e(v),C_()]),[Oe,Me]=m[w],Oe=await Oe,Ie&&setTimeout(mt,r.dedupingInterval),!m[w]||m[w][1]!==Me)return Ie&&Xe()&&x().onDiscarded(w),!1;vt.error=Qn;const $t=g[w];if(!ze($t)&&(Me<=$t[0]||Me<=$t[1]||$t[1]===0))return Br(),Ie&&Xe()&&x().onDiscarded(w),!1;const Ht=A().data;vt.data=a(Ht,Oe)?Ht:Oe,Ie&&Xe()&&x().onSuccess(Oe,w,r)}catch($t){mt();const Ht=x(),{shouldRetryOnError:gn}=Ht;Ht.isPaused()||(vt.error=$t,Ie&&Xe()&&(Ht.onError($t,w,Ht),(gn===!0||Xa(gn)&&gn($t))&&S()&&Ht.onErrorRetry($t,w,Ht,xl=>{const zo=h[w];zo&&zo[0]&&zo[0](Zu.ERROR_REVALIDATE_EVENT,xl)},{retryCount:(Wt.retryCount||0)+1,dedupe:!0})))}return at=!1,Br(),!0},[w,n]),Le=p.useCallback((...ue)=>o7(n,$.current,...ue),[]);if(s1(()=>{C.current=t,O.current=r,ze(D)||(G.current=D)}),s1(()=>{if(!w)return;const ue=ve.bind(Qn,c1);let $e=0;const Me=xH(w,h,(at,Wt={})=>{if(at==Zu.FOCUS_EVENT){const Ie=Date.now();x().revalidateOnFocus&&Ie>$e&&S()&&($e=Ie+x().focusThrottleInterval,ue())}else if(at==Zu.RECONNECT_EVENT)x().revalidateOnReconnect&&S()&&ue();else{if(at==Zu.MUTATE_EVENT)return ve();if(at==Zu.ERROR_REVALIDATE_EVENT)return ve(Wt)}});return _.current=!1,$.current=w,b.current=!0,k({_k:v}),K&&(ze(U)||vf?ue():iH(ue)),()=>{_.current=!0,Me()}},[w]),s1(()=>{let ue;function $e(){const Me=Xa(u)?u(A().data):u;Me&&ue!==-1&&(ue=setTimeout(Oe,Me))}function Oe(){!A().error&&(f||x().isVisible())&&(c||x().isOnline())?ve(c1).then($e):$e()}return $e(),()=>{ue&&(clearTimeout(ue),ue=-1)}},[u,f,c,w]),p.useDebugValue(H),o&&ze(U)&&w)throw!N5&&vf?new Error("Fallback data is required when using suspense in SSR."):(C.current=t,O.current=r,_.current=!1,ze(V)?ve(c1):V);return{mutate:Le,get data(){return N.data=!0,H},get error(){return N.error=!0,V},get isValidating(){return N.isValidating=!0,J},get isLoading(){return N.isLoading=!0,de}}},l7=$H(SH);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function c7(e,t){const{data:r,error:n,isLoading:a}=l7(t==null?void 0:t.url,Q8),[o,i]=p.useState(!1),s=p.useMemo(()=>{if(!r)return;const l=r.find(u=>u.name===e);if(l)return l;i(!0)},[r,e]);return p.useEffect(()=>{n&&i(!0)},[n]),{word:s,isLoading:a,hasError:o}}let EH=0;function rn(e,t){const r=`atom${++EH}`,n={toString:()=>r};return typeof e=="function"?n.read=e:(n.init=e,n.read=a=>a(n),n.write=(a,o,i)=>o(n,typeof i=="function"?i(a(n)):i)),t&&(n.write=t),n}const u1=e=>"init"in e,d1=e=>!!e.write,Tv=new WeakMap,CH=(e,t)=>{Tv.set(e,t),e.catch(()=>{}).finally(()=>Tv.delete(e))},D5=(e,t)=>{const r=Tv.get(e);r&&(Tv.delete(e),r(t))},j5=(e,t)=>{e.status="fulfilled",e.value=t},F5=(e,t)=>{e.status="rejected",e.reason=t},bp=(e,t)=>"v"in e&&"v"in t&&Object.is(e.v,t.v),B5=(e,t)=>"e"in e&&"e"in t&&Object.is(e.e,t.e),f1=e=>"v"in e&&e.v instanceof Promise,wp=e=>{if("e"in e)throw e.e;return e.v},TH=()=>{const e=new WeakMap,t=new WeakMap,r=new Map;let n,a;({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&(n=new Set,a=new Set);const o=S=>e.get(S),i=(S,A)=>{({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&Object.freeze(A);const k=e.get(S);if(e.set(S,A),r.has(S)||r.set(S,k),k&&f1(k)){const L="v"in A?A.v instanceof Promise?A.v:Promise.resolve(A.v):Promise.reject(A.e);D5(k.v,L)}},s=(S,A,k)=>{const L=new Map;let P=!1;k.forEach((N,E)=>{!N&&E===S&&(N=A),N&&(L.set(E,N),A.d.get(E)!==N&&(P=!0))}),(P||A.d.size!==L.size)&&(A.d=L)},l=(S,A,k)=>{const L=o(S),P={d:(L==null?void 0:L.d)||new Map,v:A};return k&&s(S,P,k),L&&bp(L,P)&&L.d===P.d?L:(i(S,P),P)},u=(S,A,k,L)=>{if(A instanceof Promise){let P;const N=new Promise((E,R)=>{let F=!1;A.then(B=>{if(!F){F=!0;const j=o(S),M=l(S,N,k);j5(N,B),E(B),(j==null?void 0:j.d)!==M.d&&C(S,M,j==null?void 0:j.d)}},B=>{if(!F){F=!0;const j=o(S),M=l(S,N,k);F5(N,B),R(B),(j==null?void 0:j.d)!==M.d&&C(S,M,j==null?void 0:j.d)}}),P=B=>{F||(F=!0,B.then(j=>j5(N,j),j=>F5(N,j)),E(B))}});return N.status="pending",CH(N,E=>{E&&P(E),L==null||L()}),l(S,N,k)}return l(S,A,k)},f=(S,A,k)=>{const L=o(S),P={d:(L==null?void 0:L.d)||new Map,e:A};return k&&s(S,P,k),L&&B5(L,P)&&L.d===P.d?L:(i(S,P),P)},c=S=>{const A=o(S);if(A&&(A.d.forEach((F,B)=>{B!==S&&!t.has(B)&&c(B)}),Array.from(A.d).every(([F,B])=>F===S||o(F)===B)))return A;const k=new Map;let L=!0;const P=F=>{if(F===S){const j=o(F);if(j)return k.set(F,j),wp(j);if(u1(F))return k.set(F,void 0),F.init;throw new Error("no atom init")}const B=c(F);return k.set(F,B),wp(B)};let N,E;const R={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&d1(S),!E&&d1(S)&&(E=(...F)=>{if(!L)return b(S,...F)}),E}};try{const F=S.read(P,R);return u(S,F,k,()=>N==null?void 0:N.abort())}catch(F){return f(S,F,k)}finally{L=!1}},d=S=>wp(c(S)),h=S=>{let A=t.get(S);return A||(A=_(S)),A},g=(S,A)=>!A.l.size&&(!A.t.size||A.t.size===1&&A.t.has(S)),m=S=>{const A=t.get(S);A&&g(S,A)&&$(S)},w=S=>{const A=t.get(S);A==null||A.t.forEach(k=>{if(k!==S){const L=o(k),P=c(k);(!L||!bp(L,P))&&w(k)}})},v=(S,...A)=>{let k=!0;const L=E=>wp(c(E)),P=(E,...R)=>{let F;if(E===S){if(!u1(E))throw new Error("atom not writable");const B=o(E),j=u(E,R[0]);(!B||!bp(B,j))&&w(E)}else F=v(E,...R);return k||O(),F},N=S.write(L,P,...A);return k=!1,N},b=(S,...A)=>{const k=v(S,...A);return O(),k},_=(S,A)=>{const k={t:new Set(A&&[A]),l:new Set};if(t.set(S,k),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&a.add(S),c(S).d.forEach((L,P)=>{const N=t.get(P);N?N.t.add(S):P!==S&&_(P,S)}),c(S),d1(S)&&S.onMount){const L=S.onMount((...P)=>b(S,...P));L&&(k.u=L)}return k},$=S=>{var A;const k=(A=t.get(S))==null?void 0:A.u;k&&k(),t.delete(S),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&a.delete(S);const L=o(S);L&&(f1(L)&&D5(L.v),L.d.forEach((P,N)=>{if(N!==S){const E=t.get(N);E&&(E.t.delete(S),g(N,E)&&$(N))}}))},C=(S,A,k)=>{const L=new Set(A.d.keys());k==null||k.forEach((P,N)=>{if(L.has(N)){L.delete(N);return}const E=t.get(N);E&&(E.t.delete(S),g(N,E)&&$(N))}),L.forEach(P=>{const N=t.get(P);N?N.t.add(S):t.has(S)&&_(P,S)})},O=()=>{for(;r.size;){const S=Array.from(r);r.clear(),S.forEach(([A,k])=>{const L=o(A);if(L){L.d!==(k==null?void 0:k.d)&&C(A,L,k==null?void 0:k.d);const P=t.get(A);P&&!(k&&!f1(k)&&(bp(k,L)||B5(k,L)))&&P.l.forEach(N=>N())}})}({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(S=>S("state"))},x=(S,A)=>{const k=h(S);O();const L=k.l;return L.add(A),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(P=>P("sub")),()=>{L.delete(A),m(S),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(P=>P("unsub"))}};return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"?{get:d,set:b,sub:x,dev_subscribe_store:S=>(n.add(S),()=>{n.delete(S)}),dev_get_mounted_atoms:()=>a.values(),dev_get_atom_state:S=>e.get(S),dev_get_mounted:S=>t.get(S),dev_restore_atoms:S=>{for(const[A,k]of S)u1(A)&&(u(A,k),w(A));O()}}:{get:d,set:b,sub:x}};let h1;const AH=()=>(h1||(h1=TH()),h1),RH=p.createContext(void 0),u7=e=>{const t=p.useContext(RH);return(e==null?void 0:e.store)||t||AH()},OH=e=>e instanceof Promise,kH=Y.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function oe(e,t){const r=u7(t),[[n,a,o],i]=p.useReducer(u=>{const f=r.get(e);return Object.is(u[0],f)&&u[1]===r&&u[2]===e?u:[f,r,e]},void 0,()=>[r.get(e),r,e]);let s=n;(a!==r||o!==e)&&(i(),s=r.get(e));const l=t==null?void 0:t.delay;return p.useEffect(()=>{const u=r.sub(e,()=>{if(typeof l=="number"){setTimeout(i,l);return}i()});return i(),u},[r,e,l]),p.useDebugValue(s),OH(s)?kH(s):s}function wa(e,t){const r=u7(t);return p.useCallback((...a)=>{if(({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&!("write"in e))throw new Error("not writable atom");return r.set(e,...a)},[r,e])}function wt(e,t){return[oe(e,t),wa(e,t)]}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/pages/ErrorBook/store/index.ts/currentRowDetailAtom",rn(null));dh.debugLabel="currentRowDetailAtom";function d7(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ts(o)))==null?void 0:i.classGroupId}const U5=/^\[(.+)\]$/;function IH(e){if(U5.test(e)){const t=U5.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function NH(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return MH(Object.entries(e.classGroups),r).forEach(([o,i])=>{T_(i,n,o,t)}),n}function T_(e,t,r,n){e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:z5(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(LH(a)){T_(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{T_(i,z5(t,o),r,n)})})}function z5(e,t){let r=e;return t.split(lS).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function LH(e){return e.isThemeGetter}function MH(e,t){return t?e.map(([r,n])=>{const a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e}function DH(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(o,i){r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}}const p7="!";function jH(e){const t=e.separator,r=t.length===1,n=t[0],a=t.length;return function(i){const s=[];let l=0,u=0,f;for(let m=0;mu?f-u:void 0;return{modifiers:s,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:g}}}function FH(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function BH(e){return{cache:DH(e.cacheSize),splitModifiers:jH(e),...PH(e)}}const UH=/\s+/;function zH(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=new Set;return e.trim().split(UH).map(i=>{const{modifiers:s,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=r(i);let c=n(f?u.substring(0,f):u),d=!!f;if(!c){if(!f)return{isTailwindClass:!1,originalClassName:i};if(c=n(u),!c)return{isTailwindClass:!1,originalClassName:i};d=!1}const h=FH(s).join(":");return{isTailwindClass:!0,modifierId:l?h+p7:h,classGroupId:c,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:s,classGroupId:l,hasPostfixModifier:u}=i,f=s+l;return o.has(f)?!1:(o.add(f),a(l,u).forEach(c=>o.add(s+c)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function VH(){let e=0,t,r,n="";for(;ec(f),e());return r=BH(u),n=r.cache.get,a=r.cache.set,o=s,s(l)}function s(l){const u=n(l);if(u)return u;const f=zH(l,r);return a(l,f),f}return function(){return o(VH.apply(null,arguments))}}function Ze(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const v7=/^\[(?:([a-z-]+):)?(.+)\]$/i,HH=/^\d+\/\d+$/,GH=new Set(["px","full","screen"]),KH=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qH=/\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$/,YH=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XH=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Vn(e){return Rs(e)||GH.has(e)||HH.test(e)}function Vo(e){return uu(e,"length",aG)}function Rs(e){return!!e&&!Number.isNaN(Number(e))}function _p(e){return uu(e,"number",Rs)}function Qu(e){return!!e&&Number.isInteger(Number(e))}function ZH(e){return e.endsWith("%")&&Rs(e.slice(0,-1))}function ge(e){return v7.test(e)}function Wo(e){return KH.test(e)}const QH=new Set(["length","size","percentage"]);function JH(e){return uu(e,QH,m7)}function eG(e){return uu(e,"position",m7)}const tG=new Set(["image","url"]);function rG(e){return uu(e,tG,iG)}function nG(e){return uu(e,"",oG)}function Ju(){return!0}function uu(e,t,r){const n=v7.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function aG(e){return qH.test(e)}function m7(){return!1}function oG(e){return YH.test(e)}function iG(e){return XH.test(e)}function sG(){const e=Ze("colors"),t=Ze("spacing"),r=Ze("blur"),n=Ze("brightness"),a=Ze("borderColor"),o=Ze("borderRadius"),i=Ze("borderSpacing"),s=Ze("borderWidth"),l=Ze("contrast"),u=Ze("grayscale"),f=Ze("hueRotate"),c=Ze("invert"),d=Ze("gap"),h=Ze("gradientColorStops"),g=Ze("gradientColorStopPositions"),m=Ze("inset"),w=Ze("margin"),v=Ze("opacity"),b=Ze("padding"),_=Ze("saturate"),$=Ze("scale"),C=Ze("sepia"),O=Ze("skew"),x=Ze("space"),S=Ze("translate"),A=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ge,t],P=()=>[ge,t],N=()=>["",Vn,Vo],E=()=>["auto",Rs,ge],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],j=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",ge],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Rs,_p],V=()=>[Rs,ge];return{cacheSize:500,separator:":",theme:{colors:[Ju],spacing:[Vn,Vo],blur:["none","",Wo,ge],brightness:U(),borderColor:[e],borderRadius:["none","","full",Wo,ge],borderSpacing:P(),borderWidth:N(),contrast:U(),grayscale:M(),hueRotate:V(),invert:M(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[ZH,Vo],inset:L(),margin:L(),opacity:U(),padding:P(),saturate:U(),scale:U(),sepia:M(),skew:V(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",ge]}],container:["container"],columns:[{columns:[Wo]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...R(),ge]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Qu,ge]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ge]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Qu,ge]}],"grid-cols":[{"grid-cols":[Ju]}],"col-start-end":[{col:["auto",{span:["full",Qu,ge]},ge]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Ju]}],"row-start-end":[{row:["auto",{span:[Qu,ge]},ge]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ge]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",ge,t]}],"min-w":[{"min-w":["min","max","fit",ge,Vn]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Wo]},Wo,ge]}],h:[{h:[ge,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Vn,ge]}],"max-h":[{"max-h":[ge,t,"min","max","fit"]}],"font-size":[{text:["base",Wo,Vo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_p]}],"font-family":[{font:[Ju]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ge]}],"line-clamp":[{"line-clamp":["none",Rs,_p]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vn,ge]}],"list-image":[{"list-image":["none",ge]}],"list-style-type":[{list:["none","disc","decimal",ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vn,Vo]}],"underline-offset":[{"underline-offset":["auto",Vn,ge]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),eG]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",JH]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rG]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:F()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Vn,ge]}],"outline-w":[{outline:[Vn,Vo]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Vn,Vo]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Wo,nG]}],"shadow-color":[{shadow:[Ju]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":B()}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Wo,ge]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[_]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ge]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",ge]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-x":[{"scale-x":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[Qu,ge]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[O]}],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ge]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",ge]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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",ge]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Vn,Vo,_p]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const lG=WH(sG);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function dl(...e){return lG(f7(e))}function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>cG(r,t))}function In(...e){return p.useCallback(cS(...e),e)}function f0(e,t=[]){let r=[];function n(o,i){const s=p.createContext(i),l=r.length;r=[...r,i];function u(c){const{scope:d,children:h,...g}=c,m=(d==null?void 0:d[e][l])||s,w=p.useMemo(()=>g,Object.values(g));return p.createElement(m.Provider,{value:w},h)}function f(c,d){const h=(d==null?void 0:d[e][l])||s,g=p.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${c}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,f]}const a=()=>{const o=r.map(i=>p.createContext(i));return function(s){const l=(s==null?void 0:s[e])||o;return p.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return a.scopeName=e,[n,uG(a,...t)]}function uG(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const i=n.reduce((s,{useScope:l,scopeName:u})=>{const c=l(o)[`__scope${u}`];return{...s,...c}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var y7={exports:{}},ln={},b7={exports:{}},w7={};/** + */var Mc=p;function VW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var WW=typeof Object.is=="function"?Object.is:VW,HW=Mc.useState,GW=Mc.useEffect,KW=Mc.useLayoutEffect,qW=Mc.useDebugValue;function YW(e,t){var r=t(),n=HW({inst:{value:r,getSnapshot:t}}),a=n[0].inst,o=n[1];return KW(function(){a.value=r,a.getSnapshot=t,a1(a)&&o({inst:a})},[e,r,t]),GW(function(){return a1(a)&&o({inst:a}),e(function(){a1(a)&&o({inst:a})})},[e]),qW(r),r}function a1(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!WW(e,r)}catch{return!0}}function XW(e,t){return t()}var ZW=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?XW:YW;e7.useSyncExternalStore=Mc.useSyncExternalStore!==void 0?Mc.useSyncExternalStore:ZW;J8.exports=e7;var QW=J8.exports;const Xa=new WeakMap,o1={},mp={},ii=()=>{},Qn=ii(),i1=Object,ze=e=>e===Qn,Za=e=>typeof e=="function",ki=(e,t)=>({...e,...t}),iS="undefined",d0=typeof window!=iS,$_=typeof document!=iS,JW=()=>d0&&typeof window.requestAnimationFrame!=iS,t7=(e,t)=>{const r=Xa.get(e);return[()=>!ze(t)&&e.get(t)||o1,n=>{if(!ze(t)){const a=e.get(t);t in mp||(mp[t]=a),r[5](t,ki(a,n),a||o1)}},r[6],()=>!ze(t)&&t in mp?mp[t]:!ze(t)&&e.get(t)||o1]},yp=new WeakMap;let eH=0;const gf=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let a,o;if(i1(e)===e&&!n&&r!=RegExp){if(a=yp.get(e),a)return a;if(a=++eH+"~",yp.set(e,a),r==Array){for(a="@",o=0;ox_,[S_,E_]=d0&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ii,ii],rH=()=>{const e=$_&&document.visibilityState;return ze(e)||e!=="hidden"},nH=e=>($_&&document.addEventListener("visibilitychange",e),S_("focus",e),()=>{$_&&document.removeEventListener("visibilitychange",e),E_("focus",e)}),aH=e=>{const t=()=>{x_=!0,e()},r=()=>{x_=!1};return S_("online",t),S_("offline",r),()=>{E_("online",t),E_("offline",r)}},oH={isOnline:tH,isVisible:rH},iH={initFocus:nH,initReconnect:aH},N5=!Y.useId,vf=!d0||"Deno"in window,sH=e=>JW()?window.requestAnimationFrame(e):setTimeout(e,1),s1=vf?p.useEffect:p.useLayoutEffect,l1=typeof navigator<"u"&&navigator.connection,L5=!vf&&l1&&(["slow-2g","2g"].includes(l1.effectiveType)||l1.saveData),sS=e=>{if(Za(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?gf(e):"",[e,t]};let lH=0;const C_=()=>++lH,r7=0,n7=1,a7=2,cH=3;var Zu={__proto__:null,ERROR_REVALIDATE_EVENT:cH,FOCUS_EVENT:r7,MUTATE_EVENT:a7,RECONNECT_EVENT:n7};async function o7(...e){const[t,r,n,a]=e,o=ki({populateCache:!0,throwOnError:!0},typeof a=="boolean"?{revalidate:a}:a||{});let i=o.populateCache;const s=o.rollbackOnError;let l=o.optimisticData;const u=o.revalidate!==!1,f=h=>typeof s=="function"?s(h):s!==!1,c=o.throwOnError;if(Za(r)){const h=r,g=[],m=t.keys();for(let w=m.next();!w.done;w=m.next()){const v=w.value;!/^\$(inf|sub)\$/.test(v)&&h(t.get(v)._k)&&g.push(v)}return Promise.all(g.map(d))}return d(r);async function d(h){const[g]=sS(h);if(!g)return;const[m,w]=t7(t,g),[v,b,_]=Xa.get(t),$=v[g],C=()=>u&&(delete _[g],$&&$[0])?$[0](a7).then(()=>m().data):m().data;if(e.length<3)return C();let k=n,x;const S=C_();b[g]=[S,0];const A=!ze(l),O=m(),L=O.data,I=O._c,N=ze(I)?L:I;if(A&&(l=Za(l)?l(N):l,w({data:l,_c:N})),Za(k))try{k=k(N)}catch(R){x=R}if(k&&Za(k.then))if(k=await k.catch(R=>{x=R}),S!==b[g][0]){if(x)throw x;return k}else x&&A&&f(x)&&(i=!0,k=N,w({data:k,_c:Qn}));i&&(x||(Za(i)&&(k=i(k,N)),w({data:k,_c:Qn}))),b[g][1]=C_();const E=await C();if(w({_c:Qn}),x){if(c)throw x;return}return i?E:k}}const M5=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},uH=(e,t)=>{if(!Xa.has(e)){const r=ki(iH,t),n={},a=o7.bind(Qn,e);let o=ii;const i={},s=(f,c)=>{const d=i[f]||[];return i[f]=d,d.push(c),()=>d.splice(d.indexOf(c),1)},l=(f,c,d)=>{e.set(f,c);const h=i[f];if(h)for(const g of h)g(c,d)},u=()=>{if(!Xa.has(e)&&(Xa.set(e,[n,{},{},{},a,l,s]),!vf)){const f=r.initFocus(setTimeout.bind(Qn,M5.bind(Qn,n,r7))),c=r.initReconnect(setTimeout.bind(Qn,M5.bind(Qn,n,n7)));o=()=>{f&&f(),c&&c(),Xa.delete(e)}}};return u(),[e,a,u,o]}return[e,Xa.get(e)[4]]},dH=(e,t,r,n,a)=>{const o=r.errorRetryCount,i=a.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*r.errorRetryInterval;!ze(o)&&i>o||setTimeout(n,s,a)},fH=(e,t)=>gf(e)==gf(t),[i7,hH]=uH(new Map),pH=ki({onLoadingSlow:ii,onSuccess:ii,onError:ii,onErrorRetry:dH,onDiscarded:ii,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L5?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:L5?5e3:3e3,compare:fH,isPaused:()=>!1,cache:i7,mutate:hH,fallback:{}},oH),gH=(e,t)=>{const r=ki(e,t);if(t){const{use:n,fallback:a}=e,{use:o,fallback:i}=t;n&&o&&(r.use=n.concat(o)),a&&i&&(r.fallback=ki(a,i))}return r},vH=p.createContext({}),s7=d0&&window.__SWR_DEVTOOLS_USE__,mH=s7?window.__SWR_DEVTOOLS_USE__:[],yH=()=>{s7&&(window.__SWR_DEVTOOLS_REACT__=Y)},bH=e=>Za(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],wH=()=>ki(pH,p.useContext(vH)),_H=e=>(t,r,n)=>e(t,r&&((...o)=>{const[i]=sS(t),[,,,s]=Xa.get(i7),l=s[i];return l?(delete s[i],l):r(...o)}),n),$H=mH.concat(_H),xH=e=>function(...r){const n=wH(),[a,o,i]=bH(r),s=gH(n,i);let l=e;const{use:u}=s,f=(u||[]).concat($H);for(let c=f.length;c--;)l=f[c](l);return l(a,o||s.fetcher||null,s)},SH=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const a=n.indexOf(r);a>=0&&(n[a]=n[n.length-1],n.pop())}};yH();const c1={dedupe:!0},EH=(e,t,r)=>{const{cache:n,compare:a,suspense:o,fallbackData:i,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:d}=r,[h,g,m]=Xa.get(n),[w,v]=sS(e),b=p.useRef(!1),_=p.useRef(!1),$=p.useRef(w),C=p.useRef(t),k=p.useRef(r),x=()=>k.current,S=()=>x().isVisible()&&x().isOnline(),[A,O,L,I]=t7(n,w),N=p.useRef({}).current,E=ze(i)?r.fallback[w]:i,R=(ue,$e)=>{for(const ke in N){const Me=ke;if(Me==="data"){if(!a(ue[Me],$e[Me])&&(!ze(ue[Me])||!a(H,$e[Me])))return!1}else if($e[Me]!==ue[Me])return!1}return!0},F=p.useMemo(()=>{const ue=(()=>!w||!t?!1:ze(s)?x().isPaused()||o?!1:ze(l)?!0:l:s)(),$e=Xe=>{const vt=ki(Xe);return delete vt._k,ue?{isValidating:!0,isLoading:!0,...vt}:vt},ke=A(),Me=I(),at=$e(ke),Wt=ke===Me?at:$e(Me);let Ie=at;return[()=>{const Xe=$e(A());return R(Xe,Ie)?(Ie.data=Xe.data,Ie.isLoading=Xe.isLoading,Ie.isValidating=Xe.isValidating,Ie.error=Xe.error,Ie):(Ie=Xe,Xe)},()=>Wt]},[n,w]),B=QW.useSyncExternalStore(p.useCallback(ue=>L(w,($e,ke)=>{R(ke,$e)||ue()}),[n,w]),F[0],F[1]),j=!b.current,M=h[w]&&h[w].length>0,D=B.data,U=ze(D)?E:D,V=B.error,G=p.useRef(U),H=d?ze(D)?G.current:D:U,K=(()=>M&&!ze(V)?!1:j&&!ze(s)?s:x().isPaused()?!1:o?ze(U)?!1:l:ze(U)||l)(),Q=!!(w&&t&&j&&K),J=ze(B.isValidating)?Q:B.isValidating,de=ze(B.isLoading)?Q:B.isLoading,ve=p.useCallback(async ue=>{const $e=C.current;if(!w||!$e||_.current||x().isPaused())return!1;let ke,Me,at=!0;const Wt=ue||{},Ie=!m[w]||!Wt.dedupe,Xe=()=>N5?!_.current&&w===$.current&&b.current:w===$.current,vt={isValidating:!1,isLoading:!1},Br=()=>{O(vt)},mt=()=>{const $t=m[w];$t&&$t[1]===Me&&delete m[w]},hr={isValidating:!0};ze(A().data)&&(hr.isLoading=!0);try{if(Ie&&(O(hr),r.loadingTimeout&&ze(A().data)&&setTimeout(()=>{at&&Xe()&&x().onLoadingSlow(w,r)},r.loadingTimeout),m[w]=[$e(v),C_()]),[ke,Me]=m[w],ke=await ke,Ie&&setTimeout(mt,r.dedupingInterval),!m[w]||m[w][1]!==Me)return Ie&&Xe()&&x().onDiscarded(w),!1;vt.error=Qn;const $t=g[w];if(!ze($t)&&(Me<=$t[0]||Me<=$t[1]||$t[1]===0))return Br(),Ie&&Xe()&&x().onDiscarded(w),!1;const Ht=A().data;vt.data=a(Ht,ke)?Ht:ke,Ie&&Xe()&&x().onSuccess(ke,w,r)}catch($t){mt();const Ht=x(),{shouldRetryOnError:gn}=Ht;Ht.isPaused()||(vt.error=$t,Ie&&Xe()&&(Ht.onError($t,w,Ht),(gn===!0||Za(gn)&&gn($t))&&S()&&Ht.onErrorRetry($t,w,Ht,Sl=>{const Vo=h[w];Vo&&Vo[0]&&Vo[0](Zu.ERROR_REVALIDATE_EVENT,Sl)},{retryCount:(Wt.retryCount||0)+1,dedupe:!0})))}return at=!1,Br(),!0},[w,n]),Le=p.useCallback((...ue)=>o7(n,$.current,...ue),[]);if(s1(()=>{C.current=t,k.current=r,ze(D)||(G.current=D)}),s1(()=>{if(!w)return;const ue=ve.bind(Qn,c1);let $e=0;const Me=SH(w,h,(at,Wt={})=>{if(at==Zu.FOCUS_EVENT){const Ie=Date.now();x().revalidateOnFocus&&Ie>$e&&S()&&($e=Ie+x().focusThrottleInterval,ue())}else if(at==Zu.RECONNECT_EVENT)x().revalidateOnReconnect&&S()&&ue();else{if(at==Zu.MUTATE_EVENT)return ve();if(at==Zu.ERROR_REVALIDATE_EVENT)return ve(Wt)}});return _.current=!1,$.current=w,b.current=!0,O({_k:v}),K&&(ze(U)||vf?ue():sH(ue)),()=>{_.current=!0,Me()}},[w]),s1(()=>{let ue;function $e(){const Me=Za(u)?u(A().data):u;Me&&ue!==-1&&(ue=setTimeout(ke,Me))}function ke(){!A().error&&(f||x().isVisible())&&(c||x().isOnline())?ve(c1).then($e):$e()}return $e(),()=>{ue&&(clearTimeout(ue),ue=-1)}},[u,f,c,w]),p.useDebugValue(H),o&&ze(U)&&w)throw!N5&&vf?new Error("Fallback data is required when using suspense in SSR."):(C.current=t,k.current=r,_.current=!1,ze(V)?ve(c1):V);return{mutate:Le,get data(){return N.data=!0,H},get error(){return N.error=!0,V},get isValidating(){return N.isValidating=!0,J},get isLoading(){return N.isLoading=!0,de}}},l7=xH(EH);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function c7(e,t){const{data:r,error:n,isLoading:a}=l7(t==null?void 0:t.url,Q8),[o,i]=p.useState(!1),s=p.useMemo(()=>{if(!r)return;const l=r.find(u=>u.name===e);if(l)return l;i(!0)},[r,e]);return p.useEffect(()=>{n&&i(!0)},[n]),{word:s,isLoading:a,hasError:o}}let CH=0;function rn(e,t){const r=`atom${++CH}`,n={toString:()=>r};return typeof e=="function"?n.read=e:(n.init=e,n.read=a=>a(n),n.write=(a,o,i)=>o(n,typeof i=="function"?i(a(n)):i)),t&&(n.write=t),n}const u1=e=>"init"in e,d1=e=>!!e.write,Tv=new WeakMap,TH=(e,t)=>{Tv.set(e,t),e.catch(()=>{}).finally(()=>Tv.delete(e))},D5=(e,t)=>{const r=Tv.get(e);r&&(Tv.delete(e),r(t))},j5=(e,t)=>{e.status="fulfilled",e.value=t},F5=(e,t)=>{e.status="rejected",e.reason=t},bp=(e,t)=>"v"in e&&"v"in t&&Object.is(e.v,t.v),B5=(e,t)=>"e"in e&&"e"in t&&Object.is(e.e,t.e),f1=e=>"v"in e&&e.v instanceof Promise,wp=e=>{if("e"in e)throw e.e;return e.v},AH=()=>{const e=new WeakMap,t=new WeakMap,r=new Map;let n,a;({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&(n=new Set,a=new Set);const o=S=>e.get(S),i=(S,A)=>{({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&Object.freeze(A);const O=e.get(S);if(e.set(S,A),r.has(S)||r.set(S,O),O&&f1(O)){const L="v"in A?A.v instanceof Promise?A.v:Promise.resolve(A.v):Promise.reject(A.e);D5(O.v,L)}},s=(S,A,O)=>{const L=new Map;let I=!1;O.forEach((N,E)=>{!N&&E===S&&(N=A),N&&(L.set(E,N),A.d.get(E)!==N&&(I=!0))}),(I||A.d.size!==L.size)&&(A.d=L)},l=(S,A,O)=>{const L=o(S),I={d:(L==null?void 0:L.d)||new Map,v:A};return O&&s(S,I,O),L&&bp(L,I)&&L.d===I.d?L:(i(S,I),I)},u=(S,A,O,L)=>{if(A instanceof Promise){let I;const N=new Promise((E,R)=>{let F=!1;A.then(B=>{if(!F){F=!0;const j=o(S),M=l(S,N,O);j5(N,B),E(B),(j==null?void 0:j.d)!==M.d&&C(S,M,j==null?void 0:j.d)}},B=>{if(!F){F=!0;const j=o(S),M=l(S,N,O);F5(N,B),R(B),(j==null?void 0:j.d)!==M.d&&C(S,M,j==null?void 0:j.d)}}),I=B=>{F||(F=!0,B.then(j=>j5(N,j),j=>F5(N,j)),E(B))}});return N.status="pending",TH(N,E=>{E&&I(E),L==null||L()}),l(S,N,O)}return l(S,A,O)},f=(S,A,O)=>{const L=o(S),I={d:(L==null?void 0:L.d)||new Map,e:A};return O&&s(S,I,O),L&&B5(L,I)&&L.d===I.d?L:(i(S,I),I)},c=S=>{const A=o(S);if(A&&(A.d.forEach((F,B)=>{B!==S&&!t.has(B)&&c(B)}),Array.from(A.d).every(([F,B])=>F===S||o(F)===B)))return A;const O=new Map;let L=!0;const I=F=>{if(F===S){const j=o(F);if(j)return O.set(F,j),wp(j);if(u1(F))return O.set(F,void 0),F.init;throw new Error("no atom init")}const B=c(F);return O.set(F,B),wp(B)};let N,E;const R={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&d1(S),!E&&d1(S)&&(E=(...F)=>{if(!L)return b(S,...F)}),E}};try{const F=S.read(I,R);return u(S,F,O,()=>N==null?void 0:N.abort())}catch(F){return f(S,F,O)}finally{L=!1}},d=S=>wp(c(S)),h=S=>{let A=t.get(S);return A||(A=_(S)),A},g=(S,A)=>!A.l.size&&(!A.t.size||A.t.size===1&&A.t.has(S)),m=S=>{const A=t.get(S);A&&g(S,A)&&$(S)},w=S=>{const A=t.get(S);A==null||A.t.forEach(O=>{if(O!==S){const L=o(O),I=c(O);(!L||!bp(L,I))&&w(O)}})},v=(S,...A)=>{let O=!0;const L=E=>wp(c(E)),I=(E,...R)=>{let F;if(E===S){if(!u1(E))throw new Error("atom not writable");const B=o(E),j=u(E,R[0]);(!B||!bp(B,j))&&w(E)}else F=v(E,...R);return O||k(),F},N=S.write(L,I,...A);return O=!1,N},b=(S,...A)=>{const O=v(S,...A);return k(),O},_=(S,A)=>{const O={t:new Set(A&&[A]),l:new Set};if(t.set(S,O),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&a.add(S),c(S).d.forEach((L,I)=>{const N=t.get(I);N?N.t.add(S):I!==S&&_(I,S)}),c(S),d1(S)&&S.onMount){const L=S.onMount((...I)=>b(S,...I));L&&(O.u=L)}return O},$=S=>{var A;const O=(A=t.get(S))==null?void 0:A.u;O&&O(),t.delete(S),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&a.delete(S);const L=o(S);L&&(f1(L)&&D5(L.v),L.d.forEach((I,N)=>{if(N!==S){const E=t.get(N);E&&(E.t.delete(S),g(N,E)&&$(N))}}))},C=(S,A,O)=>{const L=new Set(A.d.keys());O==null||O.forEach((I,N)=>{if(L.has(N)){L.delete(N);return}const E=t.get(N);E&&(E.t.delete(S),g(N,E)&&$(N))}),L.forEach(I=>{const N=t.get(I);N?N.t.add(S):t.has(S)&&_(I,S)})},k=()=>{for(;r.size;){const S=Array.from(r);r.clear(),S.forEach(([A,O])=>{const L=o(A);if(L){L.d!==(O==null?void 0:O.d)&&C(A,L,O==null?void 0:O.d);const I=t.get(A);I&&!(O&&!f1(O)&&(bp(O,L)||B5(O,L)))&&I.l.forEach(N=>N())}})}({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(S=>S("state"))},x=(S,A)=>{const O=h(S);k();const L=O.l;return L.add(A),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(I=>I("sub")),()=>{L.delete(A),m(S),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&n.forEach(I=>I("unsub"))}};return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"?{get:d,set:b,sub:x,dev_subscribe_store:S=>(n.add(S),()=>{n.delete(S)}),dev_get_mounted_atoms:()=>a.values(),dev_get_atom_state:S=>e.get(S),dev_get_mounted:S=>t.get(S),dev_restore_atoms:S=>{for(const[A,O]of S)u1(A)&&(u(A,O),w(A));k()}}:{get:d,set:b,sub:x}};let h1;const RH=()=>(h1||(h1=AH()),h1),kH=p.createContext(void 0),u7=e=>{const t=p.useContext(kH);return(e==null?void 0:e.store)||t||RH()},OH=e=>e instanceof Promise,PH=Y.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function oe(e,t){const r=u7(t),[[n,a,o],i]=p.useReducer(u=>{const f=r.get(e);return Object.is(u[0],f)&&u[1]===r&&u[2]===e?u:[f,r,e]},void 0,()=>[r.get(e),r,e]);let s=n;(a!==r||o!==e)&&(i(),s=r.get(e));const l=t==null?void 0:t.delay;return p.useEffect(()=>{const u=r.sub(e,()=>{if(typeof l=="number"){setTimeout(i,l);return}i()});return i(),u},[r,e,l]),p.useDebugValue(s),OH(s)?PH(s):s}function wa(e,t){const r=u7(t);return p.useCallback((...a)=>{if(({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&!("write"in e))throw new Error("not writable atom");return r.set(e,...a)},[r,e])}function wt(e,t){return[oe(e,t),wa(e,t)]}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/pages/ErrorBook/store/index.ts/currentRowDetailAtom",rn(null));dh.debugLabel="currentRowDetailAtom";function d7(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ts(o)))==null?void 0:i.classGroupId}const U5=/^\[(.+)\]$/;function NH(e){if(U5.test(e)){const t=U5.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function LH(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return DH(Object.entries(e.classGroups),r).forEach(([o,i])=>{T_(i,n,o,t)}),n}function T_(e,t,r,n){e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:z5(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(MH(a)){T_(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{T_(i,z5(t,o),r,n)})})}function z5(e,t){let r=e;return t.split(lS).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function MH(e){return e.isThemeGetter}function DH(e,t){return t?e.map(([r,n])=>{const a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e}function jH(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(o,i){r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}}const p7="!";function FH(e){const t=e.separator,r=t.length===1,n=t[0],a=t.length;return function(i){const s=[];let l=0,u=0,f;for(let m=0;mu?f-u:void 0;return{modifiers:s,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:g}}}function BH(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function UH(e){return{cache:jH(e.cacheSize),splitModifiers:FH(e),...IH(e)}}const zH=/\s+/;function VH(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=new Set;return e.trim().split(zH).map(i=>{const{modifiers:s,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=r(i);let c=n(f?u.substring(0,f):u),d=!!f;if(!c){if(!f)return{isTailwindClass:!1,originalClassName:i};if(c=n(u),!c)return{isTailwindClass:!1,originalClassName:i};d=!1}const h=BH(s).join(":");return{isTailwindClass:!0,modifierId:l?h+p7:h,classGroupId:c,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:s,classGroupId:l,hasPostfixModifier:u}=i,f=s+l;return o.has(f)?!1:(o.add(f),a(l,u).forEach(c=>o.add(s+c)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function WH(){let e=0,t,r,n="";for(;ec(f),e());return r=UH(u),n=r.cache.get,a=r.cache.set,o=s,s(l)}function s(l){const u=n(l);if(u)return u;const f=VH(l,r);return a(l,f),f}return function(){return o(WH.apply(null,arguments))}}function Ze(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const v7=/^\[(?:([a-z-]+):)?(.+)\]$/i,GH=/^\d+\/\d+$/,KH=new Set(["px","full","screen"]),qH=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YH=/\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$/,XH=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZH=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Vn(e){return Rs(e)||KH.has(e)||GH.test(e)}function Wo(e){return du(e,"length",oG)}function Rs(e){return!!e&&!Number.isNaN(Number(e))}function _p(e){return du(e,"number",Rs)}function Qu(e){return!!e&&Number.isInteger(Number(e))}function QH(e){return e.endsWith("%")&&Rs(e.slice(0,-1))}function ge(e){return v7.test(e)}function Ho(e){return qH.test(e)}const JH=new Set(["length","size","percentage"]);function eG(e){return du(e,JH,m7)}function tG(e){return du(e,"position",m7)}const rG=new Set(["image","url"]);function nG(e){return du(e,rG,sG)}function aG(e){return du(e,"",iG)}function Ju(){return!0}function du(e,t,r){const n=v7.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function oG(e){return YH.test(e)}function m7(){return!1}function iG(e){return XH.test(e)}function sG(e){return ZH.test(e)}function lG(){const e=Ze("colors"),t=Ze("spacing"),r=Ze("blur"),n=Ze("brightness"),a=Ze("borderColor"),o=Ze("borderRadius"),i=Ze("borderSpacing"),s=Ze("borderWidth"),l=Ze("contrast"),u=Ze("grayscale"),f=Ze("hueRotate"),c=Ze("invert"),d=Ze("gap"),h=Ze("gradientColorStops"),g=Ze("gradientColorStopPositions"),m=Ze("inset"),w=Ze("margin"),v=Ze("opacity"),b=Ze("padding"),_=Ze("saturate"),$=Ze("scale"),C=Ze("sepia"),k=Ze("skew"),x=Ze("space"),S=Ze("translate"),A=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ge,t],I=()=>[ge,t],N=()=>["",Vn,Wo],E=()=>["auto",Rs,ge],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],j=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",ge],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Rs,_p],V=()=>[Rs,ge];return{cacheSize:500,separator:":",theme:{colors:[Ju],spacing:[Vn,Wo],blur:["none","",Ho,ge],brightness:U(),borderColor:[e],borderRadius:["none","","full",Ho,ge],borderSpacing:I(),borderWidth:N(),contrast:U(),grayscale:M(),hueRotate:V(),invert:M(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[QH,Wo],inset:L(),margin:L(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:M(),skew:V(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ge]}],container:["container"],columns:[{columns:[Ho]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...R(),ge]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Qu,ge]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ge]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Qu,ge]}],"grid-cols":[{"grid-cols":[Ju]}],"col-start-end":[{col:["auto",{span:["full",Qu,ge]},ge]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Ju]}],"row-start-end":[{row:["auto",{span:[Qu,ge]},ge]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ge]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",ge,t]}],"min-w":[{"min-w":["min","max","fit",ge,Vn]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Ho]},Ho,ge]}],h:[{h:[ge,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Vn,ge]}],"max-h":[{"max-h":[ge,t,"min","max","fit"]}],"font-size":[{text:["base",Ho,Wo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_p]}],"font-family":[{font:[Ju]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ge]}],"line-clamp":[{"line-clamp":["none",Rs,_p]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vn,ge]}],"list-image":[{"list-image":["none",ge]}],"list-style-type":[{list:["none","disc","decimal",ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vn,Wo]}],"underline-offset":[{"underline-offset":["auto",Vn,ge]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),tG]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eG]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},nG]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:F()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Vn,ge]}],"outline-w":[{outline:[Vn,Wo]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Vn,Wo]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ho,aG]}],"shadow-color":[{shadow:[Ju]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":B()}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ho,ge]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[_]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ge]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",ge]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-x":[{"scale-x":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[Qu,ge]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ge]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",ge]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",ge]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Vn,Wo,_p]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const cG=HH(lG);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function dl(...e){return cG(f7(e))}function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>uG(r,t))}function In(...e){return p.useCallback(cS(...e),e)}function f0(e,t=[]){let r=[];function n(o,i){const s=p.createContext(i),l=r.length;r=[...r,i];function u(c){const{scope:d,children:h,...g}=c,m=(d==null?void 0:d[e][l])||s,w=p.useMemo(()=>g,Object.values(g));return p.createElement(m.Provider,{value:w},h)}function f(c,d){const h=(d==null?void 0:d[e][l])||s,g=p.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${c}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,f]}const a=()=>{const o=r.map(i=>p.createContext(i));return function(s){const l=(s==null?void 0:s[e])||o;return p.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return a.scopeName=e,[n,dG(a,...t)]}function dG(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const i=n.reduce((s,{useScope:l,scopeName:u})=>{const c=l(o)[`__scope${u}`];return{...s,...c}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var y7={exports:{}},ln={},b7={exports:{}},w7={};/** * @license React * scheduler.production.min.js * @@ -30,7 +30,7 @@ function B8(e,t){for(var r=0;r>>1,V=j[U];if(0>>1;Ua(K,D))Qa(J,K)?(j[U]=J,j[Q]=D,U=Q):(j[U]=K,j[H]=D,U=H);else if(Qa(J,D))j[U]=J,j[Q]=D,U=Q;else break e}}return M}function a(j,M){var D=j.sortIndex-M.sortIndex;return D!==0?D:j.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],u=[],f=1,c=null,d=3,h=!1,g=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(j){for(var M=r(u);M!==null;){if(M.callback===null)n(u);else if(M.startTime<=j)n(u),M.sortIndex=M.expirationTime,t(l,M);else break;M=r(u)}}function $(j){if(m=!1,_(j),!g)if(r(l)!==null)g=!0,F(C);else{var M=r(u);M!==null&&B($,M.startTime-j)}}function C(j,M){g=!1,m&&(m=!1,v(S),S=-1),h=!0;var D=d;try{for(_(M),c=r(l);c!==null&&(!(c.expirationTime>M)||j&&!L());){var U=c.callback;if(typeof U=="function"){c.callback=null,d=c.priorityLevel;var V=U(c.expirationTime<=M);M=e.unstable_now(),typeof V=="function"?c.callback=V:c===r(l)&&n(l),_(M)}else n(l);c=r(l)}if(c!==null)var G=!0;else{var H=r(u);H!==null&&B($,H.startTime-M),G=!1}return G}finally{c=null,d=D,h=!1}}var O=!1,x=null,S=-1,A=5,k=-1;function L(){return!(e.unstable_now()-kj||125U?(j.sortIndex=D,t(u,j),r(l)===null&&j===r(u)&&(m?(v(S),S=-1):m=!0,B($,D-U))):(j.sortIndex=V,t(l,j),g||h||(g=!0,F(C))),j},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(j){var M=d;return function(){var D=d;d=M;try{return j.apply(this,arguments)}finally{d=D}}}})(w7);b7.exports=w7;var dG=b7.exports;/** + */(function(e){function t(j,M){var D=j.length;j.push(M);e:for(;0>>1,V=j[U];if(0>>1;Ua(K,D))Qa(J,K)?(j[U]=J,j[Q]=D,U=Q):(j[U]=K,j[H]=D,U=H);else if(Qa(J,D))j[U]=J,j[Q]=D,U=Q;else break e}}return M}function a(j,M){var D=j.sortIndex-M.sortIndex;return D!==0?D:j.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],u=[],f=1,c=null,d=3,h=!1,g=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(j){for(var M=r(u);M!==null;){if(M.callback===null)n(u);else if(M.startTime<=j)n(u),M.sortIndex=M.expirationTime,t(l,M);else break;M=r(u)}}function $(j){if(m=!1,_(j),!g)if(r(l)!==null)g=!0,F(C);else{var M=r(u);M!==null&&B($,M.startTime-j)}}function C(j,M){g=!1,m&&(m=!1,v(S),S=-1),h=!0;var D=d;try{for(_(M),c=r(l);c!==null&&(!(c.expirationTime>M)||j&&!L());){var U=c.callback;if(typeof U=="function"){c.callback=null,d=c.priorityLevel;var V=U(c.expirationTime<=M);M=e.unstable_now(),typeof V=="function"?c.callback=V:c===r(l)&&n(l),_(M)}else n(l);c=r(l)}if(c!==null)var G=!0;else{var H=r(u);H!==null&&B($,H.startTime-M),G=!1}return G}finally{c=null,d=D,h=!1}}var k=!1,x=null,S=-1,A=5,O=-1;function L(){return!(e.unstable_now()-Oj||125U?(j.sortIndex=D,t(u,j),r(l)===null&&j===r(u)&&(m?(v(S),S=-1):m=!0,B($,D-U))):(j.sortIndex=V,t(l,j),g||h||(g=!0,F(C))),j},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(j){var M=d;return function(){var D=d;d=M;try{return j.apply(this,arguments)}finally{d=D}}}})(w7);b7.exports=w7;var fG=b7.exports;/** * @license React * react-dom.production.min.js * @@ -38,30 +38,30 @@ function B8(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A_=Object.prototype.hasOwnProperty,fG=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V5={},W5={};function hG(e){return A_.call(W5,e)?!0:A_.call(V5,e)?!1:fG.test(e)?W5[e]=!0:(V5[e]=!0,!1)}function pG(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gG(e,t,r,n){if(t===null||typeof t>"u"||pG(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function xr(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Zt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Zt[e]=new xr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Zt[t]=new xr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Zt[e]=new xr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Zt[e]=new xr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Zt[e]=new xr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Zt[e]=new xr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Zt[e]=new xr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Zt[e]=new xr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Zt[e]=new xr(e,5,!1,e.toLowerCase(),null,!1,!1)});var uS=/[\-:]([a-z])/g;function dS(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Zt[e]=new xr(e,1,!1,e.toLowerCase(),null,!1,!1)});Zt.xlinkHref=new xr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Zt[e]=new xr(e,1,!1,e.toLowerCase(),null,!0,!0)});function fS(e,t,r,n){var a=Zt.hasOwnProperty(t)?Zt[t]:null;(a!==null?a.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A_=Object.prototype.hasOwnProperty,hG=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V5={},W5={};function pG(e){return A_.call(W5,e)?!0:A_.call(V5,e)?!1:hG.test(e)?W5[e]=!0:(V5[e]=!0,!1)}function gG(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function vG(e,t,r,n){if(t===null||typeof t>"u"||gG(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function xr(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Zt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Zt[e]=new xr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Zt[t]=new xr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Zt[e]=new xr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Zt[e]=new xr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Zt[e]=new xr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Zt[e]=new xr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Zt[e]=new xr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Zt[e]=new xr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Zt[e]=new xr(e,5,!1,e.toLowerCase(),null,!1,!1)});var uS=/[\-:]([a-z])/g;function dS(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(uS,dS);Zt[t]=new xr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Zt[e]=new xr(e,1,!1,e.toLowerCase(),null,!1,!1)});Zt.xlinkHref=new xr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Zt[e]=new xr(e,1,!1,e.toLowerCase(),null,!0,!0)});function fS(e,t,r,n){var a=Zt.hasOwnProperty(t)?Zt[t]:null;(a!==null?a.type!==0:n||!(2s||a[i]!==o[s]){var l=` -`+a[i].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{g1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ad(e):""}function vG(e){switch(e.tag){case 5:return Ad(e.type);case 16:return Ad("Lazy");case 13:return Ad("Suspense");case 19:return Ad("SuspenseList");case 0:case 2:case 15:return e=v1(e.type,!1),e;case 11:return e=v1(e.type.render,!1),e;case 1:return e=v1(e.type,!0),e;default:return""}}function P_(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gl:return"Fragment";case Hl:return"Portal";case R_:return"Profiler";case hS:return"StrictMode";case O_:return"Suspense";case k_:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case S7:return(e.displayName||"Context")+".Consumer";case x7:return(e._context.displayName||"Context")+".Provider";case pS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gS:return t=e.displayName||null,t!==null?t:P_(e.type)||"Memo";case Jo:t=e._payload,e=e._init;try{return P_(e(t))}catch{}}return null}function mG(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return P_(t);case 8:return t===hS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C7(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yG(e){var t=C7(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xp(e){e._valueTracker||(e._valueTracker=yG(e))}function T7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=C7(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Av(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function I_(e,t){var r=t.checked;return pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function G5(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ki(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function A7(e,t){t=t.checked,t!=null&&fS(e,"checked",t,!1)}function N_(e,t){A7(e,t);var r=ki(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?L_(e,t.type,r):t.hasOwnProperty("defaultValue")&&L_(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function K5(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function L_(e,t,r){(t!=="number"||Av(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Rd=Array.isArray;function fc(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Sp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var zd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bG=["Webkit","ms","Moz","O"];Object.keys(zd).forEach(function(e){bG.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zd[t]=zd[e]})});function P7(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||zd.hasOwnProperty(e)&&zd[e]?(""+t).trim():t+"px"}function I7(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=P7(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var wG=pt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function j_(e,t){if(t){if(wG[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(X(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(X(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(X(61))}if(t.style!=null&&typeof t.style!="object")throw Error(X(62))}}function F_(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var B_=null;function vS(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var U_=null,hc=null,pc=null;function X5(e){if(e=ph(e)){if(typeof U_!="function")throw Error(X(280));var t=e.stateNode;t&&(t=m0(t),U_(e.stateNode,e.type,t))}}function N7(e){hc?pc?pc.push(e):pc=[e]:hc=e}function L7(){if(hc){var e=hc,t=pc;if(pc=hc=null,X5(e),t)for(e=0;e>>=0,e===0?32:31-(kG(e)/PG|0)|0}var Ep=64,Cp=4194304;function Od(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pv(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~a;s!==0?n=Od(s):(o&=i,o!==0&&(n=Od(o)))}else i=r&~a,i!==0?n=Od(i):o!==0&&(n=Od(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function fh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ra(t),e[t]=r}function MG(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=Wd),o3=String.fromCharCode(32),i3=!1;function tN(e,t){switch(e){case"keyup":return uK.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rN(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kl=!1;function fK(e,t){switch(e){case"compositionend":return rN(t);case"keypress":return t.which!==32?null:(i3=!0,o3);case"textInput":return e=t.data,e===o3&&i3?null:e;default:return null}}function hK(e,t){if(Kl)return e==="compositionend"||!SS&&tN(e,t)?(e=J7(),Hg=_S=si=null,Kl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=u3(r)}}function iN(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?iN(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sN(){for(var e=window,t=Av();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Av(e.document)}return t}function ES(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $K(e){var t=sN(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&iN(r.ownerDocument.documentElement,r)){if(n!==null&&ES(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=d3(r,o);var i=d3(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ql=null,K_=null,Gd=null,q_=!1;function f3(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;q_||ql==null||ql!==Av(n)||(n=ql,"selectionStart"in n&&ES(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Gd&&Sf(Gd,n)||(Gd=n,n=Lv(K_,"onSelect"),0Zl||(e.current=e$[Zl],e$[Zl]=null,Zl--)}function Ye(e,t){Zl++,e$[Zl]=e.current,e.current=t}var Pi={},fr=qi(Pi),Nr=qi(!1),Ys=Pi;function Dc(e,t){var r=e.type.contextTypes;if(!r)return Pi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lr(e){return e=e.childContextTypes,e!=null}function Dv(){rt(Nr),rt(fr)}function b3(e,t,r){if(fr.current!==Pi)throw Error(X(168));Ye(fr,t),Ye(Nr,r)}function vN(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(X(108,mG(e)||"Unknown",a));return pt({},r,n)}function jv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,Ys=fr.current,Ye(fr,e),Ye(Nr,Nr.current),!0}function w3(e,t,r){var n=e.stateNode;if(!n)throw Error(X(169));r?(e=vN(e,t,Ys),n.__reactInternalMemoizedMergedChildContext=e,rt(Nr),rt(fr),Ye(fr,e)):rt(Nr),Ye(Nr,r)}var Ga=null,y0=!1,O1=!1;function mN(e){Ga===null?Ga=[e]:Ga.push(e)}function NK(e){y0=!0,mN(e)}function Yi(){if(!O1&&Ga!==null){O1=!0;var e=0,t=Ve;try{var r=Ga;for(Ve=1;e>=i,a-=i,Qa=1<<32-ra(t)+a|r<S?(A=x,x=null):A=x.sibling;var k=d(v,x,_[S],$);if(k===null){x===null&&(x=A);break}e&&x&&k.alternate===null&&t(v,x),b=o(k,b,S),O===null?C=k:O.sibling=k,O=k,x=A}if(S===_.length)return r(v,x),it&&bs(v,S),C;if(x===null){for(;S<_.length;S++)x=c(v,_[S],$),x!==null&&(b=o(x,b,S),O===null?C=x:O.sibling=x,O=x);return it&&bs(v,S),C}for(x=n(v,x);S<_.length;S++)A=h(x,v,S,_[S],$),A!==null&&(e&&A.alternate!==null&&x.delete(A.key===null?S:A.key),b=o(A,b,S),O===null?C=A:O.sibling=A,O=A);return e&&x.forEach(function(L){return t(v,L)}),it&&bs(v,S),C}function m(v,b,_,$){var C=ed(_);if(typeof C!="function")throw Error(X(150));if(_=C.call(_),_==null)throw Error(X(151));for(var O=C=null,x=b,S=b=0,A=null,k=_.next();x!==null&&!k.done;S++,k=_.next()){x.index>S?(A=x,x=null):A=x.sibling;var L=d(v,x,k.value,$);if(L===null){x===null&&(x=A);break}e&&x&&L.alternate===null&&t(v,x),b=o(L,b,S),O===null?C=L:O.sibling=L,O=L,x=A}if(k.done)return r(v,x),it&&bs(v,S),C;if(x===null){for(;!k.done;S++,k=_.next())k=c(v,k.value,$),k!==null&&(b=o(k,b,S),O===null?C=k:O.sibling=k,O=k);return it&&bs(v,S),C}for(x=n(v,x);!k.done;S++,k=_.next())k=h(x,v,S,k.value,$),k!==null&&(e&&k.alternate!==null&&x.delete(k.key===null?S:k.key),b=o(k,b,S),O===null?C=k:O.sibling=k,O=k);return e&&x.forEach(function(P){return t(v,P)}),it&&bs(v,S),C}function w(v,b,_,$){if(typeof _=="object"&&_!==null&&_.type===Gl&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case $p:e:{for(var C=_.key,O=b;O!==null;){if(O.key===C){if(C=_.type,C===Gl){if(O.tag===7){r(v,O.sibling),b=a(O,_.props.children),b.return=v,v=b;break e}}else if(O.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Jo&&T3(C)===O.type){r(v,O.sibling),b=a(O,_.props),b.ref=od(v,O,_),b.return=v,v=b;break e}r(v,O);break}else t(v,O);O=O.sibling}_.type===Gl?(b=js(_.props.children,v.mode,$,_.key),b.return=v,v=b):($=Jg(_.type,_.key,_.props,null,v.mode,$),$.ref=od(v,b,_),$.return=v,v=$)}return i(v);case Hl:e:{for(O=_.key;b!==null;){if(b.key===O)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){r(v,b.sibling),b=a(b,_.children||[]),b.return=v,v=b;break e}else{r(v,b);break}else t(v,b);b=b.sibling}b=j1(_,v.mode,$),b.return=v,v=b}return i(v);case Jo:return O=_._init,w(v,b,O(_._payload),$)}if(Rd(_))return g(v,b,_,$);if(ed(_))return m(v,b,_,$);Ip(v,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(r(v,b.sibling),b=a(b,_),b.return=v,v=b):(r(v,b),b=D1(_,v.mode,$),b.return=v,v=b),i(v)):r(v,b)}return w}var Fc=EN(!0),CN=EN(!1),gh={},$a=qi(gh),Af=qi(gh),Rf=qi(gh);function Ps(e){if(e===gh)throw Error(X(174));return e}function NS(e,t){switch(Ye(Rf,t),Ye(Af,e),Ye($a,gh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:D_(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=D_(t,e)}rt($a),Ye($a,t)}function Bc(){rt($a),rt(Af),rt(Rf)}function TN(e){Ps(Rf.current);var t=Ps($a.current),r=D_(t,e.type);t!==r&&(Ye(Af,e),Ye($a,r))}function LS(e){Af.current===e&&(rt($a),rt(Af))}var ct=qi(0);function Wv(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var k1=[];function MS(){for(var e=0;er?r:4,e(!0);var n=P1.transition;P1.transition={};try{e(!1),t()}finally{Ve=r,P1.transition=n}}function VN(){return On().memoizedState}function jK(e,t,r){var n=xi(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},WN(e))HN(t,r);else if(r=_N(e,t,r,n),r!==null){var a=mr();na(r,e,n,a),GN(r,t,n)}}function FK(e,t,r){var n=xi(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(WN(e))HN(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,ia(s,i)){var l=t.interleaved;l===null?(a.next=a,PS(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}r=_N(e,t,a,n),r!==null&&(a=mr(),na(r,e,n,a),GN(r,t,n))}}function WN(e){var t=e.alternate;return e===ht||t!==null&&t===ht}function HN(e,t){Kd=Hv=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function GN(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,yS(e,r)}}var Gv={readContext:Rn,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},BK={readContext:Rn,useCallback:function(e,t){return ha().memoizedState=[e,t===void 0?null:t],e},useContext:Rn,useEffect:R3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Yg(4194308,4,jN.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Yg(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yg(4,2,e,t)},useMemo:function(e,t){var r=ha();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ha();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=jK.bind(null,ht,e),[n.memoizedState,e]},useRef:function(e){var t=ha();return e={current:e},t.memoizedState=e},useState:A3,useDebugValue:US,useDeferredValue:function(e){return ha().memoizedState=e},useTransition:function(){var e=A3(!1),t=e[0];return e=DK.bind(null,e[1]),ha().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ht,a=ha();if(it){if(r===void 0)throw Error(X(407));r=r()}else{if(r=t(),zt===null)throw Error(X(349));Zs&30||ON(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,R3(PN.bind(null,n,o,e),[e]),n.flags|=2048,Pf(9,kN.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=ha(),t=zt.identifierPrefix;if(it){var r=Ja,n=Qa;r=(n&~(1<<32-ra(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Of++,0")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{g1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ad(e):""}function mG(e){switch(e.tag){case 5:return Ad(e.type);case 16:return Ad("Lazy");case 13:return Ad("Suspense");case 19:return Ad("SuspenseList");case 0:case 2:case 15:return e=v1(e.type,!1),e;case 11:return e=v1(e.type.render,!1),e;case 1:return e=v1(e.type,!0),e;default:return""}}function P_(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kl:return"Fragment";case Gl:return"Portal";case R_:return"Profiler";case hS:return"StrictMode";case k_:return"Suspense";case O_:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case S7:return(e.displayName||"Context")+".Consumer";case x7:return(e._context.displayName||"Context")+".Provider";case pS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gS:return t=e.displayName||null,t!==null?t:P_(e.type)||"Memo";case Jo:t=e._payload,e=e._init;try{return P_(e(t))}catch{}}return null}function yG(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return P_(t);case 8:return t===hS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Oi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C7(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bG(e){var t=C7(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xp(e){e._valueTracker||(e._valueTracker=bG(e))}function T7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=C7(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Av(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function I_(e,t){var r=t.checked;return pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function G5(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Oi(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function A7(e,t){t=t.checked,t!=null&&fS(e,"checked",t,!1)}function N_(e,t){A7(e,t);var r=Oi(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?L_(e,t.type,r):t.hasOwnProperty("defaultValue")&&L_(e,t.type,Oi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function K5(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function L_(e,t,r){(t!=="number"||Av(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Rd=Array.isArray;function hc(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Sp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var zd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wG=["Webkit","ms","Moz","O"];Object.keys(zd).forEach(function(e){wG.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zd[t]=zd[e]})});function P7(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||zd.hasOwnProperty(e)&&zd[e]?(""+t).trim():t+"px"}function I7(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=P7(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var _G=pt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function j_(e,t){if(t){if(_G[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(X(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(X(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(X(61))}if(t.style!=null&&typeof t.style!="object")throw Error(X(62))}}function F_(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var B_=null;function vS(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var U_=null,pc=null,gc=null;function X5(e){if(e=ph(e)){if(typeof U_!="function")throw Error(X(280));var t=e.stateNode;t&&(t=m0(t),U_(e.stateNode,e.type,t))}}function N7(e){pc?gc?gc.push(e):gc=[e]:pc=e}function L7(){if(pc){var e=pc,t=gc;if(gc=pc=null,X5(e),t)for(e=0;e>>=0,e===0?32:31-(PG(e)/IG|0)|0}var Ep=64,Cp=4194304;function kd(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pv(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~a;s!==0?n=kd(s):(o&=i,o!==0&&(n=kd(o)))}else i=r&~a,i!==0?n=kd(i):o!==0&&(n=kd(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function fh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ra(t),e[t]=r}function DG(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=Wd),o3=String.fromCharCode(32),i3=!1;function tN(e,t){switch(e){case"keyup":return dK.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rN(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ql=!1;function hK(e,t){switch(e){case"compositionend":return rN(t);case"keypress":return t.which!==32?null:(i3=!0,o3);case"textInput":return e=t.data,e===o3&&i3?null:e;default:return null}}function pK(e,t){if(ql)return e==="compositionend"||!SS&&tN(e,t)?(e=J7(),Hg=_S=si=null,ql=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=u3(r)}}function iN(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?iN(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sN(){for(var e=window,t=Av();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Av(e.document)}return t}function ES(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function xK(e){var t=sN(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&iN(r.ownerDocument.documentElement,r)){if(n!==null&&ES(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=d3(r,o);var i=d3(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Yl=null,K_=null,Gd=null,q_=!1;function f3(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;q_||Yl==null||Yl!==Av(n)||(n=Yl,"selectionStart"in n&&ES(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Gd&&Sf(Gd,n)||(Gd=n,n=Lv(K_,"onSelect"),0Ql||(e.current=e$[Ql],e$[Ql]=null,Ql--)}function Ye(e,t){Ql++,e$[Ql]=e.current,e.current=t}var Pi={},fr=qi(Pi),Nr=qi(!1),Ys=Pi;function jc(e,t){var r=e.type.contextTypes;if(!r)return Pi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lr(e){return e=e.childContextTypes,e!=null}function Dv(){rt(Nr),rt(fr)}function b3(e,t,r){if(fr.current!==Pi)throw Error(X(168));Ye(fr,t),Ye(Nr,r)}function vN(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(X(108,yG(e)||"Unknown",a));return pt({},r,n)}function jv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,Ys=fr.current,Ye(fr,e),Ye(Nr,Nr.current),!0}function w3(e,t,r){var n=e.stateNode;if(!n)throw Error(X(169));r?(e=vN(e,t,Ys),n.__reactInternalMemoizedMergedChildContext=e,rt(Nr),rt(fr),Ye(fr,e)):rt(Nr),Ye(Nr,r)}var Ka=null,y0=!1,k1=!1;function mN(e){Ka===null?Ka=[e]:Ka.push(e)}function LK(e){y0=!0,mN(e)}function Yi(){if(!k1&&Ka!==null){k1=!0;var e=0,t=Ve;try{var r=Ka;for(Ve=1;e>=i,a-=i,Ja=1<<32-ra(t)+a|r<S?(A=x,x=null):A=x.sibling;var O=d(v,x,_[S],$);if(O===null){x===null&&(x=A);break}e&&x&&O.alternate===null&&t(v,x),b=o(O,b,S),k===null?C=O:k.sibling=O,k=O,x=A}if(S===_.length)return r(v,x),it&&bs(v,S),C;if(x===null){for(;S<_.length;S++)x=c(v,_[S],$),x!==null&&(b=o(x,b,S),k===null?C=x:k.sibling=x,k=x);return it&&bs(v,S),C}for(x=n(v,x);S<_.length;S++)A=h(x,v,S,_[S],$),A!==null&&(e&&A.alternate!==null&&x.delete(A.key===null?S:A.key),b=o(A,b,S),k===null?C=A:k.sibling=A,k=A);return e&&x.forEach(function(L){return t(v,L)}),it&&bs(v,S),C}function m(v,b,_,$){var C=ed(_);if(typeof C!="function")throw Error(X(150));if(_=C.call(_),_==null)throw Error(X(151));for(var k=C=null,x=b,S=b=0,A=null,O=_.next();x!==null&&!O.done;S++,O=_.next()){x.index>S?(A=x,x=null):A=x.sibling;var L=d(v,x,O.value,$);if(L===null){x===null&&(x=A);break}e&&x&&L.alternate===null&&t(v,x),b=o(L,b,S),k===null?C=L:k.sibling=L,k=L,x=A}if(O.done)return r(v,x),it&&bs(v,S),C;if(x===null){for(;!O.done;S++,O=_.next())O=c(v,O.value,$),O!==null&&(b=o(O,b,S),k===null?C=O:k.sibling=O,k=O);return it&&bs(v,S),C}for(x=n(v,x);!O.done;S++,O=_.next())O=h(x,v,S,O.value,$),O!==null&&(e&&O.alternate!==null&&x.delete(O.key===null?S:O.key),b=o(O,b,S),k===null?C=O:k.sibling=O,k=O);return e&&x.forEach(function(I){return t(v,I)}),it&&bs(v,S),C}function w(v,b,_,$){if(typeof _=="object"&&_!==null&&_.type===Kl&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case $p:e:{for(var C=_.key,k=b;k!==null;){if(k.key===C){if(C=_.type,C===Kl){if(k.tag===7){r(v,k.sibling),b=a(k,_.props.children),b.return=v,v=b;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Jo&&T3(C)===k.type){r(v,k.sibling),b=a(k,_.props),b.ref=od(v,k,_),b.return=v,v=b;break e}r(v,k);break}else t(v,k);k=k.sibling}_.type===Kl?(b=js(_.props.children,v.mode,$,_.key),b.return=v,v=b):($=Jg(_.type,_.key,_.props,null,v.mode,$),$.ref=od(v,b,_),$.return=v,v=$)}return i(v);case Gl:e:{for(k=_.key;b!==null;){if(b.key===k)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){r(v,b.sibling),b=a(b,_.children||[]),b.return=v,v=b;break e}else{r(v,b);break}else t(v,b);b=b.sibling}b=j1(_,v.mode,$),b.return=v,v=b}return i(v);case Jo:return k=_._init,w(v,b,k(_._payload),$)}if(Rd(_))return g(v,b,_,$);if(ed(_))return m(v,b,_,$);Ip(v,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(r(v,b.sibling),b=a(b,_),b.return=v,v=b):(r(v,b),b=D1(_,v.mode,$),b.return=v,v=b),i(v)):r(v,b)}return w}var Bc=EN(!0),CN=EN(!1),gh={},$a=qi(gh),Af=qi(gh),Rf=qi(gh);function Ps(e){if(e===gh)throw Error(X(174));return e}function NS(e,t){switch(Ye(Rf,t),Ye(Af,e),Ye($a,gh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:D_(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=D_(t,e)}rt($a),Ye($a,t)}function Uc(){rt($a),rt(Af),rt(Rf)}function TN(e){Ps(Rf.current);var t=Ps($a.current),r=D_(t,e.type);t!==r&&(Ye(Af,e),Ye($a,r))}function LS(e){Af.current===e&&(rt($a),rt(Af))}var ct=qi(0);function Wv(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var O1=[];function MS(){for(var e=0;er?r:4,e(!0);var n=P1.transition;P1.transition={};try{e(!1),t()}finally{Ve=r,P1.transition=n}}function VN(){return kn().memoizedState}function FK(e,t,r){var n=xi(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},WN(e))HN(t,r);else if(r=_N(e,t,r,n),r!==null){var a=mr();na(r,e,n,a),GN(r,t,n)}}function BK(e,t,r){var n=xi(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(WN(e))HN(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,ia(s,i)){var l=t.interleaved;l===null?(a.next=a,PS(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}r=_N(e,t,a,n),r!==null&&(a=mr(),na(r,e,n,a),GN(r,t,n))}}function WN(e){var t=e.alternate;return e===ht||t!==null&&t===ht}function HN(e,t){Kd=Hv=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function GN(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,yS(e,r)}}var Gv={readContext:Rn,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},UK={readContext:Rn,useCallback:function(e,t){return ha().memoizedState=[e,t===void 0?null:t],e},useContext:Rn,useEffect:R3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Yg(4194308,4,jN.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Yg(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yg(4,2,e,t)},useMemo:function(e,t){var r=ha();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ha();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=FK.bind(null,ht,e),[n.memoizedState,e]},useRef:function(e){var t=ha();return e={current:e},t.memoizedState=e},useState:A3,useDebugValue:US,useDeferredValue:function(e){return ha().memoizedState=e},useTransition:function(){var e=A3(!1),t=e[0];return e=jK.bind(null,e[1]),ha().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ht,a=ha();if(it){if(r===void 0)throw Error(X(407));r=r()}else{if(r=t(),zt===null)throw Error(X(349));Zs&30||kN(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,R3(PN.bind(null,n,o,e),[e]),n.flags|=2048,Pf(9,ON.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=ha(),t=zt.identifierPrefix;if(it){var r=eo,n=Ja;r=(n&~(1<<32-ra(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=kf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[ma]=t,e[Tf]=n,tL(e,t,!1,!1),t.stateNode=e;e:{switch(i=F_(r,n),r){case"dialog":Qe("cancel",e),Qe("close",e),a=n;break;case"iframe":case"object":case"embed":Qe("load",e),a=n;break;case"video":case"audio":for(a=0;azc&&(t.flags|=128,n=!0,id(o,!1),t.lanes=4194304)}else{if(!n)if(e=Wv(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),id(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!it)return rr(t),null}else 2*xt()-o.renderingStartTime>zc&&r!==1073741824&&(t.flags|=128,n=!0,id(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xt(),t.sibling=null,r=ct.current,Ye(ct,n?r&1|2:r&1),t):(rr(t),null);case 22:case 23:return KS(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Wr&1073741824&&(rr(t),t.subtreeFlags&6&&(t.flags|=8192)):rr(t),null;case 24:return null;case 25:return null}throw Error(X(156,t.tag))}function qK(e,t){switch(TS(t),t.tag){case 1:return Lr(t.type)&&Dv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bc(),rt(Nr),rt(fr),MS(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return LS(t),null;case 13:if(rt(ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(X(340));jc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rt(ct),null;case 4:return Bc(),null;case 10:return kS(t.type._context),null;case 22:case 23:return KS(),null;case 24:return null;default:return null}}var Lp=!1,ir=!1,YK=typeof WeakSet=="function"?WeakSet:Set,ne=null;function tc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){yt(e,t,n)}else r.current=null}function f$(e,t,r){try{r()}catch(n){yt(e,t,n)}}var j3=!1;function XK(e,t){if(Y_=Iv,e=sN(),ES(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var h;c!==r||a!==0&&c.nodeType!==3||(s=i+a),c!==o||n!==0&&c.nodeType!==3||(l=i+n),c.nodeType===3&&(i+=c.nodeValue.length),(h=c.firstChild)!==null;)d=c,c=h;for(;;){if(c===e)break t;if(d===r&&++u===a&&(s=i),d===o&&++f===n&&(l=i),(h=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(X_={focusedElem:e,selectionRange:r},Iv=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,w=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Kn(t.type,m),w);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(X(163))}}catch($){yt(t,t.return,$)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return g=j3,j3=!1,g}function qd(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&f$(t,r,o)}a=a.next}while(a!==n)}}function _0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function h$(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function aL(e){var t=e.alternate;t!==null&&(e.alternate=null,aL(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ma],delete t[Tf],delete t[J_],delete t[PK],delete t[IK])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oL(e){return e.tag===5||e.tag===3||e.tag===4}function F3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oL(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function p$(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Mv));else if(n!==4&&(e=e.child,e!==null))for(p$(e,t,r),e=e.sibling;e!==null;)p$(e,t,r),e=e.sibling}function g$(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(g$(e,t,r),e=e.sibling;e!==null;)g$(e,t,r),e=e.sibling}var Kt=null,qn=!1;function Ho(e,t,r){for(r=r.child;r!==null;)iL(e,t,r),r=r.sibling}function iL(e,t,r){if(_a&&typeof _a.onCommitFiberUnmount=="function")try{_a.onCommitFiberUnmount(h0,r)}catch{}switch(r.tag){case 5:ir||tc(r,t);case 6:var n=Kt,a=qn;Kt=null,Ho(e,t,r),Kt=n,qn=a,Kt!==null&&(qn?(e=Kt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(qn?(e=Kt,r=r.stateNode,e.nodeType===8?R1(e.parentNode,r):e.nodeType===1&&R1(e,r),$f(e)):R1(Kt,r.stateNode));break;case 4:n=Kt,a=qn,Kt=r.stateNode.containerInfo,qn=!0,Ho(e,t,r),Kt=n,qn=a;break;case 0:case 11:case 14:case 15:if(!ir&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&f$(r,t,i),a=a.next}while(a!==n)}Ho(e,t,r);break;case 1:if(!ir&&(tc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){yt(r,t,s)}Ho(e,t,r);break;case 21:Ho(e,t,r);break;case 22:r.mode&1?(ir=(n=ir)||r.memoizedState!==null,Ho(e,t,r),ir=n):Ho(e,t,r);break;default:Ho(e,t,r)}}function B3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new YK),t.forEach(function(n){var a=oq.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function Wn(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=xt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*QK(n/1960))-n,10e?16:e,li===null)var n=!1;else{if(e=li,li=null,Yv=0,ke&6)throw Error(X(331));var a=ke;for(ke|=4,ne=e.current;ne!==null;){var o=ne,i=o.child;if(ne.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lxt()-HS?Ds(e,0):WS|=r),Mr(e,t)}function pL(e,t){t===0&&(e.mode&1?(t=Cp,Cp<<=1,!(Cp&130023424)&&(Cp=4194304)):t=1);var r=mr();e=ho(e,t),e!==null&&(fh(e,t,r),Mr(e,r))}function aq(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),pL(e,r)}function oq(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(X(314))}n!==null&&n.delete(t),pL(e,r)}var gL;gL=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nr.current)kr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return kr=!1,GK(e,t,r);kr=!!(e.flags&131072)}else kr=!1,it&&t.flags&1048576&&yN(t,Bv,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Xg(e,t),e=t.pendingProps;var a=Dc(t,fr.current);vc(t,r),a=jS(null,t,n,e,a,r);var o=FS();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lr(n)?(o=!0,jv(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,IS(t),a.updater=b0,t.stateNode=a,a._reactInternals=t,o$(t,n,e,r),t=l$(null,t,n,!0,o,r)):(t.tag=0,it&&o&&CS(t),gr(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Xg(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=sq(n),e=Kn(n,e),a){case 0:t=s$(null,t,n,e,r);break e;case 1:t=L3(null,t,n,e,r);break e;case 11:t=I3(null,t,n,e,r);break e;case 14:t=N3(null,t,n,Kn(n.type,e),r);break e}throw Error(X(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),s$(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),L3(e,t,n,a,r);case 3:e:{if(QN(t),e===null)throw Error(X(387));n=t.pendingProps,o=t.memoizedState,a=o.element,$N(e,t),Vv(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Uc(Error(X(423)),t),t=M3(e,t,n,r,a);break e}else if(n!==a){a=Uc(Error(X(424)),t),t=M3(e,t,n,r,a);break e}else for(Kr=wi(t.stateNode.containerInfo.firstChild),en=t,it=!0,Yn=null,r=CN(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(jc(),n===a){t=po(e,t,r);break e}gr(e,t,n,r)}t=t.child}return t;case 5:return TN(t),e===null&&r$(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,Z_(n,a)?i=null:o!==null&&Z_(n,o)&&(t.flags|=32),ZN(e,t),gr(e,t,i,r),t.child;case 6:return e===null&&r$(t),null;case 13:return JN(e,t,r);case 4:return NS(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Fc(t,null,n,r):gr(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),I3(e,t,n,a,r);case 7:return gr(e,t,t.pendingProps,r),t.child;case 8:return gr(e,t,t.pendingProps.children,r),t.child;case 12:return gr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,Ye(Uv,n._currentValue),n._currentValue=i,o!==null)if(ia(o.value,i)){if(o.children===a.children&&!Nr.current){t=po(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=no(-1,r&-r),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),n$(o.return,r,t),s.lanes|=r;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(X(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),n$(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}gr(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,vc(t,r),a=Rn(a),n=n(a),t.flags|=1,gr(e,t,n,r),t.child;case 14:return n=t.type,a=Kn(n,t.pendingProps),a=Kn(n.type,a),N3(e,t,n,a,r);case 15:return YN(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),Xg(e,t),t.tag=1,Lr(n)?(e=!0,jv(t)):e=!1,vc(t,r),SN(t,n,a),o$(t,n,a,r),l$(null,t,n,!0,e,r);case 19:return eL(e,t,r);case 22:return XN(e,t,r)}throw Error(X(156,t.tag))};function vL(e,t){return z7(e,t)}function iq(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function En(e,t,r,n){return new iq(e,t,r,n)}function YS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sq(e){if(typeof e=="function")return YS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pS)return 11;if(e===gS)return 14}return 2}function Si(e,t){var r=e.alternate;return r===null?(r=En(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Jg(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")YS(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Gl:return js(r.children,a,o,t);case hS:i=8,a|=8;break;case R_:return e=En(12,r,t,a|2),e.elementType=R_,e.lanes=o,e;case O_:return e=En(13,r,t,a),e.elementType=O_,e.lanes=o,e;case k_:return e=En(19,r,t,a),e.elementType=k_,e.lanes=o,e;case E7:return x0(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case x7:i=10;break e;case S7:i=9;break e;case pS:i=11;break e;case gS:i=14;break e;case Jo:i=16,n=null;break e}throw Error(X(130,e==null?e:typeof e,""))}return t=En(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function js(e,t,r,n){return e=En(7,e,n,t),e.lanes=r,e}function x0(e,t,r,n){return e=En(22,e,n,t),e.elementType=E7,e.lanes=r,e.stateNode={isHidden:!1},e}function D1(e,t,r){return e=En(6,e,null,t),e.lanes=r,e}function j1(e,t,r){return t=En(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lq(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y1(0),this.expirationTimes=y1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y1(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function XS(e,t,r,n,a,o,i,s,l){return e=new lq(e,t,r,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=En(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},IS(o),e}function cq(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wL)}catch{}}wL(),y7.exports=ln;var Xi=y7.exports;const Rje=lu(Xi),_L=p.forwardRef((e,t)=>{const{children:r,...n}=e,a=p.Children.toArray(r),o=a.find(gq);if(o){const i=o.props.children,s=a.map(l=>l===o?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:l);return p.createElement(w$,te({},n,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,s):null)}return p.createElement(w$,te({},n,{ref:t}),r)});_L.displayName="Slot";const w$=p.forwardRef((e,t)=>{const{children:r,...n}=e;return p.isValidElement(r)?p.cloneElement(r,{...vq(n,r.props),ref:t?cS(t,r.ref):r.ref}):p.Children.count(r)>1?p.Children.only(null):null});w$.displayName="SlotClone";const pq=({children:e})=>p.createElement(p.Fragment,null,e);function gq(e){return p.isValidElement(e)&&e.type===pq}function vq(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...s)=>{o(...s),a(...s)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}const mq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],un=mq.reduce((e,t)=>{const r=p.forwardRef((n,a)=>{const{asChild:o,...i}=n,s=o?_L:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(s,te({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function yq(e,t){e&&Xi.flushSync(()=>e.dispatchEvent(t))}function Or(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function bq(e,t=globalThis==null?void 0:globalThis.document){const r=Or(e);p.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const _$="dismissableLayer.update",wq="dismissableLayer.pointerDownOutside",_q="dismissableLayer.focusOutside";let q3;const $q=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xq=p.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,f=p.useContext($q),[c,d]=p.useState(null),h=(r=c==null?void 0:c.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=p.useState({}),m=In(t,S=>d(S)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(v),_=c?w.indexOf(c):-1,$=f.layersWithOutsidePointerEventsDisabled.size>0,C=_>=b,O=Sq(S=>{const A=S.target,k=[...f.branches].some(L=>L.contains(A));!C||k||(o==null||o(S),s==null||s(S),S.defaultPrevented||l==null||l())},h),x=Eq(S=>{const A=S.target;[...f.branches].some(L=>L.contains(A))||(i==null||i(S),s==null||s(S),S.defaultPrevented||l==null||l())},h);return bq(S=>{_===f.layers.size-1&&(a==null||a(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},h),p.useEffect(()=>{if(c)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(q3=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),Y3(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=q3)}},[c,h,n,f]),p.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),Y3())},[c,f]),p.useEffect(()=>{const S=()=>g({});return document.addEventListener(_$,S),()=>document.removeEventListener(_$,S)},[]),p.createElement(un.div,te({},u,{ref:m,style:{pointerEvents:$?C?"auto":"none":void 0,...e.style},onFocusCapture:or(e.onFocusCapture,x.onFocusCapture),onBlurCapture:or(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:or(e.onPointerDownCapture,O.onPointerDownCapture)}))});function Sq(e,t=globalThis==null?void 0:globalThis.document){const r=Or(e),n=p.useRef(!1),a=p.useRef(()=>{});return p.useEffect(()=>{const o=s=>{if(s.target&&!n.current){let u=function(){$L(wq,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Eq(e,t=globalThis==null?void 0:globalThis.document){const r=Or(e),n=p.useRef(!1);return p.useEffect(()=>{const a=o=>{o.target&&!n.current&&$L(_q,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Y3(){const e=new CustomEvent(_$);document.dispatchEvent(e)}function $L(e,t,r,{discrete:n}){const a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?yq(a,o):a.dispatchEvent(o)}const go=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Cq=qs["useId".toString()]||(()=>{});let Tq=0;function Aq(e){const[t,r]=p.useState(Cq());return go(()=>{e||r(n=>n??String(Tq++))},[e]),e||(t?`radix-${t}`:"")}const Rq=["top","right","bottom","left"],Ii=Math.min,Gr=Math.max,Qv=Math.round,jp=Math.floor,Ni=e=>({x:e,y:e}),Oq={left:"right",right:"left",bottom:"top",top:"bottom"},kq={start:"end",end:"start"};function $$(e,t,r){return Gr(e,Ii(t,r))}function vo(e,t){return typeof e=="function"?e(t):e}function mo(e){return e.split("-")[0]}function hu(e){return e.split("-")[1]}function eE(e){return e==="x"?"y":"x"}function tE(e){return e==="y"?"height":"width"}function pu(e){return["top","bottom"].includes(mo(e))?"y":"x"}function rE(e){return eE(pu(e))}function Pq(e,t,r){r===void 0&&(r=!1);const n=hu(e),a=rE(e),o=tE(a);let i=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Jv(i)),[i,Jv(i)]}function Iq(e){const t=Jv(e);return[x$(e),t,x$(t)]}function x$(e){return e.replace(/start|end/g,t=>kq[t])}function Nq(e,t,r){const n=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:n:t?n:a;case"left":case"right":return t?o:i;default:return[]}}function Lq(e,t,r,n){const a=hu(e);let o=Nq(mo(e),r==="start",n);return a&&(o=o.map(i=>i+"-"+a),t&&(o=o.concat(o.map(x$)))),o}function Jv(e){return e.replace(/left|right|bottom|top/g,t=>Oq[t])}function Mq(e){return{top:0,right:0,bottom:0,left:0,...e}}function xL(e){return typeof e!="number"?Mq(e):{top:e,right:e,bottom:e,left:e}}function em(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function X3(e,t,r){let{reference:n,floating:a}=e;const o=pu(t),i=rE(t),s=tE(i),l=mo(t),u=o==="y",f=n.x+n.width/2-a.width/2,c=n.y+n.height/2-a.height/2,d=n[s]/2-a[s]/2;let h;switch(l){case"top":h={x:f,y:n.y-a.height};break;case"bottom":h={x:f,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:c};break;case"left":h={x:n.x-a.width,y:c};break;default:h={x:n.x,y:n.y}}switch(hu(t)){case"start":h[i]-=d*(r&&u?-1:1);break;case"end":h[i]+=d*(r&&u?-1:1);break}return h}const Dq=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,s=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:c}=X3(u,n,l),d=n,h={},g=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:f=0}=vo(e,t)||{};if(u==null)return{};const c=xL(f),d={x:r,y:n},h=rE(a),g=tE(h),m=await i.getDimensions(u),w=h==="y",v=w?"top":"left",b=w?"bottom":"right",_=w?"clientHeight":"clientWidth",$=o.reference[g]+o.reference[h]-d[h]-o.floating[g],C=d[h]-o.reference[h],O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let x=O?O[_]:0;(!x||!await(i.isElement==null?void 0:i.isElement(O)))&&(x=s.floating[_]||o.floating[g]);const S=$/2-C/2,A=x/2-m[g]/2-1,k=Ii(c[v],A),L=Ii(c[b],A),P=k,N=x-m[g]-L,E=x/2-m[g]/2+S,R=$$(P,E,N),F=!l.arrow&&hu(a)!=null&&E!=R&&o.reference[g]/2-(EP<=0)){var A,k;const P=(((A=o.flip)==null?void 0:A.index)||0)+1,N=C[P];if(N)return{data:{index:P,overflows:S},reset:{placement:N}};let E=(k=S.filter(R=>R.overflows[0]<=0).sort((R,F)=>R.overflows[1]-F.overflows[1])[0])==null?void 0:k.placement;if(!E)switch(h){case"bestFit":{var L;const R=(L=S.map(F=>[F.placement,F.overflows.filter(B=>B>0).reduce((B,j)=>B+j,0)]).sort((F,B)=>F[1]-B[1])[0])==null?void 0:L[0];R&&(E=R);break}case"initialPlacement":E=s;break}if(a!==E)return{reset:{placement:E}}}return{}}}};function Q3(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function J3(e){return Rq.some(t=>e[t]>=0)}const Fq=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=vo(e,t);switch(n){case"referenceHidden":{const o=await Nf(t,{...a,elementContext:"reference"}),i=Q3(o,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:J3(i)}}}case"escaped":{const o=await Nf(t,{...a,altBoundary:!0}),i=Q3(o,r.floating);return{data:{escapedOffsets:i,escaped:J3(i)}}}default:return{}}}}};async function Bq(e,t){const{placement:r,platform:n,elements:a}=e,o=await(n.isRTL==null?void 0:n.isRTL(a.floating)),i=mo(r),s=hu(r),l=pu(r)==="y",u=["left","top"].includes(i)?-1:1,f=o&&l?-1:1,c=vo(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:g}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*f,y:d*u}:{x:d*u,y:h*f}}const Uq=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await Bq(t,e);return i===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},zq=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=vo(e,t),u={x:r,y:n},f=await Nf(t,l),c=pu(mo(a)),d=eE(c);let h=u[d],g=u[c];if(o){const w=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=h+f[w],_=h-f[v];h=$$(b,h,_)}if(i){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",b=g+f[w],_=g-f[v];g=$$(b,g,_)}const m=s.fn({...t,[d]:h,[c]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}},Vq=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=vo(e,t),f={x:r,y:n},c=pu(a),d=eE(c);let h=f[d],g=f[c];const m=vo(s,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const _=d==="y"?"height":"width",$=o.reference[d]-o.floating[_]+w.mainAxis,C=o.reference[d]+o.reference[_]-w.mainAxis;h<$?h=$:h>C&&(h=C)}if(u){var v,b;const _=d==="y"?"width":"height",$=["top","left"].includes(mo(a)),C=o.reference[c]-o.floating[_]+($&&((v=i.offset)==null?void 0:v[c])||0)+($?0:w.crossAxis),O=o.reference[c]+o.reference[_]+($?0:((b=i.offset)==null?void 0:b[c])||0)-($?w.crossAxis:0);gO&&(g=O)}return{[d]:h,[c]:g}}}},Wq=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:o}=t,{apply:i=()=>{},...s}=vo(e,t),l=await Nf(t,s),u=mo(r),f=hu(r),c=pu(r)==="y",{width:d,height:h}=n.floating;let g,m;u==="top"||u==="bottom"?(g=u,m=f===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(m=u,g=f==="end"?"top":"bottom");const w=h-l[g],v=d-l[m],b=!t.middlewareData.shift;let _=w,$=v;if(c){const O=d-l.left-l.right;$=f||b?Ii(v,O):O}else{const O=h-l.top-l.bottom;_=f||b?Ii(w,O):O}if(b&&!f){const O=Gr(l.left,0),x=Gr(l.right,0),S=Gr(l.top,0),A=Gr(l.bottom,0);c?$=d-2*(O!==0||x!==0?O+x:Gr(l.left,l.right)):_=h-2*(S!==0||A!==0?S+A:Gr(l.top,l.bottom))}await i({...t,availableWidth:$,availableHeight:_});const C=await a.getDimensions(o.floating);return d!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function Li(e){return SL(e)?(e.nodeName||"").toLowerCase():"#document"}function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ao(e){var t;return(t=(SL(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function SL(e){return e instanceof Node||e instanceof tn(e).Node}function yo(e){return e instanceof Element||e instanceof tn(e).Element}function Sa(e){return e instanceof HTMLElement||e instanceof tn(e).HTMLElement}function e4(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tn(e).ShadowRoot}function vh(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=kn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Hq(e){return["table","td","th"].includes(Li(e))}function nE(e){const t=aE(),r=kn(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Gq(e){let t=Vc(e);for(;Sa(t)&&!A0(t);){if(nE(t))return t;t=Vc(t)}return null}function aE(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function A0(e){return["html","body","#document"].includes(Li(e))}function kn(e){return tn(e).getComputedStyle(e)}function R0(e){return yo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vc(e){if(Li(e)==="html")return e;const t=e.assignedSlot||e.parentNode||e4(e)&&e.host||Ao(e);return e4(t)?t.host:t}function EL(e){const t=Vc(e);return A0(t)?e.ownerDocument?e.ownerDocument.body:e.body:Sa(t)&&vh(t)?t:EL(t)}function Lf(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=EL(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),i=tn(a);return o?t.concat(i,i.visualViewport||[],vh(a)?a:[],i.frameElement&&r?Lf(i.frameElement):[]):t.concat(a,Lf(a,[],r))}function CL(e){const t=kn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=Sa(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,s=Qv(r)!==o||Qv(n)!==i;return s&&(r=o,n=i),{width:r,height:n,$:s}}function oE(e){return yo(e)?e:e.contextElement}function yc(e){const t=oE(e);if(!Sa(t))return Ni(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=CL(t);let i=(o?Qv(r.width):r.width)/n,s=(o?Qv(r.height):r.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Kq=Ni(0);function TL(e){const t=tn(e);return!aE()||!t.visualViewport?Kq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qq(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==tn(e)?!1:t}function el(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=oE(e);let i=Ni(1);t&&(n?yo(n)&&(i=yc(n)):i=yc(e));const s=qq(o,r,n)?TL(o):Ni(0);let l=(a.left+s.x)/i.x,u=(a.top+s.y)/i.y,f=a.width/i.x,c=a.height/i.y;if(o){const d=tn(o),h=n&&yo(n)?tn(n):n;let g=d.frameElement;for(;g&&n&&h!==d;){const m=yc(g),w=g.getBoundingClientRect(),v=kn(g),b=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*m.x,_=w.top+(g.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,c*=m.y,l+=b,u+=_,g=tn(g).frameElement}}return em({width:f,height:c,x:l,y:u})}function Yq(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=Sa(r),o=Ao(r);if(r===o)return t;let i={scrollLeft:0,scrollTop:0},s=Ni(1);const l=Ni(0);if((a||!a&&n!=="fixed")&&((Li(r)!=="body"||vh(o))&&(i=R0(r)),Sa(r))){const u=el(r);s=yc(r),l.x=u.x+r.clientLeft,l.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}}function Xq(e){return Array.from(e.getClientRects())}function AL(e){return el(Ao(e)).left+R0(e).scrollLeft}function Zq(e){const t=Ao(e),r=R0(e),n=e.ownerDocument.body,a=Gr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Gr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+AL(e);const s=-r.scrollTop;return kn(n).direction==="rtl"&&(i+=Gr(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:s}}function Qq(e,t){const r=tn(e),n=Ao(e),a=r.visualViewport;let o=n.clientWidth,i=n.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const u=aE();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s,y:l}}function Jq(e,t){const r=el(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,o=Sa(e)?yc(e):Ni(1),i=e.clientWidth*o.x,s=e.clientHeight*o.y,l=a*o.x,u=n*o.y;return{width:i,height:s,x:l,y:u}}function t4(e,t,r){let n;if(t==="viewport")n=Qq(e,r);else if(t==="document")n=Zq(Ao(e));else if(yo(t))n=Jq(t,r);else{const a=TL(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return em(n)}function RL(e,t){const r=Vc(e);return r===t||!yo(r)||A0(r)?!1:kn(r).position==="fixed"||RL(r,t)}function eY(e,t){const r=t.get(e);if(r)return r;let n=Lf(e,[],!1).filter(s=>yo(s)&&Li(s)!=="body"),a=null;const o=kn(e).position==="fixed";let i=o?Vc(e):e;for(;yo(i)&&!A0(i);){const s=kn(i),l=nE(i);!l&&s.position==="fixed"&&(a=null),(o?!l&&!a:!l&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||vh(i)&&!l&&RL(e,i))?n=n.filter(f=>f!==i):a=s,i=Vc(i)}return t.set(e,n),n}function tY(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const i=[...r==="clippingAncestors"?eY(t,this._c):[].concat(r),n],s=i[0],l=i.reduce((u,f)=>{const c=t4(t,f,a);return u.top=Gr(c.top,u.top),u.right=Ii(c.right,u.right),u.bottom=Ii(c.bottom,u.bottom),u.left=Gr(c.left,u.left),u},t4(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function rY(e){return CL(e)}function nY(e,t,r){const n=Sa(t),a=Ao(t),o=r==="fixed",i=el(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=Ni(0);if(n||!n&&!o)if((Li(t)!=="body"||vh(a))&&(s=R0(t)),n){const u=el(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else a&&(l.x=AL(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function r4(e,t){return!Sa(e)||kn(e).position==="fixed"?null:t?t(e):e.offsetParent}function OL(e,t){const r=tn(e);if(!Sa(e))return r;let n=r4(e,t);for(;n&&Hq(n)&&kn(n).position==="static";)n=r4(n,t);return n&&(Li(n)==="html"||Li(n)==="body"&&kn(n).position==="static"&&!nE(n))?r:n||Gq(e)||r}const aY=async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||OL,o=this.getDimensions;return{reference:nY(t,await a(r),n),floating:{x:0,y:0,...await o(r)}}};function oY(e){return kn(e).direction==="rtl"}const iY={convertOffsetParentRelativeRectToViewportRelativeRect:Yq,getDocumentElement:Ao,getClippingRect:tY,getOffsetParent:OL,getElementRects:aY,getClientRects:Xq,getDimensions:rY,getScale:yc,isElement:yo,isRTL:oY};function sY(e,t){let r=null,n;const a=Ao(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),o();const{left:u,top:f,width:c,height:d}=e.getBoundingClientRect();if(s||t(),!c||!d)return;const h=jp(f),g=jp(a.clientWidth-(u+c)),m=jp(a.clientHeight-(f+d)),w=jp(u),b={rootMargin:-h+"px "+-g+"px "+-m+"px "+-w+"px",threshold:Gr(0,Ii(1,l))||1};let _=!0;function $(C){const O=C[0].intersectionRatio;if(O!==l){if(!_)return i();O?i(!1,O):n=setTimeout(()=>{i(!1,1e-7)},100)}_=!1}try{r=new IntersectionObserver($,{...b,root:a.ownerDocument})}catch{r=new IntersectionObserver($,b)}r.observe(e)}return i(!0),o}function lY(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=oE(e),f=a||o?[...u?Lf(u):[],...Lf(t)]:[];f.forEach(v=>{a&&v.addEventListener("scroll",r,{passive:!0}),o&&v.addEventListener("resize",r)});const c=u&&s?sY(u,r):null;let d=-1,h=null;i&&(h=new ResizeObserver(v=>{let[b]=v;b&&b.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),u&&!l&&h.observe(u),h.observe(t));let g,m=l?el(e):null;l&&w();function w(){const v=el(e);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&r(),m=v,g=requestAnimationFrame(w)}return r(),()=>{f.forEach(v=>{a&&v.removeEventListener("scroll",r),o&&v.removeEventListener("resize",r)}),c&&c(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const cY=(e,t,r)=>{const n=new Map,a={platform:iY,...r},o={...a.platform,_c:n};return Dq(e,t,{...a,platform:o})},uY=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Z3({element:n.current,padding:a}).fn(r):{}:n?Z3({element:n,padding:a}).fn(r):{}}}};var ev=typeof document<"u"?p.useLayoutEffect:p.useEffect;function tm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!tm(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const o=a[n];if(!(o==="_owner"&&e.$$typeof)&&!tm(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function kL(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function n4(e,t){const r=kL(e);return Math.round(t*r)/r}function a4(e){const t=p.useRef(e);return ev(()=>{t.current=e}),t}function dY(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[f,c]=p.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=p.useState(n);tm(d,n)||h(n);const[g,m]=p.useState(null),[w,v]=p.useState(null),b=p.useCallback(F=>{F!=O.current&&(O.current=F,m(F))},[m]),_=p.useCallback(F=>{F!==x.current&&(x.current=F,v(F))},[v]),$=o||g,C=i||w,O=p.useRef(null),x=p.useRef(null),S=p.useRef(f),A=a4(l),k=a4(a),L=p.useCallback(()=>{if(!O.current||!x.current)return;const F={placement:t,strategy:r,middleware:d};k.current&&(F.platform=k.current),cY(O.current,x.current,F).then(B=>{const j={...B,isPositioned:!0};P.current&&!tm(S.current,j)&&(S.current=j,Xi.flushSync(()=>{c(j)}))})},[d,t,r,k]);ev(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,c(F=>({...F,isPositioned:!1})))},[u]);const P=p.useRef(!1);ev(()=>(P.current=!0,()=>{P.current=!1}),[]),ev(()=>{if($&&(O.current=$),C&&(x.current=C),$&&C){if(A.current)return A.current($,C,L);L()}},[$,C,L,A]);const N=p.useMemo(()=>({reference:O,floating:x,setReference:b,setFloating:_}),[b,_]),E=p.useMemo(()=>({reference:$,floating:C}),[$,C]),R=p.useMemo(()=>{const F={position:r,left:0,top:0};if(!E.floating)return F;const B=n4(E.floating,f.x),j=n4(E.floating,f.y);return s?{...F,transform:"translate("+B+"px, "+j+"px)",...kL(E.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:B,top:j}},[r,s,E.floating,f.x,f.y]);return p.useMemo(()=>({...f,update:L,refs:N,elements:E,floatingStyles:R}),[f,L,N,E,R])}function fY(e){const[t,r]=p.useState(void 0);return go(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let i,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const PL="Popper",[IL,NL]=f0(PL),[hY,LL]=IL(PL),pY=e=>{const{__scopePopper:t,children:r}=e,[n,a]=p.useState(null);return p.createElement(hY,{scope:t,anchor:n,onAnchorChange:a},r)},gY="PopperAnchor",vY=p.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,o=LL(gY,r),i=p.useRef(null),s=In(t,i);return p.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:p.createElement(un.div,te({},a,{ref:s}))}),ML="PopperContent",[mY,Oje]=IL(ML),yY=p.forwardRef((e,t)=>{var r,n,a,o,i,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:d=0,align:h="center",alignOffset:g=0,arrowPadding:m=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:b=0,sticky:_="partial",hideWhenDetached:$=!1,updatePositionStrategy:C="optimized",onPlaced:O,...x}=e,S=LL(ML,f),[A,k]=p.useState(null),L=In(t,at=>k(at)),[P,N]=p.useState(null),E=fY(P),R=(r=E==null?void 0:E.width)!==null&&r!==void 0?r:0,F=(n=E==null?void 0:E.height)!==null&&n!==void 0?n:0,B=c+(h!=="center"?"-"+h:""),j=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},M=Array.isArray(v)?v:[v],D=M.length>0,U={padding:j,boundary:M.filter(bY),altBoundary:D},{refs:V,floatingStyles:G,placement:H,isPositioned:K,middlewareData:Q}=dY({strategy:"fixed",placement:B,whileElementsMounted:(...at)=>lY(...at,{animationFrame:C==="always"}),elements:{reference:S.anchor},middleware:[Uq({mainAxis:d+F,alignmentAxis:g}),w&&zq({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?Vq():void 0,...U}),w&&jq({...U}),Wq({...U,apply:({elements:at,rects:Wt,availableWidth:Ie,availableHeight:Xe})=>{const{width:vt,height:Br}=Wt.reference,mt=at.floating.style;mt.setProperty("--radix-popper-available-width",`${Ie}px`),mt.setProperty("--radix-popper-available-height",`${Xe}px`),mt.setProperty("--radix-popper-anchor-width",`${vt}px`),mt.setProperty("--radix-popper-anchor-height",`${Br}px`)}}),P&&uY({element:P,padding:m}),wY({arrowWidth:R,arrowHeight:F}),$&&Fq({strategy:"referenceHidden",...U})]}),[J,de]=DL(H),ve=Or(O);go(()=>{K&&(ve==null||ve())},[K,ve]);const Le=(a=Q.arrow)===null||a===void 0?void 0:a.x,ue=(o=Q.arrow)===null||o===void 0?void 0:o.y,$e=((i=Q.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Oe,Me]=p.useState();return go(()=>{A&&Me(window.getComputedStyle(A).zIndex)},[A]),p.createElement("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Oe,["--radix-popper-transform-origin"]:[(s=Q.transformOrigin)===null||s===void 0?void 0:s.x,(l=Q.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},p.createElement(mY,{scope:f,placedSide:J,onArrowChange:N,arrowX:Le,arrowY:ue,shouldHideArrow:$e},p.createElement(un.div,te({"data-side":J,"data-align":de},x,{ref:L,style:{...x.style,animation:K?void 0:"none",opacity:(u=Q.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function bY(e){return e!==null}const wY=e=>({name:"transformOrigin",options:e,fn(t){var r,n,a,o,i;const{placement:s,rects:l,middlewareData:u}=t,c=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[g,m]=DL(s),w={start:"0%",center:"50%",end:"100%"}[m],v=((n=(a=u.arrow)===null||a===void 0?void 0:a.x)!==null&&n!==void 0?n:0)+d/2,b=((o=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&o!==void 0?o:0)+h/2;let _="",$="";return g==="bottom"?(_=c?w:`${v}px`,$=`${-h}px`):g==="top"?(_=c?w:`${v}px`,$=`${l.floating.height+h}px`):g==="right"?(_=`${-h}px`,$=c?w:`${b}px`):g==="left"&&(_=`${l.floating.width+h}px`,$=c?w:`${b}px`),{data:{x:_,y:$}}}});function DL(e){const[t,r="center"]=e.split("-");return[t,r]}const _Y=pY,$Y=vY,xY=yY;function SY(e,t){return p.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const gu=e=>{const{present:t,children:r}=e,n=EY(t),a=typeof r=="function"?r({present:n.isPresent}):p.Children.only(r),o=In(n.ref,a.ref);return typeof r=="function"||n.isPresent?p.cloneElement(a,{ref:o}):null};gu.displayName="Presence";function EY(e){const[t,r]=p.useState(),n=p.useRef({}),a=p.useRef(e),o=p.useRef("none"),i=e?"mounted":"unmounted",[s,l]=SY(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Fp(n.current);o.current=s==="mounted"?u:"none"},[s]),go(()=>{const u=n.current,f=a.current;if(f!==e){const d=o.current,h=Fp(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&d!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),go(()=>{if(t){const u=c=>{const h=Fp(n.current).includes(c.animationName);c.target===t&&h&&Xi.flushSync(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(o.current=Fp(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:p.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function Fp(e){return(e==null?void 0:e.animationName)||"none"}const CY=p.forwardRef((e,t)=>{const{children:r,...n}=e,a=p.Children.toArray(r),o=a.find(TY);if(o){const i=o.props.children,s=a.map(l=>l===o?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:l);return p.createElement(S$,te({},n,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,s):null)}return p.createElement(S$,te({},n,{ref:t}),r)});CY.displayName="Slot";const S$=p.forwardRef((e,t)=>{const{children:r,...n}=e;return p.isValidElement(r)?p.cloneElement(r,{...AY(n,r.props),ref:t?cS(t,r.ref):r.ref}):p.Children.count(r)>1?p.Children.only(null):null});S$.displayName="SlotClone";const jL=({children:e})=>p.createElement(p.Fragment,null,e);function TY(e){return p.isValidElement(e)&&e.type===jL}function AY(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...s)=>{o(...s),a(...s)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function RY({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=OY({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=Or(r),l=p.useCallback(u=>{if(o){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else a(u)},[o,e,a,s]);return[i,l]}function OY({defaultProp:e,onChange:t}){const r=p.useState(e),[n]=r,a=p.useRef(n),o=Or(t);return p.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}const kY=p.forwardRef((e,t)=>p.createElement(un.span,te({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),PY=kY,[O0,kje]=f0("Tooltip",[NL]),iE=NL(),IY="TooltipProvider",NY=700,E$="tooltip.open",[LY,sE]=O0(IY),MY=e=>{const{__scopeTooltip:t,delayDuration:r=NY,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,[i,s]=p.useState(!0),l=p.useRef(!1),u=p.useRef(0);return p.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),p.createElement(LY,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(f=>{l.current=f},[]),disableHoverableContent:a},o)},lE="Tooltip",[DY,k0]=O0(lE),jY=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a=!1,onOpenChange:o,disableHoverableContent:i,delayDuration:s}=e,l=sE(lE,e.__scopeTooltip),u=iE(t),[f,c]=p.useState(null),d=Aq(),h=p.useRef(0),g=i??l.disableHoverableContent,m=s??l.delayDuration,w=p.useRef(!1),[v=!1,b]=RY({prop:n,defaultProp:a,onChange:x=>{x?(l.onOpen(),document.dispatchEvent(new CustomEvent(E$))):l.onClose(),o==null||o(x)}}),_=p.useMemo(()=>v?w.current?"delayed-open":"instant-open":"closed",[v]),$=p.useCallback(()=>{window.clearTimeout(h.current),w.current=!1,b(!0)},[b]),C=p.useCallback(()=>{window.clearTimeout(h.current),b(!1)},[b]),O=p.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{w.current=!0,b(!0)},m)},[m,b]);return p.useEffect(()=>()=>window.clearTimeout(h.current),[]),p.createElement(_Y,u,p.createElement(DY,{scope:t,contentId:d,open:v,stateAttribute:_,trigger:f,onTriggerChange:c,onTriggerEnter:p.useCallback(()=>{l.isOpenDelayed?O():$()},[l.isOpenDelayed,O,$]),onTriggerLeave:p.useCallback(()=>{g?C():window.clearTimeout(h.current)},[C,g]),onOpen:$,onClose:C,disableHoverableContent:g},r))},o4="TooltipTrigger",FY=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=k0(o4,r),o=sE(o4,r),i=iE(r),s=p.useRef(null),l=In(t,s,a.onTriggerChange),u=p.useRef(!1),f=p.useRef(!1),c=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),p.createElement($Y,te({asChild:!0},i),p.createElement(un.button,te({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},n,{ref:l,onPointerMove:or(e.onPointerMove,d=>{d.pointerType!=="touch"&&!f.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),f.current=!0)}),onPointerLeave:or(e.onPointerLeave,()=>{a.onTriggerLeave(),f.current=!1}),onPointerDown:or(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:or(e.onFocus,()=>{u.current||a.onOpen()}),onBlur:or(e.onBlur,a.onClose),onClick:or(e.onClick,a.onClose)})))}),BY="TooltipPortal",[Pje,UY]=O0(BY,{forceMount:void 0}),Mf="TooltipContent",zY=p.forwardRef((e,t)=>{const r=UY(Mf,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,i=k0(Mf,e.__scopeTooltip);return p.createElement(gu,{present:n||i.open},i.disableHoverableContent?p.createElement(FL,te({side:a},o,{ref:t})):p.createElement(VY,te({side:a},o,{ref:t})))}),VY=p.forwardRef((e,t)=>{const r=k0(Mf,e.__scopeTooltip),n=sE(Mf,e.__scopeTooltip),a=p.useRef(null),o=In(t,a),[i,s]=p.useState(null),{trigger:l,onClose:u}=r,f=a.current,{onPointerInTransitChange:c}=n,d=p.useCallback(()=>{s(null),c(!1)},[c]),h=p.useCallback((g,m)=>{const w=g.currentTarget,v={x:g.clientX,y:g.clientY},b=HY(v,w.getBoundingClientRect()),_=GY(v,b),$=KY(m.getBoundingClientRect()),C=YY([..._,...$]);s(C),c(!0)},[c]);return p.useEffect(()=>()=>d(),[d]),p.useEffect(()=>{if(l&&f){const g=w=>h(w,f),m=w=>h(w,l);return l.addEventListener("pointerleave",g),f.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",m)}}},[l,f,h,d]),p.useEffect(()=>{if(i){const g=m=>{const w=m.target,v={x:m.clientX,y:m.clientY},b=(l==null?void 0:l.contains(w))||(f==null?void 0:f.contains(w)),_=!qY(v,i);b?d():_&&(d(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,f,i,u,d]),p.createElement(FL,te({},e,{ref:o}))}),[WY,Ije]=O0(lE,{isInside:!1}),FL=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:i,...s}=e,l=k0(Mf,r),u=iE(r),{onClose:f}=l;return p.useEffect(()=>(document.addEventListener(E$,f),()=>document.removeEventListener(E$,f)),[f]),p.useEffect(()=>{if(l.trigger){const c=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&f()};return window.addEventListener("scroll",c,{capture:!0}),()=>window.removeEventListener("scroll",c,{capture:!0})}},[l.trigger,f]),p.createElement(xq,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:c=>c.preventDefault(),onDismiss:f},p.createElement(xY,te({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),p.createElement(jL,null,n),p.createElement(WY,{scope:r,isInside:!0},p.createElement(PY,{id:l.contentId,role:"tooltip"},a||n))))});function HY(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function GY(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function KY(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function qY(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,i=t.length-1;on!=f>n&&r<(u-s)*(n-l)/(f-l)+s&&(a=!a)}return a}function YY(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),XY(t)}function XY(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const ZY=MY,QY=jY,JY=FY,BL=zY;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UL=ZY,zL=QY,VL=JY,cE=p.forwardRef(({className:e,sideOffset:t=4,...r},n)=>y(BL,{ref:n,sideOffset:t,className:dl("z-50 overflow-hidden rounded-md border border-slate-100 bg-white px-2 py-[4px] text-sm text-slate-700 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-slate-800 dark:bg-slate-950 dark:text-slate-100",e),...r}));cE.displayName=BL.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C$="␣",T$=20,WL="dismissStartCardDate",i4="donateDate",s4={colors:["#5D8C7B","#F2D091","#F2A679","#D9695F","#8C4646"],shapes:["square"],ticks:500},HL={foreignFont:48,translateFont:18},eX=Symbol();function tX(e){let t,r;const n={getItem:(a,o)=>{var i,s;const l=f=>{if(f=f||"",t!==f){try{r=JSON.parse(f)}catch{return o}t=f}return r},u=(s=(i=e())==null?void 0:i.getItem(a))!=null?s:null;return u instanceof Promise?u.then(l):l(u)},setItem:(a,o)=>{var i;return(i=e())==null?void 0:i.setItem(a,JSON.stringify(o))},removeItem:a=>{var o;return(o=e())==null?void 0:o.removeItem(a)}};return typeof window<"u"&&typeof window.addEventListener=="function"&&(n.subscribe=(a,o,i)=>{if(!(e()instanceof window.Storage))return()=>{};const s=l=>{if(l.storageArea===e()&&l.key===a){let u;try{u=JSON.parse(l.newValue||"")}catch{u=i}o(u)}};return window.addEventListener("storage",s),()=>{window.removeEventListener("storage",s)}}),n}const rX=tX(()=>typeof window<"u"?window.localStorage:void 0);function Ra(e,t,r=rX){const n=rn(t);return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&(n.debugPrivate=!0),n.onMount=o=>{const i=r.getItem(e,t);i instanceof Promise?i.then(l=>o(l)):o(i);let s;return r.subscribe&&(s=r.subscribe(e,o,t)),s},rn(o=>o(n),(o,i,s)=>{const l=typeof s=="function"?s(o(n)):s;return l===eX?(i(n,t),r.removeItem(e)):(i(n,l),r.setItem(e,l))})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Zi(e,t){const r=Ra(e,t);return r.debugLabel="storageAtom",rn(n=>{const a=n(r);let o;if(typeof a!=typeof t)o=t;else{let s=!1;for(const l in t)if(!(l in a)){s=!0;break}o=s?{...t,...a}:a}if(o!==a){const s=JSON.stringify(o);localStorage.setItem(e,s)}return o},r.write)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class GL{constructor(t,r,n,a,o,i){this.word=t,this.timeStamp=VE(),this.dict=r,this.chapter=n,this.timing=a,this.wrongCount=o,this.mistakes=i}get totalTime(){return this.timing.reduce((t,r)=>t+r,0)}}class KL{constructor(t,r,n,a,o,i,s,l,u){this.dict=t,this.chapter=r,this.timeStamp=VE(),this.time=n,this.correctCount=a,this.wrongCount=o,this.wordCount=i,this.correctWordIndexes=s,this.wordNumber=l,this.wordRecordIds=u}get wpm(){return Math.round(this.wordCount/this.time*60)}get inputAccuracy(){return Math.round((this.correctCount/this.correctCount+this.wrongCount)*100)}get wordAccuracy(){return Math.round(this.correctWordIndexes.length/this.wordNumber*100)}}class qL{constructor(t,r){this.dict=t,this.index=0,this.createTime=VE(),this.words=r,this.isFinished=!1}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function nX(e,t){const r={};for(const n of[e,t])for(const a in n)r[a]?r[a].push(...n[a]):r[a]=[...n[a]];return r}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function l4(e){const t=e==null?0:e.length;if(!t)return[];let r=-1;const n=t-1,a=Array.from(e);for(;++r(e.SETUP_CHAPTER="SETUP_CHAPTER",e.SET_IS_SKIP="SET_IS_SKIP",e.SET_IS_TYPING="SET_IS_TYPING",e.TOGGLE_IS_TYPING="TOGGLE_IS_TYPING",e.REPORT_WRONG_WORD="REPORT_WRONG_WORD",e.REPORT_CORRECT_WORD="REPORT_CORRECT_WORD",e.NEXT_WORD="NEXT_WORD",e.LOOP_CURRENT_WORD="LOOP_CURRENT_WORD",e.FINISH_CHAPTER="FINISH_CHAPTER",e.INCREASE_WRONG_WORD="INCREASE_WRONG_WORD",e.SKIP_WORD="SKIP_WORD",e.SKIP_2_WORD_INDEX="SKIP_2_WORD_INDEX",e.REPEAT_CHAPTER="REPEAT_CHAPTER",e.NEXT_CHAPTER="NEXT_CHAPTER",e.TOGGLE_WORD_VISIBLE="TOGGLE_WORD_VISIBLE",e.TOGGLE_TRANS_VISIBLE="TOGGLE_TRANS_VISIBLE",e.TICK_TIMER="TICK_TIMER",e.ADD_WORD_RECORD_ID="ADD_WORD_RECORD_ID",e.SET_IS_SAVING_RECORD="SET_IS_SAVING_RECORD",e.SET_IS_LOOP_SINGLE_WORD="SET_IS_LOOP_SINGLE_WORD",e.TOGGLE_IS_LOOP_SINGLE_WORD="TOGGLE_IS_LOOP_SINGLE_WORD",e.SET_REVISION_INDEX="SET_REVISION_INDEX",e))(De||{});const aX=(e,t)=>{var r;switch(t.type){case"SETUP_CHAPTER":{const n=structuredClone(tv),a=t.payload.shouldShuffle?l4(t.payload.words):t.payload.words;let o=t.payload.initialIndex??0;return o>=a.length&&(o=0),n.chapterData.index=o,n.chapterData.words=a,n.chapterData.userInputLogs=a.map((i,s)=>({...structuredClone(F1),index:s})),n}case"SET_IS_SKIP":e.isShowSkip=t.payload;break;case"SET_IS_TYPING":e.isTyping=t.payload;break;case"TOGGLE_IS_TYPING":e.isTyping=!e.isTyping;break;case"REPORT_CORRECT_WORD":{e.chapterData.correctCount+=1;const n=e.chapterData.userInputLogs[e.chapterData.index];n.correctCount+=1;break}case"REPORT_WRONG_WORD":{e.chapterData.wrongCount+=1;const n=t.payload.letterMistake,a=e.chapterData.userInputLogs[e.chapterData.index];a.wrongCount+=1,a.LetterMistakes=nX(a.LetterMistakes,n);break}case"NEXT_WORD":{e.chapterData.index+=1,e.chapterData.wordCount+=1,e.isShowSkip=!1,(r=t==null?void 0:t.payload)!=null&&r.updateReviewRecord&&t.payload.updateReviewRecord(e);break}case"LOOP_CURRENT_WORD":e.isShowSkip=!1,e.chapterData.wordCount+=1;break;case"FINISH_CHAPTER":e.chapterData.wordCount+=1,e.isTyping=!1,e.isFinished=!0,e.isShowSkip=!1;break;case"SKIP_WORD":{const n=e.chapterData.index+1;n>=e.chapterData.words.length?(e.isTyping=!1,e.isFinished=!0):e.chapterData.index=n,e.isShowSkip=!1;break}case"SKIP_2_WORD_INDEX":{const n=t.newIndex;n>=e.chapterData.words.length&&(e.isTyping=!1,e.isFinished=!0),e.chapterData.index=n;break}case"REPEAT_CHAPTER":{const n=structuredClone(tv);return n.chapterData.userInputLogs=e.chapterData.words.map((a,o)=>({...structuredClone(F1),index:o})),n.isTyping=!0,n.chapterData.words=t.shouldShuffle?l4(e.chapterData.words):e.chapterData.words,n.isTransVisible=e.isTransVisible,n}case"NEXT_CHAPTER":{const n=structuredClone(tv);return n.chapterData.userInputLogs=e.chapterData.words.map((a,o)=>({...structuredClone(F1),index:o})),n.isTyping=!0,n.isTransVisible=e.isTransVisible,n}case"TOGGLE_TRANS_VISIBLE":e.isTransVisible=!e.isTransVisible;break;case"TICK_TIMER":{const n=t.addTime===void 0?1:t.addTime,a=e.timerData.time+n,o=e.chapterData.correctCount+e.chapterData.wrongCount===0?1:e.chapterData.correctCount+e.chapterData.wrongCount;e.timerData.time=a,e.timerData.accuracy=Math.round(e.chapterData.correctCount/o*100),e.timerData.wpm=Math.round(e.chapterData.wordCount/a*60);break}case"ADD_WORD_RECORD_ID":{e.chapterData.wordRecordIds.push(t.payload);break}case"SET_IS_SAVING_RECORD":{e.isSavingRecord=t.payload;break}case"SET_IS_LOOP_SINGLE_WORD":{e.isLoopSingleWord=t.payload;break}case"TOGGLE_IS_LOOP_SINGLE_WORD":{e.isLoopSingleWord=!e.isLoopSingleWord;break}default:return e}},Sr=p.createContext(null),tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ot=Object.keys,cr=Array.isArray;function br(e,t){return typeof t!="object"||Ot(t).forEach(function(r){e[r]=t[r]}),e}typeof Promise>"u"||tt.Promise||(tt.Promise=Promise);const Df=Object.getPrototypeOf,oX={}.hasOwnProperty;function an(e,t){return oX.call(e,t)}function Wc(e,t){typeof t=="function"&&(t=t(Df(e))),(typeof Reflect>"u"?Ot:Reflect.ownKeys)(t).forEach(r=>{ao(e,r,t[r])})}const YL=Object.defineProperty;function ao(e,t,r,n){YL(e,t,br(r&&an(r,"get")&&typeof r.get=="function"?{get:r.get,set:r.set,configurable:!0}:{value:r,configurable:!0,writable:!0},n))}function bc(e){return{from:function(t){return e.prototype=Object.create(t.prototype),ao(e.prototype,"constructor",e),{extend:Wc.bind(null,e.prototype)}}}}const iX=Object.getOwnPropertyDescriptor;function uE(e,t){let r;return iX(e,t)||(r=Df(e))&&uE(r,t)}const sX=[].slice;function rm(e,t,r){return sX.call(e,t,r)}function XL(e,t){return t(e)}function Pd(e){if(!e)throw new Error("Assertion Failed")}function ZL(e){tt.setImmediate?setImmediate(e):setTimeout(e,0)}function QL(e,t){return e.reduce((r,n,a)=>{var o=t(n,a);return o&&(r[o[0]]=o[1]),r},{})}function oo(e,t){if(an(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var r=[],n=0,a=t.length;n["Int","Uint","Float"].map(t=>t+e+"Array")))).filter(e=>tt[e]),cX=tM.map(e=>tt[e]);QL(tM,e=>[e,!0]);let ti=null;function mh(e){ti=typeof WeakMap<"u"&&new WeakMap;const t=A$(e);return ti=null,t}function A$(e){if(!e||typeof e!="object")return e;let t=ti&&ti.get(e);if(t)return t;if(cr(e)){t=[],ti&&ti.set(e,t);for(var r=0,n=e.length;r=0)t=e;else{const o=Df(e);for(var a in t=o===Object.prototype?{}:Object.create(o),ti&&ti.set(e,t),e)an(e,a)&&(t[a]=A$(e[a]))}return t}const{toString:uX}={};function R$(e){return uX.call(e).slice(8,-1)}const O$=typeof Symbol<"u"?Symbol.iterator:"@@iterator",dX=typeof O$=="symbol"?function(e){var t;return e!=null&&(t=e[O$])&&t.apply(e)}:function(){return null},Fl={};function Za(e){var t,r,n,a;if(arguments.length===1){if(cr(e))return e.slice();if(this===Fl&&typeof e=="string")return[e];if(a=dX(e)){for(r=[];!(n=a.next()).done;)r.push(n.value);return r}if(e==null)return[e];if(typeof(t=e.length)=="number"){for(r=new Array(t);t--;)r[t]=e[t];return r}return[e]}for(t=arguments.length,r=new Array(t);t--;)r[t]=arguments[t];return r}const dE=typeof Symbol<"u"?e=>e[Symbol.toStringTag]==="AsyncFunction":()=>!1;var Oa=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function rM(e,t){Oa=e,nM=t}var nM=()=>!0;const fX=!new Error("").stack;function pl(){if(fX)try{throw pl.arguments,new Error}catch(e){return e}return new Error}function k$(e,t){var r=e.stack;return r?(t=t||0,r.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` +`+o.stack}return{value:e,source:t,stack:a,digest:null}}function L1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function i$(e,t){try{}catch(r){setTimeout(function(){throw r})}}var WK=typeof WeakMap=="function"?WeakMap:Map;function KN(e,t,r){r=ao(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){qv||(qv=!0,v$=n),i$(e,t)},r}function qN(e,t,r){r=ao(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){i$(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){i$(e,t),typeof n!="function"&&($i===null?$i=new Set([this]):$i.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function k3(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new WK;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=aq.bind(null,e,t,r),t.then(e,e))}function O3(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function P3(e,t,r,n,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=ao(-1,1),t.tag=2,_i(r,t,1))),r.lanes|=1),e)}var HK=Ao.ReactCurrentOwner,Or=!1;function gr(e,t,r,n){t.child=e===null?CN(t,null,r,n):Bc(t,e.child,r,n)}function I3(e,t,r,n,a){r=r.render;var o=t.ref;return mc(t,a),n=jS(e,t,r,n,o,a),r=FS(),e!==null&&!Or?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,go(e,t,a)):(it&&r&&CS(t),t.flags|=1,gr(e,t,n,a),t.child)}function N3(e,t,r,n,a){if(e===null){var o=r.type;return typeof o=="function"&&!YS(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,YN(e,t,o,n,a)):(e=Jg(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if(r=r.compare,r=r!==null?r:Sf,r(i,n)&&e.ref===t.ref)return go(e,t,a)}return t.flags|=1,e=Si(o,n),e.ref=t.ref,e.return=t,t.child=e}function YN(e,t,r,n,a){if(e!==null){var o=e.memoizedProps;if(Sf(o,n)&&e.ref===t.ref)if(Or=!1,t.pendingProps=n=o,(e.lanes&a)!==0)e.flags&131072&&(Or=!0);else return t.lanes=e.lanes,go(e,t,a)}return s$(e,t,r,n,a)}function XN(e,t,r){var n=t.pendingProps,a=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(nc,Wr),Wr|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(nc,Wr),Wr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,Ye(nc,Wr),Wr|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,Ye(nc,Wr),Wr|=n;return gr(e,t,a,r),t.child}function ZN(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function s$(e,t,r,n,a){var o=Lr(r)?Ys:fr.current;return o=jc(t,o),mc(t,a),r=jS(e,t,r,n,o,a),n=FS(),e!==null&&!Or?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,go(e,t,a)):(it&&n&&CS(t),t.flags|=1,gr(e,t,r,a),t.child)}function L3(e,t,r,n,a){if(Lr(r)){var o=!0;jv(t)}else o=!1;if(mc(t,a),t.stateNode===null)Xg(e,t),SN(t,r,n),o$(t,r,n,a),n=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=Rn(u):(u=Lr(r)?Ys:fr.current,u=jc(t,u));var f=r.getDerivedStateFromProps,c=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==n||l!==u)&&C3(t,i,n,u),ei=!1;var d=t.memoizedState;i.state=d,Vv(t,n,i,a),l=t.memoizedState,s!==n||d!==l||Nr.current||ei?(typeof f=="function"&&(a$(t,r,f,n),l=t.memoizedState),(s=ei||E3(t,r,s,n,d,l,u))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=u,n=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,$N(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Kn(t.type,s),i.props=u,c=t.pendingProps,d=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Rn(l):(l=Lr(r)?Ys:fr.current,l=jc(t,l));var h=r.getDerivedStateFromProps;(f=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==c||d!==l)&&C3(t,i,n,l),ei=!1,d=t.memoizedState,i.state=d,Vv(t,n,i,a);var g=t.memoizedState;s!==c||d!==g||Nr.current||ei?(typeof h=="function"&&(a$(t,r,h,n),g=t.memoizedState),(u=ei||E3(t,r,u,n,d,g,l)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,g,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),i.props=n,i.state=g,i.context=l,n=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return l$(e,t,r,n,o,a)}function l$(e,t,r,n,a,o){ZN(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return a&&w3(t,r,!1),go(e,t,o);n=t.stateNode,HK.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Bc(t,e.child,null,o),t.child=Bc(t,null,s,o)):gr(e,t,s,o),t.memoizedState=n.state,a&&w3(t,r,!0),t.child}function QN(e){var t=e.stateNode;t.pendingContext?b3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&b3(e,t.context,!1),NS(e,t.containerInfo)}function M3(e,t,r,n,a){return Fc(),AS(a),t.flags|=256,gr(e,t,r,n),t.child}var c$={dehydrated:null,treeContext:null,retryLane:0};function u$(e){return{baseLanes:e,cachePool:null,transitions:null}}function JN(e,t,r){var n=t.pendingProps,a=ct.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(a&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),Ye(ct,a&1),e===null)return r$(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=n.children,e=n.fallback,o?(n=t.mode,o=t.child,i={mode:"hidden",children:i},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=x0(i,n,0,null),e=js(e,n,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=u$(r),t.memoizedState=c$,e):zS(t,i));if(a=e.memoizedState,a!==null&&(s=a.dehydrated,s!==null))return GK(e,t,i,n,s,a,r);if(o){o=n.fallback,i=t.mode,a=e.child,s=a.sibling;var l={mode:"hidden",children:n.children};return!(i&1)&&t.child!==a?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Si(a,l),n.subtreeFlags=a.subtreeFlags&14680064),s!==null?o=Si(s,o):(o=js(o,i,r,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,n=o,o=t.child,i=e.child.memoizedState,i=i===null?u$(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~r,t.memoizedState=c$,n}return o=e.child,e=o.sibling,n=Si(o,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function zS(e,t){return t=x0({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Np(e,t,r,n){return n!==null&&AS(n),Bc(t,e.child,null,r),e=zS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function GK(e,t,r,n,a,o,i){if(r)return t.flags&256?(t.flags&=-257,n=L1(Error(X(422))),Np(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=n.fallback,a=t.mode,n=x0({mode:"visible",children:n.children},a,0,null),o=js(o,a,i,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,t.mode&1&&Bc(t,e.child,null,i),t.child.memoizedState=u$(i),t.memoizedState=c$,o);if(!(t.mode&1))return Np(e,t,i,null);if(a.data==="$!"){if(n=a.nextSibling&&a.nextSibling.dataset,n)var s=n.dgst;return n=s,o=Error(X(419)),n=L1(o,n,void 0),Np(e,t,i,n)}if(s=(i&e.childLanes)!==0,Or||s){if(n=zt,n!==null){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(n.suspendedLanes|i)?0:a,a!==0&&a!==o.retryLane&&(o.retryLane=a,po(e,a),na(n,e,a,-1))}return qS(),n=L1(Error(X(421))),Np(e,t,i,n)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=oq.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Kr=wi(a.nextSibling),en=t,it=!0,Yn=null,e!==null&&(_n[$n++]=Ja,_n[$n++]=eo,_n[$n++]=Xs,Ja=e.id,eo=e.overflow,Xs=t),t=zS(t,n.children),t.flags|=4096,t)}function D3(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),n$(e.return,t,r)}function M1(e,t,r,n,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=a)}function eL(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;if(gr(e,t,n.children,r),n=ct.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&D3(e,r,t);else if(e.tag===19)D3(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ye(ct,n),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(r=t.child,a=null;r!==null;)e=r.alternate,e!==null&&Wv(e)===null&&(a=r),r=r.sibling;r=a,r===null?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),M1(t,!1,a,r,o);break;case"backwards":for(r=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Wv(e)===null){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}M1(t,!0,r,null,o);break;case"together":M1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xg(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function go(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Qs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(X(153));if(t.child!==null){for(e=t.child,r=Si(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Si(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function KK(e,t,r){switch(t.tag){case 3:QN(t),Fc();break;case 5:TN(t);break;case 1:Lr(t.type)&&jv(t);break;case 4:NS(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;Ye(Uv,n._currentValue),n._currentValue=a;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ye(ct,ct.current&1),t.flags|=128,null):r&t.child.childLanes?JN(e,t,r):(Ye(ct,ct.current&1),e=go(e,t,r),e!==null?e.sibling:null);Ye(ct,ct.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return eL(e,t,r);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ye(ct,ct.current),n)break;return null;case 22:case 23:return t.lanes=0,XN(e,t,r)}return go(e,t,r)}var tL,d$,rL,nL;tL=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};d$=function(){};rL=function(e,t,r,n){var a=e.memoizedProps;if(a!==n){e=t.stateNode,Ps($a.current);var o=null;switch(r){case"input":a=I_(e,a),n=I_(e,n),o=[];break;case"select":a=pt({},a,{value:void 0}),n=pt({},n,{value:void 0}),o=[];break;case"textarea":a=M_(e,a),n=M_(e,n),o=[];break;default:typeof a.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Mv)}j_(r,n);var i;r=null;for(u in a)if(!n.hasOwnProperty(u)&&a.hasOwnProperty(u)&&a[u]!=null)if(u==="style"){var s=a[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(mf.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in n){var l=n[u];if(s=a!=null?a[u]:void 0,n.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(o||(o=[]),o.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(mf.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Qe("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};nL=function(e,t,r,n){r!==n&&(t.flags|=4)};function id(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function rr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags&14680064,n|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function qK(e,t,r){var n=t.pendingProps;switch(TS(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(t),null;case 1:return Lr(t.type)&&Dv(),rr(t),null;case 3:return n=t.stateNode,Uc(),rt(Nr),rt(fr),MS(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pp(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Yn!==null&&(b$(Yn),Yn=null))),d$(e,t),rr(t),null;case 5:LS(t);var a=Ps(Rf.current);if(r=t.type,e!==null&&t.stateNode!=null)rL(e,t,r,n,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(X(166));return rr(t),null}if(e=Ps($a.current),Pp(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[ma]=t,n[Tf]=o,e=(t.mode&1)!==0,r){case"dialog":Qe("cancel",n),Qe("close",n);break;case"iframe":case"object":case"embed":Qe("load",n);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[ma]=t,e[Tf]=n,tL(e,t,!1,!1),t.stateNode=e;e:{switch(i=F_(r,n),r){case"dialog":Qe("cancel",e),Qe("close",e),a=n;break;case"iframe":case"object":case"embed":Qe("load",e),a=n;break;case"video":case"audio":for(a=0;aVc&&(t.flags|=128,n=!0,id(o,!1),t.lanes=4194304)}else{if(!n)if(e=Wv(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),id(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!it)return rr(t),null}else 2*xt()-o.renderingStartTime>Vc&&r!==1073741824&&(t.flags|=128,n=!0,id(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xt(),t.sibling=null,r=ct.current,Ye(ct,n?r&1|2:r&1),t):(rr(t),null);case 22:case 23:return KS(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Wr&1073741824&&(rr(t),t.subtreeFlags&6&&(t.flags|=8192)):rr(t),null;case 24:return null;case 25:return null}throw Error(X(156,t.tag))}function YK(e,t){switch(TS(t),t.tag){case 1:return Lr(t.type)&&Dv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Uc(),rt(Nr),rt(fr),MS(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return LS(t),null;case 13:if(rt(ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(X(340));Fc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rt(ct),null;case 4:return Uc(),null;case 10:return OS(t.type._context),null;case 22:case 23:return KS(),null;case 24:return null;default:return null}}var Lp=!1,ir=!1,XK=typeof WeakSet=="function"?WeakSet:Set,ne=null;function rc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){yt(e,t,n)}else r.current=null}function f$(e,t,r){try{r()}catch(n){yt(e,t,n)}}var j3=!1;function ZK(e,t){if(Y_=Iv,e=sN(),ES(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var h;c!==r||a!==0&&c.nodeType!==3||(s=i+a),c!==o||n!==0&&c.nodeType!==3||(l=i+n),c.nodeType===3&&(i+=c.nodeValue.length),(h=c.firstChild)!==null;)d=c,c=h;for(;;){if(c===e)break t;if(d===r&&++u===a&&(s=i),d===o&&++f===n&&(l=i),(h=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(X_={focusedElem:e,selectionRange:r},Iv=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,w=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Kn(t.type,m),w);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(X(163))}}catch($){yt(t,t.return,$)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return g=j3,j3=!1,g}function qd(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&f$(t,r,o)}a=a.next}while(a!==n)}}function _0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function h$(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function aL(e){var t=e.alternate;t!==null&&(e.alternate=null,aL(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ma],delete t[Tf],delete t[J_],delete t[IK],delete t[NK])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oL(e){return e.tag===5||e.tag===3||e.tag===4}function F3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oL(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function p$(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Mv));else if(n!==4&&(e=e.child,e!==null))for(p$(e,t,r),e=e.sibling;e!==null;)p$(e,t,r),e=e.sibling}function g$(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(g$(e,t,r),e=e.sibling;e!==null;)g$(e,t,r),e=e.sibling}var Kt=null,qn=!1;function Go(e,t,r){for(r=r.child;r!==null;)iL(e,t,r),r=r.sibling}function iL(e,t,r){if(_a&&typeof _a.onCommitFiberUnmount=="function")try{_a.onCommitFiberUnmount(h0,r)}catch{}switch(r.tag){case 5:ir||rc(r,t);case 6:var n=Kt,a=qn;Kt=null,Go(e,t,r),Kt=n,qn=a,Kt!==null&&(qn?(e=Kt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(qn?(e=Kt,r=r.stateNode,e.nodeType===8?R1(e.parentNode,r):e.nodeType===1&&R1(e,r),$f(e)):R1(Kt,r.stateNode));break;case 4:n=Kt,a=qn,Kt=r.stateNode.containerInfo,qn=!0,Go(e,t,r),Kt=n,qn=a;break;case 0:case 11:case 14:case 15:if(!ir&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&f$(r,t,i),a=a.next}while(a!==n)}Go(e,t,r);break;case 1:if(!ir&&(rc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){yt(r,t,s)}Go(e,t,r);break;case 21:Go(e,t,r);break;case 22:r.mode&1?(ir=(n=ir)||r.memoizedState!==null,Go(e,t,r),ir=n):Go(e,t,r);break;default:Go(e,t,r)}}function B3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new XK),t.forEach(function(n){var a=iq.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function Wn(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=xt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*JK(n/1960))-n,10e?16:e,li===null)var n=!1;else{if(e=li,li=null,Yv=0,Oe&6)throw Error(X(331));var a=Oe;for(Oe|=4,ne=e.current;ne!==null;){var o=ne,i=o.child;if(ne.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lxt()-HS?Ds(e,0):WS|=r),Mr(e,t)}function pL(e,t){t===0&&(e.mode&1?(t=Cp,Cp<<=1,!(Cp&130023424)&&(Cp=4194304)):t=1);var r=mr();e=po(e,t),e!==null&&(fh(e,t,r),Mr(e,r))}function oq(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),pL(e,r)}function iq(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(X(314))}n!==null&&n.delete(t),pL(e,r)}var gL;gL=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nr.current)Or=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Or=!1,KK(e,t,r);Or=!!(e.flags&131072)}else Or=!1,it&&t.flags&1048576&&yN(t,Bv,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Xg(e,t),e=t.pendingProps;var a=jc(t,fr.current);mc(t,r),a=jS(null,t,n,e,a,r);var o=FS();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lr(n)?(o=!0,jv(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,IS(t),a.updater=b0,t.stateNode=a,a._reactInternals=t,o$(t,n,e,r),t=l$(null,t,n,!0,o,r)):(t.tag=0,it&&o&&CS(t),gr(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Xg(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=lq(n),e=Kn(n,e),a){case 0:t=s$(null,t,n,e,r);break e;case 1:t=L3(null,t,n,e,r);break e;case 11:t=I3(null,t,n,e,r);break e;case 14:t=N3(null,t,n,Kn(n.type,e),r);break e}throw Error(X(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),s$(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),L3(e,t,n,a,r);case 3:e:{if(QN(t),e===null)throw Error(X(387));n=t.pendingProps,o=t.memoizedState,a=o.element,$N(e,t),Vv(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=zc(Error(X(423)),t),t=M3(e,t,n,r,a);break e}else if(n!==a){a=zc(Error(X(424)),t),t=M3(e,t,n,r,a);break e}else for(Kr=wi(t.stateNode.containerInfo.firstChild),en=t,it=!0,Yn=null,r=CN(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Fc(),n===a){t=go(e,t,r);break e}gr(e,t,n,r)}t=t.child}return t;case 5:return TN(t),e===null&&r$(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,Z_(n,a)?i=null:o!==null&&Z_(n,o)&&(t.flags|=32),ZN(e,t),gr(e,t,i,r),t.child;case 6:return e===null&&r$(t),null;case 13:return JN(e,t,r);case 4:return NS(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Bc(t,null,n,r):gr(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),I3(e,t,n,a,r);case 7:return gr(e,t,t.pendingProps,r),t.child;case 8:return gr(e,t,t.pendingProps.children,r),t.child;case 12:return gr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,Ye(Uv,n._currentValue),n._currentValue=i,o!==null)if(ia(o.value,i)){if(o.children===a.children&&!Nr.current){t=go(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=ao(-1,r&-r),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),n$(o.return,r,t),s.lanes|=r;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(X(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),n$(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}gr(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,mc(t,r),a=Rn(a),n=n(a),t.flags|=1,gr(e,t,n,r),t.child;case 14:return n=t.type,a=Kn(n,t.pendingProps),a=Kn(n.type,a),N3(e,t,n,a,r);case 15:return YN(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Kn(n,a),Xg(e,t),t.tag=1,Lr(n)?(e=!0,jv(t)):e=!1,mc(t,r),SN(t,n,a),o$(t,n,a,r),l$(null,t,n,!0,e,r);case 19:return eL(e,t,r);case 22:return XN(e,t,r)}throw Error(X(156,t.tag))};function vL(e,t){return z7(e,t)}function sq(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function En(e,t,r,n){return new sq(e,t,r,n)}function YS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lq(e){if(typeof e=="function")return YS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pS)return 11;if(e===gS)return 14}return 2}function Si(e,t){var r=e.alternate;return r===null?(r=En(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Jg(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")YS(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Kl:return js(r.children,a,o,t);case hS:i=8,a|=8;break;case R_:return e=En(12,r,t,a|2),e.elementType=R_,e.lanes=o,e;case k_:return e=En(13,r,t,a),e.elementType=k_,e.lanes=o,e;case O_:return e=En(19,r,t,a),e.elementType=O_,e.lanes=o,e;case E7:return x0(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case x7:i=10;break e;case S7:i=9;break e;case pS:i=11;break e;case gS:i=14;break e;case Jo:i=16,n=null;break e}throw Error(X(130,e==null?e:typeof e,""))}return t=En(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function js(e,t,r,n){return e=En(7,e,n,t),e.lanes=r,e}function x0(e,t,r,n){return e=En(22,e,n,t),e.elementType=E7,e.lanes=r,e.stateNode={isHidden:!1},e}function D1(e,t,r){return e=En(6,e,null,t),e.lanes=r,e}function j1(e,t,r){return t=En(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cq(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y1(0),this.expirationTimes=y1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y1(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function XS(e,t,r,n,a,o,i,s,l){return e=new cq(e,t,r,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=En(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},IS(o),e}function uq(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wL)}catch{}}wL(),y7.exports=ln;var Xi=y7.exports;const Nje=cu(Xi),_L=p.forwardRef((e,t)=>{const{children:r,...n}=e,a=p.Children.toArray(r),o=a.find(vq);if(o){const i=o.props.children,s=a.map(l=>l===o?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:l);return p.createElement(w$,te({},n,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,s):null)}return p.createElement(w$,te({},n,{ref:t}),r)});_L.displayName="Slot";const w$=p.forwardRef((e,t)=>{const{children:r,...n}=e;return p.isValidElement(r)?p.cloneElement(r,{...mq(n,r.props),ref:t?cS(t,r.ref):r.ref}):p.Children.count(r)>1?p.Children.only(null):null});w$.displayName="SlotClone";const gq=({children:e})=>p.createElement(p.Fragment,null,e);function vq(e){return p.isValidElement(e)&&e.type===gq}function mq(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...s)=>{o(...s),a(...s)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}const yq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],un=yq.reduce((e,t)=>{const r=p.forwardRef((n,a)=>{const{asChild:o,...i}=n,s=o?_L:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(s,te({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bq(e,t){e&&Xi.flushSync(()=>e.dispatchEvent(t))}function kr(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function wq(e,t=globalThis==null?void 0:globalThis.document){const r=kr(e);p.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const _$="dismissableLayer.update",_q="dismissableLayer.pointerDownOutside",$q="dismissableLayer.focusOutside";let q3;const xq=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Sq=p.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,f=p.useContext(xq),[c,d]=p.useState(null),h=(r=c==null?void 0:c.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=p.useState({}),m=In(t,S=>d(S)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(v),_=c?w.indexOf(c):-1,$=f.layersWithOutsidePointerEventsDisabled.size>0,C=_>=b,k=Eq(S=>{const A=S.target,O=[...f.branches].some(L=>L.contains(A));!C||O||(o==null||o(S),s==null||s(S),S.defaultPrevented||l==null||l())},h),x=Cq(S=>{const A=S.target;[...f.branches].some(L=>L.contains(A))||(i==null||i(S),s==null||s(S),S.defaultPrevented||l==null||l())},h);return wq(S=>{_===f.layers.size-1&&(a==null||a(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},h),p.useEffect(()=>{if(c)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(q3=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),Y3(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=q3)}},[c,h,n,f]),p.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),Y3())},[c,f]),p.useEffect(()=>{const S=()=>g({});return document.addEventListener(_$,S),()=>document.removeEventListener(_$,S)},[]),p.createElement(un.div,te({},u,{ref:m,style:{pointerEvents:$?C?"auto":"none":void 0,...e.style},onFocusCapture:or(e.onFocusCapture,x.onFocusCapture),onBlurCapture:or(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:or(e.onPointerDownCapture,k.onPointerDownCapture)}))});function Eq(e,t=globalThis==null?void 0:globalThis.document){const r=kr(e),n=p.useRef(!1),a=p.useRef(()=>{});return p.useEffect(()=>{const o=s=>{if(s.target&&!n.current){let u=function(){$L(_q,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Cq(e,t=globalThis==null?void 0:globalThis.document){const r=kr(e),n=p.useRef(!1);return p.useEffect(()=>{const a=o=>{o.target&&!n.current&&$L($q,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Y3(){const e=new CustomEvent(_$);document.dispatchEvent(e)}function $L(e,t,r,{discrete:n}){const a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?bq(a,o):a.dispatchEvent(o)}const vo=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Tq=qs["useId".toString()]||(()=>{});let Aq=0;function Rq(e){const[t,r]=p.useState(Tq());return vo(()=>{e||r(n=>n??String(Aq++))},[e]),e||(t?`radix-${t}`:"")}const kq=["top","right","bottom","left"],Ii=Math.min,Gr=Math.max,Qv=Math.round,jp=Math.floor,Ni=e=>({x:e,y:e}),Oq={left:"right",right:"left",bottom:"top",top:"bottom"},Pq={start:"end",end:"start"};function $$(e,t,r){return Gr(e,Ii(t,r))}function mo(e,t){return typeof e=="function"?e(t):e}function yo(e){return e.split("-")[0]}function pu(e){return e.split("-")[1]}function eE(e){return e==="x"?"y":"x"}function tE(e){return e==="y"?"height":"width"}function gu(e){return["top","bottom"].includes(yo(e))?"y":"x"}function rE(e){return eE(gu(e))}function Iq(e,t,r){r===void 0&&(r=!1);const n=pu(e),a=rE(e),o=tE(a);let i=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Jv(i)),[i,Jv(i)]}function Nq(e){const t=Jv(e);return[x$(e),t,x$(t)]}function x$(e){return e.replace(/start|end/g,t=>Pq[t])}function Lq(e,t,r){const n=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:n:t?n:a;case"left":case"right":return t?o:i;default:return[]}}function Mq(e,t,r,n){const a=pu(e);let o=Lq(yo(e),r==="start",n);return a&&(o=o.map(i=>i+"-"+a),t&&(o=o.concat(o.map(x$)))),o}function Jv(e){return e.replace(/left|right|bottom|top/g,t=>Oq[t])}function Dq(e){return{top:0,right:0,bottom:0,left:0,...e}}function xL(e){return typeof e!="number"?Dq(e):{top:e,right:e,bottom:e,left:e}}function em(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function X3(e,t,r){let{reference:n,floating:a}=e;const o=gu(t),i=rE(t),s=tE(i),l=yo(t),u=o==="y",f=n.x+n.width/2-a.width/2,c=n.y+n.height/2-a.height/2,d=n[s]/2-a[s]/2;let h;switch(l){case"top":h={x:f,y:n.y-a.height};break;case"bottom":h={x:f,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:c};break;case"left":h={x:n.x-a.width,y:c};break;default:h={x:n.x,y:n.y}}switch(pu(t)){case"start":h[i]-=d*(r&&u?-1:1);break;case"end":h[i]+=d*(r&&u?-1:1);break}return h}const jq=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,s=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:c}=X3(u,n,l),d=n,h={},g=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:f=0}=mo(e,t)||{};if(u==null)return{};const c=xL(f),d={x:r,y:n},h=rE(a),g=tE(h),m=await i.getDimensions(u),w=h==="y",v=w?"top":"left",b=w?"bottom":"right",_=w?"clientHeight":"clientWidth",$=o.reference[g]+o.reference[h]-d[h]-o.floating[g],C=d[h]-o.reference[h],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let x=k?k[_]:0;(!x||!await(i.isElement==null?void 0:i.isElement(k)))&&(x=s.floating[_]||o.floating[g]);const S=$/2-C/2,A=x/2-m[g]/2-1,O=Ii(c[v],A),L=Ii(c[b],A),I=O,N=x-m[g]-L,E=x/2-m[g]/2+S,R=$$(I,E,N),F=!l.arrow&&pu(a)!=null&&E!=R&&o.reference[g]/2-(EI<=0)){var A,O;const I=(((A=o.flip)==null?void 0:A.index)||0)+1,N=C[I];if(N)return{data:{index:I,overflows:S},reset:{placement:N}};let E=(O=S.filter(R=>R.overflows[0]<=0).sort((R,F)=>R.overflows[1]-F.overflows[1])[0])==null?void 0:O.placement;if(!E)switch(h){case"bestFit":{var L;const R=(L=S.map(F=>[F.placement,F.overflows.filter(B=>B>0).reduce((B,j)=>B+j,0)]).sort((F,B)=>F[1]-B[1])[0])==null?void 0:L[0];R&&(E=R);break}case"initialPlacement":E=s;break}if(a!==E)return{reset:{placement:E}}}return{}}}};function Q3(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function J3(e){return kq.some(t=>e[t]>=0)}const Bq=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=mo(e,t);switch(n){case"referenceHidden":{const o=await Nf(t,{...a,elementContext:"reference"}),i=Q3(o,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:J3(i)}}}case"escaped":{const o=await Nf(t,{...a,altBoundary:!0}),i=Q3(o,r.floating);return{data:{escapedOffsets:i,escaped:J3(i)}}}default:return{}}}}};async function Uq(e,t){const{placement:r,platform:n,elements:a}=e,o=await(n.isRTL==null?void 0:n.isRTL(a.floating)),i=yo(r),s=pu(r),l=gu(r)==="y",u=["left","top"].includes(i)?-1:1,f=o&&l?-1:1,c=mo(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:g}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*f,y:d*u}:{x:d*u,y:h*f}}const zq=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await Uq(t,e);return i===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},Vq=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=mo(e,t),u={x:r,y:n},f=await Nf(t,l),c=gu(yo(a)),d=eE(c);let h=u[d],g=u[c];if(o){const w=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=h+f[w],_=h-f[v];h=$$(b,h,_)}if(i){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",b=g+f[w],_=g-f[v];g=$$(b,g,_)}const m=s.fn({...t,[d]:h,[c]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}},Wq=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=mo(e,t),f={x:r,y:n},c=gu(a),d=eE(c);let h=f[d],g=f[c];const m=mo(s,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const _=d==="y"?"height":"width",$=o.reference[d]-o.floating[_]+w.mainAxis,C=o.reference[d]+o.reference[_]-w.mainAxis;h<$?h=$:h>C&&(h=C)}if(u){var v,b;const _=d==="y"?"width":"height",$=["top","left"].includes(yo(a)),C=o.reference[c]-o.floating[_]+($&&((v=i.offset)==null?void 0:v[c])||0)+($?0:w.crossAxis),k=o.reference[c]+o.reference[_]+($?0:((b=i.offset)==null?void 0:b[c])||0)-($?w.crossAxis:0);gk&&(g=k)}return{[d]:h,[c]:g}}}},Hq=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:o}=t,{apply:i=()=>{},...s}=mo(e,t),l=await Nf(t,s),u=yo(r),f=pu(r),c=gu(r)==="y",{width:d,height:h}=n.floating;let g,m;u==="top"||u==="bottom"?(g=u,m=f===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(m=u,g=f==="end"?"top":"bottom");const w=h-l[g],v=d-l[m],b=!t.middlewareData.shift;let _=w,$=v;if(c){const k=d-l.left-l.right;$=f||b?Ii(v,k):k}else{const k=h-l.top-l.bottom;_=f||b?Ii(w,k):k}if(b&&!f){const k=Gr(l.left,0),x=Gr(l.right,0),S=Gr(l.top,0),A=Gr(l.bottom,0);c?$=d-2*(k!==0||x!==0?k+x:Gr(l.left,l.right)):_=h-2*(S!==0||A!==0?S+A:Gr(l.top,l.bottom))}await i({...t,availableWidth:$,availableHeight:_});const C=await a.getDimensions(o.floating);return d!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function Li(e){return SL(e)?(e.nodeName||"").toLowerCase():"#document"}function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ro(e){var t;return(t=(SL(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function SL(e){return e instanceof Node||e instanceof tn(e).Node}function bo(e){return e instanceof Element||e instanceof tn(e).Element}function Sa(e){return e instanceof HTMLElement||e instanceof tn(e).HTMLElement}function e4(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tn(e).ShadowRoot}function vh(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=On(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Gq(e){return["table","td","th"].includes(Li(e))}function nE(e){const t=aE(),r=On(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Kq(e){let t=Wc(e);for(;Sa(t)&&!A0(t);){if(nE(t))return t;t=Wc(t)}return null}function aE(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function A0(e){return["html","body","#document"].includes(Li(e))}function On(e){return tn(e).getComputedStyle(e)}function R0(e){return bo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wc(e){if(Li(e)==="html")return e;const t=e.assignedSlot||e.parentNode||e4(e)&&e.host||Ro(e);return e4(t)?t.host:t}function EL(e){const t=Wc(e);return A0(t)?e.ownerDocument?e.ownerDocument.body:e.body:Sa(t)&&vh(t)?t:EL(t)}function Lf(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=EL(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),i=tn(a);return o?t.concat(i,i.visualViewport||[],vh(a)?a:[],i.frameElement&&r?Lf(i.frameElement):[]):t.concat(a,Lf(a,[],r))}function CL(e){const t=On(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=Sa(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,s=Qv(r)!==o||Qv(n)!==i;return s&&(r=o,n=i),{width:r,height:n,$:s}}function oE(e){return bo(e)?e:e.contextElement}function bc(e){const t=oE(e);if(!Sa(t))return Ni(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=CL(t);let i=(o?Qv(r.width):r.width)/n,s=(o?Qv(r.height):r.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const qq=Ni(0);function TL(e){const t=tn(e);return!aE()||!t.visualViewport?qq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yq(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==tn(e)?!1:t}function el(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=oE(e);let i=Ni(1);t&&(n?bo(n)&&(i=bc(n)):i=bc(e));const s=Yq(o,r,n)?TL(o):Ni(0);let l=(a.left+s.x)/i.x,u=(a.top+s.y)/i.y,f=a.width/i.x,c=a.height/i.y;if(o){const d=tn(o),h=n&&bo(n)?tn(n):n;let g=d.frameElement;for(;g&&n&&h!==d;){const m=bc(g),w=g.getBoundingClientRect(),v=On(g),b=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*m.x,_=w.top+(g.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,c*=m.y,l+=b,u+=_,g=tn(g).frameElement}}return em({width:f,height:c,x:l,y:u})}function Xq(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=Sa(r),o=Ro(r);if(r===o)return t;let i={scrollLeft:0,scrollTop:0},s=Ni(1);const l=Ni(0);if((a||!a&&n!=="fixed")&&((Li(r)!=="body"||vh(o))&&(i=R0(r)),Sa(r))){const u=el(r);s=bc(r),l.x=u.x+r.clientLeft,l.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}}function Zq(e){return Array.from(e.getClientRects())}function AL(e){return el(Ro(e)).left+R0(e).scrollLeft}function Qq(e){const t=Ro(e),r=R0(e),n=e.ownerDocument.body,a=Gr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Gr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+AL(e);const s=-r.scrollTop;return On(n).direction==="rtl"&&(i+=Gr(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:s}}function Jq(e,t){const r=tn(e),n=Ro(e),a=r.visualViewport;let o=n.clientWidth,i=n.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const u=aE();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s,y:l}}function eY(e,t){const r=el(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,o=Sa(e)?bc(e):Ni(1),i=e.clientWidth*o.x,s=e.clientHeight*o.y,l=a*o.x,u=n*o.y;return{width:i,height:s,x:l,y:u}}function t4(e,t,r){let n;if(t==="viewport")n=Jq(e,r);else if(t==="document")n=Qq(Ro(e));else if(bo(t))n=eY(t,r);else{const a=TL(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return em(n)}function RL(e,t){const r=Wc(e);return r===t||!bo(r)||A0(r)?!1:On(r).position==="fixed"||RL(r,t)}function tY(e,t){const r=t.get(e);if(r)return r;let n=Lf(e,[],!1).filter(s=>bo(s)&&Li(s)!=="body"),a=null;const o=On(e).position==="fixed";let i=o?Wc(e):e;for(;bo(i)&&!A0(i);){const s=On(i),l=nE(i);!l&&s.position==="fixed"&&(a=null),(o?!l&&!a:!l&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||vh(i)&&!l&&RL(e,i))?n=n.filter(f=>f!==i):a=s,i=Wc(i)}return t.set(e,n),n}function rY(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const i=[...r==="clippingAncestors"?tY(t,this._c):[].concat(r),n],s=i[0],l=i.reduce((u,f)=>{const c=t4(t,f,a);return u.top=Gr(c.top,u.top),u.right=Ii(c.right,u.right),u.bottom=Ii(c.bottom,u.bottom),u.left=Gr(c.left,u.left),u},t4(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function nY(e){return CL(e)}function aY(e,t,r){const n=Sa(t),a=Ro(t),o=r==="fixed",i=el(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=Ni(0);if(n||!n&&!o)if((Li(t)!=="body"||vh(a))&&(s=R0(t)),n){const u=el(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else a&&(l.x=AL(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function r4(e,t){return!Sa(e)||On(e).position==="fixed"?null:t?t(e):e.offsetParent}function kL(e,t){const r=tn(e);if(!Sa(e))return r;let n=r4(e,t);for(;n&&Gq(n)&&On(n).position==="static";)n=r4(n,t);return n&&(Li(n)==="html"||Li(n)==="body"&&On(n).position==="static"&&!nE(n))?r:n||Kq(e)||r}const oY=async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||kL,o=this.getDimensions;return{reference:aY(t,await a(r),n),floating:{x:0,y:0,...await o(r)}}};function iY(e){return On(e).direction==="rtl"}const sY={convertOffsetParentRelativeRectToViewportRelativeRect:Xq,getDocumentElement:Ro,getClippingRect:rY,getOffsetParent:kL,getElementRects:oY,getClientRects:Zq,getDimensions:nY,getScale:bc,isElement:bo,isRTL:iY};function lY(e,t){let r=null,n;const a=Ro(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),o();const{left:u,top:f,width:c,height:d}=e.getBoundingClientRect();if(s||t(),!c||!d)return;const h=jp(f),g=jp(a.clientWidth-(u+c)),m=jp(a.clientHeight-(f+d)),w=jp(u),b={rootMargin:-h+"px "+-g+"px "+-m+"px "+-w+"px",threshold:Gr(0,Ii(1,l))||1};let _=!0;function $(C){const k=C[0].intersectionRatio;if(k!==l){if(!_)return i();k?i(!1,k):n=setTimeout(()=>{i(!1,1e-7)},100)}_=!1}try{r=new IntersectionObserver($,{...b,root:a.ownerDocument})}catch{r=new IntersectionObserver($,b)}r.observe(e)}return i(!0),o}function cY(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=oE(e),f=a||o?[...u?Lf(u):[],...Lf(t)]:[];f.forEach(v=>{a&&v.addEventListener("scroll",r,{passive:!0}),o&&v.addEventListener("resize",r)});const c=u&&s?lY(u,r):null;let d=-1,h=null;i&&(h=new ResizeObserver(v=>{let[b]=v;b&&b.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),u&&!l&&h.observe(u),h.observe(t));let g,m=l?el(e):null;l&&w();function w(){const v=el(e);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&r(),m=v,g=requestAnimationFrame(w)}return r(),()=>{f.forEach(v=>{a&&v.removeEventListener("scroll",r),o&&v.removeEventListener("resize",r)}),c&&c(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const uY=(e,t,r)=>{const n=new Map,a={platform:sY,...r},o={...a.platform,_c:n};return jq(e,t,{...a,platform:o})},dY=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Z3({element:n.current,padding:a}).fn(r):{}:n?Z3({element:n,padding:a}).fn(r):{}}}};var ev=typeof document<"u"?p.useLayoutEffect:p.useEffect;function tm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!tm(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const o=a[n];if(!(o==="_owner"&&e.$$typeof)&&!tm(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function OL(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function n4(e,t){const r=OL(e);return Math.round(t*r)/r}function a4(e){const t=p.useRef(e);return ev(()=>{t.current=e}),t}function fY(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[f,c]=p.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=p.useState(n);tm(d,n)||h(n);const[g,m]=p.useState(null),[w,v]=p.useState(null),b=p.useCallback(F=>{F!=k.current&&(k.current=F,m(F))},[m]),_=p.useCallback(F=>{F!==x.current&&(x.current=F,v(F))},[v]),$=o||g,C=i||w,k=p.useRef(null),x=p.useRef(null),S=p.useRef(f),A=a4(l),O=a4(a),L=p.useCallback(()=>{if(!k.current||!x.current)return;const F={placement:t,strategy:r,middleware:d};O.current&&(F.platform=O.current),uY(k.current,x.current,F).then(B=>{const j={...B,isPositioned:!0};I.current&&!tm(S.current,j)&&(S.current=j,Xi.flushSync(()=>{c(j)}))})},[d,t,r,O]);ev(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,c(F=>({...F,isPositioned:!1})))},[u]);const I=p.useRef(!1);ev(()=>(I.current=!0,()=>{I.current=!1}),[]),ev(()=>{if($&&(k.current=$),C&&(x.current=C),$&&C){if(A.current)return A.current($,C,L);L()}},[$,C,L,A]);const N=p.useMemo(()=>({reference:k,floating:x,setReference:b,setFloating:_}),[b,_]),E=p.useMemo(()=>({reference:$,floating:C}),[$,C]),R=p.useMemo(()=>{const F={position:r,left:0,top:0};if(!E.floating)return F;const B=n4(E.floating,f.x),j=n4(E.floating,f.y);return s?{...F,transform:"translate("+B+"px, "+j+"px)",...OL(E.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:B,top:j}},[r,s,E.floating,f.x,f.y]);return p.useMemo(()=>({...f,update:L,refs:N,elements:E,floatingStyles:R}),[f,L,N,E,R])}function hY(e){const[t,r]=p.useState(void 0);return vo(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let i,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const PL="Popper",[IL,NL]=f0(PL),[pY,LL]=IL(PL),gY=e=>{const{__scopePopper:t,children:r}=e,[n,a]=p.useState(null);return p.createElement(pY,{scope:t,anchor:n,onAnchorChange:a},r)},vY="PopperAnchor",mY=p.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,o=LL(vY,r),i=p.useRef(null),s=In(t,i);return p.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:p.createElement(un.div,te({},a,{ref:s}))}),ML="PopperContent",[yY,Lje]=IL(ML),bY=p.forwardRef((e,t)=>{var r,n,a,o,i,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:d=0,align:h="center",alignOffset:g=0,arrowPadding:m=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:b=0,sticky:_="partial",hideWhenDetached:$=!1,updatePositionStrategy:C="optimized",onPlaced:k,...x}=e,S=LL(ML,f),[A,O]=p.useState(null),L=In(t,at=>O(at)),[I,N]=p.useState(null),E=hY(I),R=(r=E==null?void 0:E.width)!==null&&r!==void 0?r:0,F=(n=E==null?void 0:E.height)!==null&&n!==void 0?n:0,B=c+(h!=="center"?"-"+h:""),j=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},M=Array.isArray(v)?v:[v],D=M.length>0,U={padding:j,boundary:M.filter(wY),altBoundary:D},{refs:V,floatingStyles:G,placement:H,isPositioned:K,middlewareData:Q}=fY({strategy:"fixed",placement:B,whileElementsMounted:(...at)=>cY(...at,{animationFrame:C==="always"}),elements:{reference:S.anchor},middleware:[zq({mainAxis:d+F,alignmentAxis:g}),w&&Vq({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?Wq():void 0,...U}),w&&Fq({...U}),Hq({...U,apply:({elements:at,rects:Wt,availableWidth:Ie,availableHeight:Xe})=>{const{width:vt,height:Br}=Wt.reference,mt=at.floating.style;mt.setProperty("--radix-popper-available-width",`${Ie}px`),mt.setProperty("--radix-popper-available-height",`${Xe}px`),mt.setProperty("--radix-popper-anchor-width",`${vt}px`),mt.setProperty("--radix-popper-anchor-height",`${Br}px`)}}),I&&dY({element:I,padding:m}),_Y({arrowWidth:R,arrowHeight:F}),$&&Bq({strategy:"referenceHidden",...U})]}),[J,de]=DL(H),ve=kr(k);vo(()=>{K&&(ve==null||ve())},[K,ve]);const Le=(a=Q.arrow)===null||a===void 0?void 0:a.x,ue=(o=Q.arrow)===null||o===void 0?void 0:o.y,$e=((i=Q.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ke,Me]=p.useState();return vo(()=>{A&&Me(window.getComputedStyle(A).zIndex)},[A]),p.createElement("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,["--radix-popper-transform-origin"]:[(s=Q.transformOrigin)===null||s===void 0?void 0:s.x,(l=Q.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},p.createElement(yY,{scope:f,placedSide:J,onArrowChange:N,arrowX:Le,arrowY:ue,shouldHideArrow:$e},p.createElement(un.div,te({"data-side":J,"data-align":de},x,{ref:L,style:{...x.style,animation:K?void 0:"none",opacity:(u=Q.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function wY(e){return e!==null}const _Y=e=>({name:"transformOrigin",options:e,fn(t){var r,n,a,o,i;const{placement:s,rects:l,middlewareData:u}=t,c=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[g,m]=DL(s),w={start:"0%",center:"50%",end:"100%"}[m],v=((n=(a=u.arrow)===null||a===void 0?void 0:a.x)!==null&&n!==void 0?n:0)+d/2,b=((o=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&o!==void 0?o:0)+h/2;let _="",$="";return g==="bottom"?(_=c?w:`${v}px`,$=`${-h}px`):g==="top"?(_=c?w:`${v}px`,$=`${l.floating.height+h}px`):g==="right"?(_=`${-h}px`,$=c?w:`${b}px`):g==="left"&&(_=`${l.floating.width+h}px`,$=c?w:`${b}px`),{data:{x:_,y:$}}}});function DL(e){const[t,r="center"]=e.split("-");return[t,r]}const $Y=gY,xY=mY,SY=bY;function EY(e,t){return p.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const vu=e=>{const{present:t,children:r}=e,n=CY(t),a=typeof r=="function"?r({present:n.isPresent}):p.Children.only(r),o=In(n.ref,a.ref);return typeof r=="function"||n.isPresent?p.cloneElement(a,{ref:o}):null};vu.displayName="Presence";function CY(e){const[t,r]=p.useState(),n=p.useRef({}),a=p.useRef(e),o=p.useRef("none"),i=e?"mounted":"unmounted",[s,l]=EY(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Fp(n.current);o.current=s==="mounted"?u:"none"},[s]),vo(()=>{const u=n.current,f=a.current;if(f!==e){const d=o.current,h=Fp(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&d!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),vo(()=>{if(t){const u=c=>{const h=Fp(n.current).includes(c.animationName);c.target===t&&h&&Xi.flushSync(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(o.current=Fp(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:p.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function Fp(e){return(e==null?void 0:e.animationName)||"none"}const TY=p.forwardRef((e,t)=>{const{children:r,...n}=e,a=p.Children.toArray(r),o=a.find(AY);if(o){const i=o.props.children,s=a.map(l=>l===o?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:l);return p.createElement(S$,te({},n,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,s):null)}return p.createElement(S$,te({},n,{ref:t}),r)});TY.displayName="Slot";const S$=p.forwardRef((e,t)=>{const{children:r,...n}=e;return p.isValidElement(r)?p.cloneElement(r,{...RY(n,r.props),ref:t?cS(t,r.ref):r.ref}):p.Children.count(r)>1?p.Children.only(null):null});S$.displayName="SlotClone";const jL=({children:e})=>p.createElement(p.Fragment,null,e);function AY(e){return p.isValidElement(e)&&e.type===jL}function RY(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...s)=>{o(...s),a(...s)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function kY({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=OY({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=kr(r),l=p.useCallback(u=>{if(o){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else a(u)},[o,e,a,s]);return[i,l]}function OY({defaultProp:e,onChange:t}){const r=p.useState(e),[n]=r,a=p.useRef(n),o=kr(t);return p.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}const PY=p.forwardRef((e,t)=>p.createElement(un.span,te({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),IY=PY,[k0,Mje]=f0("Tooltip",[NL]),iE=NL(),NY="TooltipProvider",LY=700,E$="tooltip.open",[MY,sE]=k0(NY),DY=e=>{const{__scopeTooltip:t,delayDuration:r=LY,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,[i,s]=p.useState(!0),l=p.useRef(!1),u=p.useRef(0);return p.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),p.createElement(MY,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(f=>{l.current=f},[]),disableHoverableContent:a},o)},lE="Tooltip",[jY,O0]=k0(lE),FY=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a=!1,onOpenChange:o,disableHoverableContent:i,delayDuration:s}=e,l=sE(lE,e.__scopeTooltip),u=iE(t),[f,c]=p.useState(null),d=Rq(),h=p.useRef(0),g=i??l.disableHoverableContent,m=s??l.delayDuration,w=p.useRef(!1),[v=!1,b]=kY({prop:n,defaultProp:a,onChange:x=>{x?(l.onOpen(),document.dispatchEvent(new CustomEvent(E$))):l.onClose(),o==null||o(x)}}),_=p.useMemo(()=>v?w.current?"delayed-open":"instant-open":"closed",[v]),$=p.useCallback(()=>{window.clearTimeout(h.current),w.current=!1,b(!0)},[b]),C=p.useCallback(()=>{window.clearTimeout(h.current),b(!1)},[b]),k=p.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{w.current=!0,b(!0)},m)},[m,b]);return p.useEffect(()=>()=>window.clearTimeout(h.current),[]),p.createElement($Y,u,p.createElement(jY,{scope:t,contentId:d,open:v,stateAttribute:_,trigger:f,onTriggerChange:c,onTriggerEnter:p.useCallback(()=>{l.isOpenDelayed?k():$()},[l.isOpenDelayed,k,$]),onTriggerLeave:p.useCallback(()=>{g?C():window.clearTimeout(h.current)},[C,g]),onOpen:$,onClose:C,disableHoverableContent:g},r))},o4="TooltipTrigger",BY=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=O0(o4,r),o=sE(o4,r),i=iE(r),s=p.useRef(null),l=In(t,s,a.onTriggerChange),u=p.useRef(!1),f=p.useRef(!1),c=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),p.createElement(xY,te({asChild:!0},i),p.createElement(un.button,te({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},n,{ref:l,onPointerMove:or(e.onPointerMove,d=>{d.pointerType!=="touch"&&!f.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),f.current=!0)}),onPointerLeave:or(e.onPointerLeave,()=>{a.onTriggerLeave(),f.current=!1}),onPointerDown:or(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:or(e.onFocus,()=>{u.current||a.onOpen()}),onBlur:or(e.onBlur,a.onClose),onClick:or(e.onClick,a.onClose)})))}),UY="TooltipPortal",[Dje,zY]=k0(UY,{forceMount:void 0}),Mf="TooltipContent",VY=p.forwardRef((e,t)=>{const r=zY(Mf,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,i=O0(Mf,e.__scopeTooltip);return p.createElement(vu,{present:n||i.open},i.disableHoverableContent?p.createElement(FL,te({side:a},o,{ref:t})):p.createElement(WY,te({side:a},o,{ref:t})))}),WY=p.forwardRef((e,t)=>{const r=O0(Mf,e.__scopeTooltip),n=sE(Mf,e.__scopeTooltip),a=p.useRef(null),o=In(t,a),[i,s]=p.useState(null),{trigger:l,onClose:u}=r,f=a.current,{onPointerInTransitChange:c}=n,d=p.useCallback(()=>{s(null),c(!1)},[c]),h=p.useCallback((g,m)=>{const w=g.currentTarget,v={x:g.clientX,y:g.clientY},b=GY(v,w.getBoundingClientRect()),_=KY(v,b),$=qY(m.getBoundingClientRect()),C=XY([..._,...$]);s(C),c(!0)},[c]);return p.useEffect(()=>()=>d(),[d]),p.useEffect(()=>{if(l&&f){const g=w=>h(w,f),m=w=>h(w,l);return l.addEventListener("pointerleave",g),f.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",m)}}},[l,f,h,d]),p.useEffect(()=>{if(i){const g=m=>{const w=m.target,v={x:m.clientX,y:m.clientY},b=(l==null?void 0:l.contains(w))||(f==null?void 0:f.contains(w)),_=!YY(v,i);b?d():_&&(d(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,f,i,u,d]),p.createElement(FL,te({},e,{ref:o}))}),[HY,jje]=k0(lE,{isInside:!1}),FL=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:i,...s}=e,l=O0(Mf,r),u=iE(r),{onClose:f}=l;return p.useEffect(()=>(document.addEventListener(E$,f),()=>document.removeEventListener(E$,f)),[f]),p.useEffect(()=>{if(l.trigger){const c=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&f()};return window.addEventListener("scroll",c,{capture:!0}),()=>window.removeEventListener("scroll",c,{capture:!0})}},[l.trigger,f]),p.createElement(Sq,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:c=>c.preventDefault(),onDismiss:f},p.createElement(SY,te({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),p.createElement(jL,null,n),p.createElement(HY,{scope:r,isInside:!0},p.createElement(IY,{id:l.contentId,role:"tooltip"},a||n))))});function GY(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function KY(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function qY(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function YY(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,i=t.length-1;on!=f>n&&r<(u-s)*(n-l)/(f-l)+s&&(a=!a)}return a}function XY(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),ZY(t)}function ZY(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const QY=DY,JY=FY,eX=BY,BL=VY;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UL=QY,zL=JY,VL=eX,cE=p.forwardRef(({className:e,sideOffset:t=4,...r},n)=>y(BL,{ref:n,sideOffset:t,className:dl("z-50 overflow-hidden rounded-md border border-slate-100 bg-white px-2 py-[4px] text-sm text-slate-700 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-slate-800 dark:bg-slate-950 dark:text-slate-100",e),...r}));cE.displayName=BL.displayName;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C$="␣",T$=20,WL="dismissStartCardDate",i4="donateDate",s4={colors:["#5D8C7B","#F2D091","#F2A679","#D9695F","#8C4646"],shapes:["square"],ticks:500},HL={foreignFont:48,translateFont:18},tX=Symbol();function rX(e){let t,r;const n={getItem:(a,o)=>{var i,s;const l=f=>{if(f=f||"",t!==f){try{r=JSON.parse(f)}catch{return o}t=f}return r},u=(s=(i=e())==null?void 0:i.getItem(a))!=null?s:null;return u instanceof Promise?u.then(l):l(u)},setItem:(a,o)=>{var i;return(i=e())==null?void 0:i.setItem(a,JSON.stringify(o))},removeItem:a=>{var o;return(o=e())==null?void 0:o.removeItem(a)}};return typeof window<"u"&&typeof window.addEventListener=="function"&&(n.subscribe=(a,o,i)=>{if(!(e()instanceof window.Storage))return()=>{};const s=l=>{if(l.storageArea===e()&&l.key===a){let u;try{u=JSON.parse(l.newValue||"")}catch{u=i}o(u)}};return window.addEventListener("storage",s),()=>{window.removeEventListener("storage",s)}}),n}const nX=rX(()=>typeof window<"u"?window.localStorage:void 0);function Ra(e,t,r=nX){const n=rn(t);return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&(n.debugPrivate=!0),n.onMount=o=>{const i=r.getItem(e,t);i instanceof Promise?i.then(l=>o(l)):o(i);let s;return r.subscribe&&(s=r.subscribe(e,o,t)),s},rn(o=>o(n),(o,i,s)=>{const l=typeof s=="function"?s(o(n)):s;return l===tX?(i(n,t),r.removeItem(e)):(i(n,l),r.setItem(e,l))})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Zi(e,t){const r=Ra(e,t);return r.debugLabel="storageAtom",rn(n=>{const a=n(r);let o;if(typeof a!=typeof t)o=t;else{let s=!1;for(const l in t)if(!(l in a)){s=!0;break}o=s?{...t,...a}:a}if(o!==a){const s=JSON.stringify(o);localStorage.setItem(e,s)}return o},r.write)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class GL{constructor(t,r,n,a,o,i){this.word=t,this.timeStamp=VE(),this.dict=r,this.chapter=n,this.timing=a,this.wrongCount=o,this.mistakes=i}get totalTime(){return this.timing.reduce((t,r)=>t+r,0)}}class KL{constructor(t,r,n,a,o,i,s,l,u){this.dict=t,this.chapter=r,this.timeStamp=VE(),this.time=n,this.correctCount=a,this.wrongCount=o,this.wordCount=i,this.correctWordIndexes=s,this.wordNumber=l,this.wordRecordIds=u}get wpm(){return Math.round(this.wordCount/this.time*60)}get inputAccuracy(){return Math.round((this.correctCount/this.correctCount+this.wrongCount)*100)}get wordAccuracy(){return Math.round(this.correctWordIndexes.length/this.wordNumber*100)}}class qL{constructor(t,r){this.dict=t,this.index=0,this.createTime=VE(),this.words=r,this.isFinished=!1}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function aX(e,t){const r={};for(const n of[e,t])for(const a in n)r[a]?r[a].push(...n[a]):r[a]=[...n[a]];return r}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function l4(e){const t=e==null?0:e.length;if(!t)return[];let r=-1;const n=t-1,a=Array.from(e);for(;++r(e.SETUP_CHAPTER="SETUP_CHAPTER",e.SET_IS_SKIP="SET_IS_SKIP",e.SET_IS_TYPING="SET_IS_TYPING",e.TOGGLE_IS_TYPING="TOGGLE_IS_TYPING",e.REPORT_WRONG_WORD="REPORT_WRONG_WORD",e.REPORT_CORRECT_WORD="REPORT_CORRECT_WORD",e.NEXT_WORD="NEXT_WORD",e.LOOP_CURRENT_WORD="LOOP_CURRENT_WORD",e.FINISH_CHAPTER="FINISH_CHAPTER",e.INCREASE_WRONG_WORD="INCREASE_WRONG_WORD",e.SKIP_WORD="SKIP_WORD",e.SKIP_2_WORD_INDEX="SKIP_2_WORD_INDEX",e.REPEAT_CHAPTER="REPEAT_CHAPTER",e.NEXT_CHAPTER="NEXT_CHAPTER",e.TOGGLE_WORD_VISIBLE="TOGGLE_WORD_VISIBLE",e.TOGGLE_TRANS_VISIBLE="TOGGLE_TRANS_VISIBLE",e.TICK_TIMER="TICK_TIMER",e.ADD_WORD_RECORD_ID="ADD_WORD_RECORD_ID",e.SET_IS_SAVING_RECORD="SET_IS_SAVING_RECORD",e.SET_IS_LOOP_SINGLE_WORD="SET_IS_LOOP_SINGLE_WORD",e.TOGGLE_IS_LOOP_SINGLE_WORD="TOGGLE_IS_LOOP_SINGLE_WORD",e.SET_REVISION_INDEX="SET_REVISION_INDEX",e))(De||{});const oX=(e,t)=>{var r;switch(t.type){case"SETUP_CHAPTER":{const n=structuredClone(tv),a=t.payload.shouldShuffle?l4(t.payload.words):t.payload.words;let o=t.payload.initialIndex??0;return o>=a.length&&(o=0),n.chapterData.index=o,n.chapterData.words=a,n.chapterData.userInputLogs=a.map((i,s)=>({...structuredClone(F1),index:s})),n}case"SET_IS_SKIP":e.isShowSkip=t.payload;break;case"SET_IS_TYPING":e.isTyping=t.payload;break;case"TOGGLE_IS_TYPING":e.isTyping=!e.isTyping;break;case"REPORT_CORRECT_WORD":{e.chapterData.correctCount+=1;const n=e.chapterData.userInputLogs[e.chapterData.index];n.correctCount+=1;break}case"REPORT_WRONG_WORD":{e.chapterData.wrongCount+=1;const n=t.payload.letterMistake,a=e.chapterData.userInputLogs[e.chapterData.index];a.wrongCount+=1,a.LetterMistakes=aX(a.LetterMistakes,n);break}case"NEXT_WORD":{e.chapterData.index+=1,e.chapterData.wordCount+=1,e.isShowSkip=!1,(r=t==null?void 0:t.payload)!=null&&r.updateReviewRecord&&t.payload.updateReviewRecord(e);break}case"LOOP_CURRENT_WORD":e.isShowSkip=!1,e.chapterData.wordCount+=1;break;case"FINISH_CHAPTER":e.chapterData.wordCount+=1,e.isTyping=!1,e.isFinished=!0,e.isShowSkip=!1;break;case"SKIP_WORD":{const n=e.chapterData.index+1;n>=e.chapterData.words.length?(e.isTyping=!1,e.isFinished=!0):e.chapterData.index=n,e.isShowSkip=!1;break}case"SKIP_2_WORD_INDEX":{const n=t.newIndex;n>=e.chapterData.words.length&&(e.isTyping=!1,e.isFinished=!0),e.chapterData.index=n;break}case"REPEAT_CHAPTER":{const n=structuredClone(tv);return n.chapterData.userInputLogs=e.chapterData.words.map((a,o)=>({...structuredClone(F1),index:o})),n.isTyping=!0,n.chapterData.words=t.shouldShuffle?l4(e.chapterData.words):e.chapterData.words,n.isTransVisible=e.isTransVisible,n}case"NEXT_CHAPTER":{const n=structuredClone(tv);return n.chapterData.userInputLogs=e.chapterData.words.map((a,o)=>({...structuredClone(F1),index:o})),n.isTyping=!0,n.isTransVisible=e.isTransVisible,n}case"TOGGLE_TRANS_VISIBLE":e.isTransVisible=!e.isTransVisible;break;case"TICK_TIMER":{const n=t.addTime===void 0?1:t.addTime,a=e.timerData.time+n,o=e.chapterData.correctCount+e.chapterData.wrongCount===0?1:e.chapterData.correctCount+e.chapterData.wrongCount;e.timerData.time=a,e.timerData.accuracy=Math.round(e.chapterData.correctCount/o*100),e.timerData.wpm=Math.round(e.chapterData.wordCount/a*60);break}case"ADD_WORD_RECORD_ID":{e.chapterData.wordRecordIds.push(t.payload);break}case"SET_IS_SAVING_RECORD":{e.isSavingRecord=t.payload;break}case"SET_IS_LOOP_SINGLE_WORD":{e.isLoopSingleWord=t.payload;break}case"TOGGLE_IS_LOOP_SINGLE_WORD":{e.isLoopSingleWord=!e.isLoopSingleWord;break}default:return e}},Sr=p.createContext(null),tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,kt=Object.keys,cr=Array.isArray;function br(e,t){return typeof t!="object"||kt(t).forEach(function(r){e[r]=t[r]}),e}typeof Promise>"u"||tt.Promise||(tt.Promise=Promise);const Df=Object.getPrototypeOf,iX={}.hasOwnProperty;function an(e,t){return iX.call(e,t)}function Hc(e,t){typeof t=="function"&&(t=t(Df(e))),(typeof Reflect>"u"?kt:Reflect.ownKeys)(t).forEach(r=>{oo(e,r,t[r])})}const YL=Object.defineProperty;function oo(e,t,r,n){YL(e,t,br(r&&an(r,"get")&&typeof r.get=="function"?{get:r.get,set:r.set,configurable:!0}:{value:r,configurable:!0,writable:!0},n))}function wc(e){return{from:function(t){return e.prototype=Object.create(t.prototype),oo(e.prototype,"constructor",e),{extend:Hc.bind(null,e.prototype)}}}}const sX=Object.getOwnPropertyDescriptor;function uE(e,t){let r;return sX(e,t)||(r=Df(e))&&uE(r,t)}const lX=[].slice;function rm(e,t,r){return lX.call(e,t,r)}function XL(e,t){return t(e)}function Pd(e){if(!e)throw new Error("Assertion Failed")}function ZL(e){tt.setImmediate?setImmediate(e):setTimeout(e,0)}function QL(e,t){return e.reduce((r,n,a)=>{var o=t(n,a);return o&&(r[o[0]]=o[1]),r},{})}function io(e,t){if(an(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var r=[],n=0,a=t.length;n["Int","Uint","Float"].map(t=>t+e+"Array")))).filter(e=>tt[e]),uX=tM.map(e=>tt[e]);QL(tM,e=>[e,!0]);let ti=null;function mh(e){ti=typeof WeakMap<"u"&&new WeakMap;const t=A$(e);return ti=null,t}function A$(e){if(!e||typeof e!="object")return e;let t=ti&&ti.get(e);if(t)return t;if(cr(e)){t=[],ti&&ti.set(e,t);for(var r=0,n=e.length;r=0)t=e;else{const o=Df(e);for(var a in t=o===Object.prototype?{}:Object.create(o),ti&&ti.set(e,t),e)an(e,a)&&(t[a]=A$(e[a]))}return t}const{toString:dX}={};function R$(e){return dX.call(e).slice(8,-1)}const k$=typeof Symbol<"u"?Symbol.iterator:"@@iterator",fX=typeof k$=="symbol"?function(e){var t;return e!=null&&(t=e[k$])&&t.apply(e)}:function(){return null},Bl={};function Qa(e){var t,r,n,a;if(arguments.length===1){if(cr(e))return e.slice();if(this===Bl&&typeof e=="string")return[e];if(a=fX(e)){for(r=[];!(n=a.next()).done;)r.push(n.value);return r}if(e==null)return[e];if(typeof(t=e.length)=="number"){for(r=new Array(t);t--;)r[t]=e[t];return r}return[e]}for(t=arguments.length,r=new Array(t);t--;)r[t]=arguments[t];return r}const dE=typeof Symbol<"u"?e=>e[Symbol.toStringTag]==="AsyncFunction":()=>!1;var ka=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function rM(e,t){ka=e,nM=t}var nM=()=>!0;const hX=!new Error("").stack;function pl(){if(hX)try{throw pl.arguments,new Error}catch(e){return e}return new Error}function O$(e,t){var r=e.stack;return r?(t=t||0,r.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` `).length),r.split(` `).slice(t).filter(nM).map(n=>` -`+n).join("")):""}var aM=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],fE=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(aM),hX={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function wc(e,t){this._e=pl(),this.name=e,this.message=t}function oM(e,t){return e+". Errors: "+Object.keys(t).map(r=>t[r].toString()).filter((r,n,a)=>a.indexOf(r)===n).join(` -`)}function nm(e,t,r,n){this._e=pl(),this.failures=t,this.failedKeys=n,this.successCount=r,this.message=oM(e,t)}function Zd(e,t){this._e=pl(),this.name="BulkError",this.failures=Object.keys(t).map(r=>t[r]),this.failuresByPos=t,this.message=oM(e,t)}bc(wc).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+k$(this._e,2))}},toString:function(){return this.name+": "+this.message}}),bc(nm).from(wc),bc(Zd).from(wc);var hE=fE.reduce((e,t)=>(e[t]=t+"Error",e),{});const pX=wc;var fe=fE.reduce((e,t)=>{var r=t+"Error";function n(a,o){this._e=pl(),this.name=r,a?typeof a=="string"?(this.message=`${a}${o?` - `+o:""}`,this.inner=o||null):typeof a=="object"&&(this.message=`${a.name} ${a.message}`,this.inner=a):(this.message=hX[t]||r,this.inner=null)}return bc(n).from(pX),e[t]=n,e},{});fe.Syntax=SyntaxError,fe.Type=TypeError,fe.Range=RangeError;var c4=aM.reduce((e,t)=>(e[t+"Error"]=fe[t],e),{}),rv=fE.reduce((e,t)=>(["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=fe[t]),e),{});function Ke(){}function jf(e){return e}function gX(e,t){return e==null||e===jf?t:function(r){return t(e(r))}}function tl(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function vX(e,t){return e===Ke?t:function(){var r=e.apply(this,arguments);r!==void 0&&(arguments[0]=r);var n=this.onsuccess,a=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return n&&(this.onsuccess=this.onsuccess?tl(n,this.onsuccess):n),a&&(this.onerror=this.onerror?tl(a,this.onerror):a),o!==void 0?o:r}}function mX(e,t){return e===Ke?t:function(){e.apply(this,arguments);var r=this.onsuccess,n=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),r&&(this.onsuccess=this.onsuccess?tl(r,this.onsuccess):r),n&&(this.onerror=this.onerror?tl(n,this.onerror):n)}}function yX(e,t){return e===Ke?t:function(r){var n=e.apply(this,arguments);br(r,n);var a=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return a&&(this.onsuccess=this.onsuccess?tl(a,this.onsuccess):a),o&&(this.onerror=this.onerror?tl(o,this.onerror):o),n===void 0?i===void 0?void 0:i:br(n,i)}}function bX(e,t){return e===Ke?t:function(){return t.apply(this,arguments)!==!1&&e.apply(this,arguments)}}function pE(e,t){return e===Ke?t:function(){var r=e.apply(this,arguments);if(r&&typeof r.then=="function"){for(var n=this,a=arguments.length,o=new Array(a);a--;)o[a]=arguments[a];return r.then(function(){return t.apply(n,o)})}return t.apply(this,arguments)}}rv.ModifyError=nm,rv.DexieError=wc,rv.BulkError=Zd;var Ff={};const[P$,am,I$]=typeof Promise>"u"?[]:(()=>{let e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,Df(e),e];const t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,Df(t),e]})(),iM=am&&am.then,nv=P$&&P$.constructor,gE=!!I$;var N$=!1,wX=I$?()=>{I$.then(Bp)}:tt.setImmediate?setImmediate.bind(null,Bp):tt.MutationObserver?()=>{var e=document.createElement("div");new MutationObserver(()=>{Bp(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:()=>{setTimeout(Bp,0)},Qd=function(e,t){Id.push([e,t]),om&&(wX(),om=!1)},L$=!0,om=!0,Fs=[],av=[],M$=null,D$=jf,_c={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:d4,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(e=>{try{d4(e[0],e[1])}catch{}})}},ce=_c,Id=[],Bs=0,ov=[];function ae(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Ke,this._lib=!1;var t=this._PSD=ce;if(Oa&&(this._stackHolder=pl(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Ff)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&F$(this,this._value))}this._state=null,this._value=null,++t.ref,lM(this,e)}const j$={get:function(){var e=ce,t=im;function r(n,a){var o=!e.global&&(e!==ce||t!==im);const i=o&&!bo();var s=new ae((l,u)=>{vE(this,new sM(sm(n,e,o,i),sm(a,e,o,i),l,u,e))});return Oa&&dM(s,this),s}return r.prototype=Ff,r},set:function(e){ao(this,"then",e&&e.prototype===Ff?j$:{get:function(){return e},set:j$.set})}};function sM(e,t,r,n,a){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=r,this.reject=n,this.psd=a}function lM(e,t){try{t(r=>{if(e._state===null){if(r===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&yh();r&&typeof r.then=="function"?lM(e,(a,o)=>{r instanceof ae?r._then(a,o):r.then(a,o)}):(e._state=!0,e._value=r,cM(e)),n&&bh()}},F$.bind(null,e))}catch(r){F$(e,r)}}function F$(e,t){if(av.push(t),e._state===null){var r=e._lib&&yh();t=D$(t),e._state=!1,e._value=t,Oa&&t!==null&&typeof t=="object"&&!t._promise&&function(n,a,o){try{n.apply(null,o)}catch(i){a&&a(i)}}(()=>{var n=uE(t,"stack");t._promise=e,ao(t,"stack",{get:()=>N$?n&&(n.get?n.get.apply(t):n.value):e.stack})}),function(n){Fs.some(a=>a._value===n._value)||Fs.push(n)}(e),cM(e),r&&bh()}}function cM(e){var t=e._listeners;e._listeners=[];for(var r=0,n=t.length;r{--Bs==0&&mE()},[]))}function vE(e,t){if(e._state!==null){var r=e._state?t.onFulfilled:t.onRejected;if(r===null)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++Bs,Qd(_X,[r,e,t])}else e._listeners.push(t)}function _X(e,t,r){try{M$=t;var n,a=t._value;t._state?n=e(a):(av.length&&(av=[]),n=e(a),av.indexOf(a)===-1&&function(o){for(var i=Fs.length;i;)if(Fs[--i]._value===o._value)return void Fs.splice(i,1)}(t)),r.resolve(n)}catch(o){r.reject(o)}finally{M$=null,--Bs==0&&mE(),--r.psd.ref||r.psd.finalize()}}function uM(e,t,r){if(t.length===r)return t;var n="";if(e._state===!1){var a,o,i=e._value;i!=null?(a=i.name||"Error",o=i.message||i,n=k$(i,0)):(a=i,o=""),t.push(a+(o?": "+o:"")+n)}return Oa&&((n=k$(e._stackHolder,2))&&t.indexOf(n)===-1&&t.push(n),e._prev&&uM(e._prev,t,r)),t}function dM(e,t){var r=t?t._numPrev+1:0;r<100&&(e._prev=t,e._numPrev=r)}function Bp(){yh()&&bh()}function yh(){var e=L$;return L$=!1,om=!1,e}function bh(){var e,t,r;do for(;Id.length>0;)for(e=Id,Id=[],r=e.length,t=0;t0);L$=!0,om=!0}function mE(){var e=Fs;Fs=[],e.forEach(n=>{n._PSD.onunhandled.call(null,n._value,n)});for(var t=ov.slice(0),r=t.length;r;)t[--r]()}function Up(e){return new ae(Ff,!1,e)}function ot(e,t){var r=ce;return function(){var n=yh(),a=ce;try{return Di(r,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Di(a,!1),n&&bh()}}}Wc(ae.prototype,{then:j$,_then:function(e,t){vE(this,new sM(null,null,e,t,ce))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],r=arguments[1];return typeof t=="function"?this.then(null,n=>n instanceof t?r(n):Up(n)):this.then(null,n=>n&&n.name===t?r(n):Up(n))},finally:function(e){return this.then(t=>(e(),t),t=>(e(),Up(t)))},stack:{get:function(){if(this._stack)return this._stack;try{N$=!0;var e=uM(this,[],20).join(` -From previous: `);return this._state!==null&&(this._stack=e),e}finally{N$=!1}}},timeout:function(e,t){return e<1/0?new ae((r,n)=>{var a=setTimeout(()=>n(new fe.Timeout(t)),e);this.then(r,n).finally(clearTimeout.bind(null,a))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&ao(ae.prototype,Symbol.toStringTag,"Dexie.Promise"),_c.env=fM(),Wc(ae,{all:function(){var e=Za.apply(null,arguments).map(zp);return new ae(function(t,r){e.length===0&&t([]);var n=e.length;e.forEach((a,o)=>ae.resolve(a).then(i=>{e[o]=i,--n||t(e)},r))})},resolve:e=>{if(e instanceof ae)return e;if(e&&typeof e.then=="function")return new ae((r,n)=>{e.then(r,n)});var t=new ae(Ff,!0,e);return dM(t,M$),t},reject:Up,race:function(){var e=Za.apply(null,arguments).map(zp);return new ae((t,r)=>{e.map(n=>ae.resolve(n).then(t,r))})},PSD:{get:()=>ce,set:e=>ce=e},totalEchoes:{get:()=>im},newPSD:Mi,usePSD:mu,scheduler:{get:()=>Qd,set:e=>{Qd=e}},rejectionMapper:{get:()=>D$,set:e=>{D$=e}},follow:(e,t)=>new ae((r,n)=>Mi((a,o)=>{var i=ce;i.unhandleds=[],i.onunhandled=o,i.finalize=tl(function(){(function(s){function l(){s(),ov.splice(ov.indexOf(l),1)}ov.push(l),++Bs,Qd(()=>{--Bs==0&&mE()},[])})(()=>{this.unhandleds.length===0?a():o(this.unhandleds[0])})},i.finalize),e()},t,r,n))}),nv&&(nv.allSettled&&ao(ae,"allSettled",function(){const e=Za.apply(null,arguments).map(zp);return new ae(t=>{e.length===0&&t([]);let r=e.length;const n=new Array(r);e.forEach((a,o)=>ae.resolve(a).then(i=>n[o]={status:"fulfilled",value:i},i=>n[o]={status:"rejected",reason:i}).then(()=>--r||t(n)))})}),nv.any&&typeof AggregateError<"u"&&ao(ae,"any",function(){const e=Za.apply(null,arguments).map(zp);return new ae((t,r)=>{e.length===0&&r(new AggregateError([]));let n=e.length;const a=new Array(n);e.forEach((o,i)=>ae.resolve(o).then(s=>t(s),s=>{a[i]=s,--n||r(new AggregateError(a))}))})}));const sr={awaits:0,echoes:0,id:0};var $X=0,iv=[],B1=0,im=0,xX=0;function Mi(e,t,r,n){var a=ce,o=Object.create(a);o.parent=a,o.ref=0,o.global=!1,o.id=++xX;var i=_c.env;o.env=gE?{Promise:ae,PromiseProp:{value:ae,configurable:!0,writable:!0},all:ae.all,race:ae.race,allSettled:ae.allSettled,any:ae.any,resolve:ae.resolve,reject:ae.reject,nthen:u4(i.nthen,o),gthen:u4(i.gthen,o)}:{},t&&br(o,t),++a.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=mu(o,e,r,n);return o.ref===0&&o.finalize(),s}function vu(){return sr.id||(sr.id=++$X),++sr.awaits,sr.echoes+=100,sr.id}function bo(){return!!sr.awaits&&(--sr.awaits==0&&(sr.id=0),sr.echoes=100*sr.awaits,!0)}function zp(e){return sr.echoes&&e&&e.constructor===nv?(vu(),e.then(t=>(bo(),t),t=>(bo(),Mt(t)))):e}function SX(e){++im,sr.echoes&&--sr.echoes!=0||(sr.echoes=sr.id=0),iv.push(ce),Di(e,!0)}function EX(){var e=iv[iv.length-1];iv.pop(),Di(e,!1)}function Di(e,t){var r=ce;if((t?!sr.echoes||B1++&&e===ce:!B1||--B1&&e===ce)||hM(t?SX.bind(null,e):EX),e!==ce&&(ce=e,r===_c&&(_c.env=fM()),gE)){var n=_c.env.Promise,a=e.env;am.then=a.nthen,n.prototype.then=a.gthen,(r.global||e.global)&&(Object.defineProperty(tt,"Promise",a.PromiseProp),n.all=a.all,n.race=a.race,n.resolve=a.resolve,n.reject=a.reject,a.allSettled&&(n.allSettled=a.allSettled),a.any&&(n.any=a.any))}}function fM(){var e=tt.Promise;return gE?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(tt,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:am.then,gthen:e.prototype.then}:{}}function mu(e,t,r,n,a){var o=ce;try{return Di(e,!0),t(r,n,a)}finally{Di(o,!1)}}function hM(e){iM.call(P$,e)}function sm(e,t,r,n){return typeof e!="function"?e:function(){var a=ce;r&&vu(),Di(t,!0);try{return e.apply(this,arguments)}finally{Di(a,!1),n&&hM(bo)}}}function u4(e,t){return function(r,n){return e.call(this,sm(r,t),sm(n,t))}}(""+iM).indexOf("[native code]")===-1&&(vu=bo=Ke);function d4(e,t){var r;try{r=t.onuncatched(e)}catch{}if(r!==!1)try{var n,a={promise:t,reason:e};if(tt.document&&document.createEvent?((n=document.createEvent("Event")).initEvent("unhandledrejection",!0,!0),br(n,a)):tt.CustomEvent&&br(n=new CustomEvent("unhandledrejection",{detail:a}),a),n&&tt.dispatchEvent&&(dispatchEvent(n),!tt.PromiseRejectionEvent&&tt.onunhandledrejection))try{tt.onunhandledrejection(n)}catch{}Oa&&n&&n.defaultPrevented}catch{}}var Mt=ae.reject;function B$(e,t,r,n){if(e.idbdb&&(e._state.openComplete||ce.letThrough||e._vip)){var a=e._createTransaction(t,r,e._dbSchema);try{a.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===hE.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then(()=>B$(e,t,r,n))):Mt(o)}return a._promise(t,(o,i)=>Mi(()=>(ce.trans=a,n(o,i,a)))).then(o=>a._completion.then(()=>o))}if(e._state.openComplete)return Mt(new fe.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return Mt(new fe.DatabaseClosed);e.open().catch(Ke)}return e._state.dbReadyPromise.then(()=>B$(e,t,r,n))}const Is=String.fromCharCode(65535),Ba="Invalid key provided. Keys must be of type string, number, Date or Array.",Jd=[],P0=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),CX=P0,TX=P0,pM=e=>!/(dexie\.js|dexie\.min\.js)/.test(e);function rl(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}const gM={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Vp(e){return typeof e!="string"||/\./.test(e)?t=>t:t=>(t[e]===void 0&&e in t&&delete(t=mh(t))[e],t)}class AX{_trans(t,r,n){const a=this._tx||ce.trans,o=this.name;function i(l,u,f){if(!f.schema[o])throw new fe.NotFound("Table "+o+" not part of transaction");return r(f.idbtrans,f)}const s=yh();try{return a&&a.db===this.db?a===ce.trans?a._promise(t,i,n):Mi(()=>a._promise(t,i,n),{trans:a,transless:ce.transless||ce}):B$(this.db,t,[this.name],i)}finally{s&&bh()}}get(t,r){return t&&t.constructor===Object?this.where(t).first(r):this._trans("readonly",n=>this.core.get({trans:n,key:t}).then(a=>this.hook.reading.fire(a))).then(r)}where(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(cr(t))return new this.db.WhereClause(this,`[${t.join("+")}]`);const r=Ot(t);if(r.length===1)return this.where(r[0]).equals(t[r[0]]);const n=this.schema.indexes.concat(this.schema.primKey).filter(u=>u.compound&&r.every(f=>u.keyPath.indexOf(f)>=0)&&u.keyPath.every(f=>r.indexOf(f)>=0))[0];if(n&&this.db._maxKey!==Is)return this.where(n.name).equals(n.keyPath.map(u=>t[u]));const{idxByName:a}=this.schema,o=this.db._deps.indexedDB;function i(u,f){try{return o.cmp(u,f)===0}catch{return!1}}const[s,l]=r.reduce(([u,f],c)=>{const d=a[c],h=t[c];return[u||d,u||!d?rl(f,d&&d.multi?g=>{const m=oo(g,c);return cr(m)&&m.some(w=>i(h,w))}:g=>i(h,oo(g,c))):f]},[null,null]);return s?this.where(s.name).equals(t[s.keyPath]).filter(l):n?this.filter(l):this.where(r).equals("")}filter(t){return this.toCollection().and(t)}count(t){return this.toCollection().count(t)}offset(t){return this.toCollection().offset(t)}limit(t){return this.toCollection().limit(t)}each(t){return this.toCollection().each(t)}toArray(t){return this.toCollection().toArray(t)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(t){return new this.db.Collection(new this.db.WhereClause(this,cr(t)?`[${t.join("+")}]`:t))}reverse(){return this.toCollection().reverse()}mapToClass(t){this.schema.mappedClass=t;const r=n=>{if(!n)return n;const a=Object.create(t.prototype);for(var o in n)if(an(n,o))try{a[o]=n[o]}catch{}return a};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=r,this.hook("reading",r),t}defineClass(){return this.mapToClass(function(t){br(this,t)})}add(t,r){const{auto:n,keyPath:a}=this.schema.primKey;let o=t;return a&&n&&(o=Vp(a)(t)),this._trans("readwrite",i=>this.core.mutate({trans:i,type:"add",keys:r!=null?[r]:null,values:[o]})).then(i=>i.numFailures?ae.reject(i.failures[0]):i.lastResult).then(i=>{if(a)try{aa(t,a,i)}catch{}return i})}update(t,r){if(typeof t!="object"||cr(t))return this.where(":id").equals(t).modify(r);{const n=oo(t,this.schema.primKey.keyPath);if(n===void 0)return Mt(new fe.InvalidArgument("Given object does not contain its primary key"));try{typeof r!="function"?Ot(r).forEach(a=>{aa(t,a,r[a])}):r(t,{value:t,primKey:n})}catch{}return this.where(":id").equals(n).modify(r)}}put(t,r){const{auto:n,keyPath:a}=this.schema.primKey;let o=t;return a&&n&&(o=Vp(a)(t)),this._trans("readwrite",i=>this.core.mutate({trans:i,type:"put",values:[o],keys:r!=null?[r]:null})).then(i=>i.numFailures?ae.reject(i.failures[0]):i.lastResult).then(i=>{if(a)try{aa(t,a,i)}catch{}return i})}delete(t){return this._trans("readwrite",r=>this.core.mutate({trans:r,type:"delete",keys:[t]})).then(r=>r.numFailures?ae.reject(r.failures[0]):void 0)}clear(){return this._trans("readwrite",t=>this.core.mutate({trans:t,type:"deleteRange",range:gM})).then(t=>t.numFailures?ae.reject(t.failures[0]):void 0)}bulkGet(t){return this._trans("readonly",r=>this.core.getMany({keys:t,trans:r}).then(n=>n.map(a=>this.hook.reading.fire(a))))}bulkAdd(t,r,n){const a=Array.isArray(r)?r:void 0,o=(n=n||(a?void 0:r))?n.allKeys:void 0;return this._trans("readwrite",i=>{const{auto:s,keyPath:l}=this.schema.primKey;if(l&&a)throw new fe.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(a&&a.length!==t.length)throw new fe.InvalidArgument("Arguments objects and keys must have the same length");const u=t.length;let f=l&&s?t.map(Vp(l)):t;return this.core.mutate({trans:i,type:"add",keys:a,values:f,wantResults:o}).then(({numFailures:c,results:d,lastResult:h,failures:g})=>{if(c===0)return o?d:h;throw new Zd(`${this.name}.bulkAdd(): ${c} of ${u} operations failed`,g)})})}bulkPut(t,r,n){const a=Array.isArray(r)?r:void 0,o=(n=n||(a?void 0:r))?n.allKeys:void 0;return this._trans("readwrite",i=>{const{auto:s,keyPath:l}=this.schema.primKey;if(l&&a)throw new fe.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(a&&a.length!==t.length)throw new fe.InvalidArgument("Arguments objects and keys must have the same length");const u=t.length;let f=l&&s?t.map(Vp(l)):t;return this.core.mutate({trans:i,type:"put",keys:a,values:f,wantResults:o}).then(({numFailures:c,results:d,lastResult:h,failures:g})=>{if(c===0)return o?d:h;throw new Zd(`${this.name}.bulkPut(): ${c} of ${u} operations failed`,g)})})}bulkDelete(t){const r=t.length;return this._trans("readwrite",n=>this.core.mutate({trans:n,type:"delete",keys:t})).then(({numFailures:n,lastResult:a,failures:o})=>{if(n===0)return a;throw new Zd(`${this.name}.bulkDelete(): ${n} of ${r} operations failed`,o)})}}function ef(e){var t={},r=function(s,l){if(l){for(var u=arguments.length,f=new Array(u-1);--u;)f[u-1]=arguments[u];return t[s].subscribe.apply(null,f),e}if(typeof s=="string")return t[s]};r.addEventType=o;for(var n=1,a=arguments.length;nrl(n(),t()):t,e.justLimit=r&&!n}function sv(e,t){if(e.isPrimKey)return t.primaryKey;const r=t.getIndexByKeyPath(e.index);if(!r)throw new fe.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return r}function f4(e,t,r){const n=sv(e,t.schema);return t.openCursor({trans:r,values:!e.keysOnly,reverse:e.dir==="prev",unique:!!e.unique,query:{index:n,range:e.range}})}function Wp(e,t,r,n){const a=e.replayFilter?rl(e.filter,e.replayFilter()):e.filter;if(e.or){const o={},i=(s,l,u)=>{if(!a||a(l,u,d=>l.stop(d),d=>l.fail(d))){var f=l.primaryKey,c=""+f;c==="[object ArrayBuffer]"&&(c=""+new Uint8Array(f)),an(o,c)||(o[c]=!0,t(s,l,u))}};return Promise.all([e.or._iterate(i,r),h4(f4(e,n,r),e.algorithm,i,!e.keysOnly&&e.valueMapper)])}return h4(f4(e,n,r),rl(e.algorithm,a),t,!e.keysOnly&&e.valueMapper)}function h4(e,t,r,n){var a=ot(n?(o,i,s)=>r(n(o),i,s):r);return e.then(o=>{if(o)return o.start(()=>{var i=()=>o.continue();t&&!t(o,s=>i=s,s=>{o.stop(s),i=Ke},s=>{o.fail(s),i=Ke})||a(o.value,o,s=>i=s),i()})})}function vr(e,t){try{const r=p4(e),n=p4(t);if(r!==n)return r==="Array"?1:n==="Array"?-1:r==="binary"?1:n==="binary"?-1:r==="string"?1:n==="string"?-1:r==="Date"?1:n!=="Date"?NaN:-1;switch(r){case"number":case"Date":case"string":return e>t?1:eWp(r,t,n,r.table.core))}count(t){return this._read(r=>{const n=this._ctx,a=n.table.core;if(Cl(n,!0))return a.count({trans:r,query:{index:sv(n,a.schema),range:n.range}}).then(i=>Math.min(i,n.limit));var o=0;return Wp(n,()=>(++o,!1),r,a).then(()=>o)}).then(t)}sortBy(t,r){const n=t.split(".").reverse(),a=n[0],o=n.length-1;function i(u,f){return f?i(u[n[f]],f-1):u[a]}var s=this._ctx.dir==="next"?1:-1;function l(u,f){var c=i(u,o),d=i(f,o);return cd?s:0}return this.toArray(function(u){return u.sort(l)}).then(r)}toArray(t){return this._read(r=>{var n=this._ctx;if(n.dir==="next"&&Cl(n,!0)&&n.limit>0){const{valueMapper:a}=n,o=sv(n,n.table.core.schema);return n.table.core.query({trans:r,limit:n.limit,values:!0,query:{index:o,range:n.range}}).then(({result:i})=>a?i.map(a):i)}{const a=[];return Wp(n,o=>a.push(o),r,n.table.core).then(()=>a)}},t)}offset(t){var r=this._ctx;return t<=0||(r.offset+=t,Cl(r)?z1(r,()=>{var n=t;return(a,o)=>n===0||(n===1?(--n,!1):(o(()=>{a.advance(n),n=0}),!1))}):z1(r,()=>{var n=t;return()=>--n<0})),this}limit(t){return this._ctx.limit=Math.min(this._ctx.limit,t),z1(this._ctx,()=>{var r=t;return function(n,a,o){return--r<=0&&a(o),r>=0}},!0),this}until(t,r){return U1(this._ctx,function(n,a,o){return!t(n.value)||(a(o),r)}),this}first(t){return this.limit(1).toArray(function(r){return r[0]}).then(t)}last(t){return this.reverse().first(t)}filter(t){var r,n;return U1(this._ctx,function(a){return t(a.value)}),r=this._ctx,n=t,r.isMatch=rl(r.isMatch,n),this}and(t){return this.filter(t)}or(t){return new this.db.WhereClause(this._ctx.table,t,this)}reverse(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(t){var r=this._ctx;return r.keysOnly=!r.isMatch,this.each(function(n,a){t(a.key,a)})}eachUniqueKey(t){return this._ctx.unique="unique",this.eachKey(t)}eachPrimaryKey(t){var r=this._ctx;return r.keysOnly=!r.isMatch,this.each(function(n,a){t(a.primaryKey,a)})}keys(t){var r=this._ctx;r.keysOnly=!r.isMatch;var n=[];return this.each(function(a,o){n.push(o.key)}).then(function(){return n}).then(t)}primaryKeys(t){var r=this._ctx;if(r.dir==="next"&&Cl(r,!0)&&r.limit>0)return this._read(a=>{var o=sv(r,r.table.core.schema);return r.table.core.query({trans:a,values:!1,limit:r.limit,query:{index:o,range:r.range}})}).then(({result:a})=>a).then(t);r.keysOnly=!r.isMatch;var n=[];return this.each(function(a,o){n.push(o.primaryKey)}).then(function(){return n}).then(t)}uniqueKeys(t){return this._ctx.unique="unique",this.keys(t)}firstKey(t){return this.limit(1).keys(function(r){return r[0]}).then(t)}lastKey(t){return this.reverse().firstKey(t)}distinct(){var t=this._ctx,r=t.index&&t.table.schema.idxByName[t.index];if(!r||!r.multi)return this;var n={};return U1(this._ctx,function(a){var o=a.primaryKey.toString(),i=an(n,o);return n[o]=!0,!i}),this}modify(t){var r=this._ctx;return this._write(n=>{var a;if(typeof t=="function")a=t;else{var o=Ot(t),i=o.length;a=function(m){for(var w=!1,v=0;v{const{failures:v,numFailures:b}=w;d+=m-b;for(let _ of Ot(v))c.push(v[_])};return this.clone().primaryKeys().then(m=>{const w=v=>{const b=Math.min(f,m.length-v);return s.getMany({trans:n,keys:m.slice(v,v+b),cache:"immutable"}).then(_=>{const $=[],C=[],O=l?[]:null,x=[];for(let A=0;A0&&s.mutate({trans:n,type:"add",values:$}).then(A=>{for(let k in A.failures)x.splice(parseInt(k),1);g($.length,A)})).then(()=>(C.length>0||S&&typeof t=="object")&&s.mutate({trans:n,type:"put",keys:O,values:C,criteria:S,changeSpec:typeof t!="function"&&t}).then(A=>g(C.length,A))).then(()=>(x.length>0||S&&t===V1)&&s.mutate({trans:n,type:"delete",keys:x,criteria:S}).then(A=>g(x.length,A))).then(()=>m.length>v+b&&w(v+f))})};return w(0).then(()=>{if(c.length>0)throw new nm("Error modifying one or more objects",c,d,h);return m.length})})})}delete(){var t=this._ctx,r=t.range;return Cl(t)&&(t.isPrimKey&&!TX||r.type===3)?this._write(n=>{const{primaryKey:a}=t.table.core.schema,o=r;return t.table.core.count({trans:n,query:{index:a,range:o}}).then(i=>t.table.core.mutate({trans:n,type:"deleteRange",range:o}).then(({failures:s,lastResult:l,results:u,numFailures:f})=>{if(f)throw new nm("Could not delete some values",Object.keys(s).map(c=>s[c]),i-f);return i-f}))}):this.modify(V1)}}const V1=(e,t)=>t.value=null;function OX(e,t){return et?-1:e===t?0:1}function zr(e,t,r){var n=e instanceof mM?new e.Collection(e):e;return n._ctx.error=r?new r(t):new TypeError(t),n}function Tl(e){return new e.Collection(e,()=>vM("")).limit(0)}function PX(e,t,r,n,a,o){for(var i=Math.min(e.length,n.length),s=-1,l=0;l=0?e.substr(0,s)+t[s]+r.substr(s+1):null;a(e[l],u)<0&&(s=l)}return itypeof m=="string"))return zr(e,"String expected.");function d(m){a=function(v){return v==="next"?b=>b.toUpperCase():b=>b.toLowerCase()}(m),o=function(v){return v==="next"?b=>b.toLowerCase():b=>b.toUpperCase()}(m),i=m==="next"?OX:kX;var w=r.map(function(v){return{lower:o(v),upper:a(v)}}).sort(function(v,b){return i(v.lower,b.lower)});s=w.map(function(v){return v.upper}),l=w.map(function(v){return v.lower}),u=m,f=m==="next"?"":n}d("next");var h=new e.Collection(e,()=>Zo(s[0],l[c-1]+n));h._ondirectionchange=function(m){d(m)};var g=0;return h._addAlgorithm(function(m,w,v){var b=m.key;if(typeof b!="string")return!1;var _=o(b);if(t(_,l,g))return!0;for(var $=null,C=g;C0)&&($=O)}return w($!==null?function(){m.continue($+f)}:v),!1}),h}function Zo(e,t,r,n){return{type:2,lower:e,upper:t,lowerOpen:r,upperOpen:n}}function vM(e){return{type:1,lower:e,upper:e}}class mM{get Collection(){return this._ctx.table.db.Collection}between(t,r,n,a){n=n!==!1,a=a===!0;try{return this._cmp(t,r)>0||this._cmp(t,r)===0&&(n||a)&&(!n||!a)?Tl(this):new this.Collection(this,()=>Zo(t,r,!n,!a))}catch{return zr(this,Ba)}}equals(t){return t==null?zr(this,Ba):new this.Collection(this,()=>vM(t))}above(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Zo(t,void 0,!0))}aboveOrEqual(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Zo(t,void 0,!1))}below(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Zo(void 0,t,!1,!0))}belowOrEqual(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Zo(void 0,t))}startsWith(t){return typeof t!="string"?zr(this,"String expected."):this.between(t,t+Is,!0,!0)}startsWithIgnoreCase(t){return t===""?this.startsWith(t):Hp(this,(r,n)=>r.indexOf(n[0])===0,[t],Is)}equalsIgnoreCase(t){return Hp(this,(r,n)=>r===n[0],[t],"")}anyOfIgnoreCase(){var t=Za.apply(Fl,arguments);return t.length===0?Tl(this):Hp(this,(r,n)=>n.indexOf(r)!==-1,t,"")}startsWithAnyOfIgnoreCase(){var t=Za.apply(Fl,arguments);return t.length===0?Tl(this):Hp(this,(r,n)=>n.some(a=>r.indexOf(a)===0),t,Is)}anyOf(){const t=Za.apply(Fl,arguments);let r=this._cmp;try{t.sort(r)}catch{return zr(this,Ba)}if(t.length===0)return Tl(this);const n=new this.Collection(this,()=>Zo(t[0],t[t.length-1]));n._ondirectionchange=o=>{r=o==="next"?this._ascending:this._descending,t.sort(r)};let a=0;return n._addAlgorithm((o,i,s)=>{const l=o.key;for(;r(l,t[a])>0;)if(++a,a===t.length)return i(s),!1;return r(l,t[a])===0||(i(()=>{o.continue(t[a])}),!1)}),n}notEqual(t){return this.inAnyRange([[-(1/0),t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const t=Za.apply(Fl,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return zr(this,Ba)}const r=t.reduce((n,a)=>n?n.concat([[n[n.length-1][1],a]]):[[-(1/0),a]],null);return r.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(r,{includeLowers:!1,includeUppers:!1})}inAnyRange(t,r){const n=this._cmp,a=this._ascending,o=this._descending,i=this._min,s=this._max;if(t.length===0)return Tl(this);if(!t.every(b=>b[0]!==void 0&&b[1]!==void 0&&a(b[0],b[1])<=0))return zr(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",fe.InvalidArgument);const l=!r||r.includeLowers!==!1,u=r&&r.includeUppers===!0;let f,c=a;function d(b,_){return c(b[0],_[0])}try{f=t.reduce(function(b,_){let $=0,C=b.length;for(;$0){O[0]=i(O[0],_[0]),O[1]=s(O[1],_[1]);break}}return $===C&&b.push(_),b},[]),f.sort(d)}catch{return zr(this,Ba)}let h=0;const g=u?b=>a(b,f[h][1])>0:b=>a(b,f[h][1])>=0,m=l?b=>o(b,f[h][0])>0:b=>o(b,f[h][0])>=0;let w=g;const v=new this.Collection(this,()=>Zo(f[0][0],f[f.length-1][1],!l,!u));return v._ondirectionchange=b=>{b==="next"?(w=g,c=a):(w=m,c=o),f.sort(d)},v._addAlgorithm((b,_,$)=>{for(var C=b.key;w(C);)if(++h,h===f.length)return _($),!1;return!!function(O){return!g(O)&&!m(O)}(C)||(this._cmp(C,f[h][1])===0||this._cmp(C,f[h][0])===0||_(()=>{c===a?b.continue(f[h][0]):b.continue(f[h][1])}),!1)}),v}startsWithAnyOf(){const t=Za.apply(Fl,arguments);return t.every(r=>typeof r=="string")?t.length===0?Tl(this):this.inAnyRange(t.map(r=>[r,r+Is])):zr(this,"startsWithAnyOf() only works with strings")}}function pa(e){return ot(function(t){return Bf(t),e(t.target.error),!1})}function Bf(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}const ji=ef(null,"storagemutated");class IX{_lock(){return Pd(!ce.global),++this._reculock,this._reculock!==1||ce.global||(ce.lockOwnerFor=this),this}_unlock(){if(Pd(!ce.global),--this._reculock==0)for(ce.global||(ce.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{mu(t[1],t[0])}catch{}}return this}_locked(){return this._reculock&&ce.lockOwnerFor!==this}create(t){if(!this.mode)return this;const r=this.db.idbdb,n=this.db._state.dbOpenError;if(Pd(!this.idbtrans),!t&&!r)switch(n&&n.name){case"DatabaseClosedError":throw new fe.DatabaseClosed(n);case"MissingAPIError":throw new fe.MissingAPI(n.message,n);default:throw new fe.OpenFailed(n)}if(!this.active)throw new fe.TransactionInactive;return Pd(this._completion._state===null),(t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):r.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=ot(a=>{Bf(a),this._reject(t.error)}),t.onabort=ot(a=>{Bf(a),this.active&&this._reject(new fe.Abort(t.error)),this.active=!1,this.on("abort").fire(a)}),t.oncomplete=ot(()=>{this.active=!1,this._resolve(),"mutatedParts"in t&&ji.storagemutated.fire(t.mutatedParts)}),this}_promise(t,r,n){if(t==="readwrite"&&this.mode!=="readwrite")return Mt(new fe.ReadOnly("Transaction is readonly"));if(!this.active)return Mt(new fe.TransactionInactive);if(this._locked())return new ae((o,i)=>{this._blockedFuncs.push([()=>{this._promise(t,r,n).then(o,i)},ce])});if(n)return Mi(()=>{var o=new ae((i,s)=>{this._lock();const l=r(i,s,this);l&&l.then&&l.then(i,s)});return o.finally(()=>this._unlock()),o._lib=!0,o});var a=new ae((o,i)=>{var s=r(o,i,this);s&&s.then&&s.then(o,i)});return a._lib=!0,a}_root(){return this.parent?this.parent._root():this}waitFor(t){var r=this._root();const n=ae.resolve(t);if(r._waitingFor)r._waitingFor=r._waitingFor.then(()=>n);else{r._waitingFor=n,r._waitingQueue=[];var a=r.idbtrans.objectStore(r.storeNames[0]);(function i(){for(++r._spinCount;r._waitingQueue.length;)r._waitingQueue.shift()();r._waitingFor&&(a.get(-1/0).onsuccess=i)})()}var o=r._waitingFor;return new ae((i,s)=>{n.then(l=>r._waitingQueue.push(ot(i.bind(null,l))),l=>r._waitingQueue.push(ot(s.bind(null,l)))).finally(()=>{r._waitingFor===o&&(r._waitingFor=null)})})}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new fe.Abort))}table(t){const r=this._memoizedTables||(this._memoizedTables={});if(an(r,t))return r[t];const n=this.schema[t];if(!n)throw new fe.NotFound("Table "+t+" not part of transaction");const a=new this.db.Table(t,n,this);return a.core=this.db.core.table(t),r[t]=a,a}}function U$(e,t,r,n,a,o,i){return{name:e,keyPath:t,unique:r,multi:n,auto:a,compound:o,src:(r&&!i?"&":"")+(n?"*":"")+(a?"++":"")+yM(t)}}function yM(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function bM(e,t,r){return{name:e,primKey:t,indexes:r,mappedClass:null,idxByName:QL(r,n=>[n.name,n])}}let Uf=e=>{try{return e.only([[]]),Uf=()=>[[]],[[]]}catch{return Uf=()=>Is,Is}};function z$(e){return e==null?()=>{}:typeof e=="string"?function(t){return t.split(".").length===1?r=>r[t]:r=>oo(r,t)}(e):t=>oo(t,e)}function v4(e){return[].slice.call(e)}let NX=0;function tf(e){return e==null?":id":typeof e=="string"?e:`[${e.join("+")}]`}function LX(e,t,r){function n(l){if(l.type===3)return null;if(l.type===4)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:u,upper:f,lowerOpen:c,upperOpen:d}=l;return u===void 0?f===void 0?null:t.upperBound(f,!!d):f===void 0?t.lowerBound(u,!!c):t.bound(u,f,!!c,!!d)}const{schema:a,hasGetAll:o}=function(l,u){const f=v4(l.objectStoreNames);return{schema:{name:l.name,tables:f.map(c=>u.objectStore(c)).map(c=>{const{keyPath:d,autoIncrement:h}=c,g=cr(d),m=d==null,w={},v={name:c.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:m,compound:g,keyPath:d,autoIncrement:h,unique:!0,extractKey:z$(d)},indexes:v4(c.indexNames).map(b=>c.index(b)).map(b=>{const{name:_,unique:$,multiEntry:C,keyPath:O}=b,x={name:_,compound:cr(O),keyPath:O,unique:$,multiEntry:C,extractKey:z$(O)};return w[tf(O)]=x,x}),getIndexByKeyPath:b=>w[tf(b)]};return w[":id"]=v.primaryKey,d!=null&&(w[tf(d)]=v.primaryKey),v})},hasGetAll:f.length>0&&"getAll"in u.objectStore(f[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,r),i=a.tables.map(l=>function(u){const f=u.name;return{name:f,schema:u,mutate:function({trans:c,type:d,keys:h,values:g,range:m}){return new Promise((w,v)=>{w=ot(w);const b=c.objectStore(f),_=b.keyPath==null,$=d==="put"||d==="add";if(!$&&d!=="delete"&&d!=="deleteRange")throw new Error("Invalid operation type: "+d);const{length:C}=h||g||{length:1};if(h&&g&&h.length!==g.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return w({numFailures:0,failures:{},results:[],lastResult:void 0});let O;const x=[],S=[];let A=0;const k=P=>{++A,Bf(P)};if(d==="deleteRange"){if(m.type===4)return w({numFailures:A,failures:S,results:[],lastResult:void 0});m.type===3?x.push(O=b.clear()):x.push(O=b.delete(n(m)))}else{const[P,N]=$?_?[g,h]:[g,null]:[h,null];if($)for(let E=0;E{const N=P.target.result;x.forEach((E,R)=>E.error!=null&&(S[R]=E.error)),w({numFailures:A,failures:S,results:d==="delete"?h:x.map(E=>E.result),lastResult:N})};O.onerror=P=>{k(P),L(P)},O.onsuccess=L})},getMany:({trans:c,keys:d})=>new Promise((h,g)=>{h=ot(h);const m=c.objectStore(f),w=d.length,v=new Array(w);let b,_=0,$=0;const C=x=>{const S=x.target;v[S._pos]=S.result,++$===_&&h(v)},O=pa(g);for(let x=0;xnew Promise((h,g)=>{h=ot(h);const m=c.objectStore(f).get(d);m.onsuccess=w=>h(w.target.result),m.onerror=pa(g)}),query:function(c){return d=>new Promise((h,g)=>{h=ot(h);const{trans:m,values:w,limit:v,query:b}=d,_=v===1/0?void 0:v,{index:$,range:C}=b,O=m.objectStore(f),x=$.isPrimaryKey?O:O.index($.name),S=n(C);if(v===0)return h({result:[]});if(c){const A=w?x.getAll(S,_):x.getAllKeys(S,_);A.onsuccess=k=>h({result:k.target.result}),A.onerror=pa(g)}else{let A=0;const k=w||!("openKeyCursor"in x)?x.openCursor(S):x.openKeyCursor(S),L=[];k.onsuccess=P=>{const N=k.result;return N?(L.push(w?N.value:N.primaryKey),++A===v?h({result:L}):void N.continue()):h({result:L})},k.onerror=pa(g)}})}(o),openCursor:function({trans:c,values:d,query:h,reverse:g,unique:m}){return new Promise((w,v)=>{w=ot(w);const{index:b,range:_}=h,$=c.objectStore(f),C=b.isPrimaryKey?$:$.index(b.name),O=g?m?"prevunique":"prev":m?"nextunique":"next",x=d||!("openKeyCursor"in C)?C.openCursor(n(_),O):C.openKeyCursor(n(_),O);x.onerror=pa(v),x.onsuccess=ot(S=>{const A=x.result;if(!A)return void w(null);A.___id=++NX,A.done=!1;const k=A.continue.bind(A);let L=A.continuePrimaryKey;L&&(L=L.bind(A));const P=A.advance.bind(A),N=()=>{throw new Error("Cursor not stopped")};A.trans=c,A.stop=A.continue=A.continuePrimaryKey=A.advance=()=>{throw new Error("Cursor not started")},A.fail=ot(v),A.next=function(){let E=1;return this.start(()=>E--?this.continue():this.stop()).then(()=>this)},A.start=E=>{const R=new Promise((B,j)=>{B=ot(B),x.onerror=pa(j),A.fail=j,A.stop=M=>{A.stop=A.continue=A.continuePrimaryKey=A.advance=N,B(M)}}),F=()=>{if(x.result)try{E()}catch(B){A.fail(B)}else A.done=!0,A.start=()=>{throw new Error("Cursor behind last entry")},A.stop()};return x.onsuccess=ot(B=>{x.onsuccess=F,F()}),A.continue=k,A.continuePrimaryKey=L,A.advance=P,F(),R},w(A)},v)})},count({query:c,trans:d}){const{index:h,range:g}=c;return new Promise((m,w)=>{const v=d.objectStore(f),b=h.isPrimaryKey?v:v.index(h.name),_=n(g),$=_?b.count(_):b.count();$.onsuccess=ot(C=>m(C.target.result)),$.onerror=pa(w)})}}}(l)),s={};return i.forEach(l=>s[l.name]=l),{stack:"dbcore",transaction:e.transaction.bind(e),table(l){if(!s[l])throw new Error(`Table '${l}' not found`);return s[l]},MIN_KEY:-1/0,MAX_KEY:Uf(t),schema:a}}function V$({_novip:e},t){const r=t.db,n=function(a,o,{IDBKeyRange:i,indexedDB:s},l){return{dbcore:function(f,c){return c.reduce((d,{create:h})=>({...d,...h(d)}),f)}(LX(o,i,l),a.dbcore)}}(e._middlewares,r,e._deps,t);e.core=n.dbcore,e.tables.forEach(a=>{const o=a.name;e.core.schema.tables.some(i=>i.name===o)&&(a.core=e.core.table(o),e[o]instanceof e.Table&&(e[o].core=a.core))})}function lm({_novip:e},t,r,n){r.forEach(a=>{const o=n[a];t.forEach(i=>{const s=uE(i,a);(!s||"value"in s&&s.value===void 0)&&(i===e.Transaction.prototype||i instanceof e.Transaction?ao(i,a,{get(){return this.table(a)},set(l){YL(this,a,{value:l,writable:!0,configurable:!0,enumerable:!0})}}):i[a]=new e.Table(a,o))})})}function W$({_novip:e},t){t.forEach(r=>{for(let n in r)r[n]instanceof e.Table&&delete r[n]})}function MX(e,t){return e._cfg.version-t._cfg.version}function DX(e,t,r,n){const a=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,a);o.create(r),o._completion.catch(n);const i=o._reject.bind(o),s=ce.transless||ce;Mi(()=>{ce.trans=o,ce.transless=s,t===0?(Ot(a).forEach(l=>{W1(r,l,a[l].primKey,a[l].indexes)}),V$(e,r),ae.follow(()=>e.on.populate.fire(o)).catch(i)):function({_novip:l},u,f,c){const d=[],h=l._versions;let g=l._dbSchema=G$(l,l.idbdb,c),m=!1;function w(){return d.length?ae.resolve(d.shift()(f.idbtrans)).then(w):ae.resolve()}return h.filter(v=>v._cfg.version>=u).forEach(v=>{d.push(()=>{const b=g,_=v._cfg.dbschema;K$(l,b,c),K$(l,_,c),g=l._dbSchema=_;const $=wM(b,_);$.add.forEach(O=>{W1(c,O[0],O[1].primKey,O[1].indexes)}),$.change.forEach(O=>{if(O.recreate)throw new fe.Upgrade("Not yet support for changing primary key");{const x=c.objectStore(O.name);O.add.forEach(S=>H$(x,S)),O.change.forEach(S=>{x.deleteIndex(S.name),H$(x,S)}),O.del.forEach(S=>x.deleteIndex(S))}});const C=v._cfg.contentUpgrade;if(C&&v._cfg.version>u){V$(l,c),f._memoizedTables={},m=!0;let O=JL(_);$.del.forEach(k=>{O[k]=b[k]}),W$(l,[l.Transaction.prototype]),lm(l,[l.Transaction.prototype],Ot(O),O),f.schema=O;const x=dE(C);let S;x&&vu();const A=ae.follow(()=>{if(S=C(f),S&&x){var k=bo.bind(null,null);S.then(k,k)}});return S&&typeof S.then=="function"?ae.resolve(S):A.then(()=>S)}}),d.push(b=>{(!m||!CX)&&function(_,$){[].slice.call($.db.objectStoreNames).forEach(C=>_[C]==null&&$.db.deleteObjectStore(C))}(v._cfg.dbschema,b),W$(l,[l.Transaction.prototype]),lm(l,[l.Transaction.prototype],l._storeNames,l._dbSchema),f.schema=l._dbSchema})}),w().then(()=>{var v,b;b=c,Ot(v=g).forEach(_=>{b.db.objectStoreNames.contains(_)||W1(b,_,v[_].primKey,v[_].indexes)})})}(e,t,o,r).catch(i)})}function wM(e,t){const r={del:[],add:[],change:[]};let n;for(n in e)t[n]||r.del.push(n);for(n in t){const a=e[n],o=t[n];if(a){const i={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(a.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||a.primKey.auto!==o.primKey.auto&&!P0)i.recreate=!0,r.change.push(i);else{const s=a.idxByName,l=o.idxByName;let u;for(u in s)l[u]||i.del.push(u);for(u in l){const f=s[u],c=l[u];f?f.src!==c.src&&i.change.push(c):i.add.push(c)}(i.del.length>0||i.add.length>0||i.change.length>0)&&r.change.push(i)}}else r.add.push([n,o])}return r}function W1(e,t,r,n){const a=e.db.createObjectStore(t,r.keyPath?{keyPath:r.keyPath,autoIncrement:r.auto}:{autoIncrement:r.auto});return n.forEach(o=>H$(a,o)),a}function H$(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function G$(e,t,r){const n={};return rm(t.objectStoreNames,0).forEach(a=>{const o=r.objectStore(a);let i=o.keyPath;const s=U$(yM(i),i||"",!1,!1,!!o.autoIncrement,i&&typeof i!="string",!0),l=[];for(let f=0;f{if(t[n]!==null){var a=t[n].split(",").map((i,s)=>{const l=(i=i.trim()).replace(/([&*]|\+\+)/g,""),u=/^\[/.test(l)?l.match(/^\[(.*)\]$/)[1].split("+"):l;return U$(l,u||null,/\&/.test(i),/\*/.test(i),/\+\+/.test(i),cr(u),s===0)}),o=a.shift();if(o.multi)throw new fe.Schema("Primary key cannot be multi-valued");a.forEach(i=>{if(i.auto)throw new fe.Schema("Only primary key can be marked as autoIncrement (++)");if(!i.keyPath)throw new fe.Schema("Index must have a name and cannot be an empty string")}),r[n]=bM(n,o,a)}})}stores(t){const r=this.db;this._cfg.storesSource=this._cfg.storesSource?br(this._cfg.storesSource,t):t;const n=r._versions,a={};let o={};return n.forEach(i=>{br(a,i._cfg.storesSource),o=i._cfg.dbschema={},i._parseStoresSpec(a,o)}),r._dbSchema=o,W$(r,[r._allTables,r,r.Transaction.prototype]),lm(r,[r._allTables,r,r.Transaction.prototype,this._cfg.tables],Ot(o),o),r._storeNames=Ot(o),this}upgrade(t){return this._cfg.contentUpgrade=pE(this._cfg.contentUpgrade||Ke,t),this}}function yE(e,t){let r=e._dbNamesDB;return r||(r=e._dbNamesDB=new Us("__dbnames",{addons:[],indexedDB:e,IDBKeyRange:t}),r.version(1).stores({dbnames:"name"})),r.table("dbnames")}function bE(e){return e&&typeof e.databases=="function"}function q$(e){return Mi(function(){return ce.letThrough=!0,e()})}function FX(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(t){var r=function(){return indexedDB.databases().finally(t)};e=setInterval(r,100),r()}).finally(function(){return clearInterval(e)}):Promise.resolve()}function BX(e){const t=e._state,{indexedDB:r}=e._deps;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(()=>t.dbOpenError?Mt(t.dbOpenError):e);Oa&&(t.openCanceller._stackHolder=pl()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;const n=t.openCanceller;function a(){if(t.openCanceller!==n)throw new fe.DatabaseClosed("db.open() was cancelled")}let o=t.dbReadyResolve,i=null,s=!1;return ae.race([n,(typeof navigator>"u"?ae.resolve():FX()).then(()=>new ae((l,u)=>{if(a(),!r)throw new fe.MissingAPI;const f=e.name,c=t.autoSchema?r.open(f):r.open(f,Math.round(10*e.verno));if(!c)throw new fe.MissingAPI;c.onerror=pa(u),c.onblocked=ot(e._fireOnBlocked),c.onupgradeneeded=ot(d=>{if(i=c.transaction,t.autoSchema&&!e._options.allowEmptyDB){c.onerror=Bf,i.abort(),c.result.close();const g=r.deleteDatabase(f);g.onsuccess=g.onerror=ot(()=>{u(new fe.NoSuchDatabase(`Database ${f} doesnt exist`))})}else{i.onerror=pa(u);var h=d.oldVersion>Math.pow(2,62)?0:d.oldVersion;s=h<1,e._novip.idbdb=c.result,DX(e,h/10,i,u)}},u),c.onsuccess=ot(()=>{i=null;const d=e._novip.idbdb=c.result,h=rm(d.objectStoreNames);if(h.length>0)try{const m=d.transaction((g=h).length===1?g[0]:g,"readonly");t.autoSchema?function({_novip:w},v,b){w.verno=v.version/10;const _=w._dbSchema=G$(0,v,b);w._storeNames=rm(v.objectStoreNames,0),lm(w,[w._allTables],Ot(_),_)}(e,d,m):(K$(e,e._dbSchema,m),function(w,v){const b=wM(G$(0,w.idbdb,v),w._dbSchema);return!(b.add.length||b.change.some(_=>_.add.length||_.change.length))}(e,m)),V$(e,m)}catch{}var g;Jd.push(e),d.onversionchange=ot(m=>{t.vcFired=!0,e.on("versionchange").fire(m)}),d.onclose=ot(m=>{e.on("close").fire(m)}),s&&function({indexedDB:m,IDBKeyRange:w},v){!bE(m)&&v!=="__dbnames"&&yE(m,w).put({name:v}).catch(Ke)}(e._deps,f),l()},u)}))]).then(()=>(a(),t.onReadyBeingFired=[],ae.resolve(q$(()=>e.on.ready.fire(e.vip))).then(function l(){if(t.onReadyBeingFired.length>0){let u=t.onReadyBeingFired.reduce(pE,Ke);return t.onReadyBeingFired=[],ae.resolve(q$(()=>u(e.vip))).then(l)}}))).finally(()=>{t.onReadyBeingFired=null,t.isBeingOpened=!1}).then(()=>e).catch(l=>{t.dbOpenError=l;try{i&&i.abort()}catch{}return n===t.openCanceller&&e._close(),Mt(l)}).finally(()=>{t.openComplete=!0,o()})}function Y$(e){var t=o=>e.next(o),r=a(t),n=a(o=>e.throw(o));function a(o){return i=>{var s=o(i),l=s.value;return s.done?l:l&&typeof l.then=="function"?l.then(r,n):cr(l)?Promise.all(l).then(r,n):r(l)}}return a(t)()}function UX(e,t,r){var n=arguments.length;if(n<2)throw new fe.InvalidArgument("Too few arguments");for(var a=new Array(n-1);--n;)a[n-1]=arguments[n];r=a.pop();var o=eM(a);return[e,o,r]}function _M(e,t,r,n,a){return ae.resolve().then(()=>{const o=ce.transless||ce,i=e._createTransaction(t,r,e._dbSchema,n),s={trans:i,transless:o};if(n)i.idbtrans=n.idbtrans;else try{i.create(),e._state.PR1398_maxLoop=3}catch(c){return c.name===hE.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then(()=>_M(e,t,r,null,a))):Mt(c)}const l=dE(a);let u;l&&vu();const f=ae.follow(()=>{if(u=a.call(i,i),u)if(l){var c=bo.bind(null,null);u.then(c,c)}else typeof u.next=="function"&&typeof u.throw=="function"&&(u=Y$(u))},s);return(u&&typeof u.then=="function"?ae.resolve(u).then(c=>i.active?c:Mt(new fe.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))):f.then(()=>u)).then(c=>(n&&i._resolve(),i._completion.then(()=>c))).catch(c=>(i._reject(c),Mt(c)))})}function Gp(e,t,r){const n=cr(e)?e.slice():[e];for(let a=0;a0,v={...d,isVirtual:w,keyTail:c,keyLength:m,extractKey:z$(f),unique:!w&&d.unique};return g.push(v),v.isPrimaryKey||o.push(v),m>1&&i(m===2?f[0]:f.slice(0,m-1),c+1,d),g.sort((b,_)=>b.keyTail-_.keyTail),v}const s=i(n.primaryKey.keyPath,0,n.primaryKey);a[":id"]=[s];for(const f of n.indexes)i(f.keyPath,0,f);function l(f){const c=f.query.index;return c.isVirtual?{...f,query:{index:c,range:(d=f.query.range,h=c.keyTail,{type:d.type===1?2:d.type,lower:Gp(d.lower,d.lowerOpen?e.MAX_KEY:e.MIN_KEY,h),lowerOpen:!0,upper:Gp(d.upper,d.upperOpen?e.MIN_KEY:e.MAX_KEY,h),upperOpen:!0})}}:f;var d,h}return{...r,schema:{...n,primaryKey:s,indexes:o,getIndexByKeyPath:function(f){const c=a[tf(f)];return c&&c[0]}},count:f=>r.count(l(f)),query:f=>r.query(l(f)),openCursor(f){const{keyTail:c,isVirtual:d,keyLength:h}=f.query.index;return d?r.openCursor(l(f)).then(g=>g&&function(m){return Object.create(m,{continue:{value:function(v){v!=null?m.continue(Gp(v,f.reverse?e.MAX_KEY:e.MIN_KEY,c)):f.unique?m.continue(m.key.slice(0,h).concat(f.reverse?e.MIN_KEY:e.MAX_KEY,c)):m.continue()}},continuePrimaryKey:{value(v,b){m.continuePrimaryKey(Gp(v,e.MAX_KEY,c),b)}},primaryKey:{get:()=>m.primaryKey},key:{get(){const v=m.key;return h===1?v[0]:v.slice(0,h)}},value:{get:()=>m.value}})}(g)):r.openCursor(f)}}}}}};function wE(e,t,r,n){return r=r||{},n=n||"",Ot(e).forEach(a=>{if(an(t,a)){var o=e[a],i=t[a];if(typeof o=="object"&&typeof i=="object"&&o&&i){const s=R$(o);s!==R$(i)?r[n+a]=t[a]:s==="Object"?wE(o,i,r,n+a+"."):o!==i&&(r[n+a]=t[a])}else o!==i&&(r[n+a]=t[a])}else r[n+a]=void 0}),Ot(t).forEach(a=>{an(e,a)||(r[n+a]=t[a])}),r}const VX={stack:"dbcore",name:"HooksMiddleware",level:2,create:e=>({...e,table(t){const r=e.table(t),{primaryKey:n}=r.schema;return{...r,mutate(o){const i=ce.trans,{deleting:s,creating:l,updating:u}=i.table(t).hook;switch(o.type){case"add":if(l.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"put":if(l.fire===Ke&&u.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"delete":if(s.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"deleteRange":if(s.fire===Ke)break;return i._promise("readwrite",()=>function(d){return c(d.trans,d.range,1e4)}(o),!0)}return r.mutate(o);function f(d){const h=ce.trans,g=d.keys||function(m,w){return w.type==="delete"?w.keys:w.keys||w.values.map(m.extractKey)}(n,d);if(!g)throw new Error("Keys missing");return(d=d.type==="add"||d.type==="put"?{...d,keys:g}:{...d}).type!=="delete"&&(d.values=[...d.values]),d.keys&&(d.keys=[...d.keys]),function(m,w,v){return w.type==="add"?Promise.resolve([]):m.getMany({trans:w.trans,keys:v,cache:"immutable"})}(r,d,g).then(m=>{const w=g.map((v,b)=>{const _=m[b],$={onerror:null,onsuccess:null};if(d.type==="delete")s.fire.call($,v,_,h);else if(d.type==="add"||_===void 0){const C=l.fire.call($,v,d.values[b],h);v==null&&C!=null&&(v=C,d.keys[b]=v,n.outbound||aa(d.values[b],n.keyPath,v))}else{const C=wE(_,d.values[b]),O=u.fire.call($,C,v,_,h);if(O){const x=d.values[b];Object.keys(O).forEach(S=>{an(x,S)?x[S]=O[S]:aa(x,S,O[S])})}}return $});return r.mutate(d).then(({failures:v,results:b,numFailures:_,lastResult:$})=>{for(let C=0;C(w.forEach(b=>b.onerror&&b.onerror(v)),Promise.reject(v)))})}function c(d,h,g){return r.query({trans:d,values:!1,query:{index:n,range:h},limit:g}).then(({result:m})=>f({type:"delete",keys:m,trans:d}).then(w=>w.numFailures>0?Promise.reject(w.failures[0]):m.length({table:t=>{const r=e.table(t);return{...r,getMany:n=>{if(!n.cache)return r.getMany(n);const a=$M(n.keys,n.trans._cache,n.cache==="clone");return a?ae.resolve(a):r.getMany(n).then(o=>(n.trans._cache={keys:n.keys,values:n.cache==="clone"?mh(o):o},o))},mutate:n=>(n.type!=="add"&&(n.trans._cache=null),r.mutate(n))}}})};function _E(e){return!("from"in e)}const Ka=function(e,t){if(!this){const r=new Ka;return e&&"d"in e&&br(r,e),r}br(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function zf(e,t,r){const n=vr(t,r);if(isNaN(n))return;if(n>0)throw RangeError();if(_E(e))return br(e,{from:t,to:r,d:1});const a=e.l,o=e.r;if(vr(r,e.from)<0)return a?zf(a,t,r):e.l={from:t,to:r,d:1,l:null,r:null},m4(e);if(vr(t,e.to)>0)return o?zf(o,t,r):e.r={from:t,to:r,d:1,l:null,r:null},m4(e);vr(t,e.from)<0&&(e.from=t,e.l=null,e.d=o?o.d+1:1),vr(r,e.to)>0&&(e.to=r,e.r=null,e.d=e.l?e.l.d+1:1);const i=!e.r;a&&!e.l&&cm(e,a),o&&i&&cm(e,o)}function cm(e,t){_E(t)||function r(n,{from:a,to:o,l:i,r:s}){zf(n,a,o),i&&r(n,i),s&&r(n,s)}(e,t)}function HX(e,t){const r=X$(t);let n=r.next();if(n.done)return!1;let a=n.value;const o=X$(e);let i=o.next(a.from),s=i.value;for(;!n.done&&!i.done;){if(vr(s.from,a.to)<=0&&vr(s.to,a.from)>=0)return!0;vr(a.from,s.from)<0?a=(n=r.next(s.from)).value:s=(i=o.next(a.from)).value}return!1}function X$(e){let t=_E(e)?null:{s:0,n:e};return{next(r){const n=arguments.length>0;for(;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&vr(r,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||vr(r,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function m4(e){var t,r;const n=(((t=e.r)===null||t===void 0?void 0:t.d)||0)-(((r=e.l)===null||r===void 0?void 0:r.d)||0),a=n>1?"r":n<-1?"l":"";if(a){const o=a==="r"?"l":"r",i={...e},s=e[a];e.from=s.from,e.to=s.to,e[a]=s[a],i[a]=s[o],e[o]=i,i.d=y4(i)}e.d=y4(e)}function y4({r:e,l:t}){return(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}Wc(Ka.prototype,{add(e){return cm(this,e),this},addKey(e){return zf(this,e,e),this},addKeys(e){return e.forEach(t=>zf(this,t,t)),this},[O$](){return X$(this)}});const GX={stack:"dbcore",level:0,create:e=>{const t=e.schema.name,r=new Ka(e.MIN_KEY,e.MAX_KEY);return{...e,table:n=>{const a=e.table(n),{schema:o}=a,{primaryKey:i}=o,{extractKey:s,outbound:l}=i,u={...a,mutate:d=>{const h=d.trans,g=h.mutatedParts||(h.mutatedParts={}),m=O=>{const x=`idb://${t}/${n}/${O}`;return g[x]||(g[x]=new Ka)},w=m(""),v=m(":dels"),{type:b}=d;let[_,$]=d.type==="deleteRange"?[d.range]:d.type==="delete"?[d.keys]:d.values.length<50?[[],d.values]:[];const C=d.trans._cache;return a.mutate(d).then(O=>{if(cr(_)){b!=="delete"&&(_=O.results),w.addKeys(_);const x=$M(_,C);x||b==="add"||v.addKeys(_),(x||$)&&function(S,A,k,L){function P(N){const E=S(N.name||"");function R(B){return B!=null?N.extractKey(B):null}const F=B=>N.multiEntry&&cr(B)?B.forEach(j=>E.addKey(j)):E.addKey(B);(k||L).forEach((B,j)=>{const M=k&&R(k[j]),D=L&&R(L[j]);vr(M,D)!==0&&(M!=null&&F(M),D!=null&&F(D))})}A.indexes.forEach(P)}(m,o,x,$)}else if(_){const x={from:_.lower,to:_.upper};v.add(x),w.add(x)}else w.add(r),v.add(r),o.indexes.forEach(x=>m(x.name).add(r));return O})}},f=({query:{index:d,range:h}})=>{var g,m;return[d,new Ka((g=h.lower)!==null&&g!==void 0?g:e.MIN_KEY,(m=h.upper)!==null&&m!==void 0?m:e.MAX_KEY)]},c={get:d=>[i,new Ka(d.key)],getMany:d=>[i,new Ka().addKeys(d.keys)],count:f,query:f,openCursor:f};return Ot(c).forEach(d=>{u[d]=function(h){const{subscr:g}=ce;if(g){const m=$=>{const C=`idb://${t}/${n}/${$}`;return g[C]||(g[C]=new Ka)},w=m(""),v=m(":dels"),[b,_]=c[d](h);if(m(b.name||"").add(_),!b.isPrimaryKey){if(d!=="count"){const $=d==="query"&&l&&h.values&&a.query({...h,values:!1});return a[d].apply(this,arguments).then(C=>{if(d==="query"){if(l&&h.values)return $.then(({result:x})=>(w.addKeys(x),C));const O=h.values?C.result.map(s):C.result;h.values?w.addKeys(O):v.addKeys(O)}else if(d==="openCursor"){const O=C,x=h.values;return O&&Object.create(O,{key:{get:()=>(v.addKey(O.primaryKey),O.key)},primaryKey:{get(){const S=O.primaryKey;return v.addKey(S),S}},value:{get:()=>(x&&w.addKey(O.primaryKey),O.value)}})}return C})}v.add(r)}}return a[d].apply(this,arguments)}}),u}}}};class Us{constructor(t,r){this._middlewares={},this.verno=0;const n=Us.dependencies;this._options=r={addons:Us.addons,autoOpen:!0,indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange,...r},this._deps={indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange};const{addons:a}=r;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const o={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Ke,dbReadyPromise:null,cancelOpen:Ke,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var i;o.dbReadyPromise=new ae(s=>{o.dbReadyResolve=s}),o.openCanceller=new ae((s,l)=>{o.cancelOpen=l}),this._state=o,this.name=t,this.on=ef(this,"populate","blocked","versionchange","close",{ready:[pE,Ke]}),this.on.ready.subscribe=XL(this.on.ready.subscribe,s=>(l,u)=>{Us.vip(()=>{const f=this._state;if(f.openComplete)f.dbOpenError||ae.resolve().then(l),u&&s(l);else if(f.onReadyBeingFired)f.onReadyBeingFired.push(l),u&&s(l);else{s(l);const c=this;u||s(function d(){c.on.ready.unsubscribe(l),c.on.ready.unsubscribe(d)})}})}),this.Collection=(i=this,ld(RX.prototype,function(s,l){this.db=i;let u=gM,f=null;if(l)try{u=l()}catch(g){f=g}const c=s._ctx,d=c.table,h=d.hook.reading.fire;this._ctx={table:d,index:c.index,isPrimKey:!c.index||d.schema.primKey.keyPath&&c.index===d.schema.primKey.name,range:u,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:f,or:c.or,valueMapper:h!==jf?h:null}})),this.Table=function(s){return ld(AX.prototype,function(l,u,f){this.db=s,this._tx=f,this.name=l,this.schema=u,this.hook=s._allTables[l]?s._allTables[l].hook:ef(null,{creating:[vX,Ke],reading:[gX,jf],updating:[yX,Ke],deleting:[mX,Ke]})})}(this),this.Transaction=function(s){return ld(IX.prototype,function(l,u,f,c,d){this.db=s,this.mode=l,this.storeNames=u,this.schema=f,this.chromeTransactionDurability=c,this.idbtrans=null,this.on=ef(this,"complete","error","abort"),this.parent=d||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new ae((h,g)=>{this._resolve=h,this._reject=g}),this._completion.then(()=>{this.active=!1,this.on.complete.fire()},h=>{var g=this.active;return this.active=!1,this.on.error.fire(h),this.parent?this.parent._reject(h):g&&this.idbtrans&&this.idbtrans.abort(),Mt(h)})})}(this),this.Version=function(s){return ld(jX.prototype,function(l){this.db=s,this._cfg={version:l,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}(this),this.WhereClause=function(s){return ld(mM.prototype,function(l,u,f){this.db=s,this._ctx={table:l,index:u===":id"?null:u,or:f};const c=s._deps.indexedDB;if(!c)throw new fe.MissingAPI;this._cmp=this._ascending=c.cmp.bind(c),this._descending=(d,h)=>c.cmp(h,d),this._max=(d,h)=>c.cmp(d,h)>0?d:h,this._min=(d,h)=>c.cmp(d,h)<0?d:h,this._IDBKeyRange=s._deps.IDBKeyRange})}(this),this.on("versionchange",s=>{s.newVersion>0,this.close()}),this.on("blocked",s=>{!s.newVersion||s.newVersionnew this.Transaction(s,l,u,this._options.chromeTransactionDurability,f),this._fireOnBlocked=s=>{this.on("blocked").fire(s),Jd.filter(l=>l.name===this.name&&l!==this&&!l._state.vcFired).map(l=>l.on("versionchange").fire(s))},this.use(zX),this.use(VX),this.use(GX),this.use(WX),this.vip=Object.create(this,{_vip:{value:!0}}),a.forEach(s=>s(this))}version(t){if(isNaN(t)||t<.1)throw new fe.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new fe.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);const r=this._versions;var n=r.filter(a=>a._cfg.version===t)[0];return n||(n=new this.Version(t),r.push(n),r.sort(MX),n.stores({}),this._state.autoSchema=!1,n)}_whenReady(t){return this.idbdb&&(this._state.openComplete||ce.letThrough||this._vip)?t():new ae((r,n)=>{if(this._state.openComplete)return n(new fe.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void n(new fe.DatabaseClosed);this.open().catch(Ke)}this._state.dbReadyPromise.then(r,n)}).then(t)}use({stack:t,create:r,level:n,name:a}){a&&this.unuse({stack:t,name:a});const o=this._middlewares[t]||(this._middlewares[t]=[]);return o.push({stack:t,create:r,level:n??10,name:a}),o.sort((i,s)=>i.level-s.level),this}unuse({stack:t,name:r,create:n}){return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter(a=>n?a.create!==n:!!r&&a.name!==r)),this}open(){return BX(this)}_close(){const t=this._state,r=Jd.indexOf(this);if(r>=0&&Jd.splice(r,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}t.dbReadyPromise=new ae(n=>{t.dbReadyResolve=n}),t.openCanceller=new ae((n,a)=>{t.cancelOpen=a})}close(){this._close();const t=this._state;this._options.autoOpen=!1,t.dbOpenError=new fe.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)}delete(){const t=arguments.length>0,r=this._state;return new ae((n,a)=>{const o=()=>{this.close();var i=this._deps.indexedDB.deleteDatabase(this.name);i.onsuccess=ot(()=>{(function({indexedDB:s,IDBKeyRange:l},u){!bE(s)&&u!=="__dbnames"&&yE(s,l).delete(u).catch(Ke)})(this._deps,this.name),n()}),i.onerror=pa(a),i.onblocked=this._fireOnBlocked};if(t)throw new fe.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(o):o()})}backendDB(){return this.idbdb}isOpen(){return this.idbdb!==null}hasBeenClosed(){const t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"}hasFailed(){return this._state.dbOpenError!==null}dynamicallyOpened(){return this._state.autoSchema}get tables(){return Ot(this._allTables).map(t=>this._allTables[t])}transaction(){const t=UX.apply(this,arguments);return this._transaction.apply(this,t)}_transaction(t,r,n){let a=ce.trans;a&&a.db===this&&t.indexOf("!")===-1||(a=null);const o=t.indexOf("?")!==-1;let i,s;t=t.replace("!","").replace("?","");try{if(s=r.map(u=>{var f=u instanceof this.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t==="readonly")i="readonly";else{if(t!="rw"&&t!="readwrite")throw new fe.InvalidArgument("Invalid transaction mode: "+t);i="readwrite"}if(a){if(a.mode==="readonly"&&i==="readwrite"){if(!o)throw new fe.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");a=null}a&&s.forEach(u=>{if(a&&a.storeNames.indexOf(u)===-1){if(!o)throw new fe.SubTransaction("Table "+u+" not included in parent transaction.");a=null}}),o&&a&&!a.active&&(a=null)}}catch(u){return a?a._promise(null,(f,c)=>{c(u)}):Mt(u)}const l=_M.bind(null,this,i,s,a,n);return a?a._promise(i,l,"lock"):ce.trans?mu(ce.transless,()=>this._whenReady(l)):this._whenReady(l)}table(t){if(!an(this._allTables,t))throw new fe.InvalidTable(`Table ${t} does not exist`);return this._allTables[t]}}const KX=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable";class qX{constructor(t){this._subscribe=t}subscribe(t,r,n){return this._subscribe(t&&typeof t!="function"?t:{next:t,error:r,complete:n})}[KX](){return this}}function xM(e,t){return Ot(t).forEach(r=>{cm(e[r]||(e[r]=new Ka),t[r])}),e}function YX(e){return new qX(t=>{const r=dE(e);let n=!1,a={},o={};const i={get closed(){return n},unsubscribe:()=>{n=!0,ji.storagemutated.unsubscribe(f)}};t.start&&t.start(i);let s=!1,l=!1;function u(){return Ot(o).some(d=>a[d]&&HX(a[d],o[d]))}const f=d=>{xM(a,d),u()&&c()},c=()=>{if(s||n)return;a={};const d={},h=function(g){r&&vu();const m=()=>Mi(e,{subscr:g,trans:null}),w=ce.trans?mu(ce.transless,m):m();return r&&w.then(bo,bo),w}(d);l||(ji("storagemutated",f),l=!0),s=!0,Promise.resolve(h).then(g=>{s=!1,n||(u()?c():(a={},o=d,t.next&&t.next(g)))},g=>{s=!1,t.error&&t.error(g),i.unsubscribe()})};return c(),i})}let Z$;try{Z$={indexedDB:tt.indexedDB||tt.mozIndexedDB||tt.webkitIndexedDB||tt.msIndexedDB,IDBKeyRange:tt.IDBKeyRange||tt.webkitIDBKeyRange}}catch{Z$={indexedDB:null,IDBKeyRange:null}}const cs=Us;function lv(e){let t=eo;try{eo=!0,ji.storagemutated.fire(e)}finally{eo=t}}Wc(cs,{...rv,delete:e=>new cs(e,{addons:[]}).delete(),exists:e=>new cs(e,{addons:[]}).open().then(t=>(t.close(),!0)).catch("NoSuchDatabaseError",()=>!1),getDatabaseNames(e){try{return function({indexedDB:t,IDBKeyRange:r}){return bE(t)?Promise.resolve(t.databases()).then(n=>n.map(a=>a.name).filter(a=>a!=="__dbnames")):yE(t,r).toCollection().primaryKeys()}(cs.dependencies).then(e)}catch{return Mt(new fe.MissingAPI)}},defineClass:()=>function(e){br(this,e)},ignoreTransaction:e=>ce.trans?mu(ce.transless,e):e(),vip:q$,async:function(e){return function(){try{var t=Y$(e.apply(this,arguments));return t&&typeof t.then=="function"?t:ae.resolve(t)}catch(r){return Mt(r)}}},spawn:function(e,t,r){try{var n=Y$(e.apply(r,t||[]));return n&&typeof n.then=="function"?n:ae.resolve(n)}catch(a){return Mt(a)}},currentTransaction:{get:()=>ce.trans||null},waitFor:function(e,t){const r=ae.resolve(typeof e=="function"?cs.ignoreTransaction(e):e).timeout(t||6e4);return ce.trans?ce.trans.waitFor(r):r},Promise:ae,debug:{get:()=>Oa,set:e=>{rM(e,e==="dexie"?()=>!0:pM)}},derive:bc,extend:br,props:Wc,override:XL,Events:ef,on:ji,liveQuery:YX,extendObservabilitySet:xM,getByKeyPath:oo,setByKeyPath:aa,delByKeyPath:function(e,t){typeof t=="string"?aa(e,t,void 0):"length"in t&&[].map.call(t,function(r){aa(e,r,void 0)})},shallowClone:JL,deepClone:mh,getObjectDiff:wE,cmp:vr,asap:ZL,minKey:-(1/0),addons:[],connections:Jd,errnames:hE,dependencies:Z$,semVer:"3.2.3",version:"3.2.3".split(".").map(e=>parseInt(e)).reduce((e,t,r)=>e+t/Math.pow(10,2*r))}),cs.maxKey=Uf(cs.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(ji("storagemutated",e=>{if(!eo){let t;P0?(t=document.createEvent("CustomEvent"),t.initCustomEvent("x-storagemutated-1",!0,!0,e)):t=new CustomEvent("x-storagemutated-1",{detail:e}),eo=!0,dispatchEvent(t),eo=!1}}),addEventListener("x-storagemutated-1",({detail:e})=>{eo||lv(e)}));let eo=!1;if(typeof BroadcastChannel<"u"){const e=new BroadcastChannel("x-storagemutated-1");typeof e.unref=="function"&&e.unref(),ji("storagemutated",t=>{eo||e.postMessage(t)}),e.onmessage=t=>{t.data&&lv(t.data)}}else if(typeof self<"u"&&typeof navigator<"u"){ji("storagemutated",t=>{try{eo||(typeof localStorage<"u"&&localStorage.setItem("x-storagemutated-1",JSON.stringify({trig:Math.random(),changedParts:t})),typeof self.clients=="object"&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach(r=>r.postMessage({type:"x-storagemutated-1",changedParts:t})))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",t=>{if(t.key==="x-storagemutated-1"){const r=JSON.parse(t.newValue);r&&lv(r.changedParts)}});const e=self.document&&navigator.serviceWorker;e&&e.addEventListener("message",function({data:t}){t&&t.type==="x-storagemutated-1"&&lv(t.changedParts)})}ae.rejectionMapper=function(e,t){if(!e||e instanceof wc||e instanceof TypeError||e instanceof SyntaxError||!e.name||!c4[e.name])return e;var r=new c4[e.name](t||e.message,e);return"stack"in e&&ao(r,"stack",{get:function(){return this.inner.stack}}),r},rM(Oa,pM);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class XX extends Us{constructor(){super("RecordDB"),this.version(1).stores({wordRecords:"++id,word,timeStamp,dict,chapter,errorCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]"}),this.version(2).stores({wordRecords:"++id,word,timeStamp,dict,chapter,wrongCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]"}),this.version(3).stores({wordRecords:"++id,word,timeStamp,dict,chapter,wrongCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]",reviewRecords:"++id,dict,createTime,isFinished"})}}const kt=new XX;kt.wordRecords.mapToClass(GL);kt.chapterRecords.mapToClass(KL);kt.reviewRecords.mapToClass(qL);function ZX(){const e=oe(Nn),t=oe(Qi),r=oe(wh);return p.useCallback(a=>{const{chapterData:{correctCount:o,wrongCount:i,userInputLogs:s,wordCount:l,words:u,wordRecordIds:f},timerData:{time:c}}=a,d=s.filter(g=>g.correctCount>0&&g.wrongCount===0).map(g=>g.index),h=new KL(r,t?-1:e,c,o,i,l,d,u.length,f??[]);kt.chapterRecords.add(h)},[e,r,t])}function QX(){const e=oe(Qi),t=oe(Nn),r=oe(wh),{dispatch:n}=p.useContext(Sr)??{};return p.useCallback(async({word:o,wrongCount:i,letterTimeArray:s,letterMistake:l})=>{const u=[];for(let d=1;d0&&n({type:De.ADD_WORD_RECORD_ID,payload:c}),n({type:De.SET_IS_SAVING_RECORD,payload:!1}))},[t,r,n,e])}function JX(){return{deleteWordRecord:p.useCallback(async(t,r)=>{try{return await kt.wordRecords.where({word:t,dict:r}).delete()}catch{}},[])}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Nje(e){const[t,r]=p.useState(void 0);return p.useEffect(()=>{e&&(async()=>{const a=await eZ(e);r(a)})()},[e]),t}async function eZ(e){const r=(await kt.reviewRecords.where("dict").equals(e).toArray()).sort((n,a)=>n.createTime-a.createTime).pop();return r&&(r.isFinished?void 0:r)}async function Lje(e,t){const r=[...t].sort((u,f)=>u.errorCount-f.errorCount),n=[...t].sort((u,f)=>u.latestErrorTime-f.latestErrorTime),a=t.map(u=>({...u,errorCountScore:r.indexOf(u)+1,latestErrorTimeScore:n.indexOf(u)+1})),o=.6,i=.4,s=a.sort((u,f)=>{const c=u.errorCountScore*o+u.latestErrorTimeScore*i,d=f.errorCountScore*o+f.latestErrorTimeScore*i;return c-d}).map(u=>u.originData),l=new qL(e,s);return await kt.reviewRecords.put(l),l}async function tZ(e){kt.reviewRecords.put(e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function rZ(e){const t=Ra("reviewModeInfo",e);return t.debugLabel="storageAtom",rn(r=>r(t),(r,n,a)=>{var i;const o=typeof a=="function"?a(r(t)):a;(i=o.reviewRecord)!=null&&i.id&&tZ(o.reviewRecord),n(t,o)})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Q$="/qwerty-learner/sounds/",J$=Q$+"key-sound/",nZ=Object.assign({"../../public/sounds/key-sound/Alpacas.mp3":()=>Je(()=>import("./Alpacas-22644f47.js"),[],import.meta.url),"../../public/sounds/key-sound/Buckling Spring.mp3":()=>Je(()=>import("./Buckling Spring-2ef27aab.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Blacks.mp3":()=>Je(()=>import("./Cherry MX Blacks-346ecd94.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Blues.mp3":()=>Je(()=>import("./Cherry MX Blues-40d28f11.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Browns.mp3":()=>Je(()=>import("./Cherry MX Browns-d5c758bb.js"),[],import.meta.url),"../../public/sounds/key-sound/Default.wav":()=>Je(()=>import("./Default-9121092f.js"),[],import.meta.url),"../../public/sounds/key-sound/Gateron Black Inks.mp3":()=>Je(()=>import("./Gateron Black Inks-60ade530.js"),[],import.meta.url),"../../public/sounds/key-sound/Gateron Red Inks.mp3":()=>Je(()=>import("./Gateron Red Inks-d0547f26.js"),[],import.meta.url),"../../public/sounds/key-sound/Holy Pandas.mp3":()=>Je(()=>import("./Holy Pandas-b28a824f.js"),[],import.meta.url),"../../public/sounds/key-sound/Kailh Box Navies.mp3":()=>Je(()=>import("./Kailh Box Navies-f6855634.js"),[],import.meta.url),"../../public/sounds/key-sound/NovelKeys Creams.mp3":()=>Je(()=>import("./NovelKeys Creams-f19f71f3.js"),[],import.meta.url),"../../public/sounds/key-sound/SKCM Blue Alps.mp3":()=>Je(()=>import("./SKCM Blue Alps-db6e3fb5.js"),[],import.meta.url),"../../public/sounds/key-sound/Topre.mp3":()=>Je(()=>import("./Topre-b391b916.js"),[],import.meta.url),"../../public/sounds/key-sound/Turquoise Tealios.mp3":()=>Je(()=>import("./Turquoise Tealios-0503a45d.js"),[],import.meta.url)}),$c=Object.keys(nZ).map(e=>{const t=e.replace(/(.*\/)*([^.]+).*/gi,"$2"),r=e.substring(e.lastIndexOf("."));return{key:t,name:`${t}`,filename:`${t}${r}`}}).sort((e,t)=>e.key==="Default"?-1:t.key==="Default"?1:e.key.localeCompare(t.key)),aZ=[{key:"1",name:"声音1",filename:"beep.wav"}],oZ=[{key:"1",name:"声音1",filename:"correct.wav"}],b4={en:{defaultPronIndex:0,pronunciation:[{name:"美音",pron:"us"},{name:"英音",pron:"uk"}]},code:{defaultPronIndex:0,pronunciation:[{name:"美音",pron:"us"},{name:"英音",pron:"uk"}]},de:{defaultPronIndex:0,pronunciation:[{name:"德语",pron:"de"}]},romaji:{defaultPronIndex:0,pronunciation:[{name:"罗马音",pron:"romaji"}]},hapin:{defaultPronIndex:0,pronunciation:[{name:"哈拼",pron:"hapin"}]},zh:{defaultPronIndex:0,pronunciation:[{name:"普通话",pron:"zh"}]},ja:{defaultPronIndex:0,pronunciation:[{name:"日语",pron:"ja"}]},kk:{defaultPronIndex:0,pronunciation:[{name:"哈萨克语",pron:"kk"}]},id:{defaultPronIndex:0,pronunciation:[{name:"印尼语",pron:"id"}]}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentDictIdAtom",Ra("currentDict","cet4"));wh.debugLabel="currentDictIdAtom";const wr=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentDictInfoAtom",rn(e=>{const t=e(wh);let r=Hf[t];return r||(r=Hf.cet4),r}));wr.debugLabel="currentDictInfoAtom";const Nn=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentChapterAtom",Ra("currentChapter",0));Nn.debugLabel="currentChapterAtom";const SM=Zi("loopWordConfig",{times:1}),Hc=Zi("keySoundsConfig",{isOpen:!0,isOpenClickSound:!0,volume:1,resource:$c[0]}),$E=Zi("hintSoundsConfig",{isOpen:!0,volume:1,isOpenWrongSound:!0,isOpenCorrectSound:!0,wrongResource:aZ[0],correctResource:oZ[0]}),Ro=Zi("pronunciation",{isOpen:!0,volume:1,type:"us",name:"美音",isLoop:!1,isTransRead:!1,transVolume:1,rate:1}),xE=Zi("fontsize",HL),EM=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/pronunciationIsOpenAtom",rn(e=>e(Ro).isOpen));EM.debugLabel="pronunciationIsOpenAtom";const iZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/pronunciationIsTransReadAtom",rn(e=>e(Ro).isTransRead));iZ.debugLabel="pronunciationIsTransReadAtom";const yu=Zi("randomConfig",{isOpen:!1}),SE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowPrevAndNextWordAtom",Ra("isShowPrevAndNextWord",!0));SE.debugLabel="isShowPrevAndNextWordAtom";const EE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isIgnoreCaseAtom",Ra("isIgnoreCase",!0));EE.debugLabel="isIgnoreCaseAtom";const CE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowAnswerOnHoverAtom",Ra("isShowAnswerOnHover",!0));CE.debugLabel="isShowAnswerOnHoverAtom";const _h=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isTextSelectableAtom",Ra("isTextSelectable",!1));_h.debugLabel="isTextSelectableAtom";const $h=rZ({isReviewMode:!1,reviewRecord:void 0}),Qi=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isReviewModeAtom",rn(e=>e($h).isReviewMode));Qi.debugLabel="isReviewModeAtom";const xh=Zi("phoneticConfig",{isOpen:!0,type:"us"}),Sh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isOpenDarkModeAtom",Ra("isOpenDarkModeAtom",window.matchMedia("(prefers-color-scheme: dark)").matches));Sh.debugLabel="isOpenDarkModeAtom";const sZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowSkipAtom",rn(!1));sZ.debugLabel="isShowSkipAtom";const lZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isInDevModeAtom",rn(!1));lZ.debugLabel="isInDevModeAtom";const TE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/infoPanelStateAtom",rn({donate:!1,vsc:!1,community:!1,redBook:!1}));TE.debugLabel="infoPanelStateAtom";const I0=Zi("wordDictationConfig",{isOpen:!1,type:"hideAll",openBy:"auto"}),CM=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/dismissStartCardDateAtom",Ra(WL,null));CM.debugLabel="dismissStartCardDateAtom";var io={DEBUG:!1,LIB_VERSION:"2.47.0"},dt;if(typeof window>"u"){var w4={hostname:""};dt={navigator:{userAgent:""},document:{location:w4,referrer:""},screen:{width:0,height:0},location:w4}}else dt=window;var N0=Array.prototype,cZ=Function.prototype,TM=Object.prototype,ci=N0.slice,Eh=TM.toString,L0=TM.hasOwnProperty,At=dt.console,ui=dt.navigator,qe=dt.document,Kp=dt.opera,um=dt.screen,ga=ui.userAgent,H1=cZ.bind,_4=N0.forEach,$4=N0.indexOf,x4=N0.map,uZ=Array.isArray,e2={},T={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Ge={log:function(){if(io.DEBUG&&!T.isUndefined(At)&&At)try{At.log.apply(At,arguments)}catch{T.each(arguments,function(t){At.log(t)})}},warn:function(){if(io.DEBUG&&!T.isUndefined(At)&&At){var e=["Mixpanel warning:"].concat(T.toArray(arguments));try{At.warn.apply(At,e)}catch{T.each(e,function(r){At.warn(r)})}}},error:function(){if(io.DEBUG&&!T.isUndefined(At)&&At){var e=["Mixpanel error:"].concat(T.toArray(arguments));try{At.error.apply(At,e)}catch{T.each(e,function(r){At.error(r)})}}},critical:function(){if(!T.isUndefined(At)&&At){var e=["Mixpanel error:"].concat(T.toArray(arguments));try{At.error.apply(At,e)}catch{T.each(e,function(r){At.error(r)})}}}},G1=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Ge,arguments)}},AE=function(e){return{log:G1(Ge.log,e),error:G1(Ge.error,e),critical:G1(Ge.critical,e)}};T.bind=function(e,t){var r,n;if(H1&&e.bind===H1)return H1.apply(e,ci.call(arguments,1));if(!T.isFunction(e))throw new TypeError;return r=ci.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(ci.call(arguments)));var a={};a.prototype=e.prototype;var o=new a;a.prototype=null;var i=e.apply(o,r.concat(ci.call(arguments)));return Object(i)===i?i:o},n};T.each=function(e,t,r){if(e!=null){if(_4&&e.forEach===_4)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,a=e.length;n0&&(t[n]=r)}),t};T.truncate=function(e,t){var r;return typeof e=="string"?r=e.slice(0,t):T.isArray(e)?(r=[],T.each(e,function(n){r.push(T.truncate(n,t))})):T.isObject(e)?(r={},T.each(e,function(n,a){r[a]=T.truncate(n,t)})):r=e,r};T.JSONEncode=function(){return function(e){var t=e,r=function(a){var o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(a)?'"'+a.replace(o,function(s){var l=i[s];return typeof l=="string"?l:"\\u"+("0000"+s.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},n=function(a,o){var i="",s=" ",l=0,u="",f="",c=0,d=i,h=[],g=o[a];switch(g&&typeof g=="object"&&typeof g.toJSON=="function"&&(g=g.toJSON(a)),typeof g){case"string":return r(g);case"number":return isFinite(g)?String(g):"null";case"boolean":case"null":return String(g);case"object":if(!g)return"null";if(i+=s,h=[],Eh.apply(g)==="[object Array]"){for(c=g.length,l=0;lt[r].toString()).filter((r,n,a)=>a.indexOf(r)===n).join(` +`)}function nm(e,t,r,n){this._e=pl(),this.failures=t,this.failedKeys=n,this.successCount=r,this.message=oM(e,t)}function Zd(e,t){this._e=pl(),this.name="BulkError",this.failures=Object.keys(t).map(r=>t[r]),this.failuresByPos=t,this.message=oM(e,t)}wc(_c).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+O$(this._e,2))}},toString:function(){return this.name+": "+this.message}}),wc(nm).from(_c),wc(Zd).from(_c);var hE=fE.reduce((e,t)=>(e[t]=t+"Error",e),{});const gX=_c;var fe=fE.reduce((e,t)=>{var r=t+"Error";function n(a,o){this._e=pl(),this.name=r,a?typeof a=="string"?(this.message=`${a}${o?` + `+o:""}`,this.inner=o||null):typeof a=="object"&&(this.message=`${a.name} ${a.message}`,this.inner=a):(this.message=pX[t]||r,this.inner=null)}return wc(n).from(gX),e[t]=n,e},{});fe.Syntax=SyntaxError,fe.Type=TypeError,fe.Range=RangeError;var c4=aM.reduce((e,t)=>(e[t+"Error"]=fe[t],e),{}),rv=fE.reduce((e,t)=>(["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=fe[t]),e),{});function Ke(){}function jf(e){return e}function vX(e,t){return e==null||e===jf?t:function(r){return t(e(r))}}function tl(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function mX(e,t){return e===Ke?t:function(){var r=e.apply(this,arguments);r!==void 0&&(arguments[0]=r);var n=this.onsuccess,a=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return n&&(this.onsuccess=this.onsuccess?tl(n,this.onsuccess):n),a&&(this.onerror=this.onerror?tl(a,this.onerror):a),o!==void 0?o:r}}function yX(e,t){return e===Ke?t:function(){e.apply(this,arguments);var r=this.onsuccess,n=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),r&&(this.onsuccess=this.onsuccess?tl(r,this.onsuccess):r),n&&(this.onerror=this.onerror?tl(n,this.onerror):n)}}function bX(e,t){return e===Ke?t:function(r){var n=e.apply(this,arguments);br(r,n);var a=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return a&&(this.onsuccess=this.onsuccess?tl(a,this.onsuccess):a),o&&(this.onerror=this.onerror?tl(o,this.onerror):o),n===void 0?i===void 0?void 0:i:br(n,i)}}function wX(e,t){return e===Ke?t:function(){return t.apply(this,arguments)!==!1&&e.apply(this,arguments)}}function pE(e,t){return e===Ke?t:function(){var r=e.apply(this,arguments);if(r&&typeof r.then=="function"){for(var n=this,a=arguments.length,o=new Array(a);a--;)o[a]=arguments[a];return r.then(function(){return t.apply(n,o)})}return t.apply(this,arguments)}}rv.ModifyError=nm,rv.DexieError=_c,rv.BulkError=Zd;var Ff={};const[P$,am,I$]=typeof Promise>"u"?[]:(()=>{let e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,Df(e),e];const t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,Df(t),e]})(),iM=am&&am.then,nv=P$&&P$.constructor,gE=!!I$;var N$=!1,_X=I$?()=>{I$.then(Bp)}:tt.setImmediate?setImmediate.bind(null,Bp):tt.MutationObserver?()=>{var e=document.createElement("div");new MutationObserver(()=>{Bp(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:()=>{setTimeout(Bp,0)},Qd=function(e,t){Id.push([e,t]),om&&(_X(),om=!1)},L$=!0,om=!0,Fs=[],av=[],M$=null,D$=jf,$c={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:d4,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(e=>{try{d4(e[0],e[1])}catch{}})}},ce=$c,Id=[],Bs=0,ov=[];function ae(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Ke,this._lib=!1;var t=this._PSD=ce;if(ka&&(this._stackHolder=pl(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Ff)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&F$(this,this._value))}this._state=null,this._value=null,++t.ref,lM(this,e)}const j$={get:function(){var e=ce,t=im;function r(n,a){var o=!e.global&&(e!==ce||t!==im);const i=o&&!wo();var s=new ae((l,u)=>{vE(this,new sM(sm(n,e,o,i),sm(a,e,o,i),l,u,e))});return ka&&dM(s,this),s}return r.prototype=Ff,r},set:function(e){oo(this,"then",e&&e.prototype===Ff?j$:{get:function(){return e},set:j$.set})}};function sM(e,t,r,n,a){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=r,this.reject=n,this.psd=a}function lM(e,t){try{t(r=>{if(e._state===null){if(r===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&yh();r&&typeof r.then=="function"?lM(e,(a,o)=>{r instanceof ae?r._then(a,o):r.then(a,o)}):(e._state=!0,e._value=r,cM(e)),n&&bh()}},F$.bind(null,e))}catch(r){F$(e,r)}}function F$(e,t){if(av.push(t),e._state===null){var r=e._lib&&yh();t=D$(t),e._state=!1,e._value=t,ka&&t!==null&&typeof t=="object"&&!t._promise&&function(n,a,o){try{n.apply(null,o)}catch(i){a&&a(i)}}(()=>{var n=uE(t,"stack");t._promise=e,oo(t,"stack",{get:()=>N$?n&&(n.get?n.get.apply(t):n.value):e.stack})}),function(n){Fs.some(a=>a._value===n._value)||Fs.push(n)}(e),cM(e),r&&bh()}}function cM(e){var t=e._listeners;e._listeners=[];for(var r=0,n=t.length;r{--Bs==0&&mE()},[]))}function vE(e,t){if(e._state!==null){var r=e._state?t.onFulfilled:t.onRejected;if(r===null)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++Bs,Qd($X,[r,e,t])}else e._listeners.push(t)}function $X(e,t,r){try{M$=t;var n,a=t._value;t._state?n=e(a):(av.length&&(av=[]),n=e(a),av.indexOf(a)===-1&&function(o){for(var i=Fs.length;i;)if(Fs[--i]._value===o._value)return void Fs.splice(i,1)}(t)),r.resolve(n)}catch(o){r.reject(o)}finally{M$=null,--Bs==0&&mE(),--r.psd.ref||r.psd.finalize()}}function uM(e,t,r){if(t.length===r)return t;var n="";if(e._state===!1){var a,o,i=e._value;i!=null?(a=i.name||"Error",o=i.message||i,n=O$(i,0)):(a=i,o=""),t.push(a+(o?": "+o:"")+n)}return ka&&((n=O$(e._stackHolder,2))&&t.indexOf(n)===-1&&t.push(n),e._prev&&uM(e._prev,t,r)),t}function dM(e,t){var r=t?t._numPrev+1:0;r<100&&(e._prev=t,e._numPrev=r)}function Bp(){yh()&&bh()}function yh(){var e=L$;return L$=!1,om=!1,e}function bh(){var e,t,r;do for(;Id.length>0;)for(e=Id,Id=[],r=e.length,t=0;t0);L$=!0,om=!0}function mE(){var e=Fs;Fs=[],e.forEach(n=>{n._PSD.onunhandled.call(null,n._value,n)});for(var t=ov.slice(0),r=t.length;r;)t[--r]()}function Up(e){return new ae(Ff,!1,e)}function ot(e,t){var r=ce;return function(){var n=yh(),a=ce;try{return Di(r,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Di(a,!1),n&&bh()}}}Hc(ae.prototype,{then:j$,_then:function(e,t){vE(this,new sM(null,null,e,t,ce))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],r=arguments[1];return typeof t=="function"?this.then(null,n=>n instanceof t?r(n):Up(n)):this.then(null,n=>n&&n.name===t?r(n):Up(n))},finally:function(e){return this.then(t=>(e(),t),t=>(e(),Up(t)))},stack:{get:function(){if(this._stack)return this._stack;try{N$=!0;var e=uM(this,[],20).join(` +From previous: `);return this._state!==null&&(this._stack=e),e}finally{N$=!1}}},timeout:function(e,t){return e<1/0?new ae((r,n)=>{var a=setTimeout(()=>n(new fe.Timeout(t)),e);this.then(r,n).finally(clearTimeout.bind(null,a))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&oo(ae.prototype,Symbol.toStringTag,"Dexie.Promise"),$c.env=fM(),Hc(ae,{all:function(){var e=Qa.apply(null,arguments).map(zp);return new ae(function(t,r){e.length===0&&t([]);var n=e.length;e.forEach((a,o)=>ae.resolve(a).then(i=>{e[o]=i,--n||t(e)},r))})},resolve:e=>{if(e instanceof ae)return e;if(e&&typeof e.then=="function")return new ae((r,n)=>{e.then(r,n)});var t=new ae(Ff,!0,e);return dM(t,M$),t},reject:Up,race:function(){var e=Qa.apply(null,arguments).map(zp);return new ae((t,r)=>{e.map(n=>ae.resolve(n).then(t,r))})},PSD:{get:()=>ce,set:e=>ce=e},totalEchoes:{get:()=>im},newPSD:Mi,usePSD:yu,scheduler:{get:()=>Qd,set:e=>{Qd=e}},rejectionMapper:{get:()=>D$,set:e=>{D$=e}},follow:(e,t)=>new ae((r,n)=>Mi((a,o)=>{var i=ce;i.unhandleds=[],i.onunhandled=o,i.finalize=tl(function(){(function(s){function l(){s(),ov.splice(ov.indexOf(l),1)}ov.push(l),++Bs,Qd(()=>{--Bs==0&&mE()},[])})(()=>{this.unhandleds.length===0?a():o(this.unhandleds[0])})},i.finalize),e()},t,r,n))}),nv&&(nv.allSettled&&oo(ae,"allSettled",function(){const e=Qa.apply(null,arguments).map(zp);return new ae(t=>{e.length===0&&t([]);let r=e.length;const n=new Array(r);e.forEach((a,o)=>ae.resolve(a).then(i=>n[o]={status:"fulfilled",value:i},i=>n[o]={status:"rejected",reason:i}).then(()=>--r||t(n)))})}),nv.any&&typeof AggregateError<"u"&&oo(ae,"any",function(){const e=Qa.apply(null,arguments).map(zp);return new ae((t,r)=>{e.length===0&&r(new AggregateError([]));let n=e.length;const a=new Array(n);e.forEach((o,i)=>ae.resolve(o).then(s=>t(s),s=>{a[i]=s,--n||r(new AggregateError(a))}))})}));const sr={awaits:0,echoes:0,id:0};var xX=0,iv=[],B1=0,im=0,SX=0;function Mi(e,t,r,n){var a=ce,o=Object.create(a);o.parent=a,o.ref=0,o.global=!1,o.id=++SX;var i=$c.env;o.env=gE?{Promise:ae,PromiseProp:{value:ae,configurable:!0,writable:!0},all:ae.all,race:ae.race,allSettled:ae.allSettled,any:ae.any,resolve:ae.resolve,reject:ae.reject,nthen:u4(i.nthen,o),gthen:u4(i.gthen,o)}:{},t&&br(o,t),++a.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=yu(o,e,r,n);return o.ref===0&&o.finalize(),s}function mu(){return sr.id||(sr.id=++xX),++sr.awaits,sr.echoes+=100,sr.id}function wo(){return!!sr.awaits&&(--sr.awaits==0&&(sr.id=0),sr.echoes=100*sr.awaits,!0)}function zp(e){return sr.echoes&&e&&e.constructor===nv?(mu(),e.then(t=>(wo(),t),t=>(wo(),Mt(t)))):e}function EX(e){++im,sr.echoes&&--sr.echoes!=0||(sr.echoes=sr.id=0),iv.push(ce),Di(e,!0)}function CX(){var e=iv[iv.length-1];iv.pop(),Di(e,!1)}function Di(e,t){var r=ce;if((t?!sr.echoes||B1++&&e===ce:!B1||--B1&&e===ce)||hM(t?EX.bind(null,e):CX),e!==ce&&(ce=e,r===$c&&($c.env=fM()),gE)){var n=$c.env.Promise,a=e.env;am.then=a.nthen,n.prototype.then=a.gthen,(r.global||e.global)&&(Object.defineProperty(tt,"Promise",a.PromiseProp),n.all=a.all,n.race=a.race,n.resolve=a.resolve,n.reject=a.reject,a.allSettled&&(n.allSettled=a.allSettled),a.any&&(n.any=a.any))}}function fM(){var e=tt.Promise;return gE?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(tt,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:am.then,gthen:e.prototype.then}:{}}function yu(e,t,r,n,a){var o=ce;try{return Di(e,!0),t(r,n,a)}finally{Di(o,!1)}}function hM(e){iM.call(P$,e)}function sm(e,t,r,n){return typeof e!="function"?e:function(){var a=ce;r&&mu(),Di(t,!0);try{return e.apply(this,arguments)}finally{Di(a,!1),n&&hM(wo)}}}function u4(e,t){return function(r,n){return e.call(this,sm(r,t),sm(n,t))}}(""+iM).indexOf("[native code]")===-1&&(mu=wo=Ke);function d4(e,t){var r;try{r=t.onuncatched(e)}catch{}if(r!==!1)try{var n,a={promise:t,reason:e};if(tt.document&&document.createEvent?((n=document.createEvent("Event")).initEvent("unhandledrejection",!0,!0),br(n,a)):tt.CustomEvent&&br(n=new CustomEvent("unhandledrejection",{detail:a}),a),n&&tt.dispatchEvent&&(dispatchEvent(n),!tt.PromiseRejectionEvent&&tt.onunhandledrejection))try{tt.onunhandledrejection(n)}catch{}ka&&n&&n.defaultPrevented}catch{}}var Mt=ae.reject;function B$(e,t,r,n){if(e.idbdb&&(e._state.openComplete||ce.letThrough||e._vip)){var a=e._createTransaction(t,r,e._dbSchema);try{a.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===hE.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then(()=>B$(e,t,r,n))):Mt(o)}return a._promise(t,(o,i)=>Mi(()=>(ce.trans=a,n(o,i,a)))).then(o=>a._completion.then(()=>o))}if(e._state.openComplete)return Mt(new fe.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return Mt(new fe.DatabaseClosed);e.open().catch(Ke)}return e._state.dbReadyPromise.then(()=>B$(e,t,r,n))}const Is=String.fromCharCode(65535),Ba="Invalid key provided. Keys must be of type string, number, Date or Array.",Jd=[],P0=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),TX=P0,AX=P0,pM=e=>!/(dexie\.js|dexie\.min\.js)/.test(e);function rl(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}const gM={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Vp(e){return typeof e!="string"||/\./.test(e)?t=>t:t=>(t[e]===void 0&&e in t&&delete(t=mh(t))[e],t)}class RX{_trans(t,r,n){const a=this._tx||ce.trans,o=this.name;function i(l,u,f){if(!f.schema[o])throw new fe.NotFound("Table "+o+" not part of transaction");return r(f.idbtrans,f)}const s=yh();try{return a&&a.db===this.db?a===ce.trans?a._promise(t,i,n):Mi(()=>a._promise(t,i,n),{trans:a,transless:ce.transless||ce}):B$(this.db,t,[this.name],i)}finally{s&&bh()}}get(t,r){return t&&t.constructor===Object?this.where(t).first(r):this._trans("readonly",n=>this.core.get({trans:n,key:t}).then(a=>this.hook.reading.fire(a))).then(r)}where(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(cr(t))return new this.db.WhereClause(this,`[${t.join("+")}]`);const r=kt(t);if(r.length===1)return this.where(r[0]).equals(t[r[0]]);const n=this.schema.indexes.concat(this.schema.primKey).filter(u=>u.compound&&r.every(f=>u.keyPath.indexOf(f)>=0)&&u.keyPath.every(f=>r.indexOf(f)>=0))[0];if(n&&this.db._maxKey!==Is)return this.where(n.name).equals(n.keyPath.map(u=>t[u]));const{idxByName:a}=this.schema,o=this.db._deps.indexedDB;function i(u,f){try{return o.cmp(u,f)===0}catch{return!1}}const[s,l]=r.reduce(([u,f],c)=>{const d=a[c],h=t[c];return[u||d,u||!d?rl(f,d&&d.multi?g=>{const m=io(g,c);return cr(m)&&m.some(w=>i(h,w))}:g=>i(h,io(g,c))):f]},[null,null]);return s?this.where(s.name).equals(t[s.keyPath]).filter(l):n?this.filter(l):this.where(r).equals("")}filter(t){return this.toCollection().and(t)}count(t){return this.toCollection().count(t)}offset(t){return this.toCollection().offset(t)}limit(t){return this.toCollection().limit(t)}each(t){return this.toCollection().each(t)}toArray(t){return this.toCollection().toArray(t)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(t){return new this.db.Collection(new this.db.WhereClause(this,cr(t)?`[${t.join("+")}]`:t))}reverse(){return this.toCollection().reverse()}mapToClass(t){this.schema.mappedClass=t;const r=n=>{if(!n)return n;const a=Object.create(t.prototype);for(var o in n)if(an(n,o))try{a[o]=n[o]}catch{}return a};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=r,this.hook("reading",r),t}defineClass(){return this.mapToClass(function(t){br(this,t)})}add(t,r){const{auto:n,keyPath:a}=this.schema.primKey;let o=t;return a&&n&&(o=Vp(a)(t)),this._trans("readwrite",i=>this.core.mutate({trans:i,type:"add",keys:r!=null?[r]:null,values:[o]})).then(i=>i.numFailures?ae.reject(i.failures[0]):i.lastResult).then(i=>{if(a)try{aa(t,a,i)}catch{}return i})}update(t,r){if(typeof t!="object"||cr(t))return this.where(":id").equals(t).modify(r);{const n=io(t,this.schema.primKey.keyPath);if(n===void 0)return Mt(new fe.InvalidArgument("Given object does not contain its primary key"));try{typeof r!="function"?kt(r).forEach(a=>{aa(t,a,r[a])}):r(t,{value:t,primKey:n})}catch{}return this.where(":id").equals(n).modify(r)}}put(t,r){const{auto:n,keyPath:a}=this.schema.primKey;let o=t;return a&&n&&(o=Vp(a)(t)),this._trans("readwrite",i=>this.core.mutate({trans:i,type:"put",values:[o],keys:r!=null?[r]:null})).then(i=>i.numFailures?ae.reject(i.failures[0]):i.lastResult).then(i=>{if(a)try{aa(t,a,i)}catch{}return i})}delete(t){return this._trans("readwrite",r=>this.core.mutate({trans:r,type:"delete",keys:[t]})).then(r=>r.numFailures?ae.reject(r.failures[0]):void 0)}clear(){return this._trans("readwrite",t=>this.core.mutate({trans:t,type:"deleteRange",range:gM})).then(t=>t.numFailures?ae.reject(t.failures[0]):void 0)}bulkGet(t){return this._trans("readonly",r=>this.core.getMany({keys:t,trans:r}).then(n=>n.map(a=>this.hook.reading.fire(a))))}bulkAdd(t,r,n){const a=Array.isArray(r)?r:void 0,o=(n=n||(a?void 0:r))?n.allKeys:void 0;return this._trans("readwrite",i=>{const{auto:s,keyPath:l}=this.schema.primKey;if(l&&a)throw new fe.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(a&&a.length!==t.length)throw new fe.InvalidArgument("Arguments objects and keys must have the same length");const u=t.length;let f=l&&s?t.map(Vp(l)):t;return this.core.mutate({trans:i,type:"add",keys:a,values:f,wantResults:o}).then(({numFailures:c,results:d,lastResult:h,failures:g})=>{if(c===0)return o?d:h;throw new Zd(`${this.name}.bulkAdd(): ${c} of ${u} operations failed`,g)})})}bulkPut(t,r,n){const a=Array.isArray(r)?r:void 0,o=(n=n||(a?void 0:r))?n.allKeys:void 0;return this._trans("readwrite",i=>{const{auto:s,keyPath:l}=this.schema.primKey;if(l&&a)throw new fe.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(a&&a.length!==t.length)throw new fe.InvalidArgument("Arguments objects and keys must have the same length");const u=t.length;let f=l&&s?t.map(Vp(l)):t;return this.core.mutate({trans:i,type:"put",keys:a,values:f,wantResults:o}).then(({numFailures:c,results:d,lastResult:h,failures:g})=>{if(c===0)return o?d:h;throw new Zd(`${this.name}.bulkPut(): ${c} of ${u} operations failed`,g)})})}bulkDelete(t){const r=t.length;return this._trans("readwrite",n=>this.core.mutate({trans:n,type:"delete",keys:t})).then(({numFailures:n,lastResult:a,failures:o})=>{if(n===0)return a;throw new Zd(`${this.name}.bulkDelete(): ${n} of ${r} operations failed`,o)})}}function ef(e){var t={},r=function(s,l){if(l){for(var u=arguments.length,f=new Array(u-1);--u;)f[u-1]=arguments[u];return t[s].subscribe.apply(null,f),e}if(typeof s=="string")return t[s]};r.addEventType=o;for(var n=1,a=arguments.length;nrl(n(),t()):t,e.justLimit=r&&!n}function sv(e,t){if(e.isPrimKey)return t.primaryKey;const r=t.getIndexByKeyPath(e.index);if(!r)throw new fe.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return r}function f4(e,t,r){const n=sv(e,t.schema);return t.openCursor({trans:r,values:!e.keysOnly,reverse:e.dir==="prev",unique:!!e.unique,query:{index:n,range:e.range}})}function Wp(e,t,r,n){const a=e.replayFilter?rl(e.filter,e.replayFilter()):e.filter;if(e.or){const o={},i=(s,l,u)=>{if(!a||a(l,u,d=>l.stop(d),d=>l.fail(d))){var f=l.primaryKey,c=""+f;c==="[object ArrayBuffer]"&&(c=""+new Uint8Array(f)),an(o,c)||(o[c]=!0,t(s,l,u))}};return Promise.all([e.or._iterate(i,r),h4(f4(e,n,r),e.algorithm,i,!e.keysOnly&&e.valueMapper)])}return h4(f4(e,n,r),rl(e.algorithm,a),t,!e.keysOnly&&e.valueMapper)}function h4(e,t,r,n){var a=ot(n?(o,i,s)=>r(n(o),i,s):r);return e.then(o=>{if(o)return o.start(()=>{var i=()=>o.continue();t&&!t(o,s=>i=s,s=>{o.stop(s),i=Ke},s=>{o.fail(s),i=Ke})||a(o.value,o,s=>i=s),i()})})}function vr(e,t){try{const r=p4(e),n=p4(t);if(r!==n)return r==="Array"?1:n==="Array"?-1:r==="binary"?1:n==="binary"?-1:r==="string"?1:n==="string"?-1:r==="Date"?1:n!=="Date"?NaN:-1;switch(r){case"number":case"Date":case"string":return e>t?1:eWp(r,t,n,r.table.core))}count(t){return this._read(r=>{const n=this._ctx,a=n.table.core;if(Tl(n,!0))return a.count({trans:r,query:{index:sv(n,a.schema),range:n.range}}).then(i=>Math.min(i,n.limit));var o=0;return Wp(n,()=>(++o,!1),r,a).then(()=>o)}).then(t)}sortBy(t,r){const n=t.split(".").reverse(),a=n[0],o=n.length-1;function i(u,f){return f?i(u[n[f]],f-1):u[a]}var s=this._ctx.dir==="next"?1:-1;function l(u,f){var c=i(u,o),d=i(f,o);return cd?s:0}return this.toArray(function(u){return u.sort(l)}).then(r)}toArray(t){return this._read(r=>{var n=this._ctx;if(n.dir==="next"&&Tl(n,!0)&&n.limit>0){const{valueMapper:a}=n,o=sv(n,n.table.core.schema);return n.table.core.query({trans:r,limit:n.limit,values:!0,query:{index:o,range:n.range}}).then(({result:i})=>a?i.map(a):i)}{const a=[];return Wp(n,o=>a.push(o),r,n.table.core).then(()=>a)}},t)}offset(t){var r=this._ctx;return t<=0||(r.offset+=t,Tl(r)?z1(r,()=>{var n=t;return(a,o)=>n===0||(n===1?(--n,!1):(o(()=>{a.advance(n),n=0}),!1))}):z1(r,()=>{var n=t;return()=>--n<0})),this}limit(t){return this._ctx.limit=Math.min(this._ctx.limit,t),z1(this._ctx,()=>{var r=t;return function(n,a,o){return--r<=0&&a(o),r>=0}},!0),this}until(t,r){return U1(this._ctx,function(n,a,o){return!t(n.value)||(a(o),r)}),this}first(t){return this.limit(1).toArray(function(r){return r[0]}).then(t)}last(t){return this.reverse().first(t)}filter(t){var r,n;return U1(this._ctx,function(a){return t(a.value)}),r=this._ctx,n=t,r.isMatch=rl(r.isMatch,n),this}and(t){return this.filter(t)}or(t){return new this.db.WhereClause(this._ctx.table,t,this)}reverse(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(t){var r=this._ctx;return r.keysOnly=!r.isMatch,this.each(function(n,a){t(a.key,a)})}eachUniqueKey(t){return this._ctx.unique="unique",this.eachKey(t)}eachPrimaryKey(t){var r=this._ctx;return r.keysOnly=!r.isMatch,this.each(function(n,a){t(a.primaryKey,a)})}keys(t){var r=this._ctx;r.keysOnly=!r.isMatch;var n=[];return this.each(function(a,o){n.push(o.key)}).then(function(){return n}).then(t)}primaryKeys(t){var r=this._ctx;if(r.dir==="next"&&Tl(r,!0)&&r.limit>0)return this._read(a=>{var o=sv(r,r.table.core.schema);return r.table.core.query({trans:a,values:!1,limit:r.limit,query:{index:o,range:r.range}})}).then(({result:a})=>a).then(t);r.keysOnly=!r.isMatch;var n=[];return this.each(function(a,o){n.push(o.primaryKey)}).then(function(){return n}).then(t)}uniqueKeys(t){return this._ctx.unique="unique",this.keys(t)}firstKey(t){return this.limit(1).keys(function(r){return r[0]}).then(t)}lastKey(t){return this.reverse().firstKey(t)}distinct(){var t=this._ctx,r=t.index&&t.table.schema.idxByName[t.index];if(!r||!r.multi)return this;var n={};return U1(this._ctx,function(a){var o=a.primaryKey.toString(),i=an(n,o);return n[o]=!0,!i}),this}modify(t){var r=this._ctx;return this._write(n=>{var a;if(typeof t=="function")a=t;else{var o=kt(t),i=o.length;a=function(m){for(var w=!1,v=0;v{const{failures:v,numFailures:b}=w;d+=m-b;for(let _ of kt(v))c.push(v[_])};return this.clone().primaryKeys().then(m=>{const w=v=>{const b=Math.min(f,m.length-v);return s.getMany({trans:n,keys:m.slice(v,v+b),cache:"immutable"}).then(_=>{const $=[],C=[],k=l?[]:null,x=[];for(let A=0;A0&&s.mutate({trans:n,type:"add",values:$}).then(A=>{for(let O in A.failures)x.splice(parseInt(O),1);g($.length,A)})).then(()=>(C.length>0||S&&typeof t=="object")&&s.mutate({trans:n,type:"put",keys:k,values:C,criteria:S,changeSpec:typeof t!="function"&&t}).then(A=>g(C.length,A))).then(()=>(x.length>0||S&&t===V1)&&s.mutate({trans:n,type:"delete",keys:x,criteria:S}).then(A=>g(x.length,A))).then(()=>m.length>v+b&&w(v+f))})};return w(0).then(()=>{if(c.length>0)throw new nm("Error modifying one or more objects",c,d,h);return m.length})})})}delete(){var t=this._ctx,r=t.range;return Tl(t)&&(t.isPrimKey&&!AX||r.type===3)?this._write(n=>{const{primaryKey:a}=t.table.core.schema,o=r;return t.table.core.count({trans:n,query:{index:a,range:o}}).then(i=>t.table.core.mutate({trans:n,type:"deleteRange",range:o}).then(({failures:s,lastResult:l,results:u,numFailures:f})=>{if(f)throw new nm("Could not delete some values",Object.keys(s).map(c=>s[c]),i-f);return i-f}))}):this.modify(V1)}}const V1=(e,t)=>t.value=null;function OX(e,t){return et?-1:e===t?0:1}function zr(e,t,r){var n=e instanceof mM?new e.Collection(e):e;return n._ctx.error=r?new r(t):new TypeError(t),n}function Al(e){return new e.Collection(e,()=>vM("")).limit(0)}function IX(e,t,r,n,a,o){for(var i=Math.min(e.length,n.length),s=-1,l=0;l=0?e.substr(0,s)+t[s]+r.substr(s+1):null;a(e[l],u)<0&&(s=l)}return itypeof m=="string"))return zr(e,"String expected.");function d(m){a=function(v){return v==="next"?b=>b.toUpperCase():b=>b.toLowerCase()}(m),o=function(v){return v==="next"?b=>b.toLowerCase():b=>b.toUpperCase()}(m),i=m==="next"?OX:PX;var w=r.map(function(v){return{lower:o(v),upper:a(v)}}).sort(function(v,b){return i(v.lower,b.lower)});s=w.map(function(v){return v.upper}),l=w.map(function(v){return v.lower}),u=m,f=m==="next"?"":n}d("next");var h=new e.Collection(e,()=>Qo(s[0],l[c-1]+n));h._ondirectionchange=function(m){d(m)};var g=0;return h._addAlgorithm(function(m,w,v){var b=m.key;if(typeof b!="string")return!1;var _=o(b);if(t(_,l,g))return!0;for(var $=null,C=g;C0)&&($=k)}return w($!==null?function(){m.continue($+f)}:v),!1}),h}function Qo(e,t,r,n){return{type:2,lower:e,upper:t,lowerOpen:r,upperOpen:n}}function vM(e){return{type:1,lower:e,upper:e}}class mM{get Collection(){return this._ctx.table.db.Collection}between(t,r,n,a){n=n!==!1,a=a===!0;try{return this._cmp(t,r)>0||this._cmp(t,r)===0&&(n||a)&&(!n||!a)?Al(this):new this.Collection(this,()=>Qo(t,r,!n,!a))}catch{return zr(this,Ba)}}equals(t){return t==null?zr(this,Ba):new this.Collection(this,()=>vM(t))}above(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Qo(t,void 0,!0))}aboveOrEqual(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Qo(t,void 0,!1))}below(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Qo(void 0,t,!1,!0))}belowOrEqual(t){return t==null?zr(this,Ba):new this.Collection(this,()=>Qo(void 0,t))}startsWith(t){return typeof t!="string"?zr(this,"String expected."):this.between(t,t+Is,!0,!0)}startsWithIgnoreCase(t){return t===""?this.startsWith(t):Hp(this,(r,n)=>r.indexOf(n[0])===0,[t],Is)}equalsIgnoreCase(t){return Hp(this,(r,n)=>r===n[0],[t],"")}anyOfIgnoreCase(){var t=Qa.apply(Bl,arguments);return t.length===0?Al(this):Hp(this,(r,n)=>n.indexOf(r)!==-1,t,"")}startsWithAnyOfIgnoreCase(){var t=Qa.apply(Bl,arguments);return t.length===0?Al(this):Hp(this,(r,n)=>n.some(a=>r.indexOf(a)===0),t,Is)}anyOf(){const t=Qa.apply(Bl,arguments);let r=this._cmp;try{t.sort(r)}catch{return zr(this,Ba)}if(t.length===0)return Al(this);const n=new this.Collection(this,()=>Qo(t[0],t[t.length-1]));n._ondirectionchange=o=>{r=o==="next"?this._ascending:this._descending,t.sort(r)};let a=0;return n._addAlgorithm((o,i,s)=>{const l=o.key;for(;r(l,t[a])>0;)if(++a,a===t.length)return i(s),!1;return r(l,t[a])===0||(i(()=>{o.continue(t[a])}),!1)}),n}notEqual(t){return this.inAnyRange([[-(1/0),t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const t=Qa.apply(Bl,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return zr(this,Ba)}const r=t.reduce((n,a)=>n?n.concat([[n[n.length-1][1],a]]):[[-(1/0),a]],null);return r.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(r,{includeLowers:!1,includeUppers:!1})}inAnyRange(t,r){const n=this._cmp,a=this._ascending,o=this._descending,i=this._min,s=this._max;if(t.length===0)return Al(this);if(!t.every(b=>b[0]!==void 0&&b[1]!==void 0&&a(b[0],b[1])<=0))return zr(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",fe.InvalidArgument);const l=!r||r.includeLowers!==!1,u=r&&r.includeUppers===!0;let f,c=a;function d(b,_){return c(b[0],_[0])}try{f=t.reduce(function(b,_){let $=0,C=b.length;for(;$0){k[0]=i(k[0],_[0]),k[1]=s(k[1],_[1]);break}}return $===C&&b.push(_),b},[]),f.sort(d)}catch{return zr(this,Ba)}let h=0;const g=u?b=>a(b,f[h][1])>0:b=>a(b,f[h][1])>=0,m=l?b=>o(b,f[h][0])>0:b=>o(b,f[h][0])>=0;let w=g;const v=new this.Collection(this,()=>Qo(f[0][0],f[f.length-1][1],!l,!u));return v._ondirectionchange=b=>{b==="next"?(w=g,c=a):(w=m,c=o),f.sort(d)},v._addAlgorithm((b,_,$)=>{for(var C=b.key;w(C);)if(++h,h===f.length)return _($),!1;return!!function(k){return!g(k)&&!m(k)}(C)||(this._cmp(C,f[h][1])===0||this._cmp(C,f[h][0])===0||_(()=>{c===a?b.continue(f[h][0]):b.continue(f[h][1])}),!1)}),v}startsWithAnyOf(){const t=Qa.apply(Bl,arguments);return t.every(r=>typeof r=="string")?t.length===0?Al(this):this.inAnyRange(t.map(r=>[r,r+Is])):zr(this,"startsWithAnyOf() only works with strings")}}function pa(e){return ot(function(t){return Bf(t),e(t.target.error),!1})}function Bf(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}const ji=ef(null,"storagemutated");class NX{_lock(){return Pd(!ce.global),++this._reculock,this._reculock!==1||ce.global||(ce.lockOwnerFor=this),this}_unlock(){if(Pd(!ce.global),--this._reculock==0)for(ce.global||(ce.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{yu(t[1],t[0])}catch{}}return this}_locked(){return this._reculock&&ce.lockOwnerFor!==this}create(t){if(!this.mode)return this;const r=this.db.idbdb,n=this.db._state.dbOpenError;if(Pd(!this.idbtrans),!t&&!r)switch(n&&n.name){case"DatabaseClosedError":throw new fe.DatabaseClosed(n);case"MissingAPIError":throw new fe.MissingAPI(n.message,n);default:throw new fe.OpenFailed(n)}if(!this.active)throw new fe.TransactionInactive;return Pd(this._completion._state===null),(t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):r.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=ot(a=>{Bf(a),this._reject(t.error)}),t.onabort=ot(a=>{Bf(a),this.active&&this._reject(new fe.Abort(t.error)),this.active=!1,this.on("abort").fire(a)}),t.oncomplete=ot(()=>{this.active=!1,this._resolve(),"mutatedParts"in t&&ji.storagemutated.fire(t.mutatedParts)}),this}_promise(t,r,n){if(t==="readwrite"&&this.mode!=="readwrite")return Mt(new fe.ReadOnly("Transaction is readonly"));if(!this.active)return Mt(new fe.TransactionInactive);if(this._locked())return new ae((o,i)=>{this._blockedFuncs.push([()=>{this._promise(t,r,n).then(o,i)},ce])});if(n)return Mi(()=>{var o=new ae((i,s)=>{this._lock();const l=r(i,s,this);l&&l.then&&l.then(i,s)});return o.finally(()=>this._unlock()),o._lib=!0,o});var a=new ae((o,i)=>{var s=r(o,i,this);s&&s.then&&s.then(o,i)});return a._lib=!0,a}_root(){return this.parent?this.parent._root():this}waitFor(t){var r=this._root();const n=ae.resolve(t);if(r._waitingFor)r._waitingFor=r._waitingFor.then(()=>n);else{r._waitingFor=n,r._waitingQueue=[];var a=r.idbtrans.objectStore(r.storeNames[0]);(function i(){for(++r._spinCount;r._waitingQueue.length;)r._waitingQueue.shift()();r._waitingFor&&(a.get(-1/0).onsuccess=i)})()}var o=r._waitingFor;return new ae((i,s)=>{n.then(l=>r._waitingQueue.push(ot(i.bind(null,l))),l=>r._waitingQueue.push(ot(s.bind(null,l)))).finally(()=>{r._waitingFor===o&&(r._waitingFor=null)})})}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new fe.Abort))}table(t){const r=this._memoizedTables||(this._memoizedTables={});if(an(r,t))return r[t];const n=this.schema[t];if(!n)throw new fe.NotFound("Table "+t+" not part of transaction");const a=new this.db.Table(t,n,this);return a.core=this.db.core.table(t),r[t]=a,a}}function U$(e,t,r,n,a,o,i){return{name:e,keyPath:t,unique:r,multi:n,auto:a,compound:o,src:(r&&!i?"&":"")+(n?"*":"")+(a?"++":"")+yM(t)}}function yM(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function bM(e,t,r){return{name:e,primKey:t,indexes:r,mappedClass:null,idxByName:QL(r,n=>[n.name,n])}}let Uf=e=>{try{return e.only([[]]),Uf=()=>[[]],[[]]}catch{return Uf=()=>Is,Is}};function z$(e){return e==null?()=>{}:typeof e=="string"?function(t){return t.split(".").length===1?r=>r[t]:r=>io(r,t)}(e):t=>io(t,e)}function v4(e){return[].slice.call(e)}let LX=0;function tf(e){return e==null?":id":typeof e=="string"?e:`[${e.join("+")}]`}function MX(e,t,r){function n(l){if(l.type===3)return null;if(l.type===4)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:u,upper:f,lowerOpen:c,upperOpen:d}=l;return u===void 0?f===void 0?null:t.upperBound(f,!!d):f===void 0?t.lowerBound(u,!!c):t.bound(u,f,!!c,!!d)}const{schema:a,hasGetAll:o}=function(l,u){const f=v4(l.objectStoreNames);return{schema:{name:l.name,tables:f.map(c=>u.objectStore(c)).map(c=>{const{keyPath:d,autoIncrement:h}=c,g=cr(d),m=d==null,w={},v={name:c.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:m,compound:g,keyPath:d,autoIncrement:h,unique:!0,extractKey:z$(d)},indexes:v4(c.indexNames).map(b=>c.index(b)).map(b=>{const{name:_,unique:$,multiEntry:C,keyPath:k}=b,x={name:_,compound:cr(k),keyPath:k,unique:$,multiEntry:C,extractKey:z$(k)};return w[tf(k)]=x,x}),getIndexByKeyPath:b=>w[tf(b)]};return w[":id"]=v.primaryKey,d!=null&&(w[tf(d)]=v.primaryKey),v})},hasGetAll:f.length>0&&"getAll"in u.objectStore(f[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,r),i=a.tables.map(l=>function(u){const f=u.name;return{name:f,schema:u,mutate:function({trans:c,type:d,keys:h,values:g,range:m}){return new Promise((w,v)=>{w=ot(w);const b=c.objectStore(f),_=b.keyPath==null,$=d==="put"||d==="add";if(!$&&d!=="delete"&&d!=="deleteRange")throw new Error("Invalid operation type: "+d);const{length:C}=h||g||{length:1};if(h&&g&&h.length!==g.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return w({numFailures:0,failures:{},results:[],lastResult:void 0});let k;const x=[],S=[];let A=0;const O=I=>{++A,Bf(I)};if(d==="deleteRange"){if(m.type===4)return w({numFailures:A,failures:S,results:[],lastResult:void 0});m.type===3?x.push(k=b.clear()):x.push(k=b.delete(n(m)))}else{const[I,N]=$?_?[g,h]:[g,null]:[h,null];if($)for(let E=0;E{const N=I.target.result;x.forEach((E,R)=>E.error!=null&&(S[R]=E.error)),w({numFailures:A,failures:S,results:d==="delete"?h:x.map(E=>E.result),lastResult:N})};k.onerror=I=>{O(I),L(I)},k.onsuccess=L})},getMany:({trans:c,keys:d})=>new Promise((h,g)=>{h=ot(h);const m=c.objectStore(f),w=d.length,v=new Array(w);let b,_=0,$=0;const C=x=>{const S=x.target;v[S._pos]=S.result,++$===_&&h(v)},k=pa(g);for(let x=0;xnew Promise((h,g)=>{h=ot(h);const m=c.objectStore(f).get(d);m.onsuccess=w=>h(w.target.result),m.onerror=pa(g)}),query:function(c){return d=>new Promise((h,g)=>{h=ot(h);const{trans:m,values:w,limit:v,query:b}=d,_=v===1/0?void 0:v,{index:$,range:C}=b,k=m.objectStore(f),x=$.isPrimaryKey?k:k.index($.name),S=n(C);if(v===0)return h({result:[]});if(c){const A=w?x.getAll(S,_):x.getAllKeys(S,_);A.onsuccess=O=>h({result:O.target.result}),A.onerror=pa(g)}else{let A=0;const O=w||!("openKeyCursor"in x)?x.openCursor(S):x.openKeyCursor(S),L=[];O.onsuccess=I=>{const N=O.result;return N?(L.push(w?N.value:N.primaryKey),++A===v?h({result:L}):void N.continue()):h({result:L})},O.onerror=pa(g)}})}(o),openCursor:function({trans:c,values:d,query:h,reverse:g,unique:m}){return new Promise((w,v)=>{w=ot(w);const{index:b,range:_}=h,$=c.objectStore(f),C=b.isPrimaryKey?$:$.index(b.name),k=g?m?"prevunique":"prev":m?"nextunique":"next",x=d||!("openKeyCursor"in C)?C.openCursor(n(_),k):C.openKeyCursor(n(_),k);x.onerror=pa(v),x.onsuccess=ot(S=>{const A=x.result;if(!A)return void w(null);A.___id=++LX,A.done=!1;const O=A.continue.bind(A);let L=A.continuePrimaryKey;L&&(L=L.bind(A));const I=A.advance.bind(A),N=()=>{throw new Error("Cursor not stopped")};A.trans=c,A.stop=A.continue=A.continuePrimaryKey=A.advance=()=>{throw new Error("Cursor not started")},A.fail=ot(v),A.next=function(){let E=1;return this.start(()=>E--?this.continue():this.stop()).then(()=>this)},A.start=E=>{const R=new Promise((B,j)=>{B=ot(B),x.onerror=pa(j),A.fail=j,A.stop=M=>{A.stop=A.continue=A.continuePrimaryKey=A.advance=N,B(M)}}),F=()=>{if(x.result)try{E()}catch(B){A.fail(B)}else A.done=!0,A.start=()=>{throw new Error("Cursor behind last entry")},A.stop()};return x.onsuccess=ot(B=>{x.onsuccess=F,F()}),A.continue=O,A.continuePrimaryKey=L,A.advance=I,F(),R},w(A)},v)})},count({query:c,trans:d}){const{index:h,range:g}=c;return new Promise((m,w)=>{const v=d.objectStore(f),b=h.isPrimaryKey?v:v.index(h.name),_=n(g),$=_?b.count(_):b.count();$.onsuccess=ot(C=>m(C.target.result)),$.onerror=pa(w)})}}}(l)),s={};return i.forEach(l=>s[l.name]=l),{stack:"dbcore",transaction:e.transaction.bind(e),table(l){if(!s[l])throw new Error(`Table '${l}' not found`);return s[l]},MIN_KEY:-1/0,MAX_KEY:Uf(t),schema:a}}function V$({_novip:e},t){const r=t.db,n=function(a,o,{IDBKeyRange:i,indexedDB:s},l){return{dbcore:function(f,c){return c.reduce((d,{create:h})=>({...d,...h(d)}),f)}(MX(o,i,l),a.dbcore)}}(e._middlewares,r,e._deps,t);e.core=n.dbcore,e.tables.forEach(a=>{const o=a.name;e.core.schema.tables.some(i=>i.name===o)&&(a.core=e.core.table(o),e[o]instanceof e.Table&&(e[o].core=a.core))})}function lm({_novip:e},t,r,n){r.forEach(a=>{const o=n[a];t.forEach(i=>{const s=uE(i,a);(!s||"value"in s&&s.value===void 0)&&(i===e.Transaction.prototype||i instanceof e.Transaction?oo(i,a,{get(){return this.table(a)},set(l){YL(this,a,{value:l,writable:!0,configurable:!0,enumerable:!0})}}):i[a]=new e.Table(a,o))})})}function W$({_novip:e},t){t.forEach(r=>{for(let n in r)r[n]instanceof e.Table&&delete r[n]})}function DX(e,t){return e._cfg.version-t._cfg.version}function jX(e,t,r,n){const a=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,a);o.create(r),o._completion.catch(n);const i=o._reject.bind(o),s=ce.transless||ce;Mi(()=>{ce.trans=o,ce.transless=s,t===0?(kt(a).forEach(l=>{W1(r,l,a[l].primKey,a[l].indexes)}),V$(e,r),ae.follow(()=>e.on.populate.fire(o)).catch(i)):function({_novip:l},u,f,c){const d=[],h=l._versions;let g=l._dbSchema=G$(l,l.idbdb,c),m=!1;function w(){return d.length?ae.resolve(d.shift()(f.idbtrans)).then(w):ae.resolve()}return h.filter(v=>v._cfg.version>=u).forEach(v=>{d.push(()=>{const b=g,_=v._cfg.dbschema;K$(l,b,c),K$(l,_,c),g=l._dbSchema=_;const $=wM(b,_);$.add.forEach(k=>{W1(c,k[0],k[1].primKey,k[1].indexes)}),$.change.forEach(k=>{if(k.recreate)throw new fe.Upgrade("Not yet support for changing primary key");{const x=c.objectStore(k.name);k.add.forEach(S=>H$(x,S)),k.change.forEach(S=>{x.deleteIndex(S.name),H$(x,S)}),k.del.forEach(S=>x.deleteIndex(S))}});const C=v._cfg.contentUpgrade;if(C&&v._cfg.version>u){V$(l,c),f._memoizedTables={},m=!0;let k=JL(_);$.del.forEach(O=>{k[O]=b[O]}),W$(l,[l.Transaction.prototype]),lm(l,[l.Transaction.prototype],kt(k),k),f.schema=k;const x=dE(C);let S;x&&mu();const A=ae.follow(()=>{if(S=C(f),S&&x){var O=wo.bind(null,null);S.then(O,O)}});return S&&typeof S.then=="function"?ae.resolve(S):A.then(()=>S)}}),d.push(b=>{(!m||!TX)&&function(_,$){[].slice.call($.db.objectStoreNames).forEach(C=>_[C]==null&&$.db.deleteObjectStore(C))}(v._cfg.dbschema,b),W$(l,[l.Transaction.prototype]),lm(l,[l.Transaction.prototype],l._storeNames,l._dbSchema),f.schema=l._dbSchema})}),w().then(()=>{var v,b;b=c,kt(v=g).forEach(_=>{b.db.objectStoreNames.contains(_)||W1(b,_,v[_].primKey,v[_].indexes)})})}(e,t,o,r).catch(i)})}function wM(e,t){const r={del:[],add:[],change:[]};let n;for(n in e)t[n]||r.del.push(n);for(n in t){const a=e[n],o=t[n];if(a){const i={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(a.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||a.primKey.auto!==o.primKey.auto&&!P0)i.recreate=!0,r.change.push(i);else{const s=a.idxByName,l=o.idxByName;let u;for(u in s)l[u]||i.del.push(u);for(u in l){const f=s[u],c=l[u];f?f.src!==c.src&&i.change.push(c):i.add.push(c)}(i.del.length>0||i.add.length>0||i.change.length>0)&&r.change.push(i)}}else r.add.push([n,o])}return r}function W1(e,t,r,n){const a=e.db.createObjectStore(t,r.keyPath?{keyPath:r.keyPath,autoIncrement:r.auto}:{autoIncrement:r.auto});return n.forEach(o=>H$(a,o)),a}function H$(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function G$(e,t,r){const n={};return rm(t.objectStoreNames,0).forEach(a=>{const o=r.objectStore(a);let i=o.keyPath;const s=U$(yM(i),i||"",!1,!1,!!o.autoIncrement,i&&typeof i!="string",!0),l=[];for(let f=0;f{if(t[n]!==null){var a=t[n].split(",").map((i,s)=>{const l=(i=i.trim()).replace(/([&*]|\+\+)/g,""),u=/^\[/.test(l)?l.match(/^\[(.*)\]$/)[1].split("+"):l;return U$(l,u||null,/\&/.test(i),/\*/.test(i),/\+\+/.test(i),cr(u),s===0)}),o=a.shift();if(o.multi)throw new fe.Schema("Primary key cannot be multi-valued");a.forEach(i=>{if(i.auto)throw new fe.Schema("Only primary key can be marked as autoIncrement (++)");if(!i.keyPath)throw new fe.Schema("Index must have a name and cannot be an empty string")}),r[n]=bM(n,o,a)}})}stores(t){const r=this.db;this._cfg.storesSource=this._cfg.storesSource?br(this._cfg.storesSource,t):t;const n=r._versions,a={};let o={};return n.forEach(i=>{br(a,i._cfg.storesSource),o=i._cfg.dbschema={},i._parseStoresSpec(a,o)}),r._dbSchema=o,W$(r,[r._allTables,r,r.Transaction.prototype]),lm(r,[r._allTables,r,r.Transaction.prototype,this._cfg.tables],kt(o),o),r._storeNames=kt(o),this}upgrade(t){return this._cfg.contentUpgrade=pE(this._cfg.contentUpgrade||Ke,t),this}}function yE(e,t){let r=e._dbNamesDB;return r||(r=e._dbNamesDB=new Us("__dbnames",{addons:[],indexedDB:e,IDBKeyRange:t}),r.version(1).stores({dbnames:"name"})),r.table("dbnames")}function bE(e){return e&&typeof e.databases=="function"}function q$(e){return Mi(function(){return ce.letThrough=!0,e()})}function BX(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(t){var r=function(){return indexedDB.databases().finally(t)};e=setInterval(r,100),r()}).finally(function(){return clearInterval(e)}):Promise.resolve()}function UX(e){const t=e._state,{indexedDB:r}=e._deps;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(()=>t.dbOpenError?Mt(t.dbOpenError):e);ka&&(t.openCanceller._stackHolder=pl()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;const n=t.openCanceller;function a(){if(t.openCanceller!==n)throw new fe.DatabaseClosed("db.open() was cancelled")}let o=t.dbReadyResolve,i=null,s=!1;return ae.race([n,(typeof navigator>"u"?ae.resolve():BX()).then(()=>new ae((l,u)=>{if(a(),!r)throw new fe.MissingAPI;const f=e.name,c=t.autoSchema?r.open(f):r.open(f,Math.round(10*e.verno));if(!c)throw new fe.MissingAPI;c.onerror=pa(u),c.onblocked=ot(e._fireOnBlocked),c.onupgradeneeded=ot(d=>{if(i=c.transaction,t.autoSchema&&!e._options.allowEmptyDB){c.onerror=Bf,i.abort(),c.result.close();const g=r.deleteDatabase(f);g.onsuccess=g.onerror=ot(()=>{u(new fe.NoSuchDatabase(`Database ${f} doesnt exist`))})}else{i.onerror=pa(u);var h=d.oldVersion>Math.pow(2,62)?0:d.oldVersion;s=h<1,e._novip.idbdb=c.result,jX(e,h/10,i,u)}},u),c.onsuccess=ot(()=>{i=null;const d=e._novip.idbdb=c.result,h=rm(d.objectStoreNames);if(h.length>0)try{const m=d.transaction((g=h).length===1?g[0]:g,"readonly");t.autoSchema?function({_novip:w},v,b){w.verno=v.version/10;const _=w._dbSchema=G$(0,v,b);w._storeNames=rm(v.objectStoreNames,0),lm(w,[w._allTables],kt(_),_)}(e,d,m):(K$(e,e._dbSchema,m),function(w,v){const b=wM(G$(0,w.idbdb,v),w._dbSchema);return!(b.add.length||b.change.some(_=>_.add.length||_.change.length))}(e,m)),V$(e,m)}catch{}var g;Jd.push(e),d.onversionchange=ot(m=>{t.vcFired=!0,e.on("versionchange").fire(m)}),d.onclose=ot(m=>{e.on("close").fire(m)}),s&&function({indexedDB:m,IDBKeyRange:w},v){!bE(m)&&v!=="__dbnames"&&yE(m,w).put({name:v}).catch(Ke)}(e._deps,f),l()},u)}))]).then(()=>(a(),t.onReadyBeingFired=[],ae.resolve(q$(()=>e.on.ready.fire(e.vip))).then(function l(){if(t.onReadyBeingFired.length>0){let u=t.onReadyBeingFired.reduce(pE,Ke);return t.onReadyBeingFired=[],ae.resolve(q$(()=>u(e.vip))).then(l)}}))).finally(()=>{t.onReadyBeingFired=null,t.isBeingOpened=!1}).then(()=>e).catch(l=>{t.dbOpenError=l;try{i&&i.abort()}catch{}return n===t.openCanceller&&e._close(),Mt(l)}).finally(()=>{t.openComplete=!0,o()})}function Y$(e){var t=o=>e.next(o),r=a(t),n=a(o=>e.throw(o));function a(o){return i=>{var s=o(i),l=s.value;return s.done?l:l&&typeof l.then=="function"?l.then(r,n):cr(l)?Promise.all(l).then(r,n):r(l)}}return a(t)()}function zX(e,t,r){var n=arguments.length;if(n<2)throw new fe.InvalidArgument("Too few arguments");for(var a=new Array(n-1);--n;)a[n-1]=arguments[n];r=a.pop();var o=eM(a);return[e,o,r]}function _M(e,t,r,n,a){return ae.resolve().then(()=>{const o=ce.transless||ce,i=e._createTransaction(t,r,e._dbSchema,n),s={trans:i,transless:o};if(n)i.idbtrans=n.idbtrans;else try{i.create(),e._state.PR1398_maxLoop=3}catch(c){return c.name===hE.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then(()=>_M(e,t,r,null,a))):Mt(c)}const l=dE(a);let u;l&&mu();const f=ae.follow(()=>{if(u=a.call(i,i),u)if(l){var c=wo.bind(null,null);u.then(c,c)}else typeof u.next=="function"&&typeof u.throw=="function"&&(u=Y$(u))},s);return(u&&typeof u.then=="function"?ae.resolve(u).then(c=>i.active?c:Mt(new fe.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))):f.then(()=>u)).then(c=>(n&&i._resolve(),i._completion.then(()=>c))).catch(c=>(i._reject(c),Mt(c)))})}function Gp(e,t,r){const n=cr(e)?e.slice():[e];for(let a=0;a0,v={...d,isVirtual:w,keyTail:c,keyLength:m,extractKey:z$(f),unique:!w&&d.unique};return g.push(v),v.isPrimaryKey||o.push(v),m>1&&i(m===2?f[0]:f.slice(0,m-1),c+1,d),g.sort((b,_)=>b.keyTail-_.keyTail),v}const s=i(n.primaryKey.keyPath,0,n.primaryKey);a[":id"]=[s];for(const f of n.indexes)i(f.keyPath,0,f);function l(f){const c=f.query.index;return c.isVirtual?{...f,query:{index:c,range:(d=f.query.range,h=c.keyTail,{type:d.type===1?2:d.type,lower:Gp(d.lower,d.lowerOpen?e.MAX_KEY:e.MIN_KEY,h),lowerOpen:!0,upper:Gp(d.upper,d.upperOpen?e.MIN_KEY:e.MAX_KEY,h),upperOpen:!0})}}:f;var d,h}return{...r,schema:{...n,primaryKey:s,indexes:o,getIndexByKeyPath:function(f){const c=a[tf(f)];return c&&c[0]}},count:f=>r.count(l(f)),query:f=>r.query(l(f)),openCursor(f){const{keyTail:c,isVirtual:d,keyLength:h}=f.query.index;return d?r.openCursor(l(f)).then(g=>g&&function(m){return Object.create(m,{continue:{value:function(v){v!=null?m.continue(Gp(v,f.reverse?e.MAX_KEY:e.MIN_KEY,c)):f.unique?m.continue(m.key.slice(0,h).concat(f.reverse?e.MIN_KEY:e.MAX_KEY,c)):m.continue()}},continuePrimaryKey:{value(v,b){m.continuePrimaryKey(Gp(v,e.MAX_KEY,c),b)}},primaryKey:{get:()=>m.primaryKey},key:{get(){const v=m.key;return h===1?v[0]:v.slice(0,h)}},value:{get:()=>m.value}})}(g)):r.openCursor(f)}}}}}};function wE(e,t,r,n){return r=r||{},n=n||"",kt(e).forEach(a=>{if(an(t,a)){var o=e[a],i=t[a];if(typeof o=="object"&&typeof i=="object"&&o&&i){const s=R$(o);s!==R$(i)?r[n+a]=t[a]:s==="Object"?wE(o,i,r,n+a+"."):o!==i&&(r[n+a]=t[a])}else o!==i&&(r[n+a]=t[a])}else r[n+a]=void 0}),kt(t).forEach(a=>{an(e,a)||(r[n+a]=t[a])}),r}const WX={stack:"dbcore",name:"HooksMiddleware",level:2,create:e=>({...e,table(t){const r=e.table(t),{primaryKey:n}=r.schema;return{...r,mutate(o){const i=ce.trans,{deleting:s,creating:l,updating:u}=i.table(t).hook;switch(o.type){case"add":if(l.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"put":if(l.fire===Ke&&u.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"delete":if(s.fire===Ke)break;return i._promise("readwrite",()=>f(o),!0);case"deleteRange":if(s.fire===Ke)break;return i._promise("readwrite",()=>function(d){return c(d.trans,d.range,1e4)}(o),!0)}return r.mutate(o);function f(d){const h=ce.trans,g=d.keys||function(m,w){return w.type==="delete"?w.keys:w.keys||w.values.map(m.extractKey)}(n,d);if(!g)throw new Error("Keys missing");return(d=d.type==="add"||d.type==="put"?{...d,keys:g}:{...d}).type!=="delete"&&(d.values=[...d.values]),d.keys&&(d.keys=[...d.keys]),function(m,w,v){return w.type==="add"?Promise.resolve([]):m.getMany({trans:w.trans,keys:v,cache:"immutable"})}(r,d,g).then(m=>{const w=g.map((v,b)=>{const _=m[b],$={onerror:null,onsuccess:null};if(d.type==="delete")s.fire.call($,v,_,h);else if(d.type==="add"||_===void 0){const C=l.fire.call($,v,d.values[b],h);v==null&&C!=null&&(v=C,d.keys[b]=v,n.outbound||aa(d.values[b],n.keyPath,v))}else{const C=wE(_,d.values[b]),k=u.fire.call($,C,v,_,h);if(k){const x=d.values[b];Object.keys(k).forEach(S=>{an(x,S)?x[S]=k[S]:aa(x,S,k[S])})}}return $});return r.mutate(d).then(({failures:v,results:b,numFailures:_,lastResult:$})=>{for(let C=0;C(w.forEach(b=>b.onerror&&b.onerror(v)),Promise.reject(v)))})}function c(d,h,g){return r.query({trans:d,values:!1,query:{index:n,range:h},limit:g}).then(({result:m})=>f({type:"delete",keys:m,trans:d}).then(w=>w.numFailures>0?Promise.reject(w.failures[0]):m.length({table:t=>{const r=e.table(t);return{...r,getMany:n=>{if(!n.cache)return r.getMany(n);const a=$M(n.keys,n.trans._cache,n.cache==="clone");return a?ae.resolve(a):r.getMany(n).then(o=>(n.trans._cache={keys:n.keys,values:n.cache==="clone"?mh(o):o},o))},mutate:n=>(n.type!=="add"&&(n.trans._cache=null),r.mutate(n))}}})};function _E(e){return!("from"in e)}const qa=function(e,t){if(!this){const r=new qa;return e&&"d"in e&&br(r,e),r}br(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function zf(e,t,r){const n=vr(t,r);if(isNaN(n))return;if(n>0)throw RangeError();if(_E(e))return br(e,{from:t,to:r,d:1});const a=e.l,o=e.r;if(vr(r,e.from)<0)return a?zf(a,t,r):e.l={from:t,to:r,d:1,l:null,r:null},m4(e);if(vr(t,e.to)>0)return o?zf(o,t,r):e.r={from:t,to:r,d:1,l:null,r:null},m4(e);vr(t,e.from)<0&&(e.from=t,e.l=null,e.d=o?o.d+1:1),vr(r,e.to)>0&&(e.to=r,e.r=null,e.d=e.l?e.l.d+1:1);const i=!e.r;a&&!e.l&&cm(e,a),o&&i&&cm(e,o)}function cm(e,t){_E(t)||function r(n,{from:a,to:o,l:i,r:s}){zf(n,a,o),i&&r(n,i),s&&r(n,s)}(e,t)}function GX(e,t){const r=X$(t);let n=r.next();if(n.done)return!1;let a=n.value;const o=X$(e);let i=o.next(a.from),s=i.value;for(;!n.done&&!i.done;){if(vr(s.from,a.to)<=0&&vr(s.to,a.from)>=0)return!0;vr(a.from,s.from)<0?a=(n=r.next(s.from)).value:s=(i=o.next(a.from)).value}return!1}function X$(e){let t=_E(e)?null:{s:0,n:e};return{next(r){const n=arguments.length>0;for(;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&vr(r,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||vr(r,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function m4(e){var t,r;const n=(((t=e.r)===null||t===void 0?void 0:t.d)||0)-(((r=e.l)===null||r===void 0?void 0:r.d)||0),a=n>1?"r":n<-1?"l":"";if(a){const o=a==="r"?"l":"r",i={...e},s=e[a];e.from=s.from,e.to=s.to,e[a]=s[a],i[a]=s[o],e[o]=i,i.d=y4(i)}e.d=y4(e)}function y4({r:e,l:t}){return(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}Hc(qa.prototype,{add(e){return cm(this,e),this},addKey(e){return zf(this,e,e),this},addKeys(e){return e.forEach(t=>zf(this,t,t)),this},[k$](){return X$(this)}});const KX={stack:"dbcore",level:0,create:e=>{const t=e.schema.name,r=new qa(e.MIN_KEY,e.MAX_KEY);return{...e,table:n=>{const a=e.table(n),{schema:o}=a,{primaryKey:i}=o,{extractKey:s,outbound:l}=i,u={...a,mutate:d=>{const h=d.trans,g=h.mutatedParts||(h.mutatedParts={}),m=k=>{const x=`idb://${t}/${n}/${k}`;return g[x]||(g[x]=new qa)},w=m(""),v=m(":dels"),{type:b}=d;let[_,$]=d.type==="deleteRange"?[d.range]:d.type==="delete"?[d.keys]:d.values.length<50?[[],d.values]:[];const C=d.trans._cache;return a.mutate(d).then(k=>{if(cr(_)){b!=="delete"&&(_=k.results),w.addKeys(_);const x=$M(_,C);x||b==="add"||v.addKeys(_),(x||$)&&function(S,A,O,L){function I(N){const E=S(N.name||"");function R(B){return B!=null?N.extractKey(B):null}const F=B=>N.multiEntry&&cr(B)?B.forEach(j=>E.addKey(j)):E.addKey(B);(O||L).forEach((B,j)=>{const M=O&&R(O[j]),D=L&&R(L[j]);vr(M,D)!==0&&(M!=null&&F(M),D!=null&&F(D))})}A.indexes.forEach(I)}(m,o,x,$)}else if(_){const x={from:_.lower,to:_.upper};v.add(x),w.add(x)}else w.add(r),v.add(r),o.indexes.forEach(x=>m(x.name).add(r));return k})}},f=({query:{index:d,range:h}})=>{var g,m;return[d,new qa((g=h.lower)!==null&&g!==void 0?g:e.MIN_KEY,(m=h.upper)!==null&&m!==void 0?m:e.MAX_KEY)]},c={get:d=>[i,new qa(d.key)],getMany:d=>[i,new qa().addKeys(d.keys)],count:f,query:f,openCursor:f};return kt(c).forEach(d=>{u[d]=function(h){const{subscr:g}=ce;if(g){const m=$=>{const C=`idb://${t}/${n}/${$}`;return g[C]||(g[C]=new qa)},w=m(""),v=m(":dels"),[b,_]=c[d](h);if(m(b.name||"").add(_),!b.isPrimaryKey){if(d!=="count"){const $=d==="query"&&l&&h.values&&a.query({...h,values:!1});return a[d].apply(this,arguments).then(C=>{if(d==="query"){if(l&&h.values)return $.then(({result:x})=>(w.addKeys(x),C));const k=h.values?C.result.map(s):C.result;h.values?w.addKeys(k):v.addKeys(k)}else if(d==="openCursor"){const k=C,x=h.values;return k&&Object.create(k,{key:{get:()=>(v.addKey(k.primaryKey),k.key)},primaryKey:{get(){const S=k.primaryKey;return v.addKey(S),S}},value:{get:()=>(x&&w.addKey(k.primaryKey),k.value)}})}return C})}v.add(r)}}return a[d].apply(this,arguments)}}),u}}}};class Us{constructor(t,r){this._middlewares={},this.verno=0;const n=Us.dependencies;this._options=r={addons:Us.addons,autoOpen:!0,indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange,...r},this._deps={indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange};const{addons:a}=r;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const o={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Ke,dbReadyPromise:null,cancelOpen:Ke,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var i;o.dbReadyPromise=new ae(s=>{o.dbReadyResolve=s}),o.openCanceller=new ae((s,l)=>{o.cancelOpen=l}),this._state=o,this.name=t,this.on=ef(this,"populate","blocked","versionchange","close",{ready:[pE,Ke]}),this.on.ready.subscribe=XL(this.on.ready.subscribe,s=>(l,u)=>{Us.vip(()=>{const f=this._state;if(f.openComplete)f.dbOpenError||ae.resolve().then(l),u&&s(l);else if(f.onReadyBeingFired)f.onReadyBeingFired.push(l),u&&s(l);else{s(l);const c=this;u||s(function d(){c.on.ready.unsubscribe(l),c.on.ready.unsubscribe(d)})}})}),this.Collection=(i=this,ld(kX.prototype,function(s,l){this.db=i;let u=gM,f=null;if(l)try{u=l()}catch(g){f=g}const c=s._ctx,d=c.table,h=d.hook.reading.fire;this._ctx={table:d,index:c.index,isPrimKey:!c.index||d.schema.primKey.keyPath&&c.index===d.schema.primKey.name,range:u,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:f,or:c.or,valueMapper:h!==jf?h:null}})),this.Table=function(s){return ld(RX.prototype,function(l,u,f){this.db=s,this._tx=f,this.name=l,this.schema=u,this.hook=s._allTables[l]?s._allTables[l].hook:ef(null,{creating:[mX,Ke],reading:[vX,jf],updating:[bX,Ke],deleting:[yX,Ke]})})}(this),this.Transaction=function(s){return ld(NX.prototype,function(l,u,f,c,d){this.db=s,this.mode=l,this.storeNames=u,this.schema=f,this.chromeTransactionDurability=c,this.idbtrans=null,this.on=ef(this,"complete","error","abort"),this.parent=d||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new ae((h,g)=>{this._resolve=h,this._reject=g}),this._completion.then(()=>{this.active=!1,this.on.complete.fire()},h=>{var g=this.active;return this.active=!1,this.on.error.fire(h),this.parent?this.parent._reject(h):g&&this.idbtrans&&this.idbtrans.abort(),Mt(h)})})}(this),this.Version=function(s){return ld(FX.prototype,function(l){this.db=s,this._cfg={version:l,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}(this),this.WhereClause=function(s){return ld(mM.prototype,function(l,u,f){this.db=s,this._ctx={table:l,index:u===":id"?null:u,or:f};const c=s._deps.indexedDB;if(!c)throw new fe.MissingAPI;this._cmp=this._ascending=c.cmp.bind(c),this._descending=(d,h)=>c.cmp(h,d),this._max=(d,h)=>c.cmp(d,h)>0?d:h,this._min=(d,h)=>c.cmp(d,h)<0?d:h,this._IDBKeyRange=s._deps.IDBKeyRange})}(this),this.on("versionchange",s=>{s.newVersion>0,this.close()}),this.on("blocked",s=>{!s.newVersion||s.newVersionnew this.Transaction(s,l,u,this._options.chromeTransactionDurability,f),this._fireOnBlocked=s=>{this.on("blocked").fire(s),Jd.filter(l=>l.name===this.name&&l!==this&&!l._state.vcFired).map(l=>l.on("versionchange").fire(s))},this.use(VX),this.use(WX),this.use(KX),this.use(HX),this.vip=Object.create(this,{_vip:{value:!0}}),a.forEach(s=>s(this))}version(t){if(isNaN(t)||t<.1)throw new fe.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new fe.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);const r=this._versions;var n=r.filter(a=>a._cfg.version===t)[0];return n||(n=new this.Version(t),r.push(n),r.sort(DX),n.stores({}),this._state.autoSchema=!1,n)}_whenReady(t){return this.idbdb&&(this._state.openComplete||ce.letThrough||this._vip)?t():new ae((r,n)=>{if(this._state.openComplete)return n(new fe.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void n(new fe.DatabaseClosed);this.open().catch(Ke)}this._state.dbReadyPromise.then(r,n)}).then(t)}use({stack:t,create:r,level:n,name:a}){a&&this.unuse({stack:t,name:a});const o=this._middlewares[t]||(this._middlewares[t]=[]);return o.push({stack:t,create:r,level:n??10,name:a}),o.sort((i,s)=>i.level-s.level),this}unuse({stack:t,name:r,create:n}){return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter(a=>n?a.create!==n:!!r&&a.name!==r)),this}open(){return UX(this)}_close(){const t=this._state,r=Jd.indexOf(this);if(r>=0&&Jd.splice(r,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}t.dbReadyPromise=new ae(n=>{t.dbReadyResolve=n}),t.openCanceller=new ae((n,a)=>{t.cancelOpen=a})}close(){this._close();const t=this._state;this._options.autoOpen=!1,t.dbOpenError=new fe.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)}delete(){const t=arguments.length>0,r=this._state;return new ae((n,a)=>{const o=()=>{this.close();var i=this._deps.indexedDB.deleteDatabase(this.name);i.onsuccess=ot(()=>{(function({indexedDB:s,IDBKeyRange:l},u){!bE(s)&&u!=="__dbnames"&&yE(s,l).delete(u).catch(Ke)})(this._deps,this.name),n()}),i.onerror=pa(a),i.onblocked=this._fireOnBlocked};if(t)throw new fe.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(o):o()})}backendDB(){return this.idbdb}isOpen(){return this.idbdb!==null}hasBeenClosed(){const t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"}hasFailed(){return this._state.dbOpenError!==null}dynamicallyOpened(){return this._state.autoSchema}get tables(){return kt(this._allTables).map(t=>this._allTables[t])}transaction(){const t=zX.apply(this,arguments);return this._transaction.apply(this,t)}_transaction(t,r,n){let a=ce.trans;a&&a.db===this&&t.indexOf("!")===-1||(a=null);const o=t.indexOf("?")!==-1;let i,s;t=t.replace("!","").replace("?","");try{if(s=r.map(u=>{var f=u instanceof this.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t==="readonly")i="readonly";else{if(t!="rw"&&t!="readwrite")throw new fe.InvalidArgument("Invalid transaction mode: "+t);i="readwrite"}if(a){if(a.mode==="readonly"&&i==="readwrite"){if(!o)throw new fe.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");a=null}a&&s.forEach(u=>{if(a&&a.storeNames.indexOf(u)===-1){if(!o)throw new fe.SubTransaction("Table "+u+" not included in parent transaction.");a=null}}),o&&a&&!a.active&&(a=null)}}catch(u){return a?a._promise(null,(f,c)=>{c(u)}):Mt(u)}const l=_M.bind(null,this,i,s,a,n);return a?a._promise(i,l,"lock"):ce.trans?yu(ce.transless,()=>this._whenReady(l)):this._whenReady(l)}table(t){if(!an(this._allTables,t))throw new fe.InvalidTable(`Table ${t} does not exist`);return this._allTables[t]}}const qX=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable";class YX{constructor(t){this._subscribe=t}subscribe(t,r,n){return this._subscribe(t&&typeof t!="function"?t:{next:t,error:r,complete:n})}[qX](){return this}}function xM(e,t){return kt(t).forEach(r=>{cm(e[r]||(e[r]=new qa),t[r])}),e}function XX(e){return new YX(t=>{const r=dE(e);let n=!1,a={},o={};const i={get closed(){return n},unsubscribe:()=>{n=!0,ji.storagemutated.unsubscribe(f)}};t.start&&t.start(i);let s=!1,l=!1;function u(){return kt(o).some(d=>a[d]&&GX(a[d],o[d]))}const f=d=>{xM(a,d),u()&&c()},c=()=>{if(s||n)return;a={};const d={},h=function(g){r&&mu();const m=()=>Mi(e,{subscr:g,trans:null}),w=ce.trans?yu(ce.transless,m):m();return r&&w.then(wo,wo),w}(d);l||(ji("storagemutated",f),l=!0),s=!0,Promise.resolve(h).then(g=>{s=!1,n||(u()?c():(a={},o=d,t.next&&t.next(g)))},g=>{s=!1,t.error&&t.error(g),i.unsubscribe()})};return c(),i})}let Z$;try{Z$={indexedDB:tt.indexedDB||tt.mozIndexedDB||tt.webkitIndexedDB||tt.msIndexedDB,IDBKeyRange:tt.IDBKeyRange||tt.webkitIDBKeyRange}}catch{Z$={indexedDB:null,IDBKeyRange:null}}const cs=Us;function lv(e){let t=to;try{to=!0,ji.storagemutated.fire(e)}finally{to=t}}Hc(cs,{...rv,delete:e=>new cs(e,{addons:[]}).delete(),exists:e=>new cs(e,{addons:[]}).open().then(t=>(t.close(),!0)).catch("NoSuchDatabaseError",()=>!1),getDatabaseNames(e){try{return function({indexedDB:t,IDBKeyRange:r}){return bE(t)?Promise.resolve(t.databases()).then(n=>n.map(a=>a.name).filter(a=>a!=="__dbnames")):yE(t,r).toCollection().primaryKeys()}(cs.dependencies).then(e)}catch{return Mt(new fe.MissingAPI)}},defineClass:()=>function(e){br(this,e)},ignoreTransaction:e=>ce.trans?yu(ce.transless,e):e(),vip:q$,async:function(e){return function(){try{var t=Y$(e.apply(this,arguments));return t&&typeof t.then=="function"?t:ae.resolve(t)}catch(r){return Mt(r)}}},spawn:function(e,t,r){try{var n=Y$(e.apply(r,t||[]));return n&&typeof n.then=="function"?n:ae.resolve(n)}catch(a){return Mt(a)}},currentTransaction:{get:()=>ce.trans||null},waitFor:function(e,t){const r=ae.resolve(typeof e=="function"?cs.ignoreTransaction(e):e).timeout(t||6e4);return ce.trans?ce.trans.waitFor(r):r},Promise:ae,debug:{get:()=>ka,set:e=>{rM(e,e==="dexie"?()=>!0:pM)}},derive:wc,extend:br,props:Hc,override:XL,Events:ef,on:ji,liveQuery:XX,extendObservabilitySet:xM,getByKeyPath:io,setByKeyPath:aa,delByKeyPath:function(e,t){typeof t=="string"?aa(e,t,void 0):"length"in t&&[].map.call(t,function(r){aa(e,r,void 0)})},shallowClone:JL,deepClone:mh,getObjectDiff:wE,cmp:vr,asap:ZL,minKey:-(1/0),addons:[],connections:Jd,errnames:hE,dependencies:Z$,semVer:"3.2.3",version:"3.2.3".split(".").map(e=>parseInt(e)).reduce((e,t,r)=>e+t/Math.pow(10,2*r))}),cs.maxKey=Uf(cs.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(ji("storagemutated",e=>{if(!to){let t;P0?(t=document.createEvent("CustomEvent"),t.initCustomEvent("x-storagemutated-1",!0,!0,e)):t=new CustomEvent("x-storagemutated-1",{detail:e}),to=!0,dispatchEvent(t),to=!1}}),addEventListener("x-storagemutated-1",({detail:e})=>{to||lv(e)}));let to=!1;if(typeof BroadcastChannel<"u"){const e=new BroadcastChannel("x-storagemutated-1");typeof e.unref=="function"&&e.unref(),ji("storagemutated",t=>{to||e.postMessage(t)}),e.onmessage=t=>{t.data&&lv(t.data)}}else if(typeof self<"u"&&typeof navigator<"u"){ji("storagemutated",t=>{try{to||(typeof localStorage<"u"&&localStorage.setItem("x-storagemutated-1",JSON.stringify({trig:Math.random(),changedParts:t})),typeof self.clients=="object"&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach(r=>r.postMessage({type:"x-storagemutated-1",changedParts:t})))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",t=>{if(t.key==="x-storagemutated-1"){const r=JSON.parse(t.newValue);r&&lv(r.changedParts)}});const e=self.document&&navigator.serviceWorker;e&&e.addEventListener("message",function({data:t}){t&&t.type==="x-storagemutated-1"&&lv(t.changedParts)})}ae.rejectionMapper=function(e,t){if(!e||e instanceof _c||e instanceof TypeError||e instanceof SyntaxError||!e.name||!c4[e.name])return e;var r=new c4[e.name](t||e.message,e);return"stack"in e&&oo(r,"stack",{get:function(){return this.inner.stack}}),r},rM(ka,pM);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class ZX extends Us{constructor(){super("RecordDB"),this.version(1).stores({wordRecords:"++id,word,timeStamp,dict,chapter,errorCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]"}),this.version(2).stores({wordRecords:"++id,word,timeStamp,dict,chapter,wrongCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]"}),this.version(3).stores({wordRecords:"++id,word,timeStamp,dict,chapter,wrongCount,[dict+chapter]",chapterRecords:"++id,timeStamp,dict,chapter,time,[dict+chapter]",reviewRecords:"++id,dict,createTime,isFinished"})}}const Ot=new ZX;Ot.wordRecords.mapToClass(GL);Ot.chapterRecords.mapToClass(KL);Ot.reviewRecords.mapToClass(qL);function QX(){const e=oe(Nn),t=oe(Qi),r=oe(wh);return p.useCallback(a=>{const{chapterData:{correctCount:o,wrongCount:i,userInputLogs:s,wordCount:l,words:u,wordRecordIds:f},timerData:{time:c}}=a,d=s.filter(g=>g.correctCount>0&&g.wrongCount===0).map(g=>g.index),h=new KL(r,t?-1:e,c,o,i,l,d,u.length,f??[]);Ot.chapterRecords.add(h)},[e,r,t])}function JX(){const e=oe(Qi),t=oe(Nn),r=oe(wh),{dispatch:n}=p.useContext(Sr)??{};return p.useCallback(async({word:o,wrongCount:i,letterTimeArray:s,letterMistake:l})=>{const u=[];for(let d=1;d0&&n({type:De.ADD_WORD_RECORD_ID,payload:c}),n({type:De.SET_IS_SAVING_RECORD,payload:!1}))},[t,r,n,e])}function eZ(){return{deleteWordRecord:p.useCallback(async(t,r)=>{try{return await Ot.wordRecords.where({word:t,dict:r}).delete()}catch{}},[])}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Fje(e){const[t,r]=p.useState(void 0);return p.useEffect(()=>{e&&(async()=>{const a=await tZ(e);r(a)})()},[e]),t}async function tZ(e){const r=(await Ot.reviewRecords.where("dict").equals(e).toArray()).sort((n,a)=>n.createTime-a.createTime).pop();return r&&(r.isFinished?void 0:r)}async function Bje(e,t){const r=[...t].sort((u,f)=>u.errorCount-f.errorCount),n=[...t].sort((u,f)=>u.latestErrorTime-f.latestErrorTime),a=t.map(u=>({...u,errorCountScore:r.indexOf(u)+1,latestErrorTimeScore:n.indexOf(u)+1})),o=.6,i=.4,s=a.sort((u,f)=>{const c=u.errorCountScore*o+u.latestErrorTimeScore*i,d=f.errorCountScore*o+f.latestErrorTimeScore*i;return c-d}).map(u=>u.originData),l=new qL(e,s);return await Ot.reviewRecords.put(l),l}async function rZ(e){Ot.reviewRecords.put(e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function nZ(e){const t=Ra("reviewModeInfo",e);return t.debugLabel="storageAtom",rn(r=>r(t),(r,n,a)=>{var i;const o=typeof a=="function"?a(r(t)):a;(i=o.reviewRecord)!=null&&i.id&&rZ(o.reviewRecord),n(t,o)})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Q$="/qwerty-learner/sounds/",J$=Q$+"key-sound/",aZ=Object.assign({"../../public/sounds/key-sound/Alpacas.mp3":()=>Je(()=>import("./Alpacas-22644f47.js"),[],import.meta.url),"../../public/sounds/key-sound/Buckling Spring.mp3":()=>Je(()=>import("./Buckling Spring-2ef27aab.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Blacks.mp3":()=>Je(()=>import("./Cherry MX Blacks-346ecd94.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Blues.mp3":()=>Je(()=>import("./Cherry MX Blues-40d28f11.js"),[],import.meta.url),"../../public/sounds/key-sound/Cherry MX Browns.mp3":()=>Je(()=>import("./Cherry MX Browns-d5c758bb.js"),[],import.meta.url),"../../public/sounds/key-sound/Default.wav":()=>Je(()=>import("./Default-9121092f.js"),[],import.meta.url),"../../public/sounds/key-sound/Gateron Black Inks.mp3":()=>Je(()=>import("./Gateron Black Inks-60ade530.js"),[],import.meta.url),"../../public/sounds/key-sound/Gateron Red Inks.mp3":()=>Je(()=>import("./Gateron Red Inks-d0547f26.js"),[],import.meta.url),"../../public/sounds/key-sound/Holy Pandas.mp3":()=>Je(()=>import("./Holy Pandas-b28a824f.js"),[],import.meta.url),"../../public/sounds/key-sound/Kailh Box Navies.mp3":()=>Je(()=>import("./Kailh Box Navies-f6855634.js"),[],import.meta.url),"../../public/sounds/key-sound/NovelKeys Creams.mp3":()=>Je(()=>import("./NovelKeys Creams-f19f71f3.js"),[],import.meta.url),"../../public/sounds/key-sound/SKCM Blue Alps.mp3":()=>Je(()=>import("./SKCM Blue Alps-db6e3fb5.js"),[],import.meta.url),"../../public/sounds/key-sound/Topre.mp3":()=>Je(()=>import("./Topre-b391b916.js"),[],import.meta.url),"../../public/sounds/key-sound/Turquoise Tealios.mp3":()=>Je(()=>import("./Turquoise Tealios-0503a45d.js"),[],import.meta.url)}),xc=Object.keys(aZ).map(e=>{const t=e.replace(/(.*\/)*([^.]+).*/gi,"$2"),r=e.substring(e.lastIndexOf("."));return{key:t,name:`${t}`,filename:`${t}${r}`}}).sort((e,t)=>e.key==="Default"?-1:t.key==="Default"?1:e.key.localeCompare(t.key)),oZ=[{key:"1",name:"声音1",filename:"beep.wav"}],iZ=[{key:"1",name:"声音1",filename:"correct.wav"}],b4={en:{defaultPronIndex:0,pronunciation:[{name:"美音",pron:"us"},{name:"英音",pron:"uk"}]},code:{defaultPronIndex:0,pronunciation:[{name:"美音",pron:"us"},{name:"英音",pron:"uk"}]},de:{defaultPronIndex:0,pronunciation:[{name:"德语",pron:"de"}]},romaji:{defaultPronIndex:0,pronunciation:[{name:"罗马音",pron:"romaji"}]},hapin:{defaultPronIndex:0,pronunciation:[{name:"哈拼",pron:"hapin"}]},zh:{defaultPronIndex:0,pronunciation:[{name:"普通话",pron:"zh"}]},ja:{defaultPronIndex:0,pronunciation:[{name:"日语",pron:"ja"}]},kk:{defaultPronIndex:0,pronunciation:[{name:"哈萨克语",pron:"kk"}]},id:{defaultPronIndex:0,pronunciation:[{name:"印尼语",pron:"id"}]}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentDictIdAtom",Ra("currentDict","cet4"));wh.debugLabel="currentDictIdAtom";const wr=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentDictInfoAtom",rn(e=>{const t=e(wh);let r=Hf[t];return r||(r=Hf.cet4),r}));wr.debugLabel="currentDictInfoAtom";const Nn=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/currentChapterAtom",Ra("currentChapter",0));Nn.debugLabel="currentChapterAtom";const SM=Zi("loopWordConfig",{times:1}),Gc=Zi("keySoundsConfig",{isOpen:!0,isOpenClickSound:!0,volume:1,resource:xc[0]}),$E=Zi("hintSoundsConfig",{isOpen:!0,volume:1,isOpenWrongSound:!0,isOpenCorrectSound:!0,wrongResource:oZ[0],correctResource:iZ[0]}),ko=Zi("pronunciation",{isOpen:!0,volume:1,type:"us",name:"美音",isLoop:!1,isTransRead:!1,transVolume:1,rate:1}),xE=Zi("fontsize",HL),EM=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/pronunciationIsOpenAtom",rn(e=>e(ko).isOpen));EM.debugLabel="pronunciationIsOpenAtom";const sZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/pronunciationIsTransReadAtom",rn(e=>e(ko).isTransRead));sZ.debugLabel="pronunciationIsTransReadAtom";const bu=Zi("randomConfig",{isOpen:!1}),SE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowPrevAndNextWordAtom",Ra("isShowPrevAndNextWord",!0));SE.debugLabel="isShowPrevAndNextWordAtom";const EE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isIgnoreCaseAtom",Ra("isIgnoreCase",!0));EE.debugLabel="isIgnoreCaseAtom";const CE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowAnswerOnHoverAtom",Ra("isShowAnswerOnHover",!0));CE.debugLabel="isShowAnswerOnHoverAtom";const _h=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isTextSelectableAtom",Ra("isTextSelectable",!1));_h.debugLabel="isTextSelectableAtom";const $h=nZ({isReviewMode:!1,reviewRecord:void 0}),Qi=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isReviewModeAtom",rn(e=>e($h).isReviewMode));Qi.debugLabel="isReviewModeAtom";const xh=Zi("phoneticConfig",{isOpen:!0,type:"us"}),Sh=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isOpenDarkModeAtom",Ra("isOpenDarkModeAtom",window.matchMedia("(prefers-color-scheme: dark)").matches));Sh.debugLabel="isOpenDarkModeAtom";const lZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isShowSkipAtom",rn(!1));lZ.debugLabel="isShowSkipAtom";const cZ=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/isInDevModeAtom",rn(!1));cZ.debugLabel="isInDevModeAtom";const TE=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/infoPanelStateAtom",rn({donate:!1,vsc:!1,community:!1,redBook:!1}));TE.debugLabel="infoPanelStateAtom";const I0=Zi("wordDictationConfig",{isOpen:!1,type:"hideAll",openBy:"auto"}),CM=globalThis.jotaiAtomCache.get("/home/runner/work/qwerty-learner/qwerty-learner/src/store/index.ts/dismissStartCardDateAtom",Ra(WL,null));CM.debugLabel="dismissStartCardDateAtom";var so={DEBUG:!1,LIB_VERSION:"2.47.0"},dt;if(typeof window>"u"){var w4={hostname:""};dt={navigator:{userAgent:""},document:{location:w4,referrer:""},screen:{width:0,height:0},location:w4}}else dt=window;var N0=Array.prototype,uZ=Function.prototype,TM=Object.prototype,ci=N0.slice,Eh=TM.toString,L0=TM.hasOwnProperty,At=dt.console,ui=dt.navigator,qe=dt.document,Kp=dt.opera,um=dt.screen,ga=ui.userAgent,H1=uZ.bind,_4=N0.forEach,$4=N0.indexOf,x4=N0.map,dZ=Array.isArray,e2={},T={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Ge={log:function(){if(so.DEBUG&&!T.isUndefined(At)&&At)try{At.log.apply(At,arguments)}catch{T.each(arguments,function(t){At.log(t)})}},warn:function(){if(so.DEBUG&&!T.isUndefined(At)&&At){var e=["Mixpanel warning:"].concat(T.toArray(arguments));try{At.warn.apply(At,e)}catch{T.each(e,function(r){At.warn(r)})}}},error:function(){if(so.DEBUG&&!T.isUndefined(At)&&At){var e=["Mixpanel error:"].concat(T.toArray(arguments));try{At.error.apply(At,e)}catch{T.each(e,function(r){At.error(r)})}}},critical:function(){if(!T.isUndefined(At)&&At){var e=["Mixpanel error:"].concat(T.toArray(arguments));try{At.error.apply(At,e)}catch{T.each(e,function(r){At.error(r)})}}}},G1=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Ge,arguments)}},AE=function(e){return{log:G1(Ge.log,e),error:G1(Ge.error,e),critical:G1(Ge.critical,e)}};T.bind=function(e,t){var r,n;if(H1&&e.bind===H1)return H1.apply(e,ci.call(arguments,1));if(!T.isFunction(e))throw new TypeError;return r=ci.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(ci.call(arguments)));var a={};a.prototype=e.prototype;var o=new a;a.prototype=null;var i=e.apply(o,r.concat(ci.call(arguments)));return Object(i)===i?i:o},n};T.each=function(e,t,r){if(e!=null){if(_4&&e.forEach===_4)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,a=e.length;n0&&(t[n]=r)}),t};T.truncate=function(e,t){var r;return typeof e=="string"?r=e.slice(0,t):T.isArray(e)?(r=[],T.each(e,function(n){r.push(T.truncate(n,t))})):T.isObject(e)?(r={},T.each(e,function(n,a){r[a]=T.truncate(n,t)})):r=e,r};T.JSONEncode=function(){return function(e){var t=e,r=function(a){var o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(a)?'"'+a.replace(o,function(s){var l=i[s];return typeof l=="string"?l:"\\u"+("0000"+s.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},n=function(a,o){var i="",s=" ",l=0,u="",f="",c=0,d=i,h=[],g=o[a];switch(g&&typeof g=="object"&&typeof g.toJSON=="function"&&(g=g.toJSON(a)),typeof g){case"string":return r(g);case"number":return isFinite(g)?String(g):"null";case"boolean":case"null":return String(g);case"object":if(!g)return"null";if(i+=s,h=[],Eh.apply(g)==="[object Array]"){for(c=g.length,l=0;l="0"&&t<="9";)g+=t,o();if(t===".")for(g+=".";o()&&t>="0"&&t<="9";)g+=t;if(t==="e"||t==="E")for(g+=t,o(),(t==="-"||t==="+")&&(g+=t,o());t>="0"&&t<="9";)g+=t,o();if(h=+g,!isFinite(h))a("Bad number");else return h},s=function(){var h,g,m="",w;if(t==='"')for(;o();){if(t==='"')return o(),m;if(t==="\\")if(o(),t==="u"){for(w=0,g=0;g<4&&(h=parseInt(o(),16),!!isFinite(h));g+=1)w=w*16+h;m+=String.fromCharCode(w)}else if(typeof r[t]=="string")m+=r[t];else break;else m+=t}a("Bad string")},l=function(){for(;t&&t<=" ";)o()},u=function(){switch(t){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}a('Unexpected "'+t+'"')},f,c=function(){var h=[];if(t==="["){if(o("["),l(),t==="]")return o("]"),h;for(;t;){if(h.push(f()),l(),t==="]")return o("]"),h;o(","),l()}}a("Bad array")},d=function(){var h,g={};if(t==="{"){if(o("{"),l(),t==="}")return o("}"),g;for(;t;){if(h=s(),l(),o(":"),Object.hasOwnProperty.call(g,h)&&a('Duplicate key "'+h+'"'),g[h]=f(),l(),t==="}")return o("}"),g;o(","),l()}}a("Bad object")};return f=function(){switch(l(),t){case"{":return d();case"[":return c();case'"':return s();case"-":return i();default:return t>="0"&&t<="9"?i():u()}},function(h){var g;return n=h,e=0,t=" ",g=f(),l(),t&&a("Syntax error"),g}}();T.base64Encode=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,n,a,o,i,s,l,u,f=0,c=0,d="",h=[];if(!e)return e;e=T.utf8Encode(e);do r=e.charCodeAt(f++),n=e.charCodeAt(f++),a=e.charCodeAt(f++),u=r<<16|n<<8|a,o=u>>18&63,i=u>>12&63,s=u>>6&63,l=u&63,h[c++]=t.charAt(o)+t.charAt(i)+t.charAt(s)+t.charAt(l);while(f127&&i<2048?s=String.fromCharCode(i>>6|192,i&63|128):s=String.fromCharCode(i>>12|224,i>>6&63|128,i&63|128),s!==null&&(n>r&&(t+=e.substring(r,n)),t+=s,r=n=o+1)}return n>r&&(t+=e.substring(r,e.length)),t};T.UUID=function(){var e=function(){var n=1*new Date,a;if(dt.performance&&dt.performance.now)a=dt.performance.now();else for(a=0;n==1*new Date;)a++;return n.toString(16)+Math.floor(a).toString(16)},t=function(){return Math.random().toString(16).replace(".","")},r=function(){var n=ga,a,o,i=[],s=0;function l(u,f){var c,d=0;for(c=0;c=4&&(s=l(s,i),i=[]);return i.length>0&&(s=l(s,i)),s.toString(16)};return function(){var n=(um.height*um.width).toString(16);return e()+"-"+t()+"-"+r()+"-"+n+"-"+e()}}();var S4=["ahrefsbot","baiduspider","bingbot","bingpreview","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];T.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t=0}function n(a){if(!qe.getElementsByTagName)return[];var o=a.split(" "),i,s,l,u,f,c,d,h,g,m,w=[qe];for(c=0;c-1){s=i.split("#"),l=s[0];var v=s[1],b=qe.getElementById(v);if(!b||l&&b.nodeName.toLowerCase()!=l)return[];w=[b];continue}if(i.indexOf(".")>-1){s=i.split("."),l=s[0];var _=s[1];for(l||(l="*"),u=[],f=0,d=0;d-1};break;default:S=function(A){return A.getAttribute(C)}}for(w=[],m=0,d=0;d=3?t[2]:""},properties:function(){return T.extend(T.strip_empty_properties({$os:T.info.os(),$browser:T.info.browser(ga,ui.vendor,Kp),$referrer:qe.referrer,$referring_domain:T.info.referringDomain(qe.referrer),$device:T.info.device(ga)}),{$current_url:dt.location.href,$browser_version:T.info.browserVersion(ga,ui.vendor,Kp),$screen_height:um.height,$screen_width:um.width,mp_lib:"web",$lib_version:io.LIB_VERSION,$insert_id:RE(),time:T.timestamp()/1e3})},people_properties:function(){return T.extend(T.strip_empty_properties({$os:T.info.os(),$browser:T.info.browser(ga,ui.vendor,Kp)}),{$browser_version:T.info.browserVersion(ga,ui.vendor,Kp)})},mpPageViewProperties:function(){return T.strip_empty_properties({current_page_title:qe.title,current_domain:dt.location.hostname,current_url_path:dt.location.pathname,current_url_protocol:dt.location.protocol,current_url_search:dt.location.search})}};var RE=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},pZ=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,gZ=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,E4=function(e){var t=gZ,r=e.split("."),n=r[r.length-1];(n.length>4||n==="com"||n==="org")&&(t=pZ);var a=e.match(t);return a?a[0]:""},fm=null,hm=null;typeof JSON<"u"&&(fm=JSON.stringify,hm=JSON.parse);fm=fm||T.JSONEncode;hm=hm||T.JSONDecode;T.toArray=T.toArray;T.isObject=T.isObject;T.JSONEncode=T.JSONEncode;T.JSONDecode=T.JSONDecode;T.isBlockedUA=T.isBlockedUA;T.isEmptyObject=T.isEmptyObject;T.info=T.info;T.info.device=T.info.device;T.info.browser=T.info.browser;T.info.browserVersion=T.info.browserVersion;T.info.properties=T.info.properties;var Oo=function(){};Oo.prototype.create_properties=function(){};Oo.prototype.event_handler=function(){};Oo.prototype.after_track_handler=function(){};Oo.prototype.init=function(e){return this.mp=e,this};Oo.prototype.track=function(e,t,r,n){var a=this,o=T.dom_query(e);if(o.length===0){Ge.error("The DOM query ("+e+") returned 0 elements");return}return T.each(o,function(i){T.register_event(i,this.override_event,function(s){var l={},u=a.create_properties(r,this),f=a.mp.get_config("track_links_timeout");a.event_handler(s,this,l),window.setTimeout(a.track_callback(n,u,l,!0),f),a.mp.track(t,u,a.track_callback(n,u,l))})},this),!0};Oo.prototype.track_callback=function(e,t,r,n){n=n||!1;var a=this;return function(){r.callback_fired||(r.callback_fired=!0,!(e&&e(n,t)===!1)&&a.after_track_handler(t,r,n))}};Oo.prototype.create_properties=function(e,t){var r;return typeof e=="function"?r=e(t):r=T.extend({},e),r};var Gc=function(){this.override_event="click"};T.inherit(Gc,Oo);Gc.prototype.create_properties=function(e,t){var r=Gc.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r};Gc.prototype.event_handler=function(e,t,r){r.new_tab=e.which===2||e.metaKey||e.ctrlKey||t.target==="_blank",r.href=t.href,r.new_tab||e.preventDefault()};Gc.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var M0=function(){this.override_event="submit"};T.inherit(M0,Oo);M0.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()};M0.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var vZ=AE("lock"),AM=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3};AM.prototype.withLock=function(e,t,r){!r&&typeof t!="function"&&(r=t,t=null);var n=r||new Date().getTime()+"|"+Math.random(),a=new Date().getTime(),o=this.storageKey,i=this.pollIntervalMS,s=this.timeoutMS,l=this.storage,u=o+":X",f=o+":Y",c=o+":Z",d=function(b){t&&t(b)},h=function(b){if(new Date().getTime()-a>s){vZ.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+n+"]"),l.removeItem(c),l.removeItem(f),w();return}setTimeout(function(){try{b()}catch(_){d(_)}},i*(Math.random()+.1))},g=function(b,_){b()?_():h(function(){g(b,_)})},m=function(){var b=l.getItem(f);if(b&&b!==n)return!1;if(l.setItem(f,n),l.getItem(f)===n)return!0;if(!dm(l,!0))throw new Error("localStorage support dropped while acquiring lock");return!1},w=function(){l.setItem(u,n),g(m,function(){if(l.getItem(u)===n){v();return}h(function(){if(l.getItem(f)!==n){w();return}g(function(){return!l.getItem(c)},v)})})},v=function(){l.setItem(c,"1");try{e()}finally{l.removeItem(c),l.getItem(f)===n&&l.removeItem(f),l.getItem(u)===n&&l.removeItem(u)}};try{if(dm(l,!0))w();else throw new Error("localStorage support check failed")}catch(b){d(b)}};var C4=AE("batch"),Ji=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.reportError=t.errorReporter||T.bind(C4.error,C4),this.lock=new AM(e,{storage:this.storage}),this.pid=t.pid||null,this.memQueue=[]};Ji.prototype.enqueue=function(e,t,r){var n={id:RE(),flushAfter:new Date().getTime()+t*2,payload:e};this.lock.withLock(T.bind(function(){var o;try{var i=this.readFromStorage();i.push(n),o=this.saveToStorage(i),o&&this.memQueue.push(n)}catch{this.reportError("Error enqueueing item",e),o=!1}r&&r(o)},this),T.bind(function(o){this.reportError("Error acquiring storage lock",o),r&&r(!1)},this),this.pid)};Ji.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);if(t.lengtho.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}}return t};var T4=function(e,t){var r=[];return T.each(e,function(n){n.id&&!t[n.id]&&r.push(n)}),r};Ji.prototype.removeItemsByID=function(e,t){var r={};T.each(e,function(a){r[a]=!0}),this.memQueue=T4(this.memQueue,r);var n=T.bind(function(){var a;try{var o=this.readFromStorage();if(o=T4(o,r),a=this.saveToStorage(o),a){o=this.readFromStorage();for(var i=0;i5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:u,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[d]}),c=!1):this.reportError("[dupe] found item with no ID",{item:u}),c&&o.push(f)}i[u.id]=f},this),o.length<1){this.resetFlush();return}this.requestInProgress=!0;var s=T.bind(function(u){this.requestInProgress=!1;try{var f=!1;if(e.unloading)this.queue.updatePayloads(i);else if(T.isObject(u)&&u.error==="timeout"&&new Date().getTime()-r>=t)this.reportError("Network timeout; retrying"),this.flush();else if(T.isObject(u)&&u.xhr_req&&(u.xhr_req.status>=500||u.xhr_req.status===429||u.error==="timeout")){var c=this.flushInterval*2,d=u.xhr_req.responseHeaders;if(d){var h=d["Retry-After"];h&&(c=parseInt(h,10)*1e3||c)}c=Math.min(mZ,c),this.reportError("Error; retry in "+c+" ms"),this.scheduleFlush(c)}else if(T.isObject(u)&&u.xhr_req&&u.xhr_req.status===413)if(a.length>1){var g=Math.max(1,Math.floor(n/2));this.batchSize=Math.min(this.batchSize,g,a.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",a),this.resetBatchSize(),f=!0;else f=!0;f&&(this.queue.removeItemsByID(T.map(a,function(m){return m.id}),T.bind(function(m){m?(this.consecutiveRemovalFailures=0,this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())},this)),T.each(a,T.bind(function(m){var w=m.id;w?(this.itemIdsSentSuccessfully[w]=this.itemIdsSentSuccessfully[w]||0,this.itemIdsSentSuccessfully[w]++,this.itemIdsSentSuccessfully[w]>5&&this.reportError("[dupe] item ID sent too many times",{item:m,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[w]})):this.reportError("[dupe] found item with no ID while removing",{item:m})},this)))}catch(m){this.reportError("Error handling API response",m),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};e.unloading&&(l.transport="sendBeacon"),rf.log("MIXPANEL REQUEST:",o),this.sendRequest(o,l,s)}catch(u){this.reportError("Error flushing request queue",u),this.resetFlush()}};ka.prototype.reportError=function(e,t){if(rf.error.apply(rf.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(r){rf.error(r)}};var yZ="__mp_opt_in_out_";function bZ(e,t){kM(!0,e,t)}function wZ(e,t){kM(!1,e,t)}function _Z(e,t){return OM(e,t)==="1"}function RM(e,t){if(xZ(t))return Ge.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r=OM(e,t)==="0";return r&&Ge.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function bu(e){return PE(e,function(t){return this.get_config(t)})}function es(e){return PE(e,function(t){return this._get_config(t)})}function wu(e){return PE(e,function(t){return this._get_config(t)})}function $Z(e,t){t=t||{},OE(t).remove(kE(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function OE(e){return e=e||{},e.persistenceType==="localStorage"?T.localStorage:T.cookie}function kE(e,t){return t=t||{},(t.persistencePrefix||yZ)+e}function OM(e,t){return OE(t).get(kE(e,t))}function xZ(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||dt,r=t.navigator||{},n=!1;return T.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(a){T.includes([!0,1,"1","yes"],a)&&(n=!0)}),n}function kM(e,t,r){if(!T.isString(t)||!t.length){Ge.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token");return}r=r||{},OE(r).set(kE(t,r),e?1:0,T.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})}function PE(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),a=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),i=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");n&&(r=RM(n,{ignoreDnt:a,persistenceType:o,persistencePrefix:i,window:s}))}catch(u){Ge.error("Unexpected error when checking tracking opt-out status: "+u)}if(!r)return e.apply(this,arguments);var l=arguments[arguments.length-1];typeof l=="function"&&l(0)}}var Fi="$set",Kc="$set_once",Xn="$unset",nl="$add",wo="$append",al="$union",Bi="$remove",SZ="$delete",PM={set_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[Fi]=n,r},unset_action:function(e){var t={},r=[];return T.isArray(e)||(e=[e]),T.each(e,function(n){this._is_reserved_property(n)||r.push(n)},this),t[Xn]=r,t},set_once_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[Kc]=n,r},union_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=T.isArray(a)?a:[a])},this):n[e]=T.isArray(t)?t:[t],r[al]=n,r},append_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[wo]=n,r},remove_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[Bi]=n,r},delete_action:function(){var e={};return e[SZ]="",e}},nt=function(){};T.extend(nt.prototype,PM);nt.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r};nt.prototype.set=wu(function(e,t,r){var n=this.set_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});nt.prototype.set_once=wu(function(e,t,r){var n=this.set_once_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});nt.prototype.unset=wu(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)});nt.prototype.union=wu(function(e,t,r){T.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)});nt.prototype.delete=wu(function(e){var t=this.delete_action();return this._send_request(t,e)});nt.prototype.remove=wu(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)});nt.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=T.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._get_config("api_host")+"/groups/",batcher:this._mixpanel.request_batchers.groups},t)};nt.prototype._is_reserved_property=function(e){return e==="$group_key"||e==="$group_id"};nt.prototype._get_config=function(e){return this._mixpanel.get_config(e)};nt.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};nt.prototype.remove=nt.prototype.remove;nt.prototype.set=nt.prototype.set;nt.prototype.set_once=nt.prototype.set_once;nt.prototype.union=nt.prototype.union;nt.prototype.unset=nt.prototype.unset;nt.prototype.toString=nt.prototype.toString;var pe=function(){};T.extend(pe.prototype,PM);pe.prototype._init=function(e){this._mixpanel=e};pe.prototype.set=es(function(e,t,r){var n=this.set_action(e,t);return T.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[Fi]=T.extend({},T.info.people_properties(),this._mixpanel.persistence.get_referrer_info(),n[Fi]),this._send_request(n,r)});pe.prototype.set_once=es(function(e,t,r){var n=this.set_once_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});pe.prototype.unset=es(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)});pe.prototype.increment=es(function(e,t,r){var n={},a={};return T.isObject(e)?(T.each(e,function(o,i){if(!this._is_reserved_property(i))if(isNaN(parseFloat(o))){Ge.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else a[i]=o},this),r=t):(T.isUndefined(t)&&(t=1),a[e]=t),n[nl]=a,this._send_request(n,r)});pe.prototype.append=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)});pe.prototype.remove=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)});pe.prototype.union=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)});pe.prototype.track_charge=es(function(e,t,r){if(!T.isNumber(e)&&(e=parseFloat(e),isNaN(e))){Ge.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",T.extend({$amount:e},t),r)});pe.prototype.clear_charges=function(e){return this.set("$transactions",[],e)};pe.prototype.delete_user=function(){if(!this._identify_called()){Ge.error("mixpanel.people.delete_user() requires you to call identify() first");return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)};pe.prototype.toString=function(){return this._mixpanel.toString()+".people"};pe.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),a=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),a&&(e.$had_persisted_distinct_id=a);var o=T.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._get_config("api_host")+"/engage/",batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),T.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),T.truncate(o,255))};pe.prototype._get_config=function(e){return this._mixpanel.get_config(e)};pe.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};pe.prototype._enqueue=function(e){Fi in e?this._mixpanel.persistence._add_to_people_queue(Fi,e):Kc in e?this._mixpanel.persistence._add_to_people_queue(Kc,e):Xn in e?this._mixpanel.persistence._add_to_people_queue(Xn,e):nl in e?this._mixpanel.persistence._add_to_people_queue(nl,e):wo in e?this._mixpanel.persistence._add_to_people_queue(wo,e):Bi in e?this._mixpanel.persistence._add_to_people_queue(Bi,e):al in e?this._mixpanel.persistence._add_to_people_queue(al,e):Ge.error("Invalid call to _enqueue():",e)};pe.prototype._flush_one_queue=function(e,t,r,n){var a=this,o=T.extend({},this._mixpanel.persistence._get_queue(e)),i=o;!T.isUndefined(o)&&T.isObject(o)&&!T.isEmptyObject(o)&&(a._mixpanel.persistence._pop_from_people_queue(e,o),n&&(i=n(o)),t.call(a,i,function(s,l){s===0&&a._mixpanel.persistence._add_to_people_queue(e,o),T.isUndefined(r)||r(s,l)}))};pe.prototype._flush=function(e,t,r,n,a,o,i){var s=this,l=this._mixpanel.persistence._get_queue(wo),u=this._mixpanel.persistence._get_queue(Bi);if(this._flush_one_queue(Fi,this.set,e),this._flush_one_queue(Kc,this.set_once,n),this._flush_one_queue(Xn,this.unset,o,function(w){return T.keys(w)}),this._flush_one_queue(nl,this.increment,t),this._flush_one_queue(al,this.union,a),!T.isUndefined(l)&&T.isArray(l)&&l.length){for(var f,c=function(w,v){w===0&&s._mixpanel.persistence._add_to_people_queue(wo,f),T.isUndefined(r)||r(w,v)},d=l.length-1;d>=0;d--)f=l.pop(),T.isEmptyObject(f)||s.append(f,c);s._mixpanel.persistence.save()}if(!T.isUndefined(u)&&T.isArray(u)&&u.length){for(var h,g=function(w,v){w===0&&s._mixpanel.persistence._add_to_people_queue(Bi,h),T.isUndefined(i)||i(w,v)},m=u.length-1;m>=0;m--)h=u.pop(),T.isEmptyObject(h)||s.remove(h,g);s._mixpanel.persistence.save()}};pe.prototype._is_reserved_property=function(e){return e==="$distinct_id"||e==="$token"||e==="$device_id"||e==="$user_id"||e==="$had_persisted_distinct_id"};pe.prototype.set=pe.prototype.set;pe.prototype.set_once=pe.prototype.set_once;pe.prototype.unset=pe.prototype.unset;pe.prototype.increment=pe.prototype.increment;pe.prototype.append=pe.prototype.append;pe.prototype.remove=pe.prototype.remove;pe.prototype.union=pe.prototype.union;pe.prototype.track_charge=pe.prototype.track_charge;pe.prototype.clear_charges=pe.prototype.clear_charges;pe.prototype.delete_user=pe.prototype.delete_user;pe.prototype.toString=pe.prototype.toString;var IE="__mps",NE="__mpso",LE="__mpus",ME="__mpa",DE="__mpap",jE="__mpr",FE="__mpu",IM="$people_distinct_id",pm="__alias",Vf="__timers",EZ=[IE,NE,LE,ME,DE,jE,FE,IM,pm,Vf],be=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;t!=="cookie"&&t!=="localStorage"&&(Ge.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),t==="localStorage"&&T.localStorage.is_supported()?this.storage=T.localStorage:this.storage=T.cookie,this.load(),this.update_config(e),this.upgrade(e),this.save()};be.prototype.properties=function(){var e={};return T.each(this.props,function(t,r){T.include(EZ,r)||(e[r]=t)}),e};be.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=T.extend({},e))}};be.prototype.upgrade=function(e){var t=e.upgrade,r,n;t&&(r="mp_super_properties",typeof t=="string"&&(r=t),n=this.storage.parse(r),this.storage.remove(r),this.storage.remove(r,!0),n&&(this.props=T.extend(this.props,n.all,n.events))),!e.cookie_name&&e.name!=="mixpanel"&&(r="mp_"+e.token+"_"+e.name,n=this.storage.parse(r),n&&(this.storage.remove(r),this.storage.remove(r,!0),this.register_once(n))),this.storage===T.localStorage&&(n=T.cookie.parse(this.name),T.cookie.remove(this.name),T.cookie.remove(this.name,!0),n&&this.register_once(n))};be.prototype.save=function(){this.disabled||this.storage.set(this.name,T.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};be.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};be.prototype.clear=function(){this.remove(),this.props={}};be.prototype.register_once=function(e,t,r){return T.isObject(e)?(typeof t>"u"&&(t="None"),this.expire_days=typeof r>"u"?this.default_expiry:r,T.each(e,function(n,a){(!this.props.hasOwnProperty(a)||this.props[a]===t)&&(this.props[a]=n)},this),this.save(),!0):!1};be.prototype.register=function(e,t){return T.isObject(e)?(this.expire_days=typeof t>"u"?this.default_expiry:t,T.extend(this.props,e),this.save(),!0):!1};be.prototype.unregister=function(e){e in this.props&&(delete this.props[e],this.save())};be.prototype.update_search_keyword=function(e){this.register(T.info.searchInfo(e))};be.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:T.info.referringDomain(e)||"$direct"},"")};be.prototype.get_referrer_info=function(){return T.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};be.prototype.safe_merge=function(e){return T.each(this.props,function(t,r){r in e||(e[r]=t)}),e};be.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)};be.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()};be.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())};be.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())};be.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())};be.prototype.get_cross_subdomain=function(){return this.cross_subdomain};be.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())};be.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],a=this._get_or_create_queue(Fi),o=this._get_or_create_queue(Kc),i=this._get_or_create_queue(Xn),s=this._get_or_create_queue(nl),l=this._get_or_create_queue(al),u=this._get_or_create_queue(Bi,[]),f=this._get_or_create_queue(wo,[]);r===IE?(T.extend(a,n),this._pop_from_people_queue(nl,n),this._pop_from_people_queue(al,n),this._pop_from_people_queue(Xn,n)):r===NE?(T.each(n,function(c,d){d in o||(o[d]=c)}),this._pop_from_people_queue(Xn,n)):r===LE?T.each(n,function(c){T.each([a,o,s,l],function(d){c in d&&delete d[c]}),T.each(f,function(d){c in d&&delete d[c]}),i[c]=!0}):r===ME?(T.each(n,function(c,d){d in a?a[d]+=c:(d in s||(s[d]=0),s[d]+=c)},this),this._pop_from_people_queue(Xn,n)):r===FE?(T.each(n,function(c,d){T.isArray(c)&&(d in l||(l[d]=[]),l[d]=l[d].concat(c))}),this._pop_from_people_queue(Xn,n)):r===jE?(u.push(n),this._pop_from_people_queue(wo,n)):r===DE&&(f.push(n),this._pop_from_people_queue(Xn,n)),Ge.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Ge.log(t),this.save()};be.prototype._pop_from_people_queue=function(e,t){var r=this._get_queue(e);T.isUndefined(r)||(T.each(t,function(n,a){e===wo||e===Bi?T.each(r,function(o){o[a]===n&&delete o[a]}):delete r[a]},this),this.save())};be.prototype._get_queue_key=function(e){if(e===Fi)return IE;if(e===Kc)return NE;if(e===Xn)return LE;if(e===nl)return ME;if(e===wo)return DE;if(e===Bi)return jE;if(e===al)return FE;Ge.error("Invalid queue:",e)};be.prototype._get_queue=function(e){return this.props[this._get_queue_key(e)]};be.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=T.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)};be.prototype.set_event_timer=function(e,t){var r=this.props[Vf]||{};r[e]=t,this.props[Vf]=r,this.save()};be.prototype.remove_event_timer=function(e){var t=this.props[Vf]||{},r=t[e];return T.isUndefined(r)||(delete this.props[Vf][e],this.save()),r};var BE,ar,NM=0,CZ=1,TZ=function(e){return e},Wf=function(){},Sn="mixpanel",LM="base64",AZ="json",UE="$device:",xc=dt.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,MM=!xc&&ga.indexOf("MSIE")===-1&&ga.indexOf("Mozilla")===-1,gm=null;ui.sendBeacon&&(gm=function(){return ui.sendBeacon.apply(ui,arguments)});var R4={api_host:"https://api-js.mixpanel.com",api_method:"POST",api_transport:"XHR",api_payload_format:LM,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Wf,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Wf,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{}},DM=!1,W=function(){},t2=function(e,t,r){var n,a=r===Sn?ar:ar[r];if(a&&BE===NM)n=a;else{if(a&&!T.isArray(a)){Ge.error("You have already initialized "+r);return}n=new W}if(n._cached_groups={},n._init(e,t,r),n.people=new pe,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var o=T.info.campaignParams(null),i={},s=!1;T.each(o,function(l,u){i["initial_"+u]=l,l&&(s=!0)}),s&&n.people.set_once(i)}return io.DEBUG=io.DEBUG||n.get_config("debug"),!T.isUndefined(a)&&T.isArray(a)&&(n._execute_array.call(n.people,a.people),n._execute_array(a)),n};W.prototype.init=function(e,t,r){if(T.isUndefined(r)){this.report_error("You must name your new library: init(token, config, name)");return}if(r===Sn){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var n=t2(e,t,r);return ar[r]=n,n._loaded(),n};W.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if(!("api_payload_format"in t)){var a=t.api_host||R4.api_host;a.match(/\.mixpanel\.com/)&&(n.api_payload_format=AZ)}if(this.set_config(T.extend({},R4,n,t,{name:r,token:e,callback_fn:(r===Sn?r:Sn+"."+r)+"._jsc"})),this._jsc=Wf,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!T.localStorage.is_supported(!0)||!xc)this._batch_requests=!1,Ge.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support");else if(this.init_batchers(),gm&&dt.addEventListener){var o=T.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);dt.addEventListener("pagehide",function(s){s.persisted&&o()}),dt.addEventListener("visibilitychange",function(){qe.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new be(this.config),this.unpersisted_superprops={},this._gdpr_init();var i=T.UUID();this.get_distinct_id()||this.register_once({distinct_id:UE+i,$device_id:i},""),this.get_config("track_pageview")&&this.track_pageview()};W.prototype._loaded=function(){this.get_config("loaded")(this),this._set_default_superprops()};W.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(qe.referrer),this.get_config("store_google")&&this.register(T.info.campaignParams(),{persistent:!1}),this.get_config("save_referrer")&&this.persistence.update_referrer_info(qe.referrer)};W.prototype._dom_loaded=function(){T.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||T.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue};W.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!DM)return this.__dom_loaded_queue.push([e,t]),!1;var r=new e().init(this);return r.track.apply(r,t)};W.prototype._prepare_callback=function(e,t){if(T.isUndefined(e))return null;if(xc){var r=function(i){e(i,t)};return r}else{var n=this._jsc,a=""+Math.floor(Math.random()*1e8),o=this.get_config("callback_fn")+"["+a+"]";return n[a]=function(i){delete n[a],e(i,t)},o}};W.prototype._send_request=function(e,t,r,n){var a=!0;if(MM)return this.__request_queue.push(arguments),a;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},i=null;!n&&(T.isFunction(r)||typeof r=="string")&&(n=r,r=null),r=T.extend(o,r||{}),xc||(r.method="GET");var s=r.method==="POST",l=gm&&s&&r.transport.toLowerCase()==="sendbeacon",u=r.verbose;t.verbose&&(u=!0),this.get_config("test")&&(t.test=1),u&&(t.verbose=1),this.get_config("img")&&(t.img=1),xc||(n?t.callback=n:(u||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=new Date().getTime().toString(),s&&(i="data="+encodeURIComponent(t.data),delete t.data),e+="?"+T.HTTPBuildQuery(t);var f=this;if("img"in t){var c=qe.createElement("img");c.src=e,qe.body.appendChild(c)}else if(l){try{a=gm(e,i)}catch(v){f.report_error(v),a=!1}try{n&&n(a?1:0)}catch(v){f.report_error(v)}}else if(xc)try{var d=new XMLHttpRequest;d.open(r.method,e,!0);var h=this.get_config("xhr_headers");if(s&&(h["Content-Type"]="application/x-www-form-urlencoded"),T.each(h,function(v,b){d.setRequestHeader(b,v)}),r.timeout_ms&&typeof d.timeout<"u"){d.timeout=r.timeout_ms;var g=new Date().getTime()}d.withCredentials=!0,d.onreadystatechange=function(){if(d.readyState===4)if(d.status===200){if(n)if(u){var v;try{v=T.JSONDecode(d.responseText)}catch(_){if(f.report_error(_),r.ignore_json_errors)v=d.responseText;else return}n(v)}else n(Number(d.responseText))}else{var b;d.timeout&&!d.status&&new Date().getTime()-g>=d.timeout?b="timeout":b="Bad HTTP status: "+d.status+" "+d.statusText,f.report_error(b),n&&n(u?{status:0,error:b,xhr_req:d}:0)}},d.send(i)}catch(v){f.report_error(v),a=!1}else{var m=qe.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var w=qe.getElementsByTagName("script")[0];w.parentNode.insertBefore(m,w)}return a};W.prototype._execute_array=function(e){var t,r=[],n=[],a=[];T.each(e,function(i){i&&(t=i[0],T.isArray(t)?a.push(i):typeof i=="function"?i.call(this):T.isArray(i)&&t==="alias"?r.push(i):T.isArray(i)&&t.indexOf("track")!==-1&&typeof this[t]=="function"?a.push(i):n.push(i))},this);var o=function(i,s){T.each(i,function(l){if(T.isArray(l[0])){var u=s;T.each(l,function(f){u=u[f[0]].apply(u,f.slice(1))})}else this[l[0]].apply(this,l.slice(1))},s)};o(r,this),o(n,this),o(a,this)};W.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};W.prototype.init_batchers=function(){var e=this.get_config("token");if(!this.are_batchers_initialized()){var t=T.bind(function(r){return new ka("__mpq_"+e+r.queue_suffix,{libConfig:this.config,sendRequestFunc:T.bind(function(n,a,o){this._send_request(this.get_config("api_host")+r.endpoint,this._encode_data_for_request(n),a,this._prepare_callback(o,n))},this),beforeSendHook:T.bind(function(n){return this._run_hook("before_send_"+r.type,n)},this),errorReporter:this.get_config("error_reporter"),stopAllBatchingFunc:T.bind(this.stop_batch_senders,this)})},this);this.request_batchers={events:t({type:"events",endpoint:"/track/",queue_suffix:"_ev"}),people:t({type:"people",endpoint:"/engage/",queue_suffix:"_pp"}),groups:t({type:"groups",endpoint:"/groups/",queue_suffix:"_gr"})}}this.get_config("batch_autostart")&&this.start_batch_senders()};W.prototype.start_batch_senders=function(){this.are_batchers_initialized()&&(this._batch_requests=!0,T.each(this.request_batchers,function(e){e.start()}))};W.prototype.stop_batch_senders=function(){this._batch_requests=!1,T.each(this.request_batchers,function(e){e.stop(),e.clear()})};W.prototype.push=function(e){this._execute_array([e])};W.prototype.disable=function(e){typeof e>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)};W.prototype._encode_data_for_request=function(e){var t=T.JSONEncode(e);return this.get_config("api_payload_format")===LM&&(t=T.base64Encode(t)),{data:t}};W.prototype._track_or_batch=function(e,t){var r=T.truncate(e.data,255),n=e.endpoint,a=e.batcher,o=e.should_send_immediately,i=e.send_request_options||{};t=t||Wf;var s=!0,l=T.bind(function(){return i.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(Ge.log("MIXPANEL REQUEST:"),Ge.log(r),this._send_request(n,this._encode_data_for_request(r),i,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!o?a.enqueue(r,function(u){u?t(1,r):l()}):s=l(),s&&r};W.prototype.track=bu(function(e,t,r,n){!n&&typeof r=="function"&&(n=r,r=null),r=r||{};var a=r.transport;a&&(r.transport=a);var o=r.send_immediately;if(typeof n!="function"&&(n=Wf),T.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){n(0);return}t=t||{},t.token=this.get_config("token");var i=this.persistence.remove_event_timer(e);if(!T.isUndefined(i)){var s=new Date().getTime()-i;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?T.info.marketingParams():{};t=T.extend({},T.info.properties(),l,this.persistence.properties(),this.unpersisted_superprops,t);var u=this.get_config("property_blacklist");T.isArray(u)?T.each(u,function(d){delete t[d]}):this.report_error("Invalid value for property_blacklist config: "+u);var f={event:e,properties:t},c=this._track_or_batch({type:"events",data:f,endpoint:this.get_config("api_host")+"/track/",batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:r},n);return c});W.prototype.set_group=bu(function(e,t,r){T.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)});W.prototype.add_group=bu(function(e,t,r){var n=this.get_property(e);if(n===void 0){var a={};a[e]=[t],this.register(a)}else n.indexOf(t)===-1&&(n.push(t),this.register(a));return this.people.union(e,t,r)});W.prototype.remove_group=bu(function(e,t,r){var n=this.get_property(e);if(n!==void 0){var a=n.indexOf(t);a>-1&&(n.splice(a,1),this.register({group_key:n})),n.length===0&&this.unregister(e)}return this.people.remove(e,t,r)});W.prototype.track_with_groups=bu(function(e,t,r,n){var a=T.extend({},t||{});return T.each(r,function(o,i){o!=null&&(a[i]=o)}),this.track(e,a,n)});W.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)};W.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]};W.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return(n===void 0||n._group_key!==e||n._group_id!==t)&&(n=new nt,n._init(this,e,t),this._cached_groups[r]=n),n};W.prototype.track_pageview=bu(function(e,t){typeof e!="object"&&(e={}),t=t||{};var r=t.event_name||"$mp_web_page_view",n=T.extend(T.info.mpPageViewProperties(),T.info.campaignParams(),T.info.clickParams()),a=T.extend({},n,e);return this.track(r,a)});W.prototype.track_links=function(){return this._track_dom.call(this,Gc,arguments)};W.prototype.track_forms=function(){return this._track_dom.call(this,M0,arguments)};W.prototype.time_event=function(e){if(T.isUndefined(e)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var RZ={persistent:!0},zE=function(e){var t;return T.isObject(e)?t=e:T.isUndefined(e)?t={}:t={days:e},T.extend({},RZ,t)};W.prototype.register=function(e,t){var r=zE(t);r.persistent?this.persistence.register(e,r.days):T.extend(this.unpersisted_superprops,e)};W.prototype.register_once=function(e,t,r){var n=zE(r);n.persistent?this.persistence.register_once(e,t,n.days):(typeof t>"u"&&(t="None"),T.each(e,function(a,o){(!this.unpersisted_superprops.hasOwnProperty(o)||this.unpersisted_superprops[o]===t)&&(this.unpersisted_superprops[o]=a)},this))};W.prototype.unregister=function(e,t){t=zE(t),t.persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]};W.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)};W.prototype.identify=function(e,t,r,n,a,o,i,s){var l=this.get_distinct_id();if(e&&l!==e){if(typeof e=="string"&&e.indexOf(UE)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var u=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:u},"")}e!==l&&e!==this.get_property(pm)&&(this.unregister(pm),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,a,o,i,s),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0})};W.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var e=T.UUID();this.register_once({distinct_id:UE+e,$device_id:e},"")};W.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};W.prototype.alias=function(e,t){if(e===this.get_property(IM))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return T.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(pm,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)};W.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)};W.prototype.set_config=function(e){if(T.isObject(e)){T.extend(this.config,e);var t=e.batch_size;t&&T.each(this.request_batchers,function(r){r.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),io.DEBUG=io.DEBUG||this.get_config("debug")}};W.prototype.get_config=function(e){return this.config[e]};W.prototype._run_hook=function(e){var t=(this.config.hooks[e]||TZ).apply(this,ci.call(arguments,1));return typeof t>"u"&&(this.report_error(e+" hook did not return a value"),t=null),t};W.prototype.get_property=function(e){return this.persistence.props[e]};W.prototype.toString=function(){var e=this.get_config("name");return e!==Sn&&(e=Sn+"."+e),e};W.prototype._event_is_disabled=function(e){return T.isBlockedUA(ga)||this._flags.disable_all_events||T.include(this.__disabled_events,e)};W.prototype._gdpr_init=function(){var e=this.get_config("opt_out_tracking_persistence_type")==="localStorage";e&&T.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||T.cookie.get("mp_optout"))&&(T.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};W.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else if(e&&e.enable_persistence)t=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==t&&this.persistence.set_disabled(t),t&&T.each(this.request_batchers,function(r){r.clear()})};W.prototype._gdpr_call_func=function(e,t){return t=T.extend({track:T.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),T.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})};W.prototype.opt_in_tracking=function(e){e=T.extend({enable_persistence:!0},e),this._gdpr_call_func(bZ,e),this._gdpr_update_persistence(e)};W.prototype.opt_out_tracking=function(e){e=T.extend({clear_persistence:!0,delete_user:!0},e),e.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(wZ,e),this._gdpr_update_persistence(e)};W.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(_Z,e)};W.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(RM,e)};W.prototype.clear_opt_in_out_tracking=function(e){e=T.extend({enable_persistence:!0},e),this._gdpr_call_func($Z,e),this._gdpr_update_persistence(e)};W.prototype.report_error=function(e,t){Ge.error.apply(Ge.error,arguments);try{!t&&!(e instanceof Error)&&(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(r){Ge.error(r)}};W.prototype.init=W.prototype.init;W.prototype.reset=W.prototype.reset;W.prototype.disable=W.prototype.disable;W.prototype.time_event=W.prototype.time_event;W.prototype.track=W.prototype.track;W.prototype.track_links=W.prototype.track_links;W.prototype.track_forms=W.prototype.track_forms;W.prototype.track_pageview=W.prototype.track_pageview;W.prototype.register=W.prototype.register;W.prototype.register_once=W.prototype.register_once;W.prototype.unregister=W.prototype.unregister;W.prototype.identify=W.prototype.identify;W.prototype.alias=W.prototype.alias;W.prototype.name_tag=W.prototype.name_tag;W.prototype.set_config=W.prototype.set_config;W.prototype.get_config=W.prototype.get_config;W.prototype.get_property=W.prototype.get_property;W.prototype.get_distinct_id=W.prototype.get_distinct_id;W.prototype.toString=W.prototype.toString;W.prototype.opt_out_tracking=W.prototype.opt_out_tracking;W.prototype.opt_in_tracking=W.prototype.opt_in_tracking;W.prototype.has_opted_out_tracking=W.prototype.has_opted_out_tracking;W.prototype.has_opted_in_tracking=W.prototype.has_opted_in_tracking;W.prototype.clear_opt_in_out_tracking=W.prototype.clear_opt_in_out_tracking;W.prototype.get_group=W.prototype.get_group;W.prototype.set_group=W.prototype.set_group;W.prototype.add_group=W.prototype.add_group;W.prototype.remove_group=W.prototype.remove_group;W.prototype.track_with_groups=W.prototype.track_with_groups;W.prototype.start_batch_senders=W.prototype.start_batch_senders;W.prototype.stop_batch_senders=W.prototype.stop_batch_senders;be.prototype.properties=be.prototype.properties;be.prototype.update_search_keyword=be.prototype.update_search_keyword;be.prototype.update_referrer_info=be.prototype.update_referrer_info;be.prototype.get_cross_subdomain=be.prototype.get_cross_subdomain;be.prototype.clear=be.prototype.clear;var nc={},OZ=function(){T.each(nc,function(e,t){t!==Sn&&(ar[t]=e)}),ar._=T},kZ=function(){ar.init=function(e,t,r){if(r)return ar[r]||(ar[r]=nc[r]=t2(e,t,r),ar[r]._loaded()),ar[r];var n=ar;nc[Sn]?n=nc[Sn]:e&&(n=t2(e,t,Sn),n._loaded(),nc[Sn]=n),ar=n,BE===CZ&&(dt[Sn]=ar),OZ()}},PZ=function(){function e(){e.done||(e.done=!0,DM=!0,MM=!1,T.each(nc,function(n){n._dom_loaded()}))}function t(){try{qe.documentElement.doScroll("left")}catch{setTimeout(t,1);return}e()}if(qe.addEventListener)qe.readyState==="complete"?e():qe.addEventListener("DOMContentLoaded",e,!1);else if(qe.attachEvent){qe.attachEvent("onreadystatechange",e);var r=!1;try{r=dt.frameElement===null}catch{}qe.documentElement.doScroll&&r&&t()}T.register_event(dt,"load",e,!0)};function IZ(){return BE=NM,ar=new W,kZ(),ar.init(),PZ(),ar}var NZ=IZ(),LZ=NZ;const Pa=lu(LZ);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function O4(e){const t={action:e};Pa.track("star",t)}function jM(e,t){const r={type:e,location:t};Pa.track("openInfoPanel",r)}function FM(e){Pa.track("share",{type:e})}function MZ(e){const t={type:e};Pa.track("analysis",t)}function BM(e){const t={type:e};Pa.track("error-book",t)}function k4(e){const t={...e};Pa.track("donate-card",t)}function DZ(e){const t=oe(Nn),{name:r}=oe(wr),n=oe(Sh),a=oe(Hc),o=oe(xh),i=oe(Ro),s=oe(yu);return p.useCallback(u=>{const f={...u,order:e.chapterData.index+1,chapter:(t+1).toString(),wordlist:r,modeDictation:!e.isWordVisible,modeDark:n,modeShuffle:s.isOpen,enabledKeyboardSound:a.isOpen,enabledPhotonicsSymbol:o.isOpen,enabledSingleWordLoop:e.isLoopSingleWord,pronunciationAuto:i.isOpen,pronunciationOption:i.isOpen===!1?"none":i.type};Pa.track("Word",f)},[e,t,r,n,a.isOpen,o.isOpen,i.isOpen,i.type,s.isOpen])}function jZ(e){const t=oe(Nn),{name:r}=oe(wr),n=oe(Sh),a=oe(Hc),o=oe(xh),i=oe(Ro),s=oe(yu);return p.useCallback(()=>{const u={timeEnd:r2(),duration:e.timerData.time,countInput:e.chapterData.correctCount+e.chapterData.wrongCount,countTypo:e.chapterData.wrongCount,countCorrect:e.chapterData.correctCount,chapter:(t+1).toString(),wordlist:r,modeDictation:!e.isWordVisible,modeDark:n,modeShuffle:s.isOpen,enabledKeyboardSound:a.isOpen,enabledPhotonicsSymbol:o.isOpen,enabledSingleWordLoop:e.isLoopSingleWord,pronunciationAuto:i.isOpen,pronunciationOption:i.isOpen===!1?"none":i.type};Pa.track("Chapter",u)},[e,t,r,n,a.isOpen,o.isOpen,i.isOpen,i.type,s.isOpen])}function UM({type:e,size:t,wordCount:r,chapterCount:n}){const a={type:e,size:t,wordCount:r,chapterCount:n};Pa.track("dataAction",a)}function r2(){return new Date().toISOString().substring(0,19).replace("T"," ")}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const FZ=["Enter","Backspace","Delete","Tab","CapsLock","Shift","Control","Alt","Meta","Escape","Fn","FnLock","Hyper","Super","OS","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","AudioVolumeUp","AudioVolumeDown","AudioVolumeMute","End","PageDown","PageUp","Clear","Home"],zM=e=>!FZ.includes(e),BZ=e=>/[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5]/.test(e),UZ=()=>{const e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"];let r=!0;for(let n=0;n0){r=!1;break}return r},VM=navigator.userAgent.indexOf("Macintosh")!==-1,zs=VM?"Control":"Ctrl";function qp(e,...t){return e.on(...t),()=>e.off(...t)}function zZ(...e){const t=[];for(const r of e)r&&t.push(r.trim());return t.join(" ")}function VZ(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),n=("0"+e.getDate()).slice(-2);return`${t}${r}${n}`}function WZ(e){return Math.ceil(e/T$)}function Mje(e,t){const r=new Set(t);return e.filter(n=>r.has(n))}function HZ(e,t){return Number((e??0).toFixed(t))}function VE(){const e=new Date;return Math.floor(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())/1e3)}function Dje(e){const t=new Date(e*1e3),r=t.toLocaleDateString("zh-CN",{month:"2-digit",day:"2-digit"}),n=t.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r} ${n}`}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const GZ=[{id:"cet4",name:"CET-4",description:"大学英语四级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/CET4_T.json",length:2607,language:"en",languageCategory:"en"},{id:"cet6",name:"CET-6",description:"大学英语六级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/CET6_T.json",length:2345,language:"en",languageCategory:"en"},{id:"xinghuoqiaoji_4",name:"四级巧记速记",description:"四级巧记速记",category:"中国考试",tags:["大学英语"],url:"/dicts/xinghuoqiaoji_4.json",length:2522,language:"en",languageCategory:"en"},{id:"xinghuoqiaoji_6",name:"六级巧记速记",description:"六级巧记速记",category:"中国考试",tags:["大学英语"],url:"/dicts/xinghuoqiaoji_6.json",length:7520,language:"en",languageCategory:"en"},{id:"cet4-sub",name:"CET-4-Sub",description:"单词的减法-四级",category:"中国考试",tags:["大学英语"],url:"/dicts/DanCiDeJianFa_4.json",length:1957,language:"en",languageCategory:"en"},{id:"cet6-sub",name:"CET-6-Sub",description:"单词的减法-六级",category:"中国考试",tags:["大学英语"],url:"/dicts/DanCiDeJianFa_6.json",length:1949,language:"en",languageCategory:"en"},{id:"kaoyan",name:"考研",description:"研究生英语入学考试词库",category:"中国考试",tags:["考研"],url:"/dicts/KaoYan_3_T.json",length:3728,language:"en",languageCategory:"en"},{id:"kaoyan_2024",name:"考研 2024",description:"研究生英语入学考试词库 2024",category:"中国考试",tags:["考研"],url:"/dicts/KaoYan_2024.json",length:3731,language:"en",languageCategory:"en"},{id:"kaoyanshanguo_2023",name:"考研闪过 2023",description:"高中低频词2023",category:"中国考试",tags:["考研"],url:"/dicts/KaoYanShanGuo_2023.json",length:1771,language:"en",languageCategory:"en"},{id:"dancimimi_1",name:"单词的秘密-英语一",description:"单词的秘密英语(一)",category:"中国考试",tags:["考研"],url:"/dicts/DanCiDeMimi_1.json",length:5657,language:"en",languageCategory:"en"},{id:"dancimimi_2",name:"单词的秘密-英语二",description:"单词的秘密英语(二)",category:"中国考试",tags:["考研"],url:"/dicts/DanCiDeMimi_2.json",length:3827,language:"en",languageCategory:"en"},{id:"2024HongBao T1",name:"2024考研英语hongbaoshu(上)",description:"2024考研英语hongbaoshu必考词(上)",category:"中国考试",tags:["考研"],url:"/dicts/2024HongBao_T1.json",length:997,language:"en",languageCategory:"en"},{id:"2024HongBao T2",name:"2024考研英语hongbaoshu(下)",description:"2024考研英语hongbaoshu必考词(下)",category:"中国考试",tags:["考研"],url:"/dicts/2024HongBao_T2.json",length:854,language:"en",languageCategory:"en"},{id:"English_II",name:"英语二单词书",description:"考研英语二单词书",category:"中国考试",tags:["考研"],url:"/dicts/English_II.json",length:4559,language:"en",languageCategory:"en"},{id:"level4",name:"专四",description:"英语专业四级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/Level4luan_2_T.json",length:4025,language:"en",languageCategory:"en"},{id:"level8",name:"专八",description:"英语专业八级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/Level8luan_2_T.json",length:12197,language:"en",languageCategory:"en"},{id:"archVocabulary",name:"建筑专业英语",description:"大学建筑专业英语词汇",category:"中国考试",tags:["专业英语"],url:"/dicts/archVocabulary.json",length:630,language:"en",languageCategory:"en"},{id:"itVocabulary",name:"计算机专用英语",description:"大学计算机专业英语词汇",category:"中国考试",tags:["专业英语"],url:"/dicts/itVocabulary.json",length:1665,language:"en",languageCategory:"en"},{id:"pets3",name:"PETS",description:"全国英语等级考试常考词汇",category:"中国考试",tags:["PET"],url:"/dicts/PETS_3.json",length:1942,language:"en",languageCategory:"en"},{id:"pets3-2023",name:"PETS-2023",description:"全国英语等级考试常考词汇",category:"中国考试",tags:["PET"],url:"/dicts/PETS3-2023.json",length:4449,language:"en",languageCategory:"en"},{id:"self-study_English1",name:"自考1800高频单词",description:"自考1800高频单词",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English1.json",length:1800,language:"en",languageCategory:"en"},{id:"self-study_English2",name:"自考英语二高频悠悠单词",description:"自考英语二高频悠悠单词",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English2.json",length:2181,language:"en",languageCategory:"en"},{id:"self-study_English3",name:"自考英语二完整单词",description:"00015自考英语二完整单词书",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English3.json",length:4603,language:"en",languageCategory:"en"},{id:"coca_20000",name:"COCA20000词",description:"COCA20000词",category:"中国考试",tags:["其他"],url:"/dicts/coca20000.json",length:20199,language:"en",languageCategory:"en"},{id:"4000_Essential_English_Words1",name:"Essential Words",description:"4000 Essential English Words meaning",category:"中国考试",tags:["其他"],url:"/dicts/4000_Essential_English_Words-meaning.json",length:3600,language:"en",languageCategory:"en"},{id:"4000_Essential_English_Words2",name:"Essential Words",description:"4000 Essential English Words sentence",category:"中国考试",tags:["其他"],url:"/dicts/4000_Essential_English_Words-sentence.json",length:3600,language:"en",languageCategory:"en"},{id:"longman_communication_3000_words",name:"Longman Communication 3000",description:"Most frequent words in both spoken and written English",category:"中国考试",tags:["其他"],url:"/dicts/Longman_Communication_3000.json",length:3168,language:"en",languageCategory:"en"},{id:"top_2000_English_Words",name:"Top 2000 words",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/top2000words.json",length:1867,language:"en",languageCategory:"en"},{id:"top_1500_nouns_Words",name:"Top 1500 Nouns",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top1500NounWords.json",length:1525,language:"en",languageCategory:"en"},{id:"top_1000_verb_Words",name:"Top 1000 Verbs",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top1000VerbWords.json",length:1011,language:"en",languageCategory:"en"},{id:"top_500_Adj_Words",name:"Top 500 adj.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top500AdjectiveWords.json",length:527,language:"en",languageCategory:"en"},{id:"top_250_Adv_Words",name:"Top 250 adv.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top250AdverbWords.json",length:255,language:"en",languageCategory:"en"},{id:"top_60_Pronouns",name:"Top 60 pron.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top60Pronouns.json",length:59,language:"en",languageCategory:"en"},{id:"top_50_Prepositions",name:"Top 50 prep.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top50Prepositions.json",length:46,language:"en",languageCategory:"en"},{id:"suffix word",name:"suffix word",description:"common suffix",category:"中国考试",tags:["其他"],url:"/dicts/suffix_word.json",length:126,language:"en",languageCategory:"en"},{id:"word roots1",name:"word roots1",description:"common roots",category:"中国考试",tags:["其他"],url:"/dicts/word_roots1.json",length:369,language:"en",languageCategory:"en"},{id:"adult self-study examination",name:"专升本词汇",description:"专升本词汇",category:"中国考试",tags:["其他"],url:"/dicts/adult-self-study-examination.json",length:3692,language:"en",languageCategory:"en"},{id:"zhuan-cha-ben-ying-yu",name:"专插本英语词汇",description:"专插本英语词汇",category:"中国考试",tags:["其他"],url:"/dicts/zhuan-cha-ben.json",length:3217,language:"en",languageCategory:"en"},{id:"zhuan-sheng-ben-xue-shi",name:"专升本学士学位的英语",description:"专升本学士学位的英语",category:"中国考试",tags:["其他"],url:"/dicts/xueshiyingyu.json",length:897,language:"en",languageCategory:"en"},{id:"Oxford5000",name:"牛津5000词",description:"牛津5000词",category:"中国考试",tags:["其他"],url:"/dicts/Oxford5000.json",length:5836,language:"en",languageCategory:"en"},{id:"Merriam_Webster_sVocabularyBuilder",name:"韦氏词根词典",description:"韦氏词根词典",category:"中国考试",tags:["其他"],url:"/dicts/Merriam_Webster_sVocabularyBuilder.json",length:1191,language:"en",languageCategory:"en"},{id:"tingshuokaoshi",name:"听说考试常见词汇",description:"听说考试16个场景常见词汇量",category:"中国考试",tags:["其他"],url:"/dicts/tingshuokaoshi.json",length:557,language:"en",languageCategory:"en"},{id:"TOEFL_ZhangHongYan",name:"ZhangHongYan的TOEFL词汇书",description:"ZhangHongYan的TOEFL词汇书-词以类记",category:"国际考试",tags:["TOEFL"],url:"/dicts/TOEFL_ZhangHongYan.json",length:4032,language:"en",languageCategory:"en"},{id:"2025KaoYanHongBaoShu",name:"2025考研英语词汇hongbao书",description:"2025考研英语词汇hongbao书",category:"中国考试",tags:["考研"],url:"/dicts/2025KaoYanHongBaoShu.json",length:6705,language:"en",languageCategory:"en"},{id:"3000_ClassRoom_English_Words",name:"专升本3000词",description:"专升本词汇",category:"中国考试",tags:["大学英语"],url:"/dicts/3000_ClassRoom_English_Words.json",length:2991,language:"en",languageCategory:"en"}],KZ=[{id:"gmat",name:"GMAT",description:"GMAT 词库",category:"国际考试",tags:["GMAT"],url:"/dicts/GMAT_3_T.json",length:3047,language:"en",languageCategory:"en"},{id:"gre",name:"GRE",description:"GRE 词库",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_3_T.json",length:6515,language:"en",languageCategory:"en"},{id:"gre1500",name:"GRE重点1500词-fen哥",description:"GRE & TEM8 重叠高频词汇",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_1500.json",length:1533,language:"en",languageCategory:"en"},{id:"gre3000",name:"GRE3000",description:"GRE3000 词库",category:"国际考试",tags:["GRE"],url:"/dicts/GRE3000_3_T.json",length:3041,language:"en",languageCategory:"en"},{id:"GRE-computer-based-test",name:"GRE机经词汇",description:"GRE机经词汇",category:"国际考试",tags:["GRE"],url:"/dicts/GRE-computer-based-test.json",length:1451,language:"en",languageCategory:"en"},{id:"ZaiYaoNiMing_GRE3000",name:"再要你命GRE3000",description:"再要你命GRE3000词库-有词性新版",category:"国际考试",tags:["GRE"],url:"/dicts/ZaiYaoNiMing_GRE3000.json",length:3041,language:"en",languageCategory:"en"},{id:"GRE_equivalent",name:"GRE等价词",description:"GRE等价词",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_equivalent.json",length:827,language:"en",languageCategory:"en"},{id:"GRE_ciyileiji",name:"GRE词以类记",description:"GRE词以类记",category:"国际考试",tags:["GRE"],url:"/dicts/gre-ciyileiji.json",length:8785,language:"en",languageCategory:"en"},{id:"IELTS_tinglichangjing",name:"雅思听力场景词汇",description:"雅思听力场景词汇",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_tinglichangjing.json",length:1204,language:"en",languageCategory:"en"},{id:"ielts_disorder",name:"IELTS乱序完整版",description:"IELTS乱序完整版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_disorder.json",length:9389,language:"en",languageCategory:"en"},{id:"ielts_order",name:"IELTS顺序完整版",description:"IELTS顺序完整版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_order.json",length:9389,language:"en",languageCategory:"en"},{id:"ielts",name:"IELTS",description:"雅思词库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_3_T.json",length:3575,language:"en",languageCategory:"en"},{id:"heqiong",name:"heQiong雅思听力必考词汇",description:"综合测试",category:"国际考试",tags:["IELTS"],url:"/dicts/HeQiong_IELTS.json",length:2529,language:"en",languageCategory:"en"},{id:"ieltsWang3",name:"雅思wang C3",description:"雅思听力特别名词语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_3.json",length:1135,language:"en",languageCategory:"en"},{id:"ieltsWang4",name:"雅思wang C4",description:"雅思听力形容词副词语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_4.json",length:346,language:"en",languageCategory:"en"},{id:"ieltsWang5",name:"雅思wang C5",description:"吞音连读混合训练语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_5.json",length:1569,language:"en",languageCategory:"en"},{id:"ieltsWang11",name:"雅思wang C11",description:"综合测试",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_11.json",length:1738,language:"en",languageCategory:"en"},{id:"DuckCircle_IELTS",name:"鸭圈雅思核心词",description:"鸭圈雅思核心词",category:"国际考试",tags:["IELTS"],url:"/dicts/DuckCircle_IELTS.json",length:2644,language:"en",languageCategory:"en"},{id:"IELTSVocabularyBible",name:"雅思词汇真经",description:"雅思词汇真经",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSVocabularyBible.json",length:3673,language:"en",languageCategory:"en"},{id:"IELTS-807",name:"雅思 wanglu 807",description:"雅思 wanglu 807",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-807.json",length:4340,language:"en",languageCategory:"en"},{id:"ielts-real-high",name:"雅思 real 词汇 高频",description:"雅思 real 词汇(高频词汇)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-high.json",length:524,language:"en",languageCategory:"en"},{id:"ielts-real-5",name:"雅思 real 词汇 5",description:"雅思 real 词汇 (5频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-5.json",length:183,language:"en",languageCategory:"en"},{id:"ielts-real-4",name:"雅思 real 词汇 4",description:"雅思 real 词汇 (4频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-4.json",length:201,language:"en",languageCategory:"en"},{id:"ielts-real-3",name:"雅思 real 词汇 3",description:"雅思 real 词汇 (3频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-3.json",length:256,language:"en",languageCategory:"en"},{id:"ielts-real-2",name:"雅思 real 词汇 2",description:"雅思 real 词汇 (2频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-2.json",length:402,language:"en",languageCategory:"en"},{id:"ielts-real-1",name:"雅思 real 词汇 1",description:"雅思 real 词汇 (1频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-1.json",length:737,language:"en",languageCategory:"en"},{id:"IELTS9988wangyong",name:"雅思9988wangyong",description:"雅思9988wangyong",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS9988wangyong.json",length:3698,language:"en",languageCategory:"en"},{id:"IELTSLiuHongbo538",name:"雅思阅读 liuhongbo 538考点词",description:"雅思阅读 liuhongbo 538考点词",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSLiuHongbo538.json",length:376,language:"en",languageCategory:"en"},{id:"IELTSKingLu807",name:"wanglu807雅思词汇听力第2版",description:"wanglu807雅思词汇听力第2版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSKingLu807.json",length:1916,language:"en",languageCategory:"en"},{id:"IELTSXDF7000",name:"100个句子记完7000个雅思单词",description:"新东方 100个句子记完7000个雅思单词 词汇表",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_XDF_7000.json",length:5567,language:"en",languageCategory:"en"},{id:"IELTS-oral-900",name:"雅思口语 900 beta版",description:"雅思口语 900 句, 需在 qwerty 设置中调小英语字体",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-oral-900.json",length:900,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-1",name:"雅思听力词汇18天 day1",description:"雅思听力词汇18天 day1",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day1.json",length:74,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-2",name:"雅思听力词汇18天 day2",description:"雅思听力词汇18天 day2",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day2.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-3",name:"雅思听力词汇18天 day3",description:"雅思听力词汇18天 day3",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day3.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-4",name:"雅思听力词汇18天 day4",description:"雅思听力词汇18天 day4",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day4.json",length:73,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-5",name:"雅思听力词汇18天 day5",description:"雅思听力词汇18天 day5",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day5.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-6",name:"雅思听力词汇18天 day6",description:"雅思听力词汇18天 day6",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day6.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-7",name:"雅思听力词汇18天 day7",description:"雅思听力词汇18天 day7",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day7.json",length:75,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-8",name:"雅思听力词汇18天 day8",description:"雅思听力词汇18天 day8",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day8.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-9",name:"雅思听力词汇18天 day9",description:"雅思听力词汇18天 day9",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day9.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-10",name:"雅思听力词汇18天 day10",description:"雅思听力词汇18天 day10",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day10.json",length:33,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-11",name:"雅思听力词汇18天 day11",description:"雅思听力词汇18天 day11",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day11.json",length:52,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-12",name:"雅思听力词汇18天 day12",description:"雅思听力词汇18天 day12",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day12.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-13",name:"雅思听力词汇18天 day13",description:"雅思听力词汇18天 day13",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day13.json",length:78,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-14",name:"雅思听力词汇18天 day14",description:"雅思听力词汇18天 day14",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day14.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-15",name:"雅思听力词汇18天 day15",description:"雅思听力词汇18天 day15",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day15.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-16",name:"雅思听力词汇18天 day16",description:"雅思听力词汇18天 day16",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day16.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-17",name:"雅思听力词汇18天 day17",description:"雅思听力词汇18天 day17",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day17.json",length:46,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-18",name:"雅思听力词汇18天 day18",description:"雅思听力词汇18天 day18",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day18.json",length:76,language:"en",languageCategory:"en"},{id:"ket",name:"KET",description:"KET 2021单词",category:"国际考试",tags:["KET"],url:"./dicts/ket2021.json",length:1147,language:"en",languageCategory:"en"},{id:"sat",name:"SAT",description:"美国 SAT 考试词库",category:"国际考试",tags:["SAT"],url:"/dicts/SAT_3_T.json",length:4464,language:"en",languageCategory:"en"},{id:"SATen",name:"SAT en-en",description:"SAT英英",category:"国际考试",tags:["SAT"],url:"/dicts/SATen.json",length:2681,language:"en",languageCategory:"en"},{id:"toefl",name:"TOEFL",description:"托福考试常见词",category:"国际考试",tags:["TOEFL"],url:"/dicts/TOEFL_3_T.json",length:4264,language:"en",languageCategory:"en"},{id:"bec2",name:"商务英语",description:"商务英语常见词",category:"国际考试",tags:["BEC"],url:"/dicts/BEC_2_T.json",length:2753,language:"en",languageCategory:"en"},{id:"bec3",name:"BEC",description:"BEC考试常见词",category:"国际考试",tags:["BEC"],url:"/dicts/BEC_3_T.json",length:2825,language:"en",languageCategory:"en"},{id:"PTE_junior",name:"PTE 基础词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_junior.json",length:2651,language:"en",languageCategory:"en"},{id:"PTE_senior",name:"PTE 高阶词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_senior.json",length:3170,language:"en",languageCategory:"en"},{id:"PTE_FIB_R_junior",name:"阅读 FIB 基础机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_R_junior.json",length:941,language:"en",languageCategory:"en"},{id:"PTE_FIB_R_senior",name:"阅读 FIB 高阶机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_R_senior.json",length:1272,language:"en",languageCategory:"en"},{id:"PTE_WFD",name:"WFD 机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_WFD.json",length:1212,language:"en",languageCategory:"en"},{id:"PTE_FIB_L",name:"听力 FIB 机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_L.json",length:646,language:"en",languageCategory:"en"},{id:"PTE_Basic_apeuni",name:"PTE 基础词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Basic_apeuni.json",length:2652,language:"en",languageCategory:"en"},{id:"PTE_Advanced_apeuni.json",name:"PTE 高阶词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Advanced_apeuni.json",length:3169,language:"en",languageCategory:"en"},{id:"PTE_Read_apeuni.json",name:"PTE 阅读FIB机经词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Read_apeuni.json",length:630,language:"en",languageCategory:"en"},{id:"PTE_Listening_apeuni.json",name:"PTE 听力FIB机经词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Listening_apeuni.json",length:674,language:"en",languageCategory:"en"},{id:"TOEIC",name:"TOEIC 词汇",description:"",category:"国际考试",tags:["TOEIC"],url:"/dicts/TOEIC.json",length:1694,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_B1",name:"多邻国分级词汇B1",description:"多邻国分级词汇B1",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_B1.json",length:801,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_B2",name:"多邻国分级词汇B2",description:"多邻国分级词汇B2",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_B2.json",length:1423,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_C1",name:"多邻国分级词汇C1",description:"多邻国分级词汇C1",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_C1.json",length:1314,language:"en",languageCategory:"en"},{id:"Oxford3000",name:"牛津3000词",description:"牛津3000词",category:"国际考试",tags:["牛津版"],url:"/dicts/Oxford3000.json",length:1342,language:"en",languageCategory:"en"},{id:"Oxford5000",name:"牛津5000词",description:"牛津5000词",category:"国际考试",tags:["牛津版"],url:"/dicts/Oxford5000.json",length:5836,language:"en",languageCategory:"en"},{id:"voa",name:"VOA 基础词库",description:"VOA 基础词库",category:"国际考试",tags:["其他"],url:"/dicts/voa.json",length:1505,language:"en",languageCategory:"en"}],qZ=[{id:"gaokao3500",name:"高考 3500 词",description:"高考常见词 3500",category:"青少年英语",tags:["通用"],url:"/dicts/GaoKao_3500.json",length:3893,language:"en",languageCategory:"en"},{id:"gaokaozhentihexin",name:"高考历年真题核心高频",description:"高考历年真题核心高频",category:"青少年英语",tags:["通用"],url:"/dicts/GaoKaoZhenTiHeXinGaoPin.json",length:799,language:"en",languageCategory:"en"},{id:"gaokao-yuedu-gaopin",name:"高考英语阅读高频词汇",description:"高考英语阅读高频词汇",category:"青少年英语",tags:["通用"],url:"/dicts/gaokao-yuedu-gaopin.json",length:688,language:"en",languageCategory:"en"},{id:"zhongkaohexin",name:"中考核心词",description:"中考核心词",category:"青少年英语",tags:["通用"],url:"/dicts/ZhongKaoHeXin.json",length:2140,language:"en",languageCategory:"en"},{id:"nce1",name:"新概念英语-1",description:"新概念英语第一册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_1.json",length:900,language:"en",languageCategory:"en"},{id:"nce2",name:"新概念英语-2",description:"新概念英语第二册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_2.json",length:858,language:"en",languageCategory:"en"},{id:"nce3",name:"新概念英语-3",description:"新概念英语第三册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_3.json",length:1052,language:"en",languageCategory:"en"},{id:"nce4",name:"新概念英语-4",description:"新概念英语第四册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_4.json",length:784,language:"en",languageCategory:"en"},{id:"nce-new-1",name:"新概念英语(新版)-1",description:"新概念英语新版第一册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-1.json",length:908,language:"en",languageCategory:"en"},{id:"nce-new-2",name:"新概念英语(新版)-2",description:"新概念英语新版第二册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-2.json",length:862,language:"en",languageCategory:"en"},{id:"nce-new-3",name:"新概念英语(新版)-3",description:"新概念英语新版第三册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-3.json",length:1062,language:"en",languageCategory:"en"},{id:"nce-new-4",name:"新概念英语(新版)-4",description:"新概念英语新版第四册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-4.json",length:793,language:"en",languageCategory:"en"},{id:"SHjuniormiddleOxford",name:"上海初中牛津词汇",description:"上海初中牛津词汇",category:"青少年英语",tags:["牛津版"],url:"/dicts/OxfordVocabulary_juniorMiddleSH.json",length:1270,language:"en",languageCategory:"en"},{id:"san1",name:"三年级上",description:"人教版三年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue3_1_T.json",length:64,language:"en",languageCategory:"en"},{id:"san2",name:"三年级下",description:"人教版三年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue3_2_T.json",length:72,language:"en",languageCategory:"en"},{id:"si1",name:"四年级上",description:"人教版四年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue4_1_T.json",length:84,language:"en",languageCategory:"en"},{id:"si2",name:"四年级下",description:"人教版四年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue4_2_T.json",length:104,language:"en",languageCategory:"en"},{id:"wu1",name:"五年级上",description:"人教版五年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue5_1_T.json",length:131,language:"en",languageCategory:"en"},{id:"wu2",name:"五年级下",description:"人教版五年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue5_2_T.json",length:156,language:"en",languageCategory:"en"},{id:"liu1",name:"六年级上",description:"人教版六年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue6_1_T.json",length:130,language:"en",languageCategory:"en"},{id:"liu2",name:"六年级下",description:"人教版六年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue6_2_T.json",length:108,language:"en",languageCategory:"en"},{id:"pep-sl-yi1",name:"人教版(新起点)一年级上",description:"人教版一年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue1_1_t.json",length:52,language:"en",languageCategory:"en"},{id:"pep-sl-yi2",name:"人教版(新起点)一年级下",description:"人教版一年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue1_2_t.json",length:45,language:"en",languageCategory:"en"},{id:"pep-sl-er1",name:"人教版(新起点)二年级上",description:"人教版二年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue2_1_t.json",length:54,language:"en",languageCategory:"en"},{id:"pep-sl-er2",name:"人教版(新起点)二年级下",description:"人教版二年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue2_2_t.json",length:55,language:"en",languageCategory:"en"},{id:"pep-sl-san1",name:"人教版(新起点)三年级上",description:"人教版三年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue3_1_t.json",length:103,language:"en",languageCategory:"en"},{id:"pep-sl-san2",name:"人教版(新起点)三年级下",description:"人教版三年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue3_2_t.json",length:84,language:"en",languageCategory:"en"},{id:"pep-sl-si1",name:"人教版(新起点)四年级上",description:"人教版四年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue4_1_t.json",length:116,language:"en",languageCategory:"en"},{id:"pep-sl-si2",name:"人教版(新起点)四年级下",description:"人教版四年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue4_2_t.json",length:87,language:"en",languageCategory:"en"},{id:"pep-sl-wu1",name:"人教版(新起点)五年级上",description:"人教版五年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue5_1_t.json",length:66,language:"en",languageCategory:"en"},{id:"pep-sl-wu2",name:"人教版(新起点)五年级下",description:"人教版五年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue5_2_t.json",length:96,language:"en",languageCategory:"en"},{id:"pep-sl-liu1",name:"人教版(新起点)六年级上",description:"人教版六年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue6_1_t.json",length:102,language:"en",languageCategory:"en"},{id:"pep-sl-liu2",name:"人教版(新起点)六年级下",description:"人教版六年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue6_2_t.json",length:41,language:"en",languageCategory:"en"},{id:"qi1",name:"七年级上",description:"人教版七年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong7_1_T.json",length:392,language:"en",languageCategory:"en"},{id:"qi2",name:"七年级下",description:"人教版七年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong7_2_T.json",length:492,language:"en",languageCategory:"en"},{id:"ba1",name:"八年级上",description:"人教版八年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong8_1_T.json",length:419,language:"en",languageCategory:"en"},{id:"ba2",name:"八年级下",description:"人教版八年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong8_2_T.json",length:466,language:"en",languageCategory:"en"},{id:"jiu",name:"九年级",description:"人教版九年级全册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong9_1_T.json",length:551,language:"en",languageCategory:"en"},{id:"renjiaogaozhong1",name:"高中必修1",description:"人教版高中必修1",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_1_T.json",length:311,language:"en",languageCategory:"en"},{id:"renjiaogaozhong2",name:"高中必修2",description:"人教版高中必修2",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_2_T.json",length:319,language:"en",languageCategory:"en"},{id:"renjiaogaozhong3",name:"高中必修3",description:"人教版高中必修3",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_3_T.json",length:366,language:"en",languageCategory:"en"},{id:"renjiaogaozhong4",name:"高中必修4",description:"人教版高中必修4",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_4_T.json",length:307,language:"en",languageCategory:"en"},{id:"renjiaogaozhong5",name:"高中必修5",description:"人教版高中必修5",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_5_T.json",length:357,language:"en",languageCategory:"en"},{id:"renjiaogaozhong6",name:"高中选修6",description:"人教版高中选修6",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_6_T.json",length:391,language:"en",languageCategory:"en"},{id:"renjiaogaozhong7",name:"高中选修7",description:"人教版高中选修7",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_7_T.json",length:384,language:"en",languageCategory:"en"},{id:"renjiaogaozhong8",name:"高中选修8",description:"人教版高中选修8",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_8_T.json",length:420,language:"en",languageCategory:"en"},{id:"renjiaogaozhong9",name:"高中选修9",description:"人教版高中选修9",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_9_T.json",length:352,language:"en",languageCategory:"en"},{id:"renjiaogaozhong10",name:"高中选修10",description:"人教版高中选修10",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_10_T.json",length:361,language:"en",languageCategory:"en"},{id:"renjiaogaozhong11",name:"高中选修11",description:"人教版高中选修11",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_11_T.json",length:309,language:"en",languageCategory:"en"},{id:"waiyan1",name:"外研七年级上册",description:"外研版七年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1_T.json",length:629,language:"en",languageCategory:"en"},{id:"new-waiyan1",name:"新外研七年级上册",description:"新外研版七年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/Newwaiyan7-1.json",length:294,language:"en",languageCategory:"en"},{id:"waiyan2",name:"外研七年级下册",description:"外研版七年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2_T.json",length:438,language:"en",languageCategory:"en"},{id:"waiyan3",name:"外研八年级上册",description:"外研版八年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3_T.json",length:320,language:"en",languageCategory:"en"},{id:"waiyan4",name:"外研八年级下册",description:"外研版八年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4_T.json",length:266,language:"en",languageCategory:"en"},{id:"waiyan5",name:"外研九年级上册",description:"外研版九年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5_T.json",length:381,language:"en",languageCategory:"en"},{id:"waiyan6",name:"外研九年级下册",description:"外研版九年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6_T.json",length:128,language:"en",languageCategory:"en"},{id:"waiyan7",name:"外研高中必修1",description:"外研高中必修1",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheGaoZhong_1_T.json",length:411,language:"en",languageCategory:"en"},{id:"waiyan8",name:"外研高中必修2",description:"外研高中必修2",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheGaoZhong_2_T.json",length:272,language:"en",languageCategory:"en"},{id:"waiyan9",name:"外研一年级上册",description:"外研一年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1-Volume-up.json",length:138,language:"en",languageCategory:"en"},{id:"waiyan10",name:"外研一年级下册",description:"外研一年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1-Volume-down.json",length:118,language:"en",languageCategory:"en"},{id:"waiyan11",name:"外研二年级上册",description:"外研二年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2-Volume-top.json",length:118,language:"en",languageCategory:"en"},{id:"waiyan12",name:"外研二年级下册",description:"外研二年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2-Volume-down.json",length:110,language:"en",languageCategory:"en"},{id:"waiyan13",name:"外研三年级上册",description:"外研三年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3-Volume-top.json",length:82,language:"en",languageCategory:"en"},{id:"waiyan14",name:"外研三年级下册",description:"外研三年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3-Volume-down.json",length:106,language:"en",languageCategory:"en"},{id:"waiyan15",name:"外研四年级上册",description:"外研四年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4-Volume-top.json",length:116,language:"en",languageCategory:"en"},{id:"waiyan16",name:"外研四年级下册",description:"外研四年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4-Volume-down.json",length:78,language:"en",languageCategory:"en"},{id:"waiyan17",name:"外研五年级上册",description:"外研五年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5-Volume-top.json",length:80,language:"en",languageCategory:"en"},{id:"waiyan18",name:"外研五年级下册",description:"外研五年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5-Volume-down.json",length:72,language:"en",languageCategory:"en"},{id:"waiyan19",name:"外研六年级上册",description:"外研六年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6-Volume-top.json",length:61,language:"en",languageCategory:"en"},{id:"waiyan20",name:"外研六年级下册",description:"外研六年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6-Volume-down.json",length:91,language:"en",languageCategory:"en"},{id:"waiyan3-1",name:"外研新起点三年级上册",description:"外研新起点三年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-3-1.json",length:134,language:"en",languageCategory:"en"},{id:"waiyan3-2",name:"外研新起点三年级下册",description:"外研新起点三年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-3-2.json",length:156,language:"en",languageCategory:"en"},{id:"waiyan4-1",name:"外研新起点四年级上册",description:"外研新起点四年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-4-1.json",length:144,language:"en",languageCategory:"en"},{id:"waiyan4-2",name:"外研新起点四年级下册",description:"外研新起点四年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-4-2.json",length:134,language:"en",languageCategory:"en"},{id:"waiyan5-1",name:"外研新起点五年级上册",description:"外研新起点五年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-5-1.json",length:152,language:"en",languageCategory:"en"},{id:"waiyan5-2",name:"外研新起点五年级下册",description:"外研新起点五年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-5-2.json",length:147,language:"en",languageCategory:"en"},{id:"waiyan6-1",name:"外研新起点六年级上册",description:"外研新起点六年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-6-1.json",length:83,language:"en",languageCategory:"en"},{id:"waiyan6-2",name:"外研新起点六年级下册",description:"外研新起点六年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-6-2.json",length:105,language:"en",languageCategory:"en"},{id:"Yilin1",name:"高中必修1",description:"译林版高中必修1",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_1.json",length:276,language:"en",languageCategory:"en"},{id:"Yilin2",name:"高中必修2",description:"译林版高中必修2",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_2.json",length:297,language:"en",languageCategory:"en"},{id:"Yilin3",name:"高中必修3",description:"译林版高中必修3",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_3.json",length:295,language:"en",languageCategory:"en"},{id:"beishi1",name:"高中必修1",description:"北师大版高中必修1",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_1_T.json",length:226,language:"en",languageCategory:"en"},{id:"beishi2",name:"高中必修2",description:"北师大版高中必修2",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_2_T.json",length:244,language:"en",languageCategory:"en"},{id:"beishi3",name:"高中必修3",description:"北师大版高中必修3",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_3_T.json",length:295,language:"en",languageCategory:"en"},{id:"beishi4",name:"高中必修4",description:"北师大版高中必修4",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_4_T.json",length:336,language:"en",languageCategory:"en"},{id:"beishi5",name:"高中必修5",description:"北师大版高中必修5",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_5_T.json",length:327,language:"en",languageCategory:"en"},{id:"beishi6",name:"高中选修6",description:"北师大版高中选修6",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_6_T.json",length:271,language:"en",languageCategory:"en"},{id:"beishi7",name:"高中选修7",description:"北师大版高中选修7",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_7_T.json",length:334,language:"en",languageCategory:"en"},{id:"beishi8",name:"高中选修8",description:"北师大版高中选修8",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_8_T.json",length:364,language:"en",languageCategory:"en"},{id:"beishi9",name:"高中选修9",description:"北师大版高中选修9",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_9_T.json",length:299,language:"en",languageCategory:"en"},{id:"beishi10",name:"高中选修10",description:"北师大版高中选修10",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_10_T.json",length:267,language:"en",languageCategory:"en"},{id:"beishi11",name:"高中选修11",description:"北师大版高中选修11",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_11_T.json",length:330,language:"en",languageCategory:"en"},{id:"jijiao1",name:"冀教 3 上",description:"冀教版三年级起点三年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao3-1.json",length:75,language:"en",languageCategory:"en"},{id:"jijiao2",name:"冀教 3 下",description:"冀教版三年级起点三年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao3-2.json",length:76,language:"en",languageCategory:"en"},{id:"jijiao3",name:"冀教 4 上",description:"冀教版三年级起点四年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao4-1.json",length:78,language:"en",languageCategory:"en"},{id:"jijiao4",name:"冀教 4 下",description:"冀教版三年级起点四年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao4-2.json",length:84,language:"en",languageCategory:"en"},{id:"jijiao5",name:"冀教 5 上",description:"冀教版三年级起点五年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao5-1.json",length:79,language:"en",languageCategory:"en"},{id:"jijiao6",name:"冀教 5 下",description:"冀教版三年级起点五年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao5-2.json",length:96,language:"en",languageCategory:"en"},{id:"jijiao7",name:"冀教 6 上",description:"冀教版三年级起点六年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao6-1.json",length:66,language:"en",languageCategory:"en"},{id:"jijiao8",name:"冀教 6 下",description:"冀教版三年级起点六年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao6-2.json",length:51,language:"en",languageCategory:"en"},{id:"jijiao9",name:"冀教 7 上",description:"冀教版三年级起点七年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao7-1.json",length:561,language:"en",languageCategory:"en"},{id:"jijiao10",name:"冀教 7 下",description:"冀教版三年级起点七年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao7-2.json",length:514,language:"en",languageCategory:"en"},{id:"jijiao11",name:"冀教 8 上",description:"冀教版三年级起点八年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao8-1.json",length:420,language:"en",languageCategory:"en"},{id:"jijiao12",name:"冀教 8 下",description:"冀教版三年级起点八年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao8-2.json",length:487,language:"en",languageCategory:"en"},{id:"jijiao13",name:"冀教 9 上",description:"冀教版三年级起点九年级全册",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao9.json",length:636,language:"en",languageCategory:"en"},{id:"BJJuniorHigh",name:"北京初中",description:"北京初中",category:"青少年英语",tags:["其他"],url:"/dicts/beijing_junior_high_school.json",length:1844,language:"en",languageCategory:"en"},{id:"eflevel1",name:"EF-LEVEL-1",description:"EF等级1",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_1.json",length:297,language:"en",languageCategory:"en"},{id:"eflevel2",name:"EF-LEVEL-2",description:"EF等级2",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_2.json",length:353,language:"en",languageCategory:"en"},{id:"eflevel3",name:"EF-LEVEL-3",description:"EF等级3",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_3.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel4",name:"EF-LEVEL-4",description:"EF等级4",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_4.json",length:178,language:"en",languageCategory:"en"},{id:"eflevel5",name:"EF-LEVEL-5",description:"EF等级5",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_5.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel6",name:"EF-LEVEL-6",description:"EF等级6",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_6.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel7",name:"EF-LEVEL-7",description:"EF等级7",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_7.json",length:171,language:"en",languageCategory:"en"},{id:"eflevel8",name:"EF-LEVEL-8",description:"EF等级8",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_8.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel9",name:"EF-LEVEL-9",description:"EF等级9",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_9.json",length:165,language:"en",languageCategory:"en"},{id:"eflevel10",name:"EF-LEVEL-10",description:"EF等级10",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_10.json",length:174,language:"en",languageCategory:"en"},{id:"eflevel11",name:"EF-LEVEL-11",description:"EF等级11",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_11.json",length:176,language:"en",languageCategory:"en"},{id:"eflevel12",name:"EF-LEVEL-12",description:"EF等级12",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_12.json",length:170,language:"en",languageCategory:"en"},{id:"eflevel13",name:"EF-LEVEL-13",description:"EF等级13",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_13.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel14",name:"EF-LEVEL-14",description:"EF等级14",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_14.json",length:171,language:"en",languageCategory:"en"},{id:"eflevel15",name:"EF-LEVEL-15",description:"EF等级15",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_15.json",length:168,language:"en",languageCategory:"en"},{id:"eflevel16",name:"EF-LEVEL-16",description:"EF等级16",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_16.json",length:170,language:"en",languageCategory:"en"},{id:"ReadingExplorer3",name:"Reading Explorer 3",description:"词汇表来自Reading Explorer 3, Third Edition",category:"青少年英语",tags:["其他"],url:"/dicts/ReadingExplorer3.json",length:239,language:"en",languageCategory:"en"},{id:"Macmillan7000",name:"麦克米伦7000",description:"麦克米伦7000",category:"中国考试",tags:["其他"],url:"/dicts/Macmillan7000.json",length:6268,language:"en",languageCategory:"en"},{id:"raz-AA",name:"RAZ 分级阅读 AA",description:"RAZ 分级阅读 AA",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-AA.json",length:422,language:"en",languageCategory:"en"},{id:"raz-A",name:"RAZ 分级阅读 A",description:"RAZ 分级阅读 A",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-A.json",length:487,language:"en",languageCategory:"en"},{id:"raz-B",name:"RAZ 分级阅读 B",description:"RAZ 分级阅读 B",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-B.json",length:465,language:"en",languageCategory:"en"},{id:"raz-C",name:"RAZ 分级阅读 C",description:"RAZ 分级阅读 C",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-C.json",length:480,language:"en",languageCategory:"en"},{id:"raz-D",name:"RAZ 分级阅读 D",description:"RAZ 分级阅读 D",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-D.json",length:436,language:"en",languageCategory:"en"},{id:"raz-E",name:"RAZ 分级阅读 E",description:"RAZ 分级阅读 E",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-E.json",length:427,language:"en",languageCategory:"en"},{id:"raz-F",name:"RAZ 分级阅读 F",description:"RAZ 分级阅读 F",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-F.json",length:437,language:"en",languageCategory:"en"},{id:"raz-G",name:"RAZ 分级阅读 G",description:"RAZ 分级阅读 G",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-G.json",length:435,language:"en",languageCategory:"en"},{id:"raz-H",name:"RAZ 分级阅读 H",description:"RAZ 分级阅读 H",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-H.json",length:385,language:"en",languageCategory:"en"},{id:"raz-I",name:"RAZ 分级阅读 I",description:"RAZ 分级阅读 I",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-I.json",length:408,language:"en",languageCategory:"en"},{id:"raz-J",name:"RAZ 分级阅读 J",description:"RAZ 分级阅读 J",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-J.json",length:434,language:"en",languageCategory:"en"},{id:"raz-K",name:"RAZ 分级阅读 K",description:"RAZ 分级阅读 K",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-K.json",length:397,language:"en",languageCategory:"en"},{id:"raz-L",name:"RAZ 分级阅读 L",description:"RAZ 分级阅读 L",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-L.json",length:402,language:"en",languageCategory:"en"},{id:"raz-M",name:"RAZ 分级阅读 M",description:"RAZ 分级阅读 M",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-M.json",length:403,language:"en",languageCategory:"en"},{id:"raz-N",name:"RAZ 分级阅读 N",description:"RAZ 分级阅读 N",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-N.json",length:376,language:"en",languageCategory:"en"},{id:"raz-O",name:"RAZ 分级阅读 O",description:"RAZ 分级阅读 O",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-O.json",length:429,language:"en",languageCategory:"en"},{id:"raz-P",name:"RAZ 分级阅读 P",description:"RAZ 分级阅读 P",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-P.json",length:379,language:"en",languageCategory:"en"},{id:"raz-Q",name:"RAZ 分级阅读 Q",description:"RAZ 分级阅读 Q",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Q.json",length:442,language:"en",languageCategory:"en"},{id:"raz-R",name:"RAZ 分级阅读 R",description:"RAZ 分级阅读 R",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-R.json",length:422,language:"en",languageCategory:"en"},{id:"raz-S",name:"RAZ 分级阅读 S",description:"RAZ 分级阅读 S",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-S.json",length:434,language:"en",languageCategory:"en"},{id:"raz-T",name:"RAZ 分级阅读 T",description:"RAZ 分级阅读 T",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-T.json",length:427,language:"en",languageCategory:"en"},{id:"raz-U",name:"RAZ 分级阅读 U",description:"RAZ 分级阅读 U",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-U.json",length:418,language:"en",languageCategory:"en"},{id:"raz-V",name:"RAZ 分级阅读 V",description:"RAZ 分级阅读 V",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-V.json",length:409,language:"en",languageCategory:"en"},{id:"raz-W",name:"RAZ 分级阅读 W",description:"RAZ 分级阅读 W",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-W.json",length:392,language:"en",languageCategory:"en"},{id:"raz-X",name:"RAZ 分级阅读 X",description:"RAZ 分级阅读 X",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-X.json",length:546,language:"en",languageCategory:"en"},{id:"raz-Y",name:"RAZ 分级阅读 Y",description:"RAZ 分级阅读 Y",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Y.json",length:461,language:"en",languageCategory:"en"},{id:"raz-Z",name:"RAZ 分级阅读 Z",description:"RAZ 分级阅读 Z",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z.json",length:414,language:"en",languageCategory:"en"},{id:"raz-Z1",name:"RAZ 分级阅读 Z1",description:"RAZ 分级阅读 Z1",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z1.json",length:467,language:"en",languageCategory:"en"},{id:"raz-Z2",name:"RAZ 分级阅读 Z2",description:"RAZ 分级阅读 Z2",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z2.json",length:492,language:"en",languageCategory:"en"},{id:"raz-all",name:"RAZ 分级阅读 所有词汇",description:"RAZ 分级阅读 所有词汇",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-all.json",length:5831,language:"en",languageCategory:"en"}],YZ=[{id:"coder",name:"Coder Dict",description:"程序员常见单词词库",category:"代码练习",tags:["通用"],url:"/dicts/it-words.json",length:1700,language:"code",languageCategory:"code"},{id:"childCode",name:"少儿 Python",description:"少儿 Python 常见词",category:"代码练习",tags:["少儿编程","Python"],url:"/dicts/Child_python_code.json",length:19,language:"en",languageCategory:"code"},{id:"childCode002",name:"少儿 Python Turtle",description:"少儿 Python Turtle 常见词",category:"代码练习",tags:["少儿编程","Python"],url:"/dicts/Child_python_turtle_code.json",length:27,language:"en",languageCategory:"code"},{id:"childCode003",name:"少儿 C++",description:"少儿 C++ 常见词",category:"代码练习",tags:["少儿编程","C++"],url:"/dicts/Child_cpp.json",length:39,language:"en",languageCategory:"code"},{id:"oi-xcpc",name:"OI / XCPC 竞赛词汇",description:"OI / XCPC 竞赛词汇",category:"代码练习",tags:["C++"],url:"/dicts/OI_XCPC.json",length:195,language:"en",languageCategory:"code"},{id:"childCode004",name:"Arduino",description:"Arduino常见词",category:"代码练习",tags:["少儿编程","Arduino"],url:"/dicts/arduino_keywords.json",length:78,language:"en",languageCategory:"code"},{id:"jsArray",name:"JS: Array",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-array.json",length:36,language:"code",languageCategory:"code"},{id:"jsDate",name:"JS: Date",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-date.json",length:34,language:"code",languageCategory:"code"},{id:"jsGlobal",name:"JS: Global",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-global.json",length:9,language:"code",languageCategory:"code"},{id:"jsMapSet",name:"JS: Map & Set",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-map-set.json",length:16,language:"code",languageCategory:"code"},{id:"jsMath",name:"JS: Math",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-math.json",length:38,language:"code",languageCategory:"code"},{id:"jsNumber",name:"JS: Number",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-number.json",length:22,language:"code",languageCategory:"code"},{id:"jsObject",name:"JS: Object",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-object.json",length:37,language:"code",languageCategory:"code"},{id:"jsPromise",name:"JS: Promise",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-promise.json",length:9,language:"code",languageCategory:"code"},{id:"jsString",name:"JS: String",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-string.json",length:32,language:"code",languageCategory:"code"},{id:"python-builtin",name:"Python: Built-in",description:"Python Built-in API",category:"代码练习",tags:["Python"],url:"/dicts/python-builtin.json",length:65,language:"code",languageCategory:"code"},{id:"python-array",name:"Python: array",description:"Python array API ",category:"代码练习",tags:["Python"],url:"/dicts/python-array.json",length:11,language:"code",languageCategory:"code"},{id:"python-date",name:"Python: date",description:"Python date API ",category:"代码练习",tags:["Python"],url:"/dicts/python-date.json",length:39,language:"code",languageCategory:"code"},{id:"python-file",name:"Python: file",description:"Python file API ",category:"代码练习",tags:["Python"],url:"/dicts/python-file.json",length:21,language:"code",languageCategory:"code"},{id:"python-class",name:"Python: class",description:"Python class API ",category:"代码练习",tags:["Python"],url:"/dicts/python-class.json",length:13,language:"code",languageCategory:"code"},{id:"python-set",name:"Python: set",description:"Python set API ",category:"代码练习",tags:["Python"],url:"/dicts/python-set.json",length:29,language:"code",languageCategory:"code"},{id:"python-math",name:"Python: math",description:"Python math API ",category:"代码练习",tags:["Python"],url:"/dicts/python-math.json",length:37,language:"code",languageCategory:"code"},{id:"python-string",name:"Python: string",description:"Python string API ",category:"代码练习",tags:["Python"],url:"/dicts/python-string.json",length:40,language:"code",languageCategory:"code"},{id:"python-system",name:"Python: system",description:"Python system API ",category:"代码练习",tags:["Python"],url:"/dicts/python-sys.json",length:24,language:"code",languageCategory:"code"},{id:"javeArrayList",name:"Java: ArrayList",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-arraylist.json",length:25,language:"code",languageCategory:"code"},{id:"javaCharacter",name:"Java: Character",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-character.json",length:8,language:"code",languageCategory:"code"},{id:"javaHashmap",name:"Java: Hashmap",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-hashmap.json",length:22,language:"code",languageCategory:"code"},{id:"javaLinkedList",name:"Java: LinkedList",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-linkedlist.json",length:25,language:"code",languageCategory:"code"},{id:"javaString",name:"Java: String",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-string.json",length:48,language:"code",languageCategory:"code"},{id:"javaStringBuffer",name:"Java: StringBuffer",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-stringBuffer.json",length:20,language:"code",languageCategory:"code"},{id:"linuxCommand",name:"Linux",description:"Linux Command",category:"代码练习",tags:["Linux"],url:"/dicts/linux-command.json",length:575,language:"code",languageCategory:"code"},{id:"csharpKeywords",name:"C#关键字",description:"C#关键字以及用途",category:"代码练习",tags:["C#"],url:"/dicts/csharp-keywords.json",length:78,language:"code",languageCategory:"code"},{id:"csharpString",name:"C#: String API",description:"C# String API",category:"代码练习",tags:["C#"],url:"/dicts/csharp-string.json",length:79,language:"code",languageCategory:"code"},{id:"csharpList",name:"C#: List API",description:"C# List API",category:"代码练习",tags:["C#"],url:"/dicts/csharp-list.json",length:36,language:"code",languageCategory:"code"},{id:"sql-lower-case",name:"SQL: 常用语句 lower case",description:"SQL 常用语句 小写",category:"代码练习",tags:["SQL"],url:"/dicts/SQL_statement_lower-case.json",length:12,language:"code",languageCategory:"code"},{id:"sql-upper-case",name:"SQL: 常用语句 upper case",description:"SQL 常用语句 大写",category:"代码练习",tags:["SQL"],url:"/dicts/SQL_statement_upper-case.json",length:12,language:"code",languageCategory:"code"},{id:"ai-machine-learning",name:"人工智能: 机器学习",description:"AI机器学习 常用英语词汇",category:"代码练习",tags:["AI"],url:"/dicts/ai_machine_learning.json",length:726,language:"code",languageCategory:"code"},{id:"ai-ai-for-science",name:"人工智能: AI for Science",description:"AI for Science 常用英语词汇",category:"代码练习",tags:["AI"],url:"/dicts/ai_for_science.json",length:491,language:"code",languageCategory:"code"},{id:"go_keyword",name:"golang-keyword",description:"go语言关键字,",category:"代码练习",tags:["golang"],url:"/dicts/go_keyword.json",length:25,language:"code",languageCategory:"code"},{id:"go_builtin",name:"golang-builtin",description:"go语言内建函数和类型",category:"代码练习",tags:["golang"],url:"/dicts/go_builtin.json",length:46,language:"code",languageCategory:"code"}],XZ=[{id:"japanese001",name:"日语常见词",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/Japanesebasicword.json",length:100,language:"romaji",languageCategory:"ja"},{id:"japanese001-zh",name:"日语常见词",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/Japanesebasicword_zh.json",length:100,language:"romaji",languageCategory:"ja"},{id:"japanese002",name:"N5",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N5.json",length:670,language:"romaji",languageCategory:"ja"},{id:"japanese002-zh",name:"N5",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N5_zh.json",length:670,language:"romaji",languageCategory:"ja"},{id:"japanese003",name:"N4",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N4.json",length:635,language:"romaji",languageCategory:"ja"},{id:"japanese003-zh",name:"N4",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N4_zh.json",length:635,language:"romaji",languageCategory:"ja"},{id:"japanese004",name:"N3",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N3.json",length:1830,language:"romaji",languageCategory:"ja"},{id:"japanese004-zh",name:"N3",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N3_zh.json",length:1830,language:"romaji",languageCategory:"ja"},{id:"japanese005",name:"N2",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N2.json",length:1836,language:"romaji",languageCategory:"ja"},{id:"japanese005-zh",name:"N2",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N2_zh.json",length:1836,language:"romaji",languageCategory:"ja"},{id:"japanese006",name:"N1",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N1.json",length:3477,language:"romaji",languageCategory:"ja"},{id:"japanese006-zh",name:"N1",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N1_zh.json",length:3477,language:"romaji",languageCategory:"ja"},{id:"japanese007",name:"高频单词_N1",description:"高频单词_日语N1",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N1.json",length:3e3,language:"romaji",languageCategory:"ja"},{id:"japanese008",name:"高频单词_N2",description:"高频单词_日语N2",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N2.json",length:2500,language:"romaji",languageCategory:"ja"},{id:"japanese009",name:"高频单词_N3",description:"高频单词_日语N3",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N3.json",length:1999,language:"romaji",languageCategory:"ja"},{id:"japanese0010",name:"高频单词_N4N5",description:"高频单词_日语N4N5",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N4N5.json",length:2e3,language:"romaji",languageCategory:"ja"}],ZZ=[{id:"german2en",name:"德语 英译",description:"德语词汇, 英语翻译",category:"德语学习",tags:["基础"],url:"/dicts/german2en.json",length:5892,language:"de",languageCategory:"de"},{id:"en2german",name:"英语 德译",description:"英语词汇,德语翻译",category:"德语学习",tags:["基础"],url:"/dicts/en2german.json",length:5025,language:"en",languageCategory:"de"}],QZ=[{id:"kazakh_basic_3000_arabic_hapin",name:"基础3000词(老文字版)",description:"哈萨克语基础3000词(哈拼老文字版)",category:"哈萨克语",tags:["老文字","哈拼"],url:"/dicts/kazakh_basic_3000_arabic_hapin.json",length:3002,language:"hapin",languageCategory:"kk"},{id:"kazakh_basic_3000_cyrillic_hapin",name:"基础3000词(西里尔字母版)",description:"哈萨克语基础3000词(哈拼西里尔字母版)",category:"哈萨克语",tags:["西里尔字母","哈拼"],url:"/dicts/kazakh_basic_3000_cyrillic_hapin.json",length:3002,language:"hapin",languageCategory:"kk"}],JZ=[{id:"indonesian_highFrequency_3043",name:"印尼语高频词汇",description:"印尼语常用单词及中文解释",category:"印尼语",tags:["基础"],url:"/dicts/Indonesian.json",length:3037,language:"id",languageCategory:"id"}],eQ=[...GZ,...KZ,...qZ,...YZ,...XZ,...ZZ,...QZ,...JZ],tQ=eQ.map(e=>({...e,chapterCount:WZ(e.length)})),Hf=Object.fromEntries(tQ.map(e=>[e.id,e])),rQ=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"m18.412 6.5l-.801 13.617A2 2 0 0 1 15.614 22H8.386a2 2 0 0 1-1.997-1.883L5.59 6.5H3.5v-1A.5.5 0 0 1 4 5h16a.5.5 0 0 1 .5.5v1zM10 2.5h4a.5.5 0 0 1 .5.5v1h-5V3a.5.5 0 0 1 .5-.5M9 9l.5 9H11l-.4-9zm4.5 0l-.5 9h1.5l.5-9z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const nQ=({record:e,onDelete:t})=>{const r=wa(dh),n=Hf[e.dict],{word:a,isLoading:o,hasError:i}=c7(e.word,n),s=p.useCallback(()=>{r(e),BM("detail")},[e,r]);return I("li",{className:"opacity-85 flex w-full cursor-pointer items-center justify-between rounded-lg bg-white px-6 py-3 text-black shadow-md dark:bg-gray-800 dark:text-white",onClick:s,children:[y("span",{className:"basis-2/12 break-normal",children:e.word}),y("span",{className:"basis-6/12 break-normal",children:a?a.trans.join(";"):y(__,{isLoading:o,hasError:i})}),y("span",{className:"basis-1/12 break-normal pl-8",children:e.wrongCount}),y("span",{className:"basis-1/12 break-normal",children:n==null?void 0:n.name}),y("span",{className:"basis-1/12 break-normal",onClick:l=>{l.stopPropagation(),t()},children:y(UL,{children:I(zL,{children:[y(VL,{asChild:!0,children:y(rQ,{})}),y(cE,{children:y("p",{children:"Delete Records"})})]})})})]})};var WM={exports:{}};/*! +`);var t="",r,n,a=0,o;for(r=n=0,a=e.length,o=0;o127&&i<2048?s=String.fromCharCode(i>>6|192,i&63|128):s=String.fromCharCode(i>>12|224,i>>6&63|128,i&63|128),s!==null&&(n>r&&(t+=e.substring(r,n)),t+=s,r=n=o+1)}return n>r&&(t+=e.substring(r,e.length)),t};T.UUID=function(){var e=function(){var n=1*new Date,a;if(dt.performance&&dt.performance.now)a=dt.performance.now();else for(a=0;n==1*new Date;)a++;return n.toString(16)+Math.floor(a).toString(16)},t=function(){return Math.random().toString(16).replace(".","")},r=function(){var n=ga,a,o,i=[],s=0;function l(u,f){var c,d=0;for(c=0;c=4&&(s=l(s,i),i=[]);return i.length>0&&(s=l(s,i)),s.toString(16)};return function(){var n=(um.height*um.width).toString(16);return e()+"-"+t()+"-"+r()+"-"+n+"-"+e()}}();var S4=["ahrefsbot","baiduspider","bingbot","bingpreview","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];T.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t=0}function n(a){if(!qe.getElementsByTagName)return[];var o=a.split(" "),i,s,l,u,f,c,d,h,g,m,w=[qe];for(c=0;c-1){s=i.split("#"),l=s[0];var v=s[1],b=qe.getElementById(v);if(!b||l&&b.nodeName.toLowerCase()!=l)return[];w=[b];continue}if(i.indexOf(".")>-1){s=i.split("."),l=s[0];var _=s[1];for(l||(l="*"),u=[],f=0,d=0;d-1};break;default:S=function(A){return A.getAttribute(C)}}for(w=[],m=0,d=0;d=3?t[2]:""},properties:function(){return T.extend(T.strip_empty_properties({$os:T.info.os(),$browser:T.info.browser(ga,ui.vendor,Kp),$referrer:qe.referrer,$referring_domain:T.info.referringDomain(qe.referrer),$device:T.info.device(ga)}),{$current_url:dt.location.href,$browser_version:T.info.browserVersion(ga,ui.vendor,Kp),$screen_height:um.height,$screen_width:um.width,mp_lib:"web",$lib_version:so.LIB_VERSION,$insert_id:RE(),time:T.timestamp()/1e3})},people_properties:function(){return T.extend(T.strip_empty_properties({$os:T.info.os(),$browser:T.info.browser(ga,ui.vendor,Kp)}),{$browser_version:T.info.browserVersion(ga,ui.vendor,Kp)})},mpPageViewProperties:function(){return T.strip_empty_properties({current_page_title:qe.title,current_domain:dt.location.hostname,current_url_path:dt.location.pathname,current_url_protocol:dt.location.protocol,current_url_search:dt.location.search})}};var RE=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},gZ=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,vZ=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,E4=function(e){var t=vZ,r=e.split("."),n=r[r.length-1];(n.length>4||n==="com"||n==="org")&&(t=gZ);var a=e.match(t);return a?a[0]:""},fm=null,hm=null;typeof JSON<"u"&&(fm=JSON.stringify,hm=JSON.parse);fm=fm||T.JSONEncode;hm=hm||T.JSONDecode;T.toArray=T.toArray;T.isObject=T.isObject;T.JSONEncode=T.JSONEncode;T.JSONDecode=T.JSONDecode;T.isBlockedUA=T.isBlockedUA;T.isEmptyObject=T.isEmptyObject;T.info=T.info;T.info.device=T.info.device;T.info.browser=T.info.browser;T.info.browserVersion=T.info.browserVersion;T.info.properties=T.info.properties;var Oo=function(){};Oo.prototype.create_properties=function(){};Oo.prototype.event_handler=function(){};Oo.prototype.after_track_handler=function(){};Oo.prototype.init=function(e){return this.mp=e,this};Oo.prototype.track=function(e,t,r,n){var a=this,o=T.dom_query(e);if(o.length===0){Ge.error("The DOM query ("+e+") returned 0 elements");return}return T.each(o,function(i){T.register_event(i,this.override_event,function(s){var l={},u=a.create_properties(r,this),f=a.mp.get_config("track_links_timeout");a.event_handler(s,this,l),window.setTimeout(a.track_callback(n,u,l,!0),f),a.mp.track(t,u,a.track_callback(n,u,l))})},this),!0};Oo.prototype.track_callback=function(e,t,r,n){n=n||!1;var a=this;return function(){r.callback_fired||(r.callback_fired=!0,!(e&&e(n,t)===!1)&&a.after_track_handler(t,r,n))}};Oo.prototype.create_properties=function(e,t){var r;return typeof e=="function"?r=e(t):r=T.extend({},e),r};var Kc=function(){this.override_event="click"};T.inherit(Kc,Oo);Kc.prototype.create_properties=function(e,t){var r=Kc.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r};Kc.prototype.event_handler=function(e,t,r){r.new_tab=e.which===2||e.metaKey||e.ctrlKey||t.target==="_blank",r.href=t.href,r.new_tab||e.preventDefault()};Kc.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var M0=function(){this.override_event="submit"};T.inherit(M0,Oo);M0.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()};M0.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var mZ=AE("lock"),AM=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3};AM.prototype.withLock=function(e,t,r){!r&&typeof t!="function"&&(r=t,t=null);var n=r||new Date().getTime()+"|"+Math.random(),a=new Date().getTime(),o=this.storageKey,i=this.pollIntervalMS,s=this.timeoutMS,l=this.storage,u=o+":X",f=o+":Y",c=o+":Z",d=function(b){t&&t(b)},h=function(b){if(new Date().getTime()-a>s){mZ.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+n+"]"),l.removeItem(c),l.removeItem(f),w();return}setTimeout(function(){try{b()}catch(_){d(_)}},i*(Math.random()+.1))},g=function(b,_){b()?_():h(function(){g(b,_)})},m=function(){var b=l.getItem(f);if(b&&b!==n)return!1;if(l.setItem(f,n),l.getItem(f)===n)return!0;if(!dm(l,!0))throw new Error("localStorage support dropped while acquiring lock");return!1},w=function(){l.setItem(u,n),g(m,function(){if(l.getItem(u)===n){v();return}h(function(){if(l.getItem(f)!==n){w();return}g(function(){return!l.getItem(c)},v)})})},v=function(){l.setItem(c,"1");try{e()}finally{l.removeItem(c),l.getItem(f)===n&&l.removeItem(f),l.getItem(u)===n&&l.removeItem(u)}};try{if(dm(l,!0))w();else throw new Error("localStorage support check failed")}catch(b){d(b)}};var C4=AE("batch"),Ji=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||window.localStorage,this.reportError=t.errorReporter||T.bind(C4.error,C4),this.lock=new AM(e,{storage:this.storage}),this.pid=t.pid||null,this.memQueue=[]};Ji.prototype.enqueue=function(e,t,r){var n={id:RE(),flushAfter:new Date().getTime()+t*2,payload:e};this.lock.withLock(T.bind(function(){var o;try{var i=this.readFromStorage();i.push(n),o=this.saveToStorage(i),o&&this.memQueue.push(n)}catch{this.reportError("Error enqueueing item",e),o=!1}r&&r(o)},this),T.bind(function(o){this.reportError("Error acquiring storage lock",o),r&&r(!1)},this),this.pid)};Ji.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);if(t.lengtho.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}}return t};var T4=function(e,t){var r=[];return T.each(e,function(n){n.id&&!t[n.id]&&r.push(n)}),r};Ji.prototype.removeItemsByID=function(e,t){var r={};T.each(e,function(a){r[a]=!0}),this.memQueue=T4(this.memQueue,r);var n=T.bind(function(){var a;try{var o=this.readFromStorage();if(o=T4(o,r),a=this.saveToStorage(o),a){o=this.readFromStorage();for(var i=0;i5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:u,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[d]}),c=!1):this.reportError("[dupe] found item with no ID",{item:u}),c&&o.push(f)}i[u.id]=f},this),o.length<1){this.resetFlush();return}this.requestInProgress=!0;var s=T.bind(function(u){this.requestInProgress=!1;try{var f=!1;if(e.unloading)this.queue.updatePayloads(i);else if(T.isObject(u)&&u.error==="timeout"&&new Date().getTime()-r>=t)this.reportError("Network timeout; retrying"),this.flush();else if(T.isObject(u)&&u.xhr_req&&(u.xhr_req.status>=500||u.xhr_req.status===429||u.error==="timeout")){var c=this.flushInterval*2,d=u.xhr_req.responseHeaders;if(d){var h=d["Retry-After"];h&&(c=parseInt(h,10)*1e3||c)}c=Math.min(yZ,c),this.reportError("Error; retry in "+c+" ms"),this.scheduleFlush(c)}else if(T.isObject(u)&&u.xhr_req&&u.xhr_req.status===413)if(a.length>1){var g=Math.max(1,Math.floor(n/2));this.batchSize=Math.min(this.batchSize,g,a.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",a),this.resetBatchSize(),f=!0;else f=!0;f&&(this.queue.removeItemsByID(T.map(a,function(m){return m.id}),T.bind(function(m){m?(this.consecutiveRemovalFailures=0,this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())},this)),T.each(a,T.bind(function(m){var w=m.id;w?(this.itemIdsSentSuccessfully[w]=this.itemIdsSentSuccessfully[w]||0,this.itemIdsSentSuccessfully[w]++,this.itemIdsSentSuccessfully[w]>5&&this.reportError("[dupe] item ID sent too many times",{item:m,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[w]})):this.reportError("[dupe] found item with no ID while removing",{item:m})},this)))}catch(m){this.reportError("Error handling API response",m),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};e.unloading&&(l.transport="sendBeacon"),rf.log("MIXPANEL REQUEST:",o),this.sendRequest(o,l,s)}catch(u){this.reportError("Error flushing request queue",u),this.resetFlush()}};Oa.prototype.reportError=function(e,t){if(rf.error.apply(rf.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(r){rf.error(r)}};var bZ="__mp_opt_in_out_";function wZ(e,t){OM(!0,e,t)}function _Z(e,t){OM(!1,e,t)}function $Z(e,t){return kM(e,t)==="1"}function RM(e,t){if(SZ(t))return Ge.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r=kM(e,t)==="0";return r&&Ge.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function wu(e){return PE(e,function(t){return this.get_config(t)})}function es(e){return PE(e,function(t){return this._get_config(t)})}function _u(e){return PE(e,function(t){return this._get_config(t)})}function xZ(e,t){t=t||{},kE(t).remove(OE(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function kE(e){return e=e||{},e.persistenceType==="localStorage"?T.localStorage:T.cookie}function OE(e,t){return t=t||{},(t.persistencePrefix||bZ)+e}function kM(e,t){return kE(t).get(OE(e,t))}function SZ(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||dt,r=t.navigator||{},n=!1;return T.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(a){T.includes([!0,1,"1","yes"],a)&&(n=!0)}),n}function OM(e,t,r){if(!T.isString(t)||!t.length){Ge.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token");return}r=r||{},kE(r).set(OE(t,r),e?1:0,T.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})}function PE(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),a=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),i=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");n&&(r=RM(n,{ignoreDnt:a,persistenceType:o,persistencePrefix:i,window:s}))}catch(u){Ge.error("Unexpected error when checking tracking opt-out status: "+u)}if(!r)return e.apply(this,arguments);var l=arguments[arguments.length-1];typeof l=="function"&&l(0)}}var Fi="$set",qc="$set_once",Xn="$unset",nl="$add",_o="$append",al="$union",Bi="$remove",EZ="$delete",PM={set_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[Fi]=n,r},unset_action:function(e){var t={},r=[];return T.isArray(e)||(e=[e]),T.each(e,function(n){this._is_reserved_property(n)||r.push(n)},this),t[Xn]=r,t},set_once_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[qc]=n,r},union_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=T.isArray(a)?a:[a])},this):n[e]=T.isArray(t)?t:[t],r[al]=n,r},append_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[_o]=n,r},remove_action:function(e,t){var r={},n={};return T.isObject(e)?T.each(e,function(a,o){this._is_reserved_property(o)||(n[o]=a)},this):n[e]=t,r[Bi]=n,r},delete_action:function(){var e={};return e[EZ]="",e}},nt=function(){};T.extend(nt.prototype,PM);nt.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r};nt.prototype.set=_u(function(e,t,r){var n=this.set_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});nt.prototype.set_once=_u(function(e,t,r){var n=this.set_once_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});nt.prototype.unset=_u(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)});nt.prototype.union=_u(function(e,t,r){T.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)});nt.prototype.delete=_u(function(e){var t=this.delete_action();return this._send_request(t,e)});nt.prototype.remove=_u(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)});nt.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=T.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._get_config("api_host")+"/groups/",batcher:this._mixpanel.request_batchers.groups},t)};nt.prototype._is_reserved_property=function(e){return e==="$group_key"||e==="$group_id"};nt.prototype._get_config=function(e){return this._mixpanel.get_config(e)};nt.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};nt.prototype.remove=nt.prototype.remove;nt.prototype.set=nt.prototype.set;nt.prototype.set_once=nt.prototype.set_once;nt.prototype.union=nt.prototype.union;nt.prototype.unset=nt.prototype.unset;nt.prototype.toString=nt.prototype.toString;var pe=function(){};T.extend(pe.prototype,PM);pe.prototype._init=function(e){this._mixpanel=e};pe.prototype.set=es(function(e,t,r){var n=this.set_action(e,t);return T.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[Fi]=T.extend({},T.info.people_properties(),this._mixpanel.persistence.get_referrer_info(),n[Fi]),this._send_request(n,r)});pe.prototype.set_once=es(function(e,t,r){var n=this.set_once_action(e,t);return T.isObject(e)&&(r=t),this._send_request(n,r)});pe.prototype.unset=es(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)});pe.prototype.increment=es(function(e,t,r){var n={},a={};return T.isObject(e)?(T.each(e,function(o,i){if(!this._is_reserved_property(i))if(isNaN(parseFloat(o))){Ge.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else a[i]=o},this),r=t):(T.isUndefined(t)&&(t=1),a[e]=t),n[nl]=a,this._send_request(n,r)});pe.prototype.append=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)});pe.prototype.remove=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)});pe.prototype.union=es(function(e,t,r){T.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)});pe.prototype.track_charge=es(function(e,t,r){if(!T.isNumber(e)&&(e=parseFloat(e),isNaN(e))){Ge.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",T.extend({$amount:e},t),r)});pe.prototype.clear_charges=function(e){return this.set("$transactions",[],e)};pe.prototype.delete_user=function(){if(!this._identify_called()){Ge.error("mixpanel.people.delete_user() requires you to call identify() first");return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)};pe.prototype.toString=function(){return this._mixpanel.toString()+".people"};pe.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),a=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),a&&(e.$had_persisted_distinct_id=a);var o=T.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._get_config("api_host")+"/engage/",batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),T.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),T.truncate(o,255))};pe.prototype._get_config=function(e){return this._mixpanel.get_config(e)};pe.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};pe.prototype._enqueue=function(e){Fi in e?this._mixpanel.persistence._add_to_people_queue(Fi,e):qc in e?this._mixpanel.persistence._add_to_people_queue(qc,e):Xn in e?this._mixpanel.persistence._add_to_people_queue(Xn,e):nl in e?this._mixpanel.persistence._add_to_people_queue(nl,e):_o in e?this._mixpanel.persistence._add_to_people_queue(_o,e):Bi in e?this._mixpanel.persistence._add_to_people_queue(Bi,e):al in e?this._mixpanel.persistence._add_to_people_queue(al,e):Ge.error("Invalid call to _enqueue():",e)};pe.prototype._flush_one_queue=function(e,t,r,n){var a=this,o=T.extend({},this._mixpanel.persistence._get_queue(e)),i=o;!T.isUndefined(o)&&T.isObject(o)&&!T.isEmptyObject(o)&&(a._mixpanel.persistence._pop_from_people_queue(e,o),n&&(i=n(o)),t.call(a,i,function(s,l){s===0&&a._mixpanel.persistence._add_to_people_queue(e,o),T.isUndefined(r)||r(s,l)}))};pe.prototype._flush=function(e,t,r,n,a,o,i){var s=this,l=this._mixpanel.persistence._get_queue(_o),u=this._mixpanel.persistence._get_queue(Bi);if(this._flush_one_queue(Fi,this.set,e),this._flush_one_queue(qc,this.set_once,n),this._flush_one_queue(Xn,this.unset,o,function(w){return T.keys(w)}),this._flush_one_queue(nl,this.increment,t),this._flush_one_queue(al,this.union,a),!T.isUndefined(l)&&T.isArray(l)&&l.length){for(var f,c=function(w,v){w===0&&s._mixpanel.persistence._add_to_people_queue(_o,f),T.isUndefined(r)||r(w,v)},d=l.length-1;d>=0;d--)f=l.pop(),T.isEmptyObject(f)||s.append(f,c);s._mixpanel.persistence.save()}if(!T.isUndefined(u)&&T.isArray(u)&&u.length){for(var h,g=function(w,v){w===0&&s._mixpanel.persistence._add_to_people_queue(Bi,h),T.isUndefined(i)||i(w,v)},m=u.length-1;m>=0;m--)h=u.pop(),T.isEmptyObject(h)||s.remove(h,g);s._mixpanel.persistence.save()}};pe.prototype._is_reserved_property=function(e){return e==="$distinct_id"||e==="$token"||e==="$device_id"||e==="$user_id"||e==="$had_persisted_distinct_id"};pe.prototype.set=pe.prototype.set;pe.prototype.set_once=pe.prototype.set_once;pe.prototype.unset=pe.prototype.unset;pe.prototype.increment=pe.prototype.increment;pe.prototype.append=pe.prototype.append;pe.prototype.remove=pe.prototype.remove;pe.prototype.union=pe.prototype.union;pe.prototype.track_charge=pe.prototype.track_charge;pe.prototype.clear_charges=pe.prototype.clear_charges;pe.prototype.delete_user=pe.prototype.delete_user;pe.prototype.toString=pe.prototype.toString;var IE="__mps",NE="__mpso",LE="__mpus",ME="__mpa",DE="__mpap",jE="__mpr",FE="__mpu",IM="$people_distinct_id",pm="__alias",Vf="__timers",CZ=[IE,NE,LE,ME,DE,jE,FE,IM,pm,Vf],be=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;t!=="cookie"&&t!=="localStorage"&&(Ge.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),t==="localStorage"&&T.localStorage.is_supported()?this.storage=T.localStorage:this.storage=T.cookie,this.load(),this.update_config(e),this.upgrade(e),this.save()};be.prototype.properties=function(){var e={};return T.each(this.props,function(t,r){T.include(CZ,r)||(e[r]=t)}),e};be.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=T.extend({},e))}};be.prototype.upgrade=function(e){var t=e.upgrade,r,n;t&&(r="mp_super_properties",typeof t=="string"&&(r=t),n=this.storage.parse(r),this.storage.remove(r),this.storage.remove(r,!0),n&&(this.props=T.extend(this.props,n.all,n.events))),!e.cookie_name&&e.name!=="mixpanel"&&(r="mp_"+e.token+"_"+e.name,n=this.storage.parse(r),n&&(this.storage.remove(r),this.storage.remove(r,!0),this.register_once(n))),this.storage===T.localStorage&&(n=T.cookie.parse(this.name),T.cookie.remove(this.name),T.cookie.remove(this.name,!0),n&&this.register_once(n))};be.prototype.save=function(){this.disabled||this.storage.set(this.name,T.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};be.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};be.prototype.clear=function(){this.remove(),this.props={}};be.prototype.register_once=function(e,t,r){return T.isObject(e)?(typeof t>"u"&&(t="None"),this.expire_days=typeof r>"u"?this.default_expiry:r,T.each(e,function(n,a){(!this.props.hasOwnProperty(a)||this.props[a]===t)&&(this.props[a]=n)},this),this.save(),!0):!1};be.prototype.register=function(e,t){return T.isObject(e)?(this.expire_days=typeof t>"u"?this.default_expiry:t,T.extend(this.props,e),this.save(),!0):!1};be.prototype.unregister=function(e){e in this.props&&(delete this.props[e],this.save())};be.prototype.update_search_keyword=function(e){this.register(T.info.searchInfo(e))};be.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:T.info.referringDomain(e)||"$direct"},"")};be.prototype.get_referrer_info=function(){return T.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};be.prototype.safe_merge=function(e){return T.each(this.props,function(t,r){r in e||(e[r]=t)}),e};be.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)};be.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()};be.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())};be.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())};be.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())};be.prototype.get_cross_subdomain=function(){return this.cross_subdomain};be.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())};be.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],a=this._get_or_create_queue(Fi),o=this._get_or_create_queue(qc),i=this._get_or_create_queue(Xn),s=this._get_or_create_queue(nl),l=this._get_or_create_queue(al),u=this._get_or_create_queue(Bi,[]),f=this._get_or_create_queue(_o,[]);r===IE?(T.extend(a,n),this._pop_from_people_queue(nl,n),this._pop_from_people_queue(al,n),this._pop_from_people_queue(Xn,n)):r===NE?(T.each(n,function(c,d){d in o||(o[d]=c)}),this._pop_from_people_queue(Xn,n)):r===LE?T.each(n,function(c){T.each([a,o,s,l],function(d){c in d&&delete d[c]}),T.each(f,function(d){c in d&&delete d[c]}),i[c]=!0}):r===ME?(T.each(n,function(c,d){d in a?a[d]+=c:(d in s||(s[d]=0),s[d]+=c)},this),this._pop_from_people_queue(Xn,n)):r===FE?(T.each(n,function(c,d){T.isArray(c)&&(d in l||(l[d]=[]),l[d]=l[d].concat(c))}),this._pop_from_people_queue(Xn,n)):r===jE?(u.push(n),this._pop_from_people_queue(_o,n)):r===DE&&(f.push(n),this._pop_from_people_queue(Xn,n)),Ge.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Ge.log(t),this.save()};be.prototype._pop_from_people_queue=function(e,t){var r=this._get_queue(e);T.isUndefined(r)||(T.each(t,function(n,a){e===_o||e===Bi?T.each(r,function(o){o[a]===n&&delete o[a]}):delete r[a]},this),this.save())};be.prototype._get_queue_key=function(e){if(e===Fi)return IE;if(e===qc)return NE;if(e===Xn)return LE;if(e===nl)return ME;if(e===_o)return DE;if(e===Bi)return jE;if(e===al)return FE;Ge.error("Invalid queue:",e)};be.prototype._get_queue=function(e){return this.props[this._get_queue_key(e)]};be.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=T.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)};be.prototype.set_event_timer=function(e,t){var r=this.props[Vf]||{};r[e]=t,this.props[Vf]=r,this.save()};be.prototype.remove_event_timer=function(e){var t=this.props[Vf]||{},r=t[e];return T.isUndefined(r)||(delete this.props[Vf][e],this.save()),r};var BE,ar,NM=0,TZ=1,AZ=function(e){return e},Wf=function(){},Sn="mixpanel",LM="base64",RZ="json",UE="$device:",Sc=dt.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,MM=!Sc&&ga.indexOf("MSIE")===-1&&ga.indexOf("Mozilla")===-1,gm=null;ui.sendBeacon&&(gm=function(){return ui.sendBeacon.apply(ui,arguments)});var R4={api_host:"https://api-js.mixpanel.com",api_method:"POST",api_transport:"XHR",api_payload_format:LM,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Wf,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Wf,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{}},DM=!1,W=function(){},t2=function(e,t,r){var n,a=r===Sn?ar:ar[r];if(a&&BE===NM)n=a;else{if(a&&!T.isArray(a)){Ge.error("You have already initialized "+r);return}n=new W}if(n._cached_groups={},n._init(e,t,r),n.people=new pe,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var o=T.info.campaignParams(null),i={},s=!1;T.each(o,function(l,u){i["initial_"+u]=l,l&&(s=!0)}),s&&n.people.set_once(i)}return so.DEBUG=so.DEBUG||n.get_config("debug"),!T.isUndefined(a)&&T.isArray(a)&&(n._execute_array.call(n.people,a.people),n._execute_array(a)),n};W.prototype.init=function(e,t,r){if(T.isUndefined(r)){this.report_error("You must name your new library: init(token, config, name)");return}if(r===Sn){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var n=t2(e,t,r);return ar[r]=n,n._loaded(),n};W.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if(!("api_payload_format"in t)){var a=t.api_host||R4.api_host;a.match(/\.mixpanel\.com/)&&(n.api_payload_format=RZ)}if(this.set_config(T.extend({},R4,n,t,{name:r,token:e,callback_fn:(r===Sn?r:Sn+"."+r)+"._jsc"})),this._jsc=Wf,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!T.localStorage.is_supported(!0)||!Sc)this._batch_requests=!1,Ge.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support");else if(this.init_batchers(),gm&&dt.addEventListener){var o=T.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);dt.addEventListener("pagehide",function(s){s.persisted&&o()}),dt.addEventListener("visibilitychange",function(){qe.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new be(this.config),this.unpersisted_superprops={},this._gdpr_init();var i=T.UUID();this.get_distinct_id()||this.register_once({distinct_id:UE+i,$device_id:i},""),this.get_config("track_pageview")&&this.track_pageview()};W.prototype._loaded=function(){this.get_config("loaded")(this),this._set_default_superprops()};W.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(qe.referrer),this.get_config("store_google")&&this.register(T.info.campaignParams(),{persistent:!1}),this.get_config("save_referrer")&&this.persistence.update_referrer_info(qe.referrer)};W.prototype._dom_loaded=function(){T.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||T.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue};W.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!DM)return this.__dom_loaded_queue.push([e,t]),!1;var r=new e().init(this);return r.track.apply(r,t)};W.prototype._prepare_callback=function(e,t){if(T.isUndefined(e))return null;if(Sc){var r=function(i){e(i,t)};return r}else{var n=this._jsc,a=""+Math.floor(Math.random()*1e8),o=this.get_config("callback_fn")+"["+a+"]";return n[a]=function(i){delete n[a],e(i,t)},o}};W.prototype._send_request=function(e,t,r,n){var a=!0;if(MM)return this.__request_queue.push(arguments),a;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},i=null;!n&&(T.isFunction(r)||typeof r=="string")&&(n=r,r=null),r=T.extend(o,r||{}),Sc||(r.method="GET");var s=r.method==="POST",l=gm&&s&&r.transport.toLowerCase()==="sendbeacon",u=r.verbose;t.verbose&&(u=!0),this.get_config("test")&&(t.test=1),u&&(t.verbose=1),this.get_config("img")&&(t.img=1),Sc||(n?t.callback=n:(u||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=new Date().getTime().toString(),s&&(i="data="+encodeURIComponent(t.data),delete t.data),e+="?"+T.HTTPBuildQuery(t);var f=this;if("img"in t){var c=qe.createElement("img");c.src=e,qe.body.appendChild(c)}else if(l){try{a=gm(e,i)}catch(v){f.report_error(v),a=!1}try{n&&n(a?1:0)}catch(v){f.report_error(v)}}else if(Sc)try{var d=new XMLHttpRequest;d.open(r.method,e,!0);var h=this.get_config("xhr_headers");if(s&&(h["Content-Type"]="application/x-www-form-urlencoded"),T.each(h,function(v,b){d.setRequestHeader(b,v)}),r.timeout_ms&&typeof d.timeout<"u"){d.timeout=r.timeout_ms;var g=new Date().getTime()}d.withCredentials=!0,d.onreadystatechange=function(){if(d.readyState===4)if(d.status===200){if(n)if(u){var v;try{v=T.JSONDecode(d.responseText)}catch(_){if(f.report_error(_),r.ignore_json_errors)v=d.responseText;else return}n(v)}else n(Number(d.responseText))}else{var b;d.timeout&&!d.status&&new Date().getTime()-g>=d.timeout?b="timeout":b="Bad HTTP status: "+d.status+" "+d.statusText,f.report_error(b),n&&n(u?{status:0,error:b,xhr_req:d}:0)}},d.send(i)}catch(v){f.report_error(v),a=!1}else{var m=qe.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var w=qe.getElementsByTagName("script")[0];w.parentNode.insertBefore(m,w)}return a};W.prototype._execute_array=function(e){var t,r=[],n=[],a=[];T.each(e,function(i){i&&(t=i[0],T.isArray(t)?a.push(i):typeof i=="function"?i.call(this):T.isArray(i)&&t==="alias"?r.push(i):T.isArray(i)&&t.indexOf("track")!==-1&&typeof this[t]=="function"?a.push(i):n.push(i))},this);var o=function(i,s){T.each(i,function(l){if(T.isArray(l[0])){var u=s;T.each(l,function(f){u=u[f[0]].apply(u,f.slice(1))})}else this[l[0]].apply(this,l.slice(1))},s)};o(r,this),o(n,this),o(a,this)};W.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};W.prototype.init_batchers=function(){var e=this.get_config("token");if(!this.are_batchers_initialized()){var t=T.bind(function(r){return new Oa("__mpq_"+e+r.queue_suffix,{libConfig:this.config,sendRequestFunc:T.bind(function(n,a,o){this._send_request(this.get_config("api_host")+r.endpoint,this._encode_data_for_request(n),a,this._prepare_callback(o,n))},this),beforeSendHook:T.bind(function(n){return this._run_hook("before_send_"+r.type,n)},this),errorReporter:this.get_config("error_reporter"),stopAllBatchingFunc:T.bind(this.stop_batch_senders,this)})},this);this.request_batchers={events:t({type:"events",endpoint:"/track/",queue_suffix:"_ev"}),people:t({type:"people",endpoint:"/engage/",queue_suffix:"_pp"}),groups:t({type:"groups",endpoint:"/groups/",queue_suffix:"_gr"})}}this.get_config("batch_autostart")&&this.start_batch_senders()};W.prototype.start_batch_senders=function(){this.are_batchers_initialized()&&(this._batch_requests=!0,T.each(this.request_batchers,function(e){e.start()}))};W.prototype.stop_batch_senders=function(){this._batch_requests=!1,T.each(this.request_batchers,function(e){e.stop(),e.clear()})};W.prototype.push=function(e){this._execute_array([e])};W.prototype.disable=function(e){typeof e>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)};W.prototype._encode_data_for_request=function(e){var t=T.JSONEncode(e);return this.get_config("api_payload_format")===LM&&(t=T.base64Encode(t)),{data:t}};W.prototype._track_or_batch=function(e,t){var r=T.truncate(e.data,255),n=e.endpoint,a=e.batcher,o=e.should_send_immediately,i=e.send_request_options||{};t=t||Wf;var s=!0,l=T.bind(function(){return i.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(Ge.log("MIXPANEL REQUEST:"),Ge.log(r),this._send_request(n,this._encode_data_for_request(r),i,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!o?a.enqueue(r,function(u){u?t(1,r):l()}):s=l(),s&&r};W.prototype.track=wu(function(e,t,r,n){!n&&typeof r=="function"&&(n=r,r=null),r=r||{};var a=r.transport;a&&(r.transport=a);var o=r.send_immediately;if(typeof n!="function"&&(n=Wf),T.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){n(0);return}t=t||{},t.token=this.get_config("token");var i=this.persistence.remove_event_timer(e);if(!T.isUndefined(i)){var s=new Date().getTime()-i;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?T.info.marketingParams():{};t=T.extend({},T.info.properties(),l,this.persistence.properties(),this.unpersisted_superprops,t);var u=this.get_config("property_blacklist");T.isArray(u)?T.each(u,function(d){delete t[d]}):this.report_error("Invalid value for property_blacklist config: "+u);var f={event:e,properties:t},c=this._track_or_batch({type:"events",data:f,endpoint:this.get_config("api_host")+"/track/",batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:r},n);return c});W.prototype.set_group=wu(function(e,t,r){T.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)});W.prototype.add_group=wu(function(e,t,r){var n=this.get_property(e);if(n===void 0){var a={};a[e]=[t],this.register(a)}else n.indexOf(t)===-1&&(n.push(t),this.register(a));return this.people.union(e,t,r)});W.prototype.remove_group=wu(function(e,t,r){var n=this.get_property(e);if(n!==void 0){var a=n.indexOf(t);a>-1&&(n.splice(a,1),this.register({group_key:n})),n.length===0&&this.unregister(e)}return this.people.remove(e,t,r)});W.prototype.track_with_groups=wu(function(e,t,r,n){var a=T.extend({},t||{});return T.each(r,function(o,i){o!=null&&(a[i]=o)}),this.track(e,a,n)});W.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)};W.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]};W.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return(n===void 0||n._group_key!==e||n._group_id!==t)&&(n=new nt,n._init(this,e,t),this._cached_groups[r]=n),n};W.prototype.track_pageview=wu(function(e,t){typeof e!="object"&&(e={}),t=t||{};var r=t.event_name||"$mp_web_page_view",n=T.extend(T.info.mpPageViewProperties(),T.info.campaignParams(),T.info.clickParams()),a=T.extend({},n,e);return this.track(r,a)});W.prototype.track_links=function(){return this._track_dom.call(this,Kc,arguments)};W.prototype.track_forms=function(){return this._track_dom.call(this,M0,arguments)};W.prototype.time_event=function(e){if(T.isUndefined(e)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var kZ={persistent:!0},zE=function(e){var t;return T.isObject(e)?t=e:T.isUndefined(e)?t={}:t={days:e},T.extend({},kZ,t)};W.prototype.register=function(e,t){var r=zE(t);r.persistent?this.persistence.register(e,r.days):T.extend(this.unpersisted_superprops,e)};W.prototype.register_once=function(e,t,r){var n=zE(r);n.persistent?this.persistence.register_once(e,t,n.days):(typeof t>"u"&&(t="None"),T.each(e,function(a,o){(!this.unpersisted_superprops.hasOwnProperty(o)||this.unpersisted_superprops[o]===t)&&(this.unpersisted_superprops[o]=a)},this))};W.prototype.unregister=function(e,t){t=zE(t),t.persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]};W.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)};W.prototype.identify=function(e,t,r,n,a,o,i,s){var l=this.get_distinct_id();if(e&&l!==e){if(typeof e=="string"&&e.indexOf(UE)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var u=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:u},"")}e!==l&&e!==this.get_property(pm)&&(this.unregister(pm),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,a,o,i,s),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0})};W.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var e=T.UUID();this.register_once({distinct_id:UE+e,$device_id:e},"")};W.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};W.prototype.alias=function(e,t){if(e===this.get_property(IM))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return T.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(pm,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)};W.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)};W.prototype.set_config=function(e){if(T.isObject(e)){T.extend(this.config,e);var t=e.batch_size;t&&T.each(this.request_batchers,function(r){r.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),so.DEBUG=so.DEBUG||this.get_config("debug")}};W.prototype.get_config=function(e){return this.config[e]};W.prototype._run_hook=function(e){var t=(this.config.hooks[e]||AZ).apply(this,ci.call(arguments,1));return typeof t>"u"&&(this.report_error(e+" hook did not return a value"),t=null),t};W.prototype.get_property=function(e){return this.persistence.props[e]};W.prototype.toString=function(){var e=this.get_config("name");return e!==Sn&&(e=Sn+"."+e),e};W.prototype._event_is_disabled=function(e){return T.isBlockedUA(ga)||this._flags.disable_all_events||T.include(this.__disabled_events,e)};W.prototype._gdpr_init=function(){var e=this.get_config("opt_out_tracking_persistence_type")==="localStorage";e&&T.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||T.cookie.get("mp_optout"))&&(T.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};W.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else if(e&&e.enable_persistence)t=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==t&&this.persistence.set_disabled(t),t&&T.each(this.request_batchers,function(r){r.clear()})};W.prototype._gdpr_call_func=function(e,t){return t=T.extend({track:T.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),T.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})};W.prototype.opt_in_tracking=function(e){e=T.extend({enable_persistence:!0},e),this._gdpr_call_func(wZ,e),this._gdpr_update_persistence(e)};W.prototype.opt_out_tracking=function(e){e=T.extend({clear_persistence:!0,delete_user:!0},e),e.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(_Z,e),this._gdpr_update_persistence(e)};W.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func($Z,e)};W.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(RM,e)};W.prototype.clear_opt_in_out_tracking=function(e){e=T.extend({enable_persistence:!0},e),this._gdpr_call_func(xZ,e),this._gdpr_update_persistence(e)};W.prototype.report_error=function(e,t){Ge.error.apply(Ge.error,arguments);try{!t&&!(e instanceof Error)&&(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(r){Ge.error(r)}};W.prototype.init=W.prototype.init;W.prototype.reset=W.prototype.reset;W.prototype.disable=W.prototype.disable;W.prototype.time_event=W.prototype.time_event;W.prototype.track=W.prototype.track;W.prototype.track_links=W.prototype.track_links;W.prototype.track_forms=W.prototype.track_forms;W.prototype.track_pageview=W.prototype.track_pageview;W.prototype.register=W.prototype.register;W.prototype.register_once=W.prototype.register_once;W.prototype.unregister=W.prototype.unregister;W.prototype.identify=W.prototype.identify;W.prototype.alias=W.prototype.alias;W.prototype.name_tag=W.prototype.name_tag;W.prototype.set_config=W.prototype.set_config;W.prototype.get_config=W.prototype.get_config;W.prototype.get_property=W.prototype.get_property;W.prototype.get_distinct_id=W.prototype.get_distinct_id;W.prototype.toString=W.prototype.toString;W.prototype.opt_out_tracking=W.prototype.opt_out_tracking;W.prototype.opt_in_tracking=W.prototype.opt_in_tracking;W.prototype.has_opted_out_tracking=W.prototype.has_opted_out_tracking;W.prototype.has_opted_in_tracking=W.prototype.has_opted_in_tracking;W.prototype.clear_opt_in_out_tracking=W.prototype.clear_opt_in_out_tracking;W.prototype.get_group=W.prototype.get_group;W.prototype.set_group=W.prototype.set_group;W.prototype.add_group=W.prototype.add_group;W.prototype.remove_group=W.prototype.remove_group;W.prototype.track_with_groups=W.prototype.track_with_groups;W.prototype.start_batch_senders=W.prototype.start_batch_senders;W.prototype.stop_batch_senders=W.prototype.stop_batch_senders;be.prototype.properties=be.prototype.properties;be.prototype.update_search_keyword=be.prototype.update_search_keyword;be.prototype.update_referrer_info=be.prototype.update_referrer_info;be.prototype.get_cross_subdomain=be.prototype.get_cross_subdomain;be.prototype.clear=be.prototype.clear;var ac={},OZ=function(){T.each(ac,function(e,t){t!==Sn&&(ar[t]=e)}),ar._=T},PZ=function(){ar.init=function(e,t,r){if(r)return ar[r]||(ar[r]=ac[r]=t2(e,t,r),ar[r]._loaded()),ar[r];var n=ar;ac[Sn]?n=ac[Sn]:e&&(n=t2(e,t,Sn),n._loaded(),ac[Sn]=n),ar=n,BE===TZ&&(dt[Sn]=ar),OZ()}},IZ=function(){function e(){e.done||(e.done=!0,DM=!0,MM=!1,T.each(ac,function(n){n._dom_loaded()}))}function t(){try{qe.documentElement.doScroll("left")}catch{setTimeout(t,1);return}e()}if(qe.addEventListener)qe.readyState==="complete"?e():qe.addEventListener("DOMContentLoaded",e,!1);else if(qe.attachEvent){qe.attachEvent("onreadystatechange",e);var r=!1;try{r=dt.frameElement===null}catch{}qe.documentElement.doScroll&&r&&t()}T.register_event(dt,"load",e,!0)};function NZ(){return BE=NM,ar=new W,PZ(),ar.init(),IZ(),ar}var LZ=NZ(),MZ=LZ;const Pa=cu(MZ);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function k4(e){const t={action:e};Pa.track("star",t)}function jM(e,t){const r={type:e,location:t};Pa.track("openInfoPanel",r)}function FM(e){Pa.track("share",{type:e})}function DZ(e){const t={type:e};Pa.track("analysis",t)}function BM(e){const t={type:e};Pa.track("error-book",t)}function O4(e){const t={...e};Pa.track("donate-card",t)}function jZ(e){const t=oe(Nn),{name:r}=oe(wr),n=oe(Sh),a=oe(Gc),o=oe(xh),i=oe(ko),s=oe(bu);return p.useCallback(u=>{const f={...u,order:e.chapterData.index+1,chapter:(t+1).toString(),wordlist:r,modeDictation:!e.isWordVisible,modeDark:n,modeShuffle:s.isOpen,enabledKeyboardSound:a.isOpen,enabledPhotonicsSymbol:o.isOpen,enabledSingleWordLoop:e.isLoopSingleWord,pronunciationAuto:i.isOpen,pronunciationOption:i.isOpen===!1?"none":i.type};Pa.track("Word",f)},[e,t,r,n,a.isOpen,o.isOpen,i.isOpen,i.type,s.isOpen])}function FZ(e){const t=oe(Nn),{name:r}=oe(wr),n=oe(Sh),a=oe(Gc),o=oe(xh),i=oe(ko),s=oe(bu);return p.useCallback(()=>{const u={timeEnd:r2(),duration:e.timerData.time,countInput:e.chapterData.correctCount+e.chapterData.wrongCount,countTypo:e.chapterData.wrongCount,countCorrect:e.chapterData.correctCount,chapter:(t+1).toString(),wordlist:r,modeDictation:!e.isWordVisible,modeDark:n,modeShuffle:s.isOpen,enabledKeyboardSound:a.isOpen,enabledPhotonicsSymbol:o.isOpen,enabledSingleWordLoop:e.isLoopSingleWord,pronunciationAuto:i.isOpen,pronunciationOption:i.isOpen===!1?"none":i.type};Pa.track("Chapter",u)},[e,t,r,n,a.isOpen,o.isOpen,i.isOpen,i.type,s.isOpen])}function UM({type:e,size:t,wordCount:r,chapterCount:n}){const a={type:e,size:t,wordCount:r,chapterCount:n};Pa.track("dataAction",a)}function r2(){return new Date().toISOString().substring(0,19).replace("T"," ")}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const BZ=["Enter","Backspace","Delete","Tab","CapsLock","Shift","Control","Alt","Meta","Escape","Fn","FnLock","Hyper","Super","OS","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","AudioVolumeUp","AudioVolumeDown","AudioVolumeMute","End","PageDown","PageUp","Clear","Home"],zM=e=>!BZ.includes(e),UZ=e=>/[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5]/.test(e),zZ=()=>{const e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"];let r=!0;for(let n=0;n0){r=!1;break}return r},VM=navigator.userAgent.indexOf("Macintosh")!==-1,zs=VM?"Control":"Ctrl";function qp(e,...t){return e.on(...t),()=>e.off(...t)}function VZ(...e){const t=[];for(const r of e)r&&t.push(r.trim());return t.join(" ")}function WZ(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),n=("0"+e.getDate()).slice(-2);return`${t}${r}${n}`}function HZ(e){return Math.ceil(e/T$)}function Uje(e,t){const r=new Set(t);return e.filter(n=>r.has(n))}function GZ(e,t){return Number((e??0).toFixed(t))}function VE(){const e=new Date;return Math.floor(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())/1e3)}function zje(e){const t=new Date(e*1e3),r=t.toLocaleDateString("zh-CN",{month:"2-digit",day:"2-digit"}),n=t.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r} ${n}`}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const KZ=[{id:"cet4",name:"CET-4",description:"大学英语四级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/CET4_T.json",length:2607,language:"en",languageCategory:"en"},{id:"cet6",name:"CET-6",description:"大学英语六级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/CET6_T.json",length:2345,language:"en",languageCategory:"en"},{id:"xinghuoqiaoji_4",name:"四级巧记速记",description:"四级巧记速记",category:"中国考试",tags:["大学英语"],url:"/dicts/xinghuoqiaoji_4.json",length:2522,language:"en",languageCategory:"en"},{id:"xinghuoqiaoji_6",name:"六级巧记速记",description:"六级巧记速记",category:"中国考试",tags:["大学英语"],url:"/dicts/xinghuoqiaoji_6.json",length:7520,language:"en",languageCategory:"en"},{id:"cet4-sub",name:"CET-4-Sub",description:"单词的减法-四级",category:"中国考试",tags:["大学英语"],url:"/dicts/DanCiDeJianFa_4.json",length:1957,language:"en",languageCategory:"en"},{id:"cet6-sub",name:"CET-6-Sub",description:"单词的减法-六级",category:"中国考试",tags:["大学英语"],url:"/dicts/DanCiDeJianFa_6.json",length:1949,language:"en",languageCategory:"en"},{id:"kaoyan",name:"考研",description:"研究生英语入学考试词库",category:"中国考试",tags:["考研"],url:"/dicts/KaoYan_3_T.json",length:3728,language:"en",languageCategory:"en"},{id:"kaoyan_2024",name:"考研 2024",description:"研究生英语入学考试词库 2024",category:"中国考试",tags:["考研"],url:"/dicts/KaoYan_2024.json",length:3731,language:"en",languageCategory:"en"},{id:"kaoyanshanguo_2023",name:"考研闪过 2023",description:"高中低频词2023",category:"中国考试",tags:["考研"],url:"/dicts/KaoYanShanGuo_2023.json",length:1771,language:"en",languageCategory:"en"},{id:"dancimimi_1",name:"单词的秘密-英语一",description:"单词的秘密英语(一)",category:"中国考试",tags:["考研"],url:"/dicts/DanCiDeMimi_1.json",length:5657,language:"en",languageCategory:"en"},{id:"dancimimi_2",name:"单词的秘密-英语二",description:"单词的秘密英语(二)",category:"中国考试",tags:["考研"],url:"/dicts/DanCiDeMimi_2.json",length:3827,language:"en",languageCategory:"en"},{id:"2024HongBao T1",name:"2024考研英语hongbaoshu(上)",description:"2024考研英语hongbaoshu必考词(上)",category:"中国考试",tags:["考研"],url:"/dicts/2024HongBao_T1.json",length:997,language:"en",languageCategory:"en"},{id:"2024HongBao T2",name:"2024考研英语hongbaoshu(下)",description:"2024考研英语hongbaoshu必考词(下)",category:"中国考试",tags:["考研"],url:"/dicts/2024HongBao_T2.json",length:854,language:"en",languageCategory:"en"},{id:"English_II",name:"英语二单词书",description:"考研英语二单词书",category:"中国考试",tags:["考研"],url:"/dicts/English_II.json",length:4559,language:"en",languageCategory:"en"},{id:"level4",name:"专四",description:"英语专业四级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/Level4luan_2_T.json",length:4025,language:"en",languageCategory:"en"},{id:"level8",name:"专八",description:"英语专业八级词库",category:"中国考试",tags:["大学英语"],url:"/dicts/Level8luan_2_T.json",length:12197,language:"en",languageCategory:"en"},{id:"archVocabulary",name:"建筑专业英语",description:"大学建筑专业英语词汇",category:"中国考试",tags:["专业英语"],url:"/dicts/archVocabulary.json",length:630,language:"en",languageCategory:"en"},{id:"itVocabulary",name:"计算机专用英语",description:"大学计算机专业英语词汇",category:"中国考试",tags:["专业英语"],url:"/dicts/itVocabulary.json",length:1665,language:"en",languageCategory:"en"},{id:"pets3",name:"PETS",description:"全国英语等级考试常考词汇",category:"中国考试",tags:["PET"],url:"/dicts/PETS_3.json",length:1942,language:"en",languageCategory:"en"},{id:"pets3-2023",name:"PETS-2023",description:"全国英语等级考试常考词汇",category:"中国考试",tags:["PET"],url:"/dicts/PETS3-2023.json",length:4449,language:"en",languageCategory:"en"},{id:"self-study_English1",name:"自考1800高频单词",description:"自考1800高频单词",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English1.json",length:1800,language:"en",languageCategory:"en"},{id:"self-study_English2",name:"自考英语二高频悠悠单词",description:"自考英语二高频悠悠单词",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English2.json",length:2181,language:"en",languageCategory:"en"},{id:"self-study_English3",name:"自考英语二完整单词",description:"00015自考英语二完整单词书",category:"中国考试",tags:["自考英语二"],url:"/dicts/self-study_English3.json",length:4603,language:"en",languageCategory:"en"},{id:"coca_20000",name:"COCA20000词",description:"COCA20000词",category:"中国考试",tags:["其他"],url:"/dicts/coca20000.json",length:20199,language:"en",languageCategory:"en"},{id:"4000_Essential_English_Words1",name:"Essential Words",description:"4000 Essential English Words meaning",category:"中国考试",tags:["其他"],url:"/dicts/4000_Essential_English_Words-meaning.json",length:3600,language:"en",languageCategory:"en"},{id:"4000_Essential_English_Words2",name:"Essential Words",description:"4000 Essential English Words sentence",category:"中国考试",tags:["其他"],url:"/dicts/4000_Essential_English_Words-sentence.json",length:3600,language:"en",languageCategory:"en"},{id:"longman_communication_3000_words",name:"Longman Communication 3000",description:"Most frequent words in both spoken and written English",category:"中国考试",tags:["其他"],url:"/dicts/Longman_Communication_3000.json",length:3168,language:"en",languageCategory:"en"},{id:"top_2000_English_Words",name:"Top 2000 words",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/top2000words.json",length:1867,language:"en",languageCategory:"en"},{id:"top_1500_nouns_Words",name:"Top 1500 Nouns",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top1500NounWords.json",length:1525,language:"en",languageCategory:"en"},{id:"top_1000_verb_Words",name:"Top 1000 Verbs",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top1000VerbWords.json",length:1011,language:"en",languageCategory:"en"},{id:"top_500_Adj_Words",name:"Top 500 adj.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top500AdjectiveWords.json",length:527,language:"en",languageCategory:"en"},{id:"top_250_Adv_Words",name:"Top 250 adv.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top250AdverbWords.json",length:255,language:"en",languageCategory:"en"},{id:"top_60_Pronouns",name:"Top 60 pron.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top60Pronouns.json",length:59,language:"en",languageCategory:"en"},{id:"top_50_Prepositions",name:"Top 50 prep.",description:"with highest frequency",category:"中国考试",tags:["其他"],url:"/dicts/Top50Prepositions.json",length:46,language:"en",languageCategory:"en"},{id:"suffix word",name:"suffix word",description:"common suffix",category:"中国考试",tags:["其他"],url:"/dicts/suffix_word.json",length:126,language:"en",languageCategory:"en"},{id:"word roots1",name:"word roots1",description:"common roots",category:"中国考试",tags:["其他"],url:"/dicts/word_roots1.json",length:369,language:"en",languageCategory:"en"},{id:"adult self-study examination",name:"专升本词汇",description:"专升本词汇",category:"中国考试",tags:["其他"],url:"/dicts/adult-self-study-examination.json",length:3692,language:"en",languageCategory:"en"},{id:"zhuan-cha-ben-ying-yu",name:"专插本英语词汇",description:"专插本英语词汇",category:"中国考试",tags:["其他"],url:"/dicts/zhuan-cha-ben.json",length:3217,language:"en",languageCategory:"en"},{id:"zhuan-sheng-ben-xue-shi",name:"专升本学士学位的英语",description:"专升本学士学位的英语",category:"中国考试",tags:["其他"],url:"/dicts/xueshiyingyu.json",length:897,language:"en",languageCategory:"en"},{id:"Oxford5000",name:"牛津5000词",description:"牛津5000词",category:"中国考试",tags:["其他"],url:"/dicts/Oxford5000.json",length:5836,language:"en",languageCategory:"en"},{id:"Merriam_Webster_sVocabularyBuilder",name:"韦氏词根词典",description:"韦氏词根词典",category:"中国考试",tags:["其他"],url:"/dicts/Merriam_Webster_sVocabularyBuilder.json",length:1191,language:"en",languageCategory:"en"},{id:"tingshuokaoshi",name:"听说考试常见词汇",description:"听说考试16个场景常见词汇量",category:"中国考试",tags:["其他"],url:"/dicts/tingshuokaoshi.json",length:557,language:"en",languageCategory:"en"},{id:"TOEFL_ZhangHongYan",name:"ZhangHongYan的TOEFL词汇书",description:"ZhangHongYan的TOEFL词汇书-词以类记",category:"国际考试",tags:["TOEFL"],url:"/dicts/TOEFL_ZhangHongYan.json",length:4032,language:"en",languageCategory:"en"},{id:"2025KaoYanHongBaoShu",name:"2025考研英语词汇hongbao书",description:"2025考研英语词汇hongbao书",category:"中国考试",tags:["考研"],url:"/dicts/2025KaoYanHongBaoShu.json",length:6705,language:"en",languageCategory:"en"},{id:"3000_ClassRoom_English_Words",name:"专升本3000词",description:"专升本词汇",category:"中国考试",tags:["大学英语"],url:"/dicts/3000_ClassRoom_English_Words.json",length:2991,language:"en",languageCategory:"en"}],qZ=[{id:"gmat",name:"GMAT",description:"GMAT 词库",category:"国际考试",tags:["GMAT"],url:"/dicts/GMAT_3_T.json",length:3047,language:"en",languageCategory:"en"},{id:"gre",name:"GRE",description:"GRE 词库",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_3_T.json",length:6515,language:"en",languageCategory:"en"},{id:"gre1500",name:"GRE重点1500词-fen哥",description:"GRE & TEM8 重叠高频词汇",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_1500.json",length:1533,language:"en",languageCategory:"en"},{id:"gre3000",name:"GRE3000",description:"GRE3000 词库",category:"国际考试",tags:["GRE"],url:"/dicts/GRE3000_3_T.json",length:3041,language:"en",languageCategory:"en"},{id:"GRE-computer-based-test",name:"GRE机经词汇",description:"GRE机经词汇",category:"国际考试",tags:["GRE"],url:"/dicts/GRE-computer-based-test.json",length:1451,language:"en",languageCategory:"en"},{id:"ZaiYaoNiMing_GRE3000",name:"再要你命GRE3000",description:"再要你命GRE3000词库-有词性新版",category:"国际考试",tags:["GRE"],url:"/dicts/ZaiYaoNiMing_GRE3000.json",length:3041,language:"en",languageCategory:"en"},{id:"GRE_equivalent",name:"GRE等价词",description:"GRE等价词",category:"国际考试",tags:["GRE"],url:"/dicts/GRE_equivalent.json",length:827,language:"en",languageCategory:"en"},{id:"GRE_ciyileiji",name:"GRE词以类记",description:"GRE词以类记",category:"国际考试",tags:["GRE"],url:"/dicts/gre-ciyileiji.json",length:8785,language:"en",languageCategory:"en"},{id:"IELTS_tinglichangjing",name:"雅思听力场景词汇",description:"雅思听力场景词汇",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_tinglichangjing.json",length:1204,language:"en",languageCategory:"en"},{id:"ielts_disorder",name:"IELTS乱序完整版",description:"IELTS乱序完整版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_disorder.json",length:9389,language:"en",languageCategory:"en"},{id:"ielts_order",name:"IELTS顺序完整版",description:"IELTS顺序完整版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_order.json",length:9389,language:"en",languageCategory:"en"},{id:"ielts",name:"IELTS",description:"雅思词库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_3_T.json",length:3575,language:"en",languageCategory:"en"},{id:"heqiong",name:"heQiong雅思听力必考词汇",description:"综合测试",category:"国际考试",tags:["IELTS"],url:"/dicts/HeQiong_IELTS.json",length:2529,language:"en",languageCategory:"en"},{id:"ieltsWang3",name:"雅思wang C3",description:"雅思听力特别名词语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_3.json",length:1135,language:"en",languageCategory:"en"},{id:"ieltsWang4",name:"雅思wang C4",description:"雅思听力形容词副词语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_4.json",length:346,language:"en",languageCategory:"en"},{id:"ieltsWang5",name:"雅思wang C5",description:"吞音连读混合训练语料库",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_5.json",length:1569,language:"en",languageCategory:"en"},{id:"ieltsWang11",name:"雅思wang C11",description:"综合测试",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_WANG_11.json",length:1738,language:"en",languageCategory:"en"},{id:"DuckCircle_IELTS",name:"鸭圈雅思核心词",description:"鸭圈雅思核心词",category:"国际考试",tags:["IELTS"],url:"/dicts/DuckCircle_IELTS.json",length:2644,language:"en",languageCategory:"en"},{id:"IELTSVocabularyBible",name:"雅思词汇真经",description:"雅思词汇真经",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSVocabularyBible.json",length:3673,language:"en",languageCategory:"en"},{id:"IELTS-807",name:"雅思 wanglu 807",description:"雅思 wanglu 807",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-807.json",length:4340,language:"en",languageCategory:"en"},{id:"ielts-real-high",name:"雅思 real 词汇 高频",description:"雅思 real 词汇(高频词汇)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-high.json",length:524,language:"en",languageCategory:"en"},{id:"ielts-real-5",name:"雅思 real 词汇 5",description:"雅思 real 词汇 (5频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-5.json",length:183,language:"en",languageCategory:"en"},{id:"ielts-real-4",name:"雅思 real 词汇 4",description:"雅思 real 词汇 (4频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-4.json",length:201,language:"en",languageCategory:"en"},{id:"ielts-real-3",name:"雅思 real 词汇 3",description:"雅思 real 词汇 (3频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-3.json",length:256,language:"en",languageCategory:"en"},{id:"ielts-real-2",name:"雅思 real 词汇 2",description:"雅思 real 词汇 (2频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-2.json",length:402,language:"en",languageCategory:"en"},{id:"ielts-real-1",name:"雅思 real 词汇 1",description:"雅思 real 词汇 (1频词汇及变频)",category:"国际考试",tags:["IELTS"],url:"/dicts/ielts-real-1.json",length:737,language:"en",languageCategory:"en"},{id:"IELTS9988wangyong",name:"雅思9988wangyong",description:"雅思9988wangyong",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS9988wangyong.json",length:3698,language:"en",languageCategory:"en"},{id:"IELTSLiuHongbo538",name:"雅思阅读 liuhongbo 538考点词",description:"雅思阅读 liuhongbo 538考点词",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSLiuHongbo538.json",length:376,language:"en",languageCategory:"en"},{id:"IELTSKingLu807",name:"wanglu807雅思词汇听力第2版",description:"wanglu807雅思词汇听力第2版",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTSKingLu807.json",length:1916,language:"en",languageCategory:"en"},{id:"IELTSXDF7000",name:"100个句子记完7000个雅思单词",description:"新东方 100个句子记完7000个雅思单词 词汇表",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS_XDF_7000.json",length:5567,language:"en",languageCategory:"en"},{id:"IELTS-oral-900",name:"雅思口语 900 beta版",description:"雅思口语 900 句, 需在 qwerty 设置中调小英语字体",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-oral-900.json",length:900,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-1",name:"雅思听力词汇18天 day1",description:"雅思听力词汇18天 day1",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day1.json",length:74,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-2",name:"雅思听力词汇18天 day2",description:"雅思听力词汇18天 day2",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day2.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-3",name:"雅思听力词汇18天 day3",description:"雅思听力词汇18天 day3",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day3.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-4",name:"雅思听力词汇18天 day4",description:"雅思听力词汇18天 day4",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day4.json",length:73,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-5",name:"雅思听力词汇18天 day5",description:"雅思听力词汇18天 day5",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day5.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-6",name:"雅思听力词汇18天 day6",description:"雅思听力词汇18天 day6",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day6.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-7",name:"雅思听力词汇18天 day7",description:"雅思听力词汇18天 day7",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day7.json",length:75,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-8",name:"雅思听力词汇18天 day8",description:"雅思听力词汇18天 day8",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day8.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-9",name:"雅思听力词汇18天 day9",description:"雅思听力词汇18天 day9",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day9.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-10",name:"雅思听力词汇18天 day10",description:"雅思听力词汇18天 day10",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day10.json",length:33,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-11",name:"雅思听力词汇18天 day11",description:"雅思听力词汇18天 day11",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day11.json",length:52,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-12",name:"雅思听力词汇18天 day12",description:"雅思听力词汇18天 day12",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day12.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-13",name:"雅思听力词汇18天 day13",description:"雅思听力词汇18天 day13",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day13.json",length:78,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-14",name:"雅思听力词汇18天 day14",description:"雅思听力词汇18天 day14",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day14.json",length:76,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-15",name:"雅思听力词汇18天 day15",description:"雅思听力词汇18天 day15",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day15.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-16",name:"雅思听力词汇18天 day16",description:"雅思听力词汇18天 day16",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day16.json",length:77,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-17",name:"雅思听力词汇18天 day17",description:"雅思听力词汇18天 day17",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day17.json",length:46,language:"en",languageCategory:"en"},{id:"IELTS-listening-18-days-18",name:"雅思听力词汇18天 day18",description:"雅思听力词汇18天 day18",category:"国际考试",tags:["IELTS"],url:"/dicts/IELTS-listening-18days-day18.json",length:76,language:"en",languageCategory:"en"},{id:"ket",name:"KET",description:"KET 2021单词",category:"国际考试",tags:["KET"],url:"./dicts/ket2021.json",length:1147,language:"en",languageCategory:"en"},{id:"sat",name:"SAT",description:"美国 SAT 考试词库",category:"国际考试",tags:["SAT"],url:"/dicts/SAT_3_T.json",length:4464,language:"en",languageCategory:"en"},{id:"SATen",name:"SAT en-en",description:"SAT英英",category:"国际考试",tags:["SAT"],url:"/dicts/SATen.json",length:2681,language:"en",languageCategory:"en"},{id:"toefl",name:"TOEFL",description:"托福考试常见词",category:"国际考试",tags:["TOEFL"],url:"/dicts/TOEFL_3_T.json",length:4264,language:"en",languageCategory:"en"},{id:"bec2",name:"商务英语",description:"商务英语常见词",category:"国际考试",tags:["BEC"],url:"/dicts/BEC_2_T.json",length:2753,language:"en",languageCategory:"en"},{id:"bec3",name:"BEC",description:"BEC考试常见词",category:"国际考试",tags:["BEC"],url:"/dicts/BEC_3_T.json",length:2825,language:"en",languageCategory:"en"},{id:"PTE_junior",name:"PTE 基础词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_junior.json",length:2651,language:"en",languageCategory:"en"},{id:"PTE_senior",name:"PTE 高阶词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_senior.json",length:3170,language:"en",languageCategory:"en"},{id:"PTE_FIB_R_junior",name:"阅读 FIB 基础机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_R_junior.json",length:941,language:"en",languageCategory:"en"},{id:"PTE_FIB_R_senior",name:"阅读 FIB 高阶机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_R_senior.json",length:1272,language:"en",languageCategory:"en"},{id:"PTE_WFD",name:"WFD 机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_WFD.json",length:1212,language:"en",languageCategory:"en"},{id:"PTE_FIB_L",name:"听力 FIB 机经词汇",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_FIB_L.json",length:646,language:"en",languageCategory:"en"},{id:"PTE_Basic_apeuni",name:"PTE 基础词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Basic_apeuni.json",length:2652,language:"en",languageCategory:"en"},{id:"PTE_Advanced_apeuni.json",name:"PTE 高阶词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Advanced_apeuni.json",length:3169,language:"en",languageCategory:"en"},{id:"PTE_Read_apeuni.json",name:"PTE 阅读FIB机经词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Read_apeuni.json",length:630,language:"en",languageCategory:"en"},{id:"PTE_Listening_apeuni.json",name:"PTE 听力FIB机经词汇 xingji",description:"",category:"国际考试",tags:["PTE"],url:"/dicts/PTE_Listening_apeuni.json",length:674,language:"en",languageCategory:"en"},{id:"TOEIC",name:"TOEIC 词汇",description:"",category:"国际考试",tags:["TOEIC"],url:"/dicts/TOEIC.json",length:1694,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_B1",name:"多邻国分级词汇B1",description:"多邻国分级词汇B1",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_B1.json",length:801,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_B2",name:"多邻国分级词汇B2",description:"多邻国分级词汇B2",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_B2.json",length:1423,language:"en",languageCategory:"en"},{id:"Duolingo_Vocabulary_C1",name:"多邻国分级词汇C1",description:"多邻国分级词汇C1",category:"国际考试",tags:["CEFR"],url:"/dicts/Duolingo_Vocabulary_C1.json",length:1314,language:"en",languageCategory:"en"},{id:"Oxford3000",name:"牛津3000词",description:"牛津3000词",category:"国际考试",tags:["牛津版"],url:"/dicts/Oxford3000.json",length:1342,language:"en",languageCategory:"en"},{id:"Oxford5000",name:"牛津5000词",description:"牛津5000词",category:"国际考试",tags:["牛津版"],url:"/dicts/Oxford5000.json",length:5836,language:"en",languageCategory:"en"},{id:"voa",name:"VOA 基础词库",description:"VOA 基础词库",category:"国际考试",tags:["其他"],url:"/dicts/voa.json",length:1505,language:"en",languageCategory:"en"}],YZ=[{id:"gaokao3500",name:"高考 3500 词",description:"高考常见词 3500",category:"青少年英语",tags:["通用"],url:"/dicts/GaoKao_3500.json",length:3893,language:"en",languageCategory:"en"},{id:"gaokaozhentihexin",name:"高考历年真题核心高频",description:"高考历年真题核心高频",category:"青少年英语",tags:["通用"],url:"/dicts/GaoKaoZhenTiHeXinGaoPin.json",length:799,language:"en",languageCategory:"en"},{id:"gaokao-yuedu-gaopin",name:"高考英语阅读高频词汇",description:"高考英语阅读高频词汇",category:"青少年英语",tags:["通用"],url:"/dicts/gaokao-yuedu-gaopin.json",length:688,language:"en",languageCategory:"en"},{id:"zhongkaohexin",name:"中考核心词",description:"中考核心词",category:"青少年英语",tags:["通用"],url:"/dicts/ZhongKaoHeXin.json",length:2140,language:"en",languageCategory:"en"},{id:"nce1",name:"新概念英语-1",description:"新概念英语第一册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_1.json",length:900,language:"en",languageCategory:"en"},{id:"nce2",name:"新概念英语-2",description:"新概念英语第二册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_2.json",length:858,language:"en",languageCategory:"en"},{id:"nce3",name:"新概念英语-3",description:"新概念英语第三册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_3.json",length:1052,language:"en",languageCategory:"en"},{id:"nce4",name:"新概念英语-4",description:"新概念英语第四册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/NCE_4.json",length:784,language:"en",languageCategory:"en"},{id:"nce-new-1",name:"新概念英语(新版)-1",description:"新概念英语新版第一册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-1.json",length:908,language:"en",languageCategory:"en"},{id:"nce-new-2",name:"新概念英语(新版)-2",description:"新概念英语新版第二册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-2.json",length:862,language:"en",languageCategory:"en"},{id:"nce-new-3",name:"新概念英语(新版)-3",description:"新概念英语新版第三册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-3.json",length:1062,language:"en",languageCategory:"en"},{id:"nce-new-4",name:"新概念英语(新版)-4",description:"新概念英语新版第四册",category:"青少年英语",tags:["新概念英语"],url:"/dicts/nce-new-4.json",length:793,language:"en",languageCategory:"en"},{id:"SHjuniormiddleOxford",name:"上海初中牛津词汇",description:"上海初中牛津词汇",category:"青少年英语",tags:["牛津版"],url:"/dicts/OxfordVocabulary_juniorMiddleSH.json",length:1270,language:"en",languageCategory:"en"},{id:"san1",name:"三年级上",description:"人教版三年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue3_1_T.json",length:64,language:"en",languageCategory:"en"},{id:"san2",name:"三年级下",description:"人教版三年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue3_2_T.json",length:72,language:"en",languageCategory:"en"},{id:"si1",name:"四年级上",description:"人教版四年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue4_1_T.json",length:84,language:"en",languageCategory:"en"},{id:"si2",name:"四年级下",description:"人教版四年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue4_2_T.json",length:104,language:"en",languageCategory:"en"},{id:"wu1",name:"五年级上",description:"人教版五年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue5_1_T.json",length:131,language:"en",languageCategory:"en"},{id:"wu2",name:"五年级下",description:"人教版五年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue5_2_T.json",length:156,language:"en",languageCategory:"en"},{id:"liu1",name:"六年级上",description:"人教版六年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue6_1_T.json",length:130,language:"en",languageCategory:"en"},{id:"liu2",name:"六年级下",description:"人教版六年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPXiaoXue6_2_T.json",length:108,language:"en",languageCategory:"en"},{id:"pep-sl-yi1",name:"人教版(新起点)一年级上",description:"人教版一年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue1_1_t.json",length:52,language:"en",languageCategory:"en"},{id:"pep-sl-yi2",name:"人教版(新起点)一年级下",description:"人教版一年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue1_2_t.json",length:45,language:"en",languageCategory:"en"},{id:"pep-sl-er1",name:"人教版(新起点)二年级上",description:"人教版二年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue2_1_t.json",length:54,language:"en",languageCategory:"en"},{id:"pep-sl-er2",name:"人教版(新起点)二年级下",description:"人教版二年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue2_2_t.json",length:55,language:"en",languageCategory:"en"},{id:"pep-sl-san1",name:"人教版(新起点)三年级上",description:"人教版三年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue3_1_t.json",length:103,language:"en",languageCategory:"en"},{id:"pep-sl-san2",name:"人教版(新起点)三年级下",description:"人教版三年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue3_2_t.json",length:84,language:"en",languageCategory:"en"},{id:"pep-sl-si1",name:"人教版(新起点)四年级上",description:"人教版四年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue4_1_t.json",length:116,language:"en",languageCategory:"en"},{id:"pep-sl-si2",name:"人教版(新起点)四年级下",description:"人教版四年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue4_2_t.json",length:87,language:"en",languageCategory:"en"},{id:"pep-sl-wu1",name:"人教版(新起点)五年级上",description:"人教版五年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue5_1_t.json",length:66,language:"en",languageCategory:"en"},{id:"pep-sl-wu2",name:"人教版(新起点)五年级下",description:"人教版五年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue5_2_t.json",length:96,language:"en",languageCategory:"en"},{id:"pep-sl-liu1",name:"人教版(新起点)六年级上",description:"人教版六年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue6_1_t.json",length:102,language:"en",languageCategory:"en"},{id:"pep-sl-liu2",name:"人教版(新起点)六年级下",description:"人教版六年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEP_SL_XiaoXue6_2_t.json",length:41,language:"en",languageCategory:"en"},{id:"qi1",name:"七年级上",description:"人教版七年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong7_1_T.json",length:392,language:"en",languageCategory:"en"},{id:"qi2",name:"七年级下",description:"人教版七年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong7_2_T.json",length:492,language:"en",languageCategory:"en"},{id:"ba1",name:"八年级上",description:"人教版八年级上册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong8_1_T.json",length:419,language:"en",languageCategory:"en"},{id:"ba2",name:"八年级下",description:"人教版八年级下册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong8_2_T.json",length:466,language:"en",languageCategory:"en"},{id:"jiu",name:"九年级",description:"人教版九年级全册",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPChuZhong9_1_T.json",length:551,language:"en",languageCategory:"en"},{id:"renjiaogaozhong1",name:"高中必修1",description:"人教版高中必修1",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_1_T.json",length:311,language:"en",languageCategory:"en"},{id:"renjiaogaozhong2",name:"高中必修2",description:"人教版高中必修2",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_2_T.json",length:319,language:"en",languageCategory:"en"},{id:"renjiaogaozhong3",name:"高中必修3",description:"人教版高中必修3",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_3_T.json",length:366,language:"en",languageCategory:"en"},{id:"renjiaogaozhong4",name:"高中必修4",description:"人教版高中必修4",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_4_T.json",length:307,language:"en",languageCategory:"en"},{id:"renjiaogaozhong5",name:"高中必修5",description:"人教版高中必修5",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_5_T.json",length:357,language:"en",languageCategory:"en"},{id:"renjiaogaozhong6",name:"高中选修6",description:"人教版高中选修6",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_6_T.json",length:391,language:"en",languageCategory:"en"},{id:"renjiaogaozhong7",name:"高中选修7",description:"人教版高中选修7",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_7_T.json",length:384,language:"en",languageCategory:"en"},{id:"renjiaogaozhong8",name:"高中选修8",description:"人教版高中选修8",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_8_T.json",length:420,language:"en",languageCategory:"en"},{id:"renjiaogaozhong9",name:"高中选修9",description:"人教版高中选修9",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_9_T.json",length:352,language:"en",languageCategory:"en"},{id:"renjiaogaozhong10",name:"高中选修10",description:"人教版高中选修10",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_10_T.json",length:361,language:"en",languageCategory:"en"},{id:"renjiaogaozhong11",name:"高中选修11",description:"人教版高中选修11",category:"青少年英语",tags:["人教版"],url:"/dicts/PEPGaoZhong_11_T.json",length:309,language:"en",languageCategory:"en"},{id:"waiyan1",name:"外研七年级上册",description:"外研版七年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1_T.json",length:629,language:"en",languageCategory:"en"},{id:"new-waiyan1",name:"新外研七年级上册",description:"新外研版七年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/Newwaiyan7-1.json",length:294,language:"en",languageCategory:"en"},{id:"waiyan2",name:"外研七年级下册",description:"外研版七年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2_T.json",length:438,language:"en",languageCategory:"en"},{id:"waiyan3",name:"外研八年级上册",description:"外研版八年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3_T.json",length:320,language:"en",languageCategory:"en"},{id:"waiyan4",name:"外研八年级下册",description:"外研版八年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4_T.json",length:266,language:"en",languageCategory:"en"},{id:"waiyan5",name:"外研九年级上册",description:"外研版九年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5_T.json",length:381,language:"en",languageCategory:"en"},{id:"waiyan6",name:"外研九年级下册",description:"外研版九年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6_T.json",length:128,language:"en",languageCategory:"en"},{id:"waiyan7",name:"外研高中必修1",description:"外研高中必修1",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheGaoZhong_1_T.json",length:411,language:"en",languageCategory:"en"},{id:"waiyan8",name:"外研高中必修2",description:"外研高中必修2",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheGaoZhong_2_T.json",length:272,language:"en",languageCategory:"en"},{id:"waiyan9",name:"外研一年级上册",description:"外研一年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1-Volume-up.json",length:138,language:"en",languageCategory:"en"},{id:"waiyan10",name:"外研一年级下册",description:"外研一年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_1-Volume-down.json",length:118,language:"en",languageCategory:"en"},{id:"waiyan11",name:"外研二年级上册",description:"外研二年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2-Volume-top.json",length:118,language:"en",languageCategory:"en"},{id:"waiyan12",name:"外研二年级下册",description:"外研二年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_2-Volume-down.json",length:110,language:"en",languageCategory:"en"},{id:"waiyan13",name:"外研三年级上册",description:"外研三年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3-Volume-top.json",length:82,language:"en",languageCategory:"en"},{id:"waiyan14",name:"外研三年级下册",description:"外研三年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_3-Volume-down.json",length:106,language:"en",languageCategory:"en"},{id:"waiyan15",name:"外研四年级上册",description:"外研四年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4-Volume-top.json",length:116,language:"en",languageCategory:"en"},{id:"waiyan16",name:"外研四年级下册",description:"外研四年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_4-Volume-down.json",length:78,language:"en",languageCategory:"en"},{id:"waiyan17",name:"外研五年级上册",description:"外研五年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5-Volume-top.json",length:80,language:"en",languageCategory:"en"},{id:"waiyan18",name:"外研五年级下册",description:"外研五年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_5-Volume-down.json",length:72,language:"en",languageCategory:"en"},{id:"waiyan19",name:"外研六年级上册",description:"外研六年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6-Volume-top.json",length:61,language:"en",languageCategory:"en"},{id:"waiyan20",name:"外研六年级下册",description:"外研六年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/WaiYanSheChuZhong_6-Volume-down.json",length:91,language:"en",languageCategory:"en"},{id:"waiyan3-1",name:"外研新起点三年级上册",description:"外研新起点三年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-3-1.json",length:134,language:"en",languageCategory:"en"},{id:"waiyan3-2",name:"外研新起点三年级下册",description:"外研新起点三年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-3-2.json",length:156,language:"en",languageCategory:"en"},{id:"waiyan4-1",name:"外研新起点四年级上册",description:"外研新起点四年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-4-1.json",length:144,language:"en",languageCategory:"en"},{id:"waiyan4-2",name:"外研新起点四年级下册",description:"外研新起点四年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-4-2.json",length:134,language:"en",languageCategory:"en"},{id:"waiyan5-1",name:"外研新起点五年级上册",description:"外研新起点五年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-5-1.json",length:152,language:"en",languageCategory:"en"},{id:"waiyan5-2",name:"外研新起点五年级下册",description:"外研新起点五年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-5-2.json",length:147,language:"en",languageCategory:"en"},{id:"waiyan6-1",name:"外研新起点六年级上册",description:"外研新起点六年级上册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-6-1.json",length:83,language:"en",languageCategory:"en"},{id:"waiyan6-2",name:"外研新起点六年级下册",description:"外研新起点六年级下册",category:"青少年英语",tags:["外研版"],url:"/dicts/waiyan-xin-6-2.json",length:105,language:"en",languageCategory:"en"},{id:"Yilin1",name:"高中必修1",description:"译林版高中必修1",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_1.json",length:276,language:"en",languageCategory:"en"},{id:"Yilin2",name:"高中必修2",description:"译林版高中必修2",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_2.json",length:297,language:"en",languageCategory:"en"},{id:"Yilin3",name:"高中必修3",description:"译林版高中必修3",category:"青少年英语",tags:["译林版"],url:"./dicts/YiLin_3.json",length:295,language:"en",languageCategory:"en"},{id:"beishi1",name:"高中必修1",description:"北师大版高中必修1",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_1_T.json",length:226,language:"en",languageCategory:"en"},{id:"beishi2",name:"高中必修2",description:"北师大版高中必修2",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_2_T.json",length:244,language:"en",languageCategory:"en"},{id:"beishi3",name:"高中必修3",description:"北师大版高中必修3",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_3_T.json",length:295,language:"en",languageCategory:"en"},{id:"beishi4",name:"高中必修4",description:"北师大版高中必修4",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_4_T.json",length:336,language:"en",languageCategory:"en"},{id:"beishi5",name:"高中必修5",description:"北师大版高中必修5",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_5_T.json",length:327,language:"en",languageCategory:"en"},{id:"beishi6",name:"高中选修6",description:"北师大版高中选修6",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_6_T.json",length:271,language:"en",languageCategory:"en"},{id:"beishi7",name:"高中选修7",description:"北师大版高中选修7",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_7_T.json",length:334,language:"en",languageCategory:"en"},{id:"beishi8",name:"高中选修8",description:"北师大版高中选修8",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_8_T.json",length:364,language:"en",languageCategory:"en"},{id:"beishi9",name:"高中选修9",description:"北师大版高中选修9",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_9_T.json",length:299,language:"en",languageCategory:"en"},{id:"beishi10",name:"高中选修10",description:"北师大版高中选修10",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_10_T.json",length:267,language:"en",languageCategory:"en"},{id:"beishi11",name:"高中选修11",description:"北师大版高中选修11",category:"青少年英语",tags:["北师大"],url:"/dicts/BeiShiGaoZhong_11_T.json",length:330,language:"en",languageCategory:"en"},{id:"jijiao1",name:"冀教 3 上",description:"冀教版三年级起点三年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao3-1.json",length:75,language:"en",languageCategory:"en"},{id:"jijiao2",name:"冀教 3 下",description:"冀教版三年级起点三年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao3-2.json",length:76,language:"en",languageCategory:"en"},{id:"jijiao3",name:"冀教 4 上",description:"冀教版三年级起点四年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao4-1.json",length:78,language:"en",languageCategory:"en"},{id:"jijiao4",name:"冀教 4 下",description:"冀教版三年级起点四年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao4-2.json",length:84,language:"en",languageCategory:"en"},{id:"jijiao5",name:"冀教 5 上",description:"冀教版三年级起点五年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao5-1.json",length:79,language:"en",languageCategory:"en"},{id:"jijiao6",name:"冀教 5 下",description:"冀教版三年级起点五年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao5-2.json",length:96,language:"en",languageCategory:"en"},{id:"jijiao7",name:"冀教 6 上",description:"冀教版三年级起点六年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao6-1.json",length:66,language:"en",languageCategory:"en"},{id:"jijiao8",name:"冀教 6 下",description:"冀教版三年级起点六年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao6-2.json",length:51,language:"en",languageCategory:"en"},{id:"jijiao9",name:"冀教 7 上",description:"冀教版三年级起点七年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao7-1.json",length:561,language:"en",languageCategory:"en"},{id:"jijiao10",name:"冀教 7 下",description:"冀教版三年级起点七年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao7-2.json",length:514,language:"en",languageCategory:"en"},{id:"jijiao11",name:"冀教 8 上",description:"冀教版三年级起点八年级上",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao8-1.json",length:420,language:"en",languageCategory:"en"},{id:"jijiao12",name:"冀教 8 下",description:"冀教版三年级起点八年级下",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao8-2.json",length:487,language:"en",languageCategory:"en"},{id:"jijiao13",name:"冀教 9 上",description:"冀教版三年级起点九年级全册",category:"青少年英语",tags:["冀教版"],url:"/dicts/jiJiao9.json",length:636,language:"en",languageCategory:"en"},{id:"BJJuniorHigh",name:"北京初中",description:"北京初中",category:"青少年英语",tags:["其他"],url:"/dicts/beijing_junior_high_school.json",length:1844,language:"en",languageCategory:"en"},{id:"eflevel1",name:"EF-LEVEL-1",description:"EF等级1",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_1.json",length:297,language:"en",languageCategory:"en"},{id:"eflevel2",name:"EF-LEVEL-2",description:"EF等级2",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_2.json",length:353,language:"en",languageCategory:"en"},{id:"eflevel3",name:"EF-LEVEL-3",description:"EF等级3",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_3.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel4",name:"EF-LEVEL-4",description:"EF等级4",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_4.json",length:178,language:"en",languageCategory:"en"},{id:"eflevel5",name:"EF-LEVEL-5",description:"EF等级5",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_5.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel6",name:"EF-LEVEL-6",description:"EF等级6",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_6.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel7",name:"EF-LEVEL-7",description:"EF等级7",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_7.json",length:171,language:"en",languageCategory:"en"},{id:"eflevel8",name:"EF-LEVEL-8",description:"EF等级8",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_8.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel9",name:"EF-LEVEL-9",description:"EF等级9",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_9.json",length:165,language:"en",languageCategory:"en"},{id:"eflevel10",name:"EF-LEVEL-10",description:"EF等级10",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_10.json",length:174,language:"en",languageCategory:"en"},{id:"eflevel11",name:"EF-LEVEL-11",description:"EF等级11",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_11.json",length:176,language:"en",languageCategory:"en"},{id:"eflevel12",name:"EF-LEVEL-12",description:"EF等级12",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_12.json",length:170,language:"en",languageCategory:"en"},{id:"eflevel13",name:"EF-LEVEL-13",description:"EF等级13",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_13.json",length:172,language:"en",languageCategory:"en"},{id:"eflevel14",name:"EF-LEVEL-14",description:"EF等级14",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_14.json",length:171,language:"en",languageCategory:"en"},{id:"eflevel15",name:"EF-LEVEL-15",description:"EF等级15",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_15.json",length:168,language:"en",languageCategory:"en"},{id:"eflevel16",name:"EF-LEVEL-16",description:"EF等级16",category:"青少年英语",tags:["EF"],url:"/dicts/EF_LEVEL_16.json",length:170,language:"en",languageCategory:"en"},{id:"ReadingExplorer3",name:"Reading Explorer 3",description:"词汇表来自Reading Explorer 3, Third Edition",category:"青少年英语",tags:["其他"],url:"/dicts/ReadingExplorer3.json",length:239,language:"en",languageCategory:"en"},{id:"Macmillan7000",name:"麦克米伦7000",description:"麦克米伦7000",category:"中国考试",tags:["其他"],url:"/dicts/Macmillan7000.json",length:6268,language:"en",languageCategory:"en"},{id:"raz-AA",name:"RAZ 分级阅读 AA",description:"RAZ 分级阅读 AA",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-AA.json",length:422,language:"en",languageCategory:"en"},{id:"raz-A",name:"RAZ 分级阅读 A",description:"RAZ 分级阅读 A",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-A.json",length:487,language:"en",languageCategory:"en"},{id:"raz-B",name:"RAZ 分级阅读 B",description:"RAZ 分级阅读 B",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-B.json",length:465,language:"en",languageCategory:"en"},{id:"raz-C",name:"RAZ 分级阅读 C",description:"RAZ 分级阅读 C",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-C.json",length:480,language:"en",languageCategory:"en"},{id:"raz-D",name:"RAZ 分级阅读 D",description:"RAZ 分级阅读 D",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-D.json",length:436,language:"en",languageCategory:"en"},{id:"raz-E",name:"RAZ 分级阅读 E",description:"RAZ 分级阅读 E",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-E.json",length:427,language:"en",languageCategory:"en"},{id:"raz-F",name:"RAZ 分级阅读 F",description:"RAZ 分级阅读 F",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-F.json",length:437,language:"en",languageCategory:"en"},{id:"raz-G",name:"RAZ 分级阅读 G",description:"RAZ 分级阅读 G",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-G.json",length:435,language:"en",languageCategory:"en"},{id:"raz-H",name:"RAZ 分级阅读 H",description:"RAZ 分级阅读 H",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-H.json",length:385,language:"en",languageCategory:"en"},{id:"raz-I",name:"RAZ 分级阅读 I",description:"RAZ 分级阅读 I",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-I.json",length:408,language:"en",languageCategory:"en"},{id:"raz-J",name:"RAZ 分级阅读 J",description:"RAZ 分级阅读 J",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-J.json",length:434,language:"en",languageCategory:"en"},{id:"raz-K",name:"RAZ 分级阅读 K",description:"RAZ 分级阅读 K",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-K.json",length:397,language:"en",languageCategory:"en"},{id:"raz-L",name:"RAZ 分级阅读 L",description:"RAZ 分级阅读 L",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-L.json",length:402,language:"en",languageCategory:"en"},{id:"raz-M",name:"RAZ 分级阅读 M",description:"RAZ 分级阅读 M",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-M.json",length:403,language:"en",languageCategory:"en"},{id:"raz-N",name:"RAZ 分级阅读 N",description:"RAZ 分级阅读 N",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-N.json",length:376,language:"en",languageCategory:"en"},{id:"raz-O",name:"RAZ 分级阅读 O",description:"RAZ 分级阅读 O",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-O.json",length:429,language:"en",languageCategory:"en"},{id:"raz-P",name:"RAZ 分级阅读 P",description:"RAZ 分级阅读 P",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-P.json",length:379,language:"en",languageCategory:"en"},{id:"raz-Q",name:"RAZ 分级阅读 Q",description:"RAZ 分级阅读 Q",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Q.json",length:442,language:"en",languageCategory:"en"},{id:"raz-R",name:"RAZ 分级阅读 R",description:"RAZ 分级阅读 R",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-R.json",length:422,language:"en",languageCategory:"en"},{id:"raz-S",name:"RAZ 分级阅读 S",description:"RAZ 分级阅读 S",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-S.json",length:434,language:"en",languageCategory:"en"},{id:"raz-T",name:"RAZ 分级阅读 T",description:"RAZ 分级阅读 T",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-T.json",length:427,language:"en",languageCategory:"en"},{id:"raz-U",name:"RAZ 分级阅读 U",description:"RAZ 分级阅读 U",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-U.json",length:418,language:"en",languageCategory:"en"},{id:"raz-V",name:"RAZ 分级阅读 V",description:"RAZ 分级阅读 V",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-V.json",length:409,language:"en",languageCategory:"en"},{id:"raz-W",name:"RAZ 分级阅读 W",description:"RAZ 分级阅读 W",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-W.json",length:392,language:"en",languageCategory:"en"},{id:"raz-X",name:"RAZ 分级阅读 X",description:"RAZ 分级阅读 X",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-X.json",length:546,language:"en",languageCategory:"en"},{id:"raz-Y",name:"RAZ 分级阅读 Y",description:"RAZ 分级阅读 Y",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Y.json",length:461,language:"en",languageCategory:"en"},{id:"raz-Z",name:"RAZ 分级阅读 Z",description:"RAZ 分级阅读 Z",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z.json",length:414,language:"en",languageCategory:"en"},{id:"raz-Z1",name:"RAZ 分级阅读 Z1",description:"RAZ 分级阅读 Z1",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z1.json",length:467,language:"en",languageCategory:"en"},{id:"raz-Z2",name:"RAZ 分级阅读 Z2",description:"RAZ 分级阅读 Z2",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-Z2.json",length:492,language:"en",languageCategory:"en"},{id:"raz-all",name:"RAZ 分级阅读 所有词汇",description:"RAZ 分级阅读 所有词汇",category:"青少年英语",tags:["RAZ"],url:"/dicts/raz-all.json",length:5831,language:"en",languageCategory:"en"}],XZ=[{id:"coder",name:"Coder Dict",description:"程序员常见单词词库",category:"代码练习",tags:["通用"],url:"/dicts/it-words.json",length:1700,language:"code",languageCategory:"code"},{id:"childCode",name:"少儿 Python",description:"少儿 Python 常见词",category:"代码练习",tags:["少儿编程","Python"],url:"/dicts/Child_python_code.json",length:19,language:"en",languageCategory:"code"},{id:"childCode002",name:"少儿 Python Turtle",description:"少儿 Python Turtle 常见词",category:"代码练习",tags:["少儿编程","Python"],url:"/dicts/Child_python_turtle_code.json",length:27,language:"en",languageCategory:"code"},{id:"childCode003",name:"少儿 C++",description:"少儿 C++ 常见词",category:"代码练习",tags:["少儿编程","C++"],url:"/dicts/Child_cpp.json",length:39,language:"en",languageCategory:"code"},{id:"oi-xcpc",name:"OI / XCPC 竞赛词汇",description:"OI / XCPC 竞赛词汇",category:"代码练习",tags:["C++"],url:"/dicts/OI_XCPC.json",length:195,language:"en",languageCategory:"code"},{id:"childCode004",name:"Arduino",description:"Arduino常见词",category:"代码练习",tags:["少儿编程","Arduino"],url:"/dicts/arduino_keywords.json",length:78,language:"en",languageCategory:"code"},{id:"jsArray",name:"JS: Array",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-array.json",length:36,language:"code",languageCategory:"code"},{id:"jsDate",name:"JS: Date",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-date.json",length:34,language:"code",languageCategory:"code"},{id:"jsGlobal",name:"JS: Global",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-global.json",length:9,language:"code",languageCategory:"code"},{id:"jsMapSet",name:"JS: Map & Set",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-map-set.json",length:16,language:"code",languageCategory:"code"},{id:"jsMath",name:"JS: Math",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-math.json",length:38,language:"code",languageCategory:"code"},{id:"jsNumber",name:"JS: Number",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-number.json",length:22,language:"code",languageCategory:"code"},{id:"jsObject",name:"JS: Object",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-object.json",length:37,language:"code",languageCategory:"code"},{id:"jsPromise",name:"JS: Promise",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-promise.json",length:9,language:"code",languageCategory:"code"},{id:"jsString",name:"JS: String",description:"JavaScript API 词典",category:"代码练习",tags:["JavaScript"],url:"/dicts/js-string.json",length:32,language:"code",languageCategory:"code"},{id:"python-builtin",name:"Python: Built-in",description:"Python Built-in API",category:"代码练习",tags:["Python"],url:"/dicts/python-builtin.json",length:65,language:"code",languageCategory:"code"},{id:"python-array",name:"Python: array",description:"Python array API ",category:"代码练习",tags:["Python"],url:"/dicts/python-array.json",length:11,language:"code",languageCategory:"code"},{id:"python-date",name:"Python: date",description:"Python date API ",category:"代码练习",tags:["Python"],url:"/dicts/python-date.json",length:39,language:"code",languageCategory:"code"},{id:"python-file",name:"Python: file",description:"Python file API ",category:"代码练习",tags:["Python"],url:"/dicts/python-file.json",length:21,language:"code",languageCategory:"code"},{id:"python-class",name:"Python: class",description:"Python class API ",category:"代码练习",tags:["Python"],url:"/dicts/python-class.json",length:13,language:"code",languageCategory:"code"},{id:"python-set",name:"Python: set",description:"Python set API ",category:"代码练习",tags:["Python"],url:"/dicts/python-set.json",length:29,language:"code",languageCategory:"code"},{id:"python-math",name:"Python: math",description:"Python math API ",category:"代码练习",tags:["Python"],url:"/dicts/python-math.json",length:37,language:"code",languageCategory:"code"},{id:"python-string",name:"Python: string",description:"Python string API ",category:"代码练习",tags:["Python"],url:"/dicts/python-string.json",length:40,language:"code",languageCategory:"code"},{id:"python-system",name:"Python: system",description:"Python system API ",category:"代码练习",tags:["Python"],url:"/dicts/python-sys.json",length:24,language:"code",languageCategory:"code"},{id:"javeArrayList",name:"Java: ArrayList",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-arraylist.json",length:25,language:"code",languageCategory:"code"},{id:"javaCharacter",name:"Java: Character",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-character.json",length:8,language:"code",languageCategory:"code"},{id:"javaHashmap",name:"Java: Hashmap",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-hashmap.json",length:22,language:"code",languageCategory:"code"},{id:"javaLinkedList",name:"Java: LinkedList",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-linkedlist.json",length:25,language:"code",languageCategory:"code"},{id:"javaString",name:"Java: String",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-string.json",length:48,language:"code",languageCategory:"code"},{id:"javaStringBuffer",name:"Java: StringBuffer",description:"JavaScript API 词典",category:"代码练习",tags:["Java"],url:"/dicts/java-stringBuffer.json",length:20,language:"code",languageCategory:"code"},{id:"linuxCommand",name:"Linux",description:"Linux Command",category:"代码练习",tags:["Linux"],url:"/dicts/linux-command.json",length:575,language:"code",languageCategory:"code"},{id:"csharpKeywords",name:"C#关键字",description:"C#关键字以及用途",category:"代码练习",tags:["C#"],url:"/dicts/csharp-keywords.json",length:78,language:"code",languageCategory:"code"},{id:"csharpString",name:"C#: String API",description:"C# String API",category:"代码练习",tags:["C#"],url:"/dicts/csharp-string.json",length:79,language:"code",languageCategory:"code"},{id:"csharpList",name:"C#: List API",description:"C# List API",category:"代码练习",tags:["C#"],url:"/dicts/csharp-list.json",length:36,language:"code",languageCategory:"code"},{id:"sql-lower-case",name:"SQL: 常用语句 lower case",description:"SQL 常用语句 小写",category:"代码练习",tags:["SQL"],url:"/dicts/SQL_statement_lower-case.json",length:12,language:"code",languageCategory:"code"},{id:"sql-upper-case",name:"SQL: 常用语句 upper case",description:"SQL 常用语句 大写",category:"代码练习",tags:["SQL"],url:"/dicts/SQL_statement_upper-case.json",length:12,language:"code",languageCategory:"code"},{id:"ai-machine-learning",name:"人工智能: 机器学习",description:"AI机器学习 常用英语词汇",category:"代码练习",tags:["AI"],url:"/dicts/ai_machine_learning.json",length:726,language:"code",languageCategory:"code"},{id:"ai-ai-for-science",name:"人工智能: AI for Science",description:"AI for Science 常用英语词汇",category:"代码练习",tags:["AI"],url:"/dicts/ai_for_science.json",length:491,language:"code",languageCategory:"code"},{id:"go_keyword",name:"golang-keyword",description:"go语言关键字,",category:"代码练习",tags:["golang"],url:"/dicts/go_keyword.json",length:25,language:"code",languageCategory:"code"},{id:"go_builtin",name:"golang-builtin",description:"go语言内建函数和类型",category:"代码练习",tags:["golang"],url:"/dicts/go_builtin.json",length:46,language:"code",languageCategory:"code"}],ZZ=[{id:"japanese001",name:"日语常见词",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/Japanesebasicword.json",length:100,language:"romaji",languageCategory:"ja"},{id:"japanese001-zh",name:"日语常见词",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/Japanesebasicword_zh.json",length:100,language:"romaji",languageCategory:"ja"},{id:"japanese002",name:"N5",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N5.json",length:670,language:"romaji",languageCategory:"ja"},{id:"japanese002-zh",name:"N5",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N5_zh.json",length:670,language:"romaji",languageCategory:"ja"},{id:"japanese003",name:"N4",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N4.json",length:635,language:"romaji",languageCategory:"ja"},{id:"japanese003-zh",name:"N4",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N4_zh.json",length:635,language:"romaji",languageCategory:"ja"},{id:"japanese004",name:"N3",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N3.json",length:1830,language:"romaji",languageCategory:"ja"},{id:"japanese004-zh",name:"N3",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N3_zh.json",length:1830,language:"romaji",languageCategory:"ja"},{id:"japanese005",name:"N2",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N2.json",length:1836,language:"romaji",languageCategory:"ja"},{id:"japanese005-zh",name:"N2",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N2_zh.json",length:1836,language:"romaji",languageCategory:"ja"},{id:"japanese006",name:"N1",description:"英语翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N1.json",length:3477,language:"romaji",languageCategory:"ja"},{id:"japanese006-zh",name:"N1",description:"中文翻译",category:"日语学习",tags:["基础"],url:"/dicts/JapVocabList.N1_zh.json",length:3477,language:"romaji",languageCategory:"ja"},{id:"japanese007",name:"高频单词_N1",description:"高频单词_日语N1",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N1.json",length:3e3,language:"romaji",languageCategory:"ja"},{id:"japanese008",name:"高频单词_N2",description:"高频单词_日语N2",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N2.json",length:2500,language:"romaji",languageCategory:"ja"},{id:"japanese009",name:"高频单词_N3",description:"高频单词_日语N3",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N3.json",length:1999,language:"romaji",languageCategory:"ja"},{id:"japanese0010",name:"高频单词_N4N5",description:"高频单词_日语N4N5",category:"日语学习",tags:["基础"],url:"/dicts/Jap_High-Frequency_N4N5.json",length:2e3,language:"romaji",languageCategory:"ja"}],QZ=[{id:"german2en",name:"德语 英译",description:"德语词汇, 英语翻译",category:"德语学习",tags:["基础"],url:"/dicts/german2en.json",length:5892,language:"de",languageCategory:"de"},{id:"en2german",name:"英语 德译",description:"英语词汇,德语翻译",category:"德语学习",tags:["基础"],url:"/dicts/en2german.json",length:5025,language:"en",languageCategory:"de"}],JZ=[{id:"kazakh_basic_3000_arabic_hapin",name:"基础3000词(老文字版)",description:"哈萨克语基础3000词(哈拼老文字版)",category:"哈萨克语",tags:["老文字","哈拼"],url:"/dicts/kazakh_basic_3000_arabic_hapin.json",length:3002,language:"hapin",languageCategory:"kk"},{id:"kazakh_basic_3000_cyrillic_hapin",name:"基础3000词(西里尔字母版)",description:"哈萨克语基础3000词(哈拼西里尔字母版)",category:"哈萨克语",tags:["西里尔字母","哈拼"],url:"/dicts/kazakh_basic_3000_cyrillic_hapin.json",length:3002,language:"hapin",languageCategory:"kk"}],eQ=[{id:"indonesian_highFrequency_3043",name:"印尼语高频词汇",description:"印尼语常用单词及中文解释",category:"印尼语",tags:["基础"],url:"/dicts/Indonesian.json",length:3037,language:"id",languageCategory:"id"}],tQ=[...KZ,...qZ,...YZ,...XZ,...ZZ,...QZ,...JZ,...eQ],rQ=tQ.map(e=>({...e,chapterCount:HZ(e.length)})),Hf=Object.fromEntries(rQ.map(e=>[e.id,e])),nQ=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"m18.412 6.5l-.801 13.617A2 2 0 0 1 15.614 22H8.386a2 2 0 0 1-1.997-1.883L5.59 6.5H3.5v-1A.5.5 0 0 1 4 5h16a.5.5 0 0 1 .5.5v1zM10 2.5h4a.5.5 0 0 1 .5.5v1h-5V3a.5.5 0 0 1 .5-.5M9 9l.5 9H11l-.4-9zm4.5 0l-.5 9h1.5l.5-9z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aQ=({record:e,onDelete:t})=>{const r=wa(dh),n=Hf[e.dict],{word:a,isLoading:o,hasError:i}=c7(e.word,n),s=p.useCallback(()=>{r(e),BM("detail")},[e,r]);return P("li",{className:"opacity-85 flex w-full cursor-pointer items-center justify-between rounded-lg bg-white px-6 py-3 text-black shadow-md dark:bg-gray-800 dark:text-white",onClick:s,children:[y("span",{className:"basis-2/12 break-normal",children:e.word}),y("span",{className:"basis-6/12 break-normal",children:a?a.trans.join(";"):y(__,{isLoading:o,hasError:i})}),y("span",{className:"basis-1/12 break-normal pl-8",children:e.wrongCount}),y("span",{className:"basis-1/12 break-normal",children:n==null?void 0:n.name}),y("span",{className:"basis-1/12 break-normal",onClick:l=>{l.stopPropagation(),t()},children:y(UL,{children:P(zL,{children:[y(VL,{asChild:!0,children:y(nQ,{})}),y(cE,{children:y("p",{children:"Delete Records"})})]})})})]})};var WM={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],a=0;ay("svg",{viewBox:"0 0 1024 1344",width:"1.2em",height:"1.2em",...e,children:y("g",{transform:"translate(0 1344) scale(1 -1)",children:y("path",{fill:"currentColor",d:"M1024 512q0 26-19 45t-45 19H64q-26 0-45-19T0 512t19-45L467 19q19-19 45-19t45 19l448 448q19 19 19 45"})})}),iQ=e=>y("svg",{viewBox:"0 0 1024 1344",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M1024 512q0 26-19 45t-45 19H64q-26 0-45-19T0 512t19-45L467 19q19-19 45-19t45 19l448 448q19 19 19 45"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const sQ=({className:e,sortType:t,setSortType:r})=>{const n=p.useCallback(()=>{r({asc:"desc",desc:"none",none:"asc"}[t])},[r,t]);return I("span",{className:`relative cursor-pointer ${e}`,onClick:n,children:["错误次数",I("div",{className:"absolute -right-2 bottom-0 top-0 flex flex-col items-center justify-center text-[12px]",children:[y(iQ,{className:qr("-mb-2 ",{"text-indigo-500":t==="asc","text-gray-400":t!=="asc"})}),y(oQ,{className:qr({"text-indigo-500":t==="desc","text-gray-400":t!=="desc"})})]})]})},HM=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M7 1L5.6 2.5L13 10l-7.4 7.5L7 19l9-9z"})}),GM=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"m4 10l9 9l1.4-1.5L7 10l7.4-7.5L13 1z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const q1=20,lQ=({className:e,page:t,setPage:r,totalPages:n})=>{const a=p.useCallback(()=>{r(t+1)},[t,r]),o=p.useCallback(()=>{r(t-1)},[t,r]);return I("div",{className:`flex items-center gap-2 ${e}`,children:[y("button",{className:"cursor-pointer rounded-full bg-white p-2 text-indigo-500 shadow-md dark:bg-gray-800 dark:text-indigo-300",onClick:o,children:y(GM,{})}),y("span",{className:"text-black dark:text-white",children:`${t} / ${n}`}),y("button",{className:"cursor-pointer rounded-full bg-white p-2 text-indigo-500 shadow-md dark:bg-gray-800 dark:text-indigo-300",onClick:a,children:y(HM,{})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Yp=({icon:e,name:t,data:r})=>I("div",{className:"g flex h-10 w-40 flex-1 select-none items-center justify-between rounded-md border-gray-400 bg-gray-100 px-3 py-5 shadow dark:border-gray-600 dark:bg-gray-800",children:[I("div",{className:"flex items-center space-x-1 ",children:[y(e,{className:"h-4 w-4 text-gray-700 dark:text-gray-300"}),y("span",{className:"break-keep text-base font-normal text-gray-500 dark:text-gray-300",children:t})]}),y("div",{className:"flex items-center space-x-2",children:y("span",{className:"text-base font-normal text-gray-800 dark:text-gray-200",children:r})})]});function n2(){return n2=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[r,n]=wt(dh),a=p.useMemo(()=>r?t.findIndex(s=>s.word===r.word&&s.dict===r.dict):-1,[r,t]),o=p.useCallback(()=>{if(!r)return;const s=a;if(s===-1)return;const l=s+1;l>=t.length||n(t[l])},[r,a,t,n]),i=p.useCallback(()=>{if(!r)return;const s=a;if(s===-1)return;const l=s-1;l<0||n(t[l])},[r,a,n,t]);return Yt("left",s=>{i(),s.stopPropagation()},{preventDefault:!0}),Yt("right",s=>{o(),s.stopPropagation()},{preventDefault:!0}),I("div",{className:`-gap-1 flex select-none items-center ${e}`,children:[y("button",{className:"d cursor-pointer rounded-full p-1 text-indigo-500 focus:outline-none dark:text-indigo-300",onClick:i,children:y(GM,{})}),y("span",{className:"text-sm text-black dark:text-white",children:`${a+1} / ${t.length}`}),y("button",{className:"cursor-pointer rounded-full p-1 text-indigo-500 focus:outline-none dark:text-indigo-300",onClick:o,children:y(HM,{})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const SQ=({className:e})=>I("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[y("path",{d:"M699.034 761.907a25.6 25.6 0 01-16.18-45.414C736.973 672.512 768 607.283 768 537.65s-31.027-134.81-85.094-178.841a25.549 25.549 0 1132.307-39.68C781.312 372.89 819.2 452.557 819.2 537.702s-37.888 164.762-103.987 218.573a25.6 25.6 0 01-16.128 5.735z"}),y("path",{d:"M795.904 881.1a25.6 25.6 0 01-16.18-45.414C869.889 762.368 921.6 653.722 921.6 537.651s-51.712-224.717-141.875-298.035a25.549 25.549 0 1132.307-39.68C914.176 283.034 972.8 406.17 972.8 537.702s-58.573 254.67-160.768 337.767a25.6 25.6 0 01-16.128 5.734zm-193.69-238.438a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})]}),EQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})}),CQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M602.214 642.662a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})}),TQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M699.034 761.907a25.6 25.6 0 01-16.18-45.414C736.973 672.512 768 607.283 768 537.65s-31.027-134.81-85.094-178.841a25.549 25.549 0 1132.307-39.68C781.312 372.89 819.2 452.557 819.2 537.702s-37.888 164.762-103.987 218.573a25.6 25.6 0 01-16.128 5.735zm-96.82-119.245a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const I4=[EQ,CQ,TQ,SQ],QM=({duration:e=500,animated:t=!1,onClick:r,iconClassName:n,className:a})=>{const[o,i]=p.useState(0);p.useEffect(()=>{const l=window.setTimeout(()=>{const u=t&&o{clearTimeout(l)}},[t,o]);const s=I4[o];return y("button",{type:"button",className:`focus:outline-none dark:fill-gray-400 dark:opacity-80 ${a}`,onClick:r,children:y(s,{className:n})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function AQ(e){return e=e[0],e>="一"&&e<="鿏"||e>="豈"&&e<="﫿"||e>="㐀"&&e<="䶿"}function RQ(e){const t=e.toLowerCase(),r=t.split("");for(let o=0;o0;i--){const s=r.slice(a,a+i),l=PQ[s.join("")];if(l!=null){n+=l,a+=s.length;break}if(i==1){n+=s,a+=1;break}}}return n}function OQ(e){return e>="a"&&e<="z"&&!kQ(e)}function kQ(e){return e=="a"||e=="i"||e=="u"||e=="e"||e=="o"}const PQ={a:"あ",i:"い",u:"う",e:"え",o:"お","-":"ー",xa:"ぁ",xi:"ぃ",xu:"ぅ",xe:"ぇ",xo:"ぉ",ka:"か",ki:"き",ku:"く",ke:"け",ko:"こ",ca:"か",cu:"く",co:"こ",ga:"が",gi:"ぎ",gu:"ぐ",ge:"げ",go:"ご",sa:"さ",si:"し",su:"す",se:"せ",so:"そ",za:"ざ",zi:"じ",zu:"ず",ze:"ぜ",zo:"ぞ",ja:"じゃ",ji:"じ",ju:"じゅ",je:"じぇ",jo:"じょ",ta:"た",ti:"ち",tu:"つ",te:"て",to:"と",da:"だ",di:"ぢ",du:"づ",de:"で",do:"ど",na:"な",ni:"に",nu:"ぬ",ne:"ね",no:"の",ha:"は",hi:"ひ",hu:"ふ",he:"へ",ho:"ほ",ba:"ば",bi:"び",bu:"ぶ",be:"べ",bo:"ぼ",pa:"ぱ",pi:"ぴ",pu:"ぷ",pe:"ぺ",po:"ぽ",va:"ヴぁ",vi:"ヴぃ",vu:"ヴ",ve:"ヴぇ",vo:"ヴぉ",fa:"ふぁ",fi:"ふぃ",fu:"ふ",fe:"ふぇ",fo:"ふぉ",ma:"ま",mi:"み",mu:"む",me:"め",mo:"も",ya:"や",yi:"い",yu:"ゆ",ye:"いぇ",yo:"よ",ra:"ら",ri:"り",ru:"る",re:"れ",ro:"ろ",la:"ら",li:"り",lu:"る",le:"れ",lo:"ろ",wa:"わ",wi:"ゐ",wu:"う",we:"ゑ",wo:"を",tsu:"つ",xka:"ヵ",xke:"ヶ",xwa:"ゎ",xtsu:"っ",xya:"ゃ",xyu:"ゅ",xyo:"ょ",kya:"きゃ",kyi:"きぃ",kyu:"きゅ",kye:"きぇ",kyo:"きょ",gya:"ぎゃ",gyi:"ぎぃ",gyu:"ぎゅ",gye:"ぎぇ",gyo:"ぎょ",sya:"しゃ",syi:"しぃ",syu:"しゅ",sye:"しぇ",syo:"しょ",sha:"しゃ",shi:"し",shu:"しゅ",she:"しぇ",sho:"しょ",zya:"じゃ",zyi:"じぃ",zyu:"じゅ",zye:"じぇ",zyo:"じょ",jya:"じゃ",jyi:"じぃ",jyu:"じゅ",jye:"じぇ",jyo:"じょ",tya:"ちゃ",tyi:"ちぃ",tyu:"ちゅ",tye:"ちぇ",tyo:"ちょ",cya:"ちゃ",cyi:"ちぃ",cyu:"ちゅ",cye:"ちぇ",cyo:"ちょ",cha:"ちゃ",chi:"ち",chu:"ちゅ",che:"ちぇ",cho:"ちょ",tha:"てゃ",thi:"てぃ",thu:"てゅ",the:"てぇ",tho:"てょ",dya:"ぢゃ",dyi:"ぢぃ",dyu:"ぢゅ",dye:"ぢぇ",dyo:"ぢょ",dha:"でゃ",dhi:"でぃ",dhu:"でゅ",dhe:"でぇ",dho:"でょ",nya:"にゃ",nyi:"にぃ",nyu:"にゅ",nye:"にぇ",nyo:"にょ",hya:"ひゃ",hyi:"ひぃ",hyu:"ひゅ",hye:"ひぇ",hyo:"ひょ",bya:"びゃ",byi:"びぃ",byu:"びゅ",bye:"びぇ",byo:"びょ",pya:"ぴゃ",pyi:"ぴぃ",pyu:"ぴゅ",pye:"ぴぇ",pyo:"ぴょ",mya:"みゃ",myi:"みぃ",myu:"みゅ",mye:"みぇ",myo:"みょ",rya:"りゃ",ryi:"りぃ",ryu:"りゅ",rye:"りぇ",ryo:"りょ",lya:"りゃ",lyi:"りぃ",lyu:"りゅ",lye:"りぇ",lyo:"りょ",n:"ん",m:"ん","n'":"ん",dzu:"づ"};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function cv(){}function vm(){return vm=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function NQ(e){p.useEffect(e,[])}function uv(e,t){t===void 0&&(t={});var r=t,n=r.volume,a=n===void 0?1:n,o=r.playbackRate,i=o===void 0?1:o,s=r.soundEnabled,l=s===void 0?!0:s,u=r.interrupt,f=u===void 0?!1:u,c=r.onload,d=IQ(r,["id","volume","playbackRate","soundEnabled","interrupt","onload"]),h=Y.useRef(null),g=Y.useRef(!1),m=Y.useState(null),w=m[0],v=m[1],b=Y.useState(null),_=b[0],$=b[1],C=function(){typeof c=="function"&&c.call(this),g.current&&v(this.duration()*1e3),$(this)};NQ(function(){return Je(()=>Promise.resolve().then(()=>Dse),void 0,import.meta.url).then(function(k){if(!g.current){var L;h.current=(L=k.Howl)!==null&&L!==void 0?L:k.default.Howl,g.current=!0,new h.current(vm({src:Array.isArray(e)?e:[e],volume:a,rate:i,onload:C},d))}}),function(){g.current=!1}}),Y.useEffect(function(){h.current&&_&&$(new h.current(vm({src:Array.isArray(e)?e:[e],volume:a,onload:C},d)))},[JSON.stringify(e)]),Y.useEffect(function(){_&&(_.volume(a),_.rate(i))},[a,i]);var O=Y.useCallback(function(k){typeof k>"u"&&(k={}),!(!_||!l&&!k.forceSoundEnabled)&&(f&&_.stop(),k.playbackRate&&_.rate(k.playbackRate),_.play(k.id))},[_,l,f]),x=Y.useCallback(function(k){_&&_.stop(k)},[_]),S=Y.useCallback(function(k){_&&_.pause(k)},[_]),A=[O,{sound:_,stop:x,pause:S,duration:w}];return A}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Go="https://dict.youdao.com/dictvoice?audio=";function JM(e,t){switch(t){case"uk":return`${Go}${e}&type=1`;case"us":return`${Go}${e}&type=2`;case"romaji":return`${Go}${RQ(e)}&le=jap`;case"zh":return`${Go}${e}&le=zh`;case"ja":return`${Go}${e}&le=jap`;case"de":return`${Go}${e}&le=de`;case"hapin":case"kk":return`${Go}${e}&le=ru`;case"id":return`${Go}${e}&le=id`;default:return""}}function eD(e,t){const r=oe(Ro),n=p.useMemo(()=>typeof t=="boolean"?t:r.isLoop,[t,r.isLoop]),[a,o]=p.useState(!1),[i,{stop:s,sound:l}]=uv(JM(e,r.type),{html5:!0,format:["mp3"],loop:n,volume:r.volume,rate:r.rate});return p.useEffect(()=>{if(l)return l.loop(n),cv},[n,l]),p.useEffect(()=>{if(!l)return;const u=[];return u.push(qp(l,"play",()=>o(!0))),u.push(qp(l,"end",()=>o(!1))),u.push(qp(l,"pause",()=>o(!1))),u.push(qp(l,"playerror",()=>o(!1))),()=>{o(!1),u.forEach(f=>f()),l.unload()}},[l]),{play:i,stop:s,isPlaying:a}}function LQ(e){const t=oe(Ro);p.useEffect(()=>{if(!e)return;const r=JM(e,t.type);if(r==="")return;const n=document.head;if(!Array.from(n.querySelectorAll("link[href]")).some(o=>o.href===r)){const o=new Audio;return o.src=r,o.preload="auto",o.crossOrigin="anonymous",o.style.display="none",n.appendChild(o),()=>{n.removeChild(o)}}},[t.type,e])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const D0=Y.forwardRef(({word:e,lang:t,className:r,iconClassName:n},a)=>{const o=()=>t==="hapin"?/[\u0400-\u04FF]/.test(e.notation||"")?e.notation||"":e.trans[2]:e.name,{play:i,stop:s,isPlaying:l}=eD(o()),u=p.useCallback(()=>{s(),i()},[i,s]);return p.useEffect(()=>s,[e,s]),p.useImperativeHandle(a,()=>({play:u}),[u]),y(QM,{animated:l,onClick:u,className:`cursor-pointer text-gray-600 ${r}`,iconClassName:n})});D0.displayName="WordPronunciationIcon";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function tD({word:e}){const t=oe(xh),r=oe(_h);return I("div",{className:`space-x-5 text-center text-sm font-normal text-gray-600 transition-colors duration-300 dark:text-gray-400 ${r&&"select-text"}`,children:[t.type==="us"&&e.usphone&&e.usphone.length>1&&y("span",{children:`AmE: [${e.usphone}]`}),t.type==="uk"&&e.ukphone&&e.ukphone.length>1&&y("span",{children:`BrE: [${e.ukphone}]`})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const MQ={true:{normal:"text-gray-400",correct:"text-green-400 dark:text-green-700",wrong:"text-red-400 dark:text-red-600"},false:{normal:"text-gray-600 dark:text-gray-50",correct:"text-green-600 dark:text-green-400",wrong:"text-red-600 dark:text-red-400"}},DQ=({letter:e,state:t="normal",visible:r=!0})=>{const n=oe(xE);return y("span",{className:`m-0 p-0 font-mono font-normal ${MQ[e===C$][t]} pr-0.8 duration-0 dark:text-opacity-80`,style:{fontSize:n.foreignFont.toString()+"px"},children:r?e:"_"})},rD=Y.memo(DQ),jQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:I("g",{fill:"currentColor",children:[y("path",{d:"M12 9a1 1 0 0 1-1-1V3c0-.552.45-1.007.997-.93a7 7 0 0 1 5.933 5.933c.078.547-.378.997-.93.997z"}),y("path",{d:"M8.003 4.07C8.55 3.994 9 4.449 9 5v5a1 1 0 0 0 1 1h5c.552 0 1.008.45.93.997A7.001 7.001 0 0 1 2 11a7 7 0 0 1 6.003-6.93"})]})}),FQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79l-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089z",clipRule:"evenodd"})}),BQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m.75-13a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 0 0 0-1.5h-3.25z",clipRule:"evenodd"})}),UQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16M8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94z",clipRule:"evenodd"})}),_u=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6L6 18M6 6l12 12"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zQ=({currentRowDetail:e,allRecords:t})=>{const r=wa(dh),n=Hf[e.dict],{word:a,isLoading:o,hasError:i}=c7(e.word,n),s=p.useRef(null),l=p.useMemo(()=>{const c=((e.records.length>0?e.records.reduce((m,w)=>m+w.totalTime,0)/e.records.length:0)/1e3).toFixed(2),d=e.records.length,h=e.wrongCount,g=d+h;return{time:c,sumCount:g,correctCount:d,wrongCount:h}},[e.records,e.wrongCount]),u=p.useCallback(()=>{r(null)},[r]);return Yt("esc",f=>{u(),f.stopPropagation()},{preventDefault:!0}),Yt("ctrl+j",()=>{var f;(f=s.current)==null||f.play()},[],{enableOnFormTags:!0,preventDefault:!0}),I("div",{className:"absolute inset-0 flex flex-col items-center justify-center ",children:[I("div",{className:"my-card relative z-10 flex h-[32rem] min-w-[26rem] select-text flex-col items-center justify-around rounded-2xl bg-white px-3 py-10 dark:bg-gray-900",children:[y(_u,{className:"absolute right-3 top-3 h-6 w-6 cursor-pointer text-gray-400",onClick:u}),I("div",{className:"flex flex-col items-center justify-start",children:[y("div",{children:e.word.split("").map((f,c)=>y(rD,{letter:f,visible:!0,state:"normal"},`${c}-${f}`))}),I("div",{className:"relative flex h-8 items-center",children:[a?y(tD,{word:a}):y(__,{isLoading:o,hasError:i}),a&&y(D0,{lang:n.language,word:a,className:"absolute -right-7 top-1/2 h-5 w-5 -translate-y-1/2 transform ",ref:s})]}),y("div",{className:"flex max-w-[24rem] items-center",children:y("span",{className:"max-w-4xl text-center font-sans transition-colors duration-300 dark:text-white dark:text-opacity-80",children:a?a.trans.join(";"):y(__,{isLoading:o,hasError:i})})})]}),I("div",{className:"item flex flex-col gap-4",children:[I("div",{className:"flex gap-6",children:[y(Yp,{icon:BQ,name:"平均用时",data:l.time}),y(Yp,{icon:jQ,name:"练习次数",data:l.sumCount})]}),I("div",{className:"flex gap-6",children:[y(Yp,{icon:FQ,name:"正确次数",data:l.correctCount}),y(Yp,{icon:UQ,name:"错误次数",data:l.wrongCount})]})]}),y(xQ,{className:"absolute bottom-6 mt-10",allRecords:t})]}),y("div",{className:"absolute inset-0 z-0 cursor-pointer bg-transparent",onClick:u})]})},VQ=p.createContext(void 0);function WQ(e){const t=p.useContext(VQ);return e||t||"ltr"}function HQ(e,[t,r]){return Math.min(r,Math.max(t,e))}function GQ(e,t){return p.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const nD="ScrollArea",[aD,jje]=f0(nD),[KQ,Ln]=aD(nD),qQ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,l]=p.useState(null),[u,f]=p.useState(null),[c,d]=p.useState(null),[h,g]=p.useState(null),[m,w]=p.useState(null),[v,b]=p.useState(0),[_,$]=p.useState(0),[C,O]=p.useState(!1),[x,S]=p.useState(!1),A=In(t,L=>l(L)),k=WQ(a);return p.createElement(KQ,{scope:r,type:n,dir:k,scrollHideDelay:o,scrollArea:s,viewport:u,onViewportChange:f,content:c,onContentChange:d,scrollbarX:h,onScrollbarXChange:g,scrollbarXEnabled:C,onScrollbarXEnabledChange:O,scrollbarY:m,onScrollbarYChange:w,scrollbarYEnabled:x,onScrollbarYEnabledChange:S,onCornerWidthChange:b,onCornerHeightChange:$},p.createElement(un.div,te({dir:k},i,{ref:A,style:{position:"relative",["--radix-scroll-area-corner-width"]:v+"px",["--radix-scroll-area-corner-height"]:_+"px",...e.style}})))}),YQ="ScrollAreaViewport",XQ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,...a}=e,o=Ln(YQ,r),i=p.useRef(null),s=In(t,i,o.onViewportChange);return p.createElement(p.Fragment,null,p.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),p.createElement(un.div,te({"data-radix-scroll-area-viewport":""},a,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),p.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),ko="ScrollAreaScrollbar",ZQ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(ko,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return p.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?p.createElement(QQ,te({},n,{ref:t,forceMount:r})):a.type==="scroll"?p.createElement(JQ,te({},n,{ref:t,forceMount:r})):a.type==="auto"?p.createElement(oD,te({},n,{ref:t,forceMount:r})):a.type==="always"?p.createElement(WE,te({},n,{ref:t})):null}),QQ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(ko,e.__scopeScrollArea),[o,i]=p.useState(!1);return p.useEffect(()=>{const s=a.scrollArea;let l=0;if(s){const u=()=>{window.clearTimeout(l),i(!0)},f=()=>{l=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),p.createElement(gu,{present:r||o},p.createElement(oD,te({"data-state":o?"visible":"hidden"},n,{ref:t})))}),JQ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(ko,e.__scopeScrollArea),o=e.orientation==="horizontal",i=F0(()=>l("SCROLL_END"),100),[s,l]=GQ("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(s==="idle"){const u=window.setTimeout(()=>l("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(u)}},[s,a.scrollHideDelay,l]),p.useEffect(()=>{const u=a.viewport,f=o?"scrollLeft":"scrollTop";if(u){let c=u[f];const d=()=>{const h=u[f];c!==h&&(l("SCROLL"),i()),c=h};return u.addEventListener("scroll",d),()=>u.removeEventListener("scroll",d)}},[a.viewport,o,l,i]),p.createElement(gu,{present:r||s!=="hidden"},p.createElement(WE,te({"data-state":s==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:or(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:or(e.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),oD=p.forwardRef((e,t)=>{const r=Ln(ko,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=p.useState(!1),s=e.orientation==="horizontal",l=F0(()=>{if(r.viewport){const u=r.viewport.offsetWidth{const{orientation:r="vertical",...n}=e,a=Ln(ko,e.__scopeScrollArea),o=p.useRef(null),i=p.useRef(0),[s,l]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=cD(s.viewport,s.content),f={...n,sizes:s,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:d=>o.current=d,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:d=>i.current=d};function c(d,h){return iJ(d,i.current,s,h)}return r==="horizontal"?p.createElement(eJ,te({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const d=a.viewport.scrollLeft,h=N4(d,s,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},onWheelScroll:d=>{a.viewport&&(a.viewport.scrollLeft=d)},onDragScroll:d=>{a.viewport&&(a.viewport.scrollLeft=c(d,a.dir))}})):r==="vertical"?p.createElement(tJ,te({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const d=a.viewport.scrollTop,h=N4(d,s);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},onWheelScroll:d=>{a.viewport&&(a.viewport.scrollTop=d)},onDragScroll:d=>{a.viewport&&(a.viewport.scrollTop=c(d))}})):null}),eJ=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Ln(ko,e.__scopeScrollArea),[i,s]=p.useState(),l=p.useRef(null),u=In(t,l,o.onScrollbarXChange);return p.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),p.createElement(sD,te({"data-orientation":"horizontal"},a,{ref:u,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,["--radix-scroll-area-thumb-width"]:j0(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,c)=>{if(o.viewport){const d=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(d),dD(d,c)&&f.preventDefault()}},onResize:()=>{l.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:mm(i.paddingLeft),paddingEnd:mm(i.paddingRight)}})}}))}),tJ=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Ln(ko,e.__scopeScrollArea),[i,s]=p.useState(),l=p.useRef(null),u=In(t,l,o.onScrollbarYChange);return p.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),p.createElement(sD,te({"data-orientation":"vertical"},a,{ref:u,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)",["--radix-scroll-area-thumb-height"]:j0(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,c)=>{if(o.viewport){const d=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(d),dD(d,c)&&f.preventDefault()}},onResize:()=>{l.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:mm(i.paddingTop),paddingEnd:mm(i.paddingBottom)}})}}))}),[rJ,iD]=aD(ko),sD=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:f,onResize:c,...d}=e,h=Ln(ko,r),[g,m]=p.useState(null),w=In(t,A=>m(A)),v=p.useRef(null),b=p.useRef(""),_=h.viewport,$=n.content-n.viewport,C=Or(f),O=Or(l),x=F0(c,10);function S(A){if(v.current){const k=A.clientX-v.current.left,L=A.clientY-v.current.top;u({x:k,y:L})}}return p.useEffect(()=>{const A=k=>{const L=k.target;(g==null?void 0:g.contains(L))&&C(k,$)};return document.addEventListener("wheel",A,{passive:!1}),()=>document.removeEventListener("wheel",A,{passive:!1})},[_,g,$,C]),p.useEffect(O,[n,O]),qc(g,x),qc(h.content,x),p.createElement(rJ,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:Or(o),onThumbPointerUp:Or(i),onThumbPositionChange:O,onThumbPointerDown:Or(s)},p.createElement(un.div,te({},d,{ref:w,style:{position:"absolute",...d.style},onPointerDown:or(e.onPointerDown,A=>{A.button===0&&(A.target.setPointerCapture(A.pointerId),v.current=g.getBoundingClientRect(),b.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),S(A))}),onPointerMove:or(e.onPointerMove,S),onPointerUp:or(e.onPointerUp,A=>{const k=A.target;k.hasPointerCapture(A.pointerId)&&k.releasePointerCapture(A.pointerId),document.body.style.webkitUserSelect=b.current,h.viewport&&(h.viewport.style.scrollBehavior=""),v.current=null})})))}),a2="ScrollAreaThumb",Fje=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=iD(a2,e.__scopeScrollArea);return p.createElement(gu,{present:r||a.hasThumb},p.createElement(nJ,te({ref:t},n)))}),nJ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=Ln(a2,r),i=iD(a2,r),{onThumbPositionChange:s}=i,l=In(t,c=>i.onThumbChange(c)),u=p.useRef(),f=F0(()=>{u.current&&(u.current(),u.current=void 0)},100);return p.useEffect(()=>{const c=o.viewport;if(c){const d=()=>{if(f(),!u.current){const h=sJ(c,s);u.current=h,s()}};return s(),c.addEventListener("scroll",d),()=>c.removeEventListener("scroll",d)}},[o.viewport,f,s]),p.createElement(un.div,te({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:or(e.onPointerDownCapture,c=>{const h=c.target.getBoundingClientRect(),g=c.clientX-h.left,m=c.clientY-h.top;i.onThumbPointerDown({x:g,y:m})}),onPointerUp:or(e.onPointerUp,i.onThumbPointerUp)}))}),lD="ScrollAreaCorner",aJ=p.forwardRef((e,t)=>{const r=Ln(lD,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?p.createElement(oJ,te({},e,{ref:t})):null}),oJ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=Ln(lD,r),[o,i]=p.useState(0),[s,l]=p.useState(0),u=!!(o&&s);return qc(a.scrollbarX,()=>{var f;const c=((f=a.scrollbarX)===null||f===void 0?void 0:f.offsetHeight)||0;a.onCornerHeightChange(c),l(c)}),qc(a.scrollbarY,()=>{var f;const c=((f=a.scrollbarY)===null||f===void 0?void 0:f.offsetWidth)||0;a.onCornerWidthChange(c),i(c)}),u?p.createElement(un.div,te({},n,{ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function mm(e){return e?parseInt(e,10):0}function cD(e,t){const r=e/t;return isNaN(r)?0:r}function j0(e){const t=cD(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function iJ(e,t,r,n="ltr"){const a=j0(r),o=a/2,i=t||o,s=a-i,l=r.scrollbar.paddingStart+i,u=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,c=n==="ltr"?[0,f]:[f*-1,0];return uD([l,u],c)(e)}function N4(e,t,r="ltr"){const n=j0(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,l=r==="ltr"?[0,i]:[i*-1,0],u=HQ(e,l);return uD([0,i],[0,s])(u)}function uD(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function dD(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function F0(e,t){const r=Or(e),n=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(n.current),[]),p.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function qc(e,t){const r=Or(t);go(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}const $u=qQ,xu=XQ,Su=ZQ,Bje=aJ;/** +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],a=0;ay("svg",{viewBox:"0 0 1024 1344",width:"1.2em",height:"1.2em",...e,children:y("g",{transform:"translate(0 1344) scale(1 -1)",children:y("path",{fill:"currentColor",d:"M1024 512q0 26-19 45t-45 19H64q-26 0-45-19T0 512t19-45L467 19q19-19 45-19t45 19l448 448q19 19 19 45"})})}),sQ=e=>y("svg",{viewBox:"0 0 1024 1344",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M1024 512q0 26-19 45t-45 19H64q-26 0-45-19T0 512t19-45L467 19q19-19 45-19t45 19l448 448q19 19 19 45"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const lQ=({className:e,sortType:t,setSortType:r})=>{const n=p.useCallback(()=>{r({asc:"desc",desc:"none",none:"asc"}[t])},[r,t]);return P("span",{className:`relative cursor-pointer ${e}`,onClick:n,children:["错误次数",P("div",{className:"absolute -right-2 bottom-0 top-0 flex flex-col items-center justify-center text-[12px]",children:[y(sQ,{className:qr("-mb-2 ",{"text-indigo-500":t==="asc","text-gray-400":t!=="asc"})}),y(iQ,{className:qr({"text-indigo-500":t==="desc","text-gray-400":t!=="desc"})})]})]})},HM=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M7 1L5.6 2.5L13 10l-7.4 7.5L7 19l9-9z"})}),GM=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"m4 10l9 9l1.4-1.5L7 10l7.4-7.5L13 1z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const q1=20,cQ=({className:e,page:t,setPage:r,totalPages:n})=>{const a=p.useCallback(()=>{r(t+1)},[t,r]),o=p.useCallback(()=>{r(t-1)},[t,r]);return P("div",{className:`flex items-center gap-2 ${e}`,children:[y("button",{className:"cursor-pointer rounded-full bg-white p-2 text-indigo-500 shadow-md dark:bg-gray-800 dark:text-indigo-300",onClick:o,children:y(GM,{})}),y("span",{className:"text-black dark:text-white",children:`${t} / ${n}`}),y("button",{className:"cursor-pointer rounded-full bg-white p-2 text-indigo-500 shadow-md dark:bg-gray-800 dark:text-indigo-300",onClick:a,children:y(HM,{})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Yp=({icon:e,name:t,data:r})=>P("div",{className:"g flex h-10 w-40 flex-1 select-none items-center justify-between rounded-md border-gray-400 bg-gray-100 px-3 py-5 shadow dark:border-gray-600 dark:bg-gray-800",children:[P("div",{className:"flex items-center space-x-1 ",children:[y(e,{className:"h-4 w-4 text-gray-700 dark:text-gray-300"}),y("span",{className:"break-keep text-base font-normal text-gray-500 dark:text-gray-300",children:t})]}),y("div",{className:"flex items-center space-x-2",children:y("span",{className:"text-base font-normal text-gray-800 dark:text-gray-200",children:r})})]});function n2(){return n2=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[r,n]=wt(dh),a=p.useMemo(()=>r?t.findIndex(s=>s.word===r.word&&s.dict===r.dict):-1,[r,t]),o=p.useCallback(()=>{if(!r)return;const s=a;if(s===-1)return;const l=s+1;l>=t.length||n(t[l])},[r,a,t,n]),i=p.useCallback(()=>{if(!r)return;const s=a;if(s===-1)return;const l=s-1;l<0||n(t[l])},[r,a,n,t]);return Yt("left",s=>{i(),s.stopPropagation()},{preventDefault:!0}),Yt("right",s=>{o(),s.stopPropagation()},{preventDefault:!0}),P("div",{className:`-gap-1 flex select-none items-center ${e}`,children:[y("button",{className:"d cursor-pointer rounded-full p-1 text-indigo-500 focus:outline-none dark:text-indigo-300",onClick:i,children:y(GM,{})}),y("span",{className:"text-sm text-black dark:text-white",children:`${a+1} / ${t.length}`}),y("button",{className:"cursor-pointer rounded-full p-1 text-indigo-500 focus:outline-none dark:text-indigo-300",onClick:o,children:y(HM,{})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const EQ=({className:e})=>P("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[y("path",{d:"M699.034 761.907a25.6 25.6 0 01-16.18-45.414C736.973 672.512 768 607.283 768 537.65s-31.027-134.81-85.094-178.841a25.549 25.549 0 1132.307-39.68C781.312 372.89 819.2 452.557 819.2 537.702s-37.888 164.762-103.987 218.573a25.6 25.6 0 01-16.128 5.735z"}),y("path",{d:"M795.904 881.1a25.6 25.6 0 01-16.18-45.414C869.889 762.368 921.6 653.722 921.6 537.651s-51.712-224.717-141.875-298.035a25.549 25.549 0 1132.307-39.68C914.176 283.034 972.8 406.17 972.8 537.702s-58.573 254.67-160.768 337.767a25.6 25.6 0 01-16.128 5.734zm-193.69-238.438a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})]}),CQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})}),TQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M602.214 642.662a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})}),AQ=({className:e})=>y("svg",{className:`prefix__icon ${e}`,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:y("path",{d:"M699.034 761.907a25.6 25.6 0 01-16.18-45.414C736.973 672.512 768 607.283 768 537.65s-31.027-134.81-85.094-178.841a25.549 25.549 0 1132.307-39.68C781.312 372.89 819.2 452.557 819.2 537.702s-37.888 164.762-103.987 218.573a25.6 25.6 0 01-16.128 5.735zm-96.82-119.245a25.6 25.6 0 01-16.179-45.414c18.023-14.694 28.365-36.403 28.365-59.597s-10.342-44.953-28.365-59.597a25.549 25.549 0 1132.307-39.68c30.055 24.423 47.258 60.621 47.258 99.328s-17.254 74.906-47.258 99.328a25.6 25.6 0 01-16.128 5.735zM417.28 164.198c-12.646 0-25.293 5.325-37.683 15.821L169.779 358.35H76.8c-42.342 0-76.8 34.457-76.8 76.8v204.8c0 42.342 34.458 76.8 76.8 76.8h92.98l209.817 178.33c12.339 10.495 25.037 15.82 37.683 15.82a40.755 40.755 0 0034.304-18.534c6.093-9.165 9.216-20.89 9.216-34.816v-640c0-36.864-21.862-53.402-43.52-53.402zM51.2 640V435.2a25.6 25.6 0 0125.6-25.6h76.8v256H76.8A25.6 25.6 0 0151.2 640zm358.4 213.453l-204.8-174.08V395.827l204.8-174.08v631.706z"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const I4=[CQ,TQ,AQ,EQ],QM=({duration:e=500,animated:t=!1,onClick:r,iconClassName:n,className:a})=>{const[o,i]=p.useState(0);p.useEffect(()=>{const l=window.setTimeout(()=>{const u=t&&o{clearTimeout(l)}},[t,o]);const s=I4[o];return y("button",{type:"button",className:`focus:outline-none dark:fill-gray-400 dark:opacity-80 ${a}`,onClick:r,children:y(s,{className:n})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function RQ(e){return e=e[0],e>="一"&&e<="鿏"||e>="豈"&&e<="﫿"||e>="㐀"&&e<="䶿"}function kQ(e){const t=e.toLowerCase(),r=t.split("");for(let o=0;o0;i--){const s=r.slice(a,a+i),l=IQ[s.join("")];if(l!=null){n+=l,a+=s.length;break}if(i==1){n+=s,a+=1;break}}}return n}function OQ(e){return e>="a"&&e<="z"&&!PQ(e)}function PQ(e){return e=="a"||e=="i"||e=="u"||e=="e"||e=="o"}const IQ={a:"あ",i:"い",u:"う",e:"え",o:"お","-":"ー",xa:"ぁ",xi:"ぃ",xu:"ぅ",xe:"ぇ",xo:"ぉ",ka:"か",ki:"き",ku:"く",ke:"け",ko:"こ",ca:"か",cu:"く",co:"こ",ga:"が",gi:"ぎ",gu:"ぐ",ge:"げ",go:"ご",sa:"さ",si:"し",su:"す",se:"せ",so:"そ",za:"ざ",zi:"じ",zu:"ず",ze:"ぜ",zo:"ぞ",ja:"じゃ",ji:"じ",ju:"じゅ",je:"じぇ",jo:"じょ",ta:"た",ti:"ち",tu:"つ",te:"て",to:"と",da:"だ",di:"ぢ",du:"づ",de:"で",do:"ど",na:"な",ni:"に",nu:"ぬ",ne:"ね",no:"の",ha:"は",hi:"ひ",hu:"ふ",he:"へ",ho:"ほ",ba:"ば",bi:"び",bu:"ぶ",be:"べ",bo:"ぼ",pa:"ぱ",pi:"ぴ",pu:"ぷ",pe:"ぺ",po:"ぽ",va:"ヴぁ",vi:"ヴぃ",vu:"ヴ",ve:"ヴぇ",vo:"ヴぉ",fa:"ふぁ",fi:"ふぃ",fu:"ふ",fe:"ふぇ",fo:"ふぉ",ma:"ま",mi:"み",mu:"む",me:"め",mo:"も",ya:"や",yi:"い",yu:"ゆ",ye:"いぇ",yo:"よ",ra:"ら",ri:"り",ru:"る",re:"れ",ro:"ろ",la:"ら",li:"り",lu:"る",le:"れ",lo:"ろ",wa:"わ",wi:"ゐ",wu:"う",we:"ゑ",wo:"を",tsu:"つ",xka:"ヵ",xke:"ヶ",xwa:"ゎ",xtsu:"っ",xya:"ゃ",xyu:"ゅ",xyo:"ょ",kya:"きゃ",kyi:"きぃ",kyu:"きゅ",kye:"きぇ",kyo:"きょ",gya:"ぎゃ",gyi:"ぎぃ",gyu:"ぎゅ",gye:"ぎぇ",gyo:"ぎょ",sya:"しゃ",syi:"しぃ",syu:"しゅ",sye:"しぇ",syo:"しょ",sha:"しゃ",shi:"し",shu:"しゅ",she:"しぇ",sho:"しょ",zya:"じゃ",zyi:"じぃ",zyu:"じゅ",zye:"じぇ",zyo:"じょ",jya:"じゃ",jyi:"じぃ",jyu:"じゅ",jye:"じぇ",jyo:"じょ",tya:"ちゃ",tyi:"ちぃ",tyu:"ちゅ",tye:"ちぇ",tyo:"ちょ",cya:"ちゃ",cyi:"ちぃ",cyu:"ちゅ",cye:"ちぇ",cyo:"ちょ",cha:"ちゃ",chi:"ち",chu:"ちゅ",che:"ちぇ",cho:"ちょ",tha:"てゃ",thi:"てぃ",thu:"てゅ",the:"てぇ",tho:"てょ",dya:"ぢゃ",dyi:"ぢぃ",dyu:"ぢゅ",dye:"ぢぇ",dyo:"ぢょ",dha:"でゃ",dhi:"でぃ",dhu:"でゅ",dhe:"でぇ",dho:"でょ",nya:"にゃ",nyi:"にぃ",nyu:"にゅ",nye:"にぇ",nyo:"にょ",hya:"ひゃ",hyi:"ひぃ",hyu:"ひゅ",hye:"ひぇ",hyo:"ひょ",bya:"びゃ",byi:"びぃ",byu:"びゅ",bye:"びぇ",byo:"びょ",pya:"ぴゃ",pyi:"ぴぃ",pyu:"ぴゅ",pye:"ぴぇ",pyo:"ぴょ",mya:"みゃ",myi:"みぃ",myu:"みゅ",mye:"みぇ",myo:"みょ",rya:"りゃ",ryi:"りぃ",ryu:"りゅ",rye:"りぇ",ryo:"りょ",lya:"りゃ",lyi:"りぃ",lyu:"りゅ",lye:"りぇ",lyo:"りょ",n:"ん",m:"ん","n'":"ん",dzu:"づ"};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function cv(){}function vm(){return vm=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function LQ(e){p.useEffect(e,[])}function uv(e,t){t===void 0&&(t={});var r=t,n=r.volume,a=n===void 0?1:n,o=r.playbackRate,i=o===void 0?1:o,s=r.soundEnabled,l=s===void 0?!0:s,u=r.interrupt,f=u===void 0?!1:u,c=r.onload,d=NQ(r,["id","volume","playbackRate","soundEnabled","interrupt","onload"]),h=Y.useRef(null),g=Y.useRef(!1),m=Y.useState(null),w=m[0],v=m[1],b=Y.useState(null),_=b[0],$=b[1],C=function(){typeof c=="function"&&c.call(this),g.current&&v(this.duration()*1e3),$(this)};LQ(function(){return Je(()=>Promise.resolve().then(()=>zse),void 0,import.meta.url).then(function(O){if(!g.current){var L;h.current=(L=O.Howl)!==null&&L!==void 0?L:O.default.Howl,g.current=!0,new h.current(vm({src:Array.isArray(e)?e:[e],volume:a,rate:i,onload:C},d))}}),function(){g.current=!1}}),Y.useEffect(function(){h.current&&_&&$(new h.current(vm({src:Array.isArray(e)?e:[e],volume:a,onload:C},d)))},[JSON.stringify(e)]),Y.useEffect(function(){_&&(_.volume(a),_.rate(i))},[a,i]);var k=Y.useCallback(function(O){typeof O>"u"&&(O={}),!(!_||!l&&!O.forceSoundEnabled)&&(f&&_.stop(),O.playbackRate&&_.rate(O.playbackRate),_.play(O.id))},[_,l,f]),x=Y.useCallback(function(O){_&&_.stop(O)},[_]),S=Y.useCallback(function(O){_&&_.pause(O)},[_]),A=[k,{sound:_,stop:x,pause:S,duration:w}];return A}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ko="https://dict.youdao.com/dictvoice?audio=";function JM(e,t){switch(t){case"uk":return`${Ko}${e}&type=1`;case"us":return`${Ko}${e}&type=2`;case"romaji":return`${Ko}${kQ(e)}&le=jap`;case"zh":return`${Ko}${e}&le=zh`;case"ja":return`${Ko}${e}&le=jap`;case"de":return`${Ko}${e}&le=de`;case"hapin":case"kk":return`${Ko}${e}&le=ru`;case"id":return`${Ko}${e}&le=id`;default:return""}}function eD(e,t){const r=oe(ko),n=p.useMemo(()=>typeof t=="boolean"?t:r.isLoop,[t,r.isLoop]),[a,o]=p.useState(!1),[i,{stop:s,sound:l}]=uv(JM(e,r.type),{html5:!0,format:["mp3"],loop:n,volume:r.volume,rate:r.rate});return p.useEffect(()=>{if(l)return l.loop(n),cv},[n,l]),p.useEffect(()=>{if(!l)return;const u=[];return u.push(qp(l,"play",()=>o(!0))),u.push(qp(l,"end",()=>o(!1))),u.push(qp(l,"pause",()=>o(!1))),u.push(qp(l,"playerror",()=>o(!1))),()=>{o(!1),u.forEach(f=>f()),l.unload()}},[l]),{play:i,stop:s,isPlaying:a}}function MQ(e){const t=oe(ko);p.useEffect(()=>{if(!e)return;const r=JM(e,t.type);if(r==="")return;const n=document.head;if(!Array.from(n.querySelectorAll("link[href]")).some(o=>o.href===r)){const o=new Audio;return o.src=r,o.preload="auto",o.crossOrigin="anonymous",o.style.display="none",n.appendChild(o),()=>{n.removeChild(o)}}},[t.type,e])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const D0=Y.forwardRef(({word:e,lang:t,className:r,iconClassName:n},a)=>{const o=()=>t==="hapin"?/[\u0400-\u04FF]/.test(e.notation||"")?e.notation||"":e.trans[2]:e.name,{play:i,stop:s,isPlaying:l}=eD(o()),u=p.useCallback(()=>{s(),i()},[i,s]);return p.useEffect(()=>s,[e,s]),p.useImperativeHandle(a,()=>({play:u}),[u]),y(QM,{animated:l,onClick:u,className:`cursor-pointer text-gray-600 ${r}`,iconClassName:n})});D0.displayName="WordPronunciationIcon";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function tD({word:e}){const t=oe(xh),r=oe(_h);return P("div",{className:`space-x-5 text-center text-sm font-normal text-gray-600 transition-colors duration-300 dark:text-gray-400 ${r&&"select-text"}`,children:[t.type==="us"&&e.usphone&&e.usphone.length>1&&y("span",{children:`AmE: [${e.usphone}]`}),t.type==="uk"&&e.ukphone&&e.ukphone.length>1&&y("span",{children:`BrE: [${e.ukphone}]`})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const DQ={true:{normal:"text-gray-400",correct:"text-green-400 dark:text-green-700",wrong:"text-red-400 dark:text-red-600"},false:{normal:"text-gray-600 dark:text-gray-50",correct:"text-green-600 dark:text-green-400",wrong:"text-red-600 dark:text-red-400"}},jQ=({letter:e,state:t="normal",visible:r=!0})=>{const n=oe(xE);return y("span",{className:`m-0 p-0 font-mono font-normal ${DQ[e===C$][t]} pr-0.8 duration-0 dark:text-opacity-80`,style:{fontSize:n.foreignFont.toString()+"px"},children:r?e:"_"})},rD=Y.memo(jQ),FQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:P("g",{fill:"currentColor",children:[y("path",{d:"M12 9a1 1 0 0 1-1-1V3c0-.552.45-1.007.997-.93a7 7 0 0 1 5.933 5.933c.078.547-.378.997-.93.997z"}),y("path",{d:"M8.003 4.07C8.55 3.994 9 4.449 9 5v5a1 1 0 0 0 1 1h5c.552 0 1.008.45.93.997A7.001 7.001 0 0 1 2 11a7 7 0 0 1 6.003-6.93"})]})}),BQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79l-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089z",clipRule:"evenodd"})}),UQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m.75-13a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 0 0 0-1.5h-3.25z",clipRule:"evenodd"})}),zQ=e=>y("svg",{viewBox:"0 0 20 20",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16M8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94z",clipRule:"evenodd"})}),$u=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6L6 18M6 6l12 12"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const VQ=({currentRowDetail:e,allRecords:t})=>{const r=wa(dh),n=Hf[e.dict],{word:a,isLoading:o,hasError:i}=c7(e.word,n),s=p.useRef(null),l=p.useMemo(()=>{const c=((e.records.length>0?e.records.reduce((m,w)=>m+w.totalTime,0)/e.records.length:0)/1e3).toFixed(2),d=e.records.length,h=e.wrongCount,g=d+h;return{time:c,sumCount:g,correctCount:d,wrongCount:h}},[e.records,e.wrongCount]),u=p.useCallback(()=>{r(null)},[r]);return Yt("esc",f=>{u(),f.stopPropagation()},{preventDefault:!0}),Yt("ctrl+j",()=>{var f;(f=s.current)==null||f.play()},[],{enableOnFormTags:!0,preventDefault:!0}),P("div",{className:"absolute inset-0 flex flex-col items-center justify-center ",children:[P("div",{className:"my-card relative z-10 flex h-[32rem] min-w-[26rem] select-text flex-col items-center justify-around rounded-2xl bg-white px-3 py-10 dark:bg-gray-900",children:[y($u,{className:"absolute right-3 top-3 h-6 w-6 cursor-pointer text-gray-400",onClick:u}),P("div",{className:"flex flex-col items-center justify-start",children:[y("div",{children:e.word.split("").map((f,c)=>y(rD,{letter:f,visible:!0,state:"normal"},`${c}-${f}`))}),P("div",{className:"relative flex h-8 items-center",children:[a?y(tD,{word:a}):y(__,{isLoading:o,hasError:i}),a&&y(D0,{lang:n.language,word:a,className:"absolute -right-7 top-1/2 h-5 w-5 -translate-y-1/2 transform ",ref:s})]}),y("div",{className:"flex max-w-[24rem] items-center",children:y("span",{className:"max-w-4xl text-center font-sans transition-colors duration-300 dark:text-white dark:text-opacity-80",children:a?a.trans.join(";"):y(__,{isLoading:o,hasError:i})})})]}),P("div",{className:"item flex flex-col gap-4",children:[P("div",{className:"flex gap-6",children:[y(Yp,{icon:UQ,name:"平均用时",data:l.time}),y(Yp,{icon:FQ,name:"练习次数",data:l.sumCount})]}),P("div",{className:"flex gap-6",children:[y(Yp,{icon:BQ,name:"正确次数",data:l.correctCount}),y(Yp,{icon:zQ,name:"错误次数",data:l.wrongCount})]})]}),y(SQ,{className:"absolute bottom-6 mt-10",allRecords:t})]}),y("div",{className:"absolute inset-0 z-0 cursor-pointer bg-transparent",onClick:u})]})},WQ=p.createContext(void 0);function HQ(e){const t=p.useContext(WQ);return e||t||"ltr"}function GQ(e,[t,r]){return Math.min(r,Math.max(t,e))}function KQ(e,t){return p.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const nD="ScrollArea",[aD,Vje]=f0(nD),[qQ,Ln]=aD(nD),YQ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,l]=p.useState(null),[u,f]=p.useState(null),[c,d]=p.useState(null),[h,g]=p.useState(null),[m,w]=p.useState(null),[v,b]=p.useState(0),[_,$]=p.useState(0),[C,k]=p.useState(!1),[x,S]=p.useState(!1),A=In(t,L=>l(L)),O=HQ(a);return p.createElement(qQ,{scope:r,type:n,dir:O,scrollHideDelay:o,scrollArea:s,viewport:u,onViewportChange:f,content:c,onContentChange:d,scrollbarX:h,onScrollbarXChange:g,scrollbarXEnabled:C,onScrollbarXEnabledChange:k,scrollbarY:m,onScrollbarYChange:w,scrollbarYEnabled:x,onScrollbarYEnabledChange:S,onCornerWidthChange:b,onCornerHeightChange:$},p.createElement(un.div,te({dir:O},i,{ref:A,style:{position:"relative",["--radix-scroll-area-corner-width"]:v+"px",["--radix-scroll-area-corner-height"]:_+"px",...e.style}})))}),XQ="ScrollAreaViewport",ZQ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,...a}=e,o=Ln(XQ,r),i=p.useRef(null),s=In(t,i,o.onViewportChange);return p.createElement(p.Fragment,null,p.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),p.createElement(un.div,te({"data-radix-scroll-area-viewport":""},a,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),p.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),Po="ScrollAreaScrollbar",QQ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(Po,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return p.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?p.createElement(JQ,te({},n,{ref:t,forceMount:r})):a.type==="scroll"?p.createElement(eJ,te({},n,{ref:t,forceMount:r})):a.type==="auto"?p.createElement(oD,te({},n,{ref:t,forceMount:r})):a.type==="always"?p.createElement(WE,te({},n,{ref:t})):null}),JQ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(Po,e.__scopeScrollArea),[o,i]=p.useState(!1);return p.useEffect(()=>{const s=a.scrollArea;let l=0;if(s){const u=()=>{window.clearTimeout(l),i(!0)},f=()=>{l=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),p.createElement(vu,{present:r||o},p.createElement(oD,te({"data-state":o?"visible":"hidden"},n,{ref:t})))}),eJ=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Ln(Po,e.__scopeScrollArea),o=e.orientation==="horizontal",i=F0(()=>l("SCROLL_END"),100),[s,l]=KQ("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(s==="idle"){const u=window.setTimeout(()=>l("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(u)}},[s,a.scrollHideDelay,l]),p.useEffect(()=>{const u=a.viewport,f=o?"scrollLeft":"scrollTop";if(u){let c=u[f];const d=()=>{const h=u[f];c!==h&&(l("SCROLL"),i()),c=h};return u.addEventListener("scroll",d),()=>u.removeEventListener("scroll",d)}},[a.viewport,o,l,i]),p.createElement(vu,{present:r||s!=="hidden"},p.createElement(WE,te({"data-state":s==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:or(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:or(e.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),oD=p.forwardRef((e,t)=>{const r=Ln(Po,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=p.useState(!1),s=e.orientation==="horizontal",l=F0(()=>{if(r.viewport){const u=r.viewport.offsetWidth{const{orientation:r="vertical",...n}=e,a=Ln(Po,e.__scopeScrollArea),o=p.useRef(null),i=p.useRef(0),[s,l]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=cD(s.viewport,s.content),f={...n,sizes:s,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:d=>o.current=d,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:d=>i.current=d};function c(d,h){return sJ(d,i.current,s,h)}return r==="horizontal"?p.createElement(tJ,te({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const d=a.viewport.scrollLeft,h=N4(d,s,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},onWheelScroll:d=>{a.viewport&&(a.viewport.scrollLeft=d)},onDragScroll:d=>{a.viewport&&(a.viewport.scrollLeft=c(d,a.dir))}})):r==="vertical"?p.createElement(rJ,te({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const d=a.viewport.scrollTop,h=N4(d,s);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},onWheelScroll:d=>{a.viewport&&(a.viewport.scrollTop=d)},onDragScroll:d=>{a.viewport&&(a.viewport.scrollTop=c(d))}})):null}),tJ=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Ln(Po,e.__scopeScrollArea),[i,s]=p.useState(),l=p.useRef(null),u=In(t,l,o.onScrollbarXChange);return p.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),p.createElement(sD,te({"data-orientation":"horizontal"},a,{ref:u,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,["--radix-scroll-area-thumb-width"]:j0(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,c)=>{if(o.viewport){const d=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(d),dD(d,c)&&f.preventDefault()}},onResize:()=>{l.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:mm(i.paddingLeft),paddingEnd:mm(i.paddingRight)}})}}))}),rJ=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Ln(Po,e.__scopeScrollArea),[i,s]=p.useState(),l=p.useRef(null),u=In(t,l,o.onScrollbarYChange);return p.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),p.createElement(sD,te({"data-orientation":"vertical"},a,{ref:u,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)",["--radix-scroll-area-thumb-height"]:j0(r)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,c)=>{if(o.viewport){const d=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(d),dD(d,c)&&f.preventDefault()}},onResize:()=>{l.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:mm(i.paddingTop),paddingEnd:mm(i.paddingBottom)}})}}))}),[nJ,iD]=aD(Po),sD=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:f,onResize:c,...d}=e,h=Ln(Po,r),[g,m]=p.useState(null),w=In(t,A=>m(A)),v=p.useRef(null),b=p.useRef(""),_=h.viewport,$=n.content-n.viewport,C=kr(f),k=kr(l),x=F0(c,10);function S(A){if(v.current){const O=A.clientX-v.current.left,L=A.clientY-v.current.top;u({x:O,y:L})}}return p.useEffect(()=>{const A=O=>{const L=O.target;(g==null?void 0:g.contains(L))&&C(O,$)};return document.addEventListener("wheel",A,{passive:!1}),()=>document.removeEventListener("wheel",A,{passive:!1})},[_,g,$,C]),p.useEffect(k,[n,k]),Yc(g,x),Yc(h.content,x),p.createElement(nJ,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:kr(o),onThumbPointerUp:kr(i),onThumbPositionChange:k,onThumbPointerDown:kr(s)},p.createElement(un.div,te({},d,{ref:w,style:{position:"absolute",...d.style},onPointerDown:or(e.onPointerDown,A=>{A.button===0&&(A.target.setPointerCapture(A.pointerId),v.current=g.getBoundingClientRect(),b.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),S(A))}),onPointerMove:or(e.onPointerMove,S),onPointerUp:or(e.onPointerUp,A=>{const O=A.target;O.hasPointerCapture(A.pointerId)&&O.releasePointerCapture(A.pointerId),document.body.style.webkitUserSelect=b.current,h.viewport&&(h.viewport.style.scrollBehavior=""),v.current=null})})))}),a2="ScrollAreaThumb",Wje=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=iD(a2,e.__scopeScrollArea);return p.createElement(vu,{present:r||a.hasThumb},p.createElement(aJ,te({ref:t},n)))}),aJ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=Ln(a2,r),i=iD(a2,r),{onThumbPositionChange:s}=i,l=In(t,c=>i.onThumbChange(c)),u=p.useRef(),f=F0(()=>{u.current&&(u.current(),u.current=void 0)},100);return p.useEffect(()=>{const c=o.viewport;if(c){const d=()=>{if(f(),!u.current){const h=lJ(c,s);u.current=h,s()}};return s(),c.addEventListener("scroll",d),()=>c.removeEventListener("scroll",d)}},[o.viewport,f,s]),p.createElement(un.div,te({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:or(e.onPointerDownCapture,c=>{const h=c.target.getBoundingClientRect(),g=c.clientX-h.left,m=c.clientY-h.top;i.onThumbPointerDown({x:g,y:m})}),onPointerUp:or(e.onPointerUp,i.onThumbPointerUp)}))}),lD="ScrollAreaCorner",oJ=p.forwardRef((e,t)=>{const r=Ln(lD,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?p.createElement(iJ,te({},e,{ref:t})):null}),iJ=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=Ln(lD,r),[o,i]=p.useState(0),[s,l]=p.useState(0),u=!!(o&&s);return Yc(a.scrollbarX,()=>{var f;const c=((f=a.scrollbarX)===null||f===void 0?void 0:f.offsetHeight)||0;a.onCornerHeightChange(c),l(c)}),Yc(a.scrollbarY,()=>{var f;const c=((f=a.scrollbarY)===null||f===void 0?void 0:f.offsetWidth)||0;a.onCornerWidthChange(c),i(c)}),u?p.createElement(un.div,te({},n,{ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function mm(e){return e?parseInt(e,10):0}function cD(e,t){const r=e/t;return isNaN(r)?0:r}function j0(e){const t=cD(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function sJ(e,t,r,n="ltr"){const a=j0(r),o=a/2,i=t||o,s=a-i,l=r.scrollbar.paddingStart+i,u=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,c=n==="ltr"?[0,f]:[f*-1,0];return uD([l,u],c)(e)}function N4(e,t,r="ltr"){const n=j0(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,l=r==="ltr"?[0,i]:[i*-1,0],u=GQ(e,l);return uD([0,i],[0,s])(u)}function uD(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function dD(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function F0(e,t){const r=kr(e),n=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(n.current),[]),p.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Yc(e,t){const r=kr(t);vo(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}const xu=YQ,Su=ZQ,Eu=QQ,Hje=oJ;/** * @remix-run/router v1.6.2 * * Copyright (c) Remix Software Inc. @@ -70,7 +70,7 @@ From previous: `);return this._state!==null&&(this._stack=e),e}finally{N$=!1}}}, * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Gf(){return Gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function HE(e,t){if(!e)try{throw new Error(t)}catch{}}function cJ(){return Math.random().toString(36).substr(2,8)}function M4(e,t){return{usr:e.state,key:e.key,idx:t}}function o2(e,t,r,n){return r===void 0&&(r=null),Gf({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Eu(t):t,{state:r,key:t&&t.key||n||cJ()})}function ym(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Eu(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function uJ(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,s=hi.Pop,l=null,u=f();u==null&&(u=0,i.replaceState(Gf({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function c(){s=hi.Pop;let w=f(),v=w==null?null:w-u;u=w,l&&l({action:s,location:m.location,delta:v})}function d(w,v){s=hi.Push;let b=o2(m.location,w,v);r&&r(b,w),u=f()+1;let _=M4(b,u),$=m.createHref(b);try{i.pushState(_,"",$)}catch{a.location.assign($)}o&&l&&l({action:s,location:m.location,delta:1})}function h(w,v){s=hi.Replace;let b=o2(m.location,w,v);r&&r(b,w),u=f();let _=M4(b,u),$=m.createHref(b);i.replaceState(_,"",$),o&&l&&l({action:s,location:m.location,delta:0})}function g(w){let v=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof w=="string"?w:ym(w);return St(v,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,v)}let m={get action(){return s},get location(){return e(a,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(L4,c),l=w,()=>{a.removeEventListener(L4,c),l=null}},createHref(w){return t(a,w)},createURL:g,encodeLocation(w){let v=g(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:d,replace:h,go(w){return i.go(w)}};return m}var D4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(D4||(D4={}));function dJ(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Eu(t):t,a=GE(n.pathname||"/",r);if(a==null)return null;let o=fD(e);fJ(o);let i=null;for(let s=0;i==null&&s{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(St(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=Ei([n,l.relativePath]),f=r.concat(l);o.children&&o.children.length>0&&(St(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),fD(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:bJ(u,o.index),routesMeta:f})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let l of hD(o.path))a(o,i,l)}),t}function hD(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=hD(n.join("/")),s=[];return s.push(...i.map(l=>l===""?o:[o,l].join("/"))),a&&s.push(...i),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function fJ(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:wJ(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const hJ=/^:\w+$/,pJ=3,gJ=2,vJ=1,mJ=10,yJ=-2,j4=e=>e==="*";function bJ(e,t){let r=e.split("/"),n=r.length;return r.some(j4)&&(n+=yJ),t&&(n+=gJ),r.filter(a=>!j4(a)).reduce((a,o)=>a+(hJ.test(o)?pJ:o===""?vJ:mJ),n)}function wJ(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function _J(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i{if(f==="*"){let d=s[c]||"";i=o.slice(0,o.length-d.length).replace(/(.)\/+$/,"$1")}return u[f]=EJ(s[c]||"",f),u},{}),pathname:o,pathnameBase:i,pattern:e}}function xJ(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),HE(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function SJ(e){try{return decodeURI(e)}catch(t){return HE(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function EJ(e,t){try{return decodeURIComponent(e)}catch(r){return HE(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function GE(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function CJ(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Eu(e):e;return{pathname:r?r.startsWith("/")?r:TJ(r,t):t,search:RJ(n),hash:OJ(a)}}function TJ(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Z1(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function KE(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function qE(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Eu(e):(a=Gf({},e),St(!a.pathname||!a.pathname.includes("?"),Z1("?","pathname","search",a)),St(!a.pathname||!a.pathname.includes("#"),Z1("#","pathname","hash",a)),St(!a.search||!a.search.includes("#"),Z1("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(n||i==null)s=r;else{let c=t.length-1;if(i.startsWith("..")){let d=i.split("/");for(;d[0]==="..";)d.shift(),c-=1;a.pathname=d.join("/")}s=c>=0?t[c]:"/"}let l=CJ(a,s),u=i&&i!=="/"&&i.endsWith("/"),f=(o||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Ei=e=>e.join("/").replace(/\/\/+/g,"/"),AJ=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),RJ=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,OJ=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function kJ(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const pD=["post","put","patch","delete"];new Set(pD);const PJ=["get",...pD];new Set(PJ);/** + */function Gf(){return Gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function HE(e,t){if(!e)try{throw new Error(t)}catch{}}function uJ(){return Math.random().toString(36).substr(2,8)}function M4(e,t){return{usr:e.state,key:e.key,idx:t}}function o2(e,t,r,n){return r===void 0&&(r=null),Gf({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cu(t):t,{state:r,key:t&&t.key||n||uJ()})}function ym(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Cu(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function dJ(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,s=hi.Pop,l=null,u=f();u==null&&(u=0,i.replaceState(Gf({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function c(){s=hi.Pop;let w=f(),v=w==null?null:w-u;u=w,l&&l({action:s,location:m.location,delta:v})}function d(w,v){s=hi.Push;let b=o2(m.location,w,v);r&&r(b,w),u=f()+1;let _=M4(b,u),$=m.createHref(b);try{i.pushState(_,"",$)}catch{a.location.assign($)}o&&l&&l({action:s,location:m.location,delta:1})}function h(w,v){s=hi.Replace;let b=o2(m.location,w,v);r&&r(b,w),u=f();let _=M4(b,u),$=m.createHref(b);i.replaceState(_,"",$),o&&l&&l({action:s,location:m.location,delta:0})}function g(w){let v=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof w=="string"?w:ym(w);return St(v,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,v)}let m={get action(){return s},get location(){return e(a,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(L4,c),l=w,()=>{a.removeEventListener(L4,c),l=null}},createHref(w){return t(a,w)},createURL:g,encodeLocation(w){let v=g(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:d,replace:h,go(w){return i.go(w)}};return m}var D4;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(D4||(D4={}));function fJ(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Cu(t):t,a=GE(n.pathname||"/",r);if(a==null)return null;let o=fD(e);hJ(o);let i=null;for(let s=0;i==null&&s{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(St(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=Ei([n,l.relativePath]),f=r.concat(l);o.children&&o.children.length>0&&(St(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),fD(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:wJ(u,o.index),routesMeta:f})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let l of hD(o.path))a(o,i,l)}),t}function hD(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=hD(n.join("/")),s=[];return s.push(...i.map(l=>l===""?o:[o,l].join("/"))),a&&s.push(...i),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function hJ(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_J(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const pJ=/^:\w+$/,gJ=3,vJ=2,mJ=1,yJ=10,bJ=-2,j4=e=>e==="*";function wJ(e,t){let r=e.split("/"),n=r.length;return r.some(j4)&&(n+=bJ),t&&(n+=vJ),r.filter(a=>!j4(a)).reduce((a,o)=>a+(pJ.test(o)?gJ:o===""?mJ:yJ),n)}function _J(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function $J(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i{if(f==="*"){let d=s[c]||"";i=o.slice(0,o.length-d.length).replace(/(.)\/+$/,"$1")}return u[f]=CJ(s[c]||"",f),u},{}),pathname:o,pathnameBase:i,pattern:e}}function SJ(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),HE(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function EJ(e){try{return decodeURI(e)}catch(t){return HE(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function CJ(e,t){try{return decodeURIComponent(e)}catch(r){return HE(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function GE(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function TJ(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Cu(e):e;return{pathname:r?r.startsWith("/")?r:AJ(r,t):t,search:kJ(n),hash:OJ(a)}}function AJ(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Z1(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function KE(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function qE(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Cu(e):(a=Gf({},e),St(!a.pathname||!a.pathname.includes("?"),Z1("?","pathname","search",a)),St(!a.pathname||!a.pathname.includes("#"),Z1("#","pathname","hash",a)),St(!a.search||!a.search.includes("#"),Z1("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(n||i==null)s=r;else{let c=t.length-1;if(i.startsWith("..")){let d=i.split("/");for(;d[0]==="..";)d.shift(),c-=1;a.pathname=d.join("/")}s=c>=0?t[c]:"/"}let l=TJ(a,s),u=i&&i!=="/"&&i.endsWith("/"),f=(o||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Ei=e=>e.join("/").replace(/\/\/+/g,"/"),RJ=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),kJ=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,OJ=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function PJ(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const pD=["post","put","patch","delete"];new Set(pD);const IJ=["get",...pD];new Set(IJ);/** * React Router v6.11.2 * * Copyright (c) Remix Software Inc. @@ -79,7 +79,7 @@ From previous: `);return this._state!==null&&(this._stack=e),e}finally{N$=!1}}}, * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function bm(){return bm=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),i=p.useRef(!1);return mD(()=>{i.current=!0}),p.useCallback(function(l,u){if(u===void 0&&(u={}),!i.current)return;if(typeof l=="number"){r.go(l);return}let f=qE(l,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ei([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,o,a,e])}function XE(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=p.useContext(ts),{pathname:a}=Tu(),o=JSON.stringify(KE(n).map(i=>i.pathnameBase));return p.useMemo(()=>qE(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function LJ(e,t){return MJ(e,t)}function MJ(e,t,r){Cu()||St(!1);let{navigator:n}=p.useContext(gl),{matches:a}=p.useContext(ts),o=a[a.length-1],i=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=Tu(),u;if(t){var f;let m=typeof t=="string"?Eu(t):t;s==="/"||(f=m.pathname)!=null&&f.startsWith(s)||St(!1),u=m}else u=l;let c=u.pathname||"/",d=s==="/"?c:c.slice(s.length)||"/",h=dJ(e,{pathname:d}),g=UJ(h&&h.map(m=>Object.assign({},m,{params:Object.assign({},i,m.params),pathname:Ei([s,n.encodeLocation?n.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?s:Ei([s,n.encodeLocation?n.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),a,r);return t&&g?p.createElement(B0.Provider,{value:{location:bm({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:hi.Pop}},g):g}function DJ(){let e=HJ(),t=kJ(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:a},r):null,o)}const jJ=p.createElement(DJ,null);class FJ extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){}render(){return this.state.error?p.createElement(ts.Provider,{value:this.props.routeContext},p.createElement(vD.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BJ(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(YE);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(ts.Provider,{value:t},n)}function UJ(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let s=o.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));s>=0||St(!1),o=o.slice(0,Math.min(o.length,s+1))}return o.reduceRight((s,l,u)=>{let f=l.route.id?i==null?void 0:i[l.route.id]:null,c=null;r&&(c=l.route.errorElement||jJ);let d=t.concat(o.slice(0,u+1)),h=()=>{let g;return f?g=c:l.route.Component?g=p.createElement(l.route.Component,null):l.route.element?g=l.route.element:g=s,p.createElement(BJ,{match:l,routeContext:{outlet:s,matches:d,isDataRoute:r!=null},children:g})};return r&&(l.route.ErrorBoundary||l.route.errorElement||u===0)?p.createElement(FJ,{location:r.location,revalidation:r.revalidation,component:c,error:f,children:h(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):h()},null)}var i2;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(i2||(i2={}));var Kf;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Kf||(Kf={}));function zJ(e){let t=p.useContext(YE);return t||St(!1),t}function VJ(e){let t=p.useContext(gD);return t||St(!1),t}function WJ(e){let t=p.useContext(ts);return t||St(!1),t}function yD(e){let t=WJ(),r=t.matches[t.matches.length-1];return r.route.id||St(!1),r.route.id}function HJ(){var e;let t=p.useContext(vD),r=VJ(Kf.UseRouteError),n=yD(Kf.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function GJ(){let{router:e}=zJ(i2.UseNavigateStable),t=yD(Kf.UseNavigateStable),r=p.useRef(!1);return mD(()=>{r.current=!0}),p.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,bm({fromRouteId:t},o)))},[e,t])}function F4(e){let{to:t,replace:r,state:n,relative:a}=e;Cu()||St(!1);let{matches:o}=p.useContext(ts),{pathname:i}=Tu(),s=Au(),l=qE(t,KE(o).map(f=>f.pathnameBase),i,a==="path"),u=JSON.stringify(l);return p.useEffect(()=>s(JSON.parse(u),{replace:r,state:n,relative:a}),[s,u,a,r,n]),null}function Qo(e){St(!1)}function KJ(e){let{basename:t="/",children:r=null,location:n,navigationType:a=hi.Pop,navigator:o,static:i=!1}=e;Cu()&&St(!1);let s=t.replace(/^\/*/,"/"),l=p.useMemo(()=>({basename:s,navigator:o,static:i}),[s,o,i]);typeof n=="string"&&(n=Eu(n));let{pathname:u="/",search:f="",hash:c="",state:d=null,key:h="default"}=n,g=p.useMemo(()=>{let m=GE(u,s);return m==null?null:{location:{pathname:m,search:f,hash:c,state:d,key:h},navigationType:a}},[s,u,f,c,d,h,a]);return g==null?null:p.createElement(gl.Provider,{value:l},p.createElement(B0.Provider,{children:r,value:g}))}function qJ(e){let{children:t,location:r}=e;return LJ(s2(t),r)}var B4;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(B4||(B4={}));new Promise(()=>{});function s2(e,t){t===void 0&&(t=[]);let r=[];return p.Children.forEach(e,(n,a)=>{if(!p.isValidElement(n))return;let o=[...t,a];if(n.type===p.Fragment){r.push.apply(r,s2(n.props.children,o));return}n.type!==Qo&&St(!1),!n.props.index||!n.props.children||St(!1);let i={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=s2(n.props.children,o)),r.push(i)}),r}/** + */function bm(){return bm=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.pathnameBase)),i=p.useRef(!1);return mD(()=>{i.current=!0}),p.useCallback(function(l,u){if(u===void 0&&(u={}),!i.current)return;if(typeof l=="number"){r.go(l);return}let f=qE(l,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ei([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,o,a,e])}function XE(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=p.useContext(ts),{pathname:a}=Au(),o=JSON.stringify(KE(n).map(i=>i.pathnameBase));return p.useMemo(()=>qE(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function MJ(e,t){return DJ(e,t)}function DJ(e,t,r){Tu()||St(!1);let{navigator:n}=p.useContext(gl),{matches:a}=p.useContext(ts),o=a[a.length-1],i=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=Au(),u;if(t){var f;let m=typeof t=="string"?Cu(t):t;s==="/"||(f=m.pathname)!=null&&f.startsWith(s)||St(!1),u=m}else u=l;let c=u.pathname||"/",d=s==="/"?c:c.slice(s.length)||"/",h=fJ(e,{pathname:d}),g=zJ(h&&h.map(m=>Object.assign({},m,{params:Object.assign({},i,m.params),pathname:Ei([s,n.encodeLocation?n.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?s:Ei([s,n.encodeLocation?n.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),a,r);return t&&g?p.createElement(B0.Provider,{value:{location:bm({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:hi.Pop}},g):g}function jJ(){let e=GJ(),t=PJ(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:a},r):null,o)}const FJ=p.createElement(jJ,null);class BJ extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){}render(){return this.state.error?p.createElement(ts.Provider,{value:this.props.routeContext},p.createElement(vD.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function UJ(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(YE);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(ts.Provider,{value:t},n)}function zJ(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let s=o.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));s>=0||St(!1),o=o.slice(0,Math.min(o.length,s+1))}return o.reduceRight((s,l,u)=>{let f=l.route.id?i==null?void 0:i[l.route.id]:null,c=null;r&&(c=l.route.errorElement||FJ);let d=t.concat(o.slice(0,u+1)),h=()=>{let g;return f?g=c:l.route.Component?g=p.createElement(l.route.Component,null):l.route.element?g=l.route.element:g=s,p.createElement(UJ,{match:l,routeContext:{outlet:s,matches:d,isDataRoute:r!=null},children:g})};return r&&(l.route.ErrorBoundary||l.route.errorElement||u===0)?p.createElement(BJ,{location:r.location,revalidation:r.revalidation,component:c,error:f,children:h(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):h()},null)}var i2;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(i2||(i2={}));var Kf;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Kf||(Kf={}));function VJ(e){let t=p.useContext(YE);return t||St(!1),t}function WJ(e){let t=p.useContext(gD);return t||St(!1),t}function HJ(e){let t=p.useContext(ts);return t||St(!1),t}function yD(e){let t=HJ(),r=t.matches[t.matches.length-1];return r.route.id||St(!1),r.route.id}function GJ(){var e;let t=p.useContext(vD),r=WJ(Kf.UseRouteError),n=yD(Kf.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function KJ(){let{router:e}=VJ(i2.UseNavigateStable),t=yD(Kf.UseNavigateStable),r=p.useRef(!1);return mD(()=>{r.current=!0}),p.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,bm({fromRouteId:t},o)))},[e,t])}function F4(e){let{to:t,replace:r,state:n,relative:a}=e;Tu()||St(!1);let{matches:o}=p.useContext(ts),{pathname:i}=Au(),s=vl(),l=qE(t,KE(o).map(f=>f.pathnameBase),i,a==="path"),u=JSON.stringify(l);return p.useEffect(()=>s(JSON.parse(u),{replace:r,state:n,relative:a}),[s,u,a,r,n]),null}function za(e){St(!1)}function qJ(e){let{basename:t="/",children:r=null,location:n,navigationType:a=hi.Pop,navigator:o,static:i=!1}=e;Tu()&&St(!1);let s=t.replace(/^\/*/,"/"),l=p.useMemo(()=>({basename:s,navigator:o,static:i}),[s,o,i]);typeof n=="string"&&(n=Cu(n));let{pathname:u="/",search:f="",hash:c="",state:d=null,key:h="default"}=n,g=p.useMemo(()=>{let m=GE(u,s);return m==null?null:{location:{pathname:m,search:f,hash:c,state:d,key:h},navigationType:a}},[s,u,f,c,d,h,a]);return g==null?null:p.createElement(gl.Provider,{value:l},p.createElement(B0.Provider,{children:r,value:g}))}function YJ(e){let{children:t,location:r}=e;return MJ(s2(t),r)}var B4;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(B4||(B4={}));new Promise(()=>{});function s2(e,t){t===void 0&&(t=[]);let r=[];return p.Children.forEach(e,(n,a)=>{if(!p.isValidElement(n))return;let o=[...t,a];if(n.type===p.Fragment){r.push.apply(r,s2(n.props.children,o));return}n.type!==za&&St(!1),!n.props.index||!n.props.children||St(!1);let i={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=s2(n.props.children,o)),r.push(i)}),r}/** * React Router DOM v6.11.2 * * Copyright (c) Remix Software Inc. @@ -88,32 +88,32 @@ From previous: `);return this._state!==null&&(this._stack=e),e}finally{N$=!1}}}, * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function wm(){return wm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function YJ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function XJ(e,t){return e.button===0&&(!t||t==="_self")&&!YJ(e)}const ZJ=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],QJ=["aria-current","caseSensitive","className","end","style","to","children"];function JJ(e){let{basename:t,children:r,window:n}=e,a=p.useRef();a.current==null&&(a.current=lJ({window:n,v5Compat:!0}));let o=a.current,[i,s]=p.useState({action:o.action,location:o.location});return p.useLayoutEffect(()=>o.listen(s),[o]),p.createElement(KJ,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:o})}const eee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ree=p.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:s,target:l,to:u,preventScrollReset:f}=t,c=bD(t,ZJ),{basename:d}=p.useContext(gl),h,g=!1;if(typeof u=="string"&&tee.test(u)&&(h=u,eee))try{let b=new URL(window.location.href),_=u.startsWith("//")?new URL(b.protocol+u):new URL(u),$=GE(_.pathname,d);_.origin===b.origin&&$!=null?u=$+_.search+_.hash:g=!0}catch{}let m=IJ(u,{relative:a}),w=nee(u,{replace:i,state:s,target:l,preventScrollReset:f,relative:a});function v(b){n&&n(b),b.defaultPrevented||w(b)}return p.createElement("a",wm({},c,{href:h||m,onClick:g||o?n:v,ref:r,target:l}))}),wD=p.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:s,to:l,children:u}=t,f=bD(t,QJ),c=XE(l,{relative:f.relative}),d=Tu(),h=p.useContext(gD),{navigator:g}=p.useContext(gl),m=g.encodeLocation?g.encodeLocation(c).pathname:c.pathname,w=d.pathname,v=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;a||(w=w.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase());let b=w===m||!i&&w.startsWith(m)&&w.charAt(m.length)==="/",_=v!=null&&(v===m||!i&&v.startsWith(m)&&v.charAt(m.length)==="/"),$=b?n:void 0,C;typeof o=="function"?C=o({isActive:b,isPending:_}):C=[o,b?"active":null,_?"pending":null].filter(Boolean).join(" ");let O=typeof s=="function"?s({isActive:b,isPending:_}):s;return p.createElement(ree,wm({},f,{"aria-current":$,className:C,ref:r,style:O,to:l}),typeof u=="function"?u({isActive:b,isPending:_}):u)});var U4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(U4||(U4={}));var z4;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(z4||(z4={}));function nee(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i}=t===void 0?{}:t,s=Au(),l=Tu(),u=XE(e,{relative:i});return p.useCallback(f=>{if(XJ(f,r)){f.preventDefault();let c=n!==void 0?n:ym(l)===ym(u);s(e,{replace:c,state:a,preventScrollReset:o,relative:i})}},[l,s,u,n,a,r,e,o,i])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function aee(){const[e,t]=p.useState([]),[r,n]=p.useState(1),a=p.useMemo(()=>Math.ceil(e.length/q1),[e.length]),[o,i]=p.useState("asc"),s=Au(),l=oe(dh),{deleteWordRecord:u}=JX(),[f,c]=p.useState(!1),d=p.useCallback(()=>{s("/")},[s]),h=p.useCallback(b=>{b<1||b>a||n(b)},[a]),g=p.useCallback(b=>{i(b),h(1)},[h]),m=p.useMemo(()=>o==="none"?e:[...e].sort((b,_)=>o==="asc"?b.wrongCount-_.wrongCount:_.wrongCount-b.wrongCount),[e,o]),w=p.useMemo(()=>{const b=(r-1)*q1,_=b+q1;return m.slice(b,_)},[r,m]);p.useEffect(()=>{kt.wordRecords.where("wrongCount").above(0).toArray().then(b=>{const _=[];b.forEach($=>{let C=_.find(O=>O.word===$.word&&O.dict===$.dict);C||(C={word:$.word,dict:$.dict,records:[],wrongCount:0},_.push(C)),C.records.push($)}),_.forEach($=>{$.wrongCount=$.records.reduce((C,O)=>(C+=O.wrongCount,C),0)}),t(_)})},[f]);const v=async(b,_)=>{await u(b,_),c($=>!$)};return I(Ne,{children:[I("div",{className:`relative flex h-screen w-full flex-col items-center pb-4 ease-in ${l&&"blur-sm"}`,children:[I("div",{className:"mr-8 mt-4 flex w-auto items-center justify-center self-end",children:[y("h1",{className:"font-lighter mr-4 w-auto self-end text-gray-500 opacity-70",children:"Tip: 点击错误单词查看详细信息 "}),y(_u,{className:"h-7 w-7 cursor-pointer text-gray-400",onClick:d})]}),y("div",{className:"flex w-full flex-1 select-text items-start justify-center overflow-hidden",children:I("div",{className:"flex h-full w-5/6 flex-col pt-10",children:[I("div",{className:"flex w-full justify-between rounded-lg bg-white px-6 py-5 text-lg text-black shadow-lg dark:bg-gray-800 dark:text-white",children:[y("span",{className:"basis-2/12",children:"单词"}),y("span",{className:"basis-6/12",children:"释义"}),y(sQ,{className:"basis-1/12",sortType:o,setSortType:g}),y("span",{className:"basis-1/12",children:"词典"}),y("span",{className:"basis-1/12",children:" "})]}),I($u,{className:"flex-1 overflow-y-auto pt-5",children:[y(xu,{className:"h-full ",children:y("div",{className:"flex flex-col gap-3",children:w.map(b=>y(nQ,{record:b,onDelete:()=>v(b.word,b.dict)},`${b.dict}-${b.word}`))})}),y(Su,{className:"flex touch-none select-none bg-transparent",orientation:"vertical"})]})]})}),y(lQ,{className:"pt-3",page:r,setPage:h,totalPages:a})]}),l&&y(zQ,{currentRowDetail:l,allRecords:m})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const oee=()=>{const e={animation:"move 3s linear infinite both"};return y("div",{className:"h-[15rem] w-full",children:I("svg",{className:"h-full w-full rotate-180 transform blur-[2px]",viewBox:"0 24 150 24",preserveAspectRatio:"none",children:[y("defs",{children:y("path",{id:"wave",d:"M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v60h-352z"})}),I("g",{children:[y("use",{className:"wave",xlinkHref:"#wave",fill:"#ced2fc",x:"50",y:"0",style:{...e,animationDelay:"-2s",animationDuration:"12s"}}),y("use",{className:"wave",xlinkHref:"#wave",fill:"#a8b0f6",x:"50",y:"2",style:{...e,animationDelay:"-4s",animationDuration:"9s"}}),y("use",{className:"wave",xlinkHref:"#wave",fill:"#818cf8",x:"50",y:"4",style:{...e,animationDelay:"-6s",animationDuration:"6s"}})]}),y("style",{children:` - @keyframes move { - from { transform: translate(85px, 0%); } - to { transform: translate(-90px, 0%); } - } - `})]})})},_D=""+new URL("logo-95f41da4.svg",import.meta.url).href,iee=""+new URL("directory-42bc1e6c.png",import.meta.url).href,V4=""+new URL("hot-cf96b79f.png",import.meta.url).href,see=""+new URL("index-e4f20cec.png",import.meta.url).href,lee=""+new URL("code-a6f32855.png",import.meta.url).href,cee=""+new URL("dictation-1fae9c6e.png",import.meta.url).href,uee=""+new URL("phonetic-653b046d.png",import.meta.url).href,dee=""+new URL("speed-c79d5352.png",import.meta.url).href;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const W4=[{title:"音标显示与发音功能",description:"帮助用户同时记忆单词的读音与音标",img:uee},{title:"默写模式",description:"每章结束后可选择默写,巩固所学单词",img:cee},{title:"实时反馈",description:"显示输入速度和正确率,量化技能提升",img:dee},{title:"为程序员定制",description:"内置编程相关词库,提高工作效率",img:lee}],fee=()=>{const[e,t]=p.useState(0),r=3,n=p.useRef(null),[a,o]=p.useState(0);return p.useEffect(()=>{const i=setInterval(()=>{t(s=>(s+1)%r)},3e3);return()=>clearInterval(i)},[]),p.useEffect(()=>{if(n.current){const i=n.current,s=i.offsetWidth;e===0?(i.style.transition="none",i.style.transform="translateX(0)",setTimeout(()=>{i.style.transition="transform 0.5s ease",i.style.transform=`translateX(-${s}px)`},50)):i.style.transform=`translateX(-${e*s}px)`}},[e]),I("div",{className:"flex w-screen flex-col",children:[I("section",{className:"flex items-center justify-center py-2 shadow-md",children:[y("img",{src:_D,className:"mr-3 h-16 w-16",alt:"Qwerty Learner Logo"}),y("h1",{className:"text-2xl font-bold text-primary",children:"Qwerty Learner"})]}),I("section",{className:"relative",children:[y(oee,{}),I("div",{className:"absolute top-10 flex w-full flex-col items-center justify-center",children:[y("h1",{className:"animate__animated animate__zoomIn bg-gradient-to-b from-white to-[#dee0ff] bg-clip-text text-3xl font-bold text-transparent",children:"为键盘工作者设计的软件"}),y("h2",{className:"animate__animated animate__zoomIn mt-5 text-sm font-bold text-white",style:{textShadow:"1px 1px 2px #9c9ea3"},children:"简化英语学习与打字技能提升过程,快速建立正确的肌肉记忆"}),y("h2",{className:"typewriter !mt-3 text-xs font-bold text-white",style:{textShadow:"1px 1px 2px #9c9ea3",overflow:"hidden",borderRight:"0.15em solid #f0f0f0",whiteSpace:"nowrap",display:"inline-block",animation:"typing 3s steps(50), blink-caret 0.75s step-end 4, hideCaret 0s 3s forwards"},children:"单词记忆与键盘输入相结合、音标发音与默写模式、多样化词库选择"})]})]}),y("section",{className:"mt-4 px-10",children:y("div",{style:{boxShadow:"0px 0px 12px rgba(0,0,0,0.12), 0px 8px 15px -3px rgba(0,0,0,0.1)",borderRadius:"8px",overflow:"hidden"},children:I("div",{ref:n,style:{display:"flex",transition:"transform 0.5s ease"},children:[y("img",{src:V4,alt:"",style:{width:"100%",flexShrink:0}}),y("img",{src:iee,alt:"",style:{width:"100%",flexShrink:0}}),y("img",{src:see,alt:"",style:{width:"100%",flexShrink:0}}),y("img",{src:V4,alt:"",style:{width:"100%",flexShrink:0}})]})})}),I("section",{className:"mt-10 px-5",children:[y("h1",{className:"text-center text-3xl font-bold text-primary",children:"助力你快速掌握单词"}),y("div",{className:"mt-10",children:W4.map((i,s)=>I("div",{className:`my-4 rounded-2xl px-6 py-5 ${a===s?"bg-[#e7e7e7]":"hover:bg-[#e7e7e7]"}`,onClick:()=>o(s),children:[y("h1",{children:i.title}),y("h2",{className:"text-gray-500",children:i.description})]},s))}),y("div",{className:"mt-20 flex h-[10rem] justify-center bg-white",children:y("img",{className:"w-full object-contain",src:W4[a].img,alt:""})})]}),I("section",{className:"mt-10 flex h-[20rem] w-full flex-col items-center",style:{background:"linear-gradient(-45deg, #6366f1, #6366f1, #6366f1, #b600ff)",backgroundSize:"600% 600%",animation:"gradientBG 4s ease-in-out infinite"},children:[y("h1",{className:"mt-10 text-3xl font-bold text-white",children:"轻松上手,简单好用"}),y("h2",{className:"mt-10 px-10 text-white",children:"为键盘工作者设计的单词与肌肉记忆锻炼软件"}),y("div",{className:"mt-10 rounded-2xl bg-white px-6 py-3 font-bold text-primary",children:"请使用桌面端浏览器访问本网站,即刻体验!"})]})]})},hee=""+new URL("alipay-6edac0a1.jpg",import.meta.url).href,pee=""+new URL("a6-f7b26a87.png",import.meta.url).href,gee=""+new URL("a12-e12a62a3.png",import.meta.url).href,vee=""+new URL("a36-9c34d6a0.png",import.meta.url).href,mee=""+new URL("a50-ca9f5f26.png",import.meta.url).href,yee=""+new URL("a66-1212e70a.png",import.meta.url).href,bee=""+new URL("w6-e721614e.png",import.meta.url).href,wee=""+new URL("w12-9b95b886.png",import.meta.url).href,_ee=""+new URL("w36-f63d42dd.png",import.meta.url).href,$ee=""+new URL("w50-beca9735.png",import.meta.url).href,xee=""+new URL("w66-8ec39348.png",import.meta.url).href,See=""+new URL("weChat-b0bf1d67.jpg",import.meta.url).href;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const H4={"-1":[hee,See],6:[pee,bee],12:[gee,wee],36:[vee,_ee],50:[mee,$ee],66:[yee,xee]};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Eee=({amount:e,onClick:t,active:r=!0})=>y("button",{className:` focus: h-10 rounded border-gray-100 font-bold text-gray-700 shadow-md shadow-gray-300 + */function wm(){return wm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function XJ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ZJ(e,t){return e.button===0&&(!t||t==="_self")&&!XJ(e)}const QJ=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],JJ=["aria-current","caseSensitive","className","end","style","to","children"];function eee(e){let{basename:t,children:r,window:n}=e,a=p.useRef();a.current==null&&(a.current=cJ({window:n,v5Compat:!0}));let o=a.current,[i,s]=p.useState({action:o.action,location:o.location});return p.useLayoutEffect(()=>o.listen(s),[o]),p.createElement(qJ,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:o})}const tee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ree=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nee=p.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:s,target:l,to:u,preventScrollReset:f}=t,c=bD(t,QJ),{basename:d}=p.useContext(gl),h,g=!1;if(typeof u=="string"&&ree.test(u)&&(h=u,tee))try{let b=new URL(window.location.href),_=u.startsWith("//")?new URL(b.protocol+u):new URL(u),$=GE(_.pathname,d);_.origin===b.origin&&$!=null?u=$+_.search+_.hash:g=!0}catch{}let m=NJ(u,{relative:a}),w=aee(u,{replace:i,state:s,target:l,preventScrollReset:f,relative:a});function v(b){n&&n(b),b.defaultPrevented||w(b)}return p.createElement("a",wm({},c,{href:h||m,onClick:g||o?n:v,ref:r,target:l}))}),wD=p.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:s,to:l,children:u}=t,f=bD(t,JJ),c=XE(l,{relative:f.relative}),d=Au(),h=p.useContext(gD),{navigator:g}=p.useContext(gl),m=g.encodeLocation?g.encodeLocation(c).pathname:c.pathname,w=d.pathname,v=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;a||(w=w.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase());let b=w===m||!i&&w.startsWith(m)&&w.charAt(m.length)==="/",_=v!=null&&(v===m||!i&&v.startsWith(m)&&v.charAt(m.length)==="/"),$=b?n:void 0,C;typeof o=="function"?C=o({isActive:b,isPending:_}):C=[o,b?"active":null,_?"pending":null].filter(Boolean).join(" ");let k=typeof s=="function"?s({isActive:b,isPending:_}):s;return p.createElement(nee,wm({},f,{"aria-current":$,className:C,ref:r,style:k,to:l}),typeof u=="function"?u({isActive:b,isPending:_}):u)});var U4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(U4||(U4={}));var z4;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(z4||(z4={}));function aee(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i}=t===void 0?{}:t,s=vl(),l=Au(),u=XE(e,{relative:i});return p.useCallback(f=>{if(ZJ(f,r)){f.preventDefault();let c=n!==void 0?n:ym(l)===ym(u);s(e,{replace:c,state:a,preventScrollReset:o,relative:i})}},[l,s,u,n,a,r,e,o,i])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function oee(){const[e,t]=p.useState([]),[r,n]=p.useState(1),a=p.useMemo(()=>Math.ceil(e.length/q1),[e.length]),[o,i]=p.useState("asc"),s=vl(),l=oe(dh),{deleteWordRecord:u}=eZ(),[f,c]=p.useState(!1),d=p.useCallback(()=>{s("/")},[s]),h=p.useCallback(b=>{b<1||b>a||n(b)},[a]),g=p.useCallback(b=>{i(b),h(1)},[h]),m=p.useMemo(()=>o==="none"?e:[...e].sort((b,_)=>o==="asc"?b.wrongCount-_.wrongCount:_.wrongCount-b.wrongCount),[e,o]),w=p.useMemo(()=>{const b=(r-1)*q1,_=b+q1;return m.slice(b,_)},[r,m]);p.useEffect(()=>{Ot.wordRecords.where("wrongCount").above(0).toArray().then(b=>{const _=[];b.forEach($=>{let C=_.find(k=>k.word===$.word&&k.dict===$.dict);C||(C={word:$.word,dict:$.dict,records:[],wrongCount:0},_.push(C)),C.records.push($)}),_.forEach($=>{$.wrongCount=$.records.reduce((C,k)=>(C+=k.wrongCount,C),0)}),t(_)})},[f]);const v=async(b,_)=>{await u(b,_),c($=>!$)};return P(Ne,{children:[P("div",{className:`relative flex h-screen w-full flex-col items-center pb-4 ease-in ${l&&"blur-sm"}`,children:[P("div",{className:"mr-8 mt-4 flex w-auto items-center justify-center self-end",children:[y("h1",{className:"font-lighter mr-4 w-auto self-end text-gray-500 opacity-70",children:"Tip: 点击错误单词查看详细信息 "}),y($u,{className:"h-7 w-7 cursor-pointer text-gray-400",onClick:d})]}),y("div",{className:"flex w-full flex-1 select-text items-start justify-center overflow-hidden",children:P("div",{className:"flex h-full w-5/6 flex-col pt-10",children:[P("div",{className:"flex w-full justify-between rounded-lg bg-white px-6 py-5 text-lg text-black shadow-lg dark:bg-gray-800 dark:text-white",children:[y("span",{className:"basis-2/12",children:"单词"}),y("span",{className:"basis-6/12",children:"释义"}),y(lQ,{className:"basis-1/12",sortType:o,setSortType:g}),y("span",{className:"basis-1/12",children:"词典"}),y("span",{className:"basis-1/12",children:" "})]}),P(xu,{className:"flex-1 overflow-y-auto pt-5",children:[y(Su,{className:"h-full ",children:y("div",{className:"flex flex-col gap-3",children:w.map(b=>y(aQ,{record:b,onDelete:()=>v(b.word,b.dict)},`${b.dict}-${b.word}`))})}),y(Eu,{className:"flex touch-none select-none bg-transparent",orientation:"vertical"})]})]})}),y(cQ,{className:"pt-3",page:r,setPage:h,totalPages:a})]}),l&&y(VQ,{currentRowDetail:l,allRecords:m})]})}const iee=""+new URL("alipay-6edac0a1.jpg",import.meta.url).href,see=""+new URL("a6-f7b26a87.png",import.meta.url).href,lee=""+new URL("a12-e12a62a3.png",import.meta.url).href,cee=""+new URL("a36-9c34d6a0.png",import.meta.url).href,uee=""+new URL("a50-ca9f5f26.png",import.meta.url).href,dee=""+new URL("a66-1212e70a.png",import.meta.url).href,fee=""+new URL("w6-e721614e.png",import.meta.url).href,hee=""+new URL("w12-9b95b886.png",import.meta.url).href,pee=""+new URL("w36-f63d42dd.png",import.meta.url).href,gee=""+new URL("w50-beca9735.png",import.meta.url).href,vee=""+new URL("w66-8ec39348.png",import.meta.url).href,mee=""+new URL("weChat-b0bf1d67.jpg",import.meta.url).href;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const V4={"-1":[iee,mee],6:[see,fee],12:[lee,hee],36:[cee,pee],50:[uee,gee],66:[dee,vee]};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const yee=({amount:e,onClick:t,active:r=!0})=>y("button",{className:` focus: h-10 rounded border-gray-100 font-bold text-gray-700 shadow-md shadow-gray-300 outline-none hover:bg-gray-100 dark:bg-gray-700 dark:text-gray-300 dark:text-opacity-80 dark:opacity-80 dark:shadow-gray-700 hover:dark:bg-gray-600 - ${e===-1?"w-18":"w-10"} ${r?"bg-stone-100 dark:bg-gray-500":""}`,onClick:()=>t&&t(e),children:e===-1?"自定义":e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cee=[6,12,36,50,66,-1],$D=({className:e,onAmountChange:t})=>{const[r,n]=p.useState(void 0),a=o=>{n(o)};return p.useEffect(()=>{t&&r&&t(r)},[r,t]),I("div",{className:`flex w-full flex-col items-center justify-center gap-3 ${e&&e}`,children:[y("h2",{className:"self-start pl-10 font-bold text-gray-800 dark:text-gray-300",children:"选择您的捐赠金额:"}),y("div",{className:"mt-2 flex gap-3",children:Cee.map(o=>y(Eee,{active:o===r,amount:o,onClick:a},o))}),y("div",{className:`mt-3 flex w-full flex-col overflow-hidden px-11 transition-[height] duration-500 ${r?"h-44":"h-0"}`,children:r&&I("div",{className:"flex w-full justify-between",children:[y("img",{src:H4[r][0],alt:"alipay",className:" h-44"}),y("img",{src:H4[r][1],alt:"weChat",className:" h-44"})]})}),r&&(r>=50||r===-1)&&y("span",{children:y("a",{className:"text-sm font-bold text-gray-500 underline-offset-4 hover:underline dark:text-gray-400",href:"https://wj.qq.com/s2/13329666/380d/",target:"_blank",rel:"noreferrer",children:"贴纸寄送地址问卷"})})]})},Tee=""+new URL("sticker2-c633614c.jpg",import.meta.url).href,Aee=""+new URL("sticker-adf57ed1.jpg",import.meta.url).href;function Ch(e){return e.split("-")[1]}function ZE(e){return e==="y"?"height":"width"}function Vs(e){return e.split("-")[0]}function Th(e){return["top","bottom"].includes(Vs(e))?"x":"y"}function G4(e,t,r){let{reference:n,floating:a}=e;const o=n.x+n.width/2-a.width/2,i=n.y+n.height/2-a.height/2,s=Th(t),l=ZE(s),u=n[l]/2-a[l]/2,f=s==="x";let c;switch(Vs(t)){case"top":c={x:o,y:n.y-a.height};break;case"bottom":c={x:o,y:n.y+n.height};break;case"right":c={x:n.x+n.width,y:i};break;case"left":c={x:n.x-a.width,y:i};break;default:c={x:n.x,y:n.y}}switch(Ch(t)){case"start":c[s]-=u*(r&&f?-1:1);break;case"end":c[s]+=u*(r&&f?-1:1)}return c}const Ree=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,s=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:c}=G4(u,n,l),d=n,h={},g=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:i,elements:s}=t,{element:l,padding:u=0}=Ah(e,t)||{};if(l==null)return{};const f=xD(u),c={x:r,y:n},d=Th(a),h=ZE(d),g=await i.getDimensions(l),m=d==="y",w=m?"top":"left",v=m?"bottom":"right",b=m?"clientHeight":"clientWidth",_=o.reference[h]+o.reference[d]-c[d]-o.floating[h],$=c[d]-o.reference[d],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let O=C?C[b]:0;O&&await(i.isElement==null?void 0:i.isElement(C))||(O=s.floating[b]||o.floating[h]);const x=_/2-$/2,S=O/2-g[h]/2-1,A=l2(f[w],S),k=l2(f[v],S),L=A,P=O-g[h]-k,N=O/2-g[h]/2+x,E=c2(L,N,P),R=Ch(a)!=null&&N!=E&&o.reference[h]/2-(Ne.concat(t,t+"-start",t+"-end"),[]);const Iee={left:"right",right:"left",bottom:"top",top:"bottom"};function $m(e){return e.replace(/left|right|bottom|top/g,t=>Iee[t])}function Nee(e,t,r){r===void 0&&(r=!1);const n=Ch(e),a=Th(e),o=ZE(a);let i=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=$m(i)),{main:i,cross:$m(i)}}const Lee={start:"end",end:"start"};function Q1(e){return e.replace(/start|end/g,t=>Lee[t])}const Mee=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:a,rects:o,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=Ah(e,t),w=Vs(n),v=Vs(i)===i,b=await(s.isRTL==null?void 0:s.isRTL(l.floating)),_=c||(v||!g?[$m(i)]:function(L){const P=$m(L);return[Q1(L),P,Q1(P)]}(i));c||h==="none"||_.push(...function(L,P,N,E){const R=Ch(L);let F=function(B,j,M){const D=["left","right"],U=["right","left"],V=["top","bottom"],G=["bottom","top"];switch(B){case"top":case"bottom":return M?j?U:D:j?D:U;case"left":case"right":return j?V:G;default:return[]}}(Vs(L),N==="start",E);return R&&(F=F.map(B=>B+"-"+R),P&&(F=F.concat(F.map(Q1)))),F}(i,g,h,b));const $=[i,..._],C=await SD(t,m),O=[];let x=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&O.push(C[w]),f){const{main:L,cross:P}=Nee(n,o,b);O.push(C[L],C[P])}if(x=[...x,{placement:n,overflows:O}],!O.every(L=>L<=0)){var S,A;const L=(((S=a.flip)==null?void 0:S.index)||0)+1,P=$[L];if(P)return{data:{index:L,overflows:x},reset:{placement:P}};let N=(A=x.filter(E=>E.overflows[0]<=0).sort((E,R)=>E.overflows[1]-R.overflows[1])[0])==null?void 0:A.placement;if(!N)switch(d){case"bestFit":{var k;const E=(k=x.map(R=>[R.placement,R.overflows.filter(F=>F>0).reduce((F,B)=>F+B,0)]).sort((R,F)=>R[1]-F[1])[0])==null?void 0:k[0];E&&(N=E);break}case"initialPlacement":N=i}if(n!==N)return{reset:{placement:N}}}return{}}}},Dee=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,a=await async function(o,i){const{placement:s,platform:l,elements:u}=o,f=await(l.isRTL==null?void 0:l.isRTL(u.floating)),c=Vs(s),d=Ch(s),h=Th(s)==="x",g=["left","top"].includes(c)?-1:1,m=f&&h?-1:1,w=Ah(i,o);let{mainAxis:v,crossAxis:b,alignmentAxis:_}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return d&&typeof _=="number"&&(b=d==="end"?-1*_:_),h?{x:b*m,y:v*g}:{x:v*g,y:b*m}}(t,e);return{x:r+a.x,y:n+a.y,data:a}}}};function jee(e){return e==="x"?"y":"x"}const Fee=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=Ah(e,t),u={x:r,y:n},f=await SD(t,l),c=Th(Vs(a)),d=jee(c);let h=u[c],g=u[d];if(o){const w=c==="y"?"bottom":"right";h=c2(h+f[c==="y"?"top":"left"],h,h-f[w])}if(i){const w=d==="y"?"bottom":"right";g=c2(g+f[d==="y"?"top":"left"],g,g-f[w])}const m=s.fn({...t,[c]:h,[d]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}};function Yr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ea(e){return Yr(e).getComputedStyle(e)}function ED(e){return e instanceof Yr(e).Node}function Ui(e){return ED(e)?(e.nodeName||"").toLowerCase():"#document"}function sa(e){return e instanceof HTMLElement||e instanceof Yr(e).HTMLElement}function K4(e){return typeof ShadowRoot<"u"&&(e instanceof Yr(e).ShadowRoot||e instanceof ShadowRoot)}function qf(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Ea(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Bee(e){return["table","td","th"].includes(Ui(e))}function u2(e){const t=QE(),r=Ea(e);return r.transform!=="none"||r.perspective!=="none"||!!r.containerType&&r.containerType!=="normal"||!t&&!!r.backdropFilter&&r.backdropFilter!=="none"||!t&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function QE(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function U0(e){return["html","body","#document"].includes(Ui(e))}const q4=Math.min,nf=Math.max,xm=Math.round,zi=e=>({x:e,y:e});function CD(e){const t=Ea(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=sa(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,s=xm(r)!==o||xm(n)!==i;return s&&(r=o,n=i),{width:r,height:n,$:s}}function so(e){return e instanceof Element||e instanceof Yr(e).Element}function TD(e){return so(e)?e:e.contextElement}function Sc(e){const t=TD(e);if(!sa(t))return zi(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=CD(t);let i=(o?xm(r.width):r.width)/n,s=(o?xm(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Uee=zi(0);function AD(e){const t=Yr(e);return QE()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Uee}function Yf(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=TD(e);let i=zi(1);t&&(n?so(n)&&(i=Sc(n)):i=Sc(e));const s=function(d,h,g){return h===void 0&&(h=!1),!(!g||h&&g!==Yr(d))&&h}(o,r,n)?AD(o):zi(0);let l=(a.left+s.x)/i.x,u=(a.top+s.y)/i.y,f=a.width/i.x,c=a.height/i.y;if(o){const d=Yr(o),h=n&&so(n)?Yr(n):n;let g=d.frameElement;for(;g&&n&&h!==d;){const m=Sc(g),w=g.getBoundingClientRect(),v=getComputedStyle(g),b=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*m.x,_=w.top+(g.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,c*=m.y,l+=b,u+=_,g=Yr(g).frameElement}}return _m({width:f,height:c,x:l,y:u})}function z0(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ci(e){var t;return(t=(ED(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function RD(e){return Yf(Ci(e)).left+z0(e).scrollLeft}function Yc(e){if(Ui(e)==="html")return e;const t=e.assignedSlot||e.parentNode||K4(e)&&e.host||Ci(e);return K4(t)?t.host:t}function OD(e){const t=Yc(e);return U0(t)?e.ownerDocument?e.ownerDocument.body:e.body:sa(t)&&qf(t)?t:OD(t)}function kD(e,t){var r;t===void 0&&(t=[]);const n=OD(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Yr(n);return a?t.concat(o,o.visualViewport||[],qf(n)?n:[]):t.concat(n,kD(n))}function Y4(e,t,r){let n;if(t==="viewport")n=function(a,o){const i=Yr(a),s=Ci(a),l=i.visualViewport;let u=s.clientWidth,f=s.clientHeight,c=0,d=0;if(l){u=l.width,f=l.height;const h=QE();(!h||h&&o==="fixed")&&(c=l.offsetLeft,d=l.offsetTop)}return{width:u,height:f,x:c,y:d}}(e,r);else if(t==="document")n=function(a){const o=Ci(a),i=z0(a),s=a.ownerDocument.body,l=nf(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),u=nf(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let f=-i.scrollLeft+RD(a);const c=-i.scrollTop;return Ea(s).direction==="rtl"&&(f+=nf(o.clientWidth,s.clientWidth)-l),{width:l,height:u,x:f,y:c}}(Ci(e));else if(so(t))n=function(a,o){const i=Yf(a,!0,o==="fixed"),s=i.top+a.clientTop,l=i.left+a.clientLeft,u=sa(a)?Sc(a):zi(1);return{width:a.clientWidth*u.x,height:a.clientHeight*u.y,x:l*u.x,y:s*u.y}}(t,r);else{const a=AD(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return _m(n)}function PD(e,t){const r=Yc(e);return!(r===t||!so(r)||U0(r))&&(Ea(r).position==="fixed"||PD(r,t))}function zee(e,t,r){const n=sa(t),a=Ci(t),o=r==="fixed",i=Yf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=zi(0);if(n||!n&&!o)if((Ui(t)!=="body"||qf(a))&&(s=z0(t)),sa(t)){const u=Yf(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else a&&(l.x=RD(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function X4(e,t){return sa(e)&&Ea(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Z4(e,t){const r=Yr(e);if(!sa(e))return r;let n=X4(e,t);for(;n&&Bee(n)&&Ea(n).position==="static";)n=X4(n,t);return n&&(Ui(n)==="html"||Ui(n)==="body"&&Ea(n).position==="static"&&!u2(n))?r:n||function(a){let o=Yc(a);for(;sa(o)&&!U0(o);){if(u2(o))return o;o=Yc(o)}return null}(e)||r}const Vee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=sa(r),o=Ci(r);if(r===o)return t;let i={scrollLeft:0,scrollTop:0},s=zi(1);const l=zi(0);if((a||!a&&n!=="fixed")&&((Ui(r)!=="body"||qf(o))&&(i=z0(r)),sa(r))){const u=Yf(r);s=Sc(r),l.x=u.x+r.clientLeft,l.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},getDocumentElement:Ci,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[...r==="clippingAncestors"?function(l,u){const f=u.get(l);if(f)return f;let c=kD(l).filter(m=>so(m)&&Ui(m)!=="body"),d=null;const h=Ea(l).position==="fixed";let g=h?Yc(l):l;for(;so(g)&&!U0(g);){const m=Ea(g),w=u2(g);w||m.position!=="fixed"||(d=null),(h?!w&&!d:!w&&m.position==="static"&&d&&["absolute","fixed"].includes(d.position)||qf(g)&&!w&&PD(l,g))?c=c.filter(v=>v!==g):d=m,g=Yc(g)}return u.set(l,c),c}(t,this._c):[].concat(r),n],i=o[0],s=o.reduce((l,u)=>{const f=Y4(t,u,a);return l.top=nf(f.top,l.top),l.right=q4(f.right,l.right),l.bottom=q4(f.bottom,l.bottom),l.left=nf(f.left,l.left),l},Y4(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Z4,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||Z4,o=this.getDimensions;return{reference:zee(t,await a(r),n),floating:{x:0,y:0,...await o(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return CD(e)},getScale:Sc,isElement:so,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}},Q4=(e,t,r)=>{const n=new Map,a={platform:Vee,...r},o={...a.platform,_c:n};return Ree(e,t,{...a,platform:o})};/* + ${e===-1?"w-18":"w-10"} ${r?"bg-stone-100 dark:bg-gray-500":""}`,onClick:()=>t&&t(e),children:e===-1?"自定义":e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bee=[6,12,36,50,66,-1],_D=({className:e,onAmountChange:t})=>{const[r,n]=p.useState(void 0),a=o=>{n(o)};return p.useEffect(()=>{t&&r&&t(r)},[r,t]),P("div",{className:`flex w-full flex-col items-center justify-center gap-3 ${e&&e}`,children:[y("h2",{className:"self-start pl-10 font-bold text-gray-800 dark:text-gray-300",children:"选择您的捐赠金额:"}),y("div",{className:"mt-2 flex gap-3",children:bee.map(o=>y(yee,{active:o===r,amount:o,onClick:a},o))}),y("div",{className:`mt-3 flex w-full flex-col overflow-hidden px-11 transition-[height] duration-500 ${r?"h-44":"h-0"}`,children:r&&P("div",{className:"flex w-full justify-between",children:[y("img",{src:V4[r][0],alt:"alipay",className:" h-44"}),y("img",{src:V4[r][1],alt:"weChat",className:" h-44"})]})}),r&&(r>=50||r===-1)&&y("span",{children:y("a",{className:"text-sm font-bold text-gray-500 underline-offset-4 hover:underline dark:text-gray-400",href:"https://wj.qq.com/s2/13329666/380d/",target:"_blank",rel:"noreferrer",children:"贴纸寄送地址问卷"})})]})},wee=""+new URL("sticker2-c633614c.jpg",import.meta.url).href,_ee=""+new URL("sticker-adf57ed1.jpg",import.meta.url).href;function Ch(e){return e.split("-")[1]}function ZE(e){return e==="y"?"height":"width"}function Vs(e){return e.split("-")[0]}function Th(e){return["top","bottom"].includes(Vs(e))?"x":"y"}function W4(e,t,r){let{reference:n,floating:a}=e;const o=n.x+n.width/2-a.width/2,i=n.y+n.height/2-a.height/2,s=Th(t),l=ZE(s),u=n[l]/2-a[l]/2,f=s==="x";let c;switch(Vs(t)){case"top":c={x:o,y:n.y-a.height};break;case"bottom":c={x:o,y:n.y+n.height};break;case"right":c={x:n.x+n.width,y:i};break;case"left":c={x:n.x-a.width,y:i};break;default:c={x:n.x,y:n.y}}switch(Ch(t)){case"start":c[s]-=u*(r&&f?-1:1);break;case"end":c[s]+=u*(r&&f?-1:1)}return c}const $ee=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,s=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:c}=W4(u,n,l),d=n,h={},g=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:i,elements:s}=t,{element:l,padding:u=0}=Ah(e,t)||{};if(l==null)return{};const f=$D(u),c={x:r,y:n},d=Th(a),h=ZE(d),g=await i.getDimensions(l),m=d==="y",w=m?"top":"left",v=m?"bottom":"right",b=m?"clientHeight":"clientWidth",_=o.reference[h]+o.reference[d]-c[d]-o.floating[h],$=c[d]-o.reference[d],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let k=C?C[b]:0;k&&await(i.isElement==null?void 0:i.isElement(C))||(k=s.floating[b]||o.floating[h]);const x=_/2-$/2,S=k/2-g[h]/2-1,A=l2(f[w],S),O=l2(f[v],S),L=A,I=k-g[h]-O,N=k/2-g[h]/2+x,E=c2(L,N,I),R=Ch(a)!=null&&N!=E&&o.reference[h]/2-(Ne.concat(t,t+"-start",t+"-end"),[]);const Cee={left:"right",right:"left",bottom:"top",top:"bottom"};function $m(e){return e.replace(/left|right|bottom|top/g,t=>Cee[t])}function Tee(e,t,r){r===void 0&&(r=!1);const n=Ch(e),a=Th(e),o=ZE(a);let i=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=$m(i)),{main:i,cross:$m(i)}}const Aee={start:"end",end:"start"};function Q1(e){return e.replace(/start|end/g,t=>Aee[t])}const Ree=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:a,rects:o,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=Ah(e,t),w=Vs(n),v=Vs(i)===i,b=await(s.isRTL==null?void 0:s.isRTL(l.floating)),_=c||(v||!g?[$m(i)]:function(L){const I=$m(L);return[Q1(L),I,Q1(I)]}(i));c||h==="none"||_.push(...function(L,I,N,E){const R=Ch(L);let F=function(B,j,M){const D=["left","right"],U=["right","left"],V=["top","bottom"],G=["bottom","top"];switch(B){case"top":case"bottom":return M?j?U:D:j?D:U;case"left":case"right":return j?V:G;default:return[]}}(Vs(L),N==="start",E);return R&&(F=F.map(B=>B+"-"+R),I&&(F=F.concat(F.map(Q1)))),F}(i,g,h,b));const $=[i,..._],C=await xD(t,m),k=[];let x=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&k.push(C[w]),f){const{main:L,cross:I}=Tee(n,o,b);k.push(C[L],C[I])}if(x=[...x,{placement:n,overflows:k}],!k.every(L=>L<=0)){var S,A;const L=(((S=a.flip)==null?void 0:S.index)||0)+1,I=$[L];if(I)return{data:{index:L,overflows:x},reset:{placement:I}};let N=(A=x.filter(E=>E.overflows[0]<=0).sort((E,R)=>E.overflows[1]-R.overflows[1])[0])==null?void 0:A.placement;if(!N)switch(d){case"bestFit":{var O;const E=(O=x.map(R=>[R.placement,R.overflows.filter(F=>F>0).reduce((F,B)=>F+B,0)]).sort((R,F)=>R[1]-F[1])[0])==null?void 0:O[0];E&&(N=E);break}case"initialPlacement":N=i}if(n!==N)return{reset:{placement:N}}}return{}}}},kee=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,a=await async function(o,i){const{placement:s,platform:l,elements:u}=o,f=await(l.isRTL==null?void 0:l.isRTL(u.floating)),c=Vs(s),d=Ch(s),h=Th(s)==="x",g=["left","top"].includes(c)?-1:1,m=f&&h?-1:1,w=Ah(i,o);let{mainAxis:v,crossAxis:b,alignmentAxis:_}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return d&&typeof _=="number"&&(b=d==="end"?-1*_:_),h?{x:b*m,y:v*g}:{x:v*g,y:b*m}}(t,e);return{x:r+a.x,y:n+a.y,data:a}}}};function Oee(e){return e==="x"?"y":"x"}const Pee=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=Ah(e,t),u={x:r,y:n},f=await xD(t,l),c=Th(Vs(a)),d=Oee(c);let h=u[c],g=u[d];if(o){const w=c==="y"?"bottom":"right";h=c2(h+f[c==="y"?"top":"left"],h,h-f[w])}if(i){const w=d==="y"?"bottom":"right";g=c2(g+f[d==="y"?"top":"left"],g,g-f[w])}const m=s.fn({...t,[c]:h,[d]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}};function Yr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ea(e){return Yr(e).getComputedStyle(e)}function SD(e){return e instanceof Yr(e).Node}function Ui(e){return SD(e)?(e.nodeName||"").toLowerCase():"#document"}function sa(e){return e instanceof HTMLElement||e instanceof Yr(e).HTMLElement}function H4(e){return typeof ShadowRoot<"u"&&(e instanceof Yr(e).ShadowRoot||e instanceof ShadowRoot)}function qf(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Ea(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Iee(e){return["table","td","th"].includes(Ui(e))}function u2(e){const t=QE(),r=Ea(e);return r.transform!=="none"||r.perspective!=="none"||!!r.containerType&&r.containerType!=="normal"||!t&&!!r.backdropFilter&&r.backdropFilter!=="none"||!t&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function QE(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function U0(e){return["html","body","#document"].includes(Ui(e))}const G4=Math.min,nf=Math.max,xm=Math.round,zi=e=>({x:e,y:e});function ED(e){const t=Ea(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=sa(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,s=xm(r)!==o||xm(n)!==i;return s&&(r=o,n=i),{width:r,height:n,$:s}}function lo(e){return e instanceof Element||e instanceof Yr(e).Element}function CD(e){return lo(e)?e:e.contextElement}function Ec(e){const t=CD(e);if(!sa(t))return zi(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=ED(t);let i=(o?xm(r.width):r.width)/n,s=(o?xm(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Nee=zi(0);function TD(e){const t=Yr(e);return QE()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Nee}function Yf(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=CD(e);let i=zi(1);t&&(n?lo(n)&&(i=Ec(n)):i=Ec(e));const s=function(d,h,g){return h===void 0&&(h=!1),!(!g||h&&g!==Yr(d))&&h}(o,r,n)?TD(o):zi(0);let l=(a.left+s.x)/i.x,u=(a.top+s.y)/i.y,f=a.width/i.x,c=a.height/i.y;if(o){const d=Yr(o),h=n&&lo(n)?Yr(n):n;let g=d.frameElement;for(;g&&n&&h!==d;){const m=Ec(g),w=g.getBoundingClientRect(),v=getComputedStyle(g),b=w.left+(g.clientLeft+parseFloat(v.paddingLeft))*m.x,_=w.top+(g.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,c*=m.y,l+=b,u+=_,g=Yr(g).frameElement}}return _m({width:f,height:c,x:l,y:u})}function z0(e){return lo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ci(e){var t;return(t=(SD(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function AD(e){return Yf(Ci(e)).left+z0(e).scrollLeft}function Xc(e){if(Ui(e)==="html")return e;const t=e.assignedSlot||e.parentNode||H4(e)&&e.host||Ci(e);return H4(t)?t.host:t}function RD(e){const t=Xc(e);return U0(t)?e.ownerDocument?e.ownerDocument.body:e.body:sa(t)&&qf(t)?t:RD(t)}function kD(e,t){var r;t===void 0&&(t=[]);const n=RD(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Yr(n);return a?t.concat(o,o.visualViewport||[],qf(n)?n:[]):t.concat(n,kD(n))}function K4(e,t,r){let n;if(t==="viewport")n=function(a,o){const i=Yr(a),s=Ci(a),l=i.visualViewport;let u=s.clientWidth,f=s.clientHeight,c=0,d=0;if(l){u=l.width,f=l.height;const h=QE();(!h||h&&o==="fixed")&&(c=l.offsetLeft,d=l.offsetTop)}return{width:u,height:f,x:c,y:d}}(e,r);else if(t==="document")n=function(a){const o=Ci(a),i=z0(a),s=a.ownerDocument.body,l=nf(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),u=nf(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let f=-i.scrollLeft+AD(a);const c=-i.scrollTop;return Ea(s).direction==="rtl"&&(f+=nf(o.clientWidth,s.clientWidth)-l),{width:l,height:u,x:f,y:c}}(Ci(e));else if(lo(t))n=function(a,o){const i=Yf(a,!0,o==="fixed"),s=i.top+a.clientTop,l=i.left+a.clientLeft,u=sa(a)?Ec(a):zi(1);return{width:a.clientWidth*u.x,height:a.clientHeight*u.y,x:l*u.x,y:s*u.y}}(t,r);else{const a=TD(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return _m(n)}function OD(e,t){const r=Xc(e);return!(r===t||!lo(r)||U0(r))&&(Ea(r).position==="fixed"||OD(r,t))}function Lee(e,t,r){const n=sa(t),a=Ci(t),o=r==="fixed",i=Yf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=zi(0);if(n||!n&&!o)if((Ui(t)!=="body"||qf(a))&&(s=z0(t)),sa(t)){const u=Yf(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else a&&(l.x=AD(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function q4(e,t){return sa(e)&&Ea(e).position!=="fixed"?t?t(e):e.offsetParent:null}function Y4(e,t){const r=Yr(e);if(!sa(e))return r;let n=q4(e,t);for(;n&&Iee(n)&&Ea(n).position==="static";)n=q4(n,t);return n&&(Ui(n)==="html"||Ui(n)==="body"&&Ea(n).position==="static"&&!u2(n))?r:n||function(a){let o=Xc(a);for(;sa(o)&&!U0(o);){if(u2(o))return o;o=Xc(o)}return null}(e)||r}const Mee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=sa(r),o=Ci(r);if(r===o)return t;let i={scrollLeft:0,scrollTop:0},s=zi(1);const l=zi(0);if((a||!a&&n!=="fixed")&&((Ui(r)!=="body"||qf(o))&&(i=z0(r)),sa(r))){const u=Yf(r);s=Ec(r),l.x=u.x+r.clientLeft,l.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},getDocumentElement:Ci,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[...r==="clippingAncestors"?function(l,u){const f=u.get(l);if(f)return f;let c=kD(l).filter(m=>lo(m)&&Ui(m)!=="body"),d=null;const h=Ea(l).position==="fixed";let g=h?Xc(l):l;for(;lo(g)&&!U0(g);){const m=Ea(g),w=u2(g);w||m.position!=="fixed"||(d=null),(h?!w&&!d:!w&&m.position==="static"&&d&&["absolute","fixed"].includes(d.position)||qf(g)&&!w&&OD(l,g))?c=c.filter(v=>v!==g):d=m,g=Xc(g)}return u.set(l,c),c}(t,this._c):[].concat(r),n],i=o[0],s=o.reduce((l,u)=>{const f=K4(t,u,a);return l.top=nf(f.top,l.top),l.right=G4(f.right,l.right),l.bottom=G4(f.bottom,l.bottom),l.left=nf(f.left,l.left),l},K4(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Y4,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||Y4,o=this.getDimensions;return{reference:Lee(t,await a(r),n),floating:{x:0,y:0,...await o(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return ED(e)},getScale:Ec,isElement:lo,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}},X4=(e,t,r)=>{const n=new Map,a={platform:Mee,...r},o={...a.platform,_c:n};return $ee(e,t,{...a,platform:o})};/* * React Tooltip * {@link https://github.com/ReactTooltip/react-tooltip} * @copyright ReactTooltip Team * @license MIT -*/const Wee="react-tooltip-core-styles",Hee="react-tooltip-base-styles";function J4({css:e,id:t=Hee,type:r="base",ref:n}){var a,o;if(r==="core"&&typeof process<"u"&&(!((a=process==null?void 0:process.env)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Wee),n||(n={});const{insertAt:i}=n;if(!e||typeof document>"u"||document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",i==="top"&&s.firstChild?s.insertBefore(l,s.firstChild):s.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}const eA=(e,t,r)=>{let n=null;return function(...a){const o=()=>{n=null,r||e.apply(this,a)};r&&!n&&(e.apply(this,a),n=setTimeout(o,t)),r||(n&&clearTimeout(n),n=setTimeout(o,t))}},Gee="DEFAULT_TOOLTIP_ID",Kee={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},qee=p.createContext({getTooltipData:()=>Kee});function ID(e=Gee){return p.useContext(qee).getTooltipData(e)}const Yee=typeof window<"u"?p.useLayoutEffect:p.useEffect,Xee=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},tA=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Xee(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},rA=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:a=10,strategy:o="absolute",middlewares:i=[Dee(Number(a)),Mee(),Fee({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const l=i;return r?(l.push(kee({element:r,padding:5})),Q4(e,t,{placement:n,strategy:o,middleware:l}).then(({x:u,y:f,placement:c,middlewareData:d})=>{var h,g;const m={left:`${u}px`,top:`${f}px`,border:s},{x:w,y:v}=(h=d.arrow)!==null&&h!==void 0?h:{x:0,y:0},b=(g={top:"bottom",right:"left",bottom:"top",left:"right"}[c.split("-")[0]])!==null&&g!==void 0?g:"bottom",_=s&&{top:{borderBottom:s,borderRight:s},right:{borderBottom:s,borderLeft:s},bottom:{borderTop:s,borderLeft:s},left:{borderTop:s,borderRight:s}}[c.split("-")[0]];let $=0;if(s){const C=`${s}`.match(/(\d+)px/);$=C!=null&&C[1]?Number(C[1]):1}return{tooltipStyles:m,tooltipArrowStyles:{left:w!=null?`${w}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",..._,[b]:`-${4+$}px`},place:c}})):Q4(e,t,{placement:"bottom",strategy:o,middleware:l}).then(({x:u,y:f,placement:c})=>({tooltipStyles:{left:`${u}px`,top:`${f}px`},tooltipArrowStyles:{},place:c}))};var Zee="core-styles-module_tooltip__3vRRp",Qee="core-styles-module_fixed__pcSol",Jee="core-styles-module_arrow__cvMwQ",ete="core-styles-module_noArrow__xock6",tte="core-styles-module_clickable__ZuTTB",rte="core-styles-module_show__Nt9eE",J1={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const nte=({id:e,className:t,classNameArrow:r,variant:n="dark",anchorId:a,anchorSelect:o,place:i="top",offset:s=10,events:l=["hover"],openOnClick:u=!1,positionStrategy:f="absolute",middlewares:c,wrapper:d,delayShow:h=0,delayHide:g=0,float:m=!1,hidden:w=!1,noArrow:v=!1,clickable:b=!1,closeOnEsc:_=!1,closeOnScroll:$=!1,closeOnResize:C=!1,style:O,position:x,afterShow:S,afterHide:A,content:k,contentWrapperRef:L,isOpen:P,setIsOpen:N,activeAnchor:E,setActiveAnchor:R,border:F,opacity:B})=>{const j=p.useRef(null),M=p.useRef(null),D=p.useRef(null),U=p.useRef(null),[V,G]=p.useState(i),[H,K]=p.useState({}),[Q,J]=p.useState({}),[de,ve]=p.useState(!1),[Le,ue]=p.useState(!1),$e=p.useRef(!1),Oe=p.useRef(null),{anchorRefs:Me,setActiveAnchor:at}=ID(e),Wt=p.useRef(!1),[Ie,Xe]=p.useState([]),vt=p.useRef(!1),Br=u||l.includes("click");Yee(()=>(vt.current=!0,()=>{vt.current=!1}),[]),p.useEffect(()=>{if(!de){const q=setTimeout(()=>{ue(!1)},150);return()=>{clearTimeout(q)}}return()=>null},[de]);const mt=q=>{vt.current&&(q&&ue(!0),setTimeout(()=>{vt.current&&(N==null||N(q),P===void 0&&ve(q))},10))};p.useEffect(()=>{if(P===void 0)return()=>null;P&&ue(!0);const q=setTimeout(()=>{ve(P)},10);return()=>{clearTimeout(q)}},[P]),p.useEffect(()=>{de!==$e.current&&($e.current=de,de?S==null||S():A==null||A())},[de]);const hr=(q=g)=>{U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{Wt.current||mt(!1)},q)},$t=q=>{var le;if(!q)return;const Ee=(le=q.currentTarget)!==null&&le!==void 0?le:q.target;if(!(Ee!=null&&Ee.isConnected))return R(null),void at({current:null});h?(D.current&&clearTimeout(D.current),D.current=setTimeout(()=>{mt(!0)},h)):mt(!0),R(Ee),at({current:Ee}),U.current&&clearTimeout(U.current)},Ht=()=>{b?hr(g||100):g?hr():mt(!1),D.current&&clearTimeout(D.current)},gn=({x:q,y:le})=>{rA({place:i,offset:s,elementReference:{getBoundingClientRect:()=>({x:q,y:le,width:0,height:0,top:le,left:q,right:q,bottom:le})},tooltipReference:j.current,tooltipArrowReference:M.current,strategy:f,middlewares:c,border:F}).then(Ee=>{Object.keys(Ee.tooltipStyles).length&&K(Ee.tooltipStyles),Object.keys(Ee.tooltipArrowStyles).length&&J(Ee.tooltipArrowStyles),G(Ee.place)})},xl=q=>{if(!q)return;const le=q,Ee={x:le.clientX,y:le.clientY};gn(Ee),Oe.current=Ee},zo=q=>{$t(q),g&&hr()},ss=q=>{var le;[document.querySelector(`[id='${a}']`),...Ie].some(Ee=>Ee==null?void 0:Ee.contains(q.target))||!((le=j.current)===null||le===void 0)&&le.contains(q.target)||(mt(!1),D.current&&clearTimeout(D.current))},qu=eA($t,50,!0),gp=eA(Ht,50,!0);p.useEffect(()=>{var q,le;const Ee=new Set(Me);Ie.forEach(Fa=>{Ee.add({current:Fa})});const zn=document.querySelector(`[id='${a}']`);zn&&Ee.add({current:zn});const Tt=()=>{mt(!1)},It=tA(E),Gt=tA(j.current);$&&(window.addEventListener("scroll",Tt),It==null||It.addEventListener("scroll",Tt),Gt==null||Gt.addEventListener("scroll",Tt)),C&&window.addEventListener("resize",Tt);const Sl=Fa=>{Fa.key==="Escape"&&mt(!1)};_&&window.addEventListener("keydown",Sl);const ls=[];Br?(window.addEventListener("click",ss),ls.push({event:"click",listener:zo})):(ls.push({event:"mouseenter",listener:qu},{event:"mouseleave",listener:gp},{event:"focus",listener:qu},{event:"blur",listener:gp}),m&&ls.push({event:"mousemove",listener:xl}));const A5=()=>{Wt.current=!0},R5=()=>{Wt.current=!1,Ht()};return b&&!Br&&((q=j.current)===null||q===void 0||q.addEventListener("mouseenter",A5),(le=j.current)===null||le===void 0||le.addEventListener("mouseleave",R5)),ls.forEach(({event:Fa,listener:Yu})=>{Ee.forEach(t1=>{var Xu;(Xu=t1.current)===null||Xu===void 0||Xu.addEventListener(Fa,Yu)})}),()=>{var Fa,Yu;$&&(window.removeEventListener("scroll",Tt),It==null||It.removeEventListener("scroll",Tt),Gt==null||Gt.removeEventListener("scroll",Tt)),C&&window.removeEventListener("resize",Tt),Br&&window.removeEventListener("click",ss),_&&window.removeEventListener("keydown",Sl),b&&!Br&&((Fa=j.current)===null||Fa===void 0||Fa.removeEventListener("mouseenter",A5),(Yu=j.current)===null||Yu===void 0||Yu.removeEventListener("mouseleave",R5)),ls.forEach(({event:t1,listener:Xu})=>{Ee.forEach(gW=>{var r1;(r1=gW.current)===null||r1===void 0||r1.removeEventListener(t1,Xu)})})}},[Le,Me,Ie,_,l]),p.useEffect(()=>{let q=o??"";!q&&e&&(q=`[data-tooltip-id='${e}']`);const le=new MutationObserver(Ee=>{const zn=[];Ee.forEach(Tt=>{if(Tt.type==="attributes"&&Tt.attributeName==="data-tooltip-id"&&Tt.target.getAttribute("data-tooltip-id")===e&&zn.push(Tt.target),Tt.type==="childList"&&(E&&[...Tt.removedNodes].some(It=>{var Gt;return!!(!((Gt=It==null?void 0:It.contains)===null||Gt===void 0)&&Gt.call(It,E))&&(ue(!1),mt(!1),R(null),D.current&&clearTimeout(D.current),U.current&&clearTimeout(U.current),!0)}),q))try{const It=[...Tt.addedNodes].filter(Gt=>Gt.nodeType===1);zn.push(...It.filter(Gt=>Gt.matches(q))),zn.push(...It.flatMap(Gt=>[...Gt.querySelectorAll(q)]))}catch{}}),zn.length&&Xe(Tt=>[...Tt,...zn])});return le.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{le.disconnect()}},[e,o,E]);const Ft=()=>{x?gn(x):m?Oe.current&&gn(Oe.current):rA({place:i,offset:s,elementReference:E,tooltipReference:j.current,tooltipArrowReference:M.current,strategy:f,middlewares:c,border:F}).then(q=>{vt.current&&(Object.keys(q.tooltipStyles).length&&K(q.tooltipStyles),Object.keys(q.tooltipArrowStyles).length&&J(q.tooltipArrowStyles),G(q.place))})};p.useEffect(()=>{Ft()},[de,E,k,O,i,s,f,x]),p.useEffect(()=>{if(!(L!=null&&L.current))return()=>null;const q=new ResizeObserver(()=>{Ft()});return q.observe(L.current),()=>{q.disconnect()}},[k,L==null?void 0:L.current]),p.useEffect(()=>{var q;const le=document.querySelector(`[id='${a}']`),Ee=[...Ie,le];E&&Ee.includes(E)||R((q=Ie[0])!==null&&q!==void 0?q:le)},[a,Ie,E]),p.useEffect(()=>()=>{D.current&&clearTimeout(D.current),U.current&&clearTimeout(U.current)},[]),p.useEffect(()=>{let q=o;if(!q&&e&&(q=`[data-tooltip-id='${e}']`),q)try{const le=Array.from(document.querySelectorAll(q));Xe(le)}catch{Xe([])}},[e,o]);const Ur=!w&&k&&de&&Object.keys(H).length>0;return Le?Y.createElement(d,{id:e,role:"tooltip",className:qr("react-tooltip",Zee,J1.tooltip,J1[n],t,`react-tooltip__place-${V}`,{[rte]:Ur,[Qee]:f==="fixed",[tte]:b}),style:{...O,...H,opacity:B!==void 0&&Ur?B:void 0},ref:j},k,Y.createElement(d,{className:qr("react-tooltip-arrow",Jee,J1.arrow,r,{[ete]:v}),style:Q,ref:M})):null},ate=({content:e})=>Y.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ote=({id:e,anchorId:t,anchorSelect:r,content:n,html:a,render:o,className:i,classNameArrow:s,variant:l="dark",place:u="top",offset:f=10,wrapper:c="div",children:d=null,events:h=["hover"],openOnClick:g=!1,positionStrategy:m="absolute",middlewares:w,delayShow:v=0,delayHide:b=0,float:_=!1,hidden:$=!1,noArrow:C=!1,clickable:O=!1,closeOnEsc:x=!1,closeOnScroll:S=!1,closeOnResize:A=!1,style:k,position:L,isOpen:P,border:N,opacity:E,setIsOpen:R,afterShow:F,afterHide:B})=>{const[j,M]=p.useState(n),[D,U]=p.useState(a),[V,G]=p.useState(u),[H,K]=p.useState(l),[Q,J]=p.useState(f),[de,ve]=p.useState(v),[Le,ue]=p.useState(b),[$e,Oe]=p.useState(_),[Me,at]=p.useState($),[Wt,Ie]=p.useState(c),[Xe,vt]=p.useState(h),[Br,mt]=p.useState(m),[hr,$t]=p.useState(null),{anchorRefs:Ht,activeAnchor:gn}=ID(e),xl=Ft=>Ft==null?void 0:Ft.getAttributeNames().reduce((Ur,q)=>{var le;return q.startsWith("data-tooltip-")&&(Ur[q.replace(/^data-tooltip-/,"")]=(le=Ft==null?void 0:Ft.getAttribute(q))!==null&&le!==void 0?le:null),Ur},{}),zo=Ft=>{const Ur={place:q=>{var le;G((le=q)!==null&&le!==void 0?le:u)},content:q=>{M(q??n)},html:q=>{U(q??a)},variant:q=>{var le;K((le=q)!==null&&le!==void 0?le:l)},offset:q=>{J(q===null?f:Number(q))},wrapper:q=>{var le;Ie((le=q)!==null&&le!==void 0?le:c)},events:q=>{const le=q==null?void 0:q.split(" ");vt(le??h)},"position-strategy":q=>{var le;mt((le=q)!==null&&le!==void 0?le:m)},"delay-show":q=>{ve(q===null?v:Number(q))},"delay-hide":q=>{ue(q===null?b:Number(q))},float:q=>{Oe(q===null?_:q==="true")},hidden:q=>{at(q===null?$:q==="true")}};Object.values(Ur).forEach(q=>q(null)),Object.entries(Ft).forEach(([q,le])=>{var Ee;(Ee=Ur[q])===null||Ee===void 0||Ee.call(Ur,le)})};p.useEffect(()=>{M(n)},[n]),p.useEffect(()=>{U(a)},[a]),p.useEffect(()=>{G(u)},[u]),p.useEffect(()=>{K(l)},[l]),p.useEffect(()=>{J(f)},[f]),p.useEffect(()=>{ve(v)},[v]),p.useEffect(()=>{ue(b)},[b]),p.useEffect(()=>{Oe(_)},[_]),p.useEffect(()=>{at($)},[$]),p.useEffect(()=>{mt(m)},[m]),p.useEffect(()=>{var Ft;const Ur=new Set(Ht);let q=r;if(!q&&e&&(q=`[data-tooltip-id='${e}']`),q)try{document.querySelectorAll(q).forEach(It=>{Ur.add({current:It})})}catch{}const le=document.querySelector(`[id='${t}']`);if(le&&Ur.add({current:le}),!Ur.size)return()=>null;const Ee=(Ft=hr??le)!==null&&Ft!==void 0?Ft:gn.current,zn=new MutationObserver(It=>{It.forEach(Gt=>{var Sl;if(!Ee||Gt.type!=="attributes"||!(!((Sl=Gt.attributeName)===null||Sl===void 0)&&Sl.startsWith("data-tooltip-")))return;const ls=xl(Ee);zo(ls)})}),Tt={attributes:!0,childList:!1,subtree:!1};if(Ee){const It=xl(Ee);zo(It),zn.observe(Ee,Tt)}return()=>{zn.disconnect()}},[Ht,gn,hr,t,r]),p.useEffect(()=>{k!=null&&k.border,N&&CSS.supports("border",`${N}`),k!=null&&k.opacity,E&&CSS.supports("opacity",`${E}`)},[]);let ss=d;const qu=p.useRef(null);if(o){const Ft=o({content:j??null,activeAnchor:hr});ss=Ft?Y.createElement("div",{ref:qu,className:"react-tooltip-content-wrapper"},Ft):null}else j&&(ss=j);D&&(ss=Y.createElement(ate,{content:D}));const gp={id:e,anchorId:t,anchorSelect:r,className:i,classNameArrow:s,content:ss,contentWrapperRef:qu,place:V,variant:H,offset:Q,wrapper:Wt,events:Xe,openOnClick:g,positionStrategy:Br,middlewares:w,delayShow:de,delayHide:Le,float:$e,hidden:Me,noArrow:C,clickable:O,closeOnEsc:x,closeOnScroll:S,closeOnResize:A,style:k,position:L,isOpen:P,border:N,opacity:E,setIsOpen:R,afterShow:F,afterHide:B,activeAnchor:hr,setActiveAnchor:Ft=>$t(Ft)};return Y.createElement(nte,{...gp})};J4({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),J4({css:` -.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`});const ite=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8"})}),ste=e=>I("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:[y("path",{fill:"currentColor",d:"M16 10.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5s.448-1.5 1-1.5s1 .672 1 1.5m-6 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S8.448 9 9 9s1 .672 1 1.5"}),y("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.943 1.25h.114c2.309 0 4.118 0 5.53.19c1.444.194 2.584.6 3.479 1.494c.895.895 1.3 2.035 1.494 3.48c.19 1.411.19 3.22.19 5.529V15A7.75 7.75 0 0 1 15 22.75h-3.057c-2.309 0-4.118 0-5.53-.19c-1.444-.194-2.584-.6-3.479-1.494c-.895-.895-1.3-2.035-1.494-3.48c-.19-1.411-.19-3.22-.19-5.529v-.114c0-2.309 0-4.118.19-5.53c.194-1.444.6-2.584 1.494-3.479c.895-.895 2.035-1.3 3.48-1.494c1.411-.19 3.22-.19 5.529-.19m-5.33 1.676c-1.278.172-2.049.5-2.618 1.069c-.57.57-.897 1.34-1.069 2.619c-.174 1.3-.176 3.008-.176 5.386s.002 4.086.176 5.386c.172 1.279.5 2.05 1.069 2.62c.57.569 1.34.896 2.619 1.068c1.3.174 3.008.176 5.386.176h2.25c.004-1.366.034-2.264.281-3.027a5.8 5.8 0 0 1 .741-1.496A5.76 5.76 0 0 1 12 17.75a5.77 5.77 0 0 1-3.447-1.148a.75.75 0 1 1 .894-1.204c.728.54 1.607.852 2.553.852s1.825-.313 2.553-.852a.75.75 0 0 1 1.183.744a5.75 5.75 0 0 1 2.487-1.61c.763-.248 1.66-.278 3.027-.282V12c0-2.378-.002-4.086-.176-5.386c-.172-1.279-.5-2.05-1.069-2.62c-.57-.569-1.34-.896-2.619-1.068c-1.3-.174-3.008-.176-5.386-.176s-4.086.002-5.386.176m14.592 12.825c-1.357.006-1.999.038-2.518.207a4.25 4.25 0 0 0-2.729 2.729c-.169.52-.2 1.161-.207 2.518a6.25 6.25 0 0 0 5.454-5.454",clipRule:"evenodd"})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ND=({className:e})=>I(Ne,{children:[I("div",{"data-tooltip-id":"sticker-btn",className:`w-max cursor-pointer rounded border-2 border-dashed border-gray-300 p-1.5 indent-0 text-sm font-bold text-gray-500 transition-all hover:border-indigo-500 hover:text-indigo-500 +*/const Dee="react-tooltip-core-styles",jee="react-tooltip-base-styles";function Z4({css:e,id:t=jee,type:r="base",ref:n}){var a,o;if(r==="core"&&typeof process<"u"&&(!((a=process==null?void 0:process.env)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_CORE_STYLES)||r!=="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;r==="core"&&(t=Dee),n||(n={});const{insertAt:i}=n;if(!e||typeof document>"u"||document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",i==="top"&&s.firstChild?s.insertBefore(l,s.firstChild):s.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}const Q4=(e,t,r)=>{let n=null;return function(...a){const o=()=>{n=null,r||e.apply(this,a)};r&&!n&&(e.apply(this,a),n=setTimeout(o,t)),r||(n&&clearTimeout(n),n=setTimeout(o,t))}},Fee="DEFAULT_TOOLTIP_ID",Bee={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Uee=p.createContext({getTooltipData:()=>Bee});function PD(e=Fee){return p.useContext(Uee).getTooltipData(e)}const zee=typeof window<"u"?p.useLayoutEffect:p.useEffect,Vee=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},J4=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Vee(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},eA=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:a=10,strategy:o="absolute",middlewares:i=[kee(Number(a)),Ree(),Pee({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const l=i;return r?(l.push(See({element:r,padding:5})),X4(e,t,{placement:n,strategy:o,middleware:l}).then(({x:u,y:f,placement:c,middlewareData:d})=>{var h,g;const m={left:`${u}px`,top:`${f}px`,border:s},{x:w,y:v}=(h=d.arrow)!==null&&h!==void 0?h:{x:0,y:0},b=(g={top:"bottom",right:"left",bottom:"top",left:"right"}[c.split("-")[0]])!==null&&g!==void 0?g:"bottom",_=s&&{top:{borderBottom:s,borderRight:s},right:{borderBottom:s,borderLeft:s},bottom:{borderTop:s,borderLeft:s},left:{borderTop:s,borderRight:s}}[c.split("-")[0]];let $=0;if(s){const C=`${s}`.match(/(\d+)px/);$=C!=null&&C[1]?Number(C[1]):1}return{tooltipStyles:m,tooltipArrowStyles:{left:w!=null?`${w}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",..._,[b]:`-${4+$}px`},place:c}})):X4(e,t,{placement:"bottom",strategy:o,middleware:l}).then(({x:u,y:f,placement:c})=>({tooltipStyles:{left:`${u}px`,top:`${f}px`},tooltipArrowStyles:{},place:c}))};var Wee="core-styles-module_tooltip__3vRRp",Hee="core-styles-module_fixed__pcSol",Gee="core-styles-module_arrow__cvMwQ",Kee="core-styles-module_noArrow__xock6",qee="core-styles-module_clickable__ZuTTB",Yee="core-styles-module_show__Nt9eE",J1={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Xee=({id:e,className:t,classNameArrow:r,variant:n="dark",anchorId:a,anchorSelect:o,place:i="top",offset:s=10,events:l=["hover"],openOnClick:u=!1,positionStrategy:f="absolute",middlewares:c,wrapper:d,delayShow:h=0,delayHide:g=0,float:m=!1,hidden:w=!1,noArrow:v=!1,clickable:b=!1,closeOnEsc:_=!1,closeOnScroll:$=!1,closeOnResize:C=!1,style:k,position:x,afterShow:S,afterHide:A,content:O,contentWrapperRef:L,isOpen:I,setIsOpen:N,activeAnchor:E,setActiveAnchor:R,border:F,opacity:B})=>{const j=p.useRef(null),M=p.useRef(null),D=p.useRef(null),U=p.useRef(null),[V,G]=p.useState(i),[H,K]=p.useState({}),[Q,J]=p.useState({}),[de,ve]=p.useState(!1),[Le,ue]=p.useState(!1),$e=p.useRef(!1),ke=p.useRef(null),{anchorRefs:Me,setActiveAnchor:at}=PD(e),Wt=p.useRef(!1),[Ie,Xe]=p.useState([]),vt=p.useRef(!1),Br=u||l.includes("click");zee(()=>(vt.current=!0,()=>{vt.current=!1}),[]),p.useEffect(()=>{if(!de){const q=setTimeout(()=>{ue(!1)},150);return()=>{clearTimeout(q)}}return()=>null},[de]);const mt=q=>{vt.current&&(q&&ue(!0),setTimeout(()=>{vt.current&&(N==null||N(q),I===void 0&&ve(q))},10))};p.useEffect(()=>{if(I===void 0)return()=>null;I&&ue(!0);const q=setTimeout(()=>{ve(I)},10);return()=>{clearTimeout(q)}},[I]),p.useEffect(()=>{de!==$e.current&&($e.current=de,de?S==null||S():A==null||A())},[de]);const hr=(q=g)=>{U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{Wt.current||mt(!1)},q)},$t=q=>{var le;if(!q)return;const Ee=(le=q.currentTarget)!==null&&le!==void 0?le:q.target;if(!(Ee!=null&&Ee.isConnected))return R(null),void at({current:null});h?(D.current&&clearTimeout(D.current),D.current=setTimeout(()=>{mt(!0)},h)):mt(!0),R(Ee),at({current:Ee}),U.current&&clearTimeout(U.current)},Ht=()=>{b?hr(g||100):g?hr():mt(!1),D.current&&clearTimeout(D.current)},gn=({x:q,y:le})=>{eA({place:i,offset:s,elementReference:{getBoundingClientRect:()=>({x:q,y:le,width:0,height:0,top:le,left:q,right:q,bottom:le})},tooltipReference:j.current,tooltipArrowReference:M.current,strategy:f,middlewares:c,border:F}).then(Ee=>{Object.keys(Ee.tooltipStyles).length&&K(Ee.tooltipStyles),Object.keys(Ee.tooltipArrowStyles).length&&J(Ee.tooltipArrowStyles),G(Ee.place)})},Sl=q=>{if(!q)return;const le=q,Ee={x:le.clientX,y:le.clientY};gn(Ee),ke.current=Ee},Vo=q=>{$t(q),g&&hr()},ss=q=>{var le;[document.querySelector(`[id='${a}']`),...Ie].some(Ee=>Ee==null?void 0:Ee.contains(q.target))||!((le=j.current)===null||le===void 0)&&le.contains(q.target)||(mt(!1),D.current&&clearTimeout(D.current))},qu=Q4($t,50,!0),gp=Q4(Ht,50,!0);p.useEffect(()=>{var q,le;const Ee=new Set(Me);Ie.forEach(Fa=>{Ee.add({current:Fa})});const zn=document.querySelector(`[id='${a}']`);zn&&Ee.add({current:zn});const Tt=()=>{mt(!1)},It=J4(E),Gt=J4(j.current);$&&(window.addEventListener("scroll",Tt),It==null||It.addEventListener("scroll",Tt),Gt==null||Gt.addEventListener("scroll",Tt)),C&&window.addEventListener("resize",Tt);const El=Fa=>{Fa.key==="Escape"&&mt(!1)};_&&window.addEventListener("keydown",El);const ls=[];Br?(window.addEventListener("click",ss),ls.push({event:"click",listener:Vo})):(ls.push({event:"mouseenter",listener:qu},{event:"mouseleave",listener:gp},{event:"focus",listener:qu},{event:"blur",listener:gp}),m&&ls.push({event:"mousemove",listener:Sl}));const A5=()=>{Wt.current=!0},R5=()=>{Wt.current=!1,Ht()};return b&&!Br&&((q=j.current)===null||q===void 0||q.addEventListener("mouseenter",A5),(le=j.current)===null||le===void 0||le.addEventListener("mouseleave",R5)),ls.forEach(({event:Fa,listener:Yu})=>{Ee.forEach(t1=>{var Xu;(Xu=t1.current)===null||Xu===void 0||Xu.addEventListener(Fa,Yu)})}),()=>{var Fa,Yu;$&&(window.removeEventListener("scroll",Tt),It==null||It.removeEventListener("scroll",Tt),Gt==null||Gt.removeEventListener("scroll",Tt)),C&&window.removeEventListener("resize",Tt),Br&&window.removeEventListener("click",ss),_&&window.removeEventListener("keydown",El),b&&!Br&&((Fa=j.current)===null||Fa===void 0||Fa.removeEventListener("mouseenter",A5),(Yu=j.current)===null||Yu===void 0||Yu.removeEventListener("mouseleave",R5)),ls.forEach(({event:t1,listener:Xu})=>{Ee.forEach(vW=>{var r1;(r1=vW.current)===null||r1===void 0||r1.removeEventListener(t1,Xu)})})}},[Le,Me,Ie,_,l]),p.useEffect(()=>{let q=o??"";!q&&e&&(q=`[data-tooltip-id='${e}']`);const le=new MutationObserver(Ee=>{const zn=[];Ee.forEach(Tt=>{if(Tt.type==="attributes"&&Tt.attributeName==="data-tooltip-id"&&Tt.target.getAttribute("data-tooltip-id")===e&&zn.push(Tt.target),Tt.type==="childList"&&(E&&[...Tt.removedNodes].some(It=>{var Gt;return!!(!((Gt=It==null?void 0:It.contains)===null||Gt===void 0)&&Gt.call(It,E))&&(ue(!1),mt(!1),R(null),D.current&&clearTimeout(D.current),U.current&&clearTimeout(U.current),!0)}),q))try{const It=[...Tt.addedNodes].filter(Gt=>Gt.nodeType===1);zn.push(...It.filter(Gt=>Gt.matches(q))),zn.push(...It.flatMap(Gt=>[...Gt.querySelectorAll(q)]))}catch{}}),zn.length&&Xe(Tt=>[...Tt,...zn])});return le.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{le.disconnect()}},[e,o,E]);const Ft=()=>{x?gn(x):m?ke.current&&gn(ke.current):eA({place:i,offset:s,elementReference:E,tooltipReference:j.current,tooltipArrowReference:M.current,strategy:f,middlewares:c,border:F}).then(q=>{vt.current&&(Object.keys(q.tooltipStyles).length&&K(q.tooltipStyles),Object.keys(q.tooltipArrowStyles).length&&J(q.tooltipArrowStyles),G(q.place))})};p.useEffect(()=>{Ft()},[de,E,O,k,i,s,f,x]),p.useEffect(()=>{if(!(L!=null&&L.current))return()=>null;const q=new ResizeObserver(()=>{Ft()});return q.observe(L.current),()=>{q.disconnect()}},[O,L==null?void 0:L.current]),p.useEffect(()=>{var q;const le=document.querySelector(`[id='${a}']`),Ee=[...Ie,le];E&&Ee.includes(E)||R((q=Ie[0])!==null&&q!==void 0?q:le)},[a,Ie,E]),p.useEffect(()=>()=>{D.current&&clearTimeout(D.current),U.current&&clearTimeout(U.current)},[]),p.useEffect(()=>{let q=o;if(!q&&e&&(q=`[data-tooltip-id='${e}']`),q)try{const le=Array.from(document.querySelectorAll(q));Xe(le)}catch{Xe([])}},[e,o]);const Ur=!w&&O&&de&&Object.keys(H).length>0;return Le?Y.createElement(d,{id:e,role:"tooltip",className:qr("react-tooltip",Wee,J1.tooltip,J1[n],t,`react-tooltip__place-${V}`,{[Yee]:Ur,[Hee]:f==="fixed",[qee]:b}),style:{...k,...H,opacity:B!==void 0&&Ur?B:void 0},ref:j},O,Y.createElement(d,{className:qr("react-tooltip-arrow",Gee,J1.arrow,r,{[Kee]:v}),style:Q,ref:M})):null},Zee=({content:e})=>Y.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Qee=({id:e,anchorId:t,anchorSelect:r,content:n,html:a,render:o,className:i,classNameArrow:s,variant:l="dark",place:u="top",offset:f=10,wrapper:c="div",children:d=null,events:h=["hover"],openOnClick:g=!1,positionStrategy:m="absolute",middlewares:w,delayShow:v=0,delayHide:b=0,float:_=!1,hidden:$=!1,noArrow:C=!1,clickable:k=!1,closeOnEsc:x=!1,closeOnScroll:S=!1,closeOnResize:A=!1,style:O,position:L,isOpen:I,border:N,opacity:E,setIsOpen:R,afterShow:F,afterHide:B})=>{const[j,M]=p.useState(n),[D,U]=p.useState(a),[V,G]=p.useState(u),[H,K]=p.useState(l),[Q,J]=p.useState(f),[de,ve]=p.useState(v),[Le,ue]=p.useState(b),[$e,ke]=p.useState(_),[Me,at]=p.useState($),[Wt,Ie]=p.useState(c),[Xe,vt]=p.useState(h),[Br,mt]=p.useState(m),[hr,$t]=p.useState(null),{anchorRefs:Ht,activeAnchor:gn}=PD(e),Sl=Ft=>Ft==null?void 0:Ft.getAttributeNames().reduce((Ur,q)=>{var le;return q.startsWith("data-tooltip-")&&(Ur[q.replace(/^data-tooltip-/,"")]=(le=Ft==null?void 0:Ft.getAttribute(q))!==null&&le!==void 0?le:null),Ur},{}),Vo=Ft=>{const Ur={place:q=>{var le;G((le=q)!==null&&le!==void 0?le:u)},content:q=>{M(q??n)},html:q=>{U(q??a)},variant:q=>{var le;K((le=q)!==null&&le!==void 0?le:l)},offset:q=>{J(q===null?f:Number(q))},wrapper:q=>{var le;Ie((le=q)!==null&&le!==void 0?le:c)},events:q=>{const le=q==null?void 0:q.split(" ");vt(le??h)},"position-strategy":q=>{var le;mt((le=q)!==null&&le!==void 0?le:m)},"delay-show":q=>{ve(q===null?v:Number(q))},"delay-hide":q=>{ue(q===null?b:Number(q))},float:q=>{ke(q===null?_:q==="true")},hidden:q=>{at(q===null?$:q==="true")}};Object.values(Ur).forEach(q=>q(null)),Object.entries(Ft).forEach(([q,le])=>{var Ee;(Ee=Ur[q])===null||Ee===void 0||Ee.call(Ur,le)})};p.useEffect(()=>{M(n)},[n]),p.useEffect(()=>{U(a)},[a]),p.useEffect(()=>{G(u)},[u]),p.useEffect(()=>{K(l)},[l]),p.useEffect(()=>{J(f)},[f]),p.useEffect(()=>{ve(v)},[v]),p.useEffect(()=>{ue(b)},[b]),p.useEffect(()=>{ke(_)},[_]),p.useEffect(()=>{at($)},[$]),p.useEffect(()=>{mt(m)},[m]),p.useEffect(()=>{var Ft;const Ur=new Set(Ht);let q=r;if(!q&&e&&(q=`[data-tooltip-id='${e}']`),q)try{document.querySelectorAll(q).forEach(It=>{Ur.add({current:It})})}catch{}const le=document.querySelector(`[id='${t}']`);if(le&&Ur.add({current:le}),!Ur.size)return()=>null;const Ee=(Ft=hr??le)!==null&&Ft!==void 0?Ft:gn.current,zn=new MutationObserver(It=>{It.forEach(Gt=>{var El;if(!Ee||Gt.type!=="attributes"||!(!((El=Gt.attributeName)===null||El===void 0)&&El.startsWith("data-tooltip-")))return;const ls=Sl(Ee);Vo(ls)})}),Tt={attributes:!0,childList:!1,subtree:!1};if(Ee){const It=Sl(Ee);Vo(It),zn.observe(Ee,Tt)}return()=>{zn.disconnect()}},[Ht,gn,hr,t,r]),p.useEffect(()=>{O!=null&&O.border,N&&CSS.supports("border",`${N}`),O!=null&&O.opacity,E&&CSS.supports("opacity",`${E}`)},[]);let ss=d;const qu=p.useRef(null);if(o){const Ft=o({content:j??null,activeAnchor:hr});ss=Ft?Y.createElement("div",{ref:qu,className:"react-tooltip-content-wrapper"},Ft):null}else j&&(ss=j);D&&(ss=Y.createElement(Zee,{content:D}));const gp={id:e,anchorId:t,anchorSelect:r,className:i,classNameArrow:s,content:ss,contentWrapperRef:qu,place:V,variant:H,offset:Q,wrapper:Wt,events:Xe,openOnClick:g,positionStrategy:Br,middlewares:w,delayShow:de,delayHide:Le,float:$e,hidden:Me,noArrow:C,clickable:k,closeOnEsc:x,closeOnScroll:S,closeOnResize:A,style:O,position:L,isOpen:I,border:N,opacity:E,setIsOpen:R,afterShow:F,afterHide:B,activeAnchor:hr,setActiveAnchor:Ft=>$t(Ft)};return Y.createElement(Xee,{...gp})};Z4({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),Z4({css:` +.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`});const Jee=e=>y("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:y("path",{fill:"currentColor",d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8"})}),ete=e=>P("svg",{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:[y("path",{fill:"currentColor",d:"M16 10.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5s.448-1.5 1-1.5s1 .672 1 1.5m-6 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S8.448 9 9 9s1 .672 1 1.5"}),y("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.943 1.25h.114c2.309 0 4.118 0 5.53.19c1.444.194 2.584.6 3.479 1.494c.895.895 1.3 2.035 1.494 3.48c.19 1.411.19 3.22.19 5.529V15A7.75 7.75 0 0 1 15 22.75h-3.057c-2.309 0-4.118 0-5.53-.19c-1.444-.194-2.584-.6-3.479-1.494c-.895-.895-1.3-2.035-1.494-3.48c-.19-1.411-.19-3.22-.19-5.529v-.114c0-2.309 0-4.118.19-5.53c.194-1.444.6-2.584 1.494-3.479c.895-.895 2.035-1.3 3.48-1.494c1.411-.19 3.22-.19 5.529-.19m-5.33 1.676c-1.278.172-2.049.5-2.618 1.069c-.57.57-.897 1.34-1.069 2.619c-.174 1.3-.176 3.008-.176 5.386s.002 4.086.176 5.386c.172 1.279.5 2.05 1.069 2.62c.57.569 1.34.896 2.619 1.068c1.3.174 3.008.176 5.386.176h2.25c.004-1.366.034-2.264.281-3.027a5.8 5.8 0 0 1 .741-1.496A5.76 5.76 0 0 1 12 17.75a5.77 5.77 0 0 1-3.447-1.148a.75.75 0 1 1 .894-1.204c.728.54 1.607.852 2.553.852s1.825-.313 2.553-.852a.75.75 0 0 1 1.183.744a5.75 5.75 0 0 1 2.487-1.61c.763-.248 1.66-.278 3.027-.282V12c0-2.378-.002-4.086-.176-5.386c-.172-1.279-.5-2.05-1.069-2.62c-.57-.569-1.34-.896-2.619-1.068c-1.3-.174-3.008-.176-5.386-.176s-4.086.002-5.386.176m14.592 12.825c-1.357.006-1.999.038-2.518.207a4.25 4.25 0 0 0-2.729 2.729c-.169.52-.2 1.161-.207 2.518a6.25 6.25 0 0 0 5.454-5.454",clipRule:"evenodd"})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ID=({className:e})=>P(Ne,{children:[P("div",{"data-tooltip-id":"sticker-btn",className:`w-max cursor-pointer rounded border-2 border-dashed border-gray-300 p-1.5 indent-0 text-sm font-bold text-gray-500 transition-all hover:border-indigo-500 hover:text-indigo-500 dark:text-gray-300 - ${e}`,children:[y(ste,{className:"mb-[2px] mr-2 inline-block text-sm "}),"查看贴纸"]}),I(ote,{id:"sticker-btn",opacity:1,className:`flex flex-col items-center justify-center gap-2 rounded-lg !bg-gray-100 !p-4 shadow-lg shadow-gray-300 - dark:!bg-gray-800 dark:text-gray-300 dark:shadow-lg dark:shadow-gray-700`,children:[I("div",{className:"flex gap-2",children:[y("img",{src:Aee,alt:"alipay",className:" h-44 rounded shadow-lg shadow-gray-300 dark:shadow-gray-700"}),y("img",{src:Tee,alt:"alipay",className:" h-44 rounded shadow-lg shadow-gray-300 dark:shadow-gray-700"})]}),I("span",{className:"mt-3 text-xs font-bold text-gray-500",children:[y(ite,{className:"mb-[3px] mr-1 inline-block"}),"此贴纸非商品,仅用于感谢您的捐赠,不可用于任何商业用途"]})]})]}),lte=""+new URL("redBook-code-376dffeb.jpg",import.meta.url).href;var cte=Object.defineProperty,ute=(e,t,r)=>t in e?cte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eb=(e,t,r)=>(ute(e,typeof t!="symbol"?t+"":t,r),r);let dte=class{constructor(){eb(this,"current",this.detect()),eb(this,"handoffState","pending"),eb(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},lo=new dte,gt=(e,t)=>{lo.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function dr(e){let t=p.useRef(e);return gt(()=>{t.current=e},[e]),t}function LD(e,t){let[r,n]=p.useState(e),a=dr(e);return gt(()=>n(a.current),[a,n,...t]),r}function Ru(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function _o(){let e=[],t={addEventListener(r,n,a,o){return r.addEventListener(n,a,o),t.add(()=>r.removeEventListener(n,a,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return Ru(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,a){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:a}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=_o();return r(n),this.add(()=>n.dispose())},add(r){return e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let a of e.splice(n,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function Vi(){let[e]=p.useState(_o);return p.useEffect(()=>()=>e.dispose(),[e]),e}let re=function(e){let t=dr(e);return Y.useCallback((...r)=>t.current(...r),[t])};function Ou(){let[e,t]=p.useState(lo.isHandoffComplete);return e&&lo.isHandoffComplete===!1&&t(!1),p.useEffect(()=>{e!==!0&&t(!0)},[e]),p.useEffect(()=>lo.handoff(),[]),e}var nA;let Pt=(nA=Y.useId)!=null?nA:function(){let e=Ou(),[t,r]=Y.useState(e?()=>lo.nextId():null);return gt(()=>{t===null&&r(lo.nextId())},[t]),t!=null?""+t:void 0};function Re(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Re),n}function Rh(e){return lo.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let d2=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var et=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(et||{}),to=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(to||{}),fte=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(fte||{});function V0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d2)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var W0=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(W0||{});function JE(e,t=0){var r;return e===((r=Rh(e))==null?void 0:r.body)?!1:Re(t,{[0](){return e.matches(d2)},[1](){let n=e;for(;n!==null;){if(n.matches(d2))return!0;n=n.parentElement}return!1}})}var hte=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(hte||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ws(e){e==null||e.focus({preventScroll:!0})}let pte=["textarea","input"].join(",");function gte(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,pte))!=null?r:!1}function Ns(e,t=r=>r){return e.slice().sort((r,n)=>{let a=t(r),o=t(n);if(a===null||o===null)return 0;let i=a.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function qt(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?r?Ns(e):e:V0(e);a.length>0&&i.length>1&&(i=i.filter(h=>!a.includes(h))),n=n??o.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(n))-1;if(t&4)return Math.max(0,i.indexOf(n))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,c=i.length,d;do{if(f>=c||f+c<=0)return 0;let h=l+f;if(t&16)h=(h+c)%c;else{if(h<0)return 3;if(h>=c)return 1}d=i[h],d==null||d.focus(u),f+=s}while(d!==o.activeElement);return t&6&>e(d)&&d.select(),2}function tb(e,t,r){let n=dr(t);p.useEffect(()=>{function a(o){n.current(o)}return document.addEventListener(e,a,r),()=>document.removeEventListener(e,a,r)},[e,r])}function eC(e,t,r=!0){let n=p.useRef(!1);p.useEffect(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);function a(i,s){if(!n.current||i.defaultPrevented)return;let l=function f(c){return typeof c=="function"?f(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e),u=s(i);if(u!==null&&u.getRootNode().contains(u)){for(let f of l){if(f===null)continue;let c=f instanceof HTMLElement?f:f.current;if(c!=null&&c.contains(u)||i.composed&&i.composedPath().includes(c))return}return!JE(u,W0.Loose)&&u.tabIndex!==-1&&i.preventDefault(),t(i,u)}}let o=p.useRef(null);tb("mousedown",i=>{var s,l;n.current&&(o.current=((l=(s=i.composedPath)==null?void 0:s.call(i))==null?void 0:l[0])||i.target)},!0),tb("click",i=>{o.current&&(a(i,()=>o.current),o.current=null)},!0),tb("blur",i=>a(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function aA(e){var t;if(e.type)return e.type;let r=(t=e.as)!=null?t:"button";if(typeof r=="string"&&r.toLowerCase()==="button")return"button"}function H0(e,t){let[r,n]=p.useState(()=>aA(e));return gt(()=>{n(aA(e))},[e.type,e.as]),gt(()=>{r||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")},[r,t]),r}let MD=Symbol();function DD(e,t=!0){return Object.assign(e,{[MD]:t})}function We(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let r=re(n=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(n):a.current=n)});return e.every(n=>n==null||(n==null?void 0:n[MD]))?void 0:r}function vte(e){throw new Error("Unexpected object: "+e)}var Pr=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Pr||{});function mte(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=n??-1,o=(()=>{switch(e.focus){case 0:return r.findIndex(i=>!t.resolveDisabled(i));case 1:{let i=r.slice().reverse().findIndex((s,l,u)=>a!==-1&&u.length-l-1>=a?!1:!t.resolveDisabled(s));return i===-1?i:r.length-1-i}case 2:return r.findIndex((i,s)=>s<=a?!1:!t.resolveDisabled(i));case 3:{let i=r.slice().reverse().findIndex(s=>!t.resolveDisabled(s));return i===-1?i:r.length-1-i}case 4:return r.findIndex(i=>t.resolveId(i)===e.id);case 5:return null;default:vte(e)}})();return o===-1?n:o}function f2(...e){return e.filter(Boolean).join(" ")}var Pn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Pn||{}),ro=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ro||{});function Fe({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:i}){let s=jD(t,e);if(o)return Xp(s,r,n,i);let l=a??0;if(l&2){let{static:u=!1,...f}=s;if(u)return Xp(f,r,n,i)}if(l&1){let{unmount:u=!0,...f}=s;return Re(u?0:1,{[0](){return null},[1](){return Xp({...f,hidden:!0,style:{display:"none"}},r,n,i)}})}return Xp(s,r,n,i)}function Xp(e,t={},r,n){let{as:a=r,children:o,refName:i="ref",...s}=rb(e,["unmount","static"]),l=e.ref!==void 0?{[i]:e.ref}:{},u=typeof o=="function"?o(t):o;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t));let f={};if(t){let c=!1,d=[];for(let[h,g]of Object.entries(t))typeof g=="boolean"&&(c=!0),g===!0&&d.push(h);c&&(f["data-headlessui-state"]=d.join(" "))}if(a===p.Fragment&&Object.keys(Sm(s)).length>0){if(!p.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(g=>` - ${g}`).join(` + ${e}`,children:[y(ete,{className:"mb-[2px] mr-2 inline-block text-sm "}),"查看贴纸"]}),P(Qee,{id:"sticker-btn",opacity:1,className:`flex flex-col items-center justify-center gap-2 rounded-lg !bg-gray-100 !p-4 shadow-lg shadow-gray-300 + dark:!bg-gray-800 dark:text-gray-300 dark:shadow-lg dark:shadow-gray-700`,children:[P("div",{className:"flex gap-2",children:[y("img",{src:_ee,alt:"alipay",className:" h-44 rounded shadow-lg shadow-gray-300 dark:shadow-gray-700"}),y("img",{src:wee,alt:"alipay",className:" h-44 rounded shadow-lg shadow-gray-300 dark:shadow-gray-700"})]}),P("span",{className:"mt-3 text-xs font-bold text-gray-500",children:[y(Jee,{className:"mb-[3px] mr-1 inline-block"}),"此贴纸非商品,仅用于感谢您的捐赠,不可用于任何商业用途"]})]})]}),tte=""+new URL("redBook-code-376dffeb.jpg",import.meta.url).href;var rte=Object.defineProperty,nte=(e,t,r)=>t in e?rte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eb=(e,t,r)=>(nte(e,typeof t!="symbol"?t+"":t,r),r);let ate=class{constructor(){eb(this,"current",this.detect()),eb(this,"handoffState","pending"),eb(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},co=new ate,gt=(e,t)=>{co.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function dr(e){let t=p.useRef(e);return gt(()=>{t.current=e},[e]),t}function ND(e,t){let[r,n]=p.useState(e),a=dr(e);return gt(()=>n(a.current),[a,n,...t]),r}function Ru(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function $o(){let e=[],t={addEventListener(r,n,a,o){return r.addEventListener(n,a,o),t.add(()=>r.removeEventListener(n,a,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return Ru(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,a){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:a}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=$o();return r(n),this.add(()=>n.dispose())},add(r){return e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let a of e.splice(n,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function Vi(){let[e]=p.useState($o);return p.useEffect(()=>()=>e.dispose(),[e]),e}let re=function(e){let t=dr(e);return Y.useCallback((...r)=>t.current(...r),[t])};function ku(){let[e,t]=p.useState(co.isHandoffComplete);return e&&co.isHandoffComplete===!1&&t(!1),p.useEffect(()=>{e!==!0&&t(!0)},[e]),p.useEffect(()=>co.handoff(),[]),e}var tA;let Pt=(tA=Y.useId)!=null?tA:function(){let e=ku(),[t,r]=Y.useState(e?()=>co.nextId():null);return gt(()=>{t===null&&r(co.nextId())},[t]),t!=null?""+t:void 0};function Re(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Re),n}function Rh(e){return co.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let d2=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var et=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(et||{}),ro=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ro||{}),ote=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ote||{});function V0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d2)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var W0=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(W0||{});function JE(e,t=0){var r;return e===((r=Rh(e))==null?void 0:r.body)?!1:Re(t,{[0](){return e.matches(d2)},[1](){let n=e;for(;n!==null;){if(n.matches(d2))return!0;n=n.parentElement}return!1}})}var ite=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ite||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ws(e){e==null||e.focus({preventScroll:!0})}let ste=["textarea","input"].join(",");function lte(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,ste))!=null?r:!1}function Ns(e,t=r=>r){return e.slice().sort((r,n)=>{let a=t(r),o=t(n);if(a===null||o===null)return 0;let i=a.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function qt(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?r?Ns(e):e:V0(e);a.length>0&&i.length>1&&(i=i.filter(h=>!a.includes(h))),n=n??o.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(n))-1;if(t&4)return Math.max(0,i.indexOf(n))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,c=i.length,d;do{if(f>=c||f+c<=0)return 0;let h=l+f;if(t&16)h=(h+c)%c;else{if(h<0)return 3;if(h>=c)return 1}d=i[h],d==null||d.focus(u),f+=s}while(d!==o.activeElement);return t&6&<e(d)&&d.select(),2}function tb(e,t,r){let n=dr(t);p.useEffect(()=>{function a(o){n.current(o)}return document.addEventListener(e,a,r),()=>document.removeEventListener(e,a,r)},[e,r])}function eC(e,t,r=!0){let n=p.useRef(!1);p.useEffect(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);function a(i,s){if(!n.current||i.defaultPrevented)return;let l=function f(c){return typeof c=="function"?f(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e),u=s(i);if(u!==null&&u.getRootNode().contains(u)){for(let f of l){if(f===null)continue;let c=f instanceof HTMLElement?f:f.current;if(c!=null&&c.contains(u)||i.composed&&i.composedPath().includes(c))return}return!JE(u,W0.Loose)&&u.tabIndex!==-1&&i.preventDefault(),t(i,u)}}let o=p.useRef(null);tb("mousedown",i=>{var s,l;n.current&&(o.current=((l=(s=i.composedPath)==null?void 0:s.call(i))==null?void 0:l[0])||i.target)},!0),tb("click",i=>{o.current&&(a(i,()=>o.current),o.current=null)},!0),tb("blur",i=>a(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function rA(e){var t;if(e.type)return e.type;let r=(t=e.as)!=null?t:"button";if(typeof r=="string"&&r.toLowerCase()==="button")return"button"}function H0(e,t){let[r,n]=p.useState(()=>rA(e));return gt(()=>{n(rA(e))},[e.type,e.as]),gt(()=>{r||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")},[r,t]),r}let LD=Symbol();function MD(e,t=!0){return Object.assign(e,{[LD]:t})}function We(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let r=re(n=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(n):a.current=n)});return e.every(n=>n==null||(n==null?void 0:n[LD]))?void 0:r}function cte(e){throw new Error("Unexpected object: "+e)}var Pr=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Pr||{});function ute(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=n??-1,o=(()=>{switch(e.focus){case 0:return r.findIndex(i=>!t.resolveDisabled(i));case 1:{let i=r.slice().reverse().findIndex((s,l,u)=>a!==-1&&u.length-l-1>=a?!1:!t.resolveDisabled(s));return i===-1?i:r.length-1-i}case 2:return r.findIndex((i,s)=>s<=a?!1:!t.resolveDisabled(i));case 3:{let i=r.slice().reverse().findIndex(s=>!t.resolveDisabled(s));return i===-1?i:r.length-1-i}case 4:return r.findIndex(i=>t.resolveId(i)===e.id);case 5:return null;default:cte(e)}})();return o===-1?n:o}function f2(...e){return e.filter(Boolean).join(" ")}var Pn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Pn||{}),no=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(no||{});function Fe({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:i}){let s=DD(t,e);if(o)return Xp(s,r,n,i);let l=a??0;if(l&2){let{static:u=!1,...f}=s;if(u)return Xp(f,r,n,i)}if(l&1){let{unmount:u=!0,...f}=s;return Re(u?0:1,{[0](){return null},[1](){return Xp({...f,hidden:!0,style:{display:"none"}},r,n,i)}})}return Xp(s,r,n,i)}function Xp(e,t={},r,n){let{as:a=r,children:o,refName:i="ref",...s}=rb(e,["unmount","static"]),l=e.ref!==void 0?{[i]:e.ref}:{},u=typeof o=="function"?o(t):o;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t));let f={};if(t){let c=!1,d=[];for(let[h,g]of Object.entries(t))typeof g=="boolean"&&(c=!0),g===!0&&d.push(h);c&&(f["data-headlessui-state"]=d.join(" "))}if(a===p.Fragment&&Object.keys(Sm(s)).length>0){if(!p.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(g=>` - ${g}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(` `)].join(` -`));let c=u.props,d=typeof(c==null?void 0:c.className)=="function"?(...g)=>f2(c==null?void 0:c.className(...g),s.className):f2(c==null?void 0:c.className,s.className),h=d?{className:d}:{};return p.cloneElement(u,Object.assign({},jD(u.props,Sm(rb(s,["ref"]))),f,l,yte(u.ref,l.ref),h))}return p.createElement(a,Object.assign({},rb(s,["ref"]),a!==p.Fragment&&l,a!==p.Fragment&&f),u)}function yte(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}}function jD(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let a in n)a.startsWith("on")&&typeof n[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(n[a])):t[a]=n[a];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](a,...o){let i=r[n];for(let s of i){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;s(a,...o)}}});return t}function Be(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Sm(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function rb(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Oh(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(t==null?void 0:t.getAttribute("disabled"))==="";return n&&bte(r)?!1:n}function bte(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function FD(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))UD(r,BD(t,n),a);return r}function BD(e,t){return e?e+"["+t+"]":t}function UD(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())UD(e,BD(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):typeof r=="boolean"?e.push([t,r?"1":"0"]):typeof r=="string"?e.push([t,r]):typeof r=="number"?e.push([t,`${r}`]):r==null?e.push([t,""]):FD(r,t,e)}function wte(e){var t;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let n of r.elements)if(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image"){n.click();return}}}let _te="div";var Ca=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ca||{});function $te(e,t){let{features:r=1,...n}=e,a={ref:t,"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Fe({ourProps:a,theirProps:n,slot:{},defaultTag:_te,name:"Hidden"})}let Ta=Be($te),tC=p.createContext(null);tC.displayName="OpenClosedContext";var ut=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ut||{});function ku(){return p.useContext(tC)}function rC({value:e,children:t}){return Y.createElement(tC.Provider,{value:e},t)}var ye=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ye||{});function zD(e,t,r){let[n,a]=p.useState(r),o=e!==void 0,i=p.useRef(o),s=p.useRef(!1),l=p.useRef(!1);return o&&!i.current&&!s.current?(s.current=!0,i.current=o):!o&&i.current&&!l.current&&(l.current=!0,i.current=o),[o?e:n,re(u=>(o||a(u),t==null?void 0:t(u)))]}function nC(e,t){let r=p.useRef([]),n=re(e);p.useEffect(()=>{let a=[...r.current];for(let[o,i]of t.entries())if(r.current[o]!==i){let s=n(t,a);return r.current=t,s}},[n,...t])}function oA(e){return[e.screenX,e.screenY]}function xte(){let e=p.useRef([-1,-1]);return{wasMoved(t){let r=oA(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=oA(t)}}}function Ste(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Ete(e,t,r){let n=dr(t);p.useEffect(()=>{function a(o){n.current(o)}return window.addEventListener(e,a,r),()=>window.removeEventListener(e,a,r)},[e,r])}var Xr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Xr||{});function aC(){let e=p.useRef(0);return Ete("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function kh(){let e=p.useRef(!1);return gt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vl(...e){return p.useMemo(()=>Rh(...e),[...e])}function oC(e,t,r,n){let a=dr(r);p.useEffect(()=>{e=e??window;function o(i){a.current(i)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function Cte(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function VD(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}let Tte="div";var WD=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(WD||{});function Ate(e,t){let r=p.useRef(null),n=We(r,t),{initialFocus:a,containers:o,features:i=30,...s}=e;Ou()||(i=1);let l=vl(r);kte({ownerDocument:l},!!(i&16));let u=Pte({ownerDocument:l,container:r,initialFocus:a},!!(i&2));Ite({ownerDocument:l,container:r,containers:o,previousActiveElement:u},!!(i&8));let f=aC(),c=re(m=>{let w=r.current;w&&(v=>v())(()=>{Re(f.current,{[Xr.Forwards]:()=>{qt(w,et.First,{skipElements:[m.relatedTarget]})},[Xr.Backwards]:()=>{qt(w,et.Last,{skipElements:[m.relatedTarget]})}})})}),d=Vi(),h=p.useRef(!1),g={ref:n,onKeyDown(m){m.key=="Tab"&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(m){let w=VD(o);r.current instanceof HTMLElement&&w.add(r.current);let v=m.relatedTarget;v instanceof HTMLElement&&v.dataset.headlessuiFocusGuard!=="true"&&(HD(w,v)||(h.current?qt(r.current,Re(f.current,{[Xr.Forwards]:()=>et.Next,[Xr.Backwards]:()=>et.Previous})|et.WrapAround,{relativeTo:m.target}):m.target instanceof HTMLElement&&Ws(m.target)))}};return Y.createElement(Y.Fragment,null,!!(i&4)&&Y.createElement(Ta,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Ca.Focusable}),Fe({ourProps:g,theirProps:s,defaultTag:Tte,name:"FocusTrap"}),!!(i&4)&&Y.createElement(Ta,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Ca.Focusable}))}let Rte=Be(Ate),cd=Object.assign(Rte,{features:WD}),oi=[];Cte(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&oi[0]!==t.target&&(oi.unshift(t.target),oi=oi.filter(r=>r!=null&&r.isConnected),oi.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ote(e=!0){let t=p.useRef(oi.slice());return nC(([r],[n])=>{n===!0&&r===!1&&Ru(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=oi.slice())},[e,oi,t]),re(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function kte({ownerDocument:e},t){let r=Ote(t);nC(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Ws(r())},[t]);let n=p.useRef(!1);p.useEffect(()=>(n.current=!1,()=>{n.current=!0,Ru(()=>{n.current&&Ws(r())})}),[])}function Pte({ownerDocument:e,container:t,initialFocus:r},n){let a=p.useRef(null),o=kh();return nC(()=>{if(!n)return;let i=t.current;i&&Ru(()=>{if(!o.current)return;let s=e==null?void 0:e.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===s){a.current=s;return}}else if(i.contains(s)){a.current=s;return}r!=null&&r.current?Ws(r.current):(qt(i,et.First),to.Error),a.current=e==null?void 0:e.activeElement})},[n]),a}function Ite({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){let o=kh();oC(e==null?void 0:e.defaultView,"focus",i=>{if(!a||!o.current)return;let s=VD(r);t.current instanceof HTMLElement&&s.add(t.current);let l=n.current;if(!l)return;let u=i.target;u&&u instanceof HTMLElement?HD(s,u)?(n.current=u,Ws(u)):(i.preventDefault(),i.stopPropagation(),Ws(l)):Ws(n.current)},!0)}function HD(e,t){for(let r of e)if(r.contains(t))return!0;return!1}let GD=p.createContext(!1);function Nte(){return p.useContext(GD)}function h2(e){return Y.createElement(GD.Provider,{value:e.force},e.children)}function Lte(e){let t=Nte(),r=p.useContext(KD),n=vl(e),[a,o]=p.useState(()=>{if(!t&&r!==null||lo.isServer)return null;let i=n==null?void 0:n.getElementById("headlessui-portal-root");if(i)return i;if(n===null)return null;let s=n.createElement("div");return s.setAttribute("id","headlessui-portal-root"),n.body.appendChild(s)});return p.useEffect(()=>{a!==null&&(n!=null&&n.body.contains(a)||n==null||n.body.appendChild(a))},[a,n]),p.useEffect(()=>{t||r!==null&&o(r.current)},[r,o,t]),a}let Mte=p.Fragment;function Dte(e,t){let r=e,n=p.useRef(null),a=We(DD(f=>{n.current=f}),t),o=vl(n),i=Lte(n),[s]=p.useState(()=>{var f;return lo.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=Ou(),u=p.useRef(!1);return gt(()=>{if(u.current=!1,!(!i||!s))return i.contains(s)||(s.setAttribute("data-headlessui-portal",""),i.appendChild(s)),()=>{u.current=!0,Ru(()=>{var f;u.current&&(!i||!s||(s instanceof Node&&i.contains(s)&&i.removeChild(s),i.childNodes.length<=0&&((f=i.parentElement)==null||f.removeChild(i))))})}},[i,s]),l?!i||!s?null:Xi.createPortal(Fe({ourProps:{ref:a},theirProps:r,defaultTag:Mte,name:"Portal"}),s):null}let jte=p.Fragment,KD=p.createContext(null);function Fte(e,t){let{target:r,...n}=e,a={ref:We(t)};return Y.createElement(KD.Provider,{value:r},Fe({ourProps:a,theirProps:n,defaultTag:jte,name:"Popover.Group"}))}let Bte=Be(Dte),Ute=Be(Fte),p2=Object.assign(Bte,{Group:Ute}),qD=p.createContext(null);function YD(){let e=p.useContext(qD);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,YD),t}return e}function XD(){let[e,t]=p.useState([]);return[e.length>0?e.join(" "):void 0,p.useMemo(()=>function(r){let n=re(o=>(t(i=>[...i,o]),()=>t(i=>{let s=i.slice(),l=s.indexOf(o);return l!==-1&&s.splice(l,1),s}))),a=p.useMemo(()=>({register:n,slot:r.slot,name:r.name,props:r.props}),[n,r.slot,r.name,r.props]);return Y.createElement(qD.Provider,{value:a},r.children)},[t])]}let zte="p";function Vte(e,t){let r=Pt(),{id:n=`headlessui-description-${r}`,...a}=e,o=YD(),i=We(t);gt(()=>o.register(n),[n,o.register]);let s={ref:i,...o.props,id:n};return Fe({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:zte,name:o.name||"Description"})}let Wte=Be(Vte),ZD=Object.assign(Wte,{}),iC=p.createContext(()=>{});iC.displayName="StackContext";var g2=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(g2||{});function Hte(){return p.useContext(iC)}function Gte({children:e,onUpdate:t,type:r,element:n,enabled:a}){let o=Hte(),i=re((...s)=>{t==null||t(...s),o(...s)});return gt(()=>{let s=a===void 0||a===!0;return s&&i(0,r,n),()=>{s&&i(1,r,n)}},[i,r,n,a]),Y.createElement(iC.Provider,{value:i},e)}function Kte(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const qte=typeof Object.is=="function"?Object.is:Kte,{useState:Yte,useEffect:Xte,useLayoutEffect:Zte,useDebugValue:Qte}=qs;function Jte(e,t,r){const n=t(),[{inst:a},o]=Yte({inst:{value:n,getSnapshot:t}});return Zte(()=>{a.value=n,a.getSnapshot=t,nb(a)&&o({inst:a})},[e,n,t]),Xte(()=>(nb(a)&&o({inst:a}),e(()=>{nb(a)&&o({inst:a})})),[e]),Qte(n),n}function nb(e){const t=e.getSnapshot,r=e.value;try{const n=t();return!qte(r,n)}catch{return!0}}function ere(e,t,r){return t()}const tre=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rre=!tre,nre=rre?ere:Jte,are="useSyncExternalStore"in qs?(e=>e.useSyncExternalStore)(qs):nre;function ore(e){return are(e.subscribe,e.getSnapshot,e.getSnapshot)}function ire(e,t){let r=e(),n=new Set;return{getSnapshot(){return r},subscribe(a){return n.add(a),()=>n.delete(a)},dispatch(a,...o){let i=t[a].call(r,...o);i&&(r=i,n.forEach(s=>s()))}}}function sre(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=((r=t.defaultView)!=null?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function lre(){if(!Ste())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:n}){function a(i){return n.containers.flatMap(s=>s()).some(s=>s.contains(i))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let o=null;r.addEventListener(t,"click",i=>{if(i.target instanceof HTMLElement)try{let s=i.target.closest("a");if(!s)return;let{hash:l}=new URL(s.href),u=t.querySelector(l);u&&!a(u)&&(o=u)}catch{}},!0),r.addEventListener(t,"touchmove",i=>{i.target instanceof HTMLElement&&!a(i.target)&&i.preventDefault()},{passive:!1}),r.add(()=>{window.scrollTo(0,window.pageYOffset+e),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})}}}function cre(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function ure(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let Ls=ire(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:_o(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:ure(r)},a=[lre(),sre(),cre()];a.forEach(({before:o})=>o==null?void 0:o(n)),a.forEach(({after:o})=>o==null?void 0:o(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Ls.subscribe(()=>{let e=Ls.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let n=t.get(r.doc)==="hidden",a=r.count!==0;(a&&!n||!a&&n)&&Ls.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&Ls.dispatch("TEARDOWN",r)}});function dre(e,t,r){let n=ore(Ls),a=e?n.get(e):void 0,o=a?a.count>0:!1;return gt(()=>{if(!(!e||!t))return Ls.dispatch("PUSH",e,r),()=>Ls.dispatch("POP",e,r)},[t,e]),o}let ab=new Map,ud=new Map;function iA(e,t=!0){gt(()=>{var r;if(!t)return;let n=typeof e=="function"?e():e.current;if(!n)return;function a(){var i;if(!n)return;let s=(i=ud.get(n))!=null?i:1;if(s===1?ud.delete(n):ud.set(n,s-1),s!==1)return;let l=ab.get(n);l&&(l["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",l["aria-hidden"]),n.inert=l.inert,ab.delete(n))}let o=(r=ud.get(n))!=null?r:0;return ud.set(n,o+1),o!==0||(ab.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),a},[e,t])}var fre=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(fre||{}),hre=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(hre||{});let pre={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Em=p.createContext(null);Em.displayName="DialogContext";function Ph(e){let t=p.useContext(Em);if(t===null){let r=new Error(`<${e} /> is missing a parent

component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ph),r}return t}function gre(e,t,r=()=>[document.body]){dre(e,t,n=>{var a;return{containers:[...(a=n.containers)!=null?a:[],r]}})}function vre(e,t){return Re(t.type,pre,e,t)}let mre="div",yre=Pn.RenderStrategy|Pn.Static;function bre(e,t){let r=Pt(),{id:n=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:i,__demoMode:s=!1,...l}=e,[u,f]=p.useState(0),c=ku();a===void 0&&c!==null&&(a=(c&ut.Open)===ut.Open);let d=p.useRef(null),h=We(d,t),g=p.useRef(null),m=vl(d),w=e.hasOwnProperty("open")||c!==null,v=e.hasOwnProperty("onClose");if(!w&&!v)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!w)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!v)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof a!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let b=a?0:1,[_,$]=p.useReducer(vre,{titleId:null,descriptionId:null,panelRef:p.createRef()}),C=re(()=>o(!1)),O=re(K=>$({type:0,id:K})),x=Ou()?s?!1:b===0:!1,S=u>1,A=p.useContext(Em)!==null,k=S?"parent":"leaf",L=c!==null?(c&ut.Closing)===ut.Closing:!1,P=(()=>A||L?!1:x)(),N=p.useCallback(()=>{var K,Q;return(Q=Array.from((K=m==null?void 0:m.querySelectorAll("body > *"))!=null?K:[]).find(J=>J.id==="headlessui-portal-root"?!1:J.contains(g.current)&&J instanceof HTMLElement))!=null?Q:null},[g]);iA(N,P);let E=(()=>S?!0:x)(),R=p.useCallback(()=>{var K,Q;return(Q=Array.from((K=m==null?void 0:m.querySelectorAll("[data-headlessui-portal]"))!=null?K:[]).find(J=>J.contains(g.current)&&J instanceof HTMLElement))!=null?Q:null},[g]);iA(R,E);let F=re(()=>{var K,Q;return[...Array.from((K=m==null?void 0:m.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))!=null?K:[]).filter(J=>!(J===document.body||J===document.head||!(J instanceof HTMLElement)||J.contains(g.current)||_.panelRef.current&&J.contains(_.panelRef.current))),(Q=_.panelRef.current)!=null?Q:d.current]}),B=(()=>!(!x||S))();eC(()=>F(),C,B);let j=(()=>!(S||b!==0))();oC(m==null?void 0:m.defaultView,"keydown",K=>{j&&(K.defaultPrevented||K.key===ye.Escape&&(K.preventDefault(),K.stopPropagation(),C()))});let M=(()=>!(L||b!==0||A))();gre(m,M,F),p.useEffect(()=>{if(b!==0||!d.current)return;let K=new ResizeObserver(Q=>{for(let J of Q){let de=J.target.getBoundingClientRect();de.x===0&&de.y===0&&de.width===0&&de.height===0&&C()}});return K.observe(d.current),()=>K.disconnect()},[b,d,C]);let[D,U]=XD(),V=p.useMemo(()=>[{dialogState:b,close:C,setTitleId:O},_],[b,_,C,O]),G=p.useMemo(()=>({open:b===0}),[b]),H={ref:h,id:n,role:"dialog","aria-modal":b===0?!0:void 0,"aria-labelledby":_.titleId,"aria-describedby":D};return Y.createElement(Gte,{type:"Dialog",enabled:b===0,element:d,onUpdate:re((K,Q)=>{Q==="Dialog"&&Re(K,{[g2.Add]:()=>f(J=>J+1),[g2.Remove]:()=>f(J=>J-1)})})},Y.createElement(h2,{force:!0},Y.createElement(p2,null,Y.createElement(Em.Provider,{value:V},Y.createElement(p2.Group,{target:d},Y.createElement(h2,{force:!1},Y.createElement(U,{slot:G,name:"Dialog.Description"},Y.createElement(cd,{initialFocus:i,containers:F,features:x?Re(k,{parent:cd.features.RestoreFocus,leaf:cd.features.All&~cd.features.FocusLock}):cd.features.None},Fe({ourProps:H,theirProps:l,slot:G,defaultTag:mre,features:yre,visible:b===0,name:"Dialog"})))))))),Y.createElement(Ta,{features:Ca.Hidden,ref:g}))}let wre="div";function _re(e,t){let r=Pt(),{id:n=`headlessui-dialog-overlay-${r}`,...a}=e,[{dialogState:o,close:i}]=Ph("Dialog.Overlay"),s=We(t),l=re(f=>{if(f.target===f.currentTarget){if(Oh(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),i()}}),u=p.useMemo(()=>({open:o===0}),[o]);return Fe({ourProps:{ref:s,id:n,"aria-hidden":!0,onClick:l},theirProps:a,slot:u,defaultTag:wre,name:"Dialog.Overlay"})}let $re="div";function xre(e,t){let r=Pt(),{id:n=`headlessui-dialog-backdrop-${r}`,...a}=e,[{dialogState:o},i]=Ph("Dialog.Backdrop"),s=We(t);p.useEffect(()=>{if(i.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[i.panelRef]);let l=p.useMemo(()=>({open:o===0}),[o]);return Y.createElement(h2,{force:!0},Y.createElement(p2,null,Fe({ourProps:{ref:s,id:n,"aria-hidden":!0},theirProps:a,slot:l,defaultTag:$re,name:"Dialog.Backdrop"})))}let Sre="div";function Ere(e,t){let r=Pt(),{id:n=`headlessui-dialog-panel-${r}`,...a}=e,[{dialogState:o},i]=Ph("Dialog.Panel"),s=We(t,i.panelRef),l=p.useMemo(()=>({open:o===0}),[o]),u=re(f=>{f.stopPropagation()});return Fe({ourProps:{ref:s,id:n,onClick:u},theirProps:a,slot:l,defaultTag:Sre,name:"Dialog.Panel"})}let Cre="h2";function Tre(e,t){let r=Pt(),{id:n=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:o,setTitleId:i}]=Ph("Dialog.Title"),s=We(t);p.useEffect(()=>(i(n),()=>i(null)),[n,i]);let l=p.useMemo(()=>({open:o===0}),[o]);return Fe({ourProps:{ref:s,id:n},theirProps:a,slot:l,defaultTag:Cre,name:"Dialog.Title"})}let Are=Be(bre),Rre=Be(xre),Ore=Be(Ere),kre=Be(_re),Pre=Be(Tre),yr=Object.assign(Are,{Backdrop:Rre,Panel:Ore,Overlay:kre,Title:Pre,Description:ZD});var Ire=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ire||{}),Nre=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Nre||{}),Lre=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Lre||{}),Mre=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Mre||{});function ob(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=Ns(t(e.options.slice()),o=>o.dataRef.current.domRef.current),a=r?n.indexOf(r):null;return a===-1&&(a=null),{options:n,activeOptionIndex:a}}let Dre={[1](e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},[0](e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,n=e.options.findIndex(a=>r(a.dataRef.current.value));return n!==-1&&(t=n),{...e,listboxState:0,activeOptionIndex:t}},[2](e,t){var r;if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=ob(e),a=mte(t,{resolveItems:()=>n.options,resolveActiveIndex:()=>n.activeOptionIndex,resolveId:o=>o.id,resolveDisabled:o=>o.dataRef.current.disabled});return{...e,...n,searchQuery:"",activeOptionIndex:a,activationTrigger:(r=t.trigger)!=null?r:1}},[3]:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,n=e.searchQuery+t.value.toLowerCase(),a=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(i=>{var s;return!i.dataRef.current.disabled&&((s=i.dataRef.current.textValue)==null?void 0:s.startsWith(n))}),o=a?e.options.indexOf(a):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeOptionIndex:o,activationTrigger:1}},[4](e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},[5]:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},n=ob(e,a=>[...a,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(r)),{...e,...n}},[6]:(e,t)=>{let r=ob(e,n=>{let a=n.findIndex(o=>o.id===t.id);return a!==-1&&n.splice(a,1),n});return{...e,...r,activationTrigger:1}},[7]:(e,t)=>({...e,labelId:t.id})},sC=p.createContext(null);sC.displayName="ListboxActionsContext";function Ih(e){let t=p.useContext(sC);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ih),r}return t}let lC=p.createContext(null);lC.displayName="ListboxDataContext";function Nh(e){let t=p.useContext(lC);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Nh),r}return t}function jre(e,t){return Re(t.type,Dre,e,t)}let Fre=p.Fragment;function Bre(e,t){let{value:r,defaultValue:n,form:a,name:o,onChange:i,by:s=(H,K)=>H===K,disabled:l=!1,horizontal:u=!1,multiple:f=!1,...c}=e;const d=u?"horizontal":"vertical";let h=We(t),[g=f?[]:void 0,m]=zD(r,i,n),[w,v]=p.useReducer(jre,{dataRef:p.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),b=p.useRef({static:!1,hold:!1}),_=p.useRef(null),$=p.useRef(null),C=p.useRef(null),O=re(typeof s=="string"?(H,K)=>{let Q=s;return(H==null?void 0:H[Q])===(K==null?void 0:K[Q])}:s),x=p.useCallback(H=>Re(S.mode,{[1]:()=>g.some(K=>O(K,H)),[0]:()=>O(g,H)}),[g]),S=p.useMemo(()=>({...w,value:g,disabled:l,mode:f?1:0,orientation:d,compare:O,isSelected:x,optionsPropsRef:b,labelRef:_,buttonRef:$,optionsRef:C}),[g,l,f,w]);gt(()=>{w.dataRef.current=S},[S]),eC([S.buttonRef,S.optionsRef],(H,K)=>{var Q;v({type:1}),JE(K,W0.Loose)||(H.preventDefault(),(Q=S.buttonRef.current)==null||Q.focus())},S.listboxState===0);let A=p.useMemo(()=>({open:S.listboxState===0,disabled:l,value:g}),[S,l,g]),k=re(H=>{let K=S.options.find(Q=>Q.id===H);K&&B(K.dataRef.current.value)}),L=re(()=>{if(S.activeOptionIndex!==null){let{dataRef:H,id:K}=S.options[S.activeOptionIndex];B(H.current.value),v({type:2,focus:Pr.Specific,id:K})}}),P=re(()=>v({type:0})),N=re(()=>v({type:1})),E=re((H,K,Q)=>H===Pr.Specific?v({type:2,focus:Pr.Specific,id:K,trigger:Q}):v({type:2,focus:H,trigger:Q})),R=re((H,K)=>(v({type:5,id:H,dataRef:K}),()=>v({type:6,id:H}))),F=re(H=>(v({type:7,id:H}),()=>v({type:7,id:null}))),B=re(H=>Re(S.mode,{[0](){return m==null?void 0:m(H)},[1](){let K=S.value.slice(),Q=K.findIndex(J=>O(J,H));return Q===-1?K.push(H):K.splice(Q,1),m==null?void 0:m(K)}})),j=re(H=>v({type:3,value:H})),M=re(()=>v({type:4})),D=p.useMemo(()=>({onChange:B,registerOption:R,registerLabel:F,goToOption:E,closeListbox:N,openListbox:P,selectActiveOption:L,selectOption:k,search:j,clearSearch:M}),[]),U={ref:h},V=p.useRef(null),G=Vi();return p.useEffect(()=>{V.current&&n!==void 0&&G.addEventListener(V.current,"reset",()=>{B(n)})},[V,B]),Y.createElement(sC.Provider,{value:D},Y.createElement(lC.Provider,{value:S},Y.createElement(rC,{value:Re(S.listboxState,{[0]:ut.Open,[1]:ut.Closed})},o!=null&&g!=null&&FD({[o]:g}).map(([H,K],Q)=>Y.createElement(Ta,{features:Ca.Hidden,ref:Q===0?J=>{var de;V.current=(de=J==null?void 0:J.closest("form"))!=null?de:null}:void 0,...Sm({key:H,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:a,name:H,value:K})})),Fe({ourProps:U,theirProps:c,slot:A,defaultTag:Fre,name:"Listbox"}))))}let Ure="button";function zre(e,t){var r;let n=Pt(),{id:a=`headlessui-listbox-button-${n}`,...o}=e,i=Nh("Listbox.Button"),s=Ih("Listbox.Button"),l=We(i.buttonRef,t),u=Vi(),f=re(w=>{switch(w.key){case ye.Space:case ye.Enter:case ye.ArrowDown:w.preventDefault(),s.openListbox(),u.nextFrame(()=>{i.value||s.goToOption(Pr.First)});break;case ye.ArrowUp:w.preventDefault(),s.openListbox(),u.nextFrame(()=>{i.value||s.goToOption(Pr.Last)});break}}),c=re(w=>{switch(w.key){case ye.Space:w.preventDefault();break}}),d=re(w=>{if(Oh(w.currentTarget))return w.preventDefault();i.listboxState===0?(s.closeListbox(),u.nextFrame(()=>{var v;return(v=i.buttonRef.current)==null?void 0:v.focus({preventScroll:!0})})):(w.preventDefault(),s.openListbox())}),h=LD(()=>{if(i.labelId)return[i.labelId,a].join(" ")},[i.labelId,a]),g=p.useMemo(()=>({open:i.listboxState===0,disabled:i.disabled,value:i.value}),[i]),m={ref:l,id:a,type:H0(e,i.buttonRef),"aria-haspopup":"listbox","aria-controls":(r=i.optionsRef.current)==null?void 0:r.id,"aria-expanded":i.disabled?void 0:i.listboxState===0,"aria-labelledby":h,disabled:i.disabled,onKeyDown:f,onKeyUp:c,onClick:d};return Fe({ourProps:m,theirProps:o,slot:g,defaultTag:Ure,name:"Listbox.Button"})}let Vre="label";function Wre(e,t){let r=Pt(),{id:n=`headlessui-listbox-label-${r}`,...a}=e,o=Nh("Listbox.Label"),i=Ih("Listbox.Label"),s=We(o.labelRef,t);gt(()=>i.registerLabel(n),[n]);let l=re(()=>{var f;return(f=o.buttonRef.current)==null?void 0:f.focus({preventScroll:!0})}),u=p.useMemo(()=>({open:o.listboxState===0,disabled:o.disabled}),[o]);return Fe({ourProps:{ref:s,id:n,onClick:l},theirProps:a,slot:u,defaultTag:Vre,name:"Listbox.Label"})}let Hre="ul",Gre=Pn.RenderStrategy|Pn.Static;function Kre(e,t){var r;let n=Pt(),{id:a=`headlessui-listbox-options-${n}`,...o}=e,i=Nh("Listbox.Options"),s=Ih("Listbox.Options"),l=We(i.optionsRef,t),u=Vi(),f=Vi(),c=ku(),d=(()=>c!==null?(c&ut.Open)===ut.Open:i.listboxState===0)();p.useEffect(()=>{var v;let b=i.optionsRef.current;b&&i.listboxState===0&&b!==((v=Rh(b))==null?void 0:v.activeElement)&&b.focus({preventScroll:!0})},[i.listboxState,i.optionsRef]);let h=re(v=>{switch(f.dispose(),v.key){case ye.Space:if(i.searchQuery!=="")return v.preventDefault(),v.stopPropagation(),s.search(v.key);case ye.Enter:if(v.preventDefault(),v.stopPropagation(),i.activeOptionIndex!==null){let{dataRef:b}=i.options[i.activeOptionIndex];s.onChange(b.current.value)}i.mode===0&&(s.closeListbox(),_o().nextFrame(()=>{var b;return(b=i.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})}));break;case Re(i.orientation,{vertical:ye.ArrowDown,horizontal:ye.ArrowRight}):return v.preventDefault(),v.stopPropagation(),s.goToOption(Pr.Next);case Re(i.orientation,{vertical:ye.ArrowUp,horizontal:ye.ArrowLeft}):return v.preventDefault(),v.stopPropagation(),s.goToOption(Pr.Previous);case ye.Home:case ye.PageUp:return v.preventDefault(),v.stopPropagation(),s.goToOption(Pr.First);case ye.End:case ye.PageDown:return v.preventDefault(),v.stopPropagation(),s.goToOption(Pr.Last);case ye.Escape:return v.preventDefault(),v.stopPropagation(),s.closeListbox(),u.nextFrame(()=>{var b;return(b=i.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})});case ye.Tab:v.preventDefault(),v.stopPropagation();break;default:v.key.length===1&&(s.search(v.key),f.setTimeout(()=>s.clearSearch(),350));break}}),g=LD(()=>{var v,b,_;return(_=(v=i.labelRef.current)==null?void 0:v.id)!=null?_:(b=i.buttonRef.current)==null?void 0:b.id},[i.labelRef.current,i.buttonRef.current]),m=p.useMemo(()=>({open:i.listboxState===0}),[i]),w={"aria-activedescendant":i.activeOptionIndex===null||(r=i.options[i.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":i.mode===1?!0:void 0,"aria-labelledby":g,"aria-orientation":i.orientation,id:a,onKeyDown:h,role:"listbox",tabIndex:0,ref:l};return Fe({ourProps:w,theirProps:o,slot:m,defaultTag:Hre,features:Gre,visible:d,name:"Listbox.Options"})}let qre="li";function Yre(e,t){let r=Pt(),{id:n=`headlessui-listbox-option-${r}`,disabled:a=!1,value:o,...i}=e,s=Nh("Listbox.Option"),l=Ih("Listbox.Option"),u=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===n:!1,f=s.isSelected(o),c=p.useRef(null),d=dr({disabled:a,value:o,domRef:c,get textValue(){var C,O;return(O=(C=c.current)==null?void 0:C.textContent)==null?void 0:O.toLowerCase()}}),h=We(t,c);gt(()=>{if(s.listboxState!==0||!u||s.activationTrigger===0)return;let C=_o();return C.requestAnimationFrame(()=>{var O,x;(x=(O=c.current)==null?void 0:O.scrollIntoView)==null||x.call(O,{block:"nearest"})}),C.dispose},[c,u,s.listboxState,s.activationTrigger,s.activeOptionIndex]),gt(()=>l.registerOption(n,d),[d,n]);let g=re(C=>{if(a)return C.preventDefault();l.onChange(o),s.mode===0&&(l.closeListbox(),_o().nextFrame(()=>{var O;return(O=s.buttonRef.current)==null?void 0:O.focus({preventScroll:!0})}))}),m=re(()=>{if(a)return l.goToOption(Pr.Nothing);l.goToOption(Pr.Specific,n)}),w=xte(),v=re(C=>w.update(C)),b=re(C=>{w.wasMoved(C)&&(a||u||l.goToOption(Pr.Specific,n,0))}),_=re(C=>{w.wasMoved(C)&&(a||u&&l.goToOption(Pr.Nothing))}),$=p.useMemo(()=>({active:u,selected:f,disabled:a}),[u,f,a]);return Fe({ourProps:{id:n,ref:h,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:g,onFocus:m,onPointerEnter:v,onMouseEnter:v,onPointerMove:b,onMouseMove:b,onPointerLeave:_,onMouseLeave:_},theirProps:i,slot:$,defaultTag:qre,name:"Listbox.Option"})}let Xre=Be(Bre),Zre=Be(zre),Qre=Be(Wre),Jre=Be(Kre),ene=Be(Yre),ur=Object.assign(Xre,{Button:Zre,Label:Qre,Options:Jre,Option:ene});var tne=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(tne||{}),rne=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(rne||{});let nne={[0]:e=>({...e,popoverState:Re(e.popoverState,{[0]:1,[1]:0})}),[1](e){return e.popoverState===1?e:{...e,popoverState:1}},[2](e,t){return e.button===t.button?e:{...e,button:t.button}},[3](e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},[4](e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},[5](e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},cC=p.createContext(null);cC.displayName="PopoverContext";function G0(e){let t=p.useContext(cC);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,G0),r}return t}let uC=p.createContext(null);uC.displayName="PopoverAPIContext";function dC(e){let t=p.useContext(uC);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,dC),r}return t}let fC=p.createContext(null);fC.displayName="PopoverGroupContext";function QD(){return p.useContext(fC)}let K0=p.createContext(null);K0.displayName="PopoverPanelContext";function ane(){return p.useContext(K0)}function one(e,t){return Re(t.type,nne,e,t)}let ine="div";function sne(e,t){var r;let n=p.useRef(null),a=We(t,DD(P=>{n.current=P})),o=p.useRef([]),i=p.useReducer(one,{popoverState:1,buttons:o,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:p.createRef(),afterPanelSentinel:p.createRef()}),[{popoverState:s,button:l,buttonId:u,panel:f,panelId:c,beforePanelSentinel:d,afterPanelSentinel:h},g]=i,m=vl((r=n.current)!=null?r:l),w=p.useMemo(()=>{if(!l||!f)return!1;for(let j of document.querySelectorAll("body > *"))if(Number(j==null?void 0:j.contains(l))^Number(j==null?void 0:j.contains(f)))return!0;let P=V0(),N=P.indexOf(l),E=(N+P.length-1)%P.length,R=(N+1)%P.length,F=P[E],B=P[R];return!f.contains(F)&&!f.contains(B)},[l,f]),v=dr(u),b=dr(c),_=p.useMemo(()=>({buttonId:v,panelId:b,close:()=>g({type:1})}),[v,b,g]),$=QD(),C=$==null?void 0:$.registerPopover,O=re(()=>{var P;return(P=$==null?void 0:$.isFocusWithinPopoverGroup())!=null?P:(m==null?void 0:m.activeElement)&&((l==null?void 0:l.contains(m.activeElement))||(f==null?void 0:f.contains(m.activeElement)))});p.useEffect(()=>C==null?void 0:C(_),[C,_]),oC(m==null?void 0:m.defaultView,"focus",P=>{var N,E,R,F;s===0&&(O()||l&&f&&P.target!==window&&((E=(N=d.current)==null?void 0:N.contains)!=null&&E.call(N,P.target)||(F=(R=h.current)==null?void 0:R.contains)!=null&&F.call(R,P.target)||g({type:1})))},!0),eC([l,f],(P,N)=>{g({type:1}),JE(N,W0.Loose)||(P.preventDefault(),l==null||l.focus())},s===0);let x=re(P=>{g({type:1});let N=(()=>P?P instanceof HTMLElement?P:"current"in P&&P.current instanceof HTMLElement?P.current:l:l)();N==null||N.focus()}),S=p.useMemo(()=>({close:x,isPortalled:w}),[x,w]),A=p.useMemo(()=>({open:s===0,close:x}),[s,x]),k=e,L={ref:a};return Y.createElement(K0.Provider,{value:null},Y.createElement(cC.Provider,{value:i},Y.createElement(uC.Provider,{value:S},Y.createElement(rC,{value:Re(s,{[0]:ut.Open,[1]:ut.Closed})},Fe({ourProps:L,theirProps:k,slot:A,defaultTag:ine,name:"Popover"})))))}let lne="button";function cne(e,t){let r=Pt(),{id:n=`headlessui-popover-button-${r}`,...a}=e,[o,i]=G0("Popover.Button"),{isPortalled:s}=dC("Popover.Button"),l=p.useRef(null),u=`headlessui-focus-sentinel-${Pt()}`,f=QD(),c=f==null?void 0:f.closeOthers,d=ane()!==null;p.useEffect(()=>{if(!d)return i({type:3,buttonId:n}),()=>{i({type:3,buttonId:null})}},[d,n,i]);let[h]=p.useState(()=>Symbol()),g=We(l,t,d?null:L=>{if(L)o.buttons.current.push(h);else{let P=o.buttons.current.indexOf(h);P!==-1&&o.buttons.current.splice(P,1)}o.buttons.current.length>1,L&&i({type:2,button:L})}),m=We(l,t),w=vl(l),v=re(L=>{var P,N,E;if(d){if(o.popoverState===1)return;switch(L.key){case ye.Space:case ye.Enter:L.preventDefault(),(N=(P=L.target).click)==null||N.call(P),i({type:1}),(E=o.button)==null||E.focus();break}}else switch(L.key){case ye.Space:case ye.Enter:L.preventDefault(),L.stopPropagation(),o.popoverState===1&&(c==null||c(o.buttonId)),i({type:0});break;case ye.Escape:if(o.popoverState!==0)return c==null?void 0:c(o.buttonId);if(!l.current||w!=null&&w.activeElement&&!l.current.contains(w.activeElement))return;L.preventDefault(),L.stopPropagation(),i({type:1});break}}),b=re(L=>{d||L.key===ye.Space&&L.preventDefault()}),_=re(L=>{var P,N;Oh(L.currentTarget)||e.disabled||(d?(i({type:1}),(P=o.button)==null||P.focus()):(L.preventDefault(),L.stopPropagation(),o.popoverState===1&&(c==null||c(o.buttonId)),i({type:0}),(N=o.button)==null||N.focus()))}),$=re(L=>{L.preventDefault(),L.stopPropagation()}),C=o.popoverState===0,O=p.useMemo(()=>({open:C}),[C]),x=H0(e,l),S=d?{ref:m,type:x,onKeyDown:v,onClick:_}:{ref:g,id:o.buttonId,type:x,"aria-expanded":e.disabled?void 0:o.popoverState===0,"aria-controls":o.panel?o.panelId:void 0,onKeyDown:v,onKeyUp:b,onClick:_,onMouseDown:$},A=aC(),k=re(()=>{let L=o.panel;if(!L)return;function P(){Re(A.current,{[Xr.Forwards]:()=>qt(L,et.First),[Xr.Backwards]:()=>qt(L,et.Last)})===to.Error&&qt(V0().filter(N=>N.dataset.headlessuiFocusGuard!=="true"),Re(A.current,{[Xr.Forwards]:et.Next,[Xr.Backwards]:et.Previous}),{relativeTo:o.button})}P()});return Y.createElement(Y.Fragment,null,Fe({ourProps:S,theirProps:a,slot:O,defaultTag:lne,name:"Popover.Button"}),C&&!d&&s&&Y.createElement(Ta,{id:u,features:Ca.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:k}))}let une="div",dne=Pn.RenderStrategy|Pn.Static;function fne(e,t){let r=Pt(),{id:n=`headlessui-popover-overlay-${r}`,...a}=e,[{popoverState:o},i]=G0("Popover.Overlay"),s=We(t),l=ku(),u=(()=>l!==null?(l&ut.Open)===ut.Open:o===0)(),f=re(d=>{if(Oh(d.currentTarget))return d.preventDefault();i({type:1})}),c=p.useMemo(()=>({open:o===0}),[o]);return Fe({ourProps:{ref:s,id:n,"aria-hidden":!0,onClick:f},theirProps:a,slot:c,defaultTag:une,features:dne,visible:u,name:"Popover.Overlay"})}let hne="div",pne=Pn.RenderStrategy|Pn.Static;function gne(e,t){let r=Pt(),{id:n=`headlessui-popover-panel-${r}`,focus:a=!1,...o}=e,[i,s]=G0("Popover.Panel"),{close:l,isPortalled:u}=dC("Popover.Panel"),f=`headlessui-focus-sentinel-before-${Pt()}`,c=`headlessui-focus-sentinel-after-${Pt()}`,d=p.useRef(null),h=We(d,t,x=>{s({type:4,panel:x})}),g=vl(d);gt(()=>(s({type:5,panelId:n}),()=>{s({type:5,panelId:null})}),[n,s]);let m=ku(),w=(()=>m!==null?(m&ut.Open)===ut.Open:i.popoverState===0)(),v=re(x=>{var S;switch(x.key){case ye.Escape:if(i.popoverState!==0||!d.current||g!=null&&g.activeElement&&!d.current.contains(g.activeElement))return;x.preventDefault(),x.stopPropagation(),s({type:1}),(S=i.button)==null||S.focus();break}});p.useEffect(()=>{var x;e.static||i.popoverState===1&&((x=e.unmount)==null||x)&&s({type:4,panel:null})},[i.popoverState,e.unmount,e.static,s]),p.useEffect(()=>{if(!a||i.popoverState!==0||!d.current)return;let x=g==null?void 0:g.activeElement;d.current.contains(x)||qt(d.current,et.First)},[a,d,i.popoverState]);let b=p.useMemo(()=>({open:i.popoverState===0,close:l}),[i,l]),_={ref:h,id:n,onKeyDown:v,onBlur:a&&i.popoverState===0?x=>{var S,A,k,L,P;let N=x.relatedTarget;N&&d.current&&((S=d.current)!=null&&S.contains(N)||(s({type:1}),((k=(A=i.beforePanelSentinel.current)==null?void 0:A.contains)!=null&&k.call(A,N)||(P=(L=i.afterPanelSentinel.current)==null?void 0:L.contains)!=null&&P.call(L,N))&&N.focus({preventScroll:!0})))}:void 0,tabIndex:-1},$=aC(),C=re(()=>{let x=d.current;if(!x)return;function S(){Re($.current,{[Xr.Forwards]:()=>{var A;qt(x,et.First)===to.Error&&((A=i.afterPanelSentinel.current)==null||A.focus())},[Xr.Backwards]:()=>{var A;(A=i.button)==null||A.focus({preventScroll:!0})}})}S()}),O=re(()=>{let x=d.current;if(!x)return;function S(){Re($.current,{[Xr.Forwards]:()=>{var A;if(!i.button)return;let k=V0(),L=k.indexOf(i.button),P=k.slice(0,L+1),N=[...k.slice(L+1),...P];for(let E of N.slice())if(E.dataset.headlessuiFocusGuard==="true"||(A=i.panel)!=null&&A.contains(E)){let R=N.indexOf(E);R!==-1&&N.splice(R,1)}qt(N,et.First,{sorted:!1})},[Xr.Backwards]:()=>{var A;qt(x,et.Previous)===to.Error&&((A=i.button)==null||A.focus())}})}S()});return Y.createElement(K0.Provider,{value:n},w&&u&&Y.createElement(Ta,{id:f,ref:i.beforePanelSentinel,features:Ca.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:C}),Fe({ourProps:_,theirProps:o,slot:b,defaultTag:hne,features:pne,visible:w,name:"Popover.Panel"}),w&&u&&Y.createElement(Ta,{id:c,ref:i.afterPanelSentinel,features:Ca.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:O}))}let vne="div";function mne(e,t){let r=p.useRef(null),n=We(r,t),[a,o]=p.useState([]),i=re(g=>{o(m=>{let w=m.indexOf(g);if(w!==-1){let v=m.slice();return v.splice(w,1),v}return m})}),s=re(g=>(o(m=>[...m,g]),()=>i(g))),l=re(()=>{var g;let m=Rh(r);if(!m)return!1;let w=m.activeElement;return(g=r.current)!=null&&g.contains(w)?!0:a.some(v=>{var b,_;return((b=m.getElementById(v.buttonId.current))==null?void 0:b.contains(w))||((_=m.getElementById(v.panelId.current))==null?void 0:_.contains(w))})}),u=re(g=>{for(let m of a)m.buttonId.current!==g&&m.close()}),f=p.useMemo(()=>({registerPopover:s,unregisterPopover:i,isFocusWithinPopoverGroup:l,closeOthers:u}),[s,i,l,u]),c=p.useMemo(()=>({}),[]),d=e,h={ref:n};return Y.createElement(fC.Provider,{value:f},Fe({ourProps:h,theirProps:d,slot:c,defaultTag:vne,name:"Popover.Group"}))}let yne=Be(sne),bne=Be(cne),wne=Be(fne),_ne=Be(gne),$ne=Be(mne),An=Object.assign(yne,{Button:bne,Overlay:wne,Panel:_ne,Group:$ne});function xne(e=0){let[t,r]=p.useState(e),n=kh(),a=p.useCallback(l=>{n.current&&r(u=>u|l)},[t,n]),o=p.useCallback(l=>!!(t&l),[t]),i=p.useCallback(l=>{n.current&&r(u=>u&~l)},[r,n]),s=p.useCallback(l=>{n.current&&r(u=>u^l)},[r]);return{flags:t,addFlag:a,hasFlag:o,removeFlag:i,toggleFlag:s}}let JD=p.createContext(null);function e9(){let e=p.useContext(JD);if(e===null){let t=new Error("You used a