cosmic-ai-genius 0.3.18 → 0.3.19
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.
|
@@ -20,36 +20,7 @@
|
|
|
20
20
|
<%s {...props} />
|
|
21
21
|
React keys must be passed directly to JSX without using spread:
|
|
22
22
|
let props = %s;
|
|
23
|
-
<%s key={someKey} {...props} />`,g,R,U,R),ie[R+g]=!0)}if(R=null,me!==void 0&&(o(me),R=""+me),y(re)&&(o(re.key),R=""+re.key),"key"in re){me={};for(var te in re)te!=="key"&&(me[te]=re[te])}else me=re;return R&&x(me,typeof j=="function"?j.displayName||j.name||"Unknown":j),T(j,R,C,k,d(),me,I,ue)}function z(j){typeof j=="object"&&j!==null&&j.$$typeof===J&&j._store&&(j._store.validated=1)}var F=Ge,J=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),K=Symbol.for("react.client.reference"),L=F.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,E=Array.isArray,_=console.createTask?console.createTask:function(){return null};F={"react-stack-bottom-frame":function(j){return j()}};var S,w={},A=F["react-stack-bottom-frame"].bind(F,p)(),P=_(c(p)),ie={};Yg.Fragment=Z,Yg.jsx=function(j,re,me,g,k){var C=1e4>L.recentlyCreatedOwnerStacks++;return D(j,re,me,!1,g,k,C?Error("react-stack-top-frame"):A,C?_(c(j)):P)},Yg.jsxs=function(j,re,me,g,k){var C=1e4>L.recentlyCreatedOwnerStacks++;return D(j,re,me,!0,g,k,C?Error("react-stack-top-frame"):A,C?_(c(j)):P)}}()),Yg}var a_;function Bk(){return a_||(a_=1,process.env.NODE_ENV==="production"?t1.exports=Nk():t1.exports=zk()),t1.exports}var W=Bk();const Uk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{d:"M3.33 12.67V8.67H4.67V11.33H7.33V12.67H3.33ZM11.33 7.33V4.67H8.67V3.33H12.67V7.33H11.33Z",fill:"currentColor"})}),Hk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{d:"M2.95 14L2 13.05L5.07 10H3.33V8.67H7.33V12.67H6V10.93L2.95 14ZM8.67 7.33V3.33H10V5.07L13.05 2L14 2.95L10.93 6H12.67V7.33H8.67Z",fill:"currentColor"})}),s_=()=>W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:W.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99935 3.33268C6.31745 3.33268 3.33268 6.31745 3.33268 9.99935C3.33268 13.6812 6.31745 16.666 9.99935 16.666C13.1587 16.666 15.8047 14.4684 16.4922 11.5184L16.1718 11.8387C15.8463 12.1641 15.3187 12.164 14.9933 11.8385C14.6679 11.513 14.668 10.9854 14.9935 10.66L16.6606 8.99334C16.8169 8.83708 17.0289 8.74932 17.2499 8.74935C17.4709 8.74938 17.6829 8.83721 17.8391 8.99351L19.5053 10.6602C19.8307 10.9857 19.8306 11.5133 19.5051 11.8387C19.1797 12.1641 18.652 12.164 18.3266 11.8385L18.164 11.6758C17.3881 15.4747 14.0275 18.3327 9.99935 18.3327C5.39698 18.3327 1.66602 14.6017 1.66602 9.99935C1.66602 5.39698 5.39698 1.66602 9.99935 1.66602C13.0577 1.66602 15.7302 3.31401 17.1789 5.76641C17.413 6.16268 17.2815 6.67367 16.8853 6.90775C16.489 7.14184 15.978 7.01036 15.7439 6.6141C14.5827 4.64825 12.4442 3.33268 9.99935 3.33268ZM9.99935 4.99935C10.4596 4.99935 10.8327 5.37244 10.8327 5.83268V9.55336L12.9616 10.9726C13.3445 11.2279 13.448 11.7453 13.1927 12.1283C12.9374 12.5112 12.42 12.6147 12.0371 12.3594L9.5371 10.6927C9.30527 10.5382 9.16602 10.278 9.16602 9.99935V5.83268C9.16602 5.37244 9.53911 4.99935 9.99935 4.99935Z",fill:"#525252"})}),Xv=()=>W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 3.5C3.77614 3.22386 4.22386 3.22386 4.5 3.5L8 7L11.5 3.5C11.7761 3.22386 12.2239 3.22386 12.5 3.5C12.7761 3.77614 12.7761 4.22386 12.5 4.5L9 8L12.5 11.5C12.7761 11.7761 12.7761 12.2239 12.5 12.5C12.2239 12.7761 11.7761 12.7761 11.5 12.5L8 9L4.5 12.5C4.22386 12.7761 3.77614 12.7761 3.5 12.5C3.22386 12.2239 3.22386 11.7761 3.5 11.5L7 8L3.5 4.5C3.22386 4.22386 3.22386 3.77614 3.5 3.5Z",fill:"currentColor"})}),r_=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.29 2.29C7.66 1.92 8.34 1.92 8.71 2.29L14.21 7.79C14.58 8.16 14.58 8.84 14.21 9.21C13.84 9.58 13.16 9.58 12.79 9.21L8.5 4.91V14.5C8.5 15.05 8.05 15.5 7.5 15.5C6.95 15.5 6.5 15.05 6.5 14.5V4.91L2.21 9.21C1.84 9.58 1.16 9.58 0.79 9.21C0.42 8.84 0.42 8.16 0.79 7.79L7.29 2.29Z",fill:"currentColor"})}),Gk=()=>W.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[W.jsx("rect",{x:"11",y:"2",width:"1",height:"12",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"7.5",y:"4",width:"1",height:"8",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"2",y:"6",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"13",y:"6",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"4.5",y:"7",width:"1",height:"2",rx:"0.5",fill:"currentColor"})]}),Fv=()=>W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsxs("g",{children:[W.jsx("path",{d:"M10.1611 0.999981C10.1611 1.0132 10.1611 1.0264 10.1611 1.03959C10.1647 7.58616 12.008 10.1611 19.3221 10.1611C12.008 10.1611 10.1647 12.736 10.1611 19.2825C10.1574 12.736 8.31411 10.1611 0.999981 10.1611C8.31411 10.1611 10.1574 7.58616 10.1611 1.03959C10.161 1.0264 10.161 1.0132 10.1611 0.999981Z",fill:"currentColor"}),W.jsx("path",{d:"M10.1611 0.999981C10.1648 7.57577 8.32884 10.1611 0.999981 10.1611C8.32884 10.1611 10.1648 12.7463 10.1611 19.3221C10.1573 12.7463 11.9933 10.1611 19.3221 10.1611C11.9933 10.1611 10.1573 7.57577 10.1611 0.999981Z",stroke:"currentColor",strokeWidth:"1.83221",strokeLinejoin:"round"})]})}),Pk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.8 4.8C4.8 2.968 6.168 1.6 8 1.6C9.832 1.6 11.2 2.968 11.2 4.8V8.64C11.2 10.472 9.832 11.84 8 11.84C6.168 11.84 4.8 10.472 4.8 8.64V4.8ZM8 2.88C6.872 2.88 5.92 3.832 5.92 4.8V8.64C5.92 9.768 6.872 10.56 8 10.56C9.128 10.56 10.08 9.768 10.08 8.64V4.8C10.08 3.832 9.128 2.88 8 2.88ZM2.88 7.2C3.232 7.2 3.52 7.488 3.52 7.84V8.64C3.52 11.176 5.464 13.12 8 13.12C10.536 13.12 12.48 11.176 12.48 8.64V7.84C12.48 7.488 12.768 7.2 13.12 7.2C13.472 7.2 13.76 7.488 13.76 7.84V8.64C13.76 11.88 11.24 14.4 8 14.4C4.76 14.4 2.24 11.88 2.24 8.64V7.84C2.24 7.488 2.528 7.2 2.88 7.2Z",fill:"currentColor"})}),uf=({children:r})=>(Ge.useEffect(()=>{const i="genius-sdk-styles",o=document.getElementById(i);o&&o.remove();const c=document.createElement("style");return c.id=i,c.setAttribute("data-genius-sdk","true"),c.textContent=`
|
|
24
|
-
/* Genius SDK Scoped Styles */
|
|
25
|
-
.genius-sdk {
|
|
26
|
-
/* Create a new stacking context */
|
|
27
|
-
isolation: isolate;
|
|
28
|
-
/* Ensure proper font inheritance */
|
|
29
|
-
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Only reset positioning for main containers */
|
|
33
|
-
.genius-sdk .genius-chatbot-wrapper,
|
|
34
|
-
.genius-sdk .genius-chatbot-mobile-wrapper {
|
|
35
|
-
position: fixed;
|
|
36
|
-
z-index: 9999;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Ensure proper box-sizing */
|
|
42
|
-
.genius-sdk * {
|
|
43
|
-
box-sizing: border-box;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Create isolation for main containers */
|
|
47
|
-
.genius-sdk .genius-chatbot-container,
|
|
48
|
-
.genius-sdk .genius-chatbot-mobile-container,
|
|
49
|
-
.genius-sdk .genius-voice-call-container {
|
|
50
|
-
isolation: isolate;
|
|
51
|
-
}
|
|
52
|
-
`,document.head.appendChild(c),()=>{const d=document.getElementById(i);d&&d.remove()}},[]),W.jsx("div",{className:"genius-sdk",children:r})),kl={"genius-voice-call-container":"genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi","genius-voice-call-content":"genius-sdk__VoiceCall-module__genius-voice-call-content___D6lvV","genius-voice-call-buttons":"genius-sdk__VoiceCall-module__genius-voice-call-buttons___-r2z6","genius-voice-call-genius-icon":"genius-sdk__VoiceCall-module__genius-voice-call-genius-icon___zXrKa","genius-voice-call-genius-icon-inner":"genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG","genius-voice-call-voice-container":"genius-sdk__VoiceCall-module__genius-voice-call-voice-container___Tp-nw","genius-voice-call-mic-button":"genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7","genius-voice-call-waveform":"genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96-","genius-voice-call-end-button":"genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC"},o_=({onEnd:r})=>W.jsx(uf,{children:W.jsx("div",{className:kl["genius-voice-call-container"],children:W.jsx("div",{className:kl["genius-voice-call-content"],children:W.jsxs("div",{className:kl["genius-voice-call-buttons"],children:[W.jsx("div",{className:kl["genius-voice-call-genius-icon"],children:W.jsx("div",{className:kl["genius-voice-call-genius-icon-inner"],children:W.jsx(Fv,{})})}),W.jsx("div",{className:kl["genius-voice-call-voice-container"],children:W.jsxs("div",{className:kl["genius-voice-call-mic-button"],children:[W.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 3.33333C3.33333 1.49238 4.82572 0 6.66667 0C8.50762 0 10 1.49238 10 3.33333V9.16667C10 11.0076 8.50762 12.5 6.66667 12.5C4.82572 12.5 3.33333 11.0076 3.33333 9.16667V3.33333ZM6.66667 1.66667C5.74619 1.66667 5 2.41286 5 3.33333V9.16667C5 10.0871 5.74619 10.8333 6.66667 10.8333C7.58714 10.8333 8.33333 10.0871 8.33333 9.16667V3.33333C8.33333 2.41286 7.58714 1.66667 6.66667 1.66667ZM0.833333 6.66667C1.29357 6.66667 1.66667 7.03976 1.66667 7.5V9.16667C1.66667 11.9281 3.90524 14.1667 6.66667 14.1667C9.42809 14.1667 11.6667 11.9281 11.6667 9.16667V7.5C11.66667 7.03976 12.0398 6.66667 12.5 6.66667C12.9602 6.66667 13.3333 7.03976 13.3333 7.5V9.16667C13.3333 12.5663 10.7886 15.3717 7.5 15.7818V16.6667H10C10.4602 16.6667 10.8333 17.0398 10.8333 17.5C10.8333 17.9602 10.4602 18.3333 10 18.3333H3.33333C2.8731 18.3333 2.5 17.9602 2.5 17.5C2.5 17.0398 2.8731 16.6667 3.33333 16.6667H5.83333V15.7818C2.54474 15.3717 0 12.5663 0 9.16667V7.5C0 7.03976 0.373096 6.66667 0.833333 6.66667Z",fill:"currentColor"})}),W.jsx("div",{className:kl["genius-voice-call-waveform"],children:W.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[W.jsx("rect",{x:"4",y:"8",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"6.5",y:"6",width:"1",height:"8",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"9",y:"4",width:"1",height:"12",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"11.5",y:"7",width:"1",height:"6",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"14",y:"9",width:"1",height:"2",rx:"0.5",fill:"currentColor"})]})})]})}),W.jsx("button",{className:kl["genius-voice-call-end-button"],onClick:r,"aria-label":"End voice call",children:W.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.14611 1.75638C3.90962 1.63676 3.63035 1.63676 3.39386 1.75638C3.30493 1.80136 3.19406 1.89741 2.70488 2.3866L2.57351 2.51796C2.10667 2.98481 1.98083 3.11983 1.88024 3.2989C1.76364 3.50645 1.66596 3.88207 1.66667 4.12013C1.6673 4.33197 1.69857 4.45955 1.83629 4.94475C2.23521 6.35023 2.84158 7.70886 3.6554 8.97256C3.90459 9.3595 3.79291 9.87519 3.40597 10.1244C3.01903 10.3736 2.50335 10.2619 2.25416 9.87495C1.34975 8.47058 0.676021 6.96085 0.232956 5.39983C0.228478 5.38405 0.224034 5.36841 0.219624 5.3529C0.0967012 4.92039 0.0013796 4.585 1.06333e-05 4.12509C-0.00155409 3.59945 0.169701 2.94091 0.427143 2.48262C0.652809 2.0809 0.950438 1.78358 1.33855 1.39587C1.35716 1.37727 1.37598 1.35848 1.395 1.33945L1.52636 1.20809C1.55324 1.18122 1.57981 1.15457 1.60613 1.12819C1.96816 0.765228 2.28112 0.451466 2.64162 0.269128C3.35107 -0.0897089 4.1889 -0.0897099 4.89835 0.269128C5.25885 0.451467 5.57181 0.765229 5.93385 1.12819C5.96016 1.15457 5.98674 1.18122 6.01361 1.20809L6.176 1.37048C6.1937 1.38818 6.21124 1.4057 6.22861 1.42303C6.46749 1.66151 6.67327 1.86694 6.81764 2.08898C7.35638 2.91759 7.35638 3.98582 6.81764 4.81443C6.67327 5.03648 6.46749 5.2419 6.22861 5.48038C6.21124 5.49772 6.1937 5.51523 6.176 5.53294C6.12799 5.58094 6.1035 5.60556 6.08644 5.62361C6.08613 5.62497 6.08583 5.62647 6.08555 5.62809C6.08524 5.6299 6.08502 5.63157 6.08485 5.63308C6.0876 5.63918 6.09132 5.64724 6.09644 5.65812C6.10446 5.67515 6.11387 5.69476 6.12673 5.72155C6.22048 5.91682 6.32015 6.10995 6.42572 6.3007C6.6486 6.70337 6.50285 7.21047 6.10017 7.43335C5.6975 7.65623 5.1904 7.51048 4.96752 7.10781C4.84631 6.88882 4.73189 6.66709 4.62426 6.44292C4.62116 6.43645 4.61797 6.42983 4.6147 6.42306C4.57345 6.33748 4.52042 6.22747 4.48146 6.09383C4.34177 5.61464 4.43585 5.06292 4.72644 4.65709C4.80785 4.54339 4.90288 4.44872 4.97793 4.37394C4.98461 4.36727 4.99114 4.36077 4.99749 4.35443C5.31891 4.033 5.38472 3.96073 5.42034 3.90595C5.59992 3.62975 5.59992 3.27367 5.42034 2.99747C5.38472 2.94269 5.31891 2.87041 4.99749 2.54899L4.83509 2.3866C4.34591 1.89741 4.23504 1.80136 4.14611 1.75638ZM16.4809 0.615274C16.8063 0.940711 16.8063 1.46835 16.4809 1.79379L8.90707 9.36758C9.69231 10.0531 10.5486 10.6119 11.4497 11.0445C11.4765 11.0573 11.4961 11.0668 11.5131 11.0748C11.524 11.0799 11.532 11.0836 11.5381 11.0864C11.5396 11.0862 11.5413 11.086 11.5431 11.0857C11.5447 11.0854 11.5462 11.0851 11.5476 11.0848C11.5657 11.0677 11.5903 11.0432 11.6383 10.9952C11.656 10.9775 11.6735 10.96 11.6908 10.9426C11.9293 10.7037 12.1347 10.4979 12.3568 10.3536C13.1854 9.81484 14.2536 9.81484 15.0822 10.3536C15.3043 10.4979 15.5097 10.7037 15.7482 10.9426C15.7655 10.96 15.783 10.9775 15.8007 10.9952L15.9631 11.1576C15.99 11.1845 16.0166 11.211 16.043 11.2374C16.406 11.5994 16.7197 11.9124 16.9021 12.2729C17.2609 12.9823 17.2609 13.8201 16.9021 14.5296C16.7197 14.8901 16.406 15.2031 16.043 15.5651C16.0166 15.5914 15.99 15.618 15.9631 15.6449L15.8318 15.7762C15.8127 15.7952 15.7939 15.8141 15.7753 15.8327C15.3876 16.2208 15.0903 16.5184 14.6886 16.7441C14.2303 17.0015 13.5718 17.1728 13.0461 17.1712C12.5862 17.1698 12.2508 17.0745 11.8183 16.9516C11.8028 16.9472 11.7872 16.9427 11.7714 16.9383C9.34546 16.2497 7.04439 15.0043 5.07089 13.2038L1.48086 16.7938C1.15542 17.1192 0.627784 17.1192 0.302348 16.7938C-0.0230893 16.4683 -0.0230893 15.9407 0.302347 15.6153L15.3023 0.615274C15.6278 0.289837 16.1554 0.289837 16.4809 0.615274ZM7.7262 10.5484L6.25077 12.0239C8.01655 13.6188 10.0667 14.7219 12.2265 15.3349C12.7117 15.4726 12.8392 15.5039 13.0511 15.5045C13.2891 15.5053 13.6648 15.4076 13.8723 15.291C14.0514 15.1904 14.1864 15.0645 14.6533 14.5977L14.7846 14.4663C15.2738 13.9772 15.3699 13.8663 15.4148 13.7774C15.5344 13.5409 15.5344 13.2616 15.4148 13.0251C15.3699 12.9362 15.2738 12.8253 14.7846 12.3361L14.6222 12.1737C14.3008 11.8523 14.2285 11.7865 14.1737 11.7509C13.8975 11.5713 13.5415 11.5713 13.2653 11.7509C13.2105 11.7865 13.1382 11.8523 12.8168 12.1737C12.8104 12.1801 12.8039 12.1866 12.7973 12.1933C12.7225 12.2683 12.6278 12.3634 12.5141 12.4448C12.1083 12.7354 11.5566 12.8294 11.0774 12.6898C10.9437 12.6508 10.8337 12.5978 10.7482 12.5565C10.7414 12.5532 10.7348 12.5501 10.7283 12.547C9.6605 12.0343 8.64866 11.3679 7.7262 10.5484Z",fill:"currentColor"})})})]})})})});function Zv(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var cd=Zv();function l_(r){cd=r}var Xg={exec:()=>null};function Zn(r,i=""){let o=typeof r=="string"?r:r.source;const c={replace:(d,p)=>{let y=typeof p=="string"?p:p.source;return y=y.replace(Xa.caret,"$1"),o=o.replace(d,y),c},getRegex:()=>new RegExp(o,i)};return c}var Xa={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},$k=/^(?:[ \t]*(?:\n|$))+/,Vk=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ik=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Fg=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qk=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qv=/(?:[*+-]|\d{1,9}[.)])/,c_=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,u_=Zn(c_).replace(/bull/g,Qv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Yk=Zn(c_).replace(/bull/g,Qv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Jv=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Xk=/^[^\n]+/,Wv=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Fk=Zn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Wv).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Zk=Zn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Qv).getRegex(),n1="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Kv=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Qk=Zn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Kv).replace("tag",n1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),d_=Zn(Jv).replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex(),Jk=Zn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",d_).getRegex(),e2={blockquote:Jk,code:Vk,def:Fk,fences:Ik,heading:qk,hr:Fg,html:Qk,lheading:u_,list:Zk,newline:$k,paragraph:d_,table:Xg,text:Xk},h_=Zn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex(),Wk={...e2,lheading:Yk,table:h_,paragraph:Zn(Jv).replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",h_).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex()},Kk={...e2,html:Zn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Kv).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Xg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Zn(Jv).replace("hr",Fg).replace("heading",` *#{1,6} *[^
|
|
23
|
+
<%s key={someKey} {...props} />`,g,R,U,R),ie[R+g]=!0)}if(R=null,me!==void 0&&(o(me),R=""+me),y(re)&&(o(re.key),R=""+re.key),"key"in re){me={};for(var te in re)te!=="key"&&(me[te]=re[te])}else me=re;return R&&x(me,typeof j=="function"?j.displayName||j.name||"Unknown":j),T(j,R,C,k,d(),me,I,ue)}function z(j){typeof j=="object"&&j!==null&&j.$$typeof===J&&j._store&&(j._store.validated=1)}var F=Ge,J=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),K=Symbol.for("react.client.reference"),L=F.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,E=Array.isArray,_=console.createTask?console.createTask:function(){return null};F={"react-stack-bottom-frame":function(j){return j()}};var S,w={},A=F["react-stack-bottom-frame"].bind(F,p)(),P=_(c(p)),ie={};Yg.Fragment=Z,Yg.jsx=function(j,re,me,g,k){var C=1e4>L.recentlyCreatedOwnerStacks++;return D(j,re,me,!1,g,k,C?Error("react-stack-top-frame"):A,C?_(c(j)):P)},Yg.jsxs=function(j,re,me,g,k){var C=1e4>L.recentlyCreatedOwnerStacks++;return D(j,re,me,!0,g,k,C?Error("react-stack-top-frame"):A,C?_(c(j)):P)}}()),Yg}var a_;function Bk(){return a_||(a_=1,process.env.NODE_ENV==="production"?t1.exports=Nk():t1.exports=zk()),t1.exports}var W=Bk();const Uk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{d:"M3.33 12.67V8.67H4.67V11.33H7.33V12.67H3.33ZM11.33 7.33V4.67H8.67V3.33H12.67V7.33H11.33Z",fill:"currentColor"})}),Hk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{d:"M2.95 14L2 13.05L5.07 10H3.33V8.67H7.33V12.67H6V10.93L2.95 14ZM8.67 7.33V3.33H10V5.07L13.05 2L14 2.95L10.93 6H12.67V7.33H8.67Z",fill:"currentColor"})}),s_=()=>W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:W.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99935 3.33268C6.31745 3.33268 3.33268 6.31745 3.33268 9.99935C3.33268 13.6812 6.31745 16.666 9.99935 16.666C13.1587 16.666 15.8047 14.4684 16.4922 11.5184L16.1718 11.8387C15.8463 12.1641 15.3187 12.164 14.9933 11.8385C14.6679 11.513 14.668 10.9854 14.9935 10.66L16.6606 8.99334C16.8169 8.83708 17.0289 8.74932 17.2499 8.74935C17.4709 8.74938 17.6829 8.83721 17.8391 8.99351L19.5053 10.6602C19.8307 10.9857 19.8306 11.5133 19.5051 11.8387C19.1797 12.1641 18.652 12.164 18.3266 11.8385L18.164 11.6758C17.3881 15.4747 14.0275 18.3327 9.99935 18.3327C5.39698 18.3327 1.66602 14.6017 1.66602 9.99935C1.66602 5.39698 5.39698 1.66602 9.99935 1.66602C13.0577 1.66602 15.7302 3.31401 17.1789 5.76641C17.413 6.16268 17.2815 6.67367 16.8853 6.90775C16.489 7.14184 15.978 7.01036 15.7439 6.6141C14.5827 4.64825 12.4442 3.33268 9.99935 3.33268ZM9.99935 4.99935C10.4596 4.99935 10.8327 5.37244 10.8327 5.83268V9.55336L12.9616 10.9726C13.3445 11.2279 13.448 11.7453 13.1927 12.1283C12.9374 12.5112 12.42 12.6147 12.0371 12.3594L9.5371 10.6927C9.30527 10.5382 9.16602 10.278 9.16602 9.99935V5.83268C9.16602 5.37244 9.53911 4.99935 9.99935 4.99935Z",fill:"#525252"})}),Xv=()=>W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 3.5C3.77614 3.22386 4.22386 3.22386 4.5 3.5L8 7L11.5 3.5C11.7761 3.22386 12.2239 3.22386 12.5 3.5C12.7761 3.77614 12.7761 4.22386 12.5 4.5L9 8L12.5 11.5C12.7761 11.7761 12.7761 12.2239 12.5 12.5C12.2239 12.7761 11.7761 12.7761 11.5 12.5L8 9L4.5 12.5C4.22386 12.7761 3.77614 12.7761 3.5 12.5C3.22386 12.2239 3.22386 11.7761 3.5 11.5L7 8L3.5 4.5C3.22386 4.22386 3.22386 3.77614 3.5 3.5Z",fill:"currentColor"})}),r_=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.29 2.29C7.66 1.92 8.34 1.92 8.71 2.29L14.21 7.79C14.58 8.16 14.58 8.84 14.21 9.21C13.84 9.58 13.16 9.58 12.79 9.21L8.5 4.91V14.5C8.5 15.05 8.05 15.5 7.5 15.5C6.95 15.5 6.5 15.05 6.5 14.5V4.91L2.21 9.21C1.84 9.58 1.16 9.58 0.79 9.21C0.42 8.84 0.42 8.16 0.79 7.79L7.29 2.29Z",fill:"currentColor"})}),Gk=()=>W.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[W.jsx("rect",{x:"11",y:"2",width:"1",height:"12",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"7.5",y:"4",width:"1",height:"8",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"2",y:"6",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"13",y:"6",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"4.5",y:"7",width:"1",height:"2",rx:"0.5",fill:"currentColor"})]}),Fv=()=>W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsxs("g",{children:[W.jsx("path",{d:"M10.1611 0.999981C10.1611 1.0132 10.1611 1.0264 10.1611 1.03959C10.1647 7.58616 12.008 10.1611 19.3221 10.1611C12.008 10.1611 10.1647 12.736 10.1611 19.2825C10.1574 12.736 8.31411 10.1611 0.999981 10.1611C8.31411 10.1611 10.1574 7.58616 10.1611 1.03959C10.161 1.0264 10.161 1.0132 10.1611 0.999981Z",fill:"currentColor"}),W.jsx("path",{d:"M10.1611 0.999981C10.1648 7.57577 8.32884 10.1611 0.999981 10.1611C8.32884 10.1611 10.1648 12.7463 10.1611 19.3221C10.1573 12.7463 11.9933 10.1611 19.3221 10.1611C11.9933 10.1611 10.1573 7.57577 10.1611 0.999981Z",stroke:"currentColor",strokeWidth:"1.83221",strokeLinejoin:"round"})]})}),Pk=()=>W.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.8 4.8C4.8 2.968 6.168 1.6 8 1.6C9.832 1.6 11.2 2.968 11.2 4.8V8.64C11.2 10.472 9.832 11.84 8 11.84C6.168 11.84 4.8 10.472 4.8 8.64V4.8ZM8 2.88C6.872 2.88 5.92 3.832 5.92 4.8V8.64C5.92 9.768 6.872 10.56 8 10.56C9.128 10.56 10.08 9.768 10.08 8.64V4.8C10.08 3.832 9.128 2.88 8 2.88ZM2.88 7.2C3.232 7.2 3.52 7.488 3.52 7.84V8.64C3.52 11.176 5.464 13.12 8 13.12C10.536 13.12 12.48 11.176 12.48 8.64V7.84C12.48 7.488 12.768 7.2 13.12 7.2C13.472 7.2 13.76 7.488 13.76 7.84V8.64C13.76 11.88 11.24 14.4 8 14.4C4.76 14.4 2.24 11.88 2.24 8.64V7.84C2.24 7.488 2.528 7.2 2.88 7.2Z",fill:"currentColor"})}),uf=({children:r})=>W.jsx(W.Fragment,{children:r}),kl={"genius-voice-call-container":"genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi","genius-voice-call-content":"genius-sdk__VoiceCall-module__genius-voice-call-content___D6lvV","genius-voice-call-buttons":"genius-sdk__VoiceCall-module__genius-voice-call-buttons___-r2z6","genius-voice-call-genius-icon":"genius-sdk__VoiceCall-module__genius-voice-call-genius-icon___zXrKa","genius-voice-call-genius-icon-inner":"genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG","genius-voice-call-voice-container":"genius-sdk__VoiceCall-module__genius-voice-call-voice-container___Tp-nw","genius-voice-call-mic-button":"genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7","genius-voice-call-waveform":"genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96-","genius-voice-call-end-button":"genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC"},o_=({onEnd:r})=>W.jsx(uf,{children:W.jsx("div",{className:kl["genius-voice-call-container"],children:W.jsx("div",{className:kl["genius-voice-call-content"],children:W.jsxs("div",{className:kl["genius-voice-call-buttons"],children:[W.jsx("div",{className:kl["genius-voice-call-genius-icon"],children:W.jsx("div",{className:kl["genius-voice-call-genius-icon-inner"],children:W.jsx(Fv,{})})}),W.jsx("div",{className:kl["genius-voice-call-voice-container"],children:W.jsxs("div",{className:kl["genius-voice-call-mic-button"],children:[W.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 3.33333C3.33333 1.49238 4.82572 0 6.66667 0C8.50762 0 10 1.49238 10 3.33333V9.16667C10 11.0076 8.50762 12.5 6.66667 12.5C4.82572 12.5 3.33333 11.0076 3.33333 9.16667V3.33333ZM6.66667 1.66667C5.74619 1.66667 5 2.41286 5 3.33333V9.16667C5 10.0871 5.74619 10.8333 6.66667 10.8333C7.58714 10.8333 8.33333 10.0871 8.33333 9.16667V3.33333C8.33333 2.41286 7.58714 1.66667 6.66667 1.66667ZM0.833333 6.66667C1.29357 6.66667 1.66667 7.03976 1.66667 7.5V9.16667C1.66667 11.9281 3.90524 14.1667 6.66667 14.1667C9.42809 14.1667 11.6667 11.9281 11.6667 9.16667V7.5C11.66667 7.03976 12.0398 6.66667 12.5 6.66667C12.9602 6.66667 13.3333 7.03976 13.3333 7.5V9.16667C13.3333 12.5663 10.7886 15.3717 7.5 15.7818V16.6667H10C10.4602 16.6667 10.8333 17.0398 10.8333 17.5C10.8333 17.9602 10.4602 18.3333 10 18.3333H3.33333C2.8731 18.3333 2.5 17.9602 2.5 17.5C2.5 17.0398 2.8731 16.6667 3.33333 16.6667H5.83333V15.7818C2.54474 15.3717 0 12.5663 0 9.16667V7.5C0 7.03976 0.373096 6.66667 0.833333 6.66667Z",fill:"currentColor"})}),W.jsx("div",{className:kl["genius-voice-call-waveform"],children:W.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[W.jsx("rect",{x:"4",y:"8",width:"1",height:"4",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"6.5",y:"6",width:"1",height:"8",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"9",y:"4",width:"1",height:"12",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"11.5",y:"7",width:"1",height:"6",rx:"0.5",fill:"currentColor"}),W.jsx("rect",{x:"14",y:"9",width:"1",height:"2",rx:"0.5",fill:"currentColor"})]})})]})}),W.jsx("button",{className:kl["genius-voice-call-end-button"],onClick:r,"aria-label":"End voice call",children:W.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:W.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.14611 1.75638C3.90962 1.63676 3.63035 1.63676 3.39386 1.75638C3.30493 1.80136 3.19406 1.89741 2.70488 2.3866L2.57351 2.51796C2.10667 2.98481 1.98083 3.11983 1.88024 3.2989C1.76364 3.50645 1.66596 3.88207 1.66667 4.12013C1.6673 4.33197 1.69857 4.45955 1.83629 4.94475C2.23521 6.35023 2.84158 7.70886 3.6554 8.97256C3.90459 9.3595 3.79291 9.87519 3.40597 10.1244C3.01903 10.3736 2.50335 10.2619 2.25416 9.87495C1.34975 8.47058 0.676021 6.96085 0.232956 5.39983C0.228478 5.38405 0.224034 5.36841 0.219624 5.3529C0.0967012 4.92039 0.0013796 4.585 1.06333e-05 4.12509C-0.00155409 3.59945 0.169701 2.94091 0.427143 2.48262C0.652809 2.0809 0.950438 1.78358 1.33855 1.39587C1.35716 1.37727 1.37598 1.35848 1.395 1.33945L1.52636 1.20809C1.55324 1.18122 1.57981 1.15457 1.60613 1.12819C1.96816 0.765228 2.28112 0.451466 2.64162 0.269128C3.35107 -0.0897089 4.1889 -0.0897099 4.89835 0.269128C5.25885 0.451467 5.57181 0.765229 5.93385 1.12819C5.96016 1.15457 5.98674 1.18122 6.01361 1.20809L6.176 1.37048C6.1937 1.38818 6.21124 1.4057 6.22861 1.42303C6.46749 1.66151 6.67327 1.86694 6.81764 2.08898C7.35638 2.91759 7.35638 3.98582 6.81764 4.81443C6.67327 5.03648 6.46749 5.2419 6.22861 5.48038C6.21124 5.49772 6.1937 5.51523 6.176 5.53294C6.12799 5.58094 6.1035 5.60556 6.08644 5.62361C6.08613 5.62497 6.08583 5.62647 6.08555 5.62809C6.08524 5.6299 6.08502 5.63157 6.08485 5.63308C6.0876 5.63918 6.09132 5.64724 6.09644 5.65812C6.10446 5.67515 6.11387 5.69476 6.12673 5.72155C6.22048 5.91682 6.32015 6.10995 6.42572 6.3007C6.6486 6.70337 6.50285 7.21047 6.10017 7.43335C5.6975 7.65623 5.1904 7.51048 4.96752 7.10781C4.84631 6.88882 4.73189 6.66709 4.62426 6.44292C4.62116 6.43645 4.61797 6.42983 4.6147 6.42306C4.57345 6.33748 4.52042 6.22747 4.48146 6.09383C4.34177 5.61464 4.43585 5.06292 4.72644 4.65709C4.80785 4.54339 4.90288 4.44872 4.97793 4.37394C4.98461 4.36727 4.99114 4.36077 4.99749 4.35443C5.31891 4.033 5.38472 3.96073 5.42034 3.90595C5.59992 3.62975 5.59992 3.27367 5.42034 2.99747C5.38472 2.94269 5.31891 2.87041 4.99749 2.54899L4.83509 2.3866C4.34591 1.89741 4.23504 1.80136 4.14611 1.75638ZM16.4809 0.615274C16.8063 0.940711 16.8063 1.46835 16.4809 1.79379L8.90707 9.36758C9.69231 10.0531 10.5486 10.6119 11.4497 11.0445C11.4765 11.0573 11.4961 11.0668 11.5131 11.0748C11.524 11.0799 11.532 11.0836 11.5381 11.0864C11.5396 11.0862 11.5413 11.086 11.5431 11.0857C11.5447 11.0854 11.5462 11.0851 11.5476 11.0848C11.5657 11.0677 11.5903 11.0432 11.6383 10.9952C11.656 10.9775 11.6735 10.96 11.6908 10.9426C11.9293 10.7037 12.1347 10.4979 12.3568 10.3536C13.1854 9.81484 14.2536 9.81484 15.0822 10.3536C15.3043 10.4979 15.5097 10.7037 15.7482 10.9426C15.7655 10.96 15.783 10.9775 15.8007 10.9952L15.9631 11.1576C15.99 11.1845 16.0166 11.211 16.043 11.2374C16.406 11.5994 16.7197 11.9124 16.9021 12.2729C17.2609 12.9823 17.2609 13.8201 16.9021 14.5296C16.7197 14.8901 16.406 15.2031 16.043 15.5651C16.0166 15.5914 15.99 15.618 15.9631 15.6449L15.8318 15.7762C15.8127 15.7952 15.7939 15.8141 15.7753 15.8327C15.3876 16.2208 15.0903 16.5184 14.6886 16.7441C14.2303 17.0015 13.5718 17.1728 13.0461 17.1712C12.5862 17.1698 12.2508 17.0745 11.8183 16.9516C11.8028 16.9472 11.7872 16.9427 11.7714 16.9383C9.34546 16.2497 7.04439 15.0043 5.07089 13.2038L1.48086 16.7938C1.15542 17.1192 0.627784 17.1192 0.302348 16.7938C-0.0230893 16.4683 -0.0230893 15.9407 0.302347 15.6153L15.3023 0.615274C15.6278 0.289837 16.1554 0.289837 16.4809 0.615274ZM7.7262 10.5484L6.25077 12.0239C8.01655 13.6188 10.0667 14.7219 12.2265 15.3349C12.7117 15.4726 12.8392 15.5039 13.0511 15.5045C13.2891 15.5053 13.6648 15.4076 13.8723 15.291C14.0514 15.1904 14.1864 15.0645 14.6533 14.5977L14.7846 14.4663C15.2738 13.9772 15.3699 13.8663 15.4148 13.7774C15.5344 13.5409 15.5344 13.2616 15.4148 13.0251C15.3699 12.9362 15.2738 12.8253 14.7846 12.3361L14.6222 12.1737C14.3008 11.8523 14.2285 11.7865 14.1737 11.7509C13.8975 11.5713 13.5415 11.5713 13.2653 11.7509C13.2105 11.7865 13.1382 11.8523 12.8168 12.1737C12.8104 12.1801 12.8039 12.1866 12.7973 12.1933C12.7225 12.2683 12.6278 12.3634 12.5141 12.4448C12.1083 12.7354 11.5566 12.8294 11.0774 12.6898C10.9437 12.6508 10.8337 12.5978 10.7482 12.5565C10.7414 12.5532 10.7348 12.5501 10.7283 12.547C9.6605 12.0343 8.64866 11.3679 7.7262 10.5484Z",fill:"currentColor"})})})]})})})});function Zv(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var cd=Zv();function l_(r){cd=r}var Xg={exec:()=>null};function Zn(r,i=""){let o=typeof r=="string"?r:r.source;const c={replace:(d,p)=>{let y=typeof p=="string"?p:p.source;return y=y.replace(Xa.caret,"$1"),o=o.replace(d,y),c},getRegex:()=>new RegExp(o,i)};return c}var Xa={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},$k=/^(?:[ \t]*(?:\n|$))+/,Vk=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ik=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Fg=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qk=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qv=/(?:[*+-]|\d{1,9}[.)])/,c_=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,u_=Zn(c_).replace(/bull/g,Qv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Yk=Zn(c_).replace(/bull/g,Qv).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Jv=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Xk=/^[^\n]+/,Wv=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Fk=Zn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Wv).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Zk=Zn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Qv).getRegex(),n1="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Kv=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Qk=Zn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Kv).replace("tag",n1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),d_=Zn(Jv).replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex(),Jk=Zn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",d_).getRegex(),e2={blockquote:Jk,code:Vk,def:Fk,fences:Ik,heading:qk,hr:Fg,html:Qk,lheading:u_,list:Zk,newline:$k,paragraph:d_,table:Xg,text:Xk},h_=Zn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex(),Wk={...e2,lheading:Yk,table:h_,paragraph:Zn(Jv).replace("hr",Fg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",h_).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",n1).getRegex()},Kk={...e2,html:Zn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Kv).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Xg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Zn(Jv).replace("hr",Fg).replace("heading",` *#{1,6} *[^
|
|
53
24
|
]`).replace("lheading",u_).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},e5=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,t5=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,f_=/^( {2,}|\\)\n(?!\s*$)/,n5=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,i1=/[\p{P}\p{S}]/u,t2=/[\s\p{P}\p{S}]/u,p_=/[^\s\p{P}\p{S}]/u,i5=Zn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,t2).getRegex(),g_=/(?!~)[\p{P}\p{S}]/u,a5=/(?!~)[\s\p{P}\p{S}]/u,s5=/(?:[^\s\p{P}\p{S}]|~)/u,r5=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,m_=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,o5=Zn(m_,"u").replace(/punct/g,i1).getRegex(),l5=Zn(m_,"u").replace(/punct/g,g_).getRegex(),y_="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",c5=Zn(y_,"gu").replace(/notPunctSpace/g,p_).replace(/punctSpace/g,t2).replace(/punct/g,i1).getRegex(),u5=Zn(y_,"gu").replace(/notPunctSpace/g,s5).replace(/punctSpace/g,a5).replace(/punct/g,g_).getRegex(),d5=Zn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,p_).replace(/punctSpace/g,t2).replace(/punct/g,i1).getRegex(),h5=Zn(/\\(punct)/,"gu").replace(/punct/g,i1).getRegex(),f5=Zn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),p5=Zn(Kv).replace("(?:-->|$)","-->").getRegex(),g5=Zn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",p5).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),a1=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,m5=Zn(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",a1).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),b_=Zn(/^!?\[(label)\]\[(ref)\]/).replace("label",a1).replace("ref",Wv).getRegex(),v_=Zn(/^!?\[(ref)\](?:\[\])?/).replace("ref",Wv).getRegex(),y5=Zn("reflink|nolink(?!\\()","g").replace("reflink",b_).replace("nolink",v_).getRegex(),n2={_backpedal:Xg,anyPunctuation:h5,autolink:f5,blockSkip:r5,br:f_,code:t5,del:Xg,emStrongLDelim:o5,emStrongRDelimAst:c5,emStrongRDelimUnd:d5,escape:e5,link:m5,nolink:v_,punctuation:i5,reflink:b_,reflinkSearch:y5,tag:g5,text:n5,url:Xg},b5={...n2,link:Zn(/^!?\[(label)\]\((.*?)\)/).replace("label",a1).getRegex(),reflink:Zn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",a1).getRegex()},i2={...n2,emStrongRDelimAst:u5,emStrongLDelim:l5,url:Zn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},v5={...i2,br:Zn(f_).replace("{2,}","*").getRegex(),text:Zn(i2.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},s1={normal:e2,gfm:Wk,pedantic:Kk},Zg={normal:n2,gfm:i2,breaks:v5,pedantic:b5},x5={"&":"&","<":"<",">":">",'"':""","'":"'"},x_=r=>x5[r];function jo(r,i){if(i){if(Xa.escapeTest.test(r))return r.replace(Xa.escapeReplace,x_)}else if(Xa.escapeTestNoEncode.test(r))return r.replace(Xa.escapeReplaceNoEncode,x_);return r}function S_(r){try{r=encodeURI(r).replace(Xa.percentDecode,"%")}catch{return null}return r}function __(r,i){var p;const o=r.replace(Xa.findPipe,(y,x,v)=>{let T=!1,D=x;for(;--D>=0&&v[D]==="\\";)T=!T;return T?"|":" |"}),c=o.split(Xa.splitPipe);let d=0;if(c[0].trim()||c.shift(),c.length>0&&!((p=c.at(-1))!=null&&p.trim())&&c.pop(),i)if(c.length>i)c.splice(i);else for(;c.length<i;)c.push("");for(;d<c.length;d++)c[d]=c[d].trim().replace(Xa.slashPipe,"|");return c}function Qg(r,i,o){const c=r.length;if(c===0)return"";let d=0;for(;d<c&&r.charAt(c-d-1)===i;)d++;return r.slice(0,c-d)}function S5(r,i){if(r.indexOf(i[1])===-1)return-1;let o=0;for(let c=0;c<r.length;c++)if(r[c]==="\\")c++;else if(r[c]===i[0])o++;else if(r[c]===i[1]&&(o--,o<0))return c;return o>0?-2:-1}function C_(r,i,o,c,d){const p=i.href,y=i.title||null,x=r[1].replace(d.other.outputLinkReplace,"$1");c.state.inLink=!0;const v={type:r[0].charAt(0)==="!"?"image":"link",raw:o,href:p,title:y,text:x,tokens:c.inlineTokens(x)};return c.state.inLink=!1,v}function _5(r,i,o){const c=r.match(o.other.indentCodeCompensation);if(c===null)return i;const d=c[1];return i.split(`
|
|
54
25
|
`).map(p=>{const y=p.match(o.other.beginningSpace);if(y===null)return p;const[x]=y;return x.length>=d.length?p.slice(d.length):p}).join(`
|
|
55
26
|
`)}var r1=class{constructor(r){Pn(this,"options");Pn(this,"rules");Pn(this,"lexer");this.options=r||cd}space(r){const i=this.rules.block.newline.exec(r);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(r){const i=this.rules.block.code.exec(r);if(i){const o=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?o:Qg(o,`
|