talkweb 3.50.39 → 3.50.41-snapshot.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +68 -51
  2. package/dist/assets/sounds/ringtone.mp3 +0 -0
  3. package/dist/assets/sounds/waitingTone.mp3 +0 -0
  4. package/dist/index.es.js +1 -1
  5. package/dist/index.umd.js +1 -1
  6. package/dist/js/{AddContact-geFB5uZu.js → AddContact-BUZaW62t.js} +1 -1
  7. package/dist/js/{HamburgerMenu-Dnty8L_J.js → HamburgerMenu-CD_oXKjE.js} +1 -1
  8. package/dist/js/{ImageEditorModal-BE-kPsJd.js → ImageEditorModal-C3AxlNH3.js} +1 -1
  9. package/dist/js/{LoadingDots-CSbpS1Hq.js → LoadingDots-BCHF8LdO.js} +1 -1
  10. package/dist/js/{SearchContactBox-DCxa7Tq6.js → SearchContactBox-BiSVlLzI.js} +1 -1
  11. package/dist/js/{StartCall-BAc3hBgQ.js → StartCall-CcQ5P7hM.js} +1 -1
  12. package/dist/js/{TypingView-Cwu2sFsn.js → TypingView-CC7bSaPG.js} +1 -1
  13. package/dist/js/{boredGif-Bu2KwA3Z.js → boredGif-CpIevNTo.js} +1 -1
  14. package/dist/js/{index-CdrvmdU9.js → index-B12mfnzO.js} +1 -1
  15. package/dist/js/{index-tunuUxJO.js → index-Bsx5zvm7.js} +6 -6
  16. package/dist/js/{index-BartosUC.js → index-CIPRe_IQ.js} +10 -10
  17. package/dist/js/{index-Cb9BgC6O.js → index-CQdtLR2k.js} +1 -1
  18. package/dist/js/{index-EIjPjN5k.js → index-Dmr1r_ie.js} +2 -2
  19. package/dist/js/{index-vkicj3Qw.js → index-UH8FQi7b.js} +1 -1
  20. package/dist/js/{index-BQxCMtTe.js → index-trXsI3W8.js} +1 -1
  21. package/dist/js/{main-BiSoVrq9.js → main-zRgi4xWO.js} +2 -2
  22. package/dist/js/{mic-Zn5tfKRn.js → mic-kKnADQki.js} +1 -1
  23. package/dist/js/{unescapeHtml-Cw65I-c4.js → unescapeHtml-DLzkPRj4.js} +1 -1
  24. package/dist/js/{useContactThread-DFlOxXGB.js → useContactThread-DHLgloYG.js} +1 -1
  25. package/dist/js/{useCopyToClipboard-CBpknd-Y.js → useCopyToClipboard-YimoFCPU.js} +1 -1
  26. package/dist/talkweb.css +1 -1
  27. package/package.json +3 -1
@@ -1,4 +1,4 @@
1
- import{c as e,i as t,u as a,m as s,M as n,a as r,f as i,b as l,d as c,e as o,g as d,s as x,j as h,h as p,k as u,l as m,n as g,o as f,p as j,q as v,r as y,t as b,v as w,R as N,w as C,x as T,y as k,z as M,A as O,B as S,C as I,F as A,D,T as R,E as F,G as U,H as $,I as z,S as B,J as P,K as V,L as G,N as L,O as E,P as W,Q as q,U as _,V as H,W as J,X as K,Y as Q,Z as X,_ as Y,$ as Z,a0 as ee,a1 as te,a2 as ae,a3 as se,a4 as ne,a5 as re,a6 as ie,a7 as le,a8 as ce,a9 as oe,aa as de,ab as xe,ac as he,ad as pe,ae as ue,af as me,ag as ge,ah as fe,ai as je}from"./main-BiSoVrq9.js";import ve,{useContext as ye,useState as be,useEffect as we,useRef as Ne,useMemo as Ce,useCallback as Te,createElement as ke,isValidElement as Me}from"react";import{u as Oe,p as Se,A as Ie,T as Ae,Y as De,L as Re,C as Fe,O as Ue}from"./LoadingDots-CSbpS1Hq.js";import{u as $e,D as ze,C as Be,a as Pe,g as Ve,b as Ge,c as Le}from"./useContactThread-DFlOxXGB.js";import{C as Ee,u as We}from"./unescapeHtml-Cw65I-c4.js";import{X as qe,T as _e,P as He,C as Je,I as Ke,R as Qe,a as Xe}from"./TypingView-Cwu2sFsn.js";import{u as Ye}from"./useBreakpoint-C4Ybxj8D.js";const Ze=e("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);function et(e){const t=a(()=>s(e)),{isStatic:r}=ye(n);if(r){const[,a]=be(e);we(()=>t.on("change",a),[])}return t}function tt(e,t){const a=et(t()),s=()=>a.set(t());return s(),r(()=>{const t=()=>i.preRender(s,!1,!0),a=e.map(e=>e.on("change",t));return()=>{a.forEach(e=>e()),l(s)}}),a}function at(e,t){const s=a(()=>[]);return tt(e,()=>{s.length=0;const a=e.length;for(let t=0;t<a;t++)s[t]=e[t].get();return t(s)})}const st=()=>{const e=o(),t=d(e=>e.setting.showRightMenu);return{showRightMenu:t,handleToggle:a=>{e(x(!0!==a&&!t))}}},nt=()=>{const e=Ne(null),{handleToggle:t,showRightMenu:a}=st();/* @__PURE__ */
1
+ import{c as e,i as t,u as a,m as s,M as n,a as r,f as i,b as l,d as c,e as o,g as d,s as x,j as h,h as p,k as u,l as m,n as g,o as f,p as j,q as v,r as y,t as b,v as w,R as N,w as C,x as T,y as k,z as M,A as O,B as S,C as I,F as A,D,T as R,E as F,G as U,H as $,I as z,S as B,J as P,K as V,L as G,N as L,O as E,P as W,Q as q,U as _,V as H,W as J,X as K,Y as Q,Z as X,_ as Y,$ as Z,a0 as ee,a1 as te,a2 as ae,a3 as se,a4 as ne,a5 as re,a6 as ie,a7 as le,a8 as ce,a9 as oe,aa as de,ab as xe,ac as he,ad as pe,ae as ue,af as me,ag as ge,ah as fe,ai as je}from"./main-zRgi4xWO.js";import ve,{useContext as ye,useState as be,useEffect as we,useRef as Ne,useMemo as Ce,useCallback as Te,createElement as ke,isValidElement as Me}from"react";import{u as Oe,p as Se,A as Ie,T as Ae,Y as De,L as Re,C as Fe,O as Ue}from"./LoadingDots-BCHF8LdO.js";import{u as $e,D as ze,C as Be,a as Pe,g as Ve,b as Ge,c as Le}from"./useContactThread-DHLgloYG.js";import{C as Ee,u as We}from"./unescapeHtml-DLzkPRj4.js";import{X as qe,T as _e,P as He,C as Je,I as Ke,R as Qe,a as Xe}from"./TypingView-CC7bSaPG.js";import{u as Ye}from"./useBreakpoint-C4Ybxj8D.js";const Ze=e("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);function et(e){const t=a(()=>s(e)),{isStatic:r}=ye(n);if(r){const[,a]=be(e);we(()=>t.on("change",a),[])}return t}function tt(e,t){const a=et(t()),s=()=>a.set(t());return s(),r(()=>{const t=()=>i.preRender(s,!1,!0),a=e.map(e=>e.on("change",t));return()=>{a.forEach(e=>e()),l(s)}}),a}function at(e,t){const s=a(()=>[]);return tt(e,()=>{s.length=0;const a=e.length;for(let t=0;t<a;t++)s[t]=e[t].get();return t(s)})}const st=()=>{const e=o(),t=d(e=>e.setting.showRightMenu);return{showRightMenu:t,handleToggle:a=>{e(x(!0!==a&&!t))}}},nt=()=>{const e=Ne(null),{handleToggle:t,showRightMenu:a}=st();/* @__PURE__ */
2
2
  return h.jsx("div",{ref:e,children:/* @__PURE__ */h.jsxs("button",{onClick:t,"aria-label":a?"Close menu":"Open menu","aria-expanded":a,className:`relative flex flex-col justify-center items-center ${a?"gap-[5px]":"gap-[3px]"}\n w-9 h-9 m-[5px] rounded-md bg-asideHeadBg cursor-pointer transition-all duration-300 ease-in-out`,children:[
3
3
  /* @__PURE__ */h.jsx("span",{className:`block ${a?"h-[1px]":"h-[2px]"} w-4 rounded bg-white transition-all duration-300 ease-in-out \n ${a?"rotate-45 translate-y-[6px]":""}`}),
4
4
  /* @__PURE__ */h.jsx("span",{className:`block ${a?"h-[1px]":"h-[2px]"} w-4 rounded bg-white transition-all duration-300 ease-in-out \n ${a?"opacity-0":"opacity-100"}`}),
@@ -93,7 +93,7 @@ return h.jsxs(Qe,{modal:!1,onOpenChange:t=>{t?D(e.id):A===e.id&&D(null)},childre
93
93
  /* @__PURE__ */h.jsx(Xe,{children:/* @__PURE__ */h.jsx(ft,{title:s,onJoinToCall:B,isPinned:e.pin,onSelect:F,thread:e,isActive:t?x?.id===e?.id&&R:x?.id===e?.id,showContextTick:A===e.id})}),
94
94
  /* @__PURE__ */h.jsx(Ct,{isMenuOpen:A===e.id,onSelectThread:F,onArchiveThread:U,thread:e})]},e.id)}if("contact"===a.type){const e=a.data;/* @__PURE__ */
95
95
  return h.jsx("div",{children:/* @__PURE__ */h.jsx(Fe,{contact:e,handleSelect:z})},"contact-"+e.id)}return"noResult"===a.type?/* @__PURE__ */h.jsx("div",{className:"px-4 py-2 text-sm text-center text-gray-500",children:a.text},"noResult-"+e):null}})}),
96
- /* @__PURE__ */h.jsx("div",{className:"flex-0 bg-transparent hidden xl2:block "})]})},kt=ve.lazy(()=>import("./HamburgerMenu-Dnty8L_J.js")),Mt=ve.lazy(()=>import("./index-BQxCMtTe.js")),Ot=/* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({__proto__:null,default:()=>{const{handleToggle:e}=st(),{pathname:t}=ue(),a=Le(),s=d(e=>e.appConfig.AsideBanner);/* @__PURE__ */
96
+ /* @__PURE__ */h.jsx("div",{className:"flex-0 bg-transparent hidden xl2:block "})]})},kt=ve.lazy(()=>import("./HamburgerMenu-CD_oXKjE.js")),Mt=ve.lazy(()=>import("./index-trXsI3W8.js")),Ot=/* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({__proto__:null,default:()=>{const{handleToggle:e}=st(),{pathname:t}=ue(),a=Le(),s=d(e=>e.appConfig.AsideBanner);/* @__PURE__ */
97
97
  return h.jsxs("aside",{id:"asideThread",className:`w-full z-chatThreadList ${a?"hidden lg:block ":"lg:block"} sm:w-full lg:w-1/4 relative bg-bgColor overflow-y-hidden h-full shadow-md`,children:[
98
98
  /* @__PURE__ */h.jsxs(Ue,{disabled:!1,onOutsideClick:t=>{t.target.closest("[aria-expanded]")||e(!0)},children:[
99
99
  /* @__PURE__ */h.jsx(Mt,{}),
@@ -1,2 +1,2 @@
1
- import{M as t,j as e,eK as n,u as o,eL as r,eM as s,a as i,eN as c}from"./main-BiSoVrq9.js";import*as l from"react";import{useId as f,useRef as u,useContext as a,useInsertionEffect as p,useMemo as h,Children as d,isValidElement as m,useState as g}from"react";function x(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class P extends l.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=e.offsetParent,o=n(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=o-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function y({children:n,isPresent:o,anchorX:r,root:s}){const i=f(),c=u(null),h=u({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=a(t),m=function(...t){return l.useCallback(function(...t){return e=>{let n=!1;const o=t.map(t=>{const o=x(t,e);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let e=0;e<o.length;e++){const n=o[e];"function"==typeof n?n():x(t[e],null)}}}}(...t),t)}(c,n?.ref);return p(()=>{const{width:t,height:e,top:n,left:l,right:f}=h.current;if(o||!c.current||!t||!e)return;const u="left"===r?"left: "+l:"right: "+f;c.current.dataset.motionPopId=i;const a=document.createElement("style");d&&(a.nonce=d);const p=s??document.head;return p.appendChild(a),a.sheet&&a.sheet.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${t}px !important;\n height: ${e}px !important;\n ${u}px !important;\n top: ${n}px !important;\n }\n `),()=>{p.contains(a)&&p.removeChild(a)}},[o]),e.jsx(P,{isPresent:o,childRef:c,sizeRef:h,children:l.cloneElement(n,{ref:m})})}const E=({children:t,initial:n,isPresent:s,onExitComplete:i,custom:c,presenceAffectsLayout:u,mode:a,anchorX:p,root:d})=>{const m=o(j),g=f();let x=!0,P=h(()=>(x=!1,{id:g,initial:n,isPresent:s,custom:c,onExitComplete:t=>{m.set(t,!0);for(const e of m.values())if(!e)return;i&&i()},register:t=>(m.set(t,!1),()=>m.delete(t))}),[s,m,i]);return u&&x&&(P={...P}),h(()=>{m.forEach((t,e)=>m.set(e,!1))},[s]),l.useEffect(()=>{!s&&!m.size&&i&&i()},[s]),"popLayout"===a&&(t=e.jsx(y,{isPresent:s,anchorX:p,root:d,children:t})),e.jsx(r.Provider,{value:P,children:t})};function j(){/* @__PURE__ */
1
+ import{M as t,j as e,eK as n,u as o,eL as r,eM as s,a as i,eN as c}from"./main-zRgi4xWO.js";import*as l from"react";import{useId as f,useRef as u,useContext as a,useInsertionEffect as p,useMemo as h,Children as d,isValidElement as m,useState as g}from"react";function x(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class P extends l.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=e.offsetParent,o=n(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=o-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function y({children:n,isPresent:o,anchorX:r,root:s}){const i=f(),c=u(null),h=u({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=a(t),m=function(...t){return l.useCallback(function(...t){return e=>{let n=!1;const o=t.map(t=>{const o=x(t,e);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let e=0;e<o.length;e++){const n=o[e];"function"==typeof n?n():x(t[e],null)}}}}(...t),t)}(c,n?.ref);return p(()=>{const{width:t,height:e,top:n,left:l,right:f}=h.current;if(o||!c.current||!t||!e)return;const u="left"===r?"left: "+l:"right: "+f;c.current.dataset.motionPopId=i;const a=document.createElement("style");d&&(a.nonce=d);const p=s??document.head;return p.appendChild(a),a.sheet&&a.sheet.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${t}px !important;\n height: ${e}px !important;\n ${u}px !important;\n top: ${n}px !important;\n }\n `),()=>{p.contains(a)&&p.removeChild(a)}},[o]),e.jsx(P,{isPresent:o,childRef:c,sizeRef:h,children:l.cloneElement(n,{ref:m})})}const E=({children:t,initial:n,isPresent:s,onExitComplete:i,custom:c,presenceAffectsLayout:u,mode:a,anchorX:p,root:d})=>{const m=o(j),g=f();let x=!0,P=h(()=>(x=!1,{id:g,initial:n,isPresent:s,custom:c,onExitComplete:t=>{m.set(t,!0);for(const e of m.values())if(!e)return;i&&i()},register:t=>(m.set(t,!1),()=>m.delete(t))}),[s,m,i]);return u&&x&&(P={...P}),h(()=>{m.forEach((t,e)=>m.set(e,!1))},[s]),l.useEffect(()=>{!s&&!m.size&&i&&i()},[s]),"popLayout"===a&&(t=e.jsx(y,{isPresent:s,anchorX:p,root:d,children:t})),e.jsx(r.Provider,{value:P,children:t})};function j(){/* @__PURE__ */
2
2
  return new Map}const w=t=>t.key||"";function C(t){const e=[];return d.forEach(t,t=>{m(t)&&e.push(t)}),e}const v=({children:t,custom:n,initial:r=!0,onExitComplete:l,presenceAffectsLayout:f=!0,mode:p="sync",propagate:d=!1,anchorX:m="left",root:x})=>{const[P,y]=s(d),j=h(()=>C(t),[t]),v=d&&!P?[]:j.map(w),L=u(!0),R=u(j),X=o(()=>/* @__PURE__ */new Map),[$,A]=g(j),[M,z]=g(j);i(()=>{L.current=!1,R.current=j;for(let t=0;t<M.length;t++){const e=w(M[t]);v.includes(e)?X.delete(e):!0!==X.get(e)&&X.set(e,!1)}},[M,v.length,v.join("-")]);const b=[];if(j!==$){let t=[...j];for(let e=0;e<M.length;e++){const n=M[e],o=w(n);v.includes(o)||(t.splice(e,0,n),b.push(n))}return"wait"===p&&b.length&&(t=b),z(C(t)),A(j),null}const{forceRender:k}=a(c);return e.jsx(e.Fragment,{children:M.map(t=>{const o=w(t),s=!(d&&!P)&&(j===M||v.includes(o));return e.jsx(E,{isPresent:s,initial:!(L.current&&!r)&&void 0,custom:n,presenceAffectsLayout:f,mode:p,root:x,onExitComplete:s?void 0:()=>{if(!X.has(o))return;X.set(o,!0);let t=!0;X.forEach(e=>{e||(t=!1)}),t&&(k?.(),z(R.current),d&&y?.(),l&&l())},anchorX:m,children:t},o)})})};export{v as A};
@@ -1,4 +1,4 @@
1
- import{g as e,j as t,aH as n,fd as r,fe as s,e as a,k as o,ff as i,C as l,fg as c,fh as d,fi as u,fj as f,fk as h,cU as p,fl as m,fm as x,fn as b,Z as g,d9 as y,dQ as v,fo as w,cN as j,ez as N,p as O,s as S,o as E,w as R,fp as C,c_ as k,fq as T,fr as A,fs as U,ft as P,fu as B,fv as L,fw as I,cf as F,ep as _,x as D,ag as M,q,fx as z,fy as W,ae as V,c2 as H,fz as J,fA as $}from"./main-BiSoVrq9.js";import*as G from"react";import K,{useState as X,useRef as Y,useEffect as Q,useLayoutEffect as Z,useCallback as ee,useMemo as te}from"react";import{$ as ne,a0 as re,a1 as se,A as ae,Y as oe,C as ie,W as le}from"./LoadingDots-CSbpS1Hq.js";import{S as ce,C as de}from"./SearchContactBox-DCxa7Tq6.js";import"react-dom";import{I as ue}from"./ImageEditorModal-BE-kPsJd.js";import{v as fe}from"./voiceEffect-BpOg4xm3.js";import{D as he,b as pe}from"./useContactThread-DFlOxXGB.js";import{M as me}from"./mic-Zn5tfKRn.js";import{R as xe,a as be}from"./TypingView-Cwu2sFsn.js";import{T as ge,a as ye,b as ve}from"./index-EIjPjN5k.js";import{u as we}from"./unescapeHtml-Cw65I-c4.js";import{u as je}from"./useBreakpoint-C4Ybxj8D.js";var Ne=function(){return Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},Ne.apply(this,arguments)},Oe=re("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");function Se(e){var t=e.loading,n=void 0===t||t,r=e.color,s=void 0===r?"#000000":r,a=e.speedMultiplier,o=void 0===a?1:a,i=e.cssOverride,l=void 0===i?{}:i,c=e.size,d=void 0===c?15:c,u=e.margin,f=void 0===u?2:u,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),p=Ne({display:"inherit"},l),m=function(e){return{display:"inline-block",backgroundColor:s,width:ne(d),height:ne(d),margin:ne(f),borderRadius:"100%",animation:"".concat(Oe," ").concat(.7/o,"s ").concat(e%2?"0s":"".concat(.35/o,"s")," infinite linear"),animationFillMode:"both"}};return n?G.createElement("span",Ne({style:p},h),G.createElement("span",{style:m(1)}),G.createElement("span",{style:m(2)}),G.createElement("span",{style:m(3)})):null}const Ee=()=>{const a=e(e=>e.appConfig);/* @__PURE__ */
1
+ import{g as e,j as t,aH as n,fd as r,fe as s,e as a,k as o,ff as i,C as l,fg as c,fh as d,fi as u,fj as f,fk as h,cU as p,fl as m,fm as x,fn as b,Z as g,d9 as y,dQ as v,fo as w,cN as j,ez as N,p as O,s as S,o as E,w as R,fp as C,c_ as k,fq as T,fr as A,fs as U,ft as P,fu as B,fv as L,fw as I,cf as F,ep as _,x as D,ag as M,q,fx as z,fy as W,ae as V,c2 as H,fz as J,fA as $}from"./main-zRgi4xWO.js";import*as G from"react";import K,{useState as X,useRef as Y,useEffect as Q,useLayoutEffect as Z,useCallback as ee,useMemo as te}from"react";import{$ as ne,a0 as re,a1 as se,A as ae,Y as oe,C as ie,W as le}from"./LoadingDots-BCHF8LdO.js";import{S as ce,C as de}from"./SearchContactBox-BiSVlLzI.js";import"react-dom";import{I as ue}from"./ImageEditorModal-C3AxlNH3.js";import{v as fe}from"./voiceEffect-BpOg4xm3.js";import{D as he,b as pe}from"./useContactThread-DHLgloYG.js";import{M as me}from"./mic-kKnADQki.js";import{R as xe,a as be}from"./TypingView-CC7bSaPG.js";import{T as ge,a as ye,b as ve}from"./index-Dmr1r_ie.js";import{u as we}from"./unescapeHtml-DLzkPRj4.js";import{u as je}from"./useBreakpoint-C4Ybxj8D.js";var Ne=function(){return Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},Ne.apply(this,arguments)},Oe=re("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");function Se(e){var t=e.loading,n=void 0===t||t,r=e.color,s=void 0===r?"#000000":r,a=e.speedMultiplier,o=void 0===a?1:a,i=e.cssOverride,l=void 0===i?{}:i,c=e.size,d=void 0===c?15:c,u=e.margin,f=void 0===u?2:u,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),p=Ne({display:"inherit"},l),m=function(e){return{display:"inline-block",backgroundColor:s,width:ne(d),height:ne(d),margin:ne(f),borderRadius:"100%",animation:"".concat(Oe," ").concat(.7/o,"s ").concat(e%2?"0s":"".concat(.35/o,"s")," infinite linear"),animationFillMode:"both"}};return n?G.createElement("span",Ne({style:p},h),G.createElement("span",{style:m(1)}),G.createElement("span",{style:m(2)}),G.createElement("span",{style:m(3)})):null}const Ee=()=>{const a=e(e=>e.appConfig);/* @__PURE__ */
2
2
  return t.jsx("main",{className:"mx-auto max-w-3xl p-4 h-[calc(100vh-60px)]",children:/* @__PURE__ */t.jsxs("div",{className:"flex h-full flex-col justify-between ",children:[
3
3
  /* @__PURE__ */t.jsxs("div",{className:"flex items-center w-full flex-col",children:[
4
4
  /* @__PURE__ */t.jsx("img",{src:a.about?.logo,width:40,height:40}),