libre-webui 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -28
- package/backend/dist/index.d.ts.map +1 -1
- package/backend/dist/index.js +13 -0
- package/backend/dist/index.js.map +1 -1
- package/backend/dist/routes/libreClaw.d.ts +3 -0
- package/backend/dist/routes/libreClaw.d.ts.map +1 -0
- package/backend/dist/routes/libreClaw.js +156 -0
- package/backend/dist/routes/libreClaw.js.map +1 -0
- package/backend/dist/services/libreClawService.d.ts +105 -0
- package/backend/dist/services/libreClawService.d.ts.map +1 -0
- package/backend/dist/services/libreClawService.js +169 -0
- package/backend/dist/services/libreClawService.js.map +1 -0
- package/backend/dist/services/pluginCapabilityRegistryService.d.ts.map +1 -1
- package/backend/dist/services/pluginCapabilityRegistryService.js.map +1 -1
- package/backend/dist/services/pluginService.d.ts.map +1 -1
- package/backend/dist/services/pluginService.js +1 -3
- package/backend/dist/services/pluginService.js.map +1 -1
- package/backend/dist/services/pluginTTSService.d.ts.map +1 -1
- package/backend/dist/services/pluginTTSService.js.map +1 -1
- package/backend/dist/storage.d.ts.map +1 -1
- package/backend/dist/storage.js.map +1 -1
- package/backend/dist/types/index.d.ts.map +1 -1
- package/backend/dist/types/index.js.map +1 -1
- package/backend/dist/utils/pluginValidation.d.ts +0 -1
- package/backend/dist/utils/pluginValidation.d.ts.map +1 -1
- package/backend/dist/utils/pluginValidation.js +0 -10
- package/backend/dist/utils/pluginValidation.js.map +1 -1
- package/backend/package.json +2 -2
- package/frontend/dist/assets/index-Dc8Q4dJZ.css +1 -0
- package/frontend/dist/assets/index-ONn9VIq7.js +5 -0
- package/frontend/dist/index.html +10 -10
- package/frontend/dist/js/{ArtifactContainer-CA523BOS.js → ArtifactContainer-CqKsiKz0.js} +1 -1
- package/frontend/dist/js/{ArtifactDemoPage-C0p2-ccP.js → ArtifactDemoPage-Dd5BjIu2.js} +1 -1
- package/frontend/dist/js/ArtifactSlideOutPanel-Yc7ttIaY.js +1 -0
- package/frontend/dist/js/{Button-BmZQkAPD.js → Button-BUjLpHmR.js} +1 -1
- package/frontend/dist/js/ChatPage-Cpy7lQ0D.js +16 -0
- package/frontend/dist/js/{FirstTimeSetup-pi-S4VU-.js → FirstTimeSetup-DcGhm0H0.js} +1 -1
- package/frontend/dist/js/GalleryPage-DNI2Evvf.js +1 -0
- package/frontend/dist/js/LibreClawPage-CmTiROsJ.js +1 -0
- package/frontend/dist/js/ModelManagerModals-CfvSeNsT.js +1 -0
- package/frontend/dist/js/ModelsPage-CeTGqx4q.js +2 -0
- package/frontend/dist/js/{OptimizedSyntaxHighlighter-DlI4omE2.js → OptimizedSyntaxHighlighter-CNjLqj1Z.js} +1 -1
- package/frontend/dist/js/PersonasPage-BUqu7gJ3.js +13 -0
- package/frontend/dist/js/{RichMessageContent-Darvuw8F.js → RichMessageContent-B0JO8vkR.js} +3 -3
- package/frontend/dist/js/SettingsModal-B5aJ5vfV.js +1 -0
- package/frontend/dist/js/UserManagementPage-BqIIWX2M.js +1 -0
- package/frontend/dist/js/api-CbmZzKBu.js +15 -0
- package/frontend/dist/js/{ar-BIL8U_dv.js → ar-BAOdgn6O.js} +2 -2
- package/frontend/dist/js/{artifactHtml-CRdkOCnz.js → artifactHtml-B7Oy2e__.js} +16 -16
- package/frontend/dist/js/{bn-BWQoWPn6.js → bn-Bp2KS5mx.js} +2 -2
- package/frontend/dist/js/{cs-DOD1vscE.js → cs-DOgJ0c5p.js} +2 -2
- package/frontend/dist/js/{da-DYPzSzX4.js → da-BCKTkC35.js} +2 -2
- package/frontend/dist/js/{de-CHd4b2Xf.js → de-BXyECph5.js} +2 -2
- package/frontend/dist/js/{es-BmDO6uNe.js → es-Db4bDYIF.js} +2 -2
- package/frontend/dist/js/fr-BPIkf6zH.js +2 -0
- package/frontend/dist/js/{hi-BRDq_y1B.js → hi-Bm8D_Aux.js} +2 -2
- package/frontend/dist/js/{id-I_F2nstV.js → id-DiWaH74_.js} +2 -2
- package/frontend/dist/js/{is-Boj7-J12.js → is-DLgJywtZ.js} +2 -2
- package/frontend/dist/js/{it-CNeHl9Fh.js → it-lldrM8pE.js} +2 -2
- package/frontend/dist/js/{ja-DrVG6G8s.js → ja-Cfe9uZmQ.js} +2 -2
- package/frontend/dist/js/{ko-BtKRwlHW.js → ko-BhChO3MQ.js} +2 -2
- package/frontend/dist/js/logger-BmpKNkls.js +1 -0
- package/frontend/dist/js/markdown-core-fkbHPd-g.js +16 -0
- package/frontend/dist/js/markdown-math-Ci4QOsf-.js +261 -0
- package/frontend/dist/js/{ms-Dp9MigoU.js → ms-SWtmetXo.js} +2 -2
- package/frontend/dist/js/{nl-Bk9pGoCF.js → nl-CUO6I3nO.js} +2 -2
- package/frontend/dist/js/{pl-seE8_lLS.js → pl-BUAu96P6.js} +2 -2
- package/frontend/dist/js/{pt-BAeBtldI.js → pt-DCHwoWiE.js} +2 -2
- package/frontend/dist/js/{react-vendor-DtQrJICq.js → react-vendor-Co1u1rWb.js} +2 -2
- package/frontend/dist/js/{ru-CkCpWFNb.js → ru-Ciz053N7.js} +2 -2
- package/frontend/dist/js/{sv-BM7nqxmA.js → sv-D38ZHjv-.js} +2 -2
- package/frontend/dist/js/{syntax-highlight-B758xPeo.js → syntax-highlight-D5wpTVgr.js} +2 -2
- package/frontend/dist/js/{th-vDIZbpa4.js → th-D2cAucvn.js} +2 -2
- package/frontend/dist/js/{tr-G2-XodhW.js → tr-Go355oDu.js} +2 -2
- package/frontend/dist/js/ui-vendor-BJAeWL11.js +177 -0
- package/frontend/dist/js/{uk-DfVfZcBQ.js → uk-cdzjhgya.js} +2 -2
- package/frontend/dist/js/useBaseQuery-6OJiOiyu.js +1 -0
- package/frontend/dist/js/useQuery-DfkI6VAv.js +1 -0
- package/frontend/dist/js/{utils-es0n-47H.js → utils-BaPYjs_z.js} +1 -1
- package/frontend/dist/js/utils-vendor-BX3ZwoIK.js +9 -0
- package/frontend/dist/js/{vi-Yp9yjb06.js → vi-BSOpE423.js} +2 -2
- package/frontend/dist/js/{zh-DtRb97we.js → zh-BFh6sHZG.js} +2 -2
- package/package.json +2 -2
- package/frontend/dist/assets/index-BxHDVIti.css +0 -1
- package/frontend/dist/assets/index-CDA2f43l.js +0 -5
- package/frontend/dist/js/ArtifactSlideOutPanel-BBYuYyr_.js +0 -1
- package/frontend/dist/js/ChatPage-QSOhIynr.js +0 -16
- package/frontend/dist/js/GalleryPage-BPXB-D4f.js +0 -1
- package/frontend/dist/js/ModelManagerModals-D3SZV7CU.js +0 -1
- package/frontend/dist/js/ModelsPage-Fmqc1Zxb.js +0 -2
- package/frontend/dist/js/PersonasPage-BuLOCG1Y.js +0 -13
- package/frontend/dist/js/SettingsModal-CQhAeaia.js +0 -1
- package/frontend/dist/js/UserManagementPage-yX9vOase.js +0 -1
- package/frontend/dist/js/api-d05r9G59.js +0 -15
- package/frontend/dist/js/fr-DW24sUV7.js +0 -2
- package/frontend/dist/js/logger-1THq8-96.js +0 -1
- package/frontend/dist/js/markdown-core-CEpaJrKd.js +0 -16
- package/frontend/dist/js/markdown-math-DAmpvM9y.js +0 -261
- package/frontend/dist/js/ui-vendor-MCs1MDmN.js +0 -177
- package/frontend/dist/js/useBaseQuery-CrdrLcmR.js +0 -1
- package/frontend/dist/js/useQuery-DaEnYfWR.js +0 -1
- package/frontend/dist/js/utils-vendor-B2ZBL57Y.js +0 -9
- package/plugins/openclaw-agent.json +0 -69
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{f as t}from"./markdown-core-CEpaJrKd.js";var n=e(t(),1),r={data:``},i=e=>{if(typeof window==`object`){let t=(e?e.querySelector(`#_goober`):window._goober)||Object.assign(document.createElement(`style`),{innerHTML:` `,id:`_goober`});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||r},a=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,o=/\/\*[^]*?\*\/| +/g,s=/\n+/g,c=(e,t)=>{let n=``,r=``,i=``;for(let a in e){let o=e[a];a[0]==`@`?a[1]==`i`?n=a+` `+o+`;`:r+=a[1]==`f`?c(o,a):a+`{`+c(o,a[1]==`k`?``:t)+`}`:typeof o==`object`?r+=c(o,t?t.replace(/([^,])+/g,e=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+` `+t:t)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,`-$&`).toLowerCase(),i+=c.p?c.p(a,o):a+`:`+o+`;`)}return n+(t&&i?t+`{`+i+`}`:i)+r},l={},u=e=>{if(typeof e==`object`){let t=``;for(let n in e)t+=n+u(e[n]);return t}return e},d=(e,t,n,r,i)=>{let d=u(e),f=l[d]||(l[d]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return`go`+n})(d));if(!l[f]){let t=d===e?(e=>{let t,n,r=[{}];for(;t=a.exec(e.replace(o,``));)t[4]?r.shift():t[3]?(n=t[3].replace(s,` `).trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(s,` `).trim();return r[0]})(e):e;l[f]=c(i?{[`@keyframes `+f]:t}:t,n?``:`.`+f)}let p=n&&l.g?l.g:null;return n&&(l.g=l[f]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):t.data.indexOf(e)===-1&&(t.data=n?e+t.data:t.data+e)})(l[f],t,r,p),f},f=(e,t,n)=>e.reduce((e,r,i)=>{let a=t[i];if(a&&a.call){let e=a(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?`.`+t:e&&typeof e==`object`?e.props?``:c(e,``):!1===e?``:e}return e+r+(a??``)},``);function p(e){let t=this||{},n=e.call?e(t.p):e;return d(n.unshift?n.raw?f(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,i(t.target),t.g,t.o,t.k)}var m,h,g;p.bind({g:1});var _=p.bind({k:1});function ee(e,t,n,r){c.p=t,m=e,h=n,g=r}function v(e,t){let n=this||{};return function(){let r=arguments;function i(a,o){let s=Object.assign({},a),c=s.className||i.className;n.p=Object.assign({theme:h&&h()},s),n.o=/ *go\d+/.test(c),s.className=p.apply(n,r)+(c?` `+c:``),t&&(s.ref=o);let l=e;return e[0]&&(l=s.as||e,delete s.as),g&&l[0]&&g(s),m(l,s)}return t?t(i):i}}var te=e=>typeof e==`function`,y=(e,t)=>te(e)?e(t):e,b=(()=>{let e=0;return()=>(++e).toString()})(),x=(()=>{let e;return()=>{if(e===void 0&&typeof window<`u`){let t=matchMedia(`(prefers-reduced-motion: reduce)`);e=!t||t.matches}return e}})(),ne=20,S=`default`,C=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return C(e,{type:+!!e.toasts.find(e=>e.id===r.id),toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||i===void 0?{...e,dismissed:!0,visible:!1}:e)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let a=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+a}))}}},w=[],T={toasts:[],pausedAt:void 0,settings:{toastLimit:ne}},E={},D=(e,t=S)=>{E[t]=C(E[t]||T,e),w.forEach(([e,n])=>{e===t&&n(E[t])})},O=e=>Object.keys(E).forEach(t=>D(e,t)),re=e=>Object.keys(E).find(t=>E[t].toasts.some(t=>t.id===e)),k=(e=S)=>t=>{D(t,e)},ie={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},ae=(e={},t=S)=>{let[r,i]=(0,n.useState)(E[t]||T),a=(0,n.useRef)(E[t]);(0,n.useEffect)(()=>(a.current!==E[t]&&i(E[t]),w.push([t,i]),()=>{let e=w.findIndex(([e])=>e===t);e>-1&&w.splice(e,1)}),[t]);let o=r.toasts.map(t=>({...e,...e[t.type],...t,removeDelay:t.removeDelay||e[t.type]?.removeDelay||e?.removeDelay,duration:t.duration||e[t.type]?.duration||e?.duration||ie[t.type],style:{...e.style,...e[t.type]?.style,...t.style}}));return{...r,toasts:o}},oe=(e,t=`blank`,n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:`status`,"aria-live":`polite`},message:e,pauseDuration:0,...n,id:n?.id||b()}),A=e=>(t,n)=>{let r=oe(t,e,n);return k(r.toasterId||re(r.id))({type:2,toast:r}),r.id},j=(e,t)=>A(`blank`)(e,t);j.error=A(`error`),j.success=A(`success`),j.loading=A(`loading`),j.custom=A(`custom`),j.dismiss=(e,t)=>{let n={type:3,toastId:e};t?k(t)(n):O(n)},j.dismissAll=e=>j.dismiss(void 0,e),j.remove=(e,t)=>{let n={type:4,toastId:e};t?k(t)(n):O(n)},j.removeAll=e=>j.remove(void 0,e),j.promise=(e,t,n)=>{let r=j.loading(t.loading,{...n,...n?.loading});return typeof e==`function`&&(e=e()),e.then(e=>{let i=t.success?y(t.success,e):void 0;return i?j.success(i,{id:r,...n,...n?.success}):j.dismiss(r),e}).catch(e=>{let i=t.error?y(t.error,e):void 0;i?j.error(i,{id:r,...n,...n?.error}):j.dismiss(r)}),e};var M=1e3,N=(e,t=`default`)=>{let{toasts:r,pausedAt:i}=ae(e,t),a=(0,n.useRef)(new Map).current,o=(0,n.useCallback)((e,t=M)=>{if(a.has(e))return;let n=setTimeout(()=>{a.delete(e),s({type:4,toastId:e})},t);a.set(e,n)},[]);(0,n.useEffect)(()=>{if(i)return;let e=Date.now(),n=r.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(r<0){n.visible&&j.dismiss(n.id);return}return setTimeout(()=>j.dismiss(n.id,t),r)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[r,i,t]);let s=(0,n.useCallback)(k(t),[t]),c=(0,n.useCallback)(()=>{s({type:5,time:Date.now()})},[s]),l=(0,n.useCallback)((e,t)=>{s({type:1,toast:{id:e,height:t}})},[s]),u=(0,n.useCallback)(()=>{i&&s({type:6,time:Date.now()})},[i,s]),d=(0,n.useCallback)((e,t)=>{let{reverseOrder:n=!1,gutter:i=8,defaultPosition:a}=t||{},o=r.filter(t=>(t.position||a)===(e.position||a)&&t.height),s=o.findIndex(t=>t.id===e.id),c=o.filter((e,t)=>t<s&&e.visible).length;return o.filter(e=>e.visible).slice(...n?[c+1]:[0,c]).reduce((e,t)=>e+(t.height||0)+i,0)},[r]);return(0,n.useEffect)(()=>{r.forEach(e=>{if(e.dismissed)o(e.id,e.removeDelay);else{let t=a.get(e.id);t&&(clearTimeout(t),a.delete(e.id))}})},[r,o]),{toasts:r,handlers:{updateHeight:l,startPause:c,endPause:u,calculateOffset:d}}},P=_`
|
|
2
|
-
from {
|
|
3
|
-
transform: scale(0) rotate(45deg);
|
|
4
|
-
opacity: 0;
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
transform: scale(1) rotate(45deg);
|
|
8
|
-
opacity: 1;
|
|
9
|
-
}`,F=_`
|
|
10
|
-
from {
|
|
11
|
-
transform: scale(0);
|
|
12
|
-
opacity: 0;
|
|
13
|
-
}
|
|
14
|
-
to {
|
|
15
|
-
transform: scale(1);
|
|
16
|
-
opacity: 1;
|
|
17
|
-
}`,I=_`
|
|
18
|
-
from {
|
|
19
|
-
transform: scale(0) rotate(90deg);
|
|
20
|
-
opacity: 0;
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
transform: scale(1) rotate(90deg);
|
|
24
|
-
opacity: 1;
|
|
25
|
-
}`,L=v(`div`)`
|
|
26
|
-
width: 20px;
|
|
27
|
-
opacity: 0;
|
|
28
|
-
height: 20px;
|
|
29
|
-
border-radius: 10px;
|
|
30
|
-
background: ${e=>e.primary||`#ff4b4b`};
|
|
31
|
-
position: relative;
|
|
32
|
-
transform: rotate(45deg);
|
|
33
|
-
|
|
34
|
-
animation: ${P} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
35
|
-
forwards;
|
|
36
|
-
animation-delay: 100ms;
|
|
37
|
-
|
|
38
|
-
&:after,
|
|
39
|
-
&:before {
|
|
40
|
-
content: '';
|
|
41
|
-
animation: ${F} 0.15s ease-out forwards;
|
|
42
|
-
animation-delay: 150ms;
|
|
43
|
-
position: absolute;
|
|
44
|
-
border-radius: 3px;
|
|
45
|
-
opacity: 0;
|
|
46
|
-
background: ${e=>e.secondary||`#fff`};
|
|
47
|
-
bottom: 9px;
|
|
48
|
-
left: 4px;
|
|
49
|
-
height: 2px;
|
|
50
|
-
width: 12px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:before {
|
|
54
|
-
animation: ${I} 0.15s ease-out forwards;
|
|
55
|
-
animation-delay: 180ms;
|
|
56
|
-
transform: rotate(90deg);
|
|
57
|
-
}
|
|
58
|
-
`,R=_`
|
|
59
|
-
from {
|
|
60
|
-
transform: rotate(0deg);
|
|
61
|
-
}
|
|
62
|
-
to {
|
|
63
|
-
transform: rotate(360deg);
|
|
64
|
-
}
|
|
65
|
-
`,z=v(`div`)`
|
|
66
|
-
width: 12px;
|
|
67
|
-
height: 12px;
|
|
68
|
-
box-sizing: border-box;
|
|
69
|
-
border: 2px solid;
|
|
70
|
-
border-radius: 100%;
|
|
71
|
-
border-color: ${e=>e.secondary||`#e0e0e0`};
|
|
72
|
-
border-right-color: ${e=>e.primary||`#616161`};
|
|
73
|
-
animation: ${R} 1s linear infinite;
|
|
74
|
-
`,B=_`
|
|
75
|
-
from {
|
|
76
|
-
transform: scale(0) rotate(45deg);
|
|
77
|
-
opacity: 0;
|
|
78
|
-
}
|
|
79
|
-
to {
|
|
80
|
-
transform: scale(1) rotate(45deg);
|
|
81
|
-
opacity: 1;
|
|
82
|
-
}`,V=_`
|
|
83
|
-
0% {
|
|
84
|
-
height: 0;
|
|
85
|
-
width: 0;
|
|
86
|
-
opacity: 0;
|
|
87
|
-
}
|
|
88
|
-
40% {
|
|
89
|
-
height: 0;
|
|
90
|
-
width: 6px;
|
|
91
|
-
opacity: 1;
|
|
92
|
-
}
|
|
93
|
-
100% {
|
|
94
|
-
opacity: 1;
|
|
95
|
-
height: 10px;
|
|
96
|
-
}`,H=v(`div`)`
|
|
97
|
-
width: 20px;
|
|
98
|
-
opacity: 0;
|
|
99
|
-
height: 20px;
|
|
100
|
-
border-radius: 10px;
|
|
101
|
-
background: ${e=>e.primary||`#61d345`};
|
|
102
|
-
position: relative;
|
|
103
|
-
transform: rotate(45deg);
|
|
104
|
-
|
|
105
|
-
animation: ${B} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
106
|
-
forwards;
|
|
107
|
-
animation-delay: 100ms;
|
|
108
|
-
&:after {
|
|
109
|
-
content: '';
|
|
110
|
-
box-sizing: border-box;
|
|
111
|
-
animation: ${V} 0.2s ease-out forwards;
|
|
112
|
-
opacity: 0;
|
|
113
|
-
animation-delay: 200ms;
|
|
114
|
-
position: absolute;
|
|
115
|
-
border-right: 2px solid;
|
|
116
|
-
border-bottom: 2px solid;
|
|
117
|
-
border-color: ${e=>e.secondary||`#fff`};
|
|
118
|
-
bottom: 6px;
|
|
119
|
-
left: 6px;
|
|
120
|
-
height: 10px;
|
|
121
|
-
width: 6px;
|
|
122
|
-
}
|
|
123
|
-
`,U=v(`div`)`
|
|
124
|
-
position: absolute;
|
|
125
|
-
`,W=v(`div`)`
|
|
126
|
-
position: relative;
|
|
127
|
-
display: flex;
|
|
128
|
-
justify-content: center;
|
|
129
|
-
align-items: center;
|
|
130
|
-
min-width: 20px;
|
|
131
|
-
min-height: 20px;
|
|
132
|
-
`,G=_`
|
|
133
|
-
from {
|
|
134
|
-
transform: scale(0.6);
|
|
135
|
-
opacity: 0.4;
|
|
136
|
-
}
|
|
137
|
-
to {
|
|
138
|
-
transform: scale(1);
|
|
139
|
-
opacity: 1;
|
|
140
|
-
}`,K=v(`div`)`
|
|
141
|
-
position: relative;
|
|
142
|
-
transform: scale(0.6);
|
|
143
|
-
opacity: 0.4;
|
|
144
|
-
min-width: 20px;
|
|
145
|
-
animation: ${G} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
146
|
-
forwards;
|
|
147
|
-
`,q=({toast:e})=>{let{icon:t,type:r,iconTheme:i}=e;return t===void 0?r===`blank`?null:n.createElement(W,null,n.createElement(z,{...i}),r!==`loading`&&n.createElement(U,null,r===`error`?n.createElement(L,{...i}):n.createElement(H,{...i}))):typeof t==`string`?n.createElement(K,null,t):t},se=e=>`
|
|
148
|
-
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
149
|
-
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
150
|
-
`,ce=e=>`
|
|
151
|
-
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
152
|
-
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
153
|
-
`,le=`0%{opacity:0;} 100%{opacity:1;}`,ue=`0%{opacity:1;} 100%{opacity:0;}`,de=v(`div`)`
|
|
154
|
-
display: flex;
|
|
155
|
-
align-items: center;
|
|
156
|
-
background: #fff;
|
|
157
|
-
color: #363636;
|
|
158
|
-
line-height: 1.3;
|
|
159
|
-
will-change: transform;
|
|
160
|
-
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
161
|
-
max-width: 350px;
|
|
162
|
-
pointer-events: auto;
|
|
163
|
-
padding: 8px 10px;
|
|
164
|
-
border-radius: 8px;
|
|
165
|
-
`,fe=v(`div`)`
|
|
166
|
-
display: flex;
|
|
167
|
-
justify-content: center;
|
|
168
|
-
margin: 4px 10px;
|
|
169
|
-
color: inherit;
|
|
170
|
-
flex: 1 1 auto;
|
|
171
|
-
white-space: pre-line;
|
|
172
|
-
`,pe=(e,t)=>{let n=e.includes(`top`)?1:-1,[r,i]=x()?[le,ue]:[se(n),ce(n)];return{animation:t?`${_(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${_(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},me=n.memo(({toast:e,position:t,style:r,children:i})=>{let a=e.height?pe(e.position||t||`top-center`,e.visible):{opacity:0},o=n.createElement(q,{toast:e}),s=n.createElement(fe,{...e.ariaProps},y(e.message,e));return n.createElement(de,{className:e.className,style:{...a,...r,...e.style}},typeof i==`function`?i({icon:o,message:s}):n.createElement(n.Fragment,null,o,s))});ee(n.createElement);var he=({id:e,className:t,style:r,onHeightUpdate:i,children:a})=>{let o=n.useCallback(t=>{if(t){let n=()=>{let n=t.getBoundingClientRect().height;i(e,n)};n(),new MutationObserver(n).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,i]);return n.createElement(`div`,{ref:o,className:t,style:r},a)},ge=(e,t)=>{let n=e.includes(`top`),r=n?{top:0}:{bottom:0},i=e.includes(`center`)?{justifyContent:`center`}:e.includes(`right`)?{justifyContent:`flex-end`}:{};return{left:0,right:0,display:`flex`,position:`absolute`,transition:x()?void 0:`all 230ms cubic-bezier(.21,1.02,.73,1)`,transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},_e=p`
|
|
173
|
-
z-index: 9999;
|
|
174
|
-
> * {
|
|
175
|
-
pointer-events: auto;
|
|
176
|
-
}
|
|
177
|
-
`,J=16,ve=({reverseOrder:e,position:t=`top-center`,toastOptions:r,gutter:i,children:a,toasterId:o,containerStyle:s,containerClassName:c})=>{let{toasts:l,handlers:u}=N(r,o);return n.createElement(`div`,{"data-rht-toaster":o||``,style:{position:`fixed`,zIndex:9999,top:J,left:J,right:J,bottom:J,pointerEvents:`none`,...s},className:c,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(r=>{let o=r.position||t,s=ge(o,u.calculateOffset(r,{reverseOrder:e,gutter:i,defaultPosition:t}));return n.createElement(he,{id:r.id,key:r.id,onHeightUpdate:u.updateHeight,className:r.visible?_e:``,style:s},r.type===`custom`?y(r.message,r):a?a(r):n.createElement(me,{toast:r,position:o}))}))},ye=j,Y=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),be=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),xe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),X=e=>{let t=xe(e);return t.charAt(0).toUpperCase()+t.slice(1)},Z={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Se=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Ce=(0,n.createContext)({}),we=()=>(0,n.useContext)(Ce),Te=(0,n.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:i,className:a=``,children:o,iconNode:s,...c},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=we()??{},h=i??f?Number(r??d)*24/Number(t??u):r??d;return(0,n.createElement)(`svg`,{ref:l,...Z,width:t??u??Z.width,height:t??u??Z.height,stroke:e??p,strokeWidth:h,className:Y(`lucide`,m,a),...!o&&!Se(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(o)?o:[o]])}),Q=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...i},a)=>(0,n.createElement)(Te,{ref:a,iconNode:t,className:Y(`lucide-${be(X(e))}`,`lucide-${e}`,r),...i}));return r.displayName=X(e),r},Ee=Q(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),De=Q(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),Oe=Q(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),ke=Q(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Ae=Q(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),je=Q(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Me=Q(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Ne=Q(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),Pe=Q(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Fe=Q(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Ie=Q(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Le=Q(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Re=Q(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),ze=Q(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Be=Q(`cloud`,[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`,key:`p7xjir`}]]),Ve=Q(`code-xml`,[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]]),He=Q(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Ue=Q(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),We=Q(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),Ge=Q(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),Ke=Q(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),qe=Q(`ellipsis`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]]),Je=Q(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),Ye=Q(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Xe=Q(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Ze=Q(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),Qe=Q(`file-down`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}],[`path`,{d:`m9 15 3 3 3-3`,key:`1npd3o`}]]),$e=Q(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),et=Q(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),tt=Q(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),nt=Q(`gauge`,[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]),rt=Q(`ghost`,[[`path`,{d:`M9 10h.01`,key:`qbtxuw`}],[`path`,{d:`M15 10h.01`,key:`1qmjsl`}],[`path`,{d:`M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z`,key:`uwwb07`}]]),it=Q(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),at=Q(`git-merge`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`,key:`7kw0sc`}]]),ot=Q(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),st=Q(`grip-vertical`,[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]),ct=Q(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),lt=Q(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),ut=Q(`heart`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]),dt=Q(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),ft=Q(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),pt=Q(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),mt=Q(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),ht=Q(`key`,[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`,key:`g0fldk`}],[`path`,{d:`m21 2-9.6 9.6`,key:`1j0ho8`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`,key:`yqb3hr`}]]),gt=Q(`keyboard`,[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]),_t=Q(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),vt=Q(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),yt=Q(`loader`,[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]),bt=Q(`log-in`,[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]),xt=Q(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),St=Q(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ct=Q(`memory-stick`,[[`path`,{d:`M12 12v-2`,key:`fwoke6`}],[`path`,{d:`M12 18v-2`,key:`qj6yno`}],[`path`,{d:`M16 12v-2`,key:`heuere`}],[`path`,{d:`M16 18v-2`,key:`s1ct0w`}],[`path`,{d:`M2 11h1.5`,key:`15p63e`}],[`path`,{d:`M20 18v-2`,key:`12ehxp`}],[`path`,{d:`M20.5 11H22`,key:`khsy7a`}],[`path`,{d:`M4 18v-2`,key:`1c3oqr`}],[`path`,{d:`M8 12v-2`,key:`1mwtfd`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`,key:`1qcswk`}]]),wt=Q(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Tt=Q(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Et=Q(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Dt=Q(`palette`,[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]),Ot=Q(`paperclip`,[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]),kt=Q(`pen-line`,[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),At=Q(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),jt=Q(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Mt=Q(`puzzle`,[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]),Nt=Q(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Pt=Q(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Ft=Q(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),It=Q(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Lt=Q(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),Rt=Q(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]),zt=Q(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Bt=Q(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),Vt=Q(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Ht=Q(`sliders-vertical`,[[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M12 21v-9`,key:`17s77i`}],[`path`,{d:`M12 8V3`,key:`13r4qs`}],[`path`,{d:`M17 16h4`,key:`h1uq16`}],[`path`,{d:`M19 12V3`,key:`o1uvq1`}],[`path`,{d:`M19 21v-5`,key:`qua636`}],[`path`,{d:`M3 14h4`,key:`bcjad9`}],[`path`,{d:`M5 10V3`,key:`cb8scm`}],[`path`,{d:`M5 21v-7`,key:`1w1uti`}]]),Ut=Q(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Wt=Q(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Gt=Q(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Kt=Q(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),qt=Q(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),$=Q(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),Jt=Q(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),Yt=Q(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Xt=Q(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Zt=Q(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),Qt=Q(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),$t=Q(`user-plus`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`,key:`1bvyxn`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]),en=Q(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),tn=Q(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),nn=Q(`volume-x`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`,key:`1ewh16`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`,key:`5ykzw1`}]]),rn=Q(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),an=Q(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),on=Q(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]);export{ct as $,jt as A,je as At,xt as B,Rt as C,Re as Ct,Pt as D,Pe as Dt,Ft as E,Fe as Et,Et as F,Ee as Ft,gt as G,yt as H,Tt as I,ve as It,pt as J,ht as K,wt as L,j as Lt,kt as M,ke as Mt,Ot as N,Oe as Nt,Nt as O,Ne as Ot,Dt as P,De as Pt,lt as Q,Ct as R,ye as Rt,zt as S,ze as St,It as T,Ie as Tt,vt as U,bt as V,_t as W,dt as X,ft as Y,ut as Z,Wt as _,We as _t,tn as a,nt as at,Vt as b,Ve as bt,Qt as c,$e as ct,Yt as d,Xe as dt,st as et,Jt as f,Ye as ft,Gt as g,Ge as gt,Kt as h,Ke as ht,nn as i,rt as it,At as j,Ae as jt,Mt as k,Me as kt,Zt as l,Qe as lt,qt as m,qe as mt,an as n,at as nt,en as o,tt as ot,$ as p,Je as pt,mt as q,rn as r,it as rt,$t as s,et as st,on as t,ot as tt,Xt as u,Ze as ut,Ut as v,Ue as vt,Lt as w,Le as wt,Bt as x,Be as xt,Ht as y,He as yt,St as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{d as t,f as n}from"./markdown-core-CEpaJrKd.js";import{$ as r,B as i,F as a,G as o,H as s,J as c,K as l,N as u,P as d,Q as f,R as p,U as m,V as h,W as g,X as _,Y as v,Z as y,et as b,q as x,tt as S,z as C}from"../assets/index-CDA2f43l.js";var w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,ee=(w=new WeakMap,T=new WeakMap,E=new WeakMap,D=new WeakMap,O=new WeakMap,k=new WeakMap,A=new WeakMap,j=new WeakMap,M=new WeakMap,N=new WeakMap,P=new WeakMap,F=new WeakMap,I=new WeakMap,L=new WeakMap,R=new WeakMap,z=new WeakSet,class extends S{constructor(e,t){super(),a(this,z),b(this,w,void 0),b(this,T,void 0),b(this,E,void 0),b(this,D,void 0),b(this,O,void 0),b(this,k,void 0),b(this,A,void 0),b(this,j,void 0),b(this,M,void 0),b(this,N,void 0),b(this,P,void 0),b(this,F,void 0),b(this,I,void 0),b(this,L,void 0),b(this,R,new Set),this.options=t,f(w,this,e),f(j,this,null),f(A,this,C()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(y(T,this).addObserver(this),J(y(T,this),this.options)?r(z,this,B).call(this):this.updateResult(),r(z,this,W).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Y(y(T,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Y(y(T,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,r(z,this,G).call(this),r(z,this,K).call(this),y(T,this).removeObserver(this)}setOptions(e){let t=this.options,n=y(T,this);if(this.options=y(w,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof g(this.options.enabled,y(T,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);r(z,this,q).call(this),y(T,this).setOptions(this.options),t._defaulted&&!l(this.options,t)&&y(w,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:y(T,this),observer:this});let i=this.hasListeners();i&&X(y(T,this),n,this.options,t)&&r(z,this,B).call(this),this.updateResult(),i&&(y(T,this)!==n||g(this.options.enabled,y(T,this))!==g(t.enabled,y(T,this))||o(this.options.staleTime,y(T,this))!==o(t.staleTime,y(T,this)))&&r(z,this,V).call(this);let a=r(z,this,H).call(this);i&&(y(T,this)!==n||g(this.options.enabled,y(T,this))!==g(t.enabled,y(T,this))||a!==y(L,this))&&r(z,this,U).call(this,a)}getOptimisticResult(e){let t=y(w,this).getQueryCache().build(y(w,this),e),n=this.createResult(t,e);return re(this,n)&&(f(D,this,n),f(k,this,this.options),f(O,this,y(T,this).state)),n}getCurrentResult(){return y(D,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&y(A,this).status===`pending`&&y(A,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){y(R,this).add(e)}getCurrentQuery(){return y(T,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=y(w,this).defaultQueryOptions(e),n=y(w,this).getQueryCache().build(y(w,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return r(z,this,B).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),y(D,this)))}createResult(e,t){let n=y(T,this),r=this.options,i=y(D,this),a=y(O,this),o=y(k,this),s=e===n?y(E,this):e.state,{state:c}=e,l={...c},u=!1,p;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&J(e,t),o=i&&X(e,n,t,r);(a||o)&&(l={...l,...d(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:h,errorUpdatedAt:_,status:v}=l;p=l.data;let b=!1;if(t.placeholderData!==void 0&&p===void 0&&v===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,b=!0):e=typeof t.placeholderData==`function`?t.placeholderData(y(P,this)?.state.data,y(P,this)):t.placeholderData,e!==void 0&&(v=`success`,p=m(i?.data,e,t),u=!0)}if(t.select&&p!==void 0&&!b)if(i&&p===a?.data&&t.select===y(M,this))p=y(N,this);else try{f(M,this,t.select),p=t.select(p),p=m(i?.data,p,t),f(N,this,p),f(j,this,null)}catch(e){f(j,this,e)}y(j,this)&&(h=y(j,this),p=y(N,this),_=Date.now(),v=`error`);let x=l.fetchStatus===`fetching`,S=v===`pending`,w=v===`error`,F=S&&x,I=p!==void 0,L={status:v,fetchStatus:l.fetchStatus,isPending:S,isSuccess:v===`success`,isError:w,isInitialLoading:F,isLoading:F,data:p,dataUpdatedAt:l.dataUpdatedAt,error:h,errorUpdatedAt:_,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:x,isRefetching:x&&!S,isLoadingError:w&&!I,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:w&&I,isStale:Z(e,t),refetch:this.refetch,promise:y(A,this),isEnabled:g(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=L.data!==void 0,r=L.status===`error`&&!t,i=e=>{r?e.reject(L.error):t&&e.resolve(L.data)},a=()=>{i(f(A,this,L.promise=C()))},o=y(A,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||L.data!==o.value)&&a();break;case`rejected`:(!r||L.error!==o.reason)&&a();break}}return L}updateResult(){let e=y(D,this),t=this.createResult(y(T,this),this.options);f(O,this,y(T,this).state),f(k,this,this.options),y(O,this).data!==void 0&&f(P,this,y(T,this)),!l(t,e)&&(f(D,this,t),r(z,this,te).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!y(R,this).size)return!0;let r=new Set(n??y(R,this));return this.options.throwOnError&&r.add(`error`),Object.keys(y(D,this)).some(t=>{let n=t;return y(D,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&r(z,this,W).call(this)}});function B(e){r(z,this,q).call(this);let t=y(T,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(s)),t}function V(){r(z,this,G).call(this);let e=o(this.options.staleTime,y(T,this));if(i.isServer()||y(D,this).isStale||!h(e))return;let t=c(y(D,this).dataUpdatedAt,e)+1;f(F,this,v.setTimeout(()=>{y(D,this).isStale||this.updateResult()},t))}function H(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(y(T,this)):this.options.refetchInterval)??!1}function U(e){r(z,this,K).call(this),f(L,this,e),!(i.isServer()||g(this.options.enabled,y(T,this))===!1||!h(y(L,this))||y(L,this)===0)&&f(I,this,v.setInterval(()=>{(this.options.refetchIntervalInBackground||_.isFocused())&&r(z,this,B).call(this)},y(L,this)))}function W(){r(z,this,V).call(this),r(z,this,U).call(this,r(z,this,H).call(this))}function G(){y(F,this)!==void 0&&(v.clearTimeout(y(F,this)),f(F,this,void 0))}function K(){y(I,this)!==void 0&&(v.clearInterval(y(I,this)),f(I,this,void 0))}function q(){let e=y(w,this).getQueryCache().build(y(w,this),this.options);if(e===y(T,this))return;let t=y(T,this);f(T,this,e),f(E,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function te(e){p.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(y(D,this))}),y(w,this).getQueryCache().notify({query:y(T,this),type:`observerResultsUpdated`})})}function ne(e,t){return g(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&g(t.retryOnMount,e)===!1)}function J(e,t){return ne(e,t)||e.state.data!==void 0&&Y(e,t,t.refetchOnMount)}function Y(e,t,n){if(g(t.enabled,e)!==!1&&o(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Z(e,t)}return!1}function X(e,t,n,r){return(e!==t||g(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Z(e,n)}function Z(e,t){return g(t.enabled,e)!==!1&&e.isStaleByTime(o(t.staleTime,e))}function re(e,t){return!l(e.getCurrentResult(),t)}t();var Q=e(n(),1),$=Q.createContext(!1),ie=()=>Q.useContext($);$.Provider;function ae(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var oe=Q.createContext(ae()),se=()=>Q.useContext(oe),ce=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?x(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},le=e=>{Q.useEffect(()=>{e.clearReset()},[e])},ue=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||x(n,[e.error,r])),de=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},fe=(e,t)=>e.isLoading&&e.isFetching&&!t,pe=(e,t)=>e?.suspense&&t.isPending,me=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function he(e,t,n){let r=ie(),a=se(),o=u(n),c=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(c);let l=o.getQueryCache().get(c.queryHash),d=e.subscribed!==!1;c._optimisticResults=r?`isRestoring`:d?`optimistic`:void 0,de(c),ce(c,a,l),le(a);let f=!o.getQueryCache().get(c.queryHash),[m]=Q.useState(()=>new t(o,c)),h=m.getOptimisticResult(c),g=!r&&d;if(Q.useSyncExternalStore(Q.useCallback(e=>{let t=g?m.subscribe(p.batchCalls(e)):s;return m.updateResult(),t},[m,g]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),Q.useEffect(()=>{m.setOptions(c)},[c,m]),pe(c,h))throw me(c,m,a);if(ue({result:h,errorResetBoundary:a,throwOnError:c.throwOnError,query:l,suspense:c.suspense}))throw h.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(c,h),c.experimental_prefetchInRender&&!i.isServer()&&fe(h,r)&&(f?me(c,m,a):l?.promise)?.catch(s).finally(()=>{m.updateResult()}),c.notifyOnChangeProps?h:m.trackResult(h)}export{ee as n,he as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,t}from"./useBaseQuery-CrdrLcmR.js";function n(n,r){return t(n,e,r)}export{n as t};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{n as e,r as t}from"./rolldown-runtime-QTnfLwEv.js";import{f as n}from"./markdown-core-CEpaJrKd.js";var r=t(n(),1),i=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},a=(e=>e?i(e):i),o=e=>e;function s(e,t=o){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n}var c=e=>{let t=a(e),n=e=>s(t,e);return Object.assign(n,t),n},l=(e=>e?c(e):c);function u(e,t){return function(){return e.apply(t,arguments)}}var{toString:d}=Object.prototype,{getPrototypeOf:f}=Object,{iterator:p,toStringTag:m}=Symbol,h=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),g=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),h(n,t))return!0;n=f(n)}return!1},_=(e,t)=>e!=null&&g(e,t)?e[t]:void 0,v=(e=>t=>{let n=d.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),y=e=>(e=e.toLowerCase(),t=>v(t)===e),b=e=>t=>typeof t===e,{isArray:x}=Array,S=b(`undefined`);function C(e){return e!==null&&!S(e)&&e.constructor!==null&&!S(e.constructor)&&D(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var w=y(`ArrayBuffer`);function T(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&w(e.buffer),t}var E=b(`string`),D=b(`function`),ee=b(`number`),O=e=>typeof e==`object`&&!!e,k=e=>e===!0||e===!1,A=e=>{if(!O(e))return!1;let t=f(e);return(t===null||t===Object.prototype||f(t)===null)&&!g(e,m)&&!g(e,p)},j=e=>{if(!O(e)||C(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},M=y(`Date`),N=y(`File`),te=e=>!!(e&&e.uri!==void 0),P=e=>e&&e.getParts!==void 0,ne=y(`Blob`),F=y(`FileList`),re=e=>O(e)&&D(e.pipe);function ie(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var I=ie(),L=I.FormData===void 0?void 0:I.FormData,ae=e=>{if(!e)return!1;if(L&&e instanceof L)return!0;let t=f(e);if(!t||t===Object.prototype||!D(e.append))return!1;let n=v(e);return n===`formdata`||n===`object`&&D(e.toString)&&e.toString()===`[object FormData]`},oe=y(`URLSearchParams`),[R,se,ce,le]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(y),ue=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function z(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),x(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(C(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function de(e,t){if(C(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var fe=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,pe=e=>!S(e)&&e!==fe;function me(...e){let{caseless:t,skipUndefined:n}=pe(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&de(r,i)||i,o=h(r,a)?r[a]:void 0;A(o)&&A(e)?r[a]=me(o,e):A(e)?r[a]=me({},e):x(e)?r[a]=e.slice():(!n||!S(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||C(n)||(z(n,i),typeof n!=`object`||x(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];Ee.call(n,t)&&i(n[t],t)}}return r}var he=(e,t,n,{allOwnKeys:r}={})=>(z(t,(t,r)=>{n&&D(t)?Object.defineProperty(e,r,{__proto__:null,value:u(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),ge=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_e=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},ve=(e,t,n,r)=>{let i,a,o,s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&f(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ye=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},be=e=>{if(!e)return null;if(x(e))return e;let t=e.length;if(!ee(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},xe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&f(Uint8Array)),Se=(e,t)=>{let n=(e&&e[p]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},Ce=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},we=y(`HTMLFormElement`),Te=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:Ee}=Object.prototype,De=y(`RegExp`),Oe=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};z(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},ke=e=>{Oe(e,(t,n)=>{if(D(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(D(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)})}})},Ae=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return x(e)?r(e):r(String(e).split(t)),n},je=()=>{},Me=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ne(e){return!!(e&&D(e.append)&&e[m]===`FormData`&&e[p])}var Pe=e=>{let t=new WeakSet,n=e=>{if(O(e)){if(t.has(e))return;if(C(e))return e;if(!(`toJSON`in e)){t.add(e);let r=x(e)?[]:{};return z(e,(e,t)=>{let i=n(e);!S(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},Fe=y(`AsyncFunction`),Ie=e=>e&&(O(e)||D(e))&&D(e.then)&&D(e.catch),Le=((e,t)=>e?setImmediate:t?((e,t)=>(fe.addEventListener(`message`,({source:n,data:r})=>{n===fe&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),fe.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,D(fe.postMessage)),Re=typeof queueMicrotask<`u`?queueMicrotask.bind(fe):typeof process<`u`&&process.nextTick||Le,ze=e=>e!=null&&D(e[p]),B={isArray:x,isArrayBuffer:w,isBuffer:C,isFormData:ae,isArrayBufferView:T,isString:E,isNumber:ee,isBoolean:k,isObject:O,isPlainObject:A,isEmptyObject:j,isReadableStream:R,isRequest:se,isResponse:ce,isHeaders:le,isUndefined:S,isDate:M,isFile:N,isReactNativeBlob:te,isReactNative:P,isBlob:ne,isRegExp:De,isFunction:D,isStream:re,isURLSearchParams:oe,isTypedArray:xe,isFileList:F,forEach:z,merge:me,extend:he,trim:ue,stripBOM:ge,inherits:_e,toFlatObject:ve,kindOf:v,kindOfTest:y,endsWith:ye,toArray:be,forEachEntry:Se,matchAll:Ce,isHTMLForm:we,hasOwnProperty:h,hasOwnProp:h,hasOwnInPrototypeChain:g,getSafeProp:_,reduceDescriptors:Oe,freezeMethods:ke,toObjectSet:Ae,toCamelCase:Te,noop:je,toFiniteNumber:Me,findKey:de,global:fe,isContextDefined:pe,isSpecCompliantForm:Ne,toJSONObject:Pe,isAsyncFn:Fe,isThenable:Ie,setImmediate:Le,asap:Re,isIterable:ze,isSafeIterable:e=>e!=null&&g(e,p)&&ze(e)},Be=B.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Ve=e=>{let t={},n,r,i;return e&&e.split(`
|
|
2
|
-
`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Be[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function He(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var Ue=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),We=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function Ge(e,t){return B.isArray(e)?e.map(e=>Ge(e,t)):He(String(e).replace(t,``))}var Ke=e=>Ge(e,Ue),qe=e=>Ge(e,We);function Je(e){let t=Object.create(null);return B.forEach(e.toJSON(),(e,n)=>{t[n]=qe(e)}),t}var Ye=Symbol(`internals`);function Xe(e){return e&&String(e).trim().toLowerCase()}function Ze(e){return e===!1||e==null?e:B.isArray(e)?e.map(Ze):Ke(String(e))}function Qe(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var $e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,r,i){if(B.isFunction(r))return r.call(this,t,n);if(i&&(t=n),B.isString(t)){if(B.isString(r))return t.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function nt(e,t){let n=B.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var V=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=Xe(t);if(!i)return;let a=B.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=Ze(e))}let a=(e,t)=>B.forEach(e,(e,n)=>i(e,n,t));if(B.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(B.isString(e)&&(e=e.trim())&&!$e(e))a(Ve(e),t);else if(B.isObject(e)&&B.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!B.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],B.hasOwnProp(n,i)?(r=n[i],n[i]=B.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=Xe(e),e){let n=B.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return Qe(e);if(B.isFunction(t))return t.call(this,e,n);if(B.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=Xe(e),e){let n=B.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||et(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=Xe(e),e){let i=B.findKey(n,e);i&&(!t||et(n,n[i],i,t))&&(delete n[i],r=!0)}}return B.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||et(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return B.forEach(this,(r,i)=>{let a=B.findKey(n,i);if(a){t[a]=Ze(r),delete t[i];return}let o=e?tt(i):String(i).trim();o!==i&&delete t[i],t[o]=Ze(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return B.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&B.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[Ye]=this[Ye]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=Xe(e);t[r]||(nt(n,e),t[r]=!0)}return B.isArray(e)?e.forEach(r):r(e),this}};V.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),B.reduceDescriptors(V.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),B.freezeMethods(V);var rt=`[REDACTED ****]`;function it(e){if(B.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(B.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function at(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||B.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof V&&(e=e.toJSON()),r.push(e);let t;if(B.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);B.isUndefined(r)||(t[n]=r)});else{if(!B.isPlainObject(e)&&it(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?rt:i(a);B.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var H=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&B.hasOwnProp(e,`redact`)?e.redact:void 0,n=B.isArray(t)&&t.length>0?at(e,t):B.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};H.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,H.ERR_BAD_OPTION=`ERR_BAD_OPTION`,H.ECONNABORTED=`ECONNABORTED`,H.ETIMEDOUT=`ETIMEDOUT`,H.ECONNREFUSED=`ECONNREFUSED`,H.ERR_NETWORK=`ERR_NETWORK`,H.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,H.ERR_DEPRECATED=`ERR_DEPRECATED`,H.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,H.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,H.ERR_CANCELED=`ERR_CANCELED`,H.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,H.ERR_INVALID_URL=`ERR_INVALID_URL`,H.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function ot(e){return B.isPlainObject(e)||B.isArray(e)}function st(e){return B.endsWith(e,`[]`)?e.slice(0,-2):e}function ct(e,t,n){return e?e.concat(t).map(function(e,t){return e=st(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function lt(e){return B.isArray(e)&&!e.some(ot)}var ut=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});function dt(e,t,n){if(!B.isObject(e))throw TypeError(`target must be an object`);t=t||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!B.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&B.isSpecCompliantForm(t),u=[];if(!B.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(B.isDate(e))return e.toISOString();if(B.isBoolean(e))return e.toString();if(!l&&B.isBlob(e))throw new H(`Blob is not supported. Use a Buffer instead.`);return B.isArrayBuffer(e)||B.isTypedArray(e)?l&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function f(e){if(e>c)throw new H(`Object is too deeply nested (`+e+` levels). Max depth: `+c,H.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!B.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(B.isReactNative(t)&&B.isReactNativeBlob(e))return t.append(ct(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(B.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(B.isArray(e)&<(e)||(B.isFileList(e)||B.endsWith(n,`[]`))&&(s=B.toArray(e)))return n=st(n),s.forEach(function(e,r){!(B.isUndefined(e)||e===null)&&t.append(o===!0?ct([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return ot(e)?!0:(t.append(ct(i,n,a),d(e)),!1)}let h=Object.assign(ut,{defaultVisitor:m,convertValue:d,isVisitable:ot});function g(e,n,r=0){if(!B.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),B.forEach(e,function(e,a){(!(B.isUndefined(e)||e===null)&&i.call(t,e,B.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!B.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function ft(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function pt(e,t){this._pairs=[],e&&dt(e,this,t)}var mt=pt.prototype;mt.append=function(e,t){this._pairs.push([e,t])},mt.toString=function(e){let t=e?function(t){return e.call(this,t,ft)}:ft;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function ht(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function gt(e,t,n){if(!t)return e;let r=B.isFunction(n)?{serialize:n}:n,i=B.getSafeProp(r,`encode`)||ht,a=B.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):B.isURLSearchParams(t)?t.toString():new pt(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var _t=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,function(t){t!==null&&e(t)})}},vt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},yt={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:pt,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},bt=e({hasBrowserEnv:()=>xt,hasStandardBrowserEnv:()=>Ct,hasStandardBrowserWebWorkerEnv:()=>wt,navigator:()=>St,origin:()=>Tt}),xt=typeof window<`u`&&typeof document<`u`,St=typeof navigator==`object`&&navigator||void 0,Ct=xt&&(!St||[`ReactNative`,`NativeScript`,`NS`].indexOf(St.product)<0),wt=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,Tt=xt&&window.location.href||`http://localhost`,U={...bt,...yt};function Et(e,t){return dt(e,new U.classes.URLSearchParams,{visitor:function(e,t,n,r){return U.isNode&&B.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var Dt=100;function Ot(e){if(e>Dt)throw new H(`FormData field is too deeply nested (`+e+` levels). Max depth: `+Dt,H.ERR_FORM_DATA_DEPTH_EXCEEDED)}function kt(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)Ot(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function At(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function jt(e){function t(e,n,r,i){Ot(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&B.isArray(r)?r.length:a,s?(B.hasOwnProp(r,a)?r[a]=B.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!B.hasOwnProp(r,a)||!B.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&B.isArray(r[a])&&(r[a]=At(r[a])),!o)}if(B.isFormData(e)&&B.isFunction(e.entries)){let n={};return B.forEachEntry(e,(e,r)=>{t(kt(e),r,n,0)}),n}return null}var Mt=(e,t)=>e!=null&&B.hasOwnProp(e,t)?e[t]:void 0;function Nt(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var Pt={transitional:vt,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=B.isObject(e);if(i&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return r?JSON.stringify(jt(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e)||B.isReadableStream(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=Mt(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return Et(e,t).toString();if((a=B.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=Mt(this,`env`),r=n&&n.FormData;return dt(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),Nt(e)):e}],transformResponse:[function(e){let t=Mt(this,`transitional`)||Pt.transitional,n=t&&t.forcedJSONParsing,r=Mt(this,`responseType`),i=r===`json`;if(B.isResponse(e)||B.isReadableStream(e))return e;if(e&&B.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Mt(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?H.from(e,H.ERR_BAD_RESPONSE,this,null,Mt(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:U.classes.FormData,Blob:U.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};B.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{Pt.headers[e]={}});function Ft(e,t){let n=this||Pt,r=t||n,i=V.from(r.headers),a=r.data;return B.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function It(e){return!!(e&&e.__CANCEL__)}var Lt=class extends H{constructor(e,t,n){super(e??`canceled`,H.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Rt(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new H(`Request failed with status code `+n.status,n.status>=400&&n.status<500?H.ERR_BAD_REQUEST:H.ERR_BAD_RESPONSE,n.config,n.request,n))}function zt(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function Bt(e,t){e=e||10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||(o=c),n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function Vt(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&(clearTimeout(a),a=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||(a=setTimeout(()=>{a=null,o(i)},r-s)))},()=>i&&o(i)]}var Ht=(e,t,n=3)=>{let r=0,i=Bt(50,250);return Vt(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},Ut=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Wt=e=>(...t)=>B.asap(()=>e(...t)),Gt=U.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,U.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(U.origin),U.navigator&&/(msie|trident)/i.test(U.navigator.userAgent)):()=>!0,Kt=U.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];B.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),B.isString(r)&&s.push(`path=${r}`),B.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),B.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function qt(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function Jt(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}var Yt=/^https?:(?!\/\/)/i,Xt=/[\t\n\r]/g;function Zt(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function Qt(e){return Zt(e).replace(Xt,``)}function $t(e,t){if(typeof e==`string`&&Yt.test(Qt(e)))throw new H(`Invalid URL: missing "//" after protocol`,H.ERR_INVALID_URL,t)}function en(e,t,n,r){$t(t,r);let i=!qt(t);return e&&(i||n===!1)?($t(e,r),Jt(e,t)):t}var tn=e=>e instanceof V?{...e}:e;function nn(e,t){t=t||{};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:r},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function i(e,t,n,i){if(!B.isUndefined(t))return r(e,t,n,i);if(!B.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!B.isUndefined(t))return r(void 0,t)}function o(e,t){if(!B.isUndefined(t))return r(void 0,t);if(!B.isUndefined(e))return r(void 0,e)}function s(n){let r=B.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!B.isUndefined(r))if(B.isPlainObject(r)){if(B.hasOwnProp(r,n))return r[n]}else return;let i=B.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(B.isPlainObject(i)&&B.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(B.hasOwnProp(t,a))return r(n,i);if(B.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(tn(e),tn(t),n,!0)};return B.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=B.hasOwnProp(l,r)?l[r]:i,o=a(B.hasOwnProp(e,r)?e[r]:void 0,B.hasOwnProp(t,r)?t[r]:void 0,r);B.isUndefined(o)&&a!==c||(n[r]=o)}),B.hasOwnProp(t,`validateStatus`)&&B.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(B.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}var rn=[`content-type`,`content-length`];function an(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t).forEach(([t,n])=>{rn.includes(t.toLowerCase())&&e.set(t,n)})}var on=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function sn(e){let t=nn({},e),n=e=>B.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=V.from(s),t.url=gt(en(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let e=B.getSafeProp(c,`username`)||``,t=B.getSafeProp(c,`password`)||``;s.set(`Authorization`,`Basic `+btoa(e+`:`+(t?on(t):``)))}if(B.isFormData(r)&&(U.hasStandardBrowserEnv||U.hasStandardBrowserWebWorkerEnv||B.isReactNative(r)?s.setContentType(void 0):B.isFunction(r.getHeaders)&&an(s,r.getHeaders(),n(`formDataHeaderPolicy`))),U.hasStandardBrowserEnv&&(B.isFunction(i)&&(i=i(t)),i===!0||i==null&&Gt(t.url))){let e=a&&o&&Kt.read(o);e&&s.set(a,e)}return t}var cn=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=sn(e),i=r.data,a=V.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=V.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());Rt(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&(n(new H(`Request aborted`,H.ECONNABORTED,e,h)),m(),h=null)},h.onerror=function(t){let r=new H(t&&t.message?t.message:`Network Error`,H.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||vt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new H(t,i.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&B.forEach(Je(a),function(e,t){h.setRequestHeader(t,e)}),B.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=Ht(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=Ht(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&(n(!t||t.type?new Lt(null,e,h):t),h.abort(),m(),h=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=zt(r.url);if(_&&!U.protocols.includes(_)){n(new H(`Unsupported protocol `+_+`:`,H.ERR_BAD_REQUEST,e));return}h.send(i||null)})},ln=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof H?t:new Lt(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new H(`timeout of ${t}ms exceeded`,H.ETIMEDOUT))},t),o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),e=null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>B.asap(o),s},un=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},dn=async function*(e,t){for await(let n of fn(e))yield*un(n,t)},fn=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},pn=(e,t,n,r)=>{let i=dn(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},mn=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,hn=(e,t,n)=>t+2<n&&mn(e.charCodeAt(t+1))&&mn(e.charCodeAt(t+2));function gn(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);mn(t)&&mn(i)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n===37&&hn(r,e,t))i+=1,e+=2;else if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var _n=`1.18.0`,vn=64*1024,{isFunction:yn}=B,bn=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),xn=e=>{if(!B.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Sn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cn=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},wn=e=>{let t=B.global!==void 0&&B.global!==null?B.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=B.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?yn(i):typeof fetch==`function`,c=yn(a),l=yn(o);if(!s)return!1;let u=s&&yn(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&Sn(()=>{let e=!1,t=new a(U.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&Sn(()=>B.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new H(`Response type '${e}' is not supported`,H.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(B.isBlob(e))return e.size;if(B.isSpecCompliantForm(e))return(await new a(U.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(B.isArrayBufferView(e)||B.isArrayBuffer(e))return e.byteLength;if(B.isURLSearchParams(e)&&(e+=``),B.isString(e))return(await d(e)).byteLength},g=async(e,t)=>B.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T}=sn(e),E=B.isNumber(w)&&w>-1,D=B.isNumber(T)&&T>-1,ee=t=>B.hasOwnProp(e,t)?e[t]:void 0,O=i||fetch;b=b?(b+``).toLowerCase():`text`;let k=ln([l,d&&d.toAbortSignal()],_),A=null,j=k&&k.unsubscribe&&(()=>{k.unsubscribe()}),M,N=null,te=()=>new H(`Request body larger than maxBodyLength limit`,H.ERR_BAD_REQUEST,e,A);try{let i,l=ee(`auth`);if(l&&(i={username:B.getSafeProp(l,`username`)||``,password:B.getSafeProp(l,`password`)||``}),Cn(t)){let e=new URL(t,U.origin);!i&&(e.username||e.password)&&(i={username:xn(e.username),password:xn(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(bn((i.username||``)+`:`+(i.password||``))))),E&&typeof t==`string`&&t.startsWith(`data:`)&&gn(t)>w)throw new H(`maxContentLength size of `+w+` exceeded`,H.ERR_BAD_RESPONSE,e,A);if(D&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(M=e,e>T))throw te()}let d=D&&(B.isReadableStream(s)||B.isStream(s)),_=(e,t,n)=>pn(e,vn,e=>{if(D&&e>T)throw N=te();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(M=M??await g(x,s),M!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(B.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&Ut(M,Ht(Wt(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new H(`Stream request bodies are not supported by the current fetch implementation`,H.ERR_NOT_SUPPORT,e,A);B.isString(S)||(S=S?`include`:`omit`);let P=c&&`credentials`in a.prototype;if(B.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+_n,!1);let ne={...C,signal:k,method:n.toUpperCase(),headers:Je(x.normalize()),body:s,duplex:`half`,credentials:P?S:void 0};A=c&&new a(t,ne);let F=await(c?O(A,C):O(t,ne)),re=V.from(F.headers);if(E){let t=B.toFiniteNumber(re.getContentLength());if(t!=null&&t>w)throw new H(`maxContentLength size of `+w+` exceeded`,H.ERR_BAD_RESPONSE,e,A)}let ie=p&&(b===`stream`||b===`response`);if(p&&F.body&&(v||E||ie&&j)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=F[e]});let n=B.toFiniteNumber(re.getContentLength()),[r,i]=v&&Ut(n,Ht(Wt(v),!0))||[],a=0;F=new o(pn(F.body,vn,t=>{if(E&&(a=t,a>w))throw new H(`maxContentLength size of `+w+` exceeded`,H.ERR_BAD_RESPONSE,e,A);r&&r(t)},()=>{i&&i(),j&&j()}),t)}b=b||`text`;let I=await m[B.findKey(m,b)||`text`](F,e);if(E&&!p&&!ie){let t;if(I!=null&&(typeof I.byteLength==`number`?t=I.byteLength:typeof I.size==`number`?t=I.size:typeof I==`string`&&(t=typeof r==`function`?new r().encode(I).byteLength:I.length)),typeof t==`number`&&t>w)throw new H(`maxContentLength size of `+w+` exceeded`,H.ERR_BAD_RESPONSE,e,A)}return!ie&&j&&j(),await new Promise((t,n)=>{Rt(t,n,{data:I,headers:V.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:A})})}catch(t){if(j&&j(),k&&k.aborted&&k.reason instanceof H){let n=k.reason;throw n.config=e,A&&(n.request=A),t!==n&&(n.cause=t),n}throw N?(A&&!N.request&&(N.request=A),N):t instanceof H?(A&&!t.request&&(t.request=A),t):t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new H(`Network Error`,H.ERR_NETWORK,e,A,t&&t.response),{cause:t.cause||t}):H.from(t,t&&t.code,e,A,t&&t.response)}}},Tn=new Map,En=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=Tn;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:wn(t)),l=c;return c};En();var Dn={http:null,xhr:cn,fetch:{get:En}};B.forEach(Dn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var On=e=>`- ${e}`,kn=e=>B.isFunction(e)||e===null||e===!1;function An(e,t){e=B.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!kn(r)&&(i=Dn[(n=String(r)).toLowerCase()],i===void 0))throw new H(`Unknown adapter '${n}'`);if(i&&(B.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new H(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
|
|
4
|
-
`+e.map(On).join(`
|
|
5
|
-
`):` `+On(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var jn={getAdapter:An,adapters:Dn};function Mn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lt(null,e)}function Nn(e){return Mn(e),e.headers=V.from(e.headers),e.data=Ft.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),jn.getAdapter(e.adapter||Pt.adapter,e)(e).then(function(t){Mn(e),e.response=t;try{t.data=Ft.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=V.from(t.headers),t},function(t){if(!It(t)&&(Mn(e),t&&t.response)){e.response=t.response;try{t.response.data=Ft.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=V.from(t.response.headers)}return Promise.reject(t)})}var Pn={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{Pn[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var Fn={};Pn.transitional=function(e,t,n){function r(e,t){return`[Axios v`+_n+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new H(r(i,` has been removed`+(t?` in `+t:``)),H.ERR_DEPRECATED);return t&&!Fn[i]&&(Fn[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},Pn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function In(e,t,n){if(typeof e!=`object`)throw new H(`options must be an object`,H.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new H(`option `+a+` must be `+n,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H(`Unknown option `+a,H.ERR_BAD_OPTION)}}var Ln={assertOptions:In,validators:Pn},W=Ln.validators,Rn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new _t,response:new _t}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(`
|
|
6
|
-
`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
|
|
7
|
-
`),r=t===-1?-1:n.indexOf(`
|
|
8
|
-
`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
|
|
9
|
-
`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t=t||{},t.url=e):t=e||{},t=nn(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Ln.assertOptions(n,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean),legacyInterceptorReqResOrdering:W.transitional(W.boolean),advertiseZstdAcceptEncoding:W.transitional(W.boolean),validateStatusUndefinedResolves:W.transitional(W.boolean)},!1),r!=null&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:Ln.assertOptions(r,{encode:W.function,serialize:W.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),Ln.assertOptions(t,{baseUrl:W.spelling(`baseURL`),withXsrfToken:W.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&B.merge(i.common,i[t.method]);i&&B.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=V.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s=s&&e.synchronous;let n=t.transitional||vt;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[Nn.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Nn.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=nn(this.defaults,e),gt(en(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};B.forEach([`delete`,`get`,`head`,`options`],function(e){Rn.prototype[e]=function(t,n){return this.request(nn(n||{},{method:e,url:t,data:n&&B.hasOwnProp(n,`data`)?n.data:void 0}))}}),B.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(nn(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}Rn.prototype[e]=t(),e!==`query`&&(Rn.prototype[e+`Form`]=t(!0))});var zn=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Lt(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Bn(e){return function(t){return e.apply(null,t)}}function Vn(e){return B.isObject(e)&&e.isAxiosError===!0}var Hn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Hn).forEach(([e,t])=>{Hn[t]=e});function Un(e){let t=new Rn(e),n=u(Rn.prototype.request,t);return B.extend(n,Rn.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Un(nn(e,t))},n}var G=Un(Pt);G.Axios=Rn,G.CanceledError=Lt,G.CancelToken=zn,G.isCancel=It,G.VERSION=_n,G.toFormData=dt,G.AxiosError=H,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=Bn,G.isAxiosError=Vn,G.mergeConfig=nn,G.AxiosHeaders=V,G.formToJSON=e=>jt(B.isHTMLForm(e)?new FormData(e):e),G.getAdapter=jn.getAdapter,G.HttpStatusCode=Hn,G.default=G;var Wn=e({default:()=>G}),{Axios:Gn,AxiosError:Kn,CanceledError:qn,isCancel:Jn,CancelToken:Yn,VERSION:Xn,all:Zn,Cancel:Qn,isAxiosError:$n,spread:er,toFormData:tr,AxiosHeaders:nr,HttpStatusCode:rr,formToJSON:ir,getAdapter:ar,mergeConfig:or,create:sr}=G;function cr(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=cr(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function lr(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=cr(e))&&(r&&(r+=` `),r+=t);return r}var ur=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},dr=(e,t)=>({classGroupId:e,validator:t}),fr=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),pr=`-`,mr=[],hr=`arbitrary..`,gr=e=>{let t=yr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return vr(e);let n=e.split(pr);return _r(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?ur(i,t):t:i||mr}return n[e]||mr}}},_r=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=_r(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(pr):e.slice(t).join(pr),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},vr=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?hr+r:void 0})(),yr=e=>{let{theme:t,classGroups:n}=e;return br(n,t)},br=(e,t)=>{let n=fr();for(let r in e){let i=e[r];xr(i,n,r,t)}return n},xr=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Sr(i,t,n,r)}},Sr=(e,t,n,r)=>{if(typeof e==`string`){Cr(e,t,n);return}if(typeof e==`function`){wr(e,t,n,r);return}Tr(e,t,n,r)},Cr=(e,t,n)=>{let r=e===``?t:Er(t,e);r.classGroupId=n},wr=(e,t,n,r)=>{if(Dr(e)){xr(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(dr(n,e))},Tr=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];xr(o,Er(t,a),n,r)}},Er=(e,t)=>{let n=e,r=t.split(pr),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=fr(),n.nextPart.set(t,i)),n=i}return n},Dr=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Or=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},kr=`!`,Ar=`:`,jr=[],Mr=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Nr=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Ar){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(kr)?(c=s.slice(0,-1),l=!0):s.startsWith(kr)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Mr(t,l,c,u)};if(t){let e=t+Ar,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Mr(jr,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Pr=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Fr=e=>({cache:Or(e.cacheSize),parseClassName:Nr(e),sortModifiers:Pr(e),postfixLookupClassGroupIds:Ir(e),...gr(e)}),Ir=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Lr=/\s+/,Rr=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Lr),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+kr:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},zr=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Br(n))&&(i&&(i+=` `),i+=r);return i},Br=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Br(e[r]))&&(n&&(n+=` `),n+=t);return n},Vr=(e,...t)=>{let n,r,i,a,o=o=>(n=Fr(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Rr(e,n);return i(e,a),a};return a=o,(...e)=>a(zr(...e))},Hr=[],K=e=>{let t=t=>t[e]||Hr;return t.isThemeGetter=!0,t},Ur=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Wr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Gr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Kr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qr=/\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$/,Jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,q=e=>Gr.test(e),J=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>!!e&&Number.isInteger(Number(e)),Zr=e=>e.endsWith(`%`)&&J(e.slice(0,-1)),X=e=>Kr.test(e),Qr=()=>!0,$r=e=>qr.test(e)&&!Jr.test(e),ei=()=>!1,ti=e=>Yr.test(e),ni=e=>Xr.test(e),ri=e=>!Z(e)&&!Q(e),ii=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),ai=e=>$(e,Ci,ei),Z=e=>Ur.test(e),oi=e=>$(e,wi,$r),si=e=>$(e,Ti,J),ci=e=>$(e,Di,Qr),li=e=>$(e,Ei,ei),ui=e=>$(e,xi,ei),di=e=>$(e,Si,ni),fi=e=>$(e,Oi,ti),Q=e=>Wr.test(e),pi=e=>bi(e,wi),mi=e=>bi(e,Ei),hi=e=>bi(e,xi),gi=e=>bi(e,Ci),_i=e=>bi(e,Si),vi=e=>bi(e,Oi,!0),yi=e=>bi(e,Di,!0),$=(e,t,n)=>{let r=Ur.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},bi=(e,t,n=!1)=>{let r=Wr.exec(e);return r?r[1]?t(r[1]):n:!1},xi=e=>e===`position`||e===`percentage`,Si=e=>e===`image`||e===`url`,Ci=e=>e===`length`||e===`size`||e===`bg-size`,wi=e=>e===`length`,Ti=e=>e===`number`,Ei=e=>e===`family-name`,Di=e=>e===`number`||e===`weight`,Oi=e=>e===`shadow`,ki=Vr(()=>{let e=K(`color`),t=K(`font`),n=K(`text`),r=K(`font-weight`),i=K(`tracking`),a=K(`leading`),o=K(`breakpoint`),s=K(`container`),c=K(`spacing`),l=K(`radius`),u=K(`shadow`),d=K(`inset-shadow`),f=K(`text-shadow`),p=K(`drop-shadow`),m=K(`blur`),h=K(`perspective`),g=K(`aspect`),_=K(`ease`),v=K(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[q,`full`,`auto`,...w()],E=()=>[Y,`none`,`subgrid`,Q,Z],D=()=>[`auto`,{span:[`full`,Y,Q,Z]},Y,Q,Z],ee=()=>[Y,`auto`,Q,Z],O=()=>[`auto`,`min`,`max`,`fr`,Q,Z],k=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],A=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],j=()=>[`auto`,...w()],M=()=>[q,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],N=()=>[q,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[q,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,Q,Z],ne=()=>[...b(),hi,ui,{position:[Q,Z]}],F=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,gi,ai,{size:[Q,Z]}],ie=()=>[Zr,pi,oi],I=()=>[``,`none`,`full`,l,Q,Z],L=()=>[``,J,pi,oi],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],R=()=>[J,Zr,hi,ui],se=()=>[``,`none`,m,Q,Z],ce=()=>[`none`,J,Q,Z],le=()=>[`none`,J,Q,Z],ue=()=>[J,Q,Z],z=()=>[q,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[X],breakpoint:[X],color:[Qr],container:[X],"drop-shadow":[X],ease:[`in`,`out`,`in-out`],font:[ri],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[X],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[X],shadow:[X],spacing:[`px`,J],text:[X],"text-shadow":[X],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,q,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[ii],columns:[{columns:[J,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Y,`auto`,Q,Z]}],basis:[{basis:[q,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[J,q,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,J,Q,Z]}],shrink:[{shrink:[``,J,Q,Z]}],order:[{order:[Y,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...k(),`normal`]}],"justify-items":[{"justify-items":[...A(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...A()]}],"align-content":[{content:[`normal`,...k()]}],"align-items":[{items:[...A(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...A(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":k()}],"place-items":[{"place-items":[...A(),`baseline`]}],"place-self":[{"place-self":[`auto`,...A()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:M()}],"inline-size":[{inline:[`auto`,...N()]}],"min-inline-size":[{"min-inline":[`auto`,...N()]}],"max-inline-size":[{"max-inline":[`none`,...N()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...M()]}],"min-w":[{"min-w":[s,`screen`,`none`,...M()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...M()]}],h:[{h:[`screen`,`lh`,...M()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...M()]}],"max-h":[{"max-h":[`screen`,`lh`,...M()]}],"font-size":[{text:[`base`,n,pi,oi]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,yi,ci]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Zr,Z]}],"font-family":[{font:[mi,li,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[J,`none`,Q,si]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[J,`from-font`,`auto`,Q,oi]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[J,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[Y,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Y,Q,Z],radial:[``,Q,Z],conic:[Y,Q,Z]},_i,di]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[J,Q,Z]}],"outline-w":[{outline:[``,J,pi,oi]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,vi,fi]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,vi,fi]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[J,oi]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,vi,fi]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[J,Q,Z]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[J]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[J]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:se()}],brightness:[{brightness:[J,Q,Z]}],contrast:[{contrast:[J,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,vi,fi]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,J,Q,Z]}],"hue-rotate":[{"hue-rotate":[J,Q,Z]}],invert:[{invert:[``,J,Q,Z]}],saturate:[{saturate:[J,Q,Z]}],sepia:[{sepia:[``,J,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[J,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[J,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,J,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[J,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,J,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[J,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[J,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,J,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[J,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[J,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ce()}],"rotate-x":[{"rotate-x":ce()}],"rotate-y":[{"rotate-y":ce()}],"rotate-z":[{"rotate-z":ce()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":[`scale-3d`],skew:[{skew:ue()}],"skew-x":[{"skew-x":ue()}],"skew-y":[{"skew-y":ue()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":[`translate-none`],zoom:[{zoom:[Y,Q,Z]}],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,Q,Z]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[J,pi,oi,si]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function Ai(e,t){let n;try{n=e()}catch{return}return{getItem:e=>{let r=e=>e===null?null:JSON.parse(e,t?.reviver),i=n.getItem(e)??null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,t?.replacer)),removeItem:e=>n.removeItem(e)}}var ji=e=>t=>{try{let n=e(t);return n instanceof Promise?n:{then(e){return ji(e)(n)},catch(e){return this}}}catch(e){return{then(e){return this},catch(t){return ji(t)(e)}}}},Mi=(e,t)=>(n,r,i)=>{let a={storage:Ai(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},o=!1,s=0,c=new Set,l=new Set,u=a.storage;if(!u)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...e)},r,i);let d=()=>{let e=a.partialize({...r()});return u.setItem(a.name,{state:e,version:a.version})},f=i.setState;i.setState=(e,t)=>(f(e,t),d());let p=e((...e)=>(n(...e),d()),r,i);i.getInitialState=()=>p;let m,h=()=>{if(!u)return;let e=++s;o=!1,c.forEach(e=>e(r()??p));let t=a.onRehydrateStorage?.call(a,r()??p)||void 0;return ji(u.getItem.bind(u))(a.name).then(e=>{if(e)if(typeof e.version==`number`&&e.version!==a.version){if(a.migrate){let t=a.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error(`State loaded from storage couldn't be migrated since no migrate function was provided`)}else return[!1,e.state];return[!1,void 0]}).then(t=>{if(e!==s)return;let[i,o]=t;if(m=a.merge(o,r()??p),n(m,!0),i)return d()}).then(()=>{e===s&&(t?.(r(),void 0),m=r(),o=!0,l.forEach(e=>e(m)))}).catch(n=>{e===s&&t?.(void 0,n)})};return i.persist={setOptions:e=>{a={...a,...e},e.storage&&(u=e.storage)},clearStorage:()=>{u?.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>h(),hasHydrated:()=>o,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},a.skipHydration||h(),m||p};export{G as a,Wn as i,ki as n,l as o,lr as r,Mi as t};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "openclaw-agent",
|
|
3
|
-
"name": "OpenClaw Agent",
|
|
4
|
-
"type": "completion",
|
|
5
|
-
"endpoint": "http://127.0.0.1:18789/v1/chat/completions",
|
|
6
|
-
"auth": {
|
|
7
|
-
"header": "Authorization",
|
|
8
|
-
"prefix": "Bearer ",
|
|
9
|
-
"key_env": "OPENCLAW_API_KEY"
|
|
10
|
-
},
|
|
11
|
-
"model_map": [
|
|
12
|
-
"anthropic/claude-opus-4-6",
|
|
13
|
-
"anthropic/claude-sonnet-4-20250514",
|
|
14
|
-
"anthropic/claude-haiku-3-5-20241022"
|
|
15
|
-
],
|
|
16
|
-
"variables": [
|
|
17
|
-
{
|
|
18
|
-
"name": "session_mode",
|
|
19
|
-
"type": "boolean",
|
|
20
|
-
"label": "Session Mode",
|
|
21
|
-
"description": "When enabled, requests include an OpenClaw session key so the gateway can route messages through a persistent agent session. When disabled, requests use stateless HTTP completions.",
|
|
22
|
-
"default": true
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "session_key",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"label": "Session Key",
|
|
28
|
-
"description": "OpenClaw session key to use. 'main' uses the default agent session.",
|
|
29
|
-
"default": "main"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "endpoint",
|
|
33
|
-
"type": "string",
|
|
34
|
-
"label": "OpenClaw Gateway URL",
|
|
35
|
-
"description": "URL of your OpenClaw gateway chat completions endpoint.",
|
|
36
|
-
"default": "http://127.0.0.1:18789/v1/chat/completions"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "temperature",
|
|
40
|
-
"type": "number",
|
|
41
|
-
"label": "Temperature",
|
|
42
|
-
"description": "Controls randomness.",
|
|
43
|
-
"default": 0.7,
|
|
44
|
-
"min": 0,
|
|
45
|
-
"max": 2
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "stream",
|
|
49
|
-
"type": "boolean",
|
|
50
|
-
"label": "Enable Streaming",
|
|
51
|
-
"description": "Stream responses in real-time via SSE instead of waiting for complete response.",
|
|
52
|
-
"default": true
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "system_prompt_prefix",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"label": "System Prompt Prefix",
|
|
58
|
-
"description": "Text prepended as a system message to every conversation (e.g. identity, instructions).",
|
|
59
|
-
"default": ""
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "user_name",
|
|
63
|
-
"type": "string",
|
|
64
|
-
"label": "User Name",
|
|
65
|
-
"description": "Your name, passed to the agent so it knows who is talking.",
|
|
66
|
-
"default": ""
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
}
|